RE: Panic with this morning's (~9am EDT, 15 jan 2004) sources.

From: Robin P. Blanchard <robin.blanchard_at_gactr.uga.edu>
Date: Fri, 16 Jan 2004 14:45:20 -0500
> -----Original Message-----
> From: Dag-Erling Smørgrav [mailto:des_at_des.no] 
> Sent: Thursday, January 15, 2004 1:51 PM
> To: Scott Long
> Cc: Robin P. Blanchard; current_at_freebsd.org
> Subject: Re: Panic with this morning's (~9am EDT, 15 jan 
> 2004) sources.
> 
> 
> Scott Long <scottl_at_freebsd.org> writes:
> > This is likely due to the new fd allocation code.  DES, can 
> you please 
> > enable WITNESS and INVARIANTS in your test system and fix this?
> 
> I just committed a fix.
> 
> DES
> -- 
> Dag-Erling Smørgrav - des_at_des.no
> 
> 


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_at_bsdfs5.gactr.uga.edu, Fri Jan 16 11:10:18 EST 2004)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x277880 data=0x2a264+0x56838
syms=[0x4+0x36e70+0x4+0x4
3c03]
/boot/modules/if_fxp.ko text=0x77b4 data=0x1014+0xc
syms=[0x4+0xcf0+0x4+0xdbb]
loading required module 'miibus'
/boot/modules/miibus.ko text=0x15820 data=0xc84+0x68
syms=[0x4+0x1c60+0x4+0x2328
]
/boot/modules/twe.ko text=0x7398 data=0x5ac+0x8c syms=[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_at_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 = "GenuineIntel"  Id = 0x68a  Stepping = 10
 
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P
A
T,PSE36,MMX,FXSR,SSE>
real memory  = 536608768 (511 MB)
avail memory = 519680000 (495 MB)
acquiring duplicate lock of same type: "filedesc structure"
 1st filedesc structure _at_ /usr/src/sys/kern/kern_descrip.c:1377
 2nd filedesc structure _at_ /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 = 0 (0xc06a9158) locked _at_
/usr/src/sy
s/kern/kern_descrip.c:1377
exclusive sleep mutex Giant r = 1 (0xc06ac580) locked _at_
/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 = 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 = 0xc0607825, esp = 0xc0821c58, ebp = 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 = 0; apic id = 00
fault virtual address   = 0x14
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc04f53e4
stack pointer           = 0x10:0xc0821928
frame pointer           = 0x10:0xc082196c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 0 (swapper)
kernel: type 12 trap, code=0
Stopped at      fork1+0x414:    cmpl    %ebx,0x14(%eax)
db>
Received on Fri Jan 16 2004 - 10:45:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC