Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65164 - Metalog with active console log on udev system leads to oopses
Summary: Metalog with active console log on udev system leads to oopses
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
: 68869 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-23 22:11 UTC by Miroslaw Mieszczak
Modified: 2004-11-10 11:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg output (kout.log,15.54 KB, text/plain)
2004-11-03 05:35 UTC, Georg Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslaw Mieszczak 2004-09-23 22:11:55 UTC
When using metalog with active function of console log,
then after a time it leads to system unstability, and thousands of ooopses in loop (null pointer).
Especially if activated udev_log in /etc/udev/udev.conf.
System create device node for the log console, and then delete it, and so on.

Reproducible: Sometimes
Steps to Reproduce:
1. activate console log
2. activate udev_log (not necessary but lead to faster oops)
3. wait, observe console, or console log

Actual Results:  
after a time a lot of oopses.
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-10-06 16:19:36 UTC
What is dying here, udev, or metalog?
Comment 2 Miroslaw Mieszczak 2004-10-06 23:12:53 UTC
It seems that kernel.
When you switch on console log, then udev create an device node for the console when each message come, and then delete it.
If you switch on udev_log, then there also created messages informing that device node for the console log is created and deleted (in practice never ending loop).

It seems that if on this time happen something wrong with sys subsystem then device node for console log cannot be created/deleted and it lead to oopses.
In such case not any operation can be performed (only switch off power supply).

I think that as solution the console for log should be opened once on start of metalog, and closed on shut down of metalog, and not for each particular message.
Comment 3 Georg Müller 2004-11-03 05:35:58 UTC
Created attachment 43216 [details]
dmesg output

Ok, I don't have udev_log activated, but I have the same problems.
I have dumped the output and here is a part of it
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-11-03 05:50:25 UTC
*** Bug 68869 has been marked as a duplicate of this bug. ***
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2004-11-03 05:51:29 UTC
Reassigning to kernel.
Greg, do these oops's make any sense to you?

To anyone with this problem: Does development-sources-2.6.10-rc1 resolve the issue? What happens if you take metalog out of your runlevels?
Comment 6 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-11-03 16:33:24 UTC
No, these oopses don't make sense to me.

Try filing a bug at bugzilla.kernel.org for this.
Comment 7 Miroslaw Mieszczak 2004-11-04 08:38:18 UTC
Anyway, in my opinion to display each particular message system shouldn't create device node for that message, and delete it after message is displayed.
The device node should be created once.
Comment 8 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-11-10 11:14:11 UTC
That's an issue with metalog, not the kernel.