LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-18-2004, 10:55 AM   #1
kam_kenneth
Member
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 50

Rep: Reputation: 15
kernel 2.6 and hotplug problem


Hi

I compiled my own kernel two weeks ago and everything was fine - until I forgot to activate my hotplug. So I ran (as root) /etc/init.d/hotplug start:

ken@lnc99kk:~> sudo /etc/init.d/hotplug start
Password:
Starting hotplugging services [ ieee1394 net pci usb .. ] failed

(I am using SuSE 9 Pro)

so i then looked at my log

ken@lnc99kk:~> sudo cat /var/log/messages
blah blah blah blah................................
May 18 16:57:16 lnc99kk /etc/hotplug/usb.rc[22531]: loaded HCD: ehci-hcd
May 18 16:57:16 lnc99kk /etc/hotplug/usb.rc[22531]: loaded HCD: ohci-hcd
May 18 16:57:16 lnc99kk /etc/hotplug/usb.rc[22531]: loaded HCD: uhci-hcd
May 18 16:57:16 lnc99kk /etc/hotplug/usb.rc[22531]: loaded HCD: ehci-hcd
May 18 16:57:17 lnc99kk /etc/hotplug/usb.rc[22531]: FATAL: Module mousedev not found.
May 18 16:57:17 lnc99kk /etc/hotplug/usb.rc[22531]: FATAL: Module keybdev not found.

but i do have mousedev and keybdev in my kernel! and if i plugged a USB device in my computer and started it, the log looks like this:

