Xorg crashes on start (Etch/Amd-64/Nvidia 8600)
Oh ye Gurus,
I am not totally inexperienced with administering Debian systems, but this here has me baffled.
Summary:
When I start Xorg, my monitor goes blank and displays "invalid sync". When I kill X, the monitor stays blank until I reboot! (Etch/Amd-64/Nvidia 8600 with "vesa" driver) When I try with the nvidia driver (installed the Debian Way), I get a kernel panic instead.
History:
I have had this HP workstation for something like a year now, maybe a bit more. It used to run in 32-bit mode, first Sarge, and then Etch. Kde, some development tools, a bit of games. News, mail, and web. A week ago I had a phone technician here to fix my internet connection, and he came to power the machine down pretty hard (yanked the cord). It came up all right with no errors, but after that, when ever a program tried to use GLX things, my X would go down with a segfault. Then, in a moment of distraction, I decided to reinstall the nvidia drivers the Nvidia way, instead of the Debian way. After that, I could not get those drivers to work at all. I got X up with the "vesa" driver, and that is what I am using now to post this.
I decided that this was the right moment to reinstall the machine, and go for the full 64-bit stuff, now that Etch supports it nicely. Luckily I could arrange my partitions so that I could install the new system on another partition, and dual-boot into which ever I wanted. Unfortunately I can not get Xorg to start up, it messes up my display and the only way to get back to a text console is to reboot. I believe Xinit has returned, and the console is OK, since I can type commands (beep), but I can not see anything.
Situation now:
I have
- AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
- Fairly minimal Debian/Etch installed from a hard-disk boot, and netinst image
- Nvidia 8600 GTS card
- crash
I have tried to use different drivers for Xorg:
- vga: works, in low resolution, low colors, etc. Proves that something is functioning
- dummy: works. Like vga, it can exit back to the console when done
- vesa: hangs as described above
- nv: Does not recognize my card
- nvidia (installed with the Debian Way, with module-assistent). Crashes with a kernel panic
I have also tried kernel options pci=nommconf, idle=poll, maxcpus=1, in various combinations, but no luck.
Since the Xorg log is so large, I have not attached it here, but placed it on my web server. You can see it at http://www.lsd.dk/xorg.crash.log. There are some anomalies in the log:
(II) OS-reported resource ranges:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(EE) end of block range 0x1fffffff < begin 0xe0000000
(..snip..)
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xfdbf0000 - 0xfdbfffff (0x10000) MX[B]
[5] -1 0 0xfe02a000 - 0xfe02a0ff (0x100) MX[B]
[6] -1 0 0xfe02b000 - 0xfe02b3ff (0x400) MX[B]
[7] -1 0 0xfe02c000 - 0xfe02cfff (0x1000) MX[B]
[8] -1 0 0xfe02d000 - 0xfe02dfff (0x1000) MX[B]
[9] -1 0 0xfe02e000 - 0xfe02efff (0x1000) MX[B]
[10] -1 0 0xfe02f000 - 0xfe02f1ff (0x200) MX[B]
[11] -1 0 0xf8000000 - 0xf9ffffff (0x2000000) MX[B](B)
[12] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
[13] -1 0 0xfa000000 - 0xfaffffff (0x1000000) MX[B](B)
[14] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[15] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[16] -1 0 0x0000e400 - 0x0000e40f (0x10) IX[B]
[17] -1 0 0x00000500 - 0x0000050f (0x10) IX[B]
[18] -1 0 0x0000ec00 - 0x0000ec0f (0x10) IX[B]
[19] -1 0 0x0000f000 - 0x0000f003 (0x4) IX[B]
[20] -1 0 0x0000f400 - 0x0000f407 (0x8) IX[B]
[21] -1 0 0x0000f800 - 0x0000f803 (0x4) IX[B]
[22] -1 0 0x0000fc00 - 0x0000fc07 (0x8) IX[B]
[23] -1 0 0x0000cc00 - 0x0000cc7f (0x80) IX[B](B)
(EE) end of block range 0x1fffffff < begin 0xe0000000
(..snip..)
(EE) AIGLX: Screen 0 is not DRI capable
Those EE lines are not present when I boot to 32-bit etch and start Xorg up with the vesa driver.
http://www.lsd.dk/xorg.ok.log - feel free to ignore the cruft from the failed nvidia installation.
lspci lists (in the 32-bit mode):
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port
00:05.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:12.0 IDE interface: ATI Technologies Inc 4379 Serial ATA Controller
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 11)
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 02)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600 GT (rev a1)
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 20)
I have considered the possibility of a hardware malfunction, but find it hard to believe. There was (of course) nothing visibly wrong with the nvidia card nor the motherboard when I looked inside. I have had a friend try my card out in a windows box, and it functions fine.
I am also wondering if booting from the 32-bit Grub into the new partition can manage to screw up something. The new installation built its own grub on the new partition, but it is the old one that comes up when I boot. I have added the new kernel there with pointers to the proper disks. Should I do this part differently?
I am trying to avoid complications by getting xorg to work with the "vesa" driver, before I dive into the installation of Nvidias closed-source drivers. (have since tried them too, and they just crash)
I have probably left out some crucial piece of information. Just tell me what it is, and I try to provide it.
I would be grateful for any hints, pointers, or ideas on how to get this mess fixed. Also, if anyone has a 8600GTS card functioning with an AMD-64 machine, I'd like to hear.
Best regards
Heikki Levanto