Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sun Nov 19, 2017 6:13 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 48 posts ]  Go to page Previous 1 2 3 4 Next
Author Message
PostPosted: Thu Aug 27, 2009 1:27 am 
Offline
Newbie

Joined: Thu Feb 14, 2008 5:28 am
Posts: 45
Thanks for your reply!
I think Itried to hit 'enter' after typing 's'. but the booting will continue as normal. There is no prompt like '==)'...
Anyway I am going to try again......


Top
   
PostPosted: Thu Aug 27, 2009 1:13 pm 
Offline
Newbie

Joined: Thu Feb 14, 2008 5:28 am
Posts: 45
It's just strange.... last time I hit enter after I type 's'. It doesn't work at all... this time it works here..

what's the purpose of
"12. To use vmlinux-2.6.22.gz, rename /boot/vmlinuz to something else and
create a symbolic link:
# ln -s /boot/vmlinux-2.6.22.gz /boot/vmlinuz
Boot normally with U-Boot.
"

after I did this,,, I can't boot again... I think I have installed U-boot but I shouldn't change the name of vmlinuz I think...

Code:
Loading 0:1:boot/vmlinuz

1789270 bytes read
## Booting image at 82000000 ...
Found gzip-ed image at 0x82000000. Uncompressing ...done
Loading .text @ 0x80100000 (2841024 bytes)
Loading __ex_table @ 0x803b59c0 (6584 bytes)
Loading .rodata @ 0x803b8000 (223304 bytes)
Loading .pci_fixup @ 0x803ee848 (1320 bytes)
Loading __ksymtab @ 0x803eed70 (18448 bytes)
Loading __ksymtab_gpl @ 0x803f3580 (4664 bytes)
Loading __ksymtab_gpl_future @ 0x803f47b8 (24 bytes)
Loading __kcrctab @ 0x803f47d0 (9224 bytes)
Loading __kcrctab_gpl @ 0x803f6bd8 (2332 bytes)
Loading __kcrctab_gpl_future @ 0x803f74f4 (12 bytes)
Loading __ksymtab_strings @ 0x803f7500 (53616 bytes)
Loading __param @ 0x80404670 (860 bytes)
Loading .data @ 0x80406000 (123552 bytes)
Loading .data.cacheline_aligned @ 0x80425000 (192 bytes)
Loading .init.text @ 0x80426000 (141940 bytes)
Loading .init.data @ 0x80448a78 (12492 bytes)
Loading .init.setup @ 0x8044bb50 (744 bytes)
Loading .initcall.init @ 0x8044be38 (516 bytes)
Loading .con_initcall.init @ 0x8044c03c (8 bytes)
Loading .exit.text @ 0x8044c044 (3164 bytes)
Loading .init.ramfs @ 0x8044d000 (134 bytes)
Clearing .bss @ 0x8044e000 (119584 bytes)

Starting kernel @ 0x80426000...


I can't ping or connect to LS anymore...

Thanks for your time!


Top
   
PostPosted: Thu Aug 27, 2009 1:37 pm 
Offline
Newbie

Joined: Thu Feb 14, 2008 5:28 am
Posts: 45
zlyzwy wrote:
It's just strange.... last time I hit enter after I type 's'. It doesn't work at all... this time it works here..

what's the purpose of
"12. To use vmlinux-2.6.22.gz, rename /boot/vmlinuz to something else and
create a symbolic link:
# ln -s /boot/vmlinux-2.6.22.gz /boot/vmlinuz
Boot normally with U-Boot.
"

after I did this,,, I can't boot again... I think I have installed U-boot but I shouldn't change the name of vmlinuz I think...

Code:
Loading 0:1:boot/vmlinuz

