Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Apr 20, 2018 10:59 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Mar 23, 2009 2:19 am 
Offline
Moderator
User avatar

Joined: Thu Apr 06, 2006 1:33 pm
Posts: 1082
Location: United States of America
I have an interesting problem, I think the flash is bad but I'm not sure
I ubooted a Kuro HD, and used Andre's 2.6.25.4 uboot variant with this. This worked fine until I tried a custom 2.6.28 kernel which booted but for whatever reason now there is a flash error after a night (5 red blinks) since that time I have been able to get into the uboot prompt, and sometimes into a recovery console (mindbender's 2.4.33) but more often I get this on the serial console and then 5 red blinks.

Code:
U-Boot 1.2.0 (Apr 13 2007 - 22:25:08) LinkStation / KuroBox

CPU:   MPC8245 Revision 1.4 at 196.608 MHz: 16 kB I-Cache 16 kB D-Cache
DRAM:  64 MB
FLASH:  4 MB
        00  0b  1317  0985  0200  ff
        00  0c  1095  0680  0101  ff
        00  0e  1033  0035  0c03  ff
        00  0e  1033  0035  0c03  ff
        00  0e  1033  00e0  0c03  ff
Net:   COMET#0

then 5 red blinks

or sometimes
Code:
U-Boot 1.2.0 (Apr 13 2007 - 22:25:08) LinkStation / KuroBox

CPU:   MPC8245 Revision 1.4 at 196.608 MHz: 16 kB I-Cache 16 kB D-Cache
DRAM:  64 MB
FLASH:  4 MB
        00  0b  1317  0985  0200  ff
        00  0c  1095  0680  0101  ff
        00  0e  1033  0035  0c03  ff
        00  0e  1033  0035  0c03  ff
        00  0e  1033  00e0  0c03  ff
Net:   COMET#0
stdin :   serial
stdout:   serial
stderr:   serial
IDE:   Bus 0: OK
  Device 0: Model: ST3250623A Firm: 3.04 Ser#: 5ND1A28K
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
Boot in 08 seconds ('s' to stop)...
=>
=>
=>

Sometimes I can enter commands here, sometimes 5 red blinks

Any Ideas?

_________________
-Ramuk

LinkStation HG *250 Uboot - Foonas-EM - Freelink
Kuro HG *750 Uboot - Foonas-EM - Debian Squeeze
Kuro HD *60 Uboot - Foonas-EM - Debian Squeeze (For Sale)
KuroPro *2TB Debian Lenny Armel- Kernel 2.6.26
KuroPro *1TB Debian Lenny Armel- Kernel 2.6.25.6


Top
   
PostPosted: Mon Mar 23, 2009 1:47 pm 
Offline
Site Admin
User avatar

Joined: Tue Mar 21, 2006 9:11 pm
Posts: 658
first, start it in christmas tree mode. That'll stop the 5 blinks from hell. I have received this error when uboot could not find the kernel. I would try the following:

1. make sure you have a known good kernel on a known good partition. I had similar problems after my drive got corrupted.

2. do a compare of the flash with the binary you flashed. make sure they read as duplicates several times. That will rule out a flash error or flash read error. do the same with the firmimg.bin in the flash with the file you flashed.

3. if you have serial and can get to a prompt, you can try to kermit boot a kernel. If you don't, try a TFTPboot.

_________________
My completely scratch built 832 push-pull tube amplifier with Padauk frame. It matches my custom mini-ITX machine.


Top
   
PostPosted: Mon Mar 23, 2009 1:50 pm 
Offline
Site Admin
User avatar

Joined: Tue Mar 21, 2006 9:11 pm
Posts: 658
by the way, the top output is what I get when listening on serial and ubuut boots to a netconsole. the bottom one is what I see when booting via serial port.

_________________
My completely scratch built 832 push-pull tube amplifier with Padauk frame. It matches my custom mini-ITX machine.


Top
   
