Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2003 13:56:45 +0200
From:      "Jaco van Tonder" <jacovt@cscrsa.com>
To:        <freebsd-stable@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   [5.1-RELEASE-P10] panics when system loaded
Message-ID:  <017801c39c81$660f9f80$3635a8c0@jaco>

next in thread | raw e-mail | index | archive | help
Hi all,

Here is a new backtrace on a 5.1-RELEASE-P10 that I got just now.
I will however rip out this network card and replace it quickly as per
Steven Hartland instructions. ;)
Thanks in advance!

Jaco

gdb backtrace:
frame# gdb -k kernel.debug.200310271200 vmcore.0
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
panic: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xf000e837
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc044ef73
stack pointer           = 0x10:0xdfa5aaf8
frame pointer           = 0x10:0xdfa5ab58
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         = 27103 (cc1)
panic: from debugger


Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer     = 0x8:0xc047b094
stack pointer           = 0x10:0xdfa5a878
frame pointer           = 0x10:0xdfa5a884
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = IOPL = 0
current process         = 27103 (cc1)
panic: from debugger
Uptime: 8m42s
Dumping 511 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320
336 352 368 384 400 416 432 448 464 480 496
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
238             dumping++;
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
#1  0xc0309688 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:370
#2  0xc030997b in panic () at /usr/src/sys/kern/kern_shutdown.c:543
#3  0xc0162a82 in db_panic () at /usr/src/sys/ddb/db_command.c:448
#4  0xc0162a02 in db_command (last_cmdp=0xc05147a0, cmd_table=0x0,
    aux_cmd_tablep=0xc050b614, aux_cmd_tablep_end=0xc050b62c)
    at /usr/src/sys/ddb/db_command.c:346
#5  0xc0162b16 in db_command_loop () at /usr/src/sys/ddb/db_command.c:470
#6  0xc01658aa in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:72
#7  0xc047adf5 in kdb_trap (type=12, code=0, regs=0xdfa5aab8)
    at /usr/src/sys/i386/i386/db_interface.c:170
#8  0xc048cb02 in trap_fatal (frame=0xdfa5aab8, eva=0)
    at /usr/src/sys/i386/i386/trap.c:829
#9  0xc048c812 in trap_pfault (frame=0xdfa5aab8, usermode=0, eva=4026591287)
    at /usr/src/sys/i386/i386/trap.c:748
#10 0xc048c3ed in trap (frame=
      {tf_fs = -1069219816, tf_es = -1065156592, tf_ds = 16, tf_edi
= -542790916, tf_esi = 0, tf_ebp = -542790824, tf_isp = -542790940, tf_ebx =
827, tf_edx = -268376041, tf_ecx = -1073741824, tf_eax = -542790916,
tf_trapno = 12, tf_err = 0, tf_eip = -1069224077, tf_cs = 8, tf_eflags =
66182, tf_esp = -542790916, tf_ss = -991544472}) at
/usr/src/sys/i386/i386/trap.c:433
#11 0xc047c748 in calltrap () at {standard input}:96
#12 0xc044f1bd in vm_page_remove (m=0x33b) at /usr/src/sys/vm/vm_page.c:626
#13 0xc044f890 in vm_page_free_toq (m=0x0) at /usr/src/sys/vm/vm_page.c:1055
---Type <return> to continue, or q <return> to quit---
#14 0xc044ede4 in vm_page_free (m=0xc0ace058) at
/usr/src/sys/vm/vm_page.c:399
#15 0xc044c5b7 in vm_object_terminate (object=0xc4eb2a68)
    at /usr/src/sys/vm/vm_object.c:599
#16 0xc044c3df in vm_object_deallocate (object=0xc4eb2a68)
    at /usr/src/sys/vm/vm_object.c:528
#17 0xc0448a1b in vm_map_entry_delete (map=0xc43a5700, entry=0xc4e5503c)
    at /usr/src/sys/vm/vm_map.c:2033
#18 0xc0448e63 in vm_map_delete (map=0xc43a5700, start=3303362620,
    end=3217031168) at /usr/src/sys/vm/vm_map.c:2167
#19 0xc0448ee8 in vm_map_remove (map=0xc43a5700, start=0, end=3217031168)
    at /usr/src/sys/vm/vm_map.c:2189
#20 0xc02f4086 in exit1 (td=0xc40a6000, rv=0) at vm_map.h:191
#21 0xc02f3b01 in sys_exit () at /usr/src/sys/kern/kern_exit.c:100
#22 0xc048cdfe in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077939800, tf_esi = 0,
tf_ebp = -1077939840, tf_isp = -542790284, tf_ebx = -1, tf_edx = 10, tf_ecx
= 5, tf_eax = 1, tf_trapno = 22, tf_err = 2, tf_eip = 136866723, tf_cs = 31,
tf_eflags = 662, tf_esp = -1077939868, tf_ss = 47}) at
/usr/src/sys/i386/i386/trap.c:1021
#23 0xc047c79d in Xint0x80_syscall () at {standard input}:138
---Can't read userspace from dump, or kernel process---

uname output:
FreeBSD frame.symphiano 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #2: Mon Oct
27 09:42:35 SAST 2003
jacovt@frame.symphiano:/usr/obj/usr/src/sys/GENERIC  i386

dmesg output:
Copyright (c) 1992-2003 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.1-RELEASE-p10 #2: Mon Oct 27 09:42:35 SAST 2003
    jacovt@frame.symphiano:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0698000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 2411601072 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2411.60-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 536805376 (511 MB)
avail memory = 514281472 (490 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 10 entries at 0xc00fcde0
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82865 host to AGP bridge> mem 0xe8000000-0xefffffff at device
0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
rl0: <RealTek 8139 10/100BaseTX> port 0x9000-0x90ff mem
0xf7000000-0xf70000ff irq 11 at device 1.0 on pci2
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect
mode
rl0: Ethernet address: 00:50:fc:c2:d4:1b
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port
0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounters tick every 10.000 msec
ad0: 38166MB <Maxtor 6E040L0> [77545/16/63] at ata0-master UDMA100
acd0: CDROM <CD-956E/AKV> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
/tmp: superblock summary recomputed
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 116 files 3
/usr: superblock summary recomputed
WARNING: /var was not properly dismounted
frame%



Jaco van Tonder
Magic Developer :: Premsoft Development (Pty) Ltd
Direct: +27 11 312 2122 :: Fax: +27 11 312 2122 :: Mobile: +27 83 417 5424
Email: jaco@premsoft.co.za :: Web: http://www.premsoft.co.za/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?017801c39c81$660f9f80$3635a8c0>