[Linux From Scratch] #1714: LFS-6.1.1: USB segfaults on "legacy" system

Linux From Scratch trac at linuxfromscratch.org
Mon Feb 20 15:00:54 PST 2006


#1714: LFS-6.1.1: USB segfaults on "legacy" system
----------------------------------+-----------------------------------------
 Reporter:  paul.rogers at juno.com  |       Owner:  lfs-book at linuxfromscratch.org
     Type:  defect                |      Status:  new                          
 Priority:  normal                |   Milestone:                               
Component:  Book                  |     Version:  6.1.1                        
 Severity:  normal                |    Keywords:  USB segfault                 
----------------------------------+-----------------------------------------
 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.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1714>
Linux From Scratch <http://wiki.linuxfromscratch.org/lfs/>
Your Distro, Your Rules.


More information about the lfs-book mailing list