On Thu, Apr 19, 2018 at 09:35:19AM +1000, Jonathan Gray wrote: > 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.
I'm tracking bluhm's thread as well. With snap #209 (which has that patch), we get further along from a clean install: initializing kernel modesetting (KAVERI 0x1002:0x1313 0x1462:0x7969). cik_cp: Failed to load firmware "radeon/KAVERI_pfp.bin" error: [drm:pid0:cik_init] *ERROR* Failed to load Firmware! drm:pid0:radeondrm_attachhook *ERROR* Fatal error during GPU init ttm_pool_mm_shrink_fini: stub drm0 detached radeondrm0 detached vendor "ATI", unknown product 0x1313 (class display subclass VGA, rev 0xd4) at pci0 dev 1 function 0 not configured init: can't open /dev/console: Device not configured init: can't open /dev/console: Device not configured init: can't open /dev/console: Device not configured [repeats] +--+ Carlos > > 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)
