Freebsd 8.1 + xorg + radeonhd hang

Eivind E eivinde at terraplane.org
Mon Sep 13 18:30:01 UTC 2010


Hello, I'm hoping somebody can shed some light on this.

One of my machines has a Radeon X1550 graphics card. When first
installed (then as either 7.1 or 7.1 prerelease), the radeonhd driver
hung the machine hard, screen went blank, numlock and capslock
didn't work, no network (so no ssh) and I couldn't do much but
hard reset the machine. I had to use vesa for a while, then, after
upgrading, the radeonhd driver worked up until fairly recent upgrades.
Sadly I didn't try the driver very often so I don't know if upgrading
src or xorg+drivers helped the problem.

The machine is now running FreeBSD 8.1, but after rebuilding all
packages via ports, the problem with the radeonhd driver is back,
showing exactly the same behaviour as before.

This time, also the vesa driver gives problems, it seemingly works
good, until it messes up colours, usually after using mplayer.

Any pointers as to how to solve this? Details below.


I'm running FreeBSD 8.1 :

FreeBSD elg.hjerdalen.lan 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Sep 13 17:48:23
CEST 2010     root at elg.hjerdalen.lan:/usr/obj/usr/src/sys/GENERIC  amd64

Graphics card :

vgapci0 at pci0:3:0:0:     class=0x030000 card=0x204e17af chip=0x71431002 rev=0x00$
     vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
     device     = 'ATI RADEON X1550 Series (RV515)'
     class      = display
     subclass   = VGA
vgapci1 at pci0:3:0:1:     class=0x038000 card=0x204f17af chip=0x71631002 rev=0x00$
     vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
     device     = 'ATI RADEON X1550 Series Secondary (RV515)'
     class      = display

Dmesg :

Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-STABLE #0: Mon Sep 13 17:48:23 CEST 2010
     root at elg.hjerdalen.lan:/usr/obj/usr/src/sys/GENERIC amd64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     E6850  @ 3.00GHz (3005.68-MHz K8-class CPU)
   Origin = "GenuineIntel"  Id = 0x6fb  Family = 6  Model = f  Stepping = 11
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
   AMD Features=0x20000800<SYSCALL,LM>
   AMD Features2=0x1<LAHF>
   TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 4106117120 (3915 MB)
