panics after updating to RELENG_4 aug 25 from May 17th

Mike Tancsa mike at sentex.net
Sun Aug 29 11:13:59 PDT 2004


The box was quite stable prior to this with well burnt in hardware. Both 
panics seem to be in the same location.  The box functions as an outbound 
smtp smarthost running stock sendmail.  dmesg and kernel config at the end

         ---Mike



# gdb -k /kernel.debug vmcore.5
GNU gdb 4.18 (FreeBSD)
Copyright 1998 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-unknown-freebsd"...Deprecated bfd_read 
called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c 
line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c 
line 933 in fill_symbuf

IdlePTD at physical address 0x002db000
initial pcb at physical address 0x00259460
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x20303034
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc014013e
stack pointer           = 0x10:0xc023a118
frame pointer           = 0x10:0xc023a11c
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         = Idle
interrupt mask          =
trap number             = 12
panic: page fault

syncing disks...

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01b74c8
stack pointer           = 0x10:0xc0239f38
frame pointer           = 0x10:0xc0239f40
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         = Idle
interrupt mask          = bio
trap number             = 12
panic: page fault
Uptime: 1d4h14m3s

dumping to dev #ad/0x20001, offset 6307968
dump ata0: resetting devices .. done
ad0: timeout waiting for DRQ - resetting
ata0: resetting devices .. ata0-slave: ATA identify retries exceeded
done
1015 1014 1013 1012 1011 1010 1009 1008 1007


(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc014c868 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc014cc9c in poweroff_wait (junk=0xc02312ec, howto=-1071444497) at 
/usr/src/sys/kern/kern_shutdown.c:595
#3  0xc01fac2f in trap_fatal (frame=0xc0239ef8, eva=48) at 
/usr/src/sys/i386/i386/trap.c:974
#4  0xc01fa8e9 in trap_pfault (frame=0xc0239ef8, usermode=0, eva=48) at 
/usr/src/sys/i386/i386/trap.c:867
#5  0xc01fa4bf in trap (frame={tf_fs = 6815760, tf_es = 6815760, tf_ds = 
-1072431088, tf_edi = 0, tf_esi = 2,
       tf_ebp = -1071407296, tf_isp = -1071407324, tf_ebx = -1071336836, 
tf_edx = 6864960, tf_ecx = -1071198912, tf_eax = 0,
       tf_trapno = 12, tf_err = 0, tf_eip = -1071942456, tf_cs = 8, 
tf_eflags = 66050, tf_esp = -1071407176, tf_ss = 2})
     at /usr/src/sys/i386/i386/trap.c:466
#6  0xc01b74c8 in acquire_lock (lk=0xc024b27c) at 
/usr/src/sys/ufs/ffs/ffs_softdep.c:266
#7  0xc01bbc16 in softdep_fsync_mountdev (vp=0xedc64b40) at 
/usr/src/sys/ufs/ffs/ffs_softdep.c:4024
#8  0xc01bff42 in ffs_fsync (ap=0xc0239fb8) at 
/usr/src/sys/ufs/ffs/ffs_vnops.c:134
#9  0xc01beb70 in ffs_sync (mp=0xcdca7c00, waitfor=2, cred=0xc1b3a680, 
p=0xc026cd40) at vnode_if.h:558
#10 0xc017dfd7 in sync (p=0xc026cd40, uap=0x0) at 
/usr/src/sys/kern/vfs_syscalls.c:583
#11 0xc014c623 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235
#12 0xc014cc9c in poweroff_wait (junk=0xc02312ec, howto=-1071444497) at 
/usr/src/sys/kern/kern_shutdown.c:595
#13 0xc01fac2f in trap_fatal (frame=0xc023a0d8, eva=540028980) at 
/usr/src/sys/i386/i386/trap.c:974
#14 0xc01fa8e9 in trap_pfault (frame=0xc023a0d8, usermode=0, eva=540028980) 
at /usr/src/sys/i386/i386/trap.c:867
#15 0xc01fa4bf in trap (frame={tf_fs = -842399728, tf_es = -1071448048, 
tf_ds = -1072562160, tf_edi = -1, tf_esi = 0,
       tf_ebp = -1071406820, tf_isp = -1071406844, tf_ebx = 0, tf_edx = 
-1071406800, tf_ecx = 4194560, tf_eax = -1071406800,
       tf_trapno = 12, tf_err = 0, tf_eip = -1072430786, tf_cs = 8, 
tf_eflags = 66118, tf_esp = 0, tf_ss = -1071406808})
     at /usr/src/sys/i386/i386/trap.c:466
#16 0xc014013e in statclock (frame=0xc023a130) at 
/usr/src/sys/kern/kern_clock.c:439
#17 0xc01ff66d in rtcintr (frame={cf_vec = 0, cf_ppl = 0, cf_fs = 16, cf_es 
= -65520, cf_ds = 16, cf_edi = -1, cf_esi = 0,
       cf_ebp = -1071406728, -1071406748, cf_ebx = 0, cf_edx = 2517, cf_ecx 
= -425803104, cf_eax = 0, 0, 0, cf_eip = -1071702170,
       cf_cs = 8, cf_eflags = 514, cf_esp = 0, cf_ss = -1071670027}) at 
