tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: More amd64 drmkms radeon



Chavdar Ivanov wrote:
>On 22 August 2014 16:56, Taylor R Campbell <riastradh%netbsd.org@localhost> 
>wrote:
>>    Date: Fri, 22 Aug 2014 10:18:59 +0100
>>    From: Chavdar Ivanov <ci4ic4%gmail.com@localhost>
>>
>>    A DRMKMS kernel from 15th works as suggested above - switches to
>>    1280x1024 and is fine after (Xorg panics earlier; with the latest
>>    build from yesterday it even wedged the machine completely).
>>
>>    On the other hand yesterday's kernel panics as follows:
>>    [...]
>>    drm kern error: radeon_cp: Failed to load firmware "radeon/R300_cp.bin"
>>
>> Do you still have /usr/libdata/firmware/radeon/R300_cp.bin on the root
>> file system?
>
>Yes, the kernel from 15th of August loads it fine:
>
>$ uname -a
>NetBSD uksup1.delcam.local 7.99.1 NetBSD 7.99.1 (DRMKMS) #1: Fri Aug
>15 14:06:51 BST 2014
>root@support6.delcam.local:/root/a64/compile/DRMKMS amd64
>$ ls -l  /usr/libdata/firmware/radeon/R300_cp.bin
>-r--r--r--  1 root  wheel  2048 Jul  6  2010
>/usr/libdata/firmware/radeon/R300_cp.bin
>$ dmesg  | grep Microcode
>drm: Loading R300 Microcode
>...

I tried a custom kernel with sources from yesterday on i386 with a
R300 and it works fine.

>> We really ought to have a better story if it's not, but that's my
>> first guess about the problem.
>>
>>    panic: kernel diagnostic assertion "ttm->caching_state == tt_cached"
>>    failed: file "../../../../external/bsd/drm2/dist/drm/ttm/ttm_tt.c",
>>    line 423
>>
>> This is a bug in the rat's nest of error branches in the Radeon code,
>> ugh...
>
>Well, it doesn't show up in the earlier version, so it looks a regression.

The panic is triggered while cleaning up from the failure to load the
microcode.

One change between your working kernel and now was to enable wedges, they
are disabled in my custom kernel.

Robert Swindells




Home | Main Index | Thread Index | Old Index