ACPI APIC Table: <090407 APIC1631>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <090407 RSDT1631> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, cff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
ACPI Warning: Incorrect checksum in table [OEMB] - 0x84, should be 0x7B (20100331/tbutils-354)
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
uhci0: <Intel 82801I (ICH9) USB controller> port 0xac00-0xac1f irq 16 at device 26.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x2f00
usbus0: <Intel 82801I (ICH9) USB controller> on uhci0
uhci1: <Intel 82801I (ICH9) USB controller> port 0xa880-0xa89f irq 21 at device 26.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x2f00
usbus1: <Intel 82801I (ICH9) USB controller> on uhci1
ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xfe7ffc00-0xfe7fffff irq 18 at device 26.7 on pci0
ehci0: [ITHREAD]
usbus2: EHCI version 1.0
usbus2: <Intel 82801I (ICH9) USB 2.0 controller> on ehci0
hdac0: <Intel 82801I High Definition Audio Controller> mem 0xfe7f8000-0xfe7fbfff irq 22 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci3: <ACPI PCI bus> on pcib3
vgapci0: <VGA-compatible display> port 0xb000-0xb0ff mem 0xd0000000-0xdfffffff,0xfe8f0000-0xfe8fffff irq 18 at device 0.0 on pci3
vgapci1: <VGA-compatible display> mem 0xfe8e0000-0xfe8effff at device 0.1 on pci3
pcib4: <ACPI PCI-PCI bridge> irq 17 at device 28.4 on pci0
pci4: <ACPI PCI bus> on pcib4
atapci0: <Marvell 88SX6121 UDMA133 controller> port 0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc807,0xc480-0xc483,0xc400-0xc40f mem 0xfe9ffc00-0xfe9fffff irq 16 at device 0.0 on pci4
atapci0: [ITHREAD]
atapci1: <AHCI SATA controller> on atapci0
atapci1: [ITHREAD]
atapci1: AHCI v1.00 controller with 3 3Gbps ports, PM supported
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
ata4: <ATA channel 0> on atapci0
ata4: [ITHREAD]
pcib5: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0
pci5: <ACPI PCI bus> on pcib5
re0: <RealTek 8168/8111 B/C/CP/D/DP/E PCIe Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff irq 17 at device 0.0 on pci5
re0: Using 1 MSI messages
re0: Chip rev. 0x38000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:19:db:f3:30:3c
re0: [FILTER]
uhci2: <Intel 82801I (ICH9) USB controller> port 0xa800-0xa81f irq 23 at device 29.0 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x2f00
usbus3: <Intel 82801I (ICH9) USB controller> on uhci2
uhci3: <Intel 82801I (ICH9) USB controller> port 0xa480-0xa49f irq 19 at device 29.1 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x2f00
usbus4: <Intel 82801I (ICH9) USB controller> on uhci3
uhci4: <Intel 82801I (ICH9) USB controller> port 0xa400-0xa41f irq 18 at device 29.2 on pci0
uhci4: [ITHREAD]
uhci4: LegSup = 0x2f00
usbus5: <Intel 82801I (ICH9) USB controller> on uhci4
uhci5: <Intel 82801I (ICH9) USB controller> port 0xa080-0xa09f irq 16 at device 29.3 on pci0
uhci5: [ITHREAD]
uhci5: LegSup = 0x2f00
usbus6: <Intel 82801I (ICH9) USB controller> on uhci5
ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xfe7ff800-0xfe7ffbff irq 23 at device 29.7 on pci0
ehci1: [ITHREAD]
usbus7: EHCI version 1.0
usbus7: <Intel 82801I (ICH9) USB 2.0 controller> on ehci1
pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci6: <ACPI PCI bus> on pcib6
pci6: <simple comms> at device 0.0 (no driver attached)
fwohci0: <VIA Fire II (VT6306)> port 0xe000-0xe07f mem 0xfebff800-0xfebfffff irq 18 at device 2.0 on pci6
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:10:dc:00:01:28:aa:5b
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x154c000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:10:dc:28:aa:5b
fwe0: Ethernet address: 02:10:dc:28:aa:5b
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:10:dc:00:01:28:aa:5b @ 0xfffe00000000, S400, maxrec 2048
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci2: <Intel ICH9 SATA300 controller> port 0xa000-0xa007,0x9c00-0x9c03,0x9880-0x9887,0x9800-0x9803,0x9480-0x949f mem 0xfe7ff000-0xfe7ff7ff irq 19 at device 31.2 on pci0
atapci2: [ITHREAD]
atapci2: AHCI called from vendor specific driver
atapci2: AHCI v1.20 controller with 6 3Gbps ports, PM not supported
ata5: <ATA channel 0> on atapci2
ata5: [ITHREAD]
ata6: <ATA channel 1> on atapci2
ata6: [ITHREAD]
ata7: <ATA channel 2> on atapci2
ata7: [ITHREAD]
ata8: <ATA channel 3> on atapci2
ata8: [ITHREAD]
ata9: <ATA channel 4> on atapci2
ata9: [ITHREAD]
ata10: <ATA channel 5> on atapci2
ata10: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model MouseMan+, device ID 0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcf7ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: cannot reserve I/O port range
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me) 
firewire0: bus manager 0 
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0
usbus7: 480Mbps High Speed USB v2.0
ad10: 476940MB <Seagate ST3500418AS CC35> at ata5-master UDMA100 SATA 3Gb/s
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
ugen7.1: <Intel> at usbus7
uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
acd0: DVDR <TSSTcorp CDDVDW SH-S203D/SB00> at ata10-master UDMA100 SATA 1.5Gb/s
hdac0: HDA Codec #0: Realtek ALC888
pcm0: <HDA Realtek ALC888 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Realtek ALC888 PCM #1 Analog> at cad 0 nid 1 on hdac0
pcm2: <HDA Realtek ALC888 PCM #2 Digital> at cad 0 nid 1 on hdac0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
uhub2: 4 ports with 4 removable, self powered
uhub7: 8 ports with 8 removable, self powered
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
(probe0:ata10:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe0:ata10:0:0:0): CAM status: SCSI Status Error
(probe0:ata10:0:0:0): SCSI status: Check Condition
(probe0:ata10:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
cd0 at ata10 bus 0 scbus1 target 0 lun 0SMP: AP CPU #1 Launched!
cd0: 
<TSSTcorp CDDVDW SH-S203D SB00> Removable CD-ROM SCSI-0 device 
cd0: 100.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
Trying to mount root from ufs:/dev/ufs/rot

xorg.conf

Section "ServerLayout"
 	Identifier     "Layout0"
 	Screen      0  "Screen0" 0 0
 	InputDevice    "Tastatur" "CoreKeyboard"
 	InputDevice    "Mus" "CorePointer"
 	Option	"AllowEmptyInput" "off"
EndSection

Section "Files"
EndSection

Section "Module"
 	# Load "freetype"
 	# Load "xtt"
 	Load  "extmod"
 	Load  "glx"
 	Load  "dri"
 	Load  "dbe"
 	Load  "record"
 	Load  "xtrap"
 	Load  "type1"
 	Load  "speedo"
EndSection

Section "InputDevice"
 	Identifier  "Mus"
 	Driver      "mouse"
 	Option	    "Protocol" "Auto"
 	Option	    "Device" "/dev/sysmouse"
 	Option	    "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
 	Identifier  "Tastatur"
 	Driver      "keyboard"
 	Option	    "XkbModel" "pc101"
#	Option	    "XkbModel" "pc105"
 	Option	    "XkbLayout" "no"
 	Option	    "XkbOptions" "ctrl:swapcaps"
EndSection

Section "Monitor"
 	Identifier   "Skjerm"
 	HorizSync    31.5 - 48.5
 	VertRefresh  50.0 - 70.0
EndSection

Section "Device"
 	Identifier  "Grafikkort"
 	Driver      "radeonhd"
 	Option	"HPD" "off"
EndSection

Section "Screen"
 	Identifier "Screen0"
 	Device     "Grafikkort"
 	Monitor    "Skjerm"
 	DefaultDepth     16
 	SubSection "Display"
 		Depth     16
 		Modes    "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 	EndSubSection
EndSection

Section "DRI"
 	Mode 0666
EndSection


-- 
     _
_  //
\\//   Eivind Evensen
  \/


More information about the freebsd-stable mailing list