Date: Wed, 10 Feb 2010 17:46:01 +0200 From: Vitaly Magerya <vmagerya@gmail.com> To: Robert Noland <rnoland@FreeBSD.org> Cc: stable@freebsd.org, x11@FreeBSD.org, freebsd-x11@freebsd.org, Oliver Pinter <oliver.pntr@gmail.com> Subject: Re: freebsd7 (and 8), radeon, xorg-server -> deadlock or so Message-ID: <4B72D4B9.6020109@gmail.com> In-Reply-To: <1265814670.8609.58.camel@balrog.2hip.net> References: <6101e8c41002091524q25a7e026u585e575eb4f1589c@mail.gmail.com> <4B728A7A.60706@gmail.com> <1265814670.8609.58.camel@balrog.2hip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Noland wrote: >> I have a similar problem with ATI Mobility Radeon 9000 (r250) and >> FreeBSD 8.0-RELEASE-p2 i386 (dmesg is at [1]). The system hangs when I >> run Xorg with xorg.conf obtained by `Xorg -configure' and do either of >> these: >> >> * pkill Xorg >> * close xorg via ^C and start it again >> * close xorg via ^C and kldunload radeon >> >> I did not try using 'option "DRI" "OFF"' though, I will this evening. With DRI disabled, no hang occurs and I'm once again happy. >> Unfortunately I can't currently say if it works under different >> conditions, since after a number of hangs I switched to VESA. But if >> anyone is interested, I'll investigate further and will provide any >> additional information -- just name it. > > I have a strong suspicion that the issue is with bus_dma. If this is a > pci based card, then it is trying to allocate 32MB of contiguous > physical ram when the drm device is opened. This usually succeeds the > first time that the driver opens the device, but later, after memory has > become fragmented, this can become an issue. As I have mentioned, I > have code that reworks this whole process and I'll try and make a patch > available soon, but my I don't have a lot of time now, so it might be > the weekend before I can rebase the code and get a clean patch. No pressure from me. I'm already grateful that you single-handedly keep the whole DRI-on-FreeBSD thing going.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B72D4B9.6020109>