Date: Thu, 17 Jan 2002 10:16:46 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: Current <FreeBSD-current@FreeBSD.org> Subject: panic: bioqdisksort() Message-ID: <7m7kqh22v5.wl@waterblue.imgsrc.co.jp>
next in thread | raw e-mail | index | archive | help
I got a panic with kernel around "Jan 16 09:02:54 JST". Fatal trap 12: page fault while in kernel mode cpuid = 0; lapic.id = 00000000 fault virtual address = 0xcaeef040 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01cc833 stack pointer = 0x10:0xf4f33a84 frame pointer = 0x10:0xf4f33a90 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 19128 (make) kernel: type 12 trap, code=0 Stopped at bioqdisksort+0x2b: movl 0xc0(%ebx),%eax db> t bioqdisksort(c8ea80a8,caeeef80,c8ea7000,f4f33adc,c014e3de) at bioqdisksort+0x2b adstrategy(caeeef80) at adstrategy+0x39 arstrategy(d54f271c,d54f271c,ec363c20,f4f33b08,c019f8d3) at arstrategy+0x2de diskstrategy(d54f271c,c8efd100,d54f271c,0,f4f33b14) at diskstrategy+0xcd spec_strategy(f4f33b2c,f4f33b38,c0290821,f4f33b2c,f4f33bfc) at spec_strategy+0x19b spec_vnoperate(f4f33b2c,f4f33bfc,d54f271c,0,c0334380) at spec_vnoperate+0x15 ufs_strategy(f4f33b68,f4f33b74,c01ec78e,f4f33b68,f2c42f00) at ufs_strategy+0xa9 ufs_vnoperate(f4f33b68) at ufs_vnoperate+0x15 breadn(f2c42f00,0,800,0,0) at breadn+0xc2 bread(f2c42f00,0,800,0,f4f33bfc) at bread+0x1d ffs_read(f4f33c20,2000,f4f33d20,2000,0) at ffs_read+0x2c3 vn_read(caeed100,f4f33c90,ca9f2200,0,f4ea6404) at vn_read+0x130 dofileread(f4ea6404,caeed100,3,8088000,2000) at dofileread+0xae read(f4ea6404,f4f33d20,807e0e0,8095b00,8095b00) at read+0x51 syscall(2f,2f,2f,8095b00,8095b00) at syscall+0x25f syscall_with_err_pushed() at syscall_with_err_pushed+0x1b --- syscall (3, FreeBSD ELF, read), eip = 0x8061cd7, esp = 0xbfbfe748, ebp = 0xbfbfe764 --- (kgdb) where #0 dumpsys () at ../../../kern/kern_shutdown.c:492 #1 0xc01bdc6b in boot (howto=260) at ../../../kern/kern_shutdown.c:335 #2 0xc01be10d in panic (fmt=0xc02eac6a "from debugger") at ../../../kern/kern_shutdown.c:634 #3 0xc013fb4d in db_panic (addr=-1071855565, have_addr=0, count=-1, modif=0xf4f338f0 "") at ../../../ddb/db_command.c:452 #4 0xc013faeb in db_command (last_cmdp=0xc0339d64, cmd_table=0xc0339b84, aux_cmd_tablep=0xc03306f8, aux_cmd_tablep_end=0xc03306fc) at ../../../ddb/db_command.c:348 #5 0xc013fbb7 in db_command_loop () at ../../../ddb/db_command.c:474 #6 0xc0141f33 in db_trap (type=12, code=0) at ../../../ddb/db_trap.c:72 #7 0xc02bfd4a in kdb_trap (type=12, code=0, regs=0xf4f33a44) at ../../../i386/i386/db_interface.c:167 #8 0xc02d0da0 in trap_fatal (frame=0xf4f33a44, eva=3404656704) at ../../../i386/i386/trap.c:837 #9 0xc02d0ae9 in trap_pfault (frame=0xf4f33a44, usermode=0, eva=3404656704) at ../../../i386/i386/trap.c:756 #10 0xc02d0653 in trap (frame={tf_fs = -1071972328, tf_es = -1070006256, tf_ds = 16, tf_edi = -185965564, tf_esi = -924155736, tf_ebp = -185386352, tf_isp = -185386384, tf_ebx = -890310784, tf_edx = -890311808, tf_ecx = -924160000, tf_eax = -185965776, tf_trapno = 12, tf_err = 0, tf_eip = -1071855565, tf_cs = 8, tf_eflags = 66178, tf_esp = -924155904, tf_ss = 13507}) at ../../../i386/i386/trap.c:426 #11 0xc01cc833 in bioqdisksort (bioq=0xc8ea80a8, bp=0xcaeeef80) at ../../../kern/subr_disklabel.c:91 #12 0xc014c951 in adstrategy (bp=0xcaeeef80) at ../../../dev/ata/ata-disk.c:293 #13 0xc014e3de in arstrategy (bp=0xd54f271c) at ../../../dev/ata/ata-raid.c:243 #14 0xc01cc6d5 in diskstrategy (bp=0xd54f271c) at ../../../kern/subr_disk.c:390 #15 0xc019f8d3 in spec_strategy (ap=0xf4f33b2c) at ../../../fs/specfs/spec_vnops.c:494 #16 0xc019f1ed in spec_vnoperate (ap=0xf4f33b2c) at ../../../fs/specfs/spec_vnops.c:119 #17 0xc0290821 in ufs_strategy (ap=0xf4f33b68) at vnode_if.h:762 #18 0xc0290fe5 in ufs_vnoperate (ap=0xf4f33b68) at ../../../ufs/ufs/ufs_vnops.c:2657 #19 0xc01ec78e in breadn (vp=0xf2c42f00, blkno=0, size=2048, rablkno=0x0, rabsize=0x0, cnt=0, cred=0x0, bpp=0xf4f33bfc) at vnode_if.h:762 #20 0xc01ec6c9 in bread (vp=0xf2c42f00, blkno=0, size=2048, cred=0x0, bpp=0xf4f33bfc) at ../../../kern/vfs_bio.c:585 #21 0xc02886fb in ffs_read (ap=0xf4f33c20) at ../../../ufs/ufs/ufs_readwrite.c:278 #22 0xc01ff044 in vn_read (fp=0xcaeed100, uio=0xf4f33c90, cred=0xca9f2200, flags=0, td=0xf4ea6404) at vnode_if.h:279 #23 0xc01d5306 in dofileread (td=0xf4ea6404, fp=0xcaeed100, fd=3, buf=0x8088000, nbyte=8192, offset=-1, flags=0) at ../../../sys/file.h:179 #24 0xc01d5189 in read (td=0xf4ea6404, uap=0xf4f33d20) at ../../../kern/sys_generic.c:133 #25 0xc02d118b in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134830848, tf_esi = 134830848, tf_ebp = -1077942428, tf_isp = -185385612, tf_ebx = 134734048, tf_edx = 134774784, (kgdb) up 11 #11 0xc01cc833 in bioqdisksort (bioq=0xc8ea80a8, bp=0xcaeeef80) at ../../../kern/subr_disklabel.c:91 91 TAILQ_FOREACH(bn, &bioq->queue, bio_queue) (kgdb) list 86 struct bio *bn; 87 struct bio *be; 88 struct thread *td = curthread; 89 90 if (td && td->td_ksegrp->kg_nice > 0) { 91 TAILQ_FOREACH(bn, &bioq->queue, bio_queue) 92 if (BIOTOBUF(bp)->b_vp != BIOTOBUF(bn)->b_vp) 93 break; 94 if (bn != NULL) { 95 mtx_lock(&dksort_mtx); -- Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc. <kuriyama@FreeBSD.org> // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7m7kqh22v5.wl>