nwsp2 lite - stock Seagate AF HD 2TB not booting correctly

Re: nwsp2 lite - stock Seagate AF HD 2TB not booting correct

Postby frenbu » Fri Feb 01, 2013 11:03 am

ok i'll try it in the late afternoon after work !
I hope the console output will give us more info on the issue...

have a nice day, frenbu
frenbu
Donator VIP
Donator VIP
 
Posts: 24
Joined: Fri Nov 02, 2012 12:19 am
Location: Verona, Italy

Re: nwsp2 lite - stock Seagate AF HD 2TB not booting correct

Postby frenbu » Fri Feb 01, 2013 6:33 pm

now we got him, the kernel boot hangs during ehci usb bus registration!
it stops here:
Code: Select all
...
...
mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 100 Mb/s, full duplex, flow control disabled
console [netcon0] enabled
netconsole: network logging started
aoe: AoE v47 initialised.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1

Here the full boot log: http://pastebin.com/2kwVWqcm

So the problem is the usb hub..... I'm trying to figure out the correct kernel parameter to blacklist the module loading, maybe rdblacklist?
good one!
frenbu
Donator VIP
Donator VIP
 
Posts: 24
Joined: Fri Nov 02, 2012 12:19 am
Location: Verona, Italy

Re: nwsp2 lite - stock Seagate AF HD 2TB not booting correct

Postby fvdw » Fri Feb 01, 2013 6:50 pm

finally some progress.
Need to look at this if is the registering of the platform then I can disable it in the kernel but that would mean no support for usb bus anymore...
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: nwsp2 lite - stock Seagate AF HD 2TB not booting correct

Postby frenbu » Fri Feb 01, 2013 7:02 pm

i've found the correct kernel parameter: nousb

after this the boot go straight as hell and i can telnet the box with the ip you coded in the image!
now i'll try the same with the standard kernel to see if it boots... i'll update you in a while
frenbu
Donator VIP
Donator VIP
 
Posts: 24
Joined: Fri Nov 02, 2012 12:19 am
Location: Verona, Italy

Re: nwsp2 lite - stock Seagate AF HD 2TB not booting correct

Postby fvdw » Fri Feb 01, 2013 7:07 pm

:thumbup :punk

lets see what that brings, learned again something didn't know this nousb kernel parameter
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: nwsp2 lite - stock Seagate AF HD 2TB not booting correct

Postby frenbu » Fri Feb 01, 2013 7:17 pm

BOOTED! - with the Seagate stock HD!

:beer:

i think this evening i'll get drunk ;) i wish to offer you a beer or two ahah
mmm... what should i do in the u-boot to set permanently the parameter?
frenbu
Donator VIP
Donator VIP
 
Posts: 24
Joined: Fri Nov 02, 2012 12:19 am
Location: Verona, Italy

Re: nwsp2 lite - stock Seagate AF HD 2TB not booting correct

Postby fvdw » Fri Feb 01, 2013 7:42 pm

success :bananadance at least you can use it now although it will lack usb support
I will take also a beer this evening to celbrate this victory

You have a nwsp2 Lite, that has a more recent bootloader and should support "the backdoor"
If you set when talking to u-boot the environment variable "LaBackdoor", then u-boot will not set the default value for bootcmd.
So you can define it yourself
For instance like this
Code: Select all
setenv LaBackdoor open
setenv bootcmd run fvdw_boot
setenv fvdw_boot 'ide reset; diskboot 0x800000 0:6; setenv bootargs console=ttyS0,1152000 root=/dev/sda7  ro reset=$(resetFlag_env} nousb; bootm'
saveenv

(Notice the capital letters in LaBackdoor)
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: nwsp2 lite - stock Seagate AF HD 2TB not booting correct

Postby frenbu » Fri Feb 01, 2013 8:33 pm

great!
I'll try that tomorrow morning, now it's beer time ;) see y!
frenbu
Donator VIP
Donator VIP
 
Posts: 24
Joined: Fri Nov 02, 2012 12:19 am
Location: Verona, Italy

Re: nwsp2 lite - stock Seagate AF HD 2TB not booting correct

Postby frenbu » Sun Feb 03, 2013 12:57 am

I've set the backdoor and modified the boot commands, now the nwsp2 boots always fine! :punk

Thank you fvdw, without your help and experience I would be stuck at the beginning... :hail
frenbu
Donator VIP
Donator VIP
 
Posts: 24
Joined: Fri Nov 02, 2012 12:19 am
Location: Verona, Italy

Re: nwsp2 lite - stock Seagate AF HD 2TB not booting correct

Postby fvdw » Sun Feb 03, 2013 5:07 pm

:thumbup glad to hear it is working now and it was a nice challenge :vhcool
It learned me something more on booting using clunc and making a rescue kernel. That knowledge we can use for other problems as well.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Previous

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 6 guests