1789270 bytes read
## Booting image at 82000000 ...
Found gzip-ed image at 0x82000000. Uncompressing ...done
Loading .text @ 0x80100000 (2841024 bytes)
Loading __ex_table @ 0x803b59c0 (6584 bytes)
Loading .rodata @ 0x803b8000 (223304 bytes)
Loading .pci_fixup @ 0x803ee848 (1320 bytes)
Loading __ksymtab @ 0x803eed70 (18448 bytes)
Loading __ksymtab_gpl @ 0x803f3580 (4664 bytes)
Loading __ksymtab_gpl_future @ 0x803f47b8 (24 bytes)
Loading __kcrctab @ 0x803f47d0 (9224 bytes)
Loading __kcrctab_gpl @ 0x803f6bd8 (2332 bytes)
Loading __kcrctab_gpl_future @ 0x803f74f4 (12 bytes)
Loading __ksymtab_strings @ 0x803f7500 (53616 bytes)
Loading __param @ 0x80404670 (860 bytes)
Loading .data @ 0x80406000 (123552 bytes)
Loading .data.cacheline_aligned @ 0x80425000 (192 bytes)
Loading .init.text @ 0x80426000 (141940 bytes)
Loading .init.data @ 0x80448a78 (12492 bytes)
Loading .init.setup @ 0x8044bb50 (744 bytes)
Loading .initcall.init @ 0x8044be38 (516 bytes)
Loading .con_initcall.init @ 0x8044c03c (8 bytes)
Loading .exit.text @ 0x8044c044 (3164 bytes)
Loading .init.ramfs @ 0x8044d000 (134 bytes)
Clearing .bss @ 0x8044e000 (119584 bytes)

Starting kernel @ 0x80426000...


I can't ping or connect to LS anymore...

Thanks for your time!



I found one command to fix this.

setenv <name> <value>

Code:
=> setenv hdfile boot/vmlinuz_backup
setenv hdfile boot/vmlinuz_backup
=> boot


Now I can used the old system again... :biglol:


Top
   
PostPosted: Thu Aug 27, 2009 4:05 pm 
Offline
Newbie

Joined: Thu Feb 14, 2008 5:28 am
Posts: 45
I followed the guide http://forum.buffalo.nas-central.org/viewtopic.php?f=12&t=20753&p=132251#p132251
I think I almost to reach Lenny. But after I finshed step 12, I reboot the LS and I can't login in ssh, I couldn't even find the LS..
Code:
12. Halt uboot at the prompt and set your env vars for the new kernel:
Code:
set bootargs 'root=/dev/sda1 rw netconsole=6666@192.168.11.150/,@192.168.11.149/'
set hdfile boot/vmlinuz
save
boot


Here is the messages in NC.
Code:
Boot in 09 seconds ('s' to stop)...s

=> set bootargs 'root=/dev/sda1 rw netconsole=6666@192.168.11.15
49/'
set bootargs 'root=/dev/sda1 rw netconsole=6666@192.168.11.150/,
'
=> set hdfile boot/vmlinuz
set hdfile boot/vmlinuz
=> save
save
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
Flash erase: first = 10 @ 0xbfc30000
             last  = 10 @ 0xbfc30000
Flash erase: Done
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
=> boot
boot
Loading 0:1:boot/vmlinuz

5841969 bytes read
## Booting image at 82000000 ...
Loading .text @ 0x80002000 (3678232 bytes)
Loading __ex_table @ 0x80384020 (6888 bytes)
Loading .notes @ 0x80385b08 (36 bytes)
Loading .rodata @ 0x80386000 (344160 bytes)
Loading .init.rodata @ 0x803da060 (256 bytes)
Loading .pci_fixup @ 0x803da160 (1736 bytes)
Loading __ksymtab @ 0x803da828 (18920 bytes)
Loading __ksymtab_gpl @ 0x803df210 (9248 bytes)
Loading __kcrctab @ 0x803e1630 (9460 bytes)
Loading __kcrctab_gpl @ 0x803e3b24 (4624 bytes)
Loading __ksymtab_strings @ 0x803e4d34 (61219 bytes)
Loading __param @ 0x803f3c58 (5032 bytes)
Loading .data @ 0x803f6000 (302976 bytes)
Loading .data.cacheline_aligned @ 0x80440000 (1536 bytes)
Loading .init.text @ 0x80441000 (143776 bytes)
Loading .init.data @ 0x804641a0 (21880 bytes)
Loading .init.setup @ 0x80469720 (864 bytes)
Loading .initcall.init @ 0x80469a80 (676 bytes)
Loading .con_initcall.init @ 0x80469d24 (8 bytes)
Loading .exit.text @ 0x80469d2c (3980 bytes)
Loading .init.ramfs @ 0x8046b000 (512 bytes)
Clearing .bss @ 0x8046c000 (166336 bytes)

