Can not boot from a SSD disk in the esata slot.

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: Can not boot from a SSD disk in the esata slot.

Postby kurre » Mon Aug 20, 2012 10:27 am

Still no luck with the new U-Boot.
But this does not seems ok.
I have no usb drive attached but one storage device in esata.

$this->bbcode_second_pass_code('', 'scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
')
$this->bbcode_second_pass_code('', '
U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
Seagate GoFlexNet

SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
** Block device usb 0 not supported

** Invalid boot device **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=3"
UBI: MTD device size: 219 MiB
UBI: number of good PEBs: 1751
UBI: number of bad PEBs: 1
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 0
UBI: available PEBs: 1730
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
** Block device usb 0 not supported
** Block device usb 1 not supported
** Block device usb 2 not supported
** Block device usb 3 not supported
** Block device usb 0 not supported
** Block device usb 0 not supported
Wrong Image Format for bootm command
ERROR: can't get kernel image!
stopping USB..

Reset IDE: Bus 0: OK Bus 1: .OK
Device 0: Model: KINGSTON SS050S232G Firm: 110831 Ser#: 32GBC0050422
Type: Hard Disk
Supports 48-bit addressing
Capacity: 30533.8 MB = 29.8 GB (62533296 x 512)
IDE read: device 0 not ready
IDE read: device 0 not ready
Device 1: not available
** Bad partition 1 **
** Bad partition 1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS: ........ done.
find_inode failed for name=uboot-original-mtd0.kwb
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for uboot-original-mtd0.kwb!
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
find_inode failed for name=uboot-original-mtd0.kwb
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for uboot-original-mtd0.kwb!
resetting ...

')
kurre
 
Posts: 13
Joined: Mon Aug 13, 2012 8:52 pm

Re: Can not boot from a SSD disk in the esata slot.

Postby kurre » Mon Aug 20, 2012 7:46 pm

Hmm, now no drives works in the esata slot.
Before I upgraded to the new U-Boot and linux 3.5.2 I just booted the system via an usb-SSD and mounted my 500 GB data drive (/dev/sdb in esata).
Now I still boot from the usb drive but the system does not find /dev/sdb in esata slots.
But U-Boot has only doing with the boot and the boot devices? Correct?
So the fault should be in the linux?
fdisk -l justs shows /dev/mtdblock0-/dev/mtdblock3 and /dev/sda, NO /dev/sdb.
kurre
 
Posts: 13
Joined: Mon Aug 13, 2012 8:52 pm

Re: Can not boot from a SSD disk in the esata slot.

Postby moonman » Tue Aug 21, 2012 12:25 am

Seems your ssd isn't compatible with u-boot... I don't know what else you can do.
And back to booting off of USB. Hmm, maybe sata needs to be initialized in u-boot to be recognised by the kernel then. We need a u-boot guru here. I cant test myself as mine gets booted off of a sata drive so obviously it sata works for me. Maybe you need to add sata reset to the uboot boot command. This is getting risky though. If something goes wrong you will need a working netconsole/serial or at worst a jtag.
Last edited by moonman on Tue Aug 21, 2012 7:48 am, edited 2 times in total.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Can not boot from a SSD disk in the esata slot.

Postby moonman » Tue Aug 21, 2012 1:15 am

$this->bbcode_second_pass_code('', 'fw_setenv bootcmd 'ide reset; usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset'')

viewtopic.php?f=18&t=3383&p=19819#p19819 wait for the guy to test this out. He has serial to recover.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Can not boot from a SSD disk in the esata slot.

Postby kurre » Tue Aug 21, 2012 12:32 pm

Back to the old U-Boot and Linux 3.1 and it works to boot from usb and it see my second drive in esata.
kurre
 
Posts: 13
Joined: Mon Aug 13, 2012 8:52 pm

Re: Can not boot from a SSD disk in the esata slot.

Postby phatkiller » Wed Aug 29, 2012 6:50 am

1:50am 08/29
Hey maybe you can help me out I am having this same problem.

How did you roll back to linux 3.1 ?

For the old uboot is this correct ?

$this->bbcode_second_pass_code('', '
wget http://jeff.doozan.com/debian/goflex/v0.6/uInitrd
wget http://jeff.doozan.com/debian/goflex/v0.6/ubit_start
chmod +x ubit_start
./ubit_start
chain_install goflexhome
chain_revert
')


UPDATE: 3:30am 8/29

So I did the above without switching down to linux 3.1 and not really knowing what i was doing either way :oops: :oops: :oops:

with USB plugged only:
light flashes green a few times then turns off, no connection to router, no ssh

without anything plugged in:
light flashes green non-stop

with USB and sata HD:
light flashes green a few times then turns off, no connection to router, no ssh

with sata HD only:
light flashes green non-stop

I don't have serial access...for netconsole do I need to use a crossover cable to do that ?
phatkiller
 
Posts: 9
Joined: Wed Jun 13, 2012 6:45 am

Re: Can not boot from a SSD disk in the esata slot.

Postby moonman » Wed Aug 29, 2012 7:35 am

I don't really know what chain_revert does, and you didn't "exit" I guess I would
$this->bbcode_second_pass_code('', 'uboot_install goflexnet
chain_install goflexnet
exit ')

For netconsole you don't have to use crossover IF it works through the router and you will probably have to use Linux to get netconsole to work both ways. (I can't send messages TO u-Boot from my mac for example). You probably just messed up the environment so get netconsole working.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Can not boot from a SSD disk in the esata slot.

Postby phatkiller » Wed Aug 29, 2012 7:38 pm

well before this is exactly what i did

$this->bbcode_second_pass_code('', '
wget http://jeff.doozan.com/debian/goflex/v0.6/uInitrd
wget http://jeff.doozan.com/debian/goflex/v0.6/ubit_start
chmod +x ubit_start
./ubit_start
chain_install goflexhome
chain_revert
exit
reboot
')

Now I'm trying to do netconsole on a Netbook running Backtrack R5 once it loads and i login i do the following and get that error at the end.

$this->bbcode_second_pass_code('', '
sudo ifconfig eth0:0 10.10.10.5
sudo ifconfig eth0:1 10.10.10.4
sudo ifconfig eth0:2 10.10.10.2
nc -lu 10.10.10.5 6666
UDP listen needs -p arg
')

I tried adding "nc -lup 10.10.10.5 6666" that doesnt work then i tried "nc -lu 10.10.10.5 6666 -p 6666" but none of that worked. Can you give me step by step on setting up netconsle because im not sure if im doing it right. I tried doing it via the router wouldnt work so i tried with crossover cable no luck either. Do I need to switch the routing ip address of my router right now default is 192.168.1.*** should i switch it to assing ip in range 10.10.10.*** ??
phatkiller
 
Posts: 9
Joined: Wed Jun 13, 2012 6:45 am

Re: Can not boot from a SSD disk in the esata slot.

Postby moonman » Wed Aug 29, 2012 7:58 pm

I don't know what version of nc backtrack comes with. I would try (k)ubuntu instead.

With backtrack you maybe the synatx is "nc -lup 6666 10.10.10.5" do "man nc". If it doesn't work just download ubuntu or kubuntu live cd. Those work for sure.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Can not boot from a SSD disk in the esata slot.

Postby phatkiller » Wed Aug 29, 2012 8:59 pm

ok so downloaded ubuntu and what you see below is what i get

$this->bbcode_second_pass_code('', '
ubuntu@ubuntu:~$ nc -lu 10.10.10.5 6666

U-Boot 2010.09 (Feb 16 2011 - 18:44:23)
UBIT v0.6 by Jeff Doozan and Peter Carmichael
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 2
0
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
** Block device usb 0 not supported
** Block device usb 0 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 1 not supported
** Block device usb 1 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 2 not supported
** Block device usb 2 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 3 not supported
** Block device usb 3 not supported

** Invalid boot device **

** Invalid boot device **

Reset IDE: Bus 0: not available Bus 1: not available
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:ramdisk", error -19
Error reading superblock on volume 'ubi:ramdisk'!
UBIFS not mounted, use ubifs mount to mount volume first!
Marvell>>
')

Drops me to the "Marvell>>" command prompt. I dont know where to go from there.
phatkiller
 
Posts: 9
Joined: Wed Jun 13, 2012 6:45 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 4 guests

cron