Bug 97337

Summary: [dri] xorg reboots system if dri module is enabled
Product: Base System Reporter: Jonatan Cerri <jtrcerri65>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Jonatan Cerri 2006-05-16 11:50:15 UTC
Using supported VGA-Card (ATI Radeon 9250 PCI), which is recognized at boot time, starting Xorg reboots the machine ungracefully, if the dri-module is uncommented in xorg.conf. This is the case in the default xorg configuration file generated with Xorg -configure. Commenting the line 'load "dri"' in the section "Module" of xorg.conf makes the problem go away. The card worked with dri hardware acceleration in a previous FreeBSD/i386 installation on a different mainboard/cpu. The Problem started when changing the mainboard and CPU. Current CPU is Pentium D 805, current Board is Asrock 775Dual-880Pro with VIA PT880Pro Chipset and 1GB DDRII Ram in dualchannel configuration.

Output of dmesg |grep drm:

drm0: <ATI Radeon RV280 9200> port 0xe000-0xe0ff mem 0xd8000000-0xdfffffff,0xff6f0000-0xff6fffff irq 17 at device 9.0 on pci0
info: [drm] Initialized radeon 1.19.0 20050911
drm0: <ATI Radeon RV280 9200> port 0xe000-0xe0ff mem 0xd8000000-0xdfffffff,0xff6f0000-0xff6fffff irq 17 at device 9.0 on pci0
info: [drm] Initialized radeon 1.19.0 20050911

'device agp' was removed from the kernel. the kernel runs with the new scheduler, but the problem persists when running with the old 4BSD scheduler.

Fix: 

Comment line 'load "dri"' in the section "Module" in xorg.conf.
How-To-Repeat: Install 6.1-RELEASE with bundled Xorg. Execute startx using xorg.conf with line 'load "dri"' in the section "Module".
Comment 1 vehemens 2007-12-11 09:10:09 UTC
You don't mention what version of X server your running.  I'm running FreeBSD 
7.0-Beta3+ with patches to xorg 7.3.

Suggest updating to something more current, and seeing if that eliminates some 
or all of your problems.
Comment 2 Andriy Gapon freebsd_committer freebsd_triage 2010-11-27 08:41:07 UTC
Is this still an issue with currently supported versions of FreeBSD?

-- 
Andriy Gapon
Comment 3 Andriy Gapon freebsd_committer freebsd_triage 2010-11-27 10:00:28 UTC
State Changed
From-To: open->closed

The PR is rather old, it lacks debugging information 
and the originator's email address bounces now.