Date: Tue, 18 May 2004 12:56:21 -0400 From: Mike Tancsa <mike@sentex.net> To: Bruce Evans <bde@zeta.org.au> Cc: freebsd-current@freebsd.org Subject: Re: sio / puc wedging on both -current and -stable (with trace) Message-ID: <6.0.3.0.0.20040518115134.034449d8@64.7.153.2> In-Reply-To: <20040518132157.B8772@gamplex.bde.org> References: <6.0.3.0.0.20040517154946.06d23d60@64.7.153.2> <20040518132157.B8772@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 11:50 PM 17/05/2004, Bruce Evans wrote: >... Type "s", then hold down the Enter key to repeat the "s" command until >control returns here, then keep holding down the Enter key until something >loops (may take many hundreds of commands). Record all the output using >a serial console (don't type it in) and send it to me. OK, I have a trace. Here is a quick snippet. I will send you the complete list which is quite long offlist db> trace siointr1(c11cf000,c032e6c8,c02b4996,c11cf000,cbf00010) at siointr1+0x139 siointr(c11cf000,cbf00010,a002,cbf036c0,100c0) at siointr+0xc Xfastintr4(c11cfc00,c032e6f0,c02a73ca,c11cfc00,c0a3f260) at Xfastintr4+0x16 siointr(c11cfc00) at siointr+0xc puc_intr(c11b5200,63103a,0,0,c032e758) at puc_intr+0x4e intr_mux(c0a3f260,0,c0000010,10,cbf00010) at intr_mux+0x1f Xresume12() at Xresume12+0x2b --- interrupt, eip = 0xc02ba5b6, esp = 0xc032e750, ebp = 0xc032e758 --- cpu_idle(10,f29,2,bfebfbff,1080a) at cpu_idle+0xe idle_loop() at idle_loop+0x1d db> s Stopped at siointr1+0x148: movl 0x38(%esi),%ebx db> Stopped at siointr1+0x14b: cmpl 0x2c(%esi),%ebx db> Stopped at siointr1+0x14e: jb siointr1+0x158 db> Stopped at siointr1+0x158: cmpb $0,0x148(%esi) db> Stopped at siointr1+0x15f: jz siointr1+0x170 db> Stopped at siointr1+0x170: incl com_events db> Stopped at siointr1+0x176: call schedsofttty db> Stopped at schedsofttty: movl $0x10000,%eax db> Stopped at schedsofttty+0x5: orl %eax,idelayed db> Stopped at schedsofttty+0xb: ret db> Stopped at siointr1+0x17b: movb 0xfffffff7(%ebp),%dl db> Stopped at siointr1+0x17e: movb %dl,0(%ebx) db> Stopped at siointr1+0x180: movl 0x40(%esi),%eax db> Stopped at siointr1+0x183: movb 0xfffffffc(%ebp),%dl db> Stopped at siointr1+0x186: movb %dl,0(%eax,%ebx,1) db> Stopped at siointr1+0x189: incl %ebx db> Stopped at siointr1+0x18a: movl %ebx,0x38(%esi) db> Stopped at siointr1+0x18d: cmpl 0x34(%esi),%ebx db> Stopped at siointr1+0x190: jnz siointr1+0x1a7 db> Stopped at siointr1+0x1a7: movb 0xfffffffc(%ebp),%al db> Stopped at siointr1+0x1aa: testb $0x2,%al db> Stopped at siointr1+0x1ac: jz siointr1+0x1b4 db> Stopped at siointr1+0x1b4: movl 0x88(%esi),%edx db> Stopped at siointr1+0x1ba: inb %dx,%al db> Stopped at siointr1+0x1bb: movb %al,%dl db> Stopped at siointr1+0x1bd: andb $0x7f,%dl db> Stopped at siointr1+0x1c0: movb %dl,0xfffffffc(%ebp) db> Stopped at siointr1+0x1c3: testb $0x1f,%al db> Stopped at siointr1+0x1c5: jnz siointr1+0x94 db> Stopped at siointr1+0x94: movb 0xfffffffc(%ebp),%dl db> Stopped at siointr1+0x97: testb $0x1,%dl db> Stopped at siointr1+0x9a: jnz siointr1+0xa4 db> Stopped at siointr1+0xa4: movl 0x7c(%esi),%edx db> Stopped at siointr1+0xa7: inb %dx,%al db> Stopped at siointr1+0xa8: movb %al,0xfffffff7(%ebp) db> Stopped at siointr1+0xab: testb $0x1c,0xfffffffc(%ebp) db> Stopped at siointr1+0xaf: jz siointr1+0x12f db> Stopped at siointr1+0x12f: incl 0x1b8(%esi) db> Stopped at siointr1+0x135: cmpb $0,0x26(%esi) db> Stopped at siointr1+0x139: jz siointr1+0x148 db> Stopped at siointr1+0x148: movl 0x38(%esi),%ebx db> Stopped at siointr1+0x14b: cmpl 0x2c(%esi),%ebx db> Stopped at siointr1+0x14e: jb siointr1+0x158 db> Stopped at siointr1+0x158: cmpb $0,0x148(%esi) db> Stopped at siointr1+0x15f: jz siointr1+0x170 . . < stuff deleted > . Stopped at siointr1+0x1c5: jnz siointr1+0x94 db> Stopped at siointr1+0x94: movb 0xfffffffc(%ebp),%dl db> Stopped at siointr1+0x97: testb $0x1,%dl db> Stopped at siointr1+0x9a: jnz siointr1+0xa4 db> Stopped at siointr1+0xa4: movl 0x7c(%esi),%edx db> Stopped at siointr1+0xa7: inb %dx,%al db> Stopped at siointr1+0xa8: movb %al,0xfffffff7(%ebp) db> Stopped at siointr1+0xab: testb $0x1c,0xfffffffc(%ebp) db> Stopped at siointr1+0xaf: jz siointr1+0x12f db> Stopped at siointr1+0x12f: incl 0x1b8(%esi) db> Stopped at siointr1+0x135: cmpb $0,0x26(%esi) db> Stopped at siointr1+0x139: jz siointr1+0x148 db> Stopped at siointr1+0x148: movl 0x38(%esi),%ebx db> Stopped at siointr1+0x14b: cmpl 0x2c(%esi),%ebx db> trace siointr1(c11cf000,c032e6c8,c02b4996,c11cf000,cbf00010) at siointr1+0x14b siointr(c11cf000,cbf00010,a005,cbf036c0,10060) at siointr+0xc Xfastintr4(c11cfc00,c032e6f0,c02a73ca,c11cfc00,c0a3f260) at Xfastintr4+0x16 siointr(c11cfc00) at siointr+0xc puc_intr(c11b5200,63103a,0,0,c032e758) at puc_intr+0x4e intr_mux(c0a3f260,0,c0000010,10,cbf00010) at intr_mux+0x1f Xresume12() at Xresume12+0x2b --- interrupt, eip = 0xc02ba5b6, esp = 0xc032e750, ebp = 0xc032e758 --- cpu_idle(10,f29,2,bfebfbff,1080a) at cpu_idle+0xe idle_loop() at idle_loop+0x1d db> panic panic: from debugger Debugger("panic") Fatal trap 3: breakpoint instruction fault while in kernel mode instruction pointer = 0x8:0xc02b3925 stack pointer = 0x10:0xc032e4bc frame pointer = 0x10:0xc032e4c4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = Idle interrupt mask = tty Stopped at siointr1+0x14b: cmpl 0x2c(%esi),%ebx db> panic panic: from debugger Uptime: 1h18m19s dumping to dev #ad/0x20001, offset 1575040 dump ata0: resetting devices .. done 254 253 252 251 250 249 248 247 246 ---Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.3.0.0.20040518115134.034449d8>