Starting kernel @ 0x80006490...


I checked the interfaces and resolve file beofre I reboot. so it should be no pb of that..
I didn't know where is the pb since every steps I did, there is no error message...

Thanks for any reply in advance!


Top
   
PostPosted: Thu Aug 27, 2009 11:32 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
hi zlyzwy, :)

I think the problem can be a typographical error... the first <<<<++++++ shows the correct commands, the 2nd & 3rd commands are missing some characters/letters...

zlyzwy wrote:
I followed the guide http://forum.buffalo.nas-central.org/viewtopic.php?f=12&t=20753&p=132251#p132251
I think I almost to reach Lenny. But after I finshed step 12, I reboot the LS and I can't login in ssh, I couldn't even find the LS..
Code:
12. Halt uboot at the prompt and set your env vars for the new kernel:
Code:
set bootargs 'root=/dev/sda1 rw netconsole=6666@192.168.11.150/,@192.168.11.149/'     <<<<++++++  correct...
set hdfile boot/vmlinuz
save
boot


Here is the messages in NC.
Code:
Boot in 09 seconds ('s' to stop)...s

=> set bootargs 'root=/dev/sda1 rw netconsole=6666@192.168.11.15     <<<<+++++++++  incorrect ...
49/'
set bootargs 'root=/dev/sda1 rw netconsole=6666@192.168.11.150/,    <<<<+++++++++  incorrect, also
'
=> set hdfile boot/vmlinuz
set hdfile boot/vmlinuz
=> save
save
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
Flash erase: first = 10 @ 0xbfc30000
             last  = 10 @ 0xbfc30000
Flash erase: Done
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
=> boot
boot
Loading 0:1:boot/vmlinuz

5841969 bytes read
## Booting image at 82000000 ...
Loading .text @ 0x80002000 (3678232 bytes)
 

Thanks for any reply in advance!


also, if it doesn't boot, please post the output (in uboot) of
Code:
 print 

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Fri Aug 28, 2009 12:12 pm 
Offline
Newbie

Joined: Thu Feb 14, 2008 5:28 am
Posts: 45
Hi davy_gravy,
Thanks for your help! :)

I checked with the typographical error you mentioned, I think It's not the really problem. Because I type all these code in Windows CMD and it's not full screen. So you will see the typographical error in the code. I tried all the steps again however there is no progress.
here is the code..
Code:
U-Boot 1.1.4 LiSt V2 (mips) 1.0.1 (Sep 20 2007 - 00:42:23)
stdin :   nc
stdout:   nc
stderr:   nc
IDE:    Bus 0: .......................OK Bus 1: OK
  Device 0: Model: WDC WD1600AAJB-00WRA0  Firm: 58.01H58 Ser#: W -DCWSAC2501311
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 152627.8 MB = 149.0 GB (312581808 x 512)
Boot in 09 seconds ('s' to stop)...s

=> set bootargs 'root=/dev/sda1 rw netconsole=6666@192.168.11.150/,@192.168.11.149/'
set bootargs 'root=/dev/sda1 rw netconsole=6666@192.168.11.150/,@192.168.11.149/'
=> set hdfile boot/vmlinuz
set hdfile boot/vmlinuz
=> save
save
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
Flash erase: first = 10 @ 0xbfc30000
             last  = 10 @ 0xbfc30000
Flash erase: Done
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
=> print
print
bootcmd=run bootcmd1
nfsboot=run nfsload nfsargs;bootm
bootdelay=10
baudrate=57600
autoload=no
stdin=nc
stdout=nc
stderr=nc
ipaddr=192.168.11.150
netmask=255.255.255.0
serverip=192.168.11.149
ncip=192.168.11.149
netretry=no
nc=setenv stdin nc;setenv stdout nc;setenv stderr nc
ser=setenv stdin serial;setenv stdout serial;setenv stderr serial
ldaddr=82000000
guaddr=81000000
hdpart=0:1
hdload=echo Loading ${hdpart}:${hdfile};ext2load ide ${hdpart} ${ldaddr} ${hdfile}
boothd=setenv bootargs root=/dev/hda1;bootm ${ldaddr}
hdboot=run hdload boothd
flboot=setenv bootargs root=/dev/hda1;bootm bfc40000
emboot=setenv bootargs root=/dev/ram0;bootm bfc40000
rootpath=/opt/nfsroot/mipsel
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}
:${netmask}:${hostname}::off
nfsfile=vmlinuz
nfsload=nfs ${ldaddr} ${serverip}:${rootpath}/${nfsfile}
bootretry=30
bootcmd1=run hdboot;run flboot
bootcmd2=run flboot
bootcmd3=run emboot
ubpart=0:3
ubfile=share/u-boot/u-boot-v2-mips.flash.bin
ubload=echo Loading ${ubpart}:${ubfile};ext2load ide ${ubpart} ${ldaddr} ${ubfile}
ubsaddr=bfc00000
ubeaddr=bfc2ffff
ubflash=protect off ${ubsaddr} ${ubeaddr};era ${ubsaddr} ${ubeaddr};cp.b ${ldaddr} ${ubsaddr} ${filesize};cmp.
b ${ldaddr} ${ubsaddr} ${filesize}
upgrade=run ubload ubflash
ethact=rc32434_eth
bootargs=root=/dev/sda1 rw netconsole=6666@192.168.11.150/,@192.168.11.149/
hdfile=boot/vmlinuz

Environment size: 1439/65532 bytes
=> boot
boot
Loading 0:1:boot/vmlinuz

5841969 bytes read
## Booting image at 82000000 ...
Loading .text @ 0x80002000 (3678232 bytes)
Loading __ex_table @ 0x80384020 (6888 bytes)
Loading .notes @ 0x80385b08 (36 bytes)
Loading .rodata @ 0x80386000 (344160 bytes)
Loading .init.rodata @ 0x803da060 (256 bytes)
Loading .pci_fixup @ 0x803da160 (1736 bytes)
Loading __ksymtab @ 0x803da828 (18920 bytes)
Loading __ksymtab_gpl @ 0x803df210 (9248 bytes)
Loading __kcrctab @ 0x803e1630 (9460 bytes)
Loading __kcrctab_gpl @ 0x803e3b24 (4624 bytes)
Loading __ksymtab_strings @ 0x803e4d34 (61219 bytes)
Loading __param @ 0x803f3c58 (5032 bytes)
Loading .data @ 0x803f6000 (302976 bytes)
Loading .data.cacheline_aligned @ 0x80440000 (1536 bytes)
Loading .init.text @ 0x80441000 (143776 bytes)
Loading .init.data @ 0x804641a0 (21880 bytes)
Loading .init.setup @ 0x80469720 (864 bytes)
Loading .initcall.init @ 0x80469a80 (676 bytes)
Loading .con_initcall.init @ 0x80469d24 (8 bytes)
Loading .exit.text @ 0x80469d2c (3980 bytes)
Loading .init.ramfs @ 0x8046b000 (512 bytes)
Clearing .bss @ 0x8046c000 (166336 bytes)

Starting kernel @ 0x80006490...

I can't connect/ping to LS....

Then I reboot the LS and I just type "print" to get some inforamtion...

Code:
U-Boot 1.1.4 LiSt V2 (mips) 1.0.1 (Sep 20 2007 - 00:42:23)
stdin :   nc
stdout:   nc
stderr:   nc
IDE:    Bus 0: .......................OK Bus 1: OK
  Device 0: Model: WDC WD1600AAJB-00WRA0  Firm: 58.01H58 Ser#: W -DCWSAC2501311
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 152627.8 MB = 149.0 GB (312581808 x 512)
Boot in 09 seconds ('s' to stop)...s

=> set bootargs 'root=/dev/sda1 rw netconsole=6666@192.168.11.150/,@192.168.11.149/'
set bootargs 'root=/dev/sda1 rw netconsole=6666@192.168.11.150/,@192.168.11.149/'
=> set hdfile boot/vmlinuz
set hdfile boot/vmlinuz
=> save
save
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
Flash erase: first = 10 @ 0xbfc30000
             last  = 10 @ 0xbfc30000