May 18 16:55:21 lnc99kk kernel: usbcore: registered new driver usbfs
May 18 16:55:21 lnc99kk kernel: usbcore: registered new driver hub
May 18 16:55:21 lnc99kk kernel: ehci_hcd 0000:00:1d.7: Intel Corp. 82801EB USB2
May 18 16:55:21 lnc99kk kernel: PCI: Setting latency timer of device 0000:00:1d.7 to 64
May 18 16:55:21 lnc99kk kernel: ehci_hcd 0000:00:1d.7: irq 23, pci mem e19d8c00
May 18 16:55:21 lnc99kk kernel: ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
May 18 16:55:21 lnc99kk kernel: PCI: cache line size of 128 is not supported by device 0000:00:1d.7
May 18 16:55:21 lnc99kk kernel: ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
May 18 16:55:21 lnc99kk /sbin/hotplug[21983]: no runnable /etc/hotplug/usb_host.agent is installed
May 18 16:55:21 lnc99kk kernel: hub 1-0:1.0: USB hub found
May 18 16:55:21 lnc99kk kernel: hub 1-0:1.0: 8 ports detected
May 18 16:55:21 lnc99kk /etc/hotplug/usb.rc[21972]: loaded HCD: ehci-hcd
May 18 16:55:21 lnc99kk kernel: ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
May 18 16:55:21 lnc99kk kernel: ohci_hcd: block sizes: ed 64 td 64
May 18 16:55:21 lnc99kk /etc/hotplug/usb.rc[21972]: loaded HCD: ohci-hcd
May 18 16:55:21 lnc99kk kernel: USB Universal Host Controller Interface driver v2.2
May 18 16:55:21 lnc99kk kernel: uhci_hcd 0000:00:1d.0: Intel Corp. 82801EB USB
May 18 16:55:21 lnc99kk kernel: PCI: Setting latency timer of device 0000:00:1d.0 to 64
May 18 16:55:21 lnc99kk kernel: uhci_hcd 0000:00:1d.0: irq 16, io base 0000e000
May 18 16:55:21 lnc99kk kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
May 18 16:55:21 lnc99kk /sbin/hotplug[22024]: no runnable /etc/hotplug/usb_host.agent is installed
May 18 16:55:21 lnc99kk kernel: hub 2-0:1.0: USB hub found
May 18 16:55:21 lnc99kk kernel: hub 2-0:1.0: 2 ports detected
May 18 16:55:21 lnc99kk kernel: uhci_hcd 0000:00:1d.1: Intel Corp. 82801EB USB
May 18 16:55:21 lnc99kk kernel: PCI: Setting latency timer of device 0000:00:1d.1 to 64
May 18 16:55:21 lnc99kk kernel: uhci_hcd 0000:00:1d.1: irq 19, io base 0000e400
May 18 16:55:21 lnc99kk kernel: uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
May 18 16:55:21 lnc99kk /sbin/hotplug[22064]: no runnable /etc/hotplug/usb_host.agent is installed
May 18 16:55:21 lnc99kk kernel: hub 3-0:1.0: USB hub found
May 18 16:55:21 lnc99kk kernel: hub 3-0:1.0: 2 ports detected
May 18 16:55:21 lnc99kk kernel: uhci_hcd 0000:00:1d.2: Intel Corp. 82801EB USB
May 18 16:55:21 lnc99kk kernel: PCI: Setting latency timer of device 0000:00:1d.2 to 64
May 18 16:55:21 lnc99kk kernel: uhci_hcd 0000:00:1d.2: irq 18, io base 0000e800
May 18 16:55:21 lnc99kk kernel: uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
May 18 16:55:21 lnc99kk /sbin/hotplug[22103]: no runnable /etc/hotplug/usb_host.agent is installed
May 18 16:55:21 lnc99kk kernel: hub 4-0:1.0: USB hub found
May 18 16:55:21 lnc99kk kernel: hub 4-0:1.0: 2 ports detected
May 18 16:55:21 lnc99kk kernel: uhci_hcd 0000:00:1d.3: Intel Corp. 82801EB USB
May 18 16:55:21 lnc99kk kernel: PCI: Setting latency timer of device 0000:00:1d.3 to 64
May 18 16:55:21 lnc99kk kernel: uhci_hcd 0000:00:1d.3: irq 16, io base 0000ec00
May 18 16:55:21 lnc99kk kernel: uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
May 18 16:55:21 lnc99kk /sbin/hotplug[22142]: no runnable /etc/hotplug/usb_host.agent is installed
May 18 16:55:21 lnc99kk kernel: hub 5-0:1.0: USB hub found
May 18 16:55:21 lnc99kk kernel: hub 5-0:1.0: 2 ports detected
May 18 16:55:21 lnc99kk /etc/hotplug/usb.rc[21972]: loaded HCD: uhci-hcd
May 18 16:55:21 lnc99kk /etc/hotplug/usb.rc[21972]: loaded HCD: ehci-hcd
May 18 16:55:21 lnc99kk /sbin/hotplug[22186]: no runnable /etc/hotplug/input.agent is installed
May 18 16:55:21 lnc99kk /sbin/hotplug[22187]: no runnable /etc/hotplug/input.agent is installed
May 18 16:55:21 lnc99kk /etc/hotplug/usb.rc[21972]: FATAL: Module mousedev not found.
May 18 16:55:21 lnc99kk /etc/hotplug/usb.rc[21972]: FATAL: Module keybdev not found.
May 18 16:55:22 lnc99kk kernel: usb 3-2: new full speed USB device using address 2
May 18 16:55:27 lnc99kk kernel: usb 3-2: control timeout on ep0in
May 18 16:55:27 lnc99kk kernel: usb 3-2: device descriptor read/all, error -110
May 18 16:55:27 lnc99kk kernel: usb 3-2: new full speed USB device using address 3
May 18 16:55:27 lnc99kk /etc/hotplug/usb.agent[22214]: Bad USB agent invocation
May 18 16:55:27 lnc99kk /etc/hotplug/usb.agent[22258]: Bad USB agent invocation
May 18 16:55:30 lnc99kk /etc/hotplug/usb.agent[22306]: Bad USB agent invocation
May 18 16:55:32 lnc99kk kernel: usb 3-2: control timeout on ep0in
May 18 16:55:32 lnc99kk kernel: usb 3-2: unable to read config index 0 descriptor
May 18 16:55:32 lnc99kk kernel: usb 3-2: can't read configurations, error -110
May 18 16:55:33 lnc99kk /etc/hotplug/usb.agent[22356]: Bad USB agent invocation
May 18 16:55:36 lnc99kk /etc/hotplug/usb.agent[22405]: Bad USB agent invocation

Can anybody help? I posted this in the newb forum but no one has answered yet. I thought I might get some help here. Thanks in advance
 
Old 05-18-2004, 02:43 PM   #2
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
Well, the SuSE scripts /etc/hotplug/usb.rc try to insmod the mousedev and keybdev modules, so if you compiled them right into the kernel these scripts will fail and they'll think something is seriously wrong...
Quote:
but i do have mousedev and keybdev in my kernel
So if you mean by that that you've compiled them into the kernel, then it's probably better to compile them as modules.
If they *are* already compiled as modules, try running 'depmod' , that might as well help...

good luck,
nukkel
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel 2.6.8-2-386 vs Hotplug conflict farpoint Debian 15 05-07-2005 06:41 PM
speed up hotplug with kernel 2.6.7 robtheJobNorflk Slackware 1 09-29-2004 02:10 PM
2.6.8.1 kernel stuck at rc.hotplug carboncopy Slackware 2 08-19-2004 06:23 AM
hotplug + kernel 2.6 kam_kenneth Linux - Newbie 0 05-18-2004 01:26 AM
Firmware/Hotplug problem with Hauppauge DEC2540-T, Hotplug and MythTV bezoomny Linux - Hardware 0 05-17-2004 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration