Bug?! when logging partition scan (Was: Re: Logging More Messages?)

Michael Weller (eowmob@exp-math.uni-essen.de)
Thu, 9 May 1996 11:10:10 +0200 (MSZ)

BTW, I found some annoying misbehaviour of the logging system and klogd.

When the kernel does a partition scan at run time (for example, after using
fdisk or with a removable fixed disk), klogd and/or /proc/kmsg is heavily

It repeats all messages in the in kernel buffer again. I *assume*
that this is somehow related to the partition msgs not being printed in
one printk but a bunch of them.

This is very inconvenient, esp. as I frequently use a MOD and as I now run
a new ELF setup (oh geez.. to install an ELF system is really a pain) on a
slower secondary disk in parallel to my still working a.out setup.

As syslogd seems to fsync his logfiles often the disk where the log files
live goes actually havoc when a disk change on the MOD is detected. Spewing
out the logs needs now a few seconds whereas the actual mount operation is
more or less instantious.

This is a long existing problem (still in 1.3.83). I wonder if anyone
except me ever noticed it?


(eowmob@exp-math.uni-essen.de or eowmob@pollux.exp-math.uni-essen.de
Please do not use my vm or de0hrz1a accounts anymore. In case of real
problems reaching me try mat42b@aixrs1.hrz.uni-essen.de instead.)