On Wed, Apr 18, 2018 at 03:29:10PM -0700, Carlos Cardenas wrote:
> Howdy.
> 
> Please excuse this poor bug report, I'm not able to obtain more info as
> the system locks hard (below is transcribed by hand).
> 
> On a clean install, with the latest snap (as of time of email):
> OpenBSD 6.3-current (GENERIC.MP) #207: Wed Apr 18 11:37:15 MDT 2018
> 
> CPU: AMD A8-7670K Radeon R7 aka Kaveri
> 
> extent_free(ffffffff819489f8,100,1000,7e281000) at extent_free+0x110
> bus_space_unmap(0,ffff8000000de000,0) at bus_space_unmap+0x110
> radeon_device_fini(ffff8000000de000) at radeon_device_fini+0x43
> radeondrm_detach_kms(0,ffff8000000de000) at radeondrm_detach_kms+0x33
> config_detach(ffff8000000dd600,ffff8000000de000) at config_detach+0x14e
> radeondrm_attachhook(ffffffff81bf9420) at radeondrm_attachhook+0x9d
> config_process_deferred_mountroot() at config_process_deferred_mountroot+0x56
> main(6dd84e08) at main+0x80f

See the other thread on bugs.  Not sure when a snapshot with the fix
will go out.

diff --git sys/dev/pci/drm/radeon/radeon_device.c 
sys/dev/pci/drm/radeon/radeon_device.c
index 9085bf845c4..ec631f66cd9 100644
--- sys/dev/pci/drm/radeon/radeon_device.c
+++ sys/dev/pci/drm/radeon/radeon_device.c
@@ -1582,7 +1582,7 @@ void radeon_device_fini(struct radeon_device *rdev)
        rdev->rmmio = NULL;
 #else
        if (rdev->rio_mem_size > 0)
-               bus_space_unmap(rdev->memt, rdev->rio_mem, rdev->rio_mem_size);
+               bus_space_unmap(rdev->iot, rdev->rio_mem, rdev->rio_mem_size);
        rdev->rio_mem_size = 0;
 
        if (rdev->rmmio_size > 0)

Reply via email to