Kurobox NAS-Central Forums

Welcome to the Kuro Community
It is currently Sun Jun 24, 2018 3:26 am

All times are UTC-06:00




Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Tue Feb 06, 2007 2:40 pm 
Offline

Joined: Thu Jan 25, 2007 11:34 am
Posts: 10
Is there a way to get this box into EM mode without removing the hard drive? I installed LNI's uboot, followed the Gentoo installation as found here - http://www.kurobox.com/mwiki/index.php/ ... ntoo_Image - set for dhcp, Untarred this kernel to / - http://www.kurobox.com/sylver/debian/ke ... 103.tar.gz - then I redid fstab to match my drive. Upon reboot, I used netcat to log in and change hdifile to boot uImage, and then rebooted.

All I get now is a slowly flashing power light and the box never boots up. I popped up netcat to see what is going on and this is what I get before it hangs:

Quote:
192.168.11.150: inverse host lookup failed: h_errno 11004: NO_DATA
(UNKNOWN) [192.168.11.150] 6666 (?) open
..OK
Device 0: Model: ST3500641A Firm: 3.AAH Ser#: 3PM0HV7J
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
Boot in 01 seconds ('s' to stop)...
Loading 0:1:boot/uImage

1334658 bytes read
## Booting image at 00800000 ...
Image Name: Linux-2.6.18.1-mh7_kurobox_hg
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1334594 Bytes = 1.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK


After it gets to this point, the power light slowly fades in and out. Is this because it can't lease an address from dhcp properly?

My env varibles look like this:
Quote:
printenv
bootargs=root=/dev/hda1
bootcmd=run bootcmd1
nfsboot=bootp;run 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
nc=setenv stdin nc;setenv stdout nc;setenv stderr nc
ser=setenv stdin serial;setenv stdout serial;setenv stderr serial
ldaddr=800000
hdpart=0:1
hdload=echo Loading ${hdpart}:${hdfile};ext2load ide ${hdpart} ${ldaddr} ${hdfil
e}
boothd=setenv bootargs root=/dev/hda1;bootm ${ldaddr}
hdboot=run hdload boothd
flboot=setenv bootargs root=/dev/hda1;bootm ffc00000
emboot=setenv bootargs root=/dev/ram0;bootm ffc00000
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} ip=${ip
addr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
bootretry=30
bootcmd1=run hdboot;run flboot
bootcmd2=run flboot
bootcmd3=run emboot
conscmd1=run nc
conscmd2=run ser
writeng=protect off fff70000 fff7ffff;era fff70000 fff7ffff;mw.l 800000 4e474e47
1;cp.b 800000 fff70000 4
writeok=protect off fff70000 fff7ffff;era fff70000 fff7ffff;mw.l 800000 4f4b4f4b
1;cp.b 800000 fff70000 4
ubpart=0:3
ubfile=share/u-boot/u-boot-hg.flash.bin
ubload=echo Loading ${ubpart}:${ubfile};ext2load ide ${ubpart} ${ldaddr} ${ubfil
e}
ubsaddr=fff00000
ubeaddr=fff2ffff
ubflash=protect off ${ubsaddr} ${ubeaddr};era ${ubsaddr} ${ubeaddr};cp.b ${ldadd
r} ${ubsaddr} ${filesize};cmp.b ${ldaddr} ${ubsaddr} ${filesize}
upgrade=run ubload ubflash
ethact=RTL8169#0
hdfile=boot/uImage

Environment size: 1490/65532 bytes


Does anyone have any clues on how to force EM mode? I assume something is wrong with my installation. Any help would be appreciated.

Thanks,

-X


Top
   
 Post subject:
PostPosted: Tue Feb 06, 2007 2:59 pm 
Offline

Joined: Thu Jan 25, 2007 11:34 am
Posts: 10
Well, I figured out how to get it back into EM mode by booting /dev/ram0 (why didn't I think of this before?). Now I guess I need to figure out why this thing is not booting.

I am still open to clues in this dept if anyone would like to share! :)

-X


Top
   
 Post subject:
PostPosted: Tue Feb 06, 2007 7:59 pm 
Offline

Joined: Thu Jan 25, 2007 11:34 am
Posts: 10
Never mind. Thanks for anyone that thought about trying to answer this. I got Gentoo running however.

-X


Top
   
Display posts from previous:  Sort by  
Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 1 guest


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:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited