Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

kernel/2852: Kernel panic: lockmgr: LK_RELEASE of unlocked lock

From: Adam Skutt <LordHunter317(at)softhome.net>
Date: Sun Nov 03 2002 - 11:42:56 EST


>Number: 2852
>Category: kernel
>Synopsis: Kernel panic: lockmgr: LK_RELEASE of unlocked lock
>Confidential: no

	System      : OpenBSD 3.2
	Architecture: OpenBSD.i386
	Machine     : i586 MMX 200MHZ, 64MB Ram

>Description:
Submitter-Id: net >>Description:

 >
 >
 Under any period of intense disc IO, the kernel panics with the above  message. I haven't been able to pinpoint down to a specific  application, however I have seen it twice in 8 hours, once last night  during the nightly output scripts, and this morning as I did a large CVS  import.  

 GDB bt output:

 #0  0x1000 in ?? ()
 #1  0xd02f4acc in boot ()
 #2  0xd01cea6a in panic ()
 #3  0xd01bea11 in lockmgr ()
 #4  0xd02ac393 in ufs_unlock ()
 #5  0xd01f6d49 in null_bypass ()
 #6  0xd01f7026 in null_unlock ()
 #7  0xd01f33b5 in VOP_UNLOCK ()
 #8  0xd01ebfe3 in vclean ()
 #9  0xd01ec22e in vgonel ()
 #10 0xd01eb576 in getnewvnode ()
 #11 0xd029c1d4 in ffs_vget ()
 #12 0xd02a7906 in ufs_lookup ()
 #13 0xd01f6d49 in null_bypass ()
 #14 0xd01f706d in null_lookup ()
 #15 0xd01f2b81 in VOP_LOOKUP ()
 #16 0xd01eaa65 in lookup ()
 #17 0xd01ea735 in namei ()
 #18 0xd01f0853 in sys_lstat ()
 #19 0xd02fe169 in syscall ()
 #20 0xd0100e75 in Xsyscall ()

 can not access 0xcfbfd784, invalid address (cfbfd784)  can not access 0xcfbfd784, invalid address (cfbfd784)  Cannot access memory at address 0xcfbfd784.  

 GDB info all-registers:

 eax            0x0      0
 ecx            0x0      0
 edx            0x0      0
 ebx            0xd0688000       -798457856
 esp            0xd6a0a8fc       0xd6a0a8fc
 ebp            0xd6a0a938       0xd6a0a938
 esi            0xf99be  1022398
 edi            0x1      1
 eip            0x1000   0x1000
 eflags         0x0      0
 cs             0x0      0
 ss             0x0      0
 ds             0x0      0
 es             0x0      0
 fs             0x0      0
 gs             0x0      0
 

 Output of:
 ps -M /var/crash/bsd.0.core -axu

 USER       PID %CPU %MEM   VSZ   RSS TT   STAT STARTED       TIME COMMAND
 root     25585 16.4  0.0   236     0 ??  R     10Mar70    0:04.83 (find)
 root     23449  0.0  0.0   100     0 ??  Rs    10Mar70    0:00.34 (syslogd)
 root     32689  0.0  0.0   256     0 ??  Is    10Mar70    0:00.09 (dhcpd)
 root     26397  0.0  0.0    68     0 ??  Is    10Mar70    0:00.06 (inetd)
 root     22547  0.0  0.0   356     0 ??  Is    10Mar70    0:00.03 (sshd)
 root      6030  0.0  0.0   356     0 ??  Is    10Mar70    0:00.02 (sshd)
