Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2005 22:42:13 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-stable@freebsd.org
Subject:   RELENG_6 panic
Message-ID:  <6.2.3.4.0.20050824223816.0461b788@64.7.153.2>

next in thread | raw e-mail | index | archive | help

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:=20
/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   =3D 0xe05184c6
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x20:0xe05184c6
stack pointer           =3D 0x28:0xe5017cb8
frame pointer           =3D 0x28:0xe5017ce8
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                         =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 28 (swi4: clock sio)
trap number             =3D 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=20
958 942 926 910 894 878 862 846 830 814 798 782=20
766 750 734 718 702 686 670 654 638 622 606 590=20
574 558 542 526 510 494 478 462 446 430 414 398=20
382 366 350 334 318 302 286 270 254 238 222 206=20
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=3D260) at=
 /usr/src/sys/kern/kern_shutdown.c:397
         first_buf_printf =3D 1
#2  0xc050c7e8 in panic (fmt=3D0xc06c2fb7 "%s") at=20
/usr/src/sys/kern/kern_shutdown.c:553
         td =3D (struct thread *) 0xc22d9600
         bootopt =3D 260
         newpanic =3D 0
         ap =3D 0xc22d9600 "$\206-=C2"
         buf =3D "page fault", '\0' <repeats 245 times>
#3  0xc06889ec in trap_fatal (frame=3D0xe5017c78,=20
eva=3D3763438790) at /usr/src/sys/i386/i386/trap.c:841
         code =3D 40
         type =3D 12
         ss =3D 40
         esp =3D 0
         softseg =3D {ssd_base =3D 0, ssd_limit =3D=20
1048575, ssd_type =3D 27, ssd_dpl =3D 0, ssd_p =3D 1, ssd_xx =3D 6, ssd_xx1=
 =3D 0,
   ssd_def32 =3D 1, ssd_gran =3D 1}
#4  0xc0688757 in trap_pfault (frame=3D0xe5017c78,=20
usermode=3D0, eva=3D3763438790) at /usr/src/sys/i386/i386/trap.c:752
         va =3D 3763437568
         vm =3D (struct vmspace *) 0x0
         map =3D 0xc1043000
         rv =3D 1
         ftype =3D 1 '\001'
         td =3D (struct thread *) 0xc22d9600
         p =3D (struct proc *) 0xc22d8624
#5  0xc06883bd in trap (frame=3D
       {tf_fs =3D 524296, tf_es =3D -701759448, tf_ds=20
=3D -452919256, tf_edi =3D 4, tf_esi =3D 7, tf_ebp =3D=20
-452887320, tf_isp =3D -452887388, tf_ebx =3D=20
-1066276384, tf_edx =3D -701712304, tf_ecx =3D 19984,=20
tf_eax =3D -701712444, tf_trapno =3D 12, tf_err =3D 0,=20
tf_eip =3D -531528506, tf_cs =3D 32, tf_eflags =3D=20
590486, tf_esp =3D -1066106080, tf_ss =3D=20
-1066106080}) at /usr/src/sys/i386/i386/trap.c:442
         td =3D (struct thread *) 0xc22d9600
         p =3D (struct proc *) 0xc22d8624
         sticks =3D 3842079856
         i =3D 0
         ucode =3D 0
         type =3D 12
         code =3D 0
         eva =3D 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 =3D 0
         __set_sysinit_set_sym_sc_mem_sys_init =3D=20
(const void * const) 0xc06f938c
         __set_sysctl_set_sym_sysctl___hw_syscons=20
=3D (const void * const) 0xc0713560
         sc_mem_sys_init =3D {subsystem =3D=20
SI_SUB_DONE, order =3D SI_ORDER_ANY, func =3D 0xc066ffe8 <scmeminit>, udata=
 =3D 0x0}
         sc_console =3D (scr_stat *) 0xc0745060
         bios_value =3D {cursor_start =3D 14,=20
cursor_end =3D 15, shift_state =3D 2, bell_pitch =3D 800}
         sysctl___hw_syscons_bell =3D {oid_parent =3D=20
0xc0733fa4, oid_link =3D {sle_next =3D 0xc0717d00}, oid_number =3D 903,
   oid_kind =3D 3221225474, oid_arg1 =3D 0xc071355c,=20
oid_arg2 =3D 0, oid_name =3D 0xc06dd990 "bell",
   oid_handler =3D 0xc0513b94 <sysctl_handle_int>,=20
oid_fmt =3D 0xc06b97ae "I", oid_refcnt =3D 0, oid_descr =3D 0xc06dd989=
 "enable bell"}
         sc_console_unit =3D 0
         debugger =3D 0
         __set_sysctl_set_sym_sysctl___hw_syscons_saver=20