PostPosted: Mon Mar 23, 2009 2:44 pm 
Offline
Moderator
User avatar

Joined: Thu Apr 06, 2006 1:33 pm
Posts: 1082
Location: United States of America
Will try, I thought this was a hard drive error to begin with too. But even when I get to the uboot console sometimes I can enter a command or two (like printenv) and then I get the 5 blinks. A few times I was able to get into the recovery console and fsck the drive and mount it, there were a few errors but nothing major. I haven't gotten it to boot into the last known good kernel yet though, but I was able to get it to boot once again into the newer kernel I installed.

Anyways will try what you suggested later this evening.

_________________
-Ramuk

LinkStation HG *250 Uboot - Foonas-EM - Freelink
Kuro HG *750 Uboot - Foonas-EM - Debian Squeeze
Kuro HD *60 Uboot - Foonas-EM - Debian Squeeze (For Sale)
KuroPro *2TB Debian Lenny Armel- Kernel 2.6.26
KuroPro *1TB Debian Lenny Armel- Kernel 2.6.25.6


Top
   
PostPosted: Mon Mar 23, 2009 6:28 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
ramuk, a few thoughts: (EDITED, after I read ramuk's and kuroguys posts more carefully ;) )

1. if you switch back to the andre kernel, does this behavior disappear? (should just take a change in uImage symlink and a reboot to check) (already asked by kuroguy)

2. could you post your uboot env var values? maybe one of us may seem something that is odd...

3. have you tried booting foonas-em via tftp? just a thought. I was thinking that maybe there is something odd happening between mindbender's firmimg.bin and uBoot. directions for tftp-booting timtimreds foonas-em images on ppc are here : http://foonas.org/index.php/Foonas-em:TFTPBoot-lsppc this em image has the advantage of uboot-utils/fw_{set | print}env, so you can see (while booted) what's in flash env vars.

4. What does your netconsole output look like? Just for comparison, mine looks like this on one of my LS1's: (EDIT: are both of your output snippets from console access? - mine is from netconsole - its been a while since I hooked up serial console on one of these ppc boxes)...

Code:
192.168.11.150: inverse host lookup failed: Unknown host
(UNKNOWN) [192.168.11.150] 6666 (?) open


U-Boot 1.2.0 (Apr 13 2007 - 22:25:08) LinkStation / KuroBox
stdin :   nc
stdout:   nc
stderr:   nc
IDE:   Bus 0: OK
  Device 0: Model: SAMSUNG SV1203N Firm: TQ100-23 Ser#: 0727J1FWB69423
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114498.5 MB = 111.8 GB (234493056 x 512)
Boot in 01 seconds ('s' to stop)...
Loading 0:1:boot/uImage

2310126 bytes read

2387 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.28.8
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    2310062 Bytes =  2.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
   Booting using flat device tree at 0x7f0000
Using Buffalo Linkstation machine description
Linux version 2.6.28.8 (davygravy@bitbaker-i686) (gcc version 4.2.4) #1 Sun Mar 22 00:01:55 CDT 2009
console [udbg0] enabled
Adding PCI host bridge /soc10x/pci@fec00000
Using Buffalo Linkstation machine description
PCI host bridge /soc10x/pci@fec00000 (primary) ranges:
  IO 0x00000000fe000000..0x00000000febfffff -> 0x0000000000000000
 MEM 0x0000000080000000..0x00000000efffffff -> 0x0000000080000000
Linux version 2.6.28.8 (davygravy@bitbaker-i686) (gcc version 4.2.4) #1 Sun Mar 22 00:01:55 CDT 2009
BUFFALO Network Attached Storage Series
console [udbg0] enabled


...  blah blah blah...



5. if you can get it booted again, I'd dd the contents out to a file and diff them against the original uboot image. Something looks not right here. (already asked by kuroguy)

6. which flash chip do you have on your board? maybe
Code:
flinfo
while in uboot will yield this.

_________________
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
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 6 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