Re: F12 -> F14 (via preupgrade), not so smooth



stan wrote:
On Sun, 14 Nov 2010 21:25:08 -0600
"Ryan O'Hara"<rohara@xxxxxxxxxx> wrote:

Those messages on the console (with the timestamp) are from
dmesg. These are visible on the console in F14 because rc.sysinit no
longer sets the dmesg logging level, thus all messages from dmesg end
up being written to the console. See dmesg(1) for more
information. If you have an older Fedora machine handy you can look at
rc.sysinit where you will find the following:

Fix console loglevel
if [ -# n "$LOGLEVEL" ]; then
/bin/dmesg -n $LOGLEVEL
fi

This is missing from F14.

I'm of the opinion that this should be fixed. Printing dmesg messages
to the console by default is too much.

I was able to get things back to normal by adding 'dmesg -n 3' to
rc.sysinit. If there is a better way, please let me know. Also, if
there is a compelling reason that this was removed from F14, I'd be
interested to know what that reason is.

Thank you for posting this.

I used the above with an else in case $LOGLEVEL wasn't defined. I
assume that is the reason it was dropped, but if it still exists, I'll
use it.

#Fix console loglevel
if [ -# n "$LOGLEVEL" ]; then
/bin/dmesg -n $LOGLEVEL
else
/bin/dmesg -n 3
fi

/bin/dmesg -n ${LOGLEVEL:-3}

--
Bill Davidsen <davidsen@xxxxxxx>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: F12 -> F14 (via preupgrade), not so smooth
    ... These are visible on the console in F14 because rc.sysinit no ... longer sets the dmesg logging level, thus all messages from dmesg end ... This is missing from F14. ...
    (Fedora)
  • Re: F12 -> F14 (via preupgrade), not so smooth
    ... These are visible on the console in F14 because rc.sysinit no ... longer sets the dmesg logging level, thus all messages from dmesg end ... Fix console loglevel ... This is missing from F14. ...
    (Fedora)
  • Problem after removing old kernel packages
    ... modules, network card etc, except a few of them, like ext3, ext2, ... but mount /dev/fd0 complains that /dev/fd0 isn't a block ... So I have no way of attaching a dmesg to this message, ... screen and console view a few times, then I'm able to log in normally ...
    (Debian-User)
  • Re: PowerPC install stuck at dmesg
    ... After deciding that the official OS was becoming too slow for this aging hardware, and Apple PowerBook G4 FW800, I decided to install debian and then a WM such as LXDE, to better use the hardware. ... Then I see the output of dmesg as the machine partially boots, it makes it up to locating/defining the vmalloc and ioremap memory addresses, but then it appears to halt. ... My assumption is that this is not a console, just a dmesg readout, but I cannot figure out what the keybinding is on the mac to get to any other consoles. ...
    (Debian-User)
  • Re: F12 -> F14 (via preupgrade), not so smooth
    ... These are visible on the console in F14 because rc.sysinit no ... longer sets the dmesg logging level, thus all messages from dmesg end ... This is missing from F14. ... interested to know what that reason is. ...
    (Fedora)