Skip to contentSkip to conversation

]

Fwd: Re: Hotplug *seems* to hang during boot Dave Dodge 3 participants 5 messages Oct 5, 2004

lore
Share & tools
lore

Dave Dodge

author
#0 lore raw
Quoted 4 lines · Richard Wild

and this way I discovered that it seems to go wrong when it tries to do this:

modprobe -q -s ehci-hcd

I believe that's for USB 2.0.

Googling for "echi-hcd hang" I see someone reporting a similar problem last year, with possible workaround:

http://lists.suse.com/archive/suse-linux-e/2003-Aug/2522.html

-Dave Dodge

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw

All,

on the advice of Patrick Mansfield (thanks) I invoked the script like this:

sh -x /etc/rc.d/rc.hotplug start

and this way I discovered that it seems to go wrong when it tries to do this:

modprobe -q -s ehci-hcd

At the moment I'm not familiar with that kernel module. Will keep you posted.

Thanks,
Rich.

-------- Original Message --------
Subject: Re: Hotplug *seems* to hang during boot]
Date: Mon, 04 Oct 2004 22:35:31 +0000
From: Richard Wild <[email protected]>
To: Simone Gotti <[email protected]>
CC: [email protected]
References: <[email protected]>
<20041004195531.GA20448@basmati> <[email protected]> <[email protected]>

Hi,

I had that thought myself immediately after posting. I went through the various scripts putting echo statements in and eventually arrived at /etc/hotplug/pci.agent with the line:

load_drivers pci $MAP_CURRENT "$LABEL"

which expands to:

load_drivers pci /lib/modules/2.6.7/modules.pcimap PCI slot

That's where it seems to go off the trolley. I will post more if and when I find it.

Thanks,
Rich.

Quoted 8 lines · Simone Gotti

You can try editing the /etc/hotplug/hotplug.functions and uncomment the line

# DEBUG=yes; export DEBUG

so you can at least see in which part or on which module it's blocking. and if it's a kernel problem.

Quoted 9 lines

P.S. I don't use slackware from a lot of time, but I thing that you can look if you are using the latest hotplug (20040923) or install it.
If this don't work you can also try to apply the patches that you can find in debian (I hope to have time to dig in them and send them splitted to this list, so also the gentoo's and other distro users can use them).

Bye!

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Dave Dodge

Turning acpi off did not work for me. I will go and get a better kernel, and also try the latest hotplug as Simone suggested.

Rich.

Quoted 9 lines · Dave Dodge

I believe that's for USB 2.0.

Googling for "echi-hcd hang" I see someone reporting a similar problem last year, with possible workaround:

http://lists.suse.com/archive/suse-linux-e/2003-Aug/2522.html

-Dave Dodge

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Dave Dodge

Rich -

Quoted 2 lines · Richard Wild

Turning acpi off did not work for me. I will go and get a better kernel, and also try the latest hotplug as Simone suggested.

Seems doubtful it is a hotplug problem if the module load is hanging your system.

Have you seen the REPORTING-BUGS file?

Testing 2.6.9-rc3 and 2.6.8.1 might help. You should followup on linux-usb-devel. google based on your hardware for other failure reports, and also search usb-devel for your hardware, here is a decent archive:

http://news.gmane.org/gmane.linux.usb.devel

usb-devel will want lspci -v output, see the kernel source REPORTING-BUGS for details.

And maybe try getting sysrq process trace output, assuming the system is not absolutely dead, see kernel's Documentation/syrq.txt, here is current bk version online:

http://linux.bkbits.net:8080/linux-2.5/anno/Documentation/[email protected]?nav=index.html|src/|src/Documentation

The above might require a serial line to capture the relevant details.

Have fun.

-- Patrick Mansfield

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#4 lore raw
In reply to Dave Dodge
Quoted 5 lines

Seems doubtful it is a hotplug problem if the module load is hanging your system.

Yes I take your point fully, and having established this I will take my problem off the hotplug developers' mailing list.

Quoted 7 lines

Have you seen the REPORTING-BUGS file?

Testing 2.6.9-rc3 and 2.6.8.1 might help. You should followup on linux-usb-devel. google based on your hardware for other failure reports, and also search usb-devel for your hardware, here is a decent archive:

Thanks. I am attempting to get 2.6.9-rc3 to work now (getting kernel panics atm about filesystems).

Quoted 9 lines

And maybe try getting sysrq process trace output, assuming the system is not absolutely dead, see kernel's Documentation/syrq.txt, here is current bk version online:

http://linux.bkbits.net:8080/linux-2.5/anno/Documentation/[email protected]?nav=index.html|src/|src/Documentation

The above might require a serial line to capture the relevant details.

I will look into that if I feel like a challenge! (That's new to me). :)

Thanks everyone for your help.

Rich.

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel