RELENG_6 panic

Mike Tancsa mike at sentex.net
Thu Aug 25 02:42:43 GMT 2005


The box wasnt doing too much at the time, but it up and panic'd


# kgdb /usr/obj/usr/src/sys/global/kernel.debug vmcore.27
[GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xe05184c6
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xe05184c6
stack pointer           = 0x28:0xe5017cb8
frame pointer           = 0x28:0xe5017ce8
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         = 28 (swi4: clock sio)
trap number             = 12
panic: page fault
Uptime: 2d3h54m35s
Dumping 1022 MB (2 chunks)
   chunk 0: 1MB (159 pages) ... ok
   chunk 1: 1022MB (261616 pages) 1006 990 974 
958 942 926 910 894 878 862 846 830 814 798 782 
766 750 734 718 702 686 670 654 638 622 606 590 
574 558 542 526 510 494 478 462 446 430 414 398 
382 366 350 334 318 302 286 270 254 238 222 206 
190 174 158 142 126 110 94 78 62 46 30 14

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
         in pcpu.h
(kgdb) bt full
#0  doadump () at pcpu.h:165
No locals.
#1  0xc050c554 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:397
         first_buf_printf = 1
#2  0xc050c7e8 in panic (fmt=0xc06c2fb7 "%s") at 
/usr/src/sys/kern/kern_shutdown.c:553
         td = (struct thread *) 0xc22d9600
         bootopt = 260
         newpanic = 0
         ap = 0xc22d9600 "$\206-Â"
         buf = "page fault", '\0' <repeats 245 times>
#3  0xc06889ec in trap_fatal (frame=0xe5017c78, 
eva=3763438790) at /usr/src/sys/i386/i386/trap.c:841
         code = 40
         type = 12
         ss = 40
         esp = 0
         softseg = {ssd_base = 0, ssd_limit = 
1048575, ssd_type = 27, ssd_dpl = 0, ssd_p = 1, ssd_xx = 6, ssd_xx1 = 0,
   ssd_def32 = 1, ssd_gran = 1}
#4  0xc0688757 in trap_pfault (frame=0xe5017c78, 
usermode=0, eva=3763438790) at /usr/src/sys/i386/i386/trap.c:752
         va = 3763437568
         vm = (struct vmspace *) 0x0
         map = 0xc1043000
         rv = 1
         ftype = 1 '\001'
         td = (struct thread *) 0xc22d9600
         p = (struct proc *) 0xc22d8624
#5  0xc06883bd in trap (frame=
       {tf_fs = 524296, tf_es = -701759448, tf_ds 
= -452919256, tf_edi = 4, tf_esi = 7, tf_ebp = 
-452887320, tf_isp = -452887388, tf_ebx = 
-1066276384, tf_edx = -701712304, tf_ecx = 19984, 
tf_eax = -701712444, tf_trapno = 12, tf_err = 0, 
tf_eip = -531528506, tf_cs = 32, tf_eflags = 
590486, tf_esp = -1066106080, tf_ss = 
-1066106080}) at /usr/src/sys/i386/i386/trap.c:442
         td = (struct thread *) 0xc22d9600
         p = (struct proc *) 0xc22d8624
         sticks = 3842079856
         i = 0
         ucode = 0
         type = 12
         code = 0
         eva = 3763438790
#6  0xc067b49a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
No locals.
#7  0x00080008 in ?? ()
No symbol table info available.
#8  0xd62c0028 in ?? ()
No symbol table info available.
#9  0xe5010028 in ?? ()
No symbol table info available.
#10 0x00000004 in ?? ()
No symbol table info available.
#11 0x00000007 in ?? ()
No symbol table info available.
#12 0xe5017ce8 in ?? ()
No symbol table info available.
#13 0xe5017ca4 in ?? ()
No symbol table info available.
#14 0xc071e9e0 in sched_lock ()
No symbol table info available.
#15 0xd62cb850 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#16 0x00004e10 in ?? ()
No symbol table info available.
#17 0xd62cb7c4 in ?? ()
No symbol table info available.
#18 0x0000000c in ?? ()
No symbol table info available.
#19 0x00000000 in ?? ()
No symbol table info available.
#20 0xe05184c6 in ?? ()
No symbol table info available.
#21 0x00000020 in ?? ()
No symbol table info available.
#22 0x00090296 in ?? ()
No symbol table info available.
#23 0xc0748320 in sc_devclass ()
No symbol table info available.
#24 0xc0748320 in sc_devclass ()
No symbol table info available.
#25 0xc0671ff0 in sccnupdate () at /usr/src/sys/dev/syscons/syscons.c:1628
         run_scrn_saver = 0
         __set_sysinit_set_sym_sc_mem_sys_init = 
(const void * const) 0xc06f938c
         __set_sysctl_set_sym_sysctl___hw_syscons 
= (const void * const) 0xc0713560
         sc_mem_sys_init = {subsystem = 
SI_SUB_DONE, order = SI_ORDER_ANY, func = 0xc066ffe8 <scmeminit>, udata = 0x0}
         sc_console = (scr_stat *) 0xc0745060
         bios_value = {cursor_start = 14, 
cursor_end = 15, shift_state = 2, bell_pitch = 800}
         sysctl___hw_syscons_bell = {oid_parent = 
0xc0733fa4, oid_link = {sle_next = 0xc0717d00}, oid_number = 903,
   oid_kind = 3221225474, oid_arg1 = 0xc071355c, 
oid_arg2 = 0, oid_name = 0xc06dd990 "bell",
   oid_handler = 0xc0513b94 <sysctl_handle_int>, 
oid_fmt = 0xc06b97ae "I", oid_refcnt = 0, oid_descr = 0xc06dd989 "enable bell"}
         sc_console_unit = 0
         debugger = 0
         __set_sysctl_set_sym_sysctl___hw_syscons_saver 
= (const void * const) 0xc07135a0
         main_console = {index = 0, sc = 
0xc0748320, rndr = 0xc07133e0, scr = {vtb_flags = 
1, vtb_type = 2, vtb_cols = 80,
     vtb_rows = 25, vtb_size = 2000, vtb_buffer = 
3221979136, vtb_tail = 0}, vtb = {vtb_flags = 3, vtb_type = 1, vtb_cols = 80,
     vtb_rows = 25, vtb_size = 2000, vtb_buffer = 
3257237504, vtb_tail = 0}, xpos = 32, ypos = 24, xsize = 80, ysize = 25,
   xpixel = 640, ypixel = 400, xoff = 0, yoff = 
0, font = 0xc0744040 "", font_size = 16, 
font_width = 8, start = 1999, end = 0,
   tsw = 0xc0713340, ts = 0xc23e1a80, status = 
1577986, kbd_mode = 1, cursor_pos = 1952, cursor_oldpos = 1952,
   cursor_saveunder_char = 32, 
cursor_saveunder_attr = 3840, dflt_curs_attr = 
{flags = 0, base = 0, height = 2},
   curr_curs_attr = {flags = 0, base = 0, height 
= 2}, curs_attr = {flags = 0, base = 0, height = 16}, mouse_pos = 1000,
   mouse_oldpos = 1000, mouse_xpos = 320, 
mouse_ypos = 200, mouse_oldxpos = 320, mouse_oldypos = 200, mouse_buttons = 0,
   mouse_cut_start = 2000, mouse_cut_end = -1, 
mouse_proc = 0x0, mouse_pid = 0, mouse_signal = 0, bell_duration = 50,
   bell_pitch = 800, border = 0 '\0', mode = 24, 
pid = 0, proc = 0x0, smode = {mode = 0 '\0', waitv = 0 '\0', relsig = 0,
     acqsig = 0, frsig = 0}, history = 
0xc2253260, history_pos = 0, history_size = 0, splash_save_mode = 0,
   splash_save_status = 0}
         sc_cdevsw = {d_version = 386080773, 
d_flags = 2151677956, d_name = 0xc06dd928 "sc", d_open = 0xc0670098 <scopen>,
   d_fdopen = 0, d_close = 0xc0670214 <scclose>, 
d_read = 0xc0670308 <scread>, d_write = 0xc053cf78 <ttywrite>,
   d_ioctl = 0xc067054c <scioctl>, d_poll = 
0xc053a18c <ttypoll>, d_mmap = 0xc06742c8 <scmmap>,
   d_strategy = 0xc04e4c58 <no_strategy>, d_dump 
= 0xc04e4c38 <enodev>, d_kqfilter = 0xc053a244 <ttykqfilter>, d_purge = 0,
   d_spare2 = 0, d_uid = 0, d_gid = 0, d_mode = 
0, d_kind = 0x0, d_list = {le_next = 0x0, le_prev = 0x0}, d_devs = {
     lh_first = 0xc23ec800}, d_spare3 = 0}
         sc_console_tty = (struct tty *) 0xc23fa800
         user_default = {std_color = 7, rev_color = 112}
         enable_panic_key = 0
         sysctl___hw_syscons_saver = {oid_parent 
= 0xc0733fa4, oid_link = {sle_next = 0xc0713620}, oid_number = 901,
   oid_kind = 2147483649, oid_arg1 = 0xc0733fa8, 
oid_arg2 = 0, oid_name = 0xc06dd953 "saver", oid_handler = 0,
   oid_fmt = 0xc06b8b64 "N", oid_refcnt = 0, oid_descr = 0xc06dd953 "saver"}
         __set_sysctl_set_sym_sysctl___machdep_enable_panic_key 