=3D (const void * const) 0xc07135a0
         main_console =3D {index =3D 0, sc =3D=20
0xc0748320, rndr =3D 0xc07133e0, scr =3D {vtb_flags =3D=20
1, vtb_type =3D 2, vtb_cols =3D 80,
     vtb_rows =3D 25, vtb_size =3D 2000, vtb_buffer =3D=20
3221979136, vtb_tail =3D 0}, vtb =3D {vtb_flags =3D 3, vtb_type =3D 1,=
 vtb_cols =3D 80,
     vtb_rows =3D 25, vtb_size =3D 2000, vtb_buffer =3D=20
3257237504, vtb_tail =3D 0}, xpos =3D 32, ypos =3D 24, xsize =3D 80, ysize =
=3D 25,
   xpixel =3D 640, ypixel =3D 400, xoff =3D 0, yoff =3D=20
0, font =3D 0xc0744040 "", font_size =3D 16,=20
font_width =3D 8, start =3D 1999, end =3D 0,
   tsw =3D 0xc0713340, ts =3D 0xc23e1a80, status =3D=20
1577986, kbd_mode =3D 1, cursor_pos =3D 1952, cursor_oldpos =3D 1952,
   cursor_saveunder_char =3D 32,=20
cursor_saveunder_attr =3D 3840, dflt_curs_attr =3D=20
{flags =3D 0, base =3D 0, height =3D 2},
   curr_curs_attr =3D {flags =3D 0, base =3D 0, height=20
=3D 2}, curs_attr =3D {flags =3D 0, base =3D 0, height =3D 16}, mouse_pos =
=3D 1000,
   mouse_oldpos =3D 1000, mouse_xpos =3D 320,=20
mouse_ypos =3D 200, mouse_oldxpos =3D 320, mouse_oldypos =3D 200,=
 mouse_buttons =3D 0,
   mouse_cut_start =3D 2000, mouse_cut_end =3D -1,=20
mouse_proc =3D 0x0, mouse_pid =3D 0, mouse_signal =3D 0, bell_duration =3D=
 50,
   bell_pitch =3D 800, border =3D 0 '\0', mode =3D 24,=20
pid =3D 0, proc =3D 0x0, smode =3D {mode =3D 0 '\0', waitv =3D 0 '\0',=
 relsig =3D 0,
     acqsig =3D 0, frsig =3D 0}, history =3D=20
0xc2253260, history_pos =3D 0, history_size =3D 0, splash_save_mode =3D 0,
   splash_save_status =3D 0}
         sc_cdevsw =3D {d_version =3D 386080773,=20
d_flags =3D 2151677956, d_name =3D 0xc06dd928 "sc", d_open =3D 0xc0670098=
 <scopen>,
   d_fdopen =3D 0, d_close =3D 0xc0670214 <scclose>,=20
d_read =3D 0xc0670308 <scread>, d_write =3D 0xc053cf78 <ttywrite>,
   d_ioctl =3D 0xc067054c <scioctl>, d_poll =3D=20
0xc053a18c <ttypoll>, d_mmap =3D 0xc06742c8 <scmmap>,
   d_strategy =3D 0xc04e4c58 <no_strategy>, d_dump=20
=3D 0xc04e4c38 <enodev>, d_kqfilter =3D 0xc053a244 <ttykqfilter>, d_purge =
=3D 0,
   d_spare2 =3D 0, d_uid =3D 0, d_gid =3D 0, d_mode =3D=20
0, d_kind =3D 0x0, d_list =3D {le_next =3D 0x0, le_prev =3D 0x0}, d_devs =3D=
 {
     lh_first =3D 0xc23ec800}, d_spare3 =3D 0}
         sc_console_tty =3D (struct tty *) 0xc23fa800
         user_default =3D {std_color =3D 7, rev_color =3D 112}
         enable_panic_key =3D 0
         sysctl___hw_syscons_saver =3D {oid_parent=20
=3D 0xc0733fa4, oid_link =3D {sle_next =3D 0xc0713620}, oid_number =3D 901,
   oid_kind =3D 2147483649, oid_arg1 =3D 0xc0733fa8,=20
oid_arg2 =3D 0, oid_name =3D 0xc06dd953 "saver", oid_handler =3D 0,
   oid_fmt =3D 0xc06b8b64 "N", oid_refcnt =3D 0, oid_descr =3D 0xc06dd953=
 "saver"}
         __set_sysctl_set_sym_sysctl___machdep_enable_panic_key=20
=3D (const void * const) 0xc0713660
         __set_cons_set_sym_sc_consdev =3D (const void * const) 0xc07136a0
