On Thu, Jan 09, 2014 at 01:02:43PM +0100, Martin Pieuchot wrote:
> Thanks for your bug report.
> 
> On 09/01/14(Thu) 18:55, Nick Gray wrote:
> > >Synopsis:  kernel panic when wscons display.screen_off variable is set to 
> > >a non-zero value 
> 
> I can reproduce this bug here and the diff below fixes it for me.  It's
> the burner method from radeondrm(4) that expects a different cookie.
> 
> ok?
> 
> Index: radeon_fb.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/pci/drm/radeon/radeon_fb.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 radeon_fb.c
> --- radeon_fb.c       5 Dec 2013 13:29:56 -0000       1.3
> +++ radeon_fb.c       9 Jan 2014 11:52:20 -0000
> @@ -494,7 +494,8 @@ bool radeon_fbdev_robj_is_fb(struct rade
>  void
>  radeondrm_burner(void *v, u_int on, u_int flags)
>  {
> -     struct radeon_device *rdev = v;
> +     struct rasops_info *ri = v;
> +     struct radeon_device *rdev = ri->ri_hw;
>  
>       task_del(systq, &rdev->burner_task);
>  

Hi Martin,

Confirmed working here with macppc snapshot #118

kern.version=OpenBSD 5.4-current (GENERIC) #118: Thu Jan  9 12:10:33 MST 2014
    [email protected]:/usr/src/sys/arch/macppc/compile/GENERIC

Thanks again,
Nick

Reply via email to