Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 14:45:20 -0500
From:      "Robin P. Blanchard" <robin.blanchard@gactr.uga.edu>
To:        =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>, "Scott Long" <scottl@freebsd.org>
Cc:        current@freebsd.org
Subject:   RE: Panic with this morning's (~9am EDT, 15 jan 2004) sources.
Message-ID:  <EE3D3FBAFFCAED448C21C398FDAD91AC0108D8@EBE1.gc.nat>

next in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From: Dag-Erling Sm=F8rgrav [mailto:des@des.no]=20
> Sent: Thursday, January 15, 2004 1:51 PM
> To: Scott Long
> Cc: Robin P. Blanchard; current@freebsd.org
> Subject: Re: Panic with this morning's (~9am EDT, 15 jan=20
> 2004) sources.
>=20
>=20
> Scott Long <scottl@freebsd.org> writes:
> > This is likely due to the new fd allocation code.  DES, can=20
> you please=20
> > enable WITNESS and INVARIANTS in your test system and fix this?
>=20
> I just committed a fix.
>=20
> DES
> --=20
> Dag-Erling Sm=F8rgrav - des@des.no
>=20
>=20


Grabbed new code from cvsup1 this morning (~9am EDT, 16 jan 04) and am =
now
panicing in a different location:

FreeBSD/i386 bootstrap loader, Revision 1.1
(root@bsdfs5.gactr.uga.edu, Fri Jan 16 11:10:18 EST 2004)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=3D0x277880 data=3D0x2a264+0x56838
syms=3D[0x4+0x36e70+0x4+0x4
3c03]
/boot/modules/if_fxp.ko text=3D0x77b4 data=3D0x1014+0xc
syms=3D[0x4+0xcf0+0x4+0xdbb]
loading required module 'miibus'
/boot/modules/miibus.ko text=3D0x15820 data=3D0xc84+0x68
syms=3D[0x4+0x1c60+0x4+0x2328
]
/boot/modules/twe.ko text=3D0x7398 data=3D0x5ac+0x8c =
syms=3D[0x4+0xdb0+0x4+0xd1d]
Loading /boot/defaults/loader.conf
-
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
ACPI_DEBUG: set 'ACPI_EVENTS'
ACPI_DEBUG: set 'ACPI_LV_ALL_EXCEPTIONS'
ACPI debug layer 0x4 debug level 0x1f
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-CURRENT #0: Fri Jan 16 11:58:59 EST 2004
    root@bsdfs5.gactr.uga.edu:/usr/obj/usr/src/sys/ule.debug
Preloaded elf kernel "/boot/kernel/kernel" at 0xc07a7000.
Preloaded elf module "/boot/modules/if_fxp.ko" at 0xc07a726c.
Preloaded elf module "/boot/modules/miibus.ko" at 0xc07a7318.
Preloaded elf module "/boot/modules/twe.ko" at 0xc07a73c4.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (851.94-MHz 686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x68a  Stepping =3D 10
=20
Features=3D0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,=
CMOV,P
A
T,PSE36,MMX,FXSR,SSE>
real memory  =3D 536608768 (511 MB)
avail memory =3D 519680000 (495 MB)
acquiring duplicate lock of same type: "filedesc structure"
 1st filedesc structure @ /usr/src/sys/kern/kern_descrip.c:1377
 2nd filedesc structure @ /usr/src/sys/kern/kern_descrip.c:1431
Stack backtrace:
backtrace(c0662f9a,c065e006,c065e5b2,597,1d8) at backtrace+0x17
witness_lock(c1568838,8,c065e5b2,597,c1568800) at witness_lock+0x5aa
_mtx_lock_flags(c1568838,0,c065e5b2,597,a) at _mtx_lock_flags+0x6a
fdcopy(c06a9120,0,c065e9a0,1a5,c0685924) at fdcopy+0x46
fork1(c06a8d60,60034,0,c0821d50,64) at fork1+0x61f
kthread_create(c04f9930,0,0,40000,0,c065edc1) at kthread_create+0x48
ktrace_init(0,81e000,81ec00,81e000,0) at ktrace_init+0xf5
mi_startup() at mi_startup+0xb5
begin() at begin+0x2c
Debugger("witness_lock")
Stopped at      Debugger+0x55:  xchgl   %ebx,in_Debugger.0
db> show locks
exclusive sleep mutex filedesc structure r =3D 0 (0xc06a9158) locked @
/usr/src/sy
s/kern/kern_descrip.c:1377
exclusive sleep mutex Giant r =3D 1 (0xc06ac580) locked @
/usr/src/sys/kern/kern_f
ork.c:218
db> tr
Debugger(c063c331,c065e006,c065e5b2,597,1d8) at Debugger+0x55
witness_lock(c1568838,8,c065e5b2,597,c1568800) at witness_lock+0x5bf
_mtx_lock_flags(c1568838,0,c065e5b2,597,a) at _mtx_lock_flags+0x6a
fdcopy(c06a9120,0,c065e9a0,1a5,c0685924) at fdcopy+0x46
fork1(c06a8d60,60034,0,c0821d50,64) at fork1+0x61f
kthread_create(c04f9930,0,0,40000,0,c065edc1) at kthread_create+0x48
ktrace_init(0,81e000,81ec00,81e000,0) at ktrace_init+0xf5
mi_startup() at mi_startup+0xb5
begin() at begin+0x2c
db> panic
panic: from debugger
cpuid =3D 0;
Stack backtrace:
backtrace(c0642d67,0,c0655970,c0821a94,100) at backtrace+0x17
panic(c0655970,c0821b4c,c048a582,c0607825,0) at panic+0x141
db_panic(c0607825,0,ffffffff,c0821ac0,c0821abc) at db_panic+0x12
db_command(c06a43e0,c067dc20,c06777c4,c06777c8,3) at db_command+0x272
db_command_loop(c0607825,c0642d67,2,c0430859,0) at db_command_loop+0x95
db_trap(3,0,0,80046,0) at db_trap+0xc5
kdb_trap(3,0,c0821c18,31,0) at kdb_trap+0x14c
trap(c0820018,c0600010,10,c068797c,c1568838) at trap+0x47a
calltrap() at calltrap+0x5
--- trap 0x3, eip =3D 0xc0607825, esp =3D 0xc0821c58, ebp =3D 0xc0821c64 =
---
Debugger(c063c331,c065e006,c065e5b2,597,1d8) at Debugger+0x55
witness_lock(c1568838,8,c065e5b2,597,c1568800) at witness_lock+0x5bf
_mtx_lock_flags(c1568838,0,c065e5b2,597,a) at _mtx_lock_flags+0x6a
_mtx_lock_flags(c1568838,0,c065e5b2,597,a) at _mtx_lock_flags+0x6a
fork1(c06a8d60,60034,0,c0821d50,64) at fork1+0x61f
kthread_create(c04f9930,0,0,40000,0,c065edc1) at kthread_create+0x48
ktrace_init(0,81e000,81ec00,81e000,0) at ktrace_init+0xf5
mi_startup() at mi_startup+0xb5
begin() at begin+0x2c
Uptime: 1s
WARNING: Driver mistake: make_dev(geom.ctl) called before SI_SUB_DRIVERS
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address   =3D 0x14
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x8:0xc04f53e4
stack pointer           =3D 0x10:0xc0821928
frame pointer           =3D 0x10:0xc082196c
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D resume, IOPL =3D 0
current process         =3D 0 (swapper)
kernel: type 12 trap, code=3D0
Stopped at      fork1+0x414:    cmpl    %ebx,0x14(%eax)
db>



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