ahd(4) reliable panic

Sean Bruno sean_bruno at yahoo.com
Fri May 31 23:49:26 UTC 2013


On Fri, 2013-05-31 at 13:52 -0600, Justin T. Gibbs wrote: 
> On May 31, 2013, at 12:57 PM, Sean Bruno <sean_bruno at yahoo.com> wrote:
> 
> > On Fri, 2013-05-31 at 09:23 -0600, Justin T. Gibbs wrote:
> >> On May 31, 2013, at 9:12 AM, Sean Bruno <sean_bruno at yahoo.com> wrote:
> >> 
> >>> ports building seems to be able to panic ahd(4) pretty reliably.
> >>> 
> >>> 
> >>>> db> whe
> >>>> Tracing pid 12 tid 100040 td 0xfffffe0015b53000
> >>>> ahd_freeze_devq() at ahd_freeze_devq+0x16/frame 0xffffff800039da60
> >>>> ahd_handle_seqint() at ahd_handle_seqint+0xf11/frame 0xffffff800039db00
> >>>> ahd_platform_intr() at ahd_platform_intr+0x242/frame 0xffffff800039db20
> >>>> intr_event_execute_handlers() at intr_event_execute_handlers+0xfd/frame 0xffffff800039db50
> >>>> ithread_loop() at ithread_loop+0x9b/frame 0xffffff800039dba0
> >>>> fork_exit() at fork_exit+0x11f/frame 0xffffff800039dbf0
> >>>> fork_trampoline() at fork_trampoline+0xe/frame 0xffffff800039dbf0
> >>>> --- trap 0, rip = 0, rsp = 0xffffff800039dcb0, rbp = 0 ---
> >>> 
> >>> This looks like a symptom that was reported in a lot of PR reports.  
> >>> 
> >>> I'm assuming that I need more information?
> >>> 
> >>> Sean
> >> 
> >> The panic string would be useful.  So might the msgbuf output.
> >> 
> >> --
> >> Justin
> > 
> > 
> > Full dmesg from boot, then everything that melts down until the panic.  
> > 
> > http://people.freebsd.org/~sbruno/package12.log
> > 
> > sean
> 
> Can you attempt to reproduce this with AHD_REG_PRETTY_PRINT
> enabled in your kernel?
> 
Will do.  


> Also, do you still have the panic string?
> 
> --
> Justin


Huh, I didn't do a good job of showing the panic.  Sorry about that.
Fatal trap 12: page fault while in kernel mode 
cpuid = 2; apic id = 02
fault virtual address	= 0x0
fault code		= supervisor read data, page not present
instruction pointer	= 0x20:0xffffffff803f5ec6
stack pointer	        = 0x28:0xffffff800039da40
frame pointer	        = 0x28:0xffffff800039da60
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 12 (irq30: ahd0)
[ thread pid 12 tid 100040 ]
Stopped at      ahd_freeze_devq+0x16:   movq    (%rsi),%rax
db> [-- sbruno at conserver.nyi.freebsd.org attached -- Fri May 31 15:09:31 2013]

db> 
db> 
db> last
No such command
db> whe
Tracing pid 12 tid 100040 td 0xfffffe0015b53000
ahd_freeze_devq() at ahd_freeze_devq+0x16/frame 0xffffff800039da60
ahd_handle_seqint() at ahd_handle_seqint+0xf11/frame 0xffffff800039db00
ahd_platform_intr() at ahd_platform_intr+0x242/frame 0xffffff800039db20
intr_event_execute_handlers() at intr_event_execute_handlers+0xfd/frame 0xffffff800039db50
ithread_loop() at ithread_loop+0x9b/frame 0xffffff800039dba0
fork_exit() at fork_exit+0x11f/frame 0xffffff800039dbf0
fork_trampoline() at fork_trampoline+0xe/frame 0xffffff800039dbf0
--- trap 0, rip = 0, rsp = 0xffffff800039dcb0, rbp = 0 ---
db> reset
cpu_reset: Restarting BSP
cpu_reset_proxy: Stopped CPU 2



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20130531/9048bb3f/attachment.sig>


More information about the freebsd-scsi mailing list