Bug 213045

Summary: X loops after firstboot -- Lost VT_WAITACTIVE race, retrying
Product: [Fedora] Fedora Reporter: Gene Czarcinski <gczarcinski>
Component: firstbootAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: desktop-bugs, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-30 21:40:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
X log file from VMWare guest
none
X log file from i386 install on Opteron none

Description Gene Czarcinski 2006-10-30 17:45:46 UTC
Description of problem:

This is probably not really firstboot but after firstboot execution is the only
time it occurs.

This problem has happened on a number of systems (all with ATI video cards) as
well as when running as a VMWare guest.

What happens is that (gdm?) X startup is in a loop which requires a hardware
reset and reboot to get out of.  This ONLY occurs if "rhgb" is NOT run.

That is, after installation, if the bootup runs rhgb and then firstboot, gdm
comes up as expected.

However, if the grub bootup is modified to NOT run rhgb, the after firstboot
finishes, gdm gets in a loop.  The text in a typical logfile is:

(++) using VT number 7

(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying
(WW) Lost VT_WAITACTIVE race, retrying

Attached is a logfile from a vmware guest (x86_64) and a real hardware Opteron
system (i386).

Comment 1 Gene Czarcinski 2006-10-30 17:45:46 UTC
Created attachment 139733 [details]
X log file from VMWare guest

Comment 2 Gene Czarcinski 2006-10-30 17:46:50 UTC
Created attachment 139734 [details]
X log file from i386 install on Opteron

Comment 3 Gene Czarcinski 2006-10-30 17:48:30 UTC
BTW, when the X loop occurs, everything works fine after a reboot.

Comment 4 Andre Robatino 2006-10-30 18:03:41 UTC
  Is this the one where you get a black screen and a cursor that alternates
between visible and invisible with a period of a few seconds?  I've had that
happen on a clean install on two machines under the same conditions (rhgb
removed from grub.conf).

Comment 5 Gene Czarcinski 2006-10-30 18:12:40 UTC
yes ... but only after firstboot.  Thereafter, rhgb or no rhgb everything works
fine.

Comment 7 Chris Lumens 2006-12-13 22:01:12 UTC
Yeah, process management in firstboot was pretty crappy.  I've made some
modifications to rawhide and will rebuild the package in the next couple days. 
Please test with the next build and let me know if this is working better for you.