Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#6225 - initscripts: boots in debug mode with fbsplash

Attached to Project: Arch Linux
Opened by Denis Martinez (denis) - Tuesday, 16 January 2007, 20:10 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 20 January 2007, 17:48 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I have fbsplash enabled in verbose mode with a custom kernel (2.6.19).
The problem with it is that the kernel is a lot more verbose that it should be.

My /proc/cmdline is:
kernel /boot/vmlinuz26dx root=/dev/sda8 ro vga=792 splash=verbose,theme:darch console=tty1 resume2=file:/dev/sda8:0x11c728

The beginning of /etc/rc.sysinit

# anything more serious than KERN_WARNING goes to the console
# 'verbose' cmdline parameter enables more messages
if grep -qw verbose /proc/cmdline; then
/bin/dmesg -n 8
else
/bin/dmesg -n 3
fi


The code reads 'verbose' as a whole word in 'splash=verbose' and causes the debug level to be set to level 8.
Maybe that 'grep' command should be "grep -qE ' verbose( |$)'"
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 22 January 2007, 21:54 GMT
Reason for closing:  Fixed
Comment by James Rayner (iphitus) - Wednesday, 17 January 2007, 08:18 GMT
bug in the initscripts, miscorrectly interpreting the verbose.

Assigning to tpowa.
Comment by Tobias Powalowski (tpowa) - Saturday, 20 January 2007, 17:48 GMT
assigned to thomas he added the verbose option
Comment by James Rosten (yankees26) - Sunday, 21 January 2007, 16:33 GMT
All you have to do is make is change it to:

if grep -qw " verbose " /proc/cmdline; then
/bin/dmesg -n 8
else
/bin/dmesg -n 3
fi

It works on my system.
Comment by Tobias Powalowski (tpowa) - Monday, 22 January 2007, 21:53 GMT
fixed on cvs, next initscripts will be fixed

Loading...