/usr/src/sys/i386/isa/clock.c:385
#18 0xc01f1f66 in cpu_idle () at /usr/src/sys/i386/i386/machdep.c:1000
(kgdb) up 14
#14 0xc01fa8e9 in trap_pfault (frame=0xc023a0d8, usermode=0, eva=540028980) 
at /usr/src/sys/i386/i386/trap.c:867
867                     trap_fatal(frame, eva);
(kgdb) list
862             if (!usermode) {
863                     if (intr_nesting_level == 0 && curpcb && 
curpcb->pcb_onfault) {
864                             frame->tf_eip = (int)curpcb->pcb_onfault;
865                             return (0);
866                     }
867                     trap_fatal(frame, eva);
868                     return (-1);
869             }
870
871             /* kludge to pass faulting virtual address to sendsig */
(kgdb)

and in the other dump

# gdb -k /kernel.debug vmcore.6
GNU gdb 4.18 (FreeBSD)
Copyright 1998 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-unknown-freebsd"...Deprecated bfd_read 
called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c 
line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c 
line 933 in fill_symbuf

IdlePTD at physical address 0x002db000
initial pcb at physical address 0x00259460
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc014013e
stack pointer           = 0x10:0xc023a118
frame pointer           = 0x10:0xc023a11c
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         = Idle
interrupt mask          =
trap number             = 12
panic: page fault

syncing disks...

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01b74c8
stack pointer           = 0x10:0xc0239f38
frame pointer           = 0x10:0xc0239f40
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         = Idle
interrupt mask          = bio
trap number             = 12
panic: page fault
Uptime: 2d18h15m4s

dumping to dev #ad/0x20001, offset 6307968
dump ata0: resetting devices .. done
ad0: timeout waiting for DRQ - resetting
ata0: resetting devices .. ata0-slave: ATA identify retries exceeded
done
1015 1014 1013 1012

(kgdb) up 14
#14 0xc01fa8e9 in trap_pfault (frame=0xc023a0d8, usermode=0, eva=0) at 
/usr/src/sys/i386/i386/trap.c:867
867                     trap_fatal(frame, eva);
(kgdb) list
862             if (!usermode) {
863                     if (intr_nesting_level == 0 && curpcb && 
curpcb->pcb_onfault) {
864                             frame->tf_eip = (int)curpcb->pcb_onfault;
865                             return (0);
866                     }
867                     trap_fatal(frame, eva);
868                     return (-1);
869             }
870
871             /* kludge to pass faulting virtual address to sendsig */
(kgdb)


machine         i386
cpu             I686_CPU
ident           smtp
makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols
maxusers        0
options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         P1003_1B                #Posix P1003_1B real-time extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
device          isa
device          pci
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0
device          ata
options         UFS_DIRHASH
device          atadisk                 # ATA disk drives
options         ATA_STATIC_ID           #Static device numbering
                                 # Allow ncr to attach legacy NCR devices when
                                 # both sym and ncr are configured
device          twe             # 3ware Escalade
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1
device          psm0    at atkbdc? irq 12
device          vga0    at isa?
device          sc0     at isa? flags 0x100
device          npx0    at nexus? port IO_NPX irq 13
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          ppc0    at isa? irq 7
device          ppbus           # Parallel port bus (required)
device          ppi             # Parallel port interface device
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
device          miibus          # MII bus support
device          rl              # RealTek 8129/8139
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   ppp     1       # Kernel PPP
pseudo-device   tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   gif     4       # IPv6 and IPv4 tunneling
pseudo-device   faith   1       # IPv6-to-IPv4 relaying (translation)
pseudo-device   bpf             #Berkeley packet filter
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about
options         IPFIREWALL_FORWARD      #enable transparent proxy support
options         IPFIREWALL_VERBOSE_LIMIT=1000   #limit verbosity
options         IPV6FIREWALL            #firewall for IPv6
options         IPV6FIREWALL_VERBOSE
options         IPV6FIREWALL_VERBOSE_LIMIT=1000
options         IPDIVERT                #divert sockets
options         IPFW2
pseudo-device   disc                    #Discard device (ds0, ds1, etc)


Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1800036140 Hz
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (1800.04-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
   Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,T
M>
real memory  = 1065287680 (1040320K bytes)
config> q
avail memory = 1033629696 (1009404K bytes)
Preloaded elf kernel "kernel" at 0xc02bc000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02bc09c.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
Using $PIR table, 10 entries at 0xc00fde70
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1106 device=b091)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <S3 model 8d04 graphics accelerator> at 0.0
rl0: <RealTek 8139 10/100BaseTX> port 0xd000-0xd0ff mem 
0xec000000-0xec0000ff irq 15 at device 8.0 on pci0
rl0: Ethernet address: 00:50:fc:5b:d5:4a
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI to ISA bridge (vendor=1106 device=3177)> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 ATA133 controller> port 0xe000-0xe00f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
ppc0: parallel port not found.
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default 
to deny, logging limited to 1000 packets/entry by default
ad0: 57241MB <ST360015A> [116301/16/63] at ata0-master UDMA100
Mounting root from ufs:/dev/ad0s1a

         ---Mike

--------------------------------------------------------------------
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