2001-07-14 19:15:12

by aset

[permalink] [raw]
Subject: Linux USB boot hang

Hello,

I compiled and installed Linux-2.4.5smp on a dual 300 MHz Pentium II
running Red Hat 7.0 with gcc 2.96. The motherboard has two sets of USB
headers but there are no USB ports. If I configure the kernel with USB
modules, at boot linux complains repeatedly:

hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe USB cable is bad?
hub.c: Cannot enable port 2 of hub 1, disabling port.
hub.c: Maybe USB cable is bad?

I don't know how to get out of this, so I just wait for it to time out
to finish booting. If I don't configure the kernel for a USB controller
then the during the boot process it complains that it can't find the
usb-uhci module and the boot process hangs at sendmail. Again I wait for
the time-out for the boot process to finish. How do I fix this dilemma.
Is there some way I can modifiy hub.c to stop looking for ports 1 and 2?

Thanks, from a Linux newbie.

Don Werder
[email protected]


2001-07-15 02:07:45

by Ignacio Vazquez-Abrams

[permalink] [raw]
Subject: Re: Linux USB boot hang

On Sat, 14 Jul 2001 [email protected] wrote:

> Hello,
>
> I compiled and installed Linux-2.4.5smp on a dual 300 MHz Pentium II
> running Red Hat 7.0 with gcc 2.96. The motherboard has two sets of USB
> headers but there are no USB ports. If I configure the kernel with USB
> modules, at boot linux complains repeatedly:
>
> hub.c: Cannot enable port 1 of hub 1, disabling port.
> hub.c: Maybe USB cable is bad?
> hub.c: Cannot enable port 2 of hub 1, disabling port.
> hub.c: Maybe USB cable is bad?
>
> I don't know how to get out of this, so I just wait for it to time out
> to finish booting. If I don't configure the kernel for a USB controller
> then the during the boot process it complains that it can't find the
> usb-uhci module and the boot process hangs at sendmail. Again I wait for
> the time-out for the boot process to finish. How do I fix this dilemma.
> Is there some way I can modifiy hub.c to stop looking for ports 1 and 2?
>
> Thanks, from a Linux newbie.
>
> Don Werder
> [email protected]

Add "append=nousb" to lilo.conf. RH looks for this and skips loading the USB
module if it exists.

It's not hanging at sendmail; it just can't find the IP address for your
machine.

--
Ignacio Vazquez-Abrams <[email protected]>