Florent, I'm ccing you on this so you know about it.

On an Intel dual core box running 7.1 RELEASE and Xorg 7.4, the radeon driver drives CPU to 100% and locks up the box. Keyboard and mouse input are ignored, and it's not possible to switch to another tty to escape from the problem. Kill won't kill the process either. You *can* login through ssh and reboot the box to fix the problem (after editing the xorg.conf file first, of course.)

Loading the radeon and drm driver through loader.conf did not change any behavior.

There are no errors in the Xorg.0.log file, and the process of X startup appears to be perfectly normal. Switching to the vesa driver fixes the problem entirely. The radeon driver can be used, less than optimally, by disabling DRI.

Option "DRI" "off"

I looked at the latest driver at x.org (, but I didn't see anything in the notes that indicated that this problem might have been fixed.

$ uname -a
FreeBSD 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

$ dmesg | grep CPU
CPU: Intel(R) Pentium(R) D CPU 3.40GHz (3391.61-MHz 686-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0: <ACPI CPU> on acpi0
est: CPU supports Enhanced Speedstep, but is not recognized.
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
est: CPU supports Enhanced Speedstep, but is not recognized.
p4tcc1: <CPU Frequency Thermal Control> on cpu1
SMP: AP CPU #1 Launched

$ kldstat
Id Refs Address    Size     Name
1   16 0xc0400000 97f830   kernel
2    1 0xc0d80000 6fa8     snd_ich.ko
3    2 0xc0d87000 4a64c    sound.ko
4    1 0xc0dd2000 22c98    radeon.ko
5    2 0xc0df5000 10e98    drm.ko
6    1 0xc0e06000 6a2c4    acpi.ko
7    1 0xc7650000 22000    linux.ko
8    1 0xc7736000 3000     daemon_saver.ko

$ pciconf -l
hos...@pci0:0:0:0: class=0x060000 card=0x01ad1028 chip=0x27708086 rev=0x02 hdr=0x00 pc...@pci0:0:1:0: class=0x060400 card=0x00008086 chip=0x27718086 rev=0x02 hdr=0x01 pc...@pci0:0:28:0: class=0x060400 card=0x00000000 chip=0x27d08086 rev=0x01 hdr=0x01 pc...@pci0:0:28:1: class=0x060400 card=0x00000000 chip=0x27d28086 rev=0x01 hdr=0x01 uh...@pci0:0:29:0: class=0x0c0300 card=0x01ad1028 chip=0x27c88086 rev=0x01 hdr=0x00 uh...@pci0:0:29:1: class=0x0c0300 card=0x01ad1028 chip=0x27c98086 rev=0x01 hdr=0x00 uh...@pci0:0:29:2: class=0x0c0300 card=0x01ad1028 chip=0x27ca8086 rev=0x01 hdr=0x00 uh...@pci0:0:29:3: class=0x0c0300 card=0x01ad1028 chip=0x27cb8086 rev=0x01 hdr=0x00 eh...@pci0:0:29:7: class=0x0c0320 card=0x01ad1028 chip=0x27cc8086 rev=0x01 hdr=0x00 pc...@pci0:0:30:0: class=0x060401 card=0x00000000 chip=0x244e8086 rev=0xe1 hdr=0x01 p...@pci0:0:30:2: class=0x040100 card=0x01ad1028 chip=0x27de8086 rev=0x01 hdr=0x00 is...@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x27b88086 rev=0x01 hdr=0x00 atap...@pci0:0:31:1: class=0x01018a card=0x01ad1028 chip=0x27df8086 rev=0x01 hdr=0x00 atap...@pci0:0:31:2: class=0x01018f card=0x01ad1028 chip=0x27c08086 rev=0x01 hdr=0x00 no...@pci0:0:31:3: class=0x0c0500 card=0x01ad1028 chip=0x27da8086 rev=0x01 hdr=0x00 vgap...@pci0:1:0:0: class=0x030000 card=0x0b021002 chip=0x5b621002 rev=0x00 hdr=0x00 vgap...@pci0:1:0:1: class=0x038000 card=0x0b031002 chip=0x5b721002 rev=0x00 hdr=0x00 b...@pci0:2:0:0: class=0x020000 card=0x01ad1028 chip=0x167714e4 rev=0x01 hdr=0x00

less /etc/X11/xorg.conf
Section "ServerLayout"
       Identifier     "X.org Configured"
       Screen      0  "Screen0" 0 0
       InputDevice    "Mouse0" "CorePointer"
       InputDevice    "Keyboard0" "CoreKeyboard"

Section "Files"
       ModulePath   "/usr/local/lib/xorg/modules"
       FontPath     "/usr/local/lib/X11/fonts/misc/"
       FontPath     "/usr/local/lib/X11/fonts/TTF/"
       FontPath     "/usr/local/lib/X11/fonts/OTF"
       FontPath     "/usr/local/lib/X11/fonts/Type1/"
       FontPath     "/usr/local/lib/X11/fonts/100dpi/"
       FontPath     "/usr/local/lib/X11/fonts/75dpi/"
       FontPath     "/usr/local/lib/X11/fonts/URW/"
       FontPath     "/usr/local/lib/X11/fonts/TrueType/"

Section "Module"
       Load  "GLcore"
       Load  "xtrap"

Section "InputDevice"
       Identifier  "Keyboard0"
       Driver      "kbd"

Section "InputDevice"
       Identifier  "Mouse0"
       Driver      "mouse"
       Option      "Protocol" "auto"
       Option      "Device" "/dev/sysmouse"
       Option      "ZAxisMapping" "4 5 6 7"

Section "Monitor"
       Identifier   "Monitor0"
       VendorName   "DELL"
       ModelName    "1905FP"

Section "Device"
       Identifier  "Card0"
       Driver      "radeon"
       VendorName  "ATI Technologies Inc"
       BoardName   "RV380 [Radeon X600 (PCIE)]"
       BusID       "PCI:1:0:0"
       Option      "DRI" "off"

Section "Screen"
       Identifier "Screen0"
       Device     "Card0"
       Monitor    "Monitor0"
       DefaultDepth    24
       SubSection "Display"
               Viewport   0 0
               Depth     1
       SubSection "Display"
               Viewport   0 0
               Depth     4
       SubSection "Display"
               Viewport   0 0
               Depth     8
       SubSection "Display"
               Viewport   0 0
               Depth     15
       SubSection "Display"
               Viewport   0 0
               Depth     16
       SubSection "Display"
               Viewport   0 0
               Depth     24
               Modes   "1280x1024"

Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
Check the headers before clicking on Reply.

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to