Flash erase: Done
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
=> print
print
bootcmd=run bootcmd1
nfsboot=run nfsload nfsargs;bootm
bootdelay=10
baudrate=57600
autoload=no
stdin=nc
stdout=nc
stderr=nc
ipaddr=192.168.11.150
netmask=255.255.255.0
serverip=192.168.11.149
ncip=192.168.11.149
netretry=no
nc=setenv stdin nc;setenv stdout nc;setenv stderr nc
ser=setenv stdin serial;setenv stdout serial;setenv stderr serial
ldaddr=82000000
guaddr=81000000
hdpart=0:1
hdload=echo Loading ${hdpart}:${hdfile};ext2load ide ${hdpart} ${ldaddr} ${hdfile}
boothd=setenv bootargs root=/dev/hda1;bootm ${ldaddr}
hdboot=run hdload boothd
flboot=setenv bootargs root=/dev/hda1;bootm bfc40000
emboot=setenv bootargs root=/dev/ram0;bootm bfc40000
rootpath=/opt/nfsroot/mipsel
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}
:${netmask}:${hostname}::off
nfsfile=vmlinuz
nfsload=nfs ${ldaddr} ${serverip}:${rootpath}/${nfsfile}
bootretry=30
bootcmd1=run hdboot;run flboot
bootcmd2=run flboot
bootcmd3=run emboot
ubpart=0:3
ubfile=share/u-boot/u-boot-v2-mips.flash.bin
ubload=echo Loading ${ubpart}:${ubfile};ext2load ide ${ubpart} ${ldaddr} ${ubfile}
ubsaddr=bfc00000
ubeaddr=bfc2ffff
ubflash=protect off ${ubsaddr} ${ubeaddr};era ${ubsaddr} ${ubeaddr};cp.b ${ldaddr} ${ubsaddr} ${filesize};cmp.
b ${ldaddr} ${ubsaddr} ${filesize}
upgrade=run ubload ubflash
ethact=rc32434_eth
bootargs=root=/dev/sda1 rw netconsole=6666@192.168.11.150/,@192.168.11.149/
hdfile=boot/vmlinuz

Environment size: 1439/65532 bytes
=> boot
boot
Loading 0:1:boot/vmlinuz

5841969 bytes read
## Booting image at 82000000 ...
Loading .text @ 0x80002000 (3678232 bytes)
Loading __ex_table @ 0x80384020 (6888 bytes)
Loading .notes @ 0x80385b08 (36 bytes)
Loading .rodata @ 0x80386000 (344160 bytes)
Loading .init.rodata @ 0x803da060 (256 bytes)
Loading .pci_fixup @ 0x803da160 (1736 bytes)
Loading __ksymtab @ 0x803da828 (18920 bytes)
Loading __ksymtab_gpl @ 0x803df210 (9248 bytes)
Loading __kcrctab @ 0x803e1630 (9460 bytes)
Loading __kcrctab_gpl @ 0x803e3b24 (4624 bytes)
Loading __ksymtab_strings @ 0x803e4d34 (61219 bytes)
Loading __param @ 0x803f3c58 (5032 bytes)
Loading .data @ 0x803f6000 (302976 bytes)
Loading .data.cacheline_aligned @ 0x80440000 (1536 bytes)
Loading .init.text @ 0x80441000 (143776 bytes)
Loading .init.data @ 0x804641a0 (21880 bytes)
Loading .init.setup @ 0x80469720 (864 bytes)
Loading .initcall.init @ 0x80469a80 (676 bytes)
Loading .con_initcall.init @ 0x80469d24 (8 bytes)
Loading .exit.text @ 0x80469d2c (3980 bytes)
Loading .init.ramfs @ 0x8046b000 (512 bytes)
Clearing .bss @ 0x8046c000 (166336 bytes)

Starting kernel @ 0x80006490...


There is nothing special with my operation here. I didn't know if it's due to router? because I am using a router between my LS and computer.
This is the structure:
LS(192.168.11.136)==>Rounter(192.168.11.1)<==computer(192.168.11.149)
I didn't know how to setup the fixed ip in foonas-em. so I do all the frist 11 steps with this ip(192.168.11.136). This IP address is automatically assigned by router.
I was trying to connect LS directly with computer, but I got one question, how to run "wget" with no Internet? :?:

Many thanks for your help!


Top
   
PostPosted: Fri Aug 28, 2009 12:56 pm 
Offline
Betatester
User avatar

