Date: Sun, 7 Jul 2002 06:23:23 -0400 (EDT) From: Jeff Roberson <jroberson@chesapeake.net> To: Don Lewis <dl-freebsd@catspoiler.org> Cc: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/tools vnode_if.awk Message-ID: <20020707062124.Y25604-100000@mail.chesapeake.net> In-Reply-To: <200207070904.g6793v0M022279@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 7 Jul 2002, Don Lewis wrote: > On 7 Jul, Jeff Roberson wrote: > > On Sat, 6 Jul 2002, Jeff Roberson wrote: > > >> - Use 'options DEBUG_VFS_LOCKS' instead of the DEBUG_ALL_VFS_LOCKS > >> environment variable to enable the lock verifiction code. > > > If you have a crash test box I would appreciate it if you would enable > > this kernel option. If it catches any errors you will be droped into the > > debugger where you can get a backtrace (type: tr) and mail it to me && > > current@ to avoid dups. > > It wasn't able to sucessfully boot with this enabled. I'm hand > transcribing this, so apologies for any typos: > > [fsck finishes] > Doing initial network setup: host.conf hostname. > VOP_READ: 0xc6737800 is not locked but should be > Debugger("Lock violation. > ") > > > Debugger(c0420fe4) at Debugger+0x45 > vn_rdwr(0,c6737800,c6425000,55ac,0,0,1,8,c22c7200,df241aec,c22cc0c0) at > vn_rdwr+0x18d > linker_hints_lookup(c04750a0,c,c62df000,5,0) at > linker_hints_lookup+0x2d9 > linker_search_module(c62df000,5,0,0,c0415120) at > linker_search_module+0x43 > linker_load_module(0,c62df000,0,0,df241cdc) at linker_load_module+0x72 > kldload(c22cc0c0,df241d14,1,0,296) at kldload+0xc3 > syscall(...) Oh, I don't use kernel modules on my main dev box. Thanks! I'll have this resolved tomorrow. More below. > > > If I disable the panic and continue the boot process, I see the > following in dmesg: > > > da0 at ahc0 bus 0 target 0 lun 0 > da0: <SEAGATE ST336706LW 010A> Fixed Direct Access SCSI-3 device > da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enable > d > da0: 35003MB (71687370 512 byte sectors: 255H 63S/T 4462C) > /usr/src/sys/vm/uma_core.c:1332: could sleep with "kernel linker" locked from /u > sr/src/sys/kern/kern_linker.c:1798 > VOP_READ: 0xc6737800 is not locked but should be > VOP_GETVOBJECT: 0xc6737800 is not locked but should be > VOP_GETVOBJECT: 0xc6737800 is not locked but should be > VOP_BMAP: 0xc6737800 is not locked but should be > VOP_GETVOBJECT: 0xc6737800 is not locked but should be > VOP_GETVOBJECT: 0xc6737800 is not locked but should be > VOP_READ: 0xc6737800 is not locked but should be > VOP_READ: 0xc6737800 is not locked but should be > VOP_READ: 0xc6737800 is not locked but should be > These are all also from the linker. I just verified by loading a module. Thanks, Jeff 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?20020707062124.Y25604-100000>