Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2002 17:14:37 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        current@freebsd.org
Subject:   FFS namei panic
Message-ID:  <Pine.BSF.4.21.0207161658440.46206-100000@root.org>

next in thread | raw e-mail | index | archive | help
This was also reported a little earlier in thread
<20020712183907.GA570@blarf.homeip.net> but the reporter was not able to
give msgbuf details.  This panic occurred on an i386 UP box while rsyncing
from another box.  Let me know if you need other info.

Here is what I could find:

panic: from debugger
panic messages:
---
panic: Most recently used by devbuf

panic: from debugger
Uptime: 39m12s
Dumping 126 MB
ata0: resetting devices .. done
 16 32 48 64 80 96 112
---
#0  doadump () at ../../../kern/kern_shutdown.c:213
213             dumping++;
(kgdb) bt
#0  doadump () at ../../../kern/kern_shutdown.c:213
#1  0xc01ebc15 in boot (howto=260) at ../../../kern/kern_shutdown.c:345
#2  0xc01ebdc9 in panic () at ../../../kern/kern_shutdown.c:491
#3  0xc01402cd in db_panic () at ../../../ddb/db_command.c:449
#4  0xc014026c in db_command (last_cmdp=0xc0336320, cmd_table=0x0, 
    aux_cmd_tablep=0xc032f738, aux_cmd_tablep_end=0xc032f73c)
    at ../../../ddb/db_command.c:345
#5  0xc014033b in db_command_loop () at ../../../ddb/db_command.c:471
#6  0xc014276a in db_trap (type=3, code=0) at ../../../ddb/db_trap.c:72
#7  0xc02c0374 in kdb_trap (type=3, code=0, regs=0xcce2d74c)
    at ../../../i386/i386/db_interface.c:161
#8  0xc02cdaec in trap (frame=
      {tf_fs = -1070268392, tf_es = 16, tf_ds = 16, tf_edi = -1061681920,
tf_esi = 256, tf_ebp = -857548912, tf_isp = -857548936, tf_ebx = 0, tf_edx
= 0, tf_ecx = 32, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip =
-1070856731, tf_cs = 8, tf_eflags = 642, tf_esp = -1070457944, tf_ss =
-857548892})
    at ../../../i386/i386/trap.c:604
#9  0xc02c1748 in calltrap () at {standard input}:98
#10 0xc01ebdb4 in panic (fmt=0x0) at ../../../kern/kern_shutdown.c:478

[--- begin relevant part ---]

#11 0xc02a1acc in mtrash_ctor (mem=0xc19bf800, size=0, arg=0x0)
    at ../../../vm/uma_dbg.c:135
#12 0xc02a0a27 in uma_zalloc_arg (zone=0xc0b80500, udata=0x0, flags=0)
    at ../../../vm/uma_core.c:1358
#13 0xc01e2dcc in malloc (size=7, type=0xc035c420, flags=0)
    at ../../../kern/kern_malloc.c:171
#14 0xc0221c63 in allocbuf (bp=0xc405fb88, size=2048)
    at ../../../kern/vfs_bio.c:2585
#15 0xc0221a34 in getblk (vp=0xc19a3b58, blkno=0, size=2048, slpflag=0, 
    slptimeo=0) at ../../../kern/vfs_bio.c:2477
#16 0xc021f577 in breadn (vp=0xc19a3b58, blkno=0, size=2048, rablkno=0x0, 
    rabsize=0x0, cnt=0, cred=0x0, bpp=0x0) at ../../../kern/vfs_bio.c:691
#17 0xc021f544 in bread (vp=0xc19a3b58, blkno=0, size=2048, cred=0x0, 
    bpp=0xcce2d954) at ../../../kern/vfs_bio.c:673
#18 0xc0281b0e in ffs_blkatoff (vp=0xc19a3b58, offset=0, res=0x0, 
    bpp=0xcce2d9c8) at ../../../ufs/ffs/ffs_subr.c:91
#19 0xc028856e in ufs_lookup (ap=0xcce2daf0)
    at ../../../ufs/ufs/ufs_lookup.c:266
#20 0xc028e51f in ufs_vnoperate (ap=0x0) at
../../../ufs/ufs/ufs_vnops.c:2724
#21 0xc0223bc1 in vfs_cache_lookup (ap=0x0) at vnode_if.h:73
#22 0xc028e51f in ufs_vnoperate (ap=0x0) at
../../../ufs/ufs/ufs_vnops.c:2724
#23 0xc02274d4 in lookup (ndp=0xcce2dc30) at vnode_if.h:48
#24 0xc0226f74 in namei (ndp=0xcce2dc30) at ../../../kern/vfs_lookup.c:175
#25 0xc023033a in lstat (td=0xc18da780, uap=0xcce2dd14)
    at ../../../kern/vfs_syscalls.c:1536
#26 0xc02ce27c in syscall (frame=
    {tf_fs = -1078001617, tf_es = 47, tf_ds = -1078001617, tf_edi =
16877, tf_esi = 135189760, tf_ebp = -1077939860, tf_isp = -857547404, tf_ebx =
135189760, tf_edx = 134674144, tf_ecx = 134674186, tf_eax = 190, tf_trapno
= 12, tf_err = 2, tf_eip = 671886820, tf_cs = 31, tf_eflags = 647, tf_esp
= -1077939888, tf_ss = 47}) at ../../../i386/i386/trap.c:1049
#27 0xc02c177d in syscall_with_err_pushed () at {standard input}:128
---Can't read userspace from dump, or kernel process---

-------------------------------------------

Dmesg output:
ahc0: Someone reset channel A
../../../vm/uma_core.c:1332: could sleep with "kernel linker" locked from
../../../kern/kern_linker.c:1797
Memory modified after free 0xc19bf800(2044)
panic: Most recently used by devbuf

panic: from debugger
Uptime: 39m12s
Dumping 126 MB
ata0: resetting devices .. done
 16 32 48 64 80 96 112

-------------------------------------------

FreeBSD moe 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Jul 15 13:29:04 PDT
2002     root@moe:/usr/src/sys/i386/compile/MOE  i386


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?Pine.BSF.4.21.0207161658440.46206-100000>