Joined: Thu Jul 14, 2005 4:38 pm
Posts: 941
Location: England
zlyzwy wrote:
LS(192.168.11.136)==>Rounter(192.168.11.1)<==computer(192.168.11.149)
I didn't know how to setup the fixed ip in foonas-em. so I do all the frist 11 steps with this ip(192.168.11.136). This IP address is automatically assigned by router.


Yes, foonas-em gives you dhcp address from your router, but that doesn't mean that when LS boots you get that address. I haven't read all this, but I think your reckoning that once fully booted your LS has IP address of 192.168.11.136? This is not so, try pinging 192.168.11.150 once you see the kernel load... providing you didn't alter /etc/network/interfaces in any of the steps you followed.

zlyzwy wrote:
Code:
=> setenv hdfile boot/vmlinuz_backup
setenv hdfile boot/vmlinuz_backup
=> boot



What kernel is this? (2.6.22?)

Your clock is probably screwed up again.


Top
   
PostPosted: Fri Aug 28, 2009 1:52 pm 
Offline
Newbie

Joined: Thu Feb 14, 2008 5:28 am
Posts: 45
Hi Bauldrick,

I treid to search the LS with all the IP address in this network, however I didn't find it..


Quote:
zlyzwy wrote:
Code:
=> setenv hdfile boot/vmlinuz_backup
setenv hdfile boot/vmlinuz_backup
=> boot

What kernel is this? (2.6.22?)


here is something worng I think, when I tried to flash the U-boot to LS. I followed the guide
http://downloads.buffalo.nas-central.org/LS2_MIPSel/Bootloader/Uboot/Precompiled/READMEUBOOT.TXT
After I did the step 12, I can't connect to LS anymore, I posted this question #18. Then I didn't try to fix this problem and I used the origianl vmlinuz...I think here is some mistakes....

I am going to format the disk and try again! I think this may the best choice for now...


Top
   
PostPosted: Fri Aug 28, 2009 3:13 pm 
Offline
Newbie

Joined: Thu Feb 14, 2008 5:28 am
Posts: 45
Hi.....

