Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158861 - >=sys-fs/udev-103 causes console corruptions and boot failure
Summary: >=sys-fs/udev-103 causes console corruptions and boot failure
Status: RESOLVED NEEDINFO
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:
: 158862 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-22 14:12 UTC by Lincoln A Baxter
Modified: 2007-05-10 12:22 UTC (History)
2 users (show)

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


Attachments
emerge --info output (emerge-info.out,3.53 KB, text/plain)
2006-12-22 14:17 UTC, Lincoln A Baxter
Details
dmesg output (describes hardware) (after down grading to udev-087 (dmesg.out,14.68 KB, text/plain)
2006-12-22 14:22 UTC, Lincoln A Baxter
Details
kernel configuration (kernel.config,39.71 KB, text/plain)
2006-12-22 14:24 UTC, Lincoln A Baxter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lincoln A Baxter 2006-12-22 14:12:39 UTC
Summary:

I am running with a Matrox mga450 dual headed monitor card with two monitors.
(I normally run with Xinerama)

A recent emerge --deep --update installed sys-fs/udev-103. 
On reboot, when udev starts, things go horribly south.

The system says it is starting udev, and just after the message "letting udev process events" (or something similar to that), 

   * the console goes blank, 
   * then displays a random colored pattern, and 
   * and in some case the boot freezes.  
   * In other cases, the pattern changes to a second pattern one or two seconds later, and
   * the boot continues, but the console displays nothing more, and is useless.  

Since this is workstation the system is rendered useless.

This was discussed and a work-around provided (mask >=sys-fs/udev-087-r1 in /etc/portage/package.mask) in the following thread on gentoo-forums:

http://forums.gentoo.org/viewtopic-p-3799419.html

I am willing will to test a fixed version of this package.  But, I would appreciate a description what was determined to be wrong, and the fix, before I do.

I would NOT update the live CD or the stage3 tar ball with this version of udev, or there will be problems for folks doing installations. (there already are, if they follow the instructions installation instructions doing:

   emerge --sync && emerge --update

At least, with the current stage3 tar ball, the system will boot.

Output of emerge --info, dmesg, and kernel config will be attached.
Comment 1 Lincoln A Baxter 2006-12-22 14:17:09 UTC
Created attachment 104605 [details]
emerge --info output
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-22 14:18:48 UTC
*** Bug 158862 has been marked as a duplicate of this bug. ***
Comment 3 Lincoln A Baxter 2006-12-22 14:22:27 UTC
Created attachment 104606 [details]
dmesg output (describes hardware) (after down grading to udev-087
Comment 4 Lincoln A Baxter 2006-12-22 14:24:05 UTC
Created attachment 104607 [details]
kernel configuration
Comment 5 Matthias Schwarzott gentoo-dev 2007-01-14 16:37:56 UTC
I think your only problem is having the matrox-framebuffer-module in your kernel-config and not loading it.

Newer udev-versions with enabled coldplug (/etc/conf.d/rc:RC_COLDPLUG=yes) try to load that module and *bang*.
Just delete that module or blacklist it, or disable COLDPLUG.

Then please add a comment on this bug.
Comment 6 Matthias Schwarzott gentoo-dev 2007-01-17 12:10:29 UTC
This bug could be related:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=195761#c9
Comment 7 Matthias Schwarzott gentoo-dev 2007-01-30 09:50:56 UTC
I think this bug is rather a kernel, and no udev issue.

Reading the Redhat-Bug, this adding this to a file in /etc/modules.d/... could solve it:
install matrox_w1 /bin/true

Please comment if this works.
Comment 8 Rick Jenkins 2007-02-06 18:58:16 UTC
I had this exact problem on a machine with a Matrox G450 card running a single monitor. The solution by  Matthias Schwarzott  in comment #5 works for me. Fortunately, although the screen was completely scrambled, the boot completed, so I was able to ssh in to the system to change /etc/conf.d/rc, then reboot with the screen intact.

Of course, one finds this bug when rebooting, in this case after updating both udev to udev-103 and the kernel to vanilla-sources 2.6.17.13. Not too helpful in finding the source of the bug - sorry.
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2007-04-25 15:25:04 UTC
After applying the above workaround, does running "modprobe --ignore-install matrox_w1" cause the bug to appear during standard system operation?
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2007-05-10 12:22:57 UTC
This bug report indicates that there is a bug in matroxfb which causes the problems you have seen here. You didn't notice this before, because the driver wasn't loaded before, but newer udev loads it automatically.

While there are workarounds above to prevent udev from loading the driver which avoid this problem, if you're interested in solving the actual matroxfb bug then please reopen this with the information requested in comment #9