From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 Description of problem: Patch for don't load USB modules when "nomodules" exist in cmdline Version-Release number of selected component (if applicable): initscripts-7.42.2-1 How reproducible: Always Steps to Reproduce: 1.Append "nomodules" in grub.conf 2.Boot 3.When rc.sysinit start and try load usb modules error occurs. Actual Results: Error Expected Results: Check if exist "nomodules" in cmdline Additional info: Patch to correct this: -- --- rc.sysinit.old 2004-01-11 21:09:37.867432896 -0200 +++ rc.sysinit 2004-01-11 21:09:23.866561352 -0200 @@ -179,7 +179,7 @@ # Initialize USB controller and HID devices update_boot_stage RCusb usb=0 -if ! strstr "$cmdline" nousb; then +if ! strstr "$cmdline" nousb && ! strstr "$cmdline" nomodules; then if ! LC_ALL=C fgrep -q "usb" /proc/devices 2>/dev/null ; then aliases=`/sbin/modprobe -c | awk '/^alias usb-controller/ { print $3 }'` if [ -n "$aliases" -a "$aliases" != "off" ]; then --
Added in 7.47-1.