Date: Tue, 5 Sep 2006 23:07:44 +0200 From: freebsd4u <freebsd4u@gmail.com> To: freebsd-questions@freebsd.org Subject: radeon_cp_init called without lock Message-ID: <aa0b85390609051407v3f4fad2boc0a9cdc747a7ebc9@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, My graphics card's 3D acceleration is supported by Xorg's radeon module but, for some reason, it doesn't work. Before posting, I did some research on the Internet and it seems that I'm not the only one having this problem. It doesn't load agp.ko... and I have it on my loader.conf it's weird... OS: FreeBSD 6.1-RELEASE-p3 Graphics card: ATI Radeon RS200 Mobility IGP 340M (up to 128MB of shared memory) If you need more info, please let me know. It works OK on Fedora Core 5 and Windows XP. But I prefer FreeBSD ;) See below for more details. Thanks %dmesg Copyright (c) 1992-2006 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 6.1-RELEASE-p3 #0: Fri Jul 14 19:33:56 CEST 2006 root@localhost.localdomain:/usr/obj/usr/src/sys/VAIO Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Mobile Intel(R) Celeron(R) CPU 2.00GHz (1991.73-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x4400<CNTX-ID,<b14>> real memory = 402063360 (383 MB) avail memory = 383979520 (366 MB) kbd1 at kbdmux0 ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: <SONY K7> on motherboard acpi0: Power Button (fixed) acpi_ec0: <Embedded Controller: GPE 0x18> port 0x62,0x66 on acpi0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci_link5: BIOS IRQ 11 for 0.12.INTC is invalid pci_link5: BIOS IRQ 11 for 0.10.INTC is invalid pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 drm0: <ATI Radeon RS200 Mobility IGP 340M> port 0xa000-0xa0ff mem 0xe0000000-0xefffffff,0xc0500000-0xc050ffff irq 11 at device 5.0 on pci1 info: [drm] Initialized radeon 1.19.0 20050911 pci0: <simple comms, generic modem> at device 3.0 (no driver attached) pcm0: <Acer Labs M5451> port 0x8800-0x88ff mem 0xc0401000-0xc0401fff irq 11 at device 4.0 on pci0 pcm0: <Analog Devices AD1981B AC97 Codec> pcm0: [GIANT-LOCKED] pci0: <bridge> at device 6.0 (no driver attached) isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 cbb0: <RF5C476 PCI-CardBus Bridge> mem 0xc0402000-0xc0402fff irq 11 at device 10.0 on pci0 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: <RF5C476 PCI-CardBus Bridge> mem 0xc0403000-0xc0403fff irq 10 at device 10.1 on pci0 cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 fwohci0: <Ricoh R5C552> mem 0xc0404000-0xc04047ff irq 9 at device 10.2 on pci0 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 08:00:46:03:01:66:6c:85 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 0a:00:46:66:6c:85 fwe0: Ethernet address: 0a:00:46:66:6c:85 fwe0: if_start running deferred for Giant sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) uhci0: <VIA 83C572 USB controller> port 0x8080-0x809f irq 11 at device 12.0on pci0 uhci0: [GIANT-LOCKED] usb0: <VIA 83C572 USB controller> on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <VIA 83C572 USB controller> port 0x80a0-0x80bf irq 10 at device 12.1on pci0 uhci1: [GIANT-LOCKED] usb1: <VIA 83C572 USB controller> on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0: <VIA VT6202 USB 2.0 controller> mem 0xc0404800-0xc04048ff irq 9 at device 12.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 0.95 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: <VIA VT6202 USB 2.0 controller> on ehci0 usb2: USB revision 2.0 uhub2: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 4 ports with 4 removable, self powered atapci0: <AcerLabs M5229 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x80c0-0x80cf at device 15.0 on pci0 atapci0: using PIO transfers above 137GB as workaround for 48bit DMA access bug, expect reduced performance ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 rl0: <RealTek 8139 10/100BaseTX> port 0x9c00-0x9cff mem 0xc0404c00-0xc0404dff irq 11 at device 18.0 on pci0 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: xx:xx:xx:xx:xx:xx battery0: <ACPI Control Method Battery> on acpi0 acpi_acad0: <AC Adapter> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xdc000-0xdffff,0xe0000-0xe3fff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550? sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 1991734928 Hz quality 800 Timecounters tick every 1.000 msec ath0: <Atheros 5212> mem 0x88000000-0x8800ffff irq 11 at device 0.0 on cardbus0 ath0: Ethernet address: xx:xx:xx:xx:xx:xx ath0: mac 5.9 phy 4.3 radio 4.6 ad0: 38154MB <HITACHI DK23EA-40 00K3A0A3> at ata0-master UDMA100 acd0: CDRW <QSI CD-RW/DVD-ROM SBW-241/VS03> at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s1a ath0: link state changed to UP error: [drm:pid816:radeon_cp_init] *ERROR* radeon_cp_init called without lock held error: [drm:pid816:drm_unlock] *ERROR* Process 816 using kernel context 0 ums0: at uhub0 port 1 (addr 2) disconnected ums0: detached ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. pid 1087 (amule), uid 1001: exited on signal 6 (core dumped) ums0: at uhub0 port 1 (addr 2) disconnected ums0: detached ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. /boot/loader.conf agp_load="YES" radeon_load="YES" drm_load="YES" relevant parts of xorg.log (--) Chipset ATI Radeon IGP330M/340M/350M (U2) 4337 found (II) RADEON(0): [drm] DRM interface version 1.2 (II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:05.0" (II) RADEON(0): [drm] added 8192 byte SAREA at 0xc30fe000 (II) RADEON(0): [drm] mapped SAREA 0xc30fe000 to 0x2877a000 (II) RADEON(0): [drm] framebuffer handle = 0xe0000000 (II) RADEON(0): [drm] added 1 reserved context for kernel (WW) RADEON(0): [agp] AGP not available (EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI. (II) RADEON(0): [agp] You may want to make sure the agpgart kernel module is loaded before the radeon kernel module. (WW) RADEON(0): Direct rendering disabled pciconf -lv hostb0@pci0:0:0: class=0x060000 card=0x00000000 chip=0xcbb21002 rev=0x02 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'RS200 CPU to PCI Bridge' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x70101002 rev=0x00 hdr=0x01 vendor = 'ATI Technologies Inc' device = 'RS200 PCI to AGP Bridge' class = bridge subclass = PCI-PCI none0@pci0:3:0: class=0x070300 card=0x8158104d chip=0x545710b9 rev=0x00 hdr=0x00 vendor = 'Acer Labs Incorporated (ALi)' device = 'ALI N5457, M1563M AC97 Modem controller' class = simple comms subclass = generic modem pcm0@pci0:4:0: class=0x040100 card=0x8158104d chip=0x545110b9 rev=0x02 hdr=0x00 vendor = 'Acer Labs Incorporated (ALi)' device = 'ALI M5451 PCI AC-Link Controller Audio Device' class = multimedia subclass = audio none1@pci0:6:0: class=0x068000 card=0x8158104d chip=0x710110b9 rev=0x00 hdr=0x00 vendor = 'Acer Labs Incorporated (ALi)' device = 'ALI M7101 Power Management Controller' class = bridge isab0@pci0:7:0: class=0x060100 card=0x8158104d chip=0x153310b9 rev=0x00 hdr=0x00 vendor = 'Acer Labs Incorporated (ALi)' device = 'ALI M1533 Aladdin IV ISA Bridge' class = bridge subclass = PCI-ISA cbb0@pci0:10:0: class=0x060700 card=0x8158104d chip=0x04761180 rev=0xaa hdr=0x02 vendor = 'Ricoh Co Ltd' device = 'RL5c476 CardBus Controller' class = bridge subclass = PCI-CardBus cbb1@pci0:10:1: class=0x060700 card=0x8158104d chip=0x04761180 rev=0xaa hdr=0x02 vendor = 'Ricoh Co Ltd' device = 'RL5c476 CardBus Controller' class = bridge subclass = PCI-CardBus fwohci0@pci0:10:2: class=0x0c0010 card=0x8158104d chip=0x05521180 rev=0x02 hdr=0x00 vendor = 'Ricoh Co Ltd' device = 'RL5c552 IEEE-1394 Controller' class = serial bus subclass = FireWire uhci0@pci0:12:0: class=0x0c0300 card=0x8158104d chip=0x30381106 rev=0x50 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)' class = serial bus subclass = USB uhci1@pci0:12:1: class=0x0c0300 card=0x8158104d chip=0x30381106 rev=0x50 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)' class = serial bus subclass = USB ehci0@pci0:12:2: class=0x0c0320 card=0x8158104d chip=0x31041106 rev=0x51 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT6202 USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB atapci0@pci0:15:0: class=0x0101fa card=0x8158104d chip=0x522910b9 rev=0xc4 hdr=0x00 vendor = 'Acer Labs Incorporated (ALi)' device = 'M1543 Southbridge EIDE Controller' class = mass storage subclass = ATA rl0@pci0:18:0: class=0x020000 card=0x8158104d chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter' class = network subclass = ethernet drm0@pci1:5:0: class=0x030000 card=0x8158104d chip=0x43371002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'RS200M Mobility M6 (U2)' class = display subclass = VGA ath0@pci2:0:0: class=0x020000 card=0x4b001385 chip=0x0013168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212, AR5213 802.11a/b/g Wireless Adapter' class = network subclass = ethernet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aa0b85390609051407v3f4fad2boc0a9cdc747a7ebc9>