bus_dmamem_alloc in drm / radeon

Brian A. Seklecki lavalamp at spiritual-machines.org
Fri Dec 8 21:33:51 PST 2006


A highly repeatable situation:

FreeBSD soundwave 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Sep 13 
14:51:18 EDT 2006     root at soundwave:/usr/obj/usr/src/sys/SMP  i386


drm0: <ATI Radeon RV280 9250> port 0xdd00-0xddff mem 
0xf0000000-0xf7ffffff,0xfe9e0000-0xfe9effff irq 22 at device 1.0 on pci2
info: [drm] Initialized radeon 1.24.0 20060225
info: [drm] Setting GART location based on old memory map

***** bus_dmamem_alloc failed to align memory properly.info:

[drm] Loading R200 Microcode info:
[drm] writeback test succeeded in 1 usecs

The Xorg process goes solid in ioctl on /dev/dri/card0 presumably

   768 seklecki      1 128    0   149M 10516K RUN      4:56 100.15% Xorg

    768 Xorg     CALL  ioctl(0x8,0x20006444 ,0)
    768 Xorg     RET   ioctl -1 errno 16 Device busy
    768 Xorg     CALL  ioctl(0x8,0x20006444 ,0)
    768 Xorg     RET   ioctl -1 errno 16 Device busy
    768 Xorg     CALL  ioctl(0x8,0x20006444 ,0)
    768 Xorg     RET   ioctl -1 errno 16 Device busy
    768 Xorg     CALL  ioctl(0x8,0x20006444 ,0)
    768 Xorg     RET   ioctl -1 errno 16 Device busy
    768 Xorg     CALL  ioctl(0x8,0x20006444 ,0)
    768 Xorg     RET   ioctl -1 errno 16 Device busy
    768 Xorg     CALL  ioctl(0x8,0x20006444 ,0)
    768 Xorg     RET   ioctl -1 errno 16 Device busy
    768 Xorg     CALL  ioctl(0x8,0x20006444 ,0)

I can provide full dmesg(8) if needed.


l8*
 	-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
 	       http://www.spiritual-machines.org/

"...from back in the heady days when "helpdesk" meant nothing, "diskquota"
meant everything, and lives could be bought and sold for a couple of pages
of laser printout - and frequently were."


More information about the freebsd-stable mailing list