---Type <return> to continue, or q <return> to quit---
         scrn_blank_time =3D 300
         sysctl___hw_syscons_saver_keybonly =3D=20
{oid_parent =3D 0xc0733fa8, oid_link =3D {sle_next =3D 0x0}, oid_number =3D=
 902,
   oid_kind =3D 3221225474, oid_arg1 =3D 0xc0713554,=20
oid_arg2 =3D 0, oid_name =3D 0xc06dd959 "keybonly",
   oid_handler =3D 0xc0513b94 <sysctl_handle_int>,=20
oid_fmt =3D 0xc06b97ae "I", oid_refcnt =3D 0,
   oid_descr =3D 0xc06dd962 "screen saver interrupted by input only"}
         sysctl___hw_syscons =3D {oid_parent =3D=20
0xc071d69c, oid_link =3D {sle_next =3D 0xc0713be0}, oid_number =3D 900,
   oid_kind =3D 2147483649, oid_arg1 =3D 0xc0733fa4,=20
oid_arg2 =3D 0, oid_name =3D 0xc06dd94b "syscons", oid_handler =3D 0,
   oid_fmt =3D 0xc06b8b64 "N", oid_refcnt =3D 0, oid_descr =3D 0xc06dd94b=
 "syscons"}
         sc_malloc =3D 1 '\001'
         sc_consdev =3D {cn_probe =3D 0xc0671b10=20
<sccnprobe>, cn_init =3D 0xc0671b74 <sccninit>, cn_term =3D 0xc0671bc8=
 <sccnterm>,
   cn_getc =3D 0xc0671ce8 <sccngetc>, cn_checkc =3D=20
0xc0671cf4 <sccncheckc>, cn_putc =3D 0xc0671bfc <sccnputc>,
   cn_dbctl =3D 0xc0671d00 <sccndbctl>, cn_tp =3D=20
0x0, cn_pri =3D 3, cn_arg =3D 0x0, cn_unit =3D 0, cn_flags =3D 0,
   cn_name =3D "consolectl", '\0' <repeats 53 times>}
         sc_consptr =3D (struct consdev *) 0xc07136a0
         kernel_console_ts =3D (void *) 0xc0733f40
         init_done =3D 1 '\001'
         __set_sysctl_set_sym_sysctl___hw_syscons_bell=20
=3D (const void * const) 0xc0713620
         sysctl___machdep_enable_panic_key =3D=20
{oid_parent =3D 0xc071d6a0, oid_link =3D {sle_next =3D=20
0xc0713d60}, oid_number =3D 904,
   oid_kind =3D 3221225474, oid_arg1 =3D 0xc07451d0,=20
oid_arg2 =3D 0, oid_name =3D 0xc06dd995 "enable_panic_key",
   oid_handler =3D 0xc0513b94 <sysctl_handle_int>,=20
oid_fmt =3D 0xc06b97ae "I", oid_refcnt =3D 0,
   oid_descr =3D 0xc06dd9a6 "Enable panic via keypress specified in=
 kbdmap(5)"}
         shutdown_in_progress =3D 1 '\001'
         main_devs =3D {0xc23f9900, 0xc23f9800,=20
0xc23f9700, 0xc23f9600, 0xc23f9500, 0xc23f9400,=20
0xc23f9300, 0xc23f9200, 0xc23f9100,
   0xc23f9000, 0xc23ece00, 0xc23ecd00,=20
0xc23ecc00, 0xc23ecb00, 0xc23eca00, 0xc23ec900}
         enable_bell =3D 1
         saver_mode =3D -1
         kernel_default =3D {std_color =3D 15, rev_color =3D 112}
         sc_saver_keyb_only =3D 1
         __set_sysctl_set_sym_sysctl___hw_syscons_saver_keybonly=20
=3D (const void * const) 0xc07135e0
         sysctl__hw_syscons_children =3D {slh_first =3D 0xc07135a0}
         sc_user_ioctl =3D (int (*)(struct cdev *,=20
u_long, caddr_t, int, struct thread *)) 0
         sysctl__hw_syscons_saver_children =3D {slh_first =3D 0xc07135e0}
#26 0xc04f8579 in ithread_loop (arg=3D0xc2281400)=20
at /usr/src/sys/kern/kern_intr.c:545
         ithd =3D (struct ithd *) 0x4
         ih =3D (struct intrhand *) 0xc2281400
         td =3D (struct thread *) 0xc22d9600
         p =3D (struct proc *) 0xc22d8624
         count =3D 0
         warned =3D 0
#27 0xc04f782c in fork_exit (callout=3D0xc04f8434=20
<ithread_loop>, arg=3D0xc2281400, frame=3D0xe5017d38)
     at /usr/src/sys/kern/kern_fork.c:789
         p =3D (struct proc *) 0xc22d8624
         td =3D (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@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 =3D "GenuineIntel"  Id =3D 0xf34  Stepping =3D 4
  =
 Features=3D0xbfebfbff<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=3D0x441d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,<b14>>
real memory  =3D 1072627712 (1022 MB)
avail memory =3D 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>=20
port 0xe400-0xe407 mem=20
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>=20
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=20
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,=20
Version - 2.1.7> port 0xd100-0xd13f mem=20
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=20
1.50.01.002> port 0xd200-0xd20f mem=20
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=20
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>=20
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=20
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=3D0x300>
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,=20
rule-based forwarding disabled, default to=20
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@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.3.4.0.20050824223816.0461b788>