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 |
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:
If they *are* already compiled as modules, try running 'depmod' , that might as well help... good luck, nukkel |
All times are GMT -5. The time now is 03:55 AM. |