From owner-FreeBSD-users-jp@jp.freebsd.org  Thu Jan 22 13:40:51 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id NAA15643
	Thu, 22 Jan 1998 13:40:51 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id NAA15636
	for <freebsd-users-jp@jp.freebsd.org>; Thu, 22 Jan 1998 13:40:49 +0900 (JST)
Received: from fdmmail.fujitsu.co.jp by fgwmail.fujitsu.co.jp (8.8.8+2.7Wbeta7/3.6Wbeta7-MX971215-Fujitsu Mail Gateway)
	id NAA29594; Thu, 22 Jan 1998 13:40:48 +0900 (JST)
Received: from sumomo.mfd.cs.fujitsu.co.jp by fdmmail.fujitsu.co.jp (8.8.7+2.7Wbeta7/3.5Wpl3-971107-Fujitsu Domain Mail Master)
	id NAA16256; Thu, 22 Jan 1998 13:40:17 +0900 (JST)
Received: from sumomo (localhost [127.0.0.1]) by sumomo.mfd.cs.fujitsu.co.jp (8.7.5+2.6Wbeta7/3.5Wbeta) with ESMTP id NAA17747 for <freebsd-users-jp@jp.freebsd.org>; Thu, 22 Jan 1998 13:40:15 +0900 (JST)
Message-Id: <199801220440.NAA17747@sumomo.mfd.cs.fujitsu.co.jp>
To: FreeBSD-users-jp@jp.freebsd.org
From: Toshihiko Kodama / =?ISO-2022-JP?B?GyRCPi42TBsoQg==?=  	=?ISO-2022-JP?B?GyRCTXhJJxsoQg==?=  <kodama@ayame.mfd.cs.fujitsu.co.jp>
In-reply-to: Your message of Mon, 19 Jan 1998 11:12:11 +0900.
        <19980119111211M.kato@gneiss.eps.nagoya-u.ac.jp> 
