Current-Users archive

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

Re: amd64 system crash with radeondrm enabled after update



On Fri May 14 2010 13:02:59 David Young wrote:
> On Fri, May 14, 2010 at 12:24:17PM -0600, Sverre Froyen wrote:
> > On Thu May 13 2010 12:07:01 Iain Hibbert wrote:
> > > On Thu, 13 May 2010, Brian Buhrow wrote:
> > > >         Hello.  Isn't there a way to have ddb execute a series of 
> > > > commands
> > > > 
> > > > when it fires?  I think the output of ddb commands show up in the
> > > > dmesg buffer.  So, you could have  it execute a back trace, then
> > > > reboot after writing a core image, which will capture all the
> > > > relevant output.  I think it's a sysctl to tell ddb what to do.
> > > 
> > > AFAIK it needs to be built in, see ddb(4)
> > 
> > Using these suggestions I get the following output:
> > 
> > info: [drm] Setting GART location based on new memory map
> > info: [drm] Loading RV635 Microcode
> > uvm_fault(0xffff80004ee23010, 0x0, 1) -> e
> > fatal page fault in supervisor mode
> > trap type 6 code 0 rip ffffffff801f7823 cs 8 rflags 13246 cr2  0 cpl 0
> > rsp ffff8 0004f4cb888
> > kernel: page fault trap, code=0
> > Stopped in pid 1055.1 (Xorg) at netbsd:bus_space_write_4+0x3:   cmpl
> > $0,0(%rd
> > i)
> > db{0}> bt
> > bus_space_write_4() at netbsd:bus_space_write_4+0x3
> > r600_do_init_cp() at netbsd:r600_do_init_cp+0x5ee
> 
> What line is that?  In gdb, 'l *(r600_do_init_cp+0x5ee)'.

(gdb) l *(r600_do_init_cp+0x5ee)
0xffffffff805a80c3 is in r600_do_init_cp 
(/usr/src/sys/external/bsd/drm/dist/shared-core/r600_cp.c:2068).
2063            else
2064                r600_cp_load_microcode(dev_priv);
2065    
2066            r600_cp_init_ring_buffer(dev, dev_priv);
2067    
2068            dev_priv->last_buf = 0;
2069    
2070            r600_do_engine_reset(dev);
2071            r600_test_writeback(dev_priv);
2072    


Home | Main Index | Thread Index | Old Index