FS#10587 - Xorg-Server Refuses to Launch on Cold Boots

Attached to Project: Arch Linux
Opened by Vedant Kumar (vsk) - Wednesday, 04 June 2008, 16:58 GMT
Last edited by Jan de Groot (JGC) - Sunday, 12 October 2008, 20:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Alexander Baldeck (kth5)
Architecture i686
Severity High
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: Xorg-Server Refuses to Launch on Cold Boots, or randomly crashes when Idle.

Affected:
* HP Pavillion a610y (~ 2 years old)
* 00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
* 2.6.25-ARCH #1 SMP PREEMPT i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GenuineIntel GNU/Linux

Expanded Description:
Whenever I boot my computer, I get to the stage where X should launch, but I get a blank screen.
None of the consoles (ctl+alt+N) work, and the computer must be manually rebooted by pressing the power button.

Strangely enough, on the manual reboot, X launches and works perfectly fine!

I can reproduce this problem on every cold boot since I've used Arch Linux. I could not reproduce this on other distributions, so this leads me to believe that this may not be an Xorg bug.

Additional info:
:: Relevant Packages -
* extra/xorg-server 1.4.0.90-13
* extra/xf86-video-intel 2.3.1-1
:: Errors (I just cat logfile | grep error or grep fail, and this is what I got):
[/var/log/Xorg.0.log.old]
Error in I830WaitLpRing(), timeout for 2 seconds
Fatal server error:
lockup
(II) AIGLX: Suspending AIGLX clients for VT switch
---------------------------------------------------------------------------
[/var/log/Xorg.0.log]
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
---------------------------------------------------------------------------

I have been told that the xf86-video-i810 and vesa packages are deprecated, and that the xf86-video-intel package is preferred.

This X crashing is problematic... Booting twice seems like a relatively speedy process compared to the time it took Ubuntu to load, so I still consider myself lucky!

Thanks for the help!
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 12 October 2008, 20:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  Assuming fixed as stated by the last comment.
Comment by Vedant Kumar (vsk) - Wednesday, 04 June 2008, 17:06 GMT
http://bugs.archlinux.org/task/10430?project=1
It seems that the x86_64 architecture is having this problem as well.

Let me add that I've tried compiling my own xf86-video-intel driver, but that it crashed every 10 seconds or so.. I had to go into ArchLive, chroot in, and reinstall the xf86-video-intel from /extra.

Oh, and here's the xorg.conf!
Comment by Vedant Kumar (vsk) - Wednesday, 04 June 2008, 17:14 GMT
Oh, and I do not use GDM. Here is my /etc/inittab:

c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linuxid:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
x:5:once:/bin/su q -l -c "/bin/bash --login -c startx >/dev/null 2>&1"
Comment by Vedant Kumar (vsk) - Friday, 06 June 2008, 20:41 GMT
Hello,
I think I have a fix!

Just uninstall acpi and acpid and confirm that you are using the latest kernel and intel drivers.
Also, it is best to modify your /etc/inittab so that you ALWAYS boot to console, even if you have [x,g,k]dm (id:3:initdefault:) and uncomment just one of the login manager lines. This is to avoid an annoying error regarding multiple instances of X and an unusable display.

I removed the autologin line from my inittab too, but I can't be sure if that helped.

Note; after uninstalling acpi and acpid if your computer wont shut down cleanly, add apm=power-off to your kernel in /boot/grub/menu.lst
e.g:

title Arch Linux
root (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/2ad92bb2-bdc9-4bc0-9d30-240beb84f3a4 apm=power-off ro quiet
initrd /kernel26.img
Comment by Glenn Matthys (RedShift) - Friday, 18 July 2008, 15:30 GMT
Has this problem been fixed by disabling ACPI? Can we get feedback from the original reporter?
Comment by Vedant Kumar (vsk) - Wednesday, 08 October 2008, 00:39 GMT
It seems so (for me at least).
I can't confirm for the 64bit guys.
Comment by Vedant Kumar (vsk) - Wednesday, 08 October 2008, 00:40 GMT
I haven't had this problem for months..

Loading...