Date: Thu, 22 Jan 1998 13:40:15 +0900
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: FreeBSD-users-jp 23597
Subject: [FreeBSD-users-jp 23597] Re: NULLFS 
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$B>.6L!wIY;NDL$G$9(B(^_^)v

1998/01/19 11:12 $B:"!"(B
kato@ganko.eps.nagoya-u.ac.jp $B$5$s$N=q$+$l$?(B $B!X(B [FreeBSD-users-jp 23408] Re: NULLFS  $B!Y(B $B$K$F!"(B


>>$B$H$$$&$3$H$G!%(Bnullfs$B$O$^$@C1=c$J$N$G(Bunionfs$B$[$I$R$I$/$O$J$$$N$G$9$,!$(B
>>$B$=$l$G$b0BDj$7$F;H$($k%l%Y%k$K$O$J$$$H;W$C$F$$$^$9!%0JA0$A$g$C$H$@$1D/(B
>>$B$a$F$_$?$N$G$9$,!$(Bvnode$B$N(Block/unlock$B$,2x$7$+$C$?$j$7$^$9!%(B3.0-current
>>$B$G$O(B4.4BSD-Lite2$B%Y!<%9$K$J$j!$$A$g$C$H$O$^$H$b$K$J$C$?$h$&$J5$$b$9$k$N(B
>>$B$G$9$,!$$=$b$=$b$*<i$j$9$k?M$,$$$J$$$N$G4m81$G$9!%(Bnullfs$B$N>l9g!$(Bvnode
>>$B$N(Block/unlock$B$O(Bnullfs layer$B$G$O9T$C$F$$$J$$$N$G$9$,!$$3$l$r!$(B

  cvsup $B$G(B 3.0-current $B$K$7$F$A$g$C$H;n$7$F8+$^$7$?!#(B
config $BD>8e$K(B panic $B$7$F$7$^$$$^$9(B(;_;)
$B!t0-2=$7$F$k!)(B $B$D$$$G$@$C$?$N$G(B options DDB $B$D$s$G$_$^$7$?!#(B

  $B$H$j$"$($:$O!"%j%s%/$GF($2$l$k$N$GLdBj$J$$$s$G$9$,!&!&!&!#(B
$BB3$-$rOC$9$J$i!"(Btech $B$+$J!)(B

--- $B$3$3$+$i(B
# mount -t null /usr1/src-current /a
# cd /a/sys/i386/conf/
# config WORK 

# gdb -k
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc.
(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.0
(kgdb) core-file /var/crash/vmcore.0
IdlePTD 25a000
current pcb at 2058e0
panicstr: lockmgr: locking against myself
panic messages:
---
panic: lockmgr: locking against myself
panic: from debugger

dumping to dev 20001, offset 229376
dump 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=260) at ../../kern/kern_shutdown.c:285
285                                     dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=260) at ../../kern/kern_shutdown.c:285
#1  0xf0117e7f in panic (fmt=0xf01013d9 "from debugger")
    at ../../kern/kern_shutdown.c:425
#2  0xf01013f5 in db_panic (dummy1=-266598675, dummy2=0, dummy3=-1, 
    dummy4=0xf3ac8924 "") at ../../ddb/db_command.c:440
#3  0xf01012e5 in db_command (last_cmdp=0xf01f5ac4, cmd_table=0xf01f5914, 
    aux_cmd_tablep=0xf021b0f0) at ../../ddb/db_command.c:337
#4  0xf0101462 in db_command_loop () at ../../ddb/db_command.c:462
#5  0xf0103b23 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71
#6  0xf01c04c1 in kdb_trap (type=3, code=0, regs=0xf3ac8a10)
    at ../../i386/i386/db_interface.c:157
#7  0xf01ca8d0 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 300, 
      tf_esi = -267308913, tf_ebp = -206796204, tf_isp = -206796232, 
      tf_ebx = 256, tf_edx = -266598731, tf_ecx = 0, tf_eax = 18, 
      tf_trapno = 3, tf_err = 0, tf_eip = -266598675, tf_cs = -206831608, 
      tf_eflags = 582, tf_esp = -266598747, tf_ss = -267289068})
    at ../../i386/i386/trap.c:473
#8  0xf01c06ed in Debugger (msg=0xf0117e14 "panic")
    at ../../i386/i386/db_interface.c:316
#9  0xf0117e76 in panic (fmt=0xf011308f "lockmgr: locking against myself")
    at ../../kern/kern_shutdown.c:423
#10 0xf0113300 in lockmgr (lkp=0xf056d900, flags=16908290, 
    interlkp=0xf054245c, p=0xf057f600) at ../../kern/kern_lock.c:288
#11 0xf0136204 in vop_stdlock (ap=0xf3ac8b6c) at ../../kern/vfs_default.c:200
#12 0xf01aaae5 in ufs_vnoperate (ap=0xf3ac8b6c)
    at ../../ufs/ufs/ufs_vnops.c:2224
#13 0xf0141bcc in null_bypass (ap=0xf3ac8b6c)
    at ../../miscfs/nullfs/null_vnops.c:293
#14 0xf0141e98 in null_lock (ap=0xf3ac8b6c)
    at ../../miscfs/nullfs/null_vnops.c:506
#15 0xf013e3af in vn_lock (vp=0xf0584a00, flags=196610, p=0xf057f600)
    at vnode_if.h:811
#16 0xf0139414 in vfs_object_create (vp=0xf0584a00, p=0xf057f600, 
    cred=0xf057e200, waslocked=0) at ../../kern/vfs_subr.c:2135
#17 0xf01380db in vget (vp=0xf0584a00, flags=0, p=0xf057f600)
    at ../../kern/vfs_subr.c:919
#18 0xf014149b in null_node_find (mp=0xf057f200, lowervp=0xf0542400)
    at ../../miscfs/nullfs/null_subr.c:114
#19 0xf01415a9 in null_node_create (mp=0xf057f200, lowervp=0xf0542400, 
    newvpp=0xf3ac8f14) at ../../miscfs/nullfs/null_subr.c:193
#20 0xf0141c4a in null_bypass (ap=0xf3ac8da0)
    at ../../miscfs/nullfs/null_vnops.c:330
#21 0xf0141cae in null_lookup (ap=0xf3ac8da0)
    at ../../miscfs/nullfs/null_vnops.c:361
#22 0xf0136d39 in lookup (ndp=0xf3ac8f04) at vnode_if.h:31
#23 0xf01367f8 in namei (ndp=0xf3ac8f04) at ../../kern/vfs_lookup.c:155
#24 0xf013d977 in vn_open (ndp=0xf3ac8f04, fmode=1, cmode=420)
    at ../../kern/vfs_vnops.c:123
#25 0xf013a65d in open (p=0xf057f600, uap=0xf3ac8f94)
    at ../../kern/vfs_syscalls.c:879
#26 0xf01cb2ff in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 0, 
      tf_esi = 74948, tf_ebp = -272639084, tf_isp = -206794780, 
      tf_ebx = 269004896, tf_edx = 0, tf_ecx = 0, tf_eax = 5, tf_trapno = 7, 
      tf_err = 7, tf_eip = 268904721, tf_cs = 31, tf_eflags = 646, 
      tf_esp = -272639132, tf_ss = 39}) at ../../i386/i386/trap.c:993
#27 0x10072911 in ?? ()
#28 0x44b2 in ?? ()
#29 0x1095 in ?? ()
(kgdb) quit
--- $B$3$3$^$G(B


-- 
    $BIY;NDL(B($B3t(B) $B#H#P#C5;=QIt(B          | Erst Erfu"llung, Anfang der Bewegung,
    TEL:044-754-3245 / ext:7113-4311 |     Anfang des Nervenanschlusses,
    $B>.6L(B $BMxI'(B (Kodama Toshihiko)     |      Also lo"se sie es von links,
    kodama@ayame.mfd.cs.fujitsu.co.jp|        Kleidung, single start!
