Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2004 13:32:55 -0700 (PDT)
From:      Digital Node <eclipsetyperx@yahoo.com>
To:        freebsd-i386@freebsd.org
Subject:   panic: lockmgr: locking against myself
Message-ID:  <20040604203255.23343.qmail@web14522.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hello, I came across this bug last night, I am running
5.2.1 released on a dell laptop (p3 650, 128mb ram,
10gb hd, 440bx chipset (Stay tuned for dmesg)).  The
machine was compiling fine and when i came back it was
rebooted.  When rebooted it again (i had the install
cd in the cdrom drive) it booted up and gave me my
login, I logged in and started recompiling gnome2, 
after about 1 min I started compiling openssl as well.
and about 30 second after that I got this Kernel
Panic:

Panic: lockmgr: locking against myself

Syncinig disks, buffers remaining... panic:
ffs_copyonwrite: recursive call


so I rebooted it and tryed again and about 5 mins into
gnome2 compiling again it did it again. and on the 3rd
attempt it had hosed a directory in the port tree
where make (or I) could delete it,  at this point I
dropped to single user mode and ran fsck on the drive 
( /usr ) and it found about 100 soft errors, but on
the folder I was haveing trouble deleteing it was
giving me error no "." and no ".." so i had it fix it
and it worked fine after.  I'm pretty sure that this
stems from running fsck in the background after a
faulty stop,  my guess is that there should be some
kind of lock on lock manager so it can catch before
it's going too lock itself and block the process till
it's free, but I do not know the full curimstances so
I'm leaving to u guys/gals.  Below is my dmesg, lspci
-v, and a sample of my blood


dmesg:

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
1991, 1992, 1993, 1994
        The Regents of the University of California.
All rights reserved.
FreeBSD 5.2.1-RELEASE #0: Wed Jun  2 13:56:45 EDT 2004
    root@evil.tier1.vpn:/usr/src/sys/i386/compile/EVIL
Preloaded elf kernel "/boot/kernel/kernel" at
0xc0a52000.
Preloaded elf module "/boot/kernel/vesa.ko" at
0xc0a521cc.
Preloaded elf module "/boot/kernel/snd_maestro3.ko" at
0xc0a52278.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at
0xc0a5232c.
Preloaded elf module "/boot/kernel/acpi.ko" at
0xc0a523d8.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (648.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
 
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 134066176 (127 MB)
avail memory = 120582144 (114 MB)
Pentium Pro MTRR support enabled
VESA: v2.0, 8128k memory, flags:0x0, mode
table:0xc09d4c62 (1000022)
VESA: ATI MACH64
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL   CPi R  > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00fbd20
Timecounter "ACPI-safe" frequency 3579545 Hz quality
1000
acpi_timer0: <24-bit timer at 3.579545MHz> port
0x808-0x80b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on
acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 7 INTD is routed to irq 11
pcib0: slot 8 INTA is routed to irq 5
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem
0xf4000000-0xf7ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 11
pci1: <display, VGA> at device 0.0 (no driver
attached)
cbb0: <TI1225 PCI-CardBus Bridge> at device 3.0 on
pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib0: slot 3 INTA is routed to irq 11
cbb0: [MPSAFE]
cbb1: <TI1225 PCI-CardBus Bridge> at device 3.1 on
pci0
cardbus1: <CardBus bus> on cbb1
pcib0: slot 3 INTA is routed to irq 11
cbb1: [MPSAFE]
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port
0x860-0x86f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port
0xdce0-0xdcff irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on
uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at device 7.3 (no driver
attached)
pcm0: <ESS Technology Maestro3> port 0xd800-0xd8ff mem
0xfaffe000-0xfaffffff irq 5 at device 8.0 on pci0
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60
irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in
COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 648012076 Hz quality 800
Timecounters tick every 10.000 msec
cardbus1: Resource not specified in CIS: id=14,
size=400
dc0: <Netgear FA511 10/100BaseTX> port 0x1000-0x10ff
mem 0x88002000-0x880023ff irq 11 at device 0.0 on
cardbus1
dc0: Ethernet address: 00:10:7a:68:a0:da
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on
miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
GEOM: create disk ad0 dp=0xc2094c60
ad0: 11513MB <FUJITSU MHK2120AT> [23392/16/63] at
ata0-master UDMA33
Mounting root from ufs:/dev/ad0s1a



pciconf

agp0@pci0:0:0:  class=0x060000 card=0x00000000
chip=0x71908086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82443BX/ZX 440BX/ZX CPU to PCI Bridge
(AGP Implemented)'
    class    = bridge
    subclass = HOST-PCI
pcib1@pci0:1:0: class=0x060400 card=0x00000000
chip=0x71918086 rev=0x03 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82443BX/ZX 440BX/ZX AGPset PCI-to-PCI
bridge'
    class    = bridge
    subclass = PCI-PCI
cbb0@pci0:3:0:  class=0x060700 card=0x00bb1028
chip=0xac1c104c rev=0x01 hdr=0x02
    vendor   = 'Texas Instruments (TI)'
    device   = 'PCI1225 PC card CardBus Controller'
    class    = bridge
    subclass = PCI-CardBus
cbb1@pci0:3:1:  class=0x060700 card=0x00bb1028
chip=0xac1c104c rev=0x01 hdr=0x02
    vendor   = 'Texas Instruments (TI)'
    device   = 'PCI1225 PC card CardBus Controller'
    class    = bridge
    subclass = PCI-CardBus
isab0@pci0:7:0: class=0x068000 card=0x00000000
chip=0x71108086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82371AB/EB/MB PIIX4/4E/4M ISA Bridge'
    class    = bridge
    subclass = PCI-unknown
atapci0@pci0:7:1:       class=0x010180 card=0x00000000
chip=0x71118086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82371AB/EB/MB PIIX4/4E/4M IDE
Controller'
    class    = mass storage
    subclass = ATA
uhci0@pci0:7:2: class=0x0c0300 card=0x00000000
chip=0x71128086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82371AB/EB/MB PIIX4/4E/4M USB
Interface'
    class    = serial bus
    subclass = USB
none0@pci0:7:3: class=0x068000 card=0x00000000
chip=0x71138086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82371AB/EB/MB PIIX4/4E/4M Power
Management Controller'
    class    = bridge
    subclass = PCI-unknown
pcm0@pci0:8:0:  class=0x040100 card=0x00bb1028
chip=0x1998125d rev=0x10 hdr=0x00
    vendor   = 'ESS Technology'
    device   = 'ES1980 Maestro-3 PCI Audio
Accelerator'
    class    = multimedia
    subclass = audio
none1@pci1:0:0: class=0x030000 card=0x00bb1028
chip=0x4c4d1002 rev=0x64 hdr=0x00
    vendor   = 'ATI Technologies'
    device   = '01541014 Rage P/M Mobility AGP 2x'
    class    = display
    subclass = VGA
dc0@pci5:0:0:   class=0x020000 card=0x511a1385
chip=0x19851317 rev=0x11 hdr=0x00
    vendor   = 'ADMtek Inc'
    device   = 'ADM985 10/100 cardbus ethernet
controller'
    class    = network
    subclass = ethernet





	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040604203255.23343.qmail>