= (const void * const) 0xc0713660
         __set_cons_set_sym_sc_consdev = (const void * const) 0xc07136a0
---Type <return> to continue, or q <return> to quit---
         scrn_blank_time = 300
         sysctl___hw_syscons_saver_keybonly = 
{oid_parent = 0xc0733fa8, oid_link = {sle_next = 0x0}, oid_number = 902,
   oid_kind = 3221225474, oid_arg1 = 0xc0713554, 
oid_arg2 = 0, oid_name = 0xc06dd959 "keybonly",
   oid_handler = 0xc0513b94 <sysctl_handle_int>, 
oid_fmt = 0xc06b97ae "I", oid_refcnt = 0,
   oid_descr = 0xc06dd962 "screen saver interrupted by input only"}
         sysctl___hw_syscons = {oid_parent = 
0xc071d69c, oid_link = {sle_next = 0xc0713be0}, oid_number = 900,
   oid_kind = 2147483649, oid_arg1 = 0xc0733fa4, 
oid_arg2 = 0, oid_name = 0xc06dd94b "syscons", oid_handler = 0,
   oid_fmt = 0xc06b8b64 "N", oid_refcnt = 0, oid_descr = 0xc06dd94b "syscons"}
         sc_malloc = 1 '\001'
         sc_consdev = {cn_probe = 0xc0671b10 
<sccnprobe>, cn_init = 0xc0671b74 <sccninit>, cn_term = 0xc0671bc8 <sccnterm>,
   cn_getc = 0xc0671ce8 <sccngetc>, cn_checkc = 
0xc0671cf4 <sccncheckc>, cn_putc = 0xc0671bfc <sccnputc>,
   cn_dbctl = 0xc0671d00 <sccndbctl>, cn_tp = 
0x0, cn_pri = 3, cn_arg = 0x0, cn_unit = 0, cn_flags = 0,
   cn_name = "consolectl", '\0' <repeats 53 times>}
         sc_consptr = (struct consdev *) 0xc07136a0
         kernel_console_ts = (void *) 0xc0733f40
         init_done = 1 '\001'
         __set_sysctl_set_sym_sysctl___hw_syscons_bell 
= (const void * const) 0xc0713620
         sysctl___machdep_enable_panic_key = 
{oid_parent = 0xc071d6a0, oid_link = {sle_next = 
0xc0713d60}, oid_number = 904,
   oid_kind = 3221225474, oid_arg1 = 0xc07451d0, 
oid_arg2 = 0, oid_name = 0xc06dd995 "enable_panic_key",
   oid_handler = 0xc0513b94 <sysctl_handle_int>, 
oid_fmt = 0xc06b97ae "I", oid_refcnt = 0,
   oid_descr = 0xc06dd9a6 "Enable panic via keypress specified in kbdmap(5)"}
         shutdown_in_progress = 1 '\001'
         main_devs = {0xc23f9900, 0xc23f9800, 
0xc23f9700, 0xc23f9600, 0xc23f9500, 0xc23f9400, 
0xc23f9300, 0xc23f9200, 0xc23f9100,
   0xc23f9000, 0xc23ece00, 0xc23ecd00, 
0xc23ecc00, 0xc23ecb00, 0xc23eca00, 0xc23ec900}
         enable_bell = 1
         saver_mode = -1
         kernel_default = {std_color = 15, rev_color = 112}
         sc_saver_keyb_only = 1
         __set_sysctl_set_sym_sysctl___hw_syscons_saver_keybonly 
= (const void * const) 0xc07135e0
         sysctl__hw_syscons_children = {slh_first = 0xc07135a0}
         sc_user_ioctl = (int (*)(struct cdev *, 
u_long, caddr_t, int, struct thread *)) 0
         sysctl__hw_syscons_saver_children = {slh_first = 0xc07135e0}
#26 0xc04f8579 in ithread_loop (arg=0xc2281400) 
at /usr/src/sys/kern/kern_intr.c:545
         ithd = (struct ithd *) 0x4
         ih = (struct intrhand *) 0xc2281400
         td = (struct thread *) 0xc22d9600
         p = (struct proc *) 0xc22d8624
         count = 0
         warned = 0
#27 0xc04f782c in fork_exit (callout=0xc04f8434 
<ithread_loop>, arg=0xc2281400, frame=0xe5017d38)
     at /usr/src/sys/kern/kern_fork.c:789
         p = (struct proc *) 0xc22d8624
         td = (struct thread *) 0x0
#28 0xc067b4fc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208
No locals.
(kgdb)

% dmesg
Copyright (c) 1992-2005 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 6.0-BETA3 #0: Mon Aug 22 15:21:05 EDT 2005
     mdtancsa at gp-tor.sentex.ca:/usr/obj/usr/src/sys/global
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.40GHz (2400.41-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf34  Stepping = 4
   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>
   Features2=0x441d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,<b14>>
real memory  = 1072627712 (1022 MB)
avail memory = 1040773120 (992 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AOpen AWRDACPI> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 12 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 10 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 7 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 11 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 11 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 5 on acpi0
pci_link6: <ACPI PCI Link LNK0> irq 10 on acpi0
pci_link7: <ACPI PCI Link LNK1> irq 0 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82865G (865G GMCH) SVGA controller> 
port 0xe400-0xe407 mem 
0xf0000000-0xf7ffffff,0xf9400000-0xf947ffff irq 12 at device 2.0 on pci0
agp0: detected 892k stolen memory
agp0: aperture size is 128M
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
fxp0: <Intel 82801BA (D865) Pro/100 VE Ethernet> 
port 0xd000-0xd03f mem 0xf8863000-0xf8863fff irq 11 at device 8.0 on pci1
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:01:80:5f:33:0f
hifn0 mem 
0xf8860000-0xf8860fff,0xf8862000-0xf8862fff irq 5 at device 9.0 on pci1
hifn0: Hifn 7951, rev 0, 128KB sram
em0: <Intel(R) PRO/1000 Network Connection, 
Version - 2.1.7> port 0xd100-0xd13f mem 
0xf8820000-0xf883ffff,0xf8800000-0xf881ffff irq 10 at device 10.0 on pci1
em0: Ethernet address: 00:0e:0c:5d:f7:c6
em0:  Speed:N/A  Duplex:N/A
twe0: <3ware Storage Controller. Driver version 
1.50.01.002> port 0xd200-0xd20f mem 
0xf8000000-0xf87fffff irq 11 at device 12.0 on pci1
twe0: [GIANT-LOCKED]
twe0: 2 ports, Firmware FE7X 1.05.00.068, BIOS BE7X 1.08.00.048
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
ichsmb0: <Intel 82801EB (ICH5) SMBus controller> 
port 0x5000-0x501f irq 10 at device 31.3 on pci0
ichsmb0: [GIANT-LOCKED]
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus generic I/O> on smbus0
acpi_tz0: <Thermal Zone> on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
sio1: <Generic IRDA-compatible device> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
orm0: <ISA Option ROMs> at iomem 
0xc0000-0xc9fff,0xcc000-0xcd7ff,0xce000-0xcefff,0xcf000-0xcffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2400411312 Hz quality 800
Timecounters tick every 1.000 msec
Fast IPsec: Initialized Security Association Processing.
ipfw2 (+ipv6) initialized, divert loadable, 
rule-based forwarding disabled, default to 
accept, logging limited to 31000 packets/entry by default
twed0: <Unit 0, TwinStor, Normal> on twe0
twed0: 76318MB (156299440 sectors)
Trying to mount root from ufs:/dev/twed0s1a
WARNING: / was not properly dismounted
em0: link state changed to UP
ichwd module loaded
ichwd0: <Intel 82801EB/ER watchdog timer> on motherboard


--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike at sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike



More information about the freebsd-stable mailing list