LFS-6.1.1: USB segfaults on "legacy" system
|Reported by:||Paul Rogers||Owned by:||Matthew Burgess|
This is a Socket-7 Pentium system with an unused header block for USB, support disabled in the BIOS. Building module-inits-3.1 with book instructions (--prefix="") put programs in /usr/local/..., --prefix=/ got them into /sbin, et al. Booting produces the following errors: ./hotplug.functions: line 127: 1565 Segmentation fault $MODPROBE -n $MODULE >.dev.null 2>&1 /etc/hotplug/usb.rc: line 122: "X" Segmentation fault modprobe -q "Y" >dev/null 2>&1
X Y 1569 usbcore 1570 ehci-hcd 1571 ohci-hcd 1572 uhci-hcd 1573 usb-ohci 1574 uhci 1575 usb-uhci
Kernel is built with USB=off.
It looks like init.d/hotplug looks for /etc/hotplug/usb.rc and then runs it with "maybe-start" which tries to modprobe usbcore assuming it's there. Is that right? But shouldn't it check for USB presence/support first? Did somebody forget "legacy" systems don't necessarily have/need USB? /proc/bus/usb doesn't exist here--well, the BIOS has some support and the ports exist, I suppose.