Re: Panic at boot time

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 30 Jan 2004 10:35:33 -0500
On Thursday 29 January 2004 12:42 pm, Ian Freislich wrote:
> Hi
>
> I've been getting this panic at boot time for last few weeks.  The
> last kernel that works is of around Wed Jan  7 15:23:38 SAST 2004.
>
> Random datapoints:
>    Gigabyte 686DLX motherboard with 2 PentiumII CPUs
>    I've noticed that ACPI has been working more and more poorly
>       with this motherboard.
>    I think this is related to ACPI brokenness because the working
>    kernel panics in exactly the same way if I set hint.acpi.0.disabled="1".

That means your working kernel doesn't work if ACPI is disabled which is what 
you are seeing here.  Can you try kernels without SMP and see if ACPI 
and !ACPI both work?

> Here's the panic message.  Sadly there is no crashdump.
>
> I have time to try things and do more debugging on request.
>
> Ian
>
> 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 #5: Thu Jan 29 18:25:49 SAST 2004
>     ianf_at_brane-dead.freislich.nom.za:/usr/src/sys/i386/compile/BRANE-DEAD
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0787000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0787244.
> 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 = 191283200 (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:0xc05dcbb3
> stack pointer           = 0x10:0xc0821b34
> frame pointer           = 0x10:0xc0821c2c
> 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 821 in file ../../../i386/i386/trap.c
> cpuid = 0;
> Stack backtrace:
> backtrace(c06549a9,0,335,c0672265,100) at backtrace+0x17
> __panic(c0672265,335,c06501df,c06720bd,1) at __panic+0x15d
> trap_fatal(c0821af4,1c,1010101,1010101,c06a8a00) at trap_fatal+0x376
> trap_pfault(c0821af4,0,1c,1010101,1c) at trap_pfault+0x252
> trap(c0090018,c0c30010,c0c30010,c009f000,c0c3b000) at trap+0x30d
> calltrap() at calltrap+0x5
> --- trap 0xc, eip = 0xc05dcbb3, esp = 0xc0821b34, ebp = 0xc0821c2c ---
> vm_fault(c0c3b000,c009f000,2,0,c06a8a00) at vm_fault+0x273
> trap_pfault(c0821cac,0,c009f000,20821c88,c009f000) at trap_pfault+0x1e4
> trap(18,10,7070010,18e,c069dc40) at trap+0x30d
> calltrap() at calltrap+0x5
> --- trap 0xc, eip = 0xc061bce3, esp = 0xc0821cec, ebp = 0xc0821d00 ---
> install_ap_tramp(c06bd340,c06716d7,0,1,c050f3a7) at install_ap_tramp+0x53
> start_all_aps(c06bd1c0,c06715cc,0,1,8) at start_all_aps+0x45
> cpu_mp_start(c06b1520,c0661f3d,0,1,c0697530) 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
> WARNING: Driver mistake: make_dev(geom.ctl) called before SI_SUB_DRIVERS
> panic: kthread_create called too soon
> at line 84 in file ../../../kern/kern_kthread.ccpuid = 0;
> Uptime: 1s
>
>
> This next paragraph repeats as many times as it can at 9600bps in 30
> seconds
>
>
>
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address   = 0x38
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc0506e4c
> stack pointer           = 0x10:0xc081efe8
> frame pointer           = 0x10:0xc081eff8
> 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 821 in file ../../../i386/i386/trap.ccpuid = 0;
> Uptime: 1s
>
>
>
> --
> Ian Freislich
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Fri Jan 30 2004 - 06:40:53 UTC

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