I just format the disk then I started with U-boot and redo the installation of Lenny according to this (http://forum.buffalo.nas-central.org/viewtopic.php?f=12&t=20753&p=132251#p132251).

I think I may do some stupid thing here.... :( I think I shouldn't format the disk....
Now I had followed the installation of Lenny to do all the things.. But I can't start the kernel....
This is the output from U-Boot...
Code:
=> set bootargs 'root=/dev/sda1 rw netconsole=6666@192.168.11.150/,@192.168.11.149/'
set bootargs 'root=/dev/sda1 rw netconsole=6666@192.168.11.150/,@192.168.11.149/'
=> set hdfile boot/vmlinuz
set hdfile boot/vmlinuz
=> save
save
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
Flash erase: first = 10 @ 0xbfc30000
             last  = 10 @ 0xbfc30000
Flash erase: Done
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
=> boot
boot
Loading 0:1:boot/vmlinuz

** Unable to read "boot/vmlinuz" from ide 0:1 **
## Booting image at bfc40000 ...
## No elf image at address 0xbfc40000
=> print
print
bootcmd=run bootcmd1
nfsboot=run nfsload nfsargs;bootm
bootdelay=10
baudrate=57600
autoload=no
stdin=nc
stdout=nc
stderr=nc
ipaddr=192.168.11.150
netmask=255.255.255.0
serverip=192.168.11.149
ncip=192.168.11.149
netretry=no
nc=setenv stdin nc;setenv stdout nc;setenv stderr nc
ser=setenv stdin serial;setenv stdout serial;setenv stderr serial
ldaddr=82000000
guaddr=81000000
hdpart=0:1
hdload=echo Loading ${hdpart}:${hdfile};ext2load ide ${hdpart} ${ldaddr} ${hdfile}
boothd=setenv bootargs root=/dev/hda1;bootm ${ldaddr}
hdboot=run hdload boothd
flboot=setenv bootargs root=/dev/hda1;bootm bfc40000
emboot=setenv bootargs root=/dev/ram0;bootm bfc40000
rootpath=/opt/nfsroot/mipsel
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${ga
tewayip}:${netmask}:${hostname}::off
nfsfile=vmlinuz
nfsload=nfs ${ldaddr} ${serverip}:${rootpath}/${nfsfile}
bootretry=30
bootcmd1=run hdboot;run flboot
bootcmd2=run flboot
bootcmd3=run emboot
ubpart=0:3
ubfile=share/u-boot/u-boot-v2-mips.flash.bin
ubload=echo Loading ${ubpart}:${ubfile};ext2load ide ${ubpart} ${ldaddr} ${ubfile}
ubsaddr=bfc00000
ubeaddr=bfc2ffff
ubflash=protect off ${ubsaddr} ${ubeaddr};era ${ubsaddr} ${ubeaddr};cp.b ${ldaddr} ${ubsaddr} ${filesi
ze};cmp.b ${ldaddr} ${ubsaddr} ${filesize}
upgrade=run ubload ubflash
ethact=rc32434_eth
hdfile=boot/vmlinuz
bootargs=root=/dev/hda1

Environment size: 1387/65532 bytes
=>



Thanks for any reply!


Top
   
PostPosted: Fri Aug 28, 2009 3:30 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
hi zlyzwy,

can you please post the output (while in uboot) of:

Code:
ext2ls ide 0:1 /


and

Code:
ext2ls ide 0:1 /boot/


(if you have just untarred the lsmipsel-lenny, then you should be able to see all of the necessary system directories & kernel files listed)

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Fri Aug 28, 2009 3:57 pm 
Offline
Newbie

Joined: Thu Feb 14, 2008 5:28 am
Posts: 45
Hi davy_gravy,

the output of is here :
Code:
=> ext2ls ide 0:1 /
ext2ls ide 0:1 /
=> ext2ls ide 0:1 /boot/
ext2ls ide 0:1 /boot/
** Can not find directory. **
** Error ext2fs_ls() **
=>


Yes, I confirmed, I could see all the folders in foonase-em....

There is one more thing I didn't understand, after I untar all the files to /mnt and reboot.. The LS seems to reboot twice! because it takes long time than normal situation, and I can ping the LS IP, but I can't connect or see the U-boot from NC. Then I just lost the ping with LS but I can see the U-Boot from NC. I hope it will be helpful!
Thanks for your time!


Top
   
PostPosted: Fri Aug 28, 2009 4:24 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
OK, there is a problem...

I see this on my LS2 :
Code:
U-Boot 1.1.4 LiSt V2 (mips) 1.0.1 (Sep 20 2007 - 00:42:23)
stdin :   nc
stdout:   nc
stderr:   nc
IDE:    Bus 0: OK Bus 1: OK
  Device 0: Model: Maxtor 6L300R0 Firm: BAJ41G20 Ser#: 6L13A8GE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 286188.8 MB = 279.4 GB (586114704 x 512)
Boot in 07 seconds ('s' to stop)...s

=> ext2ls ide 0:1 /
ext2ls ide 0:1 /
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      16384 lost+found
        73711915 lsmipsel-lenny-v4.tar.gz
<DIR>       4096 sys
<DIR>       4096 media
<DIR>       4096 dev
<DIR>       4096 lib
<DIR>       4096 var
<DIR>       4096 opt
<DIR>       4096 boot-em
<DIR>       4096 proc
<DIR>       4096 home
<DIR>       4096 sbin
<DIR>       4096 tmp
<DIR>       4096 bin
<DIR>       4096 mnt
<DIR>       4096 srv
<DIR>       4096 root
<DIR>       4096 boot
<DIR>       4096 usr
<DIR>       4096 selinux
<DIR>       4096 etc
=> ext2ls ide 0:1 /boot
ext2ls ide 0:1 /boot
<DIR>       4096 .
<DIR>       4096 ..
         5841969 vmlinuz-2.6.30.5
           49882 config-2.6.30.5
<SYM>         16 vmlinuz
           39949 config-2.6.23.17
         4362052 vmlinuz-2.6.23.17
          714128 System.map-2.6.23.17
          898643 System.map-2.6.30.5


the ext2ls command is a bit like "ls" in Linux - it lists the files in a directory.

According to your output, the partition is blank.

I would do this:
- reboot into foonas-em
- run fsck on the partition hda1 (post back output)
- mount hda1, run run ls on / and post your output here
- go back into uboot and run the ext2ls (again, post output)

If the files are there, then it must boot.

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Fri Aug 28, 2009 4:45 pm 
Offline
Newbie

Joined: Thu Feb 14, 2008 5:28 am
Posts: 45
Hi davy_gravy,

I don't understand why my partition is blank.
here is the output from foonas-em:
Code:
   ______ _____ _____ __   __  _____  ______
  |   ___|     |     |   \|  |/  _  \|   ___|
 _|   ___|  -  |  -  |       |   _   |\   \
| |__|   |_____|_____|__|\___|__| |__|_\   \
|___________________________________________|

foonas-em for lsmipsel - http://foonas.org

























   ______ _____ _____ __   __  _____  ______
  |   ___|     |     |   \|  |/  _  \|   ___|
 _|   ___|  -  |  -  |       |   _   |\   \
| |__|   |_____|_____|__|\___|__| |__|_\   \
|___________________________________________|

foonas-em for lsmipsel - http://foonas.org

lsmipsel login: root
Password:
foonas-em$ fsck.ext3 /dev/hda1
e2fsck 1.41.3 (12-Oct-2008)
Superblock last mount time is in the future.  Fix<y>? yes

Superblock last write time is in the future.  Fix<y>? yes

/dev/hda1: clean, 10698/305824 files, 150999/1222940 blocks
foonas-em$ tune2fs /dev/hda1 -i 0 -c 0
tune2fs 1.41.3 (12-Oct-2008)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
foonas-em$ tune2fs /dev/hda3 -i 0 -c 0
tune2fs 1.41.3 (12-Oct-2008)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
foonas-em$ mount -t ext3 /dev/hda1 /mnt
foonas-em$ cd /mnt
foonas-em$ ls
bin                    lost+found             sbin
boot                   lsmipsel-lenny-v4.tar  selinux
boot-em                media                  srv
dev                    mnt                    sys
etc                    opt                    tmp
home                   proc                   usr
lib                    root                   var
foonas-em$ cd /boot
foonas-em$ cd /
foonas-em$ ls
bin    dev    home   lib    mnt    root   sys    usr    www
boot   etc    init   media  proc   sbin   tmp    var
foonas-em$ cd /boot
foonas-em$ ls
foonas-em$ cd /mnt/boot
foonas-em$ ls
System.map-2.6.23.17  config-2.6.30.5       vmlinuz-2.6.30.5
System.map-2.6.30.5   vmlinuz
config-2.6.23.17      vmlinuz-2.6.23.17
foonas-em$ cd /
foonas-em$ umount /dev/hda1
foonas-em$ fsck.ext3 /dev/hda1
e2fsck 1.41.3 (12-Oct-2008)
/dev/hda1: clean, 10698/305824 files, 150999/1222940 blocks
foonas-em$ reboot
stopped /usr/sbin/httpd (pid 689)
stopped /usr/sbin/bftpd (pid 686)

I can see all the files...

but if i reboot,,,and I can't see any folder in U-boot
Code:
Boot in 10 seconds ('s' to stop)...s
Boot in 09 seconds ('s' to stop)...
=> ext2ls ide 0:1 /
ext2ls ide 0:1 /
=>


I have a feeling this problem must be related to the rebooting! I mean after I reboot the LS, I can ping LS, then I just lost the connection and I can see the U-boot information from NC... does it strange?

Thanks for your help!


Top
   
PostPosted: Fri Aug 28, 2009 5:06 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
yes, the fact that when you run
Code:
ext2ls ide 0:1 /
and you see nothing, that is significant.

are you setting the date in foonas-em? output?

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Fri Aug 28, 2009 5:10 pm 
Offline
Newbie

Joined: Thu Feb 14, 2008 5:28 am
Posts: 45
davy_gravy wrote:

are you setting the date in foonas-em? output?


I am not quite understand this? :?:
I didn't remember I did any specail operation when I followed the guide...

You know I was think actually the system just like will "recover". after I type <reboot>, the LS reboots to new kenerl and it should be all right, it can also explain why I can ping LS at that time! but it's not finish!
Then it reboots again! this rebooting make everything go back to what it was....

Thanks for your help!


Last edited by zlyzwy on Fri Aug 28, 2009 5:27 pm, edited 1 time in total.

Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 48 posts ]  Go to page Previous 1 2 3 4 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited