Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62195 - Livecd: Ignoring boot parameters
Summary: Livecd: Ignoring boot parameters
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 01:31 UTC by Jirka
Modified: 2004-10-16 00:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
modules_load patch (modules_load.patch,408 bytes, patch)
2004-10-14 05:43 UTC, Chris Gianelloni (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.