Do you need help?X
root 18192 0.0 0.0 80 0 ?? I 10Mar70 0:00.01 (authdaemond. root 29765 0.0 0.0 92 0 ?? I 10Mar70 0:00.49 (authdaemond. root 10249 0.0 0.0 92 0 ?? I 10Mar70 0:00.49 (authdaemond. root 7193 0.0 0.0 92 0 ?? I 10Mar70 0:00.25 (authdaemond. root 10792 0.0 0.0 68 0 ?? I 10Mar70 0:00.01 (couriertcpd) root 17403 0.0 0.0 36 0 ?? I 10Mar70 0:00.01 (logger) root 23074 0.0 0.0 72 0 ?? I 10Mar70 0:00.02 (couriertcpd) root 32652 0.0 0.0 48 0 ?? I 10Mar70 0:00.01 (logger) root 25066 0.0 0.0 228 0 ?? Is 10Mar70 0:00.15 (cron) root 31088 0.0 0.0 48 0 C0 Is+ 10Mar70 0:00.02 (getty) root 22719 0.0 0.0 48 0 C1 Is+ 10Mar70 0:00.01 (getty) root 17827 0.0 0.0 48 0 C2 Is+ 10Mar70 0:00.01 (getty) root 30791 0.0 0.0 48 0 C3 Is+ 10Mar70 0:00.02 (getty) root 26919 0.0 0.0 48 0 C5 Is+ 10Mar70 0:00.02 (getty) root 22017 0.0 0.0 172 0 ?? Is 10Mar70 0:00.90 (master) postfix 11460 0.0 0.0 216 0 ?? I 10Mar70 0:06.80 (qmgr) named 2725 0.0 0.0 692 0 ?? Is 10Mar70 0:03.20 (named) root 28766 0.0 0.0 216 0 ?? Rs 10Mar70 0:00.02 (pppd) root 18579 0.0 0.0 408 0 ?? Is 10Mar70 0:01.59 (fetchmail) postfix 3069 0.0 0.0 152 0 ?? I 10Mar70 0:00.03 (pickup) root 1236 0.0 0.0 244 0 ?? I 10Mar70 0:00.00 (cron) root 22165 0.0 0.0 376 0 ?? Is 10Mar70 0:00.02 (sh) root 2455 0.0 0.0 372 0 ?? I 10Mar70 0:00.07 (sh)
Do you need more help?X
root 19260 0.0 0.0 32 0 ?? I 10Mar70 0:00.03 (tee) root 27448 0.0 0.0 140 0 ?? I 10Mar70 0:00.05 (mail) postfix 3896 0.0 0.0 156 0 ?? I 10Mar70 0:00.18 (showq) root 23816 0.0 0.0 388 0 ?? I 10Mar70 0:00.17 (sh) root 12530 0.0 0.0 312 0 ?? I 10Mar70 0:00.02 (xargs) root 1 0.0 0.0 336 0 ?? Is 10Mar70 0:00.03 (init) root 2944 0.0 0.0 1580 0 ?? I 10Mar70 0:00.03 (sort)

 Output of:
 dmesg
 OpenBSD 3.2 (GENERIC) #25: Thu Oct 3 19:51:53 MDT 2002

     deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

 cpu0: F00F bug workaround installed
 cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 234 MHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
 real mem = 66695168 (65132K)
 avail mem = 56303616 (54984K)
 using 839 buffers containing 3436544 bytes (3356K) of memory  mainbus0 (root)
 bios0 at mainbus0: AT/286+(83) BIOS, date 08/06/98, BIOS32 rev. 0 @ 0xfb1e0  apm0 at bios0: Power Management spec V1.2  apm0: AC on, battery charge unknown
 pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xb658
 pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfd9c0/128 (6 entries)
 pcibios0: bad IRQ table checksum
 pcibios0: PCI BIOS has 6 Interrupt Routing table entries
 pcibios0: PCI Exclusive IRQs: 0
 pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev 0x00)
 pcibios0: PCI bus #0 is the last bus

 bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800  pci0 at mainbus0 bus 0: configuration mode 1 (bios)  pchb0 at pci0 dev 0 function 0 "Intel 82439TX System" rev 0x01  pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x01  pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility  wd0 at pciide0 channel 0 drive 0: <WDC AC24300L>  wd0: 16-sector PIO, LBA, 4112MB, 8912 cyl, 15 head, 63 sec, 8421840 sectors  wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2  atapiscsi0 at pciide0 channel 1 drive 0  scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: <MITSUMI, CD-ROM FX3400S!B, u01> SCSI0 5/cdrom removable  cd0(pciide0:1:0): using PIO mode 4, DMA mode 2  uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11  usb0 at uhci0: USB revision 1.0
 uhub0 at usb0
 uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1  uhub0: 2 ports with 2 removable, self powered  "Intel 82371AB Power Mgmt" rev 0x01 at pci0 dev 7 function 3 not configured  vga1 at pci0 dev 10 function 0 "Cirrus Logic CL-GD5464" rev 0x01  wsdisplay0 at vga1: console (80x25, vt100 emulation)  wsdisplay0: screen 1-5 added (80x25, vt100 emulation)  fxp0 at pci0 dev 11 function 0 "Intel 82557" rev 0x05: irq 9, address 00:08:c7:49:2d:aa  inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0  isa0 at pcib0
 isadma0 at isa0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0  pcppi0 at isa0 port 0x61
 midi0 at pcppi0: <PC speaker>
 sysbeep0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 npx0 at isa0 port 0xf0/16: using exception 16  pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo  fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec  isapnp0 at isa0 port 0x279: read port 0x203  "ESS ES1868 Plug and Play AudioD, ESS0000, , " at isapnp0 port 0x800/8 not configured  ess0 at isapnp0 "ESS ES1868 Plug and Play AudioD, ESS1868, , " port 0x220/16,0x388/4,0x330/2 irq 5 drq 1,0: ESS Technology ES1868 [version 0x688b]  ess0: audio1 interrupting at irq 5
 audio0 at ess0
 opl0 at ess0: model OPL3
 midi1 at opl0: <ESS Yamaha OPL3>
 joy0 at isapnp0 "ESS ES1868 Plug and Play AudioD, ESS0001, , " port 0x201/1
 wdc2 at isapnp0 "ESS ES1868 Plug and Play AudioD, ESS0002, , " port 0x168/8,0x36e/2 irq 10
 pccom3 at isapnp0 "Rockwell K56Flex Plug & Play Mo, RSS0251, , " port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 biomask cc40 netmask ce40 ttymask cec2
 pctr: 586-class performance counters and user-level cycle counter enabled  dkcsum: wd0 matched BIOS disk 80
 root on wd0a
 rootdev=0x0 rrootdev=0x300 rawdev=0x302  WARNING: / was not properly unmounted
 nd6_setmtu0: new link MTU on ppp0 (1006) is too small for IPv6  

 Output of:
 mount

 /dev/wd0a on / type ffs (local, softdep)
 /dev/wd0d on /usr type ffs (local, softdep)
 /usr/cvs on /var/cvs type null (local)
 

 Output of:
 /usr/sbin/pkg_info

 bash-2.05a         GNU Bourne Again Shell
 links-0.96         text browser, displays while downloading
 ncftp-3.0.4        ftp replacement with advanced user interface
 gdbm-1.8.0         GNU dbm
 procmail-3.22      filtering local mail delivery agent
 postfix-1.1.6      fast, secure sendmail replacement
 courier-imap-1.4.2 imap server for maildir format mailboxes
Can't find what you're looking for?X
jpeg-6b IJG's JPEG compression utilities libungif-4.1.0b1 tools and library routines for working with GIF images tiff-3.5.7 tools and library routines for working with TIFF images png-1.2.1 library for manipulating PNG images emacs-21.1 GNU editor: extensible, customizable, self documenting fetchmail-5.9.6 mail retrieval utility for POP2, POP3, KPOP, IMAP and more bzip2-1.0.2 block-sorting file compressor, unencumbered bind-9.2.0 Berkeley Internet Name Daemon iodbc-2.50.3 ODBC 2.x driver manager openldap-client-2.0.23 Open source LDAP software (client) c-client-4.44 University of Washington's c-client mail access routines postgresql-7.1.3-odbc PostgreSQL RDBMS

 postgresql-docs-7.1.3 PostgreSQL RDBMS documentation  php4-4.1.2-imap-ldap-postgresql server-side HTML-embedded scripting language    
 >>How-To-Repeat:
 >  
 >

 No definite answer. Seems to happen everytime intense disc IO occurs.  
 >>Fix:
 >  
 >

 Unknown. Will try rebooting without Softupdates enabled and seeing if  the problem goes away. Will also recompile kernel '-ggdb' so I can  provide more helpful crash information.    
Can we help you?X

>How-To-Repeat:
Received on Thu Nov 7 15:57:33 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:36 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library