panic: kthread_create called too soon

From: Ian Freislich <ian_at_freislich.nom.za>
Date: Thu, 22 Apr 2004 14:39:02 +0200
Hi

I started getting this panic from Monday this week.  The system is
an old gigabyte dual pentium II.  Scheduler is SCHED_BSD if that
makes a difference so early on in the boot.  A while back I got a
similar panic
(http://www.freebsd.org/cgi/getmsg.cgi?fetch=1649457+1655104+/usr/local/www/db/text/2004/freebsd-current/20040208.freebsd-current)
Which, in summary, jhb thought was as a result of a missing MADT in
the ACPI whatever.  This problem in the above link went away and
has now resurfaced after about 2 months.  I do a fresh world and
kernel from current sources about every two days.

Ian

--
Ian Freislich


Booting [/boot/kernel/kernel]...               
/boot/kernel/acpi.ko text=0x4225c data=0x19e4+0x11b0 syms=[0x4+0x6700+0x4+0x8952]
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: Thu Apr 22 10:41:55 SAST 2004
    ianf_at_brane-dead.freislich.nom.za:/usr/src/sys/i386/compile/BRANE-DEAD
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0797000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0797244.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping = 4
  Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 201261056 (191 MB)
avail memory = 191287296 (182 MB)
MPTable: <OEM00000 PROD00000000>
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x1c
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc05e4035
stack pointer           = 0x10:0xc0821b38
frame pointer           = 0x10:0xc0821c30
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 ()
trap number             = 12
panic: page fault
at line 815 in file ../../../i386/i386/trap.c
cpuid = 0; 
Stack backtrace:
backtrace(c065c878,0,32f,c067abcf,100) at backtrace+0x17
__panic(c067abcf,32f,c065807f,c067aa27,1) at __panic+0x15d
trap_fatal(c0821af8,1c,1010101,1010101,c06b1d00) at trap_fatal+0x376
trap_pfault(c0821af8,0,1c,c0821ad4,1c) at trap_pfault+0x242
trap(c0090018,c0c30010,c0c30010,c009f000,c0c3b000) at trap+0x30d
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xc05e4035, esp = 0xc0821b38, ebp = 0xc0821c30 ---
vm_fault(c0c3b000,c009f000,2,0,c06b1d00) at vm_fault+0x1e5
trap_pfault(c0821cac,0,c009f000,0,c009f000) at trap_pfault+0x1e4
trap(18,10,7070010,18e,c06a6e00) at trap+0x30d
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xc06236e3, esp = 0xc0821cec, ebp = 0xc0821d00 ---
install_ap_tramp(c06c7d80,c0679f7a,0,1,c0512bb7) at install_ap_tramp+0x53
start_all_aps(c06c7c00,c0679e6f,0,1,8) at start_all_aps+0x45
cpu_mp_start(c06bbb60,c066a515,0,1,c06a0670) at cpu_mp_start+0x21f
mp_start(0,81ec00,81e000,81ec00,81e000) at mp_start+0x60
mi_startup() at mi_startup+0xb5
begin() at begin+0x2c
Uptime: 1s
panic: kthread_create called too soon
at line 84 in file ../../../kern/kern_kthread.ccpuid = 0; 
Uptime: 1s
Received on Thu Apr 22 2004 - 03:39:11 UTC

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