On Tue, 2006-07-18 at 17:44 +0200, Michel Dänzer wrote: > Note that I don't think lsmod lists the modules in the order they were > loaded. Also, the above message was written back when both radeon and > agpgart were still monolithic modules. Now that they have both been > split into core and backend modules, the safest bet is to make sure that > both the agpgart and intel_agp modules are loaded before both the drm > and radeon modules. Running > > modprobe -r radeon; modprobe radeon > > should achive this in your case. If restarting the X server after doing > this still doesn't enable the DRI, please provide the kernel output.
I did what you suggested (several times) and DRI is still disabled. Here are the kernel messages. As you can read, I use a standard Debian kernel. In the error messages at the end, the PID are those of the X servers. -- Laurent Bonnaud. http://www.lis.inpg.fr/pages_perso/bonnaud/ Linux version 2.6.17-1-686 (Debian 2.6.17-4) ([EMAIL PROTECTED]) (gcc version 4.1.2 20060708 (prerelease) (Debian 4.1.1-8)) #1 SMP Mon Jul 17 12:45:08 UTC 2006 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003ff74000 (usable) BIOS-e820: 000000003ff74000 - 000000003ff76000 (ACPI NVS) BIOS-e820: 000000003ff76000 - 000000003ff97000 (ACPI data) BIOS-e820: 000000003ff97000 - 0000000040000000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fecf0000 - 00000000fecf1000 (reserved) BIOS-e820: 00000000fed20000 - 00000000fed90000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved) BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 1023MB LOWMEM available. found SMP MP-table at 000fe710 On node 0 totalpages: 262004 DMA zone: 4096 pages, LIFO batch:0 Normal zone: 257908 pages, LIFO batch:31 DMI 2.3 present. ACPI: RSDP (v000 DELL ) @ 0x000feb90 ACPI: RSDT (v001 DELL WS 360 0x00000008 ASL 0x00000061) @ 0x000fd164 ACPI: FADT (v001 DELL WS 360 0x00000008 ASL 0x00000061) @ 0x000fd19c ACPI: SSDT (v001 DELL st_ex 0x00001000 MSFT 0x0100000d) @ 0xfffc8d51 ACPI: MADT (v001 DELL WS 360 0x00000008 ASL 0x00000061) @ 0x000fd210 ACPI: BOOT (v001 DELL WS 360 0x00000008 ASL 0x00000061) @ 0x000fd27c ACPI: ASF! (v016 DELL WS 360 0x00000008 ASL 0x00000061) @ 0x000fd2a4 ACPI: DSDT (v001 DELL dt_ex 0x00001000 MSFT 0x0100000d) @ 0x00000000 ACPI: PM-Timer IO Port: 0x808 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) Processor #0 15:2 APIC version 20 ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] disabled) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] disabled) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] disabled) ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000) Built 1 zonelists Kernel command line: root=/dev/sda1 ro mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Detected 2793.443 MHz processor. Using pmtmr for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1030716k/1048016k available (1478k kernel code, 16660k reserved, 540k data, 164k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 5592.05 BogoMIPS (lpj=11184110) Security Framework v1.0.0 initialized SELinux: Disabled at boot. Capability LSM initialized Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000 CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K CPU: Hyper-Threading is disabled CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 00004400 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU0: Intel P4/Xeon Extended MCE MSRs (12) available CPU0: Thermal monitoring enabled Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 16k freed CPU0: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09 Total of 1 processors activated (5592.05 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 Brought up 1 CPUs migration_cost=0 checking if image is initramfs... it is Freeing initrd memory: 5122k freed NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xfba82, last bus=2 Setting up standard PCI resources ACPI: Subsystem revision 20060127 ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) ACPI: Assume root bridge [\_SB_.PCI0] bus is 0 PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO PCI quirk: region 0880-08bf claimed by ICH4 GPIO PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 Boot video device is 0000:01:00.0 PCI: Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 9 10 11 12 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10 11 12 15) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled. ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 *7 9 10 11 12 15) Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 11 devices PnPBIOS: Disabled by ACPI PNP PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report pnp: 00:0a: ioport range 0x800-0x85f could not be reserved pnp: 00:0a: ioport range 0xc00-0xc7f has been reserved pnp: 00:0a: ioport range 0x860-0x8ff could not be reserved PCI: Bridge: 0000:00:01.0 IO window: d000-dfff MEM window: fe900000-feafffff PREFETCH window: d8000000-efffffff PCI: Bridge: 0000:00:1e.0 IO window: c000-cfff MEM window: fe800000-fe8fffff PREFETCH window: disabled. PCI: Setting latency timer of device 0000:00:1e.0 to 64 NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered Simple Boot Flag value 0x87 read from CMOS RAM was invalid Simple Boot Flag at 0x7a set to 0x1 audit: initializing netlink socket (disabled) audit(1153224714.796:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize PNP: PS/2 Controller [PNP0303:KBD] at 0x60,0x64 irq 1 PNP: PS/2 controller doesn't have AUX irq; using default 12 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 8 NET: Registered protocol family 20 Using IPI No-Shortcut mode ACPI wakeup devices: VBTN PCI0 USB0 USB1 USB2 USB3 PCI1 KBD ACPI: (supports S0 S1 S3 S4 S5) Freeing unused kernel memory: 164k freed input: AT Translated Set 2 keyboard as /class/input/input0 Intel(R) PRO/1000 Network Driver - version 7.0.33-k2-NAPI Copyright (c) 1999-2005 Intel Corporation. ACPI: PCI Interrupt 0000:02:0c.0[A] -> GSI 18 (level, low) -> IRQ 169 ieee1394: Initialized config rom entry `ip1394' Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx usbcore: registered new driver usbfs usbcore: registered new driver hub USB Universal Host Controller Interface driver v3.0 e1000: 0000:02:0c.0: e1000_probe: (PCI:33MHz:32-bit) 00:0c:f1:89:ea:a8 e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 17 (level, low) -> IRQ 177 ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[177] MMIO=[fe8db800-fe8dbfff] Max Packet=[2048] IR/IT contexts=[4/8] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 185 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1d.0: irq 185, io base 0x0000ff80 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected SCSI subsystem initialized libata version 1.20 loaded. ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 193 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.1: irq 193, io base 0x0000ff60 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 169 PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: UHCI Host Controller uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1d.2: irq 169, io base 0x0000ff40 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.3[A] -> GSI 16 (level, low) -> IRQ 185 PCI: Setting latency timer of device 0000:00:1d.3 to 64 uhci_hcd 0000:00:1d.3: UHCI Host Controller uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:1d.3: irq 185, io base 0x0000ff20 usb usb4: configuration #1 chosen from 1 choice hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 201 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5 ehci_hcd 0000:00:1d.7: debug port 1 PCI: cache line size of 128 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: irq 201, io mem 0xffa80800 ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb5: configuration #1 chosen from 1 choice hub 5-0:1.0: USB hub found hub 5-0:1.0: 8 ports detected ICH5: IDE controller at PCI slot 0000:00:1f.1 ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 169 ICH5: chipset revision 2 ICH5: not 100% native mode: will probe irqs later ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide1... hdc: _NEC DVD+RW ND-1100A, ATAPI CD/DVD-ROM drive ieee1394: Host added: ID:BUS[0-00:1023] GUID[00000000000000f1] ide1 at 0x170-0x177,0x376 on irq 15 ata_piix 0000:00:1f.2: version 1.05 ata_piix 0000:00:1f.2: MAP [ P0 -- P1 -- ] ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 169 PCI: Setting latency timer of device 0000:00:1f.2 to 64 ata1: SATA max UDMA/133 cmd 0xFE00 ctl 0xFE12 bmdma 0xFEA0 irq 169 ata2: SATA max UDMA/133 cmd 0xFE20 ctl 0xFE32 bmdma 0xFEA8 irq 169 hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 ata1: dev 0 cfg 49:2f00 82:346b 83:7f01 84:4003 85:3469 86:3e01 87:4003 88:207f ata1: dev 0 ATA-6, max UDMA/133, 234375000 sectors: LBA48 ata1: dev 0 configured for UDMA/133 scsi0 : ata_piix ata2: SATA port has no device. scsi1 : ata_piix Vendor: ATA Model: ST3120026AS Rev: 8.05 Type: Direct-Access ANSI SCSI revision: 05 SCSI device sda: 234375000 512-byte hdwr sectors (120000 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 234375000 512-byte hdwr sectors (120000 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back sda: sda1 sda2 sd 0:0:0:0: Attached scsi disk sda device-mapper: 4.6.0-ioctl (2006-02-17) initialised: [EMAIL PROTECTED] EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access will be enabled during recovery. kjournald starting. Commit interval 5 seconds EXT3-fs: sda1: orphan cleanup on readonly fs ext3_orphan_cleanup: deleting unreferenced inode 670462 ext3_orphan_cleanup: deleting unreferenced inode 1987708 ext3_orphan_cleanup: deleting unreferenced inode 1987668 ext3_orphan_cleanup: deleting unreferenced inode 1985339 ext3_orphan_cleanup: deleting unreferenced inode 1984642 ext3_orphan_cleanup: deleting unreferenced inode 670509 ext3_orphan_cleanup: deleting unreferenced inode 1984457 ext3_orphan_cleanup: deleting unreferenced inode 686827 ext3_orphan_cleanup: deleting unreferenced inode 1474021 ext3_orphan_cleanup: deleting unreferenced inode 3452270 ext3_orphan_cleanup: deleting unreferenced inode 3793718 ext3_orphan_cleanup: deleting unreferenced inode 3793712 ext3_orphan_cleanup: deleting unreferenced inode 3793710 ext3_orphan_cleanup: deleting unreferenced inode 3793705 ext3_orphan_cleanup: deleting unreferenced inode 3793701 EXT3-fs: sda1: 15 orphan inodes deleted EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 Real Time Clock Driver v1.12ac hw_random hardware driver 1.0.0 loaded input: PC Speaker as /class/input/input1 EDAC MC: Ver: 2.0.0 Jul 17 2006 EDAC i82875p: i82875p init one PCI: Unable to reserve mem region #1:[EMAIL PROTECTED] for device 0000:00:06.0 EDAC MC0: Giving out device to "i82875p_edac" i82875p: PCI 0000:00:00.0 pci_hotplug: PCI Hot Plug PCI Core version: 0.5 shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 Linux agpgart interface v0.101 (c) Dave Jones eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0) ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 177 PCI: Setting latency timer of device 0000:00:1f.5 to 64 intel8x0_measure_ac97_clock: measured 55586 usecs intel8x0: clocking to 48000 EXT3 FS on sda1, internal journal Probing IDE interface ide0... md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 kjournald starting. Commit interval 5 seconds EXT3 FS on sda2, internal journal EXT3-fs: mounted filesystem with ordered data mode. Adding 524280k swap on /swapfile. Priority:-1 extents:140 across:1306072k NET: Registered protocol family 15 e1000: eth0: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex Warning: /proc/ide/hd?/settings interface is obsolete, and will be removed soon! ip_tables: (C) 2000-2006 Netfilter Core Team ACPI: Power Button (FF) [PWRF] ACPI: Power Button (CM) [VBTN] NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver eth0: no IPv6 routers present device eth0 entered promiscuous mode audit(1153224786.274:2): dev=eth0 prom=256 old_prom=0 auid=4294967295 eth0: no IPv6 routers present nacctd uses obsolete (PF_INET,SOCK_PACKET) Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]). NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory NFSD: starting 90-second grace period Bluetooth: Core ver 2.8 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: L2CAP ver 2.8 Bluetooth: L2CAP socket layer initialized Bluetooth: RFCOMM socket layer initialized Bluetooth: RFCOMM TTY layer initialized Bluetooth: RFCOMM ver 1.7 powernow: This module only works with AMD K7 CPUs [drm] Initialized drm 1.0.1 20051102 ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 185 [drm] Initialized radeon 1.24.0 20060225 on minor 0 [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held [drm:drm_unlock] *ERROR* Process 7105 using kernel context 0 mice: PS/2 mouse device common for all mice [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held [drm:drm_unlock] *ERROR* Process 16819 using kernel context 0 usb 3-2: new full speed USB device using uhci_hcd and address 2 usb 3-2: configuration #1 chosen from 1 choice hub 3-2:1.0: USB hub found hub 3-2:1.0: 4 ports detected usb 3-2.2: new low speed USB device using uhci_hcd and address 3 usb 3-2.2: configuration #1 chosen from 1 choice usbcore: registered new driver hiddev input: Logitech USB Receiver as /class/input/input2 input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.2-2.2 usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver ts: Compaq touchscreen protocol output [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held [drm:drm_unlock] *ERROR* Process 18019 using kernel context 0 usb 3-2: USB disconnect, address 2 usb 3-2.2: USB disconnect, address 3 [drm] Module unloaded [drm] Initialized drm 1.0.1 20051102 ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 185 [drm] Initialized radeon 1.24.0 20060225 on minor 0 [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held [drm:drm_unlock] *ERROR* Process 18850 using kernel context 0 [drm] Module unloaded [drm] Initialized drm 1.0.1 20051102 ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 185 [drm] Initialized radeon 1.24.0 20060225 on minor 0 [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held [drm:drm_unlock] *ERROR* Process 19073 using kernel context 0