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:
>A few days ago one of my systems running -current (updated roughly
>twice a week) refused to start Xorg with a message about a missing
>global; this has been fixed since and the machine is working fine with
>GENERIC and radeondrm. At that moment I decided to try DRMKMS there
>and got:
>---
>...
>drm: initializing kernel modesetting (RV350 0x1002:0x4154 0x1002:0x0002).
>drm: register mmio base: 0xd0000000
>drm: register mmio size: 65535
>DRM error in radeon_get_bios: Unable to locate a BIOS ROM
>drm: Using generic clock info
>radeon0: info: GTT: 256M 0xE0000000 â?? 0xEFFFFFFF
>drm: Generation 2 PCI interface, using max accessible memory
>radeon0: info: VRAM: 128M 0x00000000D8000000 â?? 0x00000000DFFFFFFF (128M used)
>drm: Detected VRAM RAM=80M, BAR=128M
>drm: RAM width 128bits DDR
>Zone kernel: Available graphics memory: 1065632 kiB
>drm: radeon: 128M of VRAM memory ready
>drm: radeon: 256M of GTT memory ready.
>drm: radeon: 1 quad pipes, 1 Z pipes initialized.
>fatal protection fault in supervisor mode
>trap type 4 code 0 rip ffffffff8022eb64 cs 8 rflags 10246 cr2 0 ileuel
>0 rsp fffffe8045b23a50
>curlwp 0xfffffe80a83a81e0 pid 0.62 lowest kstack 0xfffffe8045b202c0
>kernel: protection fault trap, code=0
>Stopped in pid 8.62 (system) at netbsd:bus_dmamap_load_raw+0x34= movq
>$0,40(%r14)
>db{1}> bt
>bus_dmamap_load_raw() at netbsd bus_dmamap_load_raw+0x34
>ttm_bus_dma_populate() at netbsd:ttm_bus_dma_populate+0x100
>ttm_tt_bind() at netbsd:ttm_tt_bind+0x2f
>ttm_bo_handle_move_mem() at netbsd:ttm_bo_handle_move_mem+0x5e2
>ttm_bo_validate() at netbsd:ttm_bo_validate+0x217
>ttm_bo_init() at netbsd:ttm_bo_init+0x27c
>radeon_bo_create() at netbsd:radeon_bo_create+0x15d
>radeon_wb_init() at netbsd:radeon_wb_init+0x13c
>r300_startup() at netbsd:r300_startup+0x128
>r300_init() at netbsd:r300_init+0x11f
>radeon_device_init() at netbsd:radeon_device_init+0x4d7
>radeon_driver_load_kms() at netbsd:radeon_driver_load_kms+0x6e
>drm_dev_register() at netbsd:drm_dev_register+0x87
>drm_pci_attach() at netbsd:drm_pci_attach+0x28a
>radeon_attach_real() at netbsd:radeon_attach_real+0x68
>config_mountroot_thread() at netbsd:config_mountroot_thread+0x2c
>db{1}>

I'm seeing basically the same thing with an RV280 on i386, I don't
have a crash dump as it goes into a recursive panic but was able to
capture a boot trace with a serial console.

I was able to add a bit of debug before the call to bus_dmamap_load_raw()
to confirm that the arguments looked correctly aligned.

I don't get this error with an RV710 on amd64, it boots fully but Xorg
fails with an error from somewhere in ttm/uvm.

Robert Swindells



Home | Main Index | Thread Index | Old Index