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 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
drm_ioctl() at netbsd:drm_ioctl+0x36f
cdev_ioctl() at netbsd:cdev_ioctl+0x51
VOP_IOCTL() at netbsd:VOP_IOCTL+0x6a
vn_ioctl() at netbsd:vn_ioctl+0x62
sys_ioctl() at netbsd:sys_ioctl+0xe9
syscall() at netbsd:syscall+0xaa
The crash dump provides:
(gdb) bt
#0 0xffffffff804bfd9d in cpu_reboot (howto=260, bootstr=<value optimized out>)
at /usr/src/sys/arch/amd64/amd64/machdep.c:675
#1 0xffffffff8023e38c in db_reboot_cmd (addr=<value optimized out>,
have_addr=<value optimized out>, count=<value optimized out>,
modif=<value optimized out>) at /usr/src/sys/ddb/db_command.c:1308
#2 0xffffffff8023ead5 in db_command (last_cmdp=0xffffffff80c421c0)
at /usr/src/sys/ddb/db_command.c:909
#3 0xffffffff8023ed34 in db_command_loop ()
at /usr/src/sys/ddb/db_command.c:567
#4 0xffffffff80244044 in db_trap (type=<value optimized out>,
code=<value optimized out>) at /usr/src/sys/ddb/db_trap.c:101
#5 0xffffffff80241763 in kdb_trap (type=6, code=0, regs=0xffff80004f47b790)
at /usr/src/sys/arch/amd64/amd64/db_interface.c:214
#6 0xffffffff8069c280 in trap (frame=0xffff80004f47b790)
at /usr/src/sys/arch/amd64/amd64/trap.c:284
#7 0xffffffff80100ed9 in calltrap ()
#8 0xffffffff801f7823 in bus_space_write_stream_4 ()
(gdb) frame 8
#8 0xffffffff801f7823 in bus_space_write_stream_4 ()
(gdb) info registers
rax 0xffff80000881de80 -140737345626496
rbx 0xffff800007cbf3a8 -140737357548632
rcx 0x0 0
rdx 0x0 0
rsi 0x0 0
rdi 0x0 0
rbp 0xffff80004f47b8e0 0xffff80004f47b8e0
rsp 0xffff80004f47b888 0xffff80004f47b888
r8 0x0 0
r9 0x1 1
r10 0x2 2
r11 0x1 1
r12 0xffff800007cbf000 -140737357549568
r13 0xffff80004c3e4850 -140736209205168
r14 0xffff800007cbf000 -140737357549568
r15 0xffff80004c3e4800 -140736209205248
rip 0xffffffff801f7823 0xffffffff801f7823
<bus_space_write_stream_4+3>
eflags 0x13246 [ PF ZF IF #12 #13 RF ]
cs 0x8 8
ss 0x10 16
ds 0x8 8
es 0x804828d7 -2142754601
fs 0x0 0
gs 0x3 3
(gdb)
Further pointers appreciated.
Thanks!
Sverre
Home |
Main Index |
Thread Index |
Old Index