Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 62195

Summary: Livecd: Ignoring boot parameters
Product: Gentoo Release Media Reporter: Jirka <jiri.janda>
Component: EverythingAssignee: Gentoo LiveCD Package Maintainers <livecd>
Status: RESOLVED FIXED    
Severity: critical CC: genkernel, zhen
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: modules_load patch

Description Jirka 2004-08-30 01:31:23 UTC
I try to boot Gentoo 2004.2 Universal LiveCD without USB modules. Even if I enter boot parameter NOUSB, USB modules are loaded.

Reproducible: Always
Steps to Reproduce:
1. Boot Gentoo 2004.2 Universal LiveCD
2. Enter these boot parameters: gentoo nousb nodetect nohotplug
3. Watch interactive boot screen(F2), to see that USB modules are still loaded (EHCI-HCD, USBCORE, USB-STORAGE).
Actual Results:  
Gentoo ignore my boot parametrs -> My machine totally hangs. With older versions
of Gentoo LiveCDs works boot parameters just fine.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-30 04:18:00 UTC
I'll look into it.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-09 16:46:40 UTC
Tim: does genkernel do the USB loading?  It appears that it is loading USB modules even when nousb is being passed.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2004-10-10 01:19:59 UTC
Chris, does the bootloader pass any arguments to genkernel? It must pass some, I'm wondering what they would be - and would they be appended or prepended onto user-supplied commands?
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-10 13:15:21 UTC
John, do you know?
Comment 5 John Davis (zhen) (RETIRED) gentoo-dev 2004-10-10 18:46:28 UTC
yeah, these are the default options hardcoded into the isolinux config via catalyst:

append initrd=${x}.igz root=/dev/ram0 init=/linuxrc acpi=off ${cmdline_opts} ${custom_kopts} cdroot vga=791 splash=silent

$x is the kernel name, $cmdline opts has the possibility of being set to (nodevfs, udev), (noudev, devfs), and (looptype=zisofs/squashfs/etc loop=$appropriate_loop_location}, and vga=791/ splash=silent get dropped if the $kernel-nofb kernel is used.
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-11 04:08:34 UTC
Would it be too late to change acpi=off to acpi=ht (enable hyperthreading support only) by default?
Comment 7 John Davis (zhen) (RETIRED) gentoo-dev 2004-10-11 06:09:50 UTC
does acpi=ht leave the rest of the acpi stuff off? and how does this fix the usb problem?
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-11 14:56:20 UTC
Actually, has nothing to do with usb... and yeah, it enables only hyperthreading enumeration and nothing else...

Tim: any idea on the usb stuff yet?
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-13 18:39:20 UTC
Tim: I tested with your genkernel patch, and still usb (uhci and another) were attempted.  Also, the usb module names are different in 2.6 from 2.4, so we need to try both.  Right now we're only trying the 2.4 names.
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-13 18:44:41 UTC
Modules on my machine(s):

ohci_hcd
ehci_hcd
uhci_hcd
usbhid
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-14 05:43:35 UTC
Created attachment 41799 [details, diff]
modules_load patch

This patch lets genkernel load the 2.6 usb modules along with the 2.4 usb
modules, so it should work for either kernel set.
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-16 00:20:55 UTC
This should work on the next LiveCD (been tested by me) with the patch that plasmaroo provided to me to test.

REOPEN if there is still a problem.