Need help to boot debian on USB with more devices connected

View: New views
5 Messages — Rating Filter:   Alert me  

Need help to boot debian on USB with more devices connected

by Douglas Lopes Pereira :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi guys,

I'm trying to power up my Sheeva Plug (which is configured to boot
Martin's debian from USB drive) with my USB drive connected over an
USB hub with other devices on it (i.e Usb headset).

Uboot identifies the devices connected but does not recognize my USB
drive and get stuck.

This is what I see from my terminal:

======================= TERMINAL OUTPUT =========================
U-Boot 1.1.4 (May 13 2009 - 13:10:52) Marvell version: 3.4.16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CF100

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   scanning bus for devices...
      USB device not responding, giving up (status=20)
4 USB Device(s) found
       scanning bus for storage devices...

======================= TERMINAL OUTPUT =========================

Does anyone know how to boot my system without removing other stuff
from my usb hub?

Thanks for your attention.

Regards,
Douglas


--
To UNSUBSCRIBE, email to debian-arm-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Need help to boot debian on USB with more devices connected

by Björn Wetterbom-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Isn't this a well known issue with usb-booted devices? See e.g. http://www.nslu2-linux.org/wiki/Debian/TroubleShooting (section "The slug fails to reboot with 2 drives connected"). I guess you have already figured out that you can boot by detaching all devices except the boot disk.

Will it perhaps be solved when (if?) Squeeze introduces UUIDs in /etc/fstab, or is it an unsolvable problem since the kernel doesn't pick up the boot device from /etc/fstab (according to the above link)?

Hmm, seems I came up with more questions than answers. Help, anyone?

/Björn


On Wed, Oct 7, 2009 at 21:19, Douglas Lopes Pereira <douglaslopespereira@...> wrote:
Hi guys,

I'm trying to power up my Sheeva Plug (which is configured to boot
Martin's debian from USB drive) with my USB drive connected over an
USB hub with other devices on it (i.e Usb headset).

Uboot identifies the devices connected but does not recognize my USB
drive and get stuck.

This is what I see from my terminal:

======================= TERMINAL OUTPUT =========================
U-Boot 1.1.4 (May 13 2009 - 13:10:52) Marvell version: 3.4.16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CF100

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   scanning bus for devices...
     USB device not responding, giving up (status=20)
4 USB Device(s) found
      scanning bus for storage devices...

======================= TERMINAL OUTPUT =========================

Does anyone know how to boot my system without removing other stuff
from my usb hub?

Thanks for your attention.

Regards,
Douglas


--
To UNSUBSCRIBE, email to debian-arm-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...



Re: Need help to boot debian on USB with more devices connected

by Martin Michlmayr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* Björn Wetterbom <bjohv052@...> [2009-10-07 21:37]:
> Isn't this a well known issue with usb-booted devices? See e.g.
> http://www.nslu2-linux.org/wiki/Debian/TroubleShooting (section "The slug
> fails to reboot with 2 drives connected"). I guess you have already figured
> out that you can boot by detaching all devices except the boot disk.

That's an entirely different problem.  The problem described on the
NSLU2 page is about Linux not mounting the right disk with multiple
disks and this is indeed fixed in squeeze by the use of UUIDs.

The problem Douglas describes is a bug in u-boot itself on the
SheevaPlug.
--
Martin Michlmayr
http://www.cyrius.com/


--
To UNSUBSCRIBE, email to debian-arm-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Need help to boot debian on USB with more devices connected

by Martin Michlmayr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* Douglas Lopes Pereira <douglaslopespereira@...> [2009-10-07 16:19]:
> I'm trying to power up my Sheeva Plug (which is configured to boot
> Martin's debian from USB drive) with my USB drive connected over an
> USB hub with other devices on it (i.e Usb headset).

There's a new version of u-boot somewhere on http://openplug.org that
you could try.  Maybe it solves the problem (I'm not sure if it does
since I haven't found the time to try it myself but I'm pretty sure
you'll find the answer at <http://openplug.org/plugforum/>)

--
Martin Michlmayr
http://www.cyrius.com/


--
To UNSUBSCRIBE, email to debian-arm-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Need help to boot debian on USB with more devices connected

by David Given :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Douglas Lopes Pereira wrote:
[...]
> Uboot identifies the devices connected but does not recognize my USB
> drive and get stuck.

I've found that u-boot's USB support is very unreliable, and it's pretty
much pot luck whether it will deign to talk to any given USB storage
device. I've also seen it crash and/or hang on various occasions. In
addition, it's sensitive to the order of devices on the bus, and will
frequently enumerate some devices but not others.

If you really need to use USB, I can only suggest getting a handful of
cheapo USB keys and trying each one until you've got something that
u-boot will work with.

I eventually gave up with USB and now boot from a SD card, using Martin
Michlmayr's u-boot upgrade. This avoids the whole problem entirely (and
is much faster to boot).

--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────

│ "They laughed at Newton. They laughed at Einstein. Of course, they
│ also laughed at Bozo the Clown." --- Carl Sagan


--
To UNSUBSCRIBE, email to debian-arm-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...