[Bug 340145] New: --cmdline should not override boot parameters
https://bugzilla.novell.com/show_bug.cgi?id=340145 Summary: --cmdline should not override boot parameters Product: openSUSE 11.0 Version: unspecified Platform: PowerPC OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: pczanik@genesi-usa.com QAContact: qa@suse.de CC: olh@novell.com Found By: --- Currently if one uses mkzimage to combine vmlinux and initrd on PPC, one can use --cmdline to add a default boot parameter to the resulting image. Right now, if this parameter is used, then any kernel parameters added at the Open Firmware prompt are discarded. One can edit parameters later during the boot process, but it is not really convenient. Please change --cmdline handling in a way, that any parameters added while still in firmware discard the built in values. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=340145#c1 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Olaf Hering <olh@novell.com> 2007-11-08 05:41:00 MST --- The whole purpose of --cmdline is to override whatever gets passed from firmware. Be it the manual added options to the 'boot' command, or the options from 'boot-file' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=340145#c2 --- Comment #2 from peter czanik <pczanik@genesi-usa.com> 2007-11-08 05:52:57 MST --- I consider it the other way around: in an average case the kernel uses default options added with --cmdline, so one does not need to add options on the firmware prompt. If anything needs to be modified, it is better to do it at the firmware prompt, than to boot, wait a bit, edit the parameters, than continue booting. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=340145#c3 Matt Sealey <matt@genesi-usa.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matt@genesi-usa.com --- Comment #3 from Matt Sealey <matt@genesi-usa.com> 2007-11-08 06:48:36 MST --- Yeah Olaf I disagree; discarding user input is a no-no. --cmdline specifies a default kernel boot argument, but it should not override further user instruction or force them to boot, then enter command line arguments. Why not have the OF command line override --cmdline, presenting the 5-second timeout with the new options, and printing above the ones supplied by --cmdline, for an output like; ok boot hd:0 kernel root=/dev/sda9 console=ttyPSC1 swapoff ip=192.168.9.1 [blah] Built-in Options: root=/dev/sda6 console=ttyPSC0 Edit Options: root=/dev/sda9 console=ttyPSC1 swapoff ip=192.168.9.1 This is far more user friendly than silently discarding and ignoring any user instruction from the firmware (or boot loader) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=340145 User matt@genesi-usa.com added comment https://bugzilla.novell.com/show_bug.cgi?id=340145#c4 Matt Sealey <matt@genesi-usa.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #4 from Matt Sealey <matt@genesi-usa.com> 2008-10-24 13:48:08 MDT --- Hi Olaf :) Pretty please reconsider this? :D -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=340145 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.provo.novell.com |olh@novell.com Status|REOPENED |NEW -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=340145 User olh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=340145#c5 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #5 from Olaf Hering <olh@novell.com> 2008-12-02 02:32:56 MST --- see my comment #1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com