On a system with a USB mouse: [root@...]# init 1 ... [root@...]# exit results in the attached panics in modprobe and khubd. It appears to be easily reproduced.
Created attachment 12163 [details] First oops
Created attachment 12164 [details] Second oops
After the oopsen, everything but the mouse seems to continue functioning.
Still oopses in 2.4.2-0.1.25
Created attachment 12631 [details] khubd/disconnect semaphore
I would appreciate if the requestor tested the fix that I attached. It fixes the same problem for me. HOWEVER, one can never be too sure. The fix is NOT in the Rawhide at this time, as I am discussing its merits with USB maintainers. So, upcomings builds do not have it and the requestor cannot just download an updates.
Your patch doesn't apply cleanly to ac12, ac19, or redhat's 0.1.25. I'll have to apply this manually ... but not tonight
Of course, even Alan is known to generate broken patches (e.g. 2.4.2-ac11). This time, however, I *strongly* advise not to apply the patch manually. If it did not apply cleanly, your kernel was SCREWED. Here is a test log with the attachement that I actually downloaded from bugzilla: [zaitcev@mellorn ksrc]$ ls kernels linux-2.4.1.tar.bz2 patch-2.4.2-ac12.bz2 patch-2.4.2-ac7.bz2 linux-2.4.2.tar.bz2 patch-2.4.2-ac19.bz2 patch-2.4.2-ac11-fixed.bz2 patch-2.4.2-ac5.bz2 [zaitcev@mellorn ksrc]$ bzip2 -d < kernels/linux-2.4.2.tar.bz2 | tar xf - [zaitcev@mellorn ksrc]$ mv linux linux-2.4.2-ac19-eem12 [zaitcev@mellorn ksrc]$ bzip2 -d < kernels/patch-2.4.2-ac19.bz2 | patch -d linux-2.4.2-ac19-eem12 -p1 -s [zaitcev@mellorn ksrc]$ patch -d linux-2.4.2-ac19-eem12 -p1 < linux-2.4.2-ac12-p3-usb-sem.diff-31140 patching file drivers/usb/hub.c patching file drivers/usb/hub.h [zaitcev@mellorn ksrc]$
Ok, the patch does seem to fix the oops I was getting before. However, initscripts doesn't seem to be able to reload usb (no error, but kudzu picks up a phantom PS/2 mouse, and X starts and locks the system... it might as well have been an oops! :) Separate bug report already filed for phantom PS/2 detection.) Log: ... Mar 14 20:48:23 eem12 hotplug: pci stop -- ignored Mar 14 20:48:24 eem12 /etc/hotplug/usb.agent: USB remove event not supported Mar 14 20:48:24 eem12 /etc/hotplug/usb.agent: USB remove event not supported Mar 14 20:48:24 eem12 rc: Stopping hotplug: succeeded Mar 14 20:48:24 eem12 init: Going single user Mar 14 20:48:46 eem12 hotplug: ** can't synthesize pci hotplug events Mar 14 20:48:46 eem12 hotplug: ** can't synthesize root hub events Mar 14 20:48:46 eem12 rc: Starting hotplug: succeeded Mar 14 20:48:47 eem12 kudzu: Updating /etc/fstab succeeded Mar 14 20:48:49 eem12 /etc/hotplug/usb.agent: ... no drivers for USB product 0/0/0 Mar 14 20:48:49 eem12 /etc/hotplug/usb.agent: USB remove event not supported Mar 14 20:49:06 eem12 kudzu: unlinked /dev/mouse (was linked to /dev/input/mice) Mar 14 20:49:07 eem12 kudzu: linked /dev/mouse to /dev/psaux Mar 14 20:49:17 eem12 kudzu: ran mouseconfig for psaux Mar 14 20:49:17 eem12 kudzu: succeeded [lockup] ...
(This is probably an initscripts issue.)
Fix will be in the next build; please reopen this bug if kernels 0.1.36 or later (once they become available in Rawhide) do not fix this problem for you.
This appears to be fixed in 0.1.49.