Bug 165633
Summary: | kernel ignores boot option quiet | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul Dickson <paul> | ||||
Component: | kernel | Assignee: | Dave Jones <davej> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | pfrields, wtogami | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-08-31 01:57:59 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Paul Dickson
2005-08-10 22:39:14 UTC
Could you also paste the output from `cat /proc/cmdline`? Thanks so much. $ cat /proc/cmdline ro root=LABEL=/ hda=none rhgb quiet Thanks. I looked through the code and it's basically a two liner in init/main.c quiet_kernel(). It hasn't changed recently. It just sets the first number in `cat /proc/sys/kernel/printk` to 4. What's the output from `cat /proc/sys/kernel/printk` on your system? Also could you post the attach your dmesg output? One possibility is that there is a driver doing printks at a WARN level. Created attachment 117692 [details]
Dmesg for kernel-2.6.12-1.1469_FC5
$ cat /proc/sys/kernel/printk
6 4 1 7
This seems to be a parsing problem of the kernel cmdline. The grub kernel line: kernel /vmlinuz-2.6.12-1.1469_FC5 ro root=LABEL=/ hda=none rhgb quiet results in the kernel cmdline: ro root=LABEL=/ hda=none rhgb quiet So I changed the args with this table of results: ro root=LABEL=/ hda=none rhgb quiet - lots of logging ro root=LABEL=/ hda=none rhgb quiet s - no logging, normal boot (!) ro root=LABEL=/ s hda=none rhgb quiet - lots of logging, single user ro root=LABEL=/ s hda=none rhgb quiet fooobar - no logging, single user ro root=LABEL=/ hda=none rhgb quiet fooobar - no logging, normal boot Now I need to go back to 1456 and test whether hda=none causes the same problem. Correction to the above: ro root=LABEL=/ hda=none rhgb quiet s This behaves as it should. So basicly, if the cmdline ends with "quiet", it gets ignored. I have not tried rotating the arguments to see what effect this has. It's a bit tedious rebooting over and over, especially if the system comes all the way up. 1456 does not have this problem. The problem is this patch linux-2.6-modules-ignore-whitespace.patch The old code executed the checked *args then got a new param. The new code gets a new param and then checks *args. I really should have read the comment that goes with that patch. Perhaps the correct thing is to modify next_arg() to chew any trailing white spaces. I'm not sure. The point is that next_arg() returns NULL for the last argument in the list unless there is trailing white space. this should be fixed now ? I haven't seen the problem in 1504, 1511, nor 1526. |