Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 1998 19:03:21 +0100 (MET)
From:      Axel Thimm <thimm@physik.fu-berlin.de>
To:        current@FreeBSD.ORG
Cc:        Axel.Thimm@physik.fu-berlin.de
Subject:   Re: getcwd, fork & vfork
Message-ID:  <199802171803.TAA19561@oberon.physik.fu-berlin.de>
In-Reply-To: <199802122310.AAA12094@oberon.physik.fu-berlin.de> from Axel Thimm at "Feb 13, 98 00:10:44 am"

next in thread | previous in thread | raw e-mail | index | archive | help
I took some reading into kernel debugging to pin down the problem (BTW thanks
to Amancio Hasty's recent posting and the tips therein).

So finally I have attached a backtrace of my dump and dmesg. I guess the first
8 lines come from DDB and my "panic" command. Does anyone want to see more
info?

Sources are current from 98-02-17 0:09 CET
As it is crucial for source compares to have an exact date/counter, does cvsup
provide some? I am using the timestamp of /usr/sup/src-all/checkouts.cvs:.,
but this doesn't include delays from e.g. mirroring.

Regards, Axel.

IdlePTD 255000
initial pcb at 1fab58
panicstr: vm_page_unwire: invalid wire count: %d

panic messages:
---
panic: vm_page_unwire: invalid wire count: 0

panic: from debugger

dumping to dev 40001, offset 151216
dump 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40
39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 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  0xf0119187 in panic (fmt=0xf01013e8 "from debugger")
    at ../../kern/kern_shutdown.c:425
#2  0xf0101405 in db_panic (addr=-266633155, have_addr=0, count=-1, 
    modif=0xf4c6dc24 "") at ../../ddb/db_command.c:432
#3  0xf01012e5 in db_command (last_cmdp=0xf01ebaa4, cmd_table=0xf01eb904, 
    aux_cmd_tablep=0xf01f7f90) at ../../ddb/db_command.c:332
#4  0xf0101472 in db_command_loop () at ../../ddb/db_command.c:454
#5  0xf0103b33 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71
#6  0xf01b7e11 in kdb_trap (type=3, code=0, regs=0xf4c6dd10)
    at ../../i386/i386/db_interface.c:157
#7  0xf01c1f48 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -228467832, 
      tf_esi = -266679834, tf_ebp = -188293804, tf_isp = -188293832, 
      tf_ebx = 256, tf_edx = -266633211, tf_ecx = 0, tf_eax = 18, 
      tf_trapno = 3, tf_err = 0, tf_eip = -266633155, tf_cs = 8, 
      tf_eflags = 582, tf_esp = -266633227, tf_ss = -267284196})
    at ../../i386/i386/trap.c:474
#8  0xf01b803d in Debugger (msg=0xf011911c "panic")
    at ../../i386/i386/db_interface.c:316
#9  0xf011917e in panic (
    fmt=0xf01ac9e6 "vm_page_unwire: invalid wire count: %d\n")
    at ../../kern/kern_shutdown.c:423
#10 0xf01aca7f in vm_page_unwire (m=0xf0316344) at ../../vm/vm_page.c:1244
#11 0xf0133304 in vfs_vmio_release (bp=0xf261db88) at ../../kern/vfs_bio.c:757
#12 0xf0132f5d in brelse (bp=0xf261db88) at ../../kern/vfs_bio.c:645
#13 0xf0138c55 in vinvalbuf (vp=0xf4c76d20, flags=0, cred=0xf0612080, 
    p=0xf4befbc0, slpflag=0, slptimeo=0) at ../../kern/vfs_subr.c:605
#14 0xf01618d0 in nfs_vinvalbuf (vp=0xf4c76d20, flags=0, cred=0xf0612080, 
    p=0xf4befbc0, intrflg=1) at ../../nfs/nfs_bio.c:782
#15 0xf0188cac in nfs_remove (ap=0xf4c6df04) at ../../nfs/nfs_vnops.c:1463
#16 0xf013c3e7 in unlink (p=0xf4befbc0, uap=0xf4c6df94) at vnode_if.h:523
#17 0xf01c2a0f in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 0, 
      tf_esi = 196608, tf_ebp = -272639296, tf_isp = -188293148, 
      tf_ebx = 204928, tf_edx = 0, tf_ecx = 47, tf_eax = 10, tf_trapno = 12, 
      tf_err = 7, tf_eip = 88485, tf_cs = 31, tf_eflags = 582, 
      tf_esp = -272639316, tf_ss = 39}) at ../../i386/i386/trap.c:994
#18 0x159a5 in ?? ()
#19 0x12db in ?? ()
#20 0x107e in ?? ()

rige# dmesg 
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Tue Feb 17 18:05:29 CET 1998
    root@rige.physik.fu-berlin.de:/usr/src/sys/compile/RIGE.DEBUG
CPU: Pentium (166.45-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping=3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 67108864 (65536K bytes)
avail memory = 62631936 (61164K bytes)
Probing for devices on PCI bus 0:
chip0: <Intel 82439> rev 0x03 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
vga0: <S3 ViRGE DX/GX graphics accelerator> rev 0x01 int a irq 10 on pci0.10.0
vx0: <3COM 3C900 Etherlink XL PCI> rev 0x00 int a irq 11 on pci0.11.0
utp/aui/bnc[*bnc*] address 00:60:08:8f:e0:9d
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
pca0 on motherboard
pca0: PC speaker audio driver
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <FUJITSU MPA3026ATU>
wd0: 2503MB (5126688 sectors), 5086 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (wd2): <Conner Peripherals 1275MB - CFS1275A>
wd2: 1219MB (2496816 sectors), 2477 cyls, 16 heads, 63 S/T, 512 B/S
npx0 on motherboard
npx0: INT 16 interface
Intel Pentium F00F detected, installing workaround

-- 
Axel Thimm   Axel.Thimm@physik.fu-berlin.de Axel.Thimm@ifh.de

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?199802171803.TAA19561>