From owner-freebsd-questions@FreeBSD.ORG Tue Sep 5 21:07:47 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E3FC16A4E0 for ; Tue, 5 Sep 2006 21:07:47 +0000 (UTC) (envelope-from freebsd4u@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 573F643D49 for ; Tue, 5 Sep 2006 21:07:45 +0000 (GMT) (envelope-from freebsd4u@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so700398wri for ; Tue, 05 Sep 2006 14:07:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=WAbQdHMatLZot+O63ld2wEtJoLIftvnMqKMDaL8Fux8cXXZUaHBu9mmwwO+746qIu9GnavjUYQ4ehcGZRsNTQMkQni/sljc0xg/rpqz5RMpxDc92LQpBEmPfv3u1YF4Nct+kfH7y/Zb/NcadooI1IkHxcFH7Gan3ndXeAvRKVVc= Received: by 10.90.49.1 with SMTP id w1mr1964190agw; Tue, 05 Sep 2006 14:07:44 -0700 (PDT) Received: by 10.90.118.17 with HTTP; Tue, 5 Sep 2006 14:07:44 -0700 (PDT) Message-ID: Date: Tue, 5 Sep 2006 23:07:44 +0200 From: freebsd4u To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: radeon_cp_init called without lock X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 21:07:47 -0000 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 Features2=0x4400> 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: on motherboard acpi0: Power Button (fixed) acpi_ec0: 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: on acpi0 acpi_throttle0: on cpu0 acpi_button0: on acpi0 pcib0: 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: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 drm0: 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: at device 3.0 (no driver attached) pcm0: port 0x8800-0x88ff mem 0xc0401000-0xc0401fff irq 11 at device 4.0 on pci0 pcm0: pcm0: [GIANT-LOCKED] pci0: at device 6.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 cbb0: mem 0xc0402000-0xc0402fff irq 11 at device 10.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0xc0403000-0xc0403fff irq 10 at device 10.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 fwohci0: 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: on fwohci0 fwe0: 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: 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: port 0x8080-0x809f irq 11 at device 12.0on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0x80a0-0x80bf irq 10 at device 12.1on pci0 uhci1: [GIANT-LOCKED] usb1: 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: 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: 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: 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: on atapci0 ata1: on atapci0 rl0: port 0x9c00-0x9cff mem 0xc0404c00-0xc0404dff irq 11 at device 18.0 on pci0 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: xx:xx:xx:xx:xx:xx battery0: on acpi0 acpi_acad0: on acpi0 acpi_lid0: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: 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: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcefff,0xdc000-0xdffff,0xe0000-0xe3fff on isa0 sc0: 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: 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: 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 at ata0-master UDMA100 acd0: CDRW 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