5.2.1-R-p5 panic & backtrace

From: Rory Arms (rorya_at_TrueStep.com)
Date: 05/21/04

  • Next message: Volker Kindermann: "Re: Lockups with Intel ICH5 SATA"
    To: freebsd-current@freebsd.org
    Date: Fri, 21 May 2004 13:27:06 -0400
    
    

    I have another crash report from a single Pentium II, dual capable
    system. The motherboard is a Tyan Thunderbolt. I'm pretty sure it is
    running the latest BIOS version. Also, ACPI is enabled in the BIOS.

    The system has 256 MB of RAM, two Intel Pro/1000 NICs and one built in
    Intel Pro 10/100 NIC. The system ran 5.1 with no problems, and reached
    100+ days of uptime w/o panics, as a production server. Since 5.2-R, it
    hasn't made it more than 20 days without a panic. Also, when it panics,
    it doesn't always restart on its own. I usually have to unplug it for
    several minutes before I can plug it back in and turn it on. At that
    point, it POSTs correctly. Just pressing the reset button after a panic
    is futile.

    Here's the gdb backtrace of the core file:

    > sudo gdb -k kernel.debug /usr/local/crash/vmcore.3
    Password:
    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-unknown-freebsd"...
    panic: page fault
    panic messages:

    ---
    Fatal trap 12: page fault while in kernel mode
    cpuid = 0; apic id = 00
    fault virtual address   = 0x6665725f
    fault code              = supervisor read, page not present
    instruction pointer     = 0x8:0xc0515313
    stack pointer           = 0x10:0xcdcccc84
    frame pointer           = 0x10:0xcdccccac
    code segment            = base 0x0, limit 0xfffff, type 0x1b
                             = DPL 0, pres 1, def32 1, gran 1
    processor eflags        = resume, IOPL = 0
    current process         = 36 (swi8: tty:sio clock)
    trap number             = 12
    panic: page fault
    cpuid = 0;
    syncing disks, buffers remaining... 2160 2160 2160 2160 2160 2160 2160  
    2160 2160 kernel trap 12 with interrupts disabled
    Fatal trap 12: page fault while in kernel mode
    cpuid = 0; apic id = 00
    fault virtual address   = 0x432236f0
    fault code              = supervisor read, page not present
    instruction pointer     = 0x8:0xc05617f0
    stack pointer           = 0x10:0xcdcccad0
    frame pointer           = 0x10:0xcdcccb20
    code segment            = base 0x0, limit 0xfffff, type 0x1b
                             = DPL 0, pres 1, def32 1, gran 1
    processor eflags        = resume, IOPL = 0
    current process         = 36 (swi8: tty:sio clock)
    trap number             = 12
    panic: page fault
    cpuid = 0;
    Uptime: 19d4h41m4s
    Dumping 255 MB
      16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
    ---
    Reading symbols from  
    /usr/obj/usr/src/sys/TREX/modules/usr/src/sys/modules/acpi/ 
    acpi.ko.debug...done.
    Loaded symbols for  
    /usr/obj/usr/src/sys/TREX/modules/usr/src/sys/modules/acpi/ 
    acpi.ko.debug
    #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
    240             dumping++;
    (kgdb) backtrace
    #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
    #1  0xc04fee87 in boot (howto=260) at  
    /usr/src/sys/kern/kern_shutdown.c:372
    #2  0xc04ff2a0 in poweroff_wait (junk=0xc06d0295, howto=-1066453387)
         at /usr/src/sys/kern/kern_shutdown.c:550
    #3  0xc06a535c in trap_fatal (frame=0xc06d0295, eva=0)
         at /usr/src/sys/i386/i386/trap.c:821
    #4  0xc06a49c3 in trap (frame=
           {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1025492992, tf_esi  
    = 4, tf_ebp = -842216672, tf_isp = -842216772, tf_ebx = 1126315544,  
    tf_edx = -1049980608, tf_ecx = -1066189216, tf_eax = 1, tf_trapno = 12,  
    tf_err = 0, tf_eip = -1068099600, tf_cs = 8, tf_eflags = 65542, tf_esp  
    = 1575092224, tf_ss = -1049980608})
         at /usr/src/sys/i386/i386/trap.c:250
    #5  0xc0691828 in calltrap () at {standard input}:94
    #6  0xc0562b60 in sync (td=0x4, uap=0x0)
         at /usr/src/sys/kern/vfs_syscalls.c:140
    #7  0xc04fea4f in boot (howto=256) at  
    /usr/src/sys/kern/kern_shutdown.c:306
    #8  0xc04ff2a0 in poweroff_wait (junk=0xc06d0295, howto=-1066453387)
         at /usr/src/sys/kern/kern_shutdown.c:550
    #9  0xc06a535c in trap_fatal (frame=0xc06d0295, eva=0)
         at /usr/src/sys/i386/i386/trap.c:821
    #10 0xc06a49c3 in trap (frame=
           {tf_fs = -842268648, tf_es = -842268656, tf_ds = -1065222128,  
    tf_edi = 1, tf_esi = -1024685952, tf_ebp = -842216276, tf_isp =  
    -842216336, tf_ebx = 1457105---Type <return> to continue, or q <return>  
    to quit---
    , tf_edx = 1717924447, tf_ecx = -1066470242, tf_eax = 533010, tf_trapno  
    = 12, tf_err = 0, tf_eip = -1068412141, tf_cs = 8, tf_eflags = 67590,  
    tf_esp = -1066187520, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:250
    #11 0xc0691828 in calltrap () at {standard input}:94
    #12 0xc051120e in softclock (dummy=0x0) at  
    /usr/src/sys/kern/kern_timeout.c:225
    #13 0xc04e92a8 in ithread_loop (arg=0xc16a4e80)
         at /usr/src/sys/kern/kern_intr.c:544
    #14 0xc04e7ed0 in fork_exit (callout=0xc04e90d0 <ithread_loop>, arg=0x0,
         frame=0x0) at /usr/src/sys/kern/kern_fork.c:793
    (kgdb)
    Here's dmesg(8) output:
     > dmesg
    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.1-RELEASE-p5 #6: Thu Apr 29 17:16:01 EDT 2004
         root@Trex:/usr/obj/usr/src/sys/TREX
    Preloaded elf kernel "/boot/kernel/kernel" at 0xc083e000.
    Preloaded elf module "/boot/kernel/acpi.ko" at 0xc083e244.
    ACPI APIC Table: <OEMTYN OEMTYNTB>
    Timecounter "i8254" frequency 1193182 Hz quality 0
    CPU: Pentium II/Pentium II Xeon/Celeron (451.02-MHz 686-class CPU)
       Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
        
    Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE, 
    MCA,CMOV,PAT,PSE36,MMX,FXSR>
    real memory  = 268304384 (255 MB)
    avail memory = 251101184 (239 MB)
    ioapic0 <Version 1.1> irqs 0-23 on motherboard
    Pentium Pro MTRR support enabled
    npx0: [FAST]
    npx0: <math processor> on motherboard
    npx0: INT 16 interface
    acpi0: <OEMTYN OEMTYNTB> on motherboard
    acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20
    pcibios: BIOS version 2.10
    acpi0: Power Button (fixed)
    Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
    acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
    acpi_cpu0: <CPU> on acpi0
    acpi_cpu1: <CPU> on acpi0
    device_probe_and_attach: acpi_cpu1 attach returned 6
    pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
    pci0: <ACPI PCI bus> on pcib0
    agp0: <Intel 82443GX host to PCI bridge> mem 0xf8000000-0xfbffffff at  
    device 0.0 on pci0
    pcib1: <PCI-PCI bridge> at device 1.0 on pci0
    pci1: <PCI bus> on pcib1
    pcib1: slot 0 INTA is routed to irq 16
    pci1: <display, VGA> at device 0.0 (no driver attached)
    isab0: <PCI-ISA bridge> at device 7.0 on pci0
    isa0: <ISA bus> on isab0
    pci0: <mass storage, ATA> at device 7.1 (no driver attached)
    pci0: <serial bus, USB> at device 7.2 (no driver attached)
    pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
    ahc0: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0xe400-0xe4ff mem  
    0xfebfe000-0xfebfefff irq 16 at device 11.0 on pci0
    aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
    ahc1: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0xe800-0xe8ff mem  
    0xfebff000-0xfebfffff irq 16 at device 11.1 on pci0
    aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs
    pci0: <multimedia, audio> at device 12.0 (no driver attached)
    fxp0: <Intel 82559 Pro/100 Ethernet> port 0xee80-0xeebf mem  
    0xfea00000-0xfeafffff,0xfebfd000-0xfebfdfff irq 19 at device 13.0 on  
    pci0
    fxp0: Ethernet address 00:e0:81:10:7e:eb
    miibus0: <MII bus> on fxp0
    inphy0: <i82555 10/100 media interface> on miibus0
    inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.19> port  
    0xed80-0xedbf mem 0xfeba0000-0xfebbffff irq 16 at device 16.0 on pci0
    em0:  Speed:N/A  Duplex:N/A
    em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.19> port  
    0xed00-0xed3f mem 0xfeb80000-0xfeb9ffff irq 17 at device 17.0 on pci0
    em1:  Speed:N/A  Duplex:N/A
    sio0: configured irq 19 not in bitmap of probed irqs 0x200
    sio0: port may not be enabled
    sio0: <3COM PCI FaxModem> port 0xeff0-0xeff7 irq 19 at device 19.0 on  
    pci0
    sio0: moving to sio4
    sio4: type 16550A
    acpi_button0: <Sleep Button> on acpi0
    atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
    fdc0: ready for input in output
    fdc0: cmd 3 failed at out byte 1 of 3
    sio0 port 0x3f8-0x3ff irq 4 on acpi0
    sio0: type 16550A, console
    sio1 port 0x2f8-0x2ff irq 3 on acpi0
    sio1: type 16550A
    ppc0 port 0x378-0x37f irq 7 on acpi0
    ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
    ppbus0: <Parallel port bus> on ppc0
    lpt0: <Printer> on ppbus0
    lpt0: Interrupt-driven port
    ppi0: <Parallel I/O> on ppbus0
    acpi_cpu1: <CPU> on acpi0
    device_probe_and_attach: acpi_cpu1 attach returned 6
    fdc0: ready for input in output
    fdc0: cmd 3 failed at out byte 1 of 3
    orm0: <Option ROMs> at iomem 0xc8000-0xcd7ff,0xc0000-0xc7fff on isa0
    pmtimer0 on isa0
    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
    sc0: <System console> at flags 0x100 on isa0
    sc0: VGA <16 virtual consoles, flags=0x100>
    vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on  
    isa0
    Timecounter "TSC" frequency 451024317 Hz quality 800
    Timecounters tick every 10.000 msec
    IPsec: Initialized Security Association Processing.
    IP Filter: v3.4.31 initialized.  Default = pass all, Logging = enabled
    Waiting 15 seconds for SCSI devices to settle
    acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
    em0: Link is up 1000 Mbps Full Duplex
    GEOM: create disk cd0 dp=0xc2d22e00
    GEOM: create disk da0 dp=0xc2e05050
    GEOM: create disk da1 dp=0xc2e04c50
    cd0 at ahc1 bus 0 target 0 lun 0
    cd0: <TOSHIBA CD-ROM XM-6401TA 1015> Removable CD-ROM SCSI-2 device
    cd0: 20.000MB/s transfers (20.000MHz, offset 16)
    cd0: Attempt to query device size failed: NOT READY, Medium not present
    da1 at ahc1 bus 0 target 5 lun 0
    da1: <IBM DNES-318350Y SA30> Fixed Direct Access SCSI-3 device
    da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged  
    Queueing Enabled
    da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
    da0 at ahc1 bus 0 target 2 lun 0
    da0: <IBM DNES-318350Y SA30> Fixed Direct Access SCSI-3 device
    da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged  
    Queueing Enabled
    da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
    Mounting root from ufs:/dev/da1s1a
    WARNING: / was not properly dismounted
    WARNING: /tmp was not properly dismounted
    WARNING: /usr was not properly dismounted
    WARNING: /var was not properly dismounted
    WARNING: /export/sbdata1 was not properly dismounted
    em1: Link is up 100 Mbps Full Duplex
    em0: Link is up 1000 Mbps Full Duplex
    Output of mptable(1):
     > sudo mptable
    ======================================================================== 
    =======
    MPTable, version 2.0.15
    ------------------------------------------------------------------------ 
    -------
    MP Floating Pointer Structure:
       location:                     BIOS
       physical address:             0x000fb560
       signature:                    '_MP_'
       length:                       16 bytes
       version:                      1.4
       checksum:                     0xaf
       mode:                         Virtual Wire
    ------------------------------------------------------------------------ 
    -------
    MP Config Table Header:
       physical address:             0x000f6280
       signature:                    'PCMP'
       base table length:            280
       version:                      1.4
       checksum:                     0x82
       OEM ID:                       'INTEL   '
       Product ID:                   '440GX       '
       OEM table pointer:            0x00000000
       OEM table size:               0
       entry count:                  28
       local APIC address:           0xfee00000
       extended table length:        16
       extended table checksum:      234
    ------------------------------------------------------------------------ 
    -------
    MP Config Base Table Entries:
    --
    Processors:     APIC ID Version State           Family  Model   Step     
    Flags
                      0       0x11    BSP, usable     6       5       2       
      0x183fbff
    --
    Bus:            Bus ID  Type
                      0       PCI
                      1       PCI
                      2       ISA
    --
    I/O APICs:      APIC ID Version State           Address
                      2       0x11    usable          0xfec00000
    --
    I/O Ints:       Type    Polarity    Trigger     Bus ID   IRQ    APIC ID  
    PIN#
                     ExtINT   conforms    conforms        2     0          2  
        0
                     INT      conforms    conforms        2     1          2  
        1
                     INT      conforms    conforms        2     0          2  
        2
                     INT      conforms    conforms        2     3          2  
        3
                     INT      conforms    conforms        2     4          2  
        4
                     INT      conforms    conforms        2     5          2  
        5
                     INT      conforms    conforms        2     6          2  
        6
                     INT      conforms    conforms        2     7          2  
        7
                     INT     active-hi        edge        2     8          2  
        8
                     INT      conforms    conforms        2    12          2  
       12
                     INT      conforms    conforms        2    13          2  
       13
                     INT      conforms    conforms        2    14          2  
       14
                     INT     active-lo       level        1   0:A          2  
       16
                     INT     active-lo       level        0  16:A          2  
       16
                     INT     active-lo       level        0  11:A          2  
       16
                     INT     active-lo       level        0  11:A          2  
       16
                     INT     active-lo       level        0  17:A          2  
       17
                     INT     active-lo       level        0  12:A          2  
       18
                     INT     active-lo       level        0  19:A          2  
       19
                     INT     active-lo       level        0  13:A          2  
       19
                     SMI      conforms    conforms        2     0          2  
       23
    --
    Local Ints:     Type    Polarity    Trigger     Bus ID   IRQ    APIC ID  
    PIN#
                     ExtINT   conforms    conforms        0   0:A        255  
        0
                     NMI      conforms    conforms        0   0:A        255  
        1
    ------------------------------------------------------------------------ 
    -------
    MP Config Extended Table Entries:
    Extended Table HOSED!
    Lastly, the kernel configuration:
     > grep -v ^# /sys/i386/conf/TREX
    machine         i386
    cpu             I686_CPU
    ident           TREX
    makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug  
    symbols
    options         SCHED_4BSD              #4BSD scheduler
    options         INET                    #InterNETworking
    options         INET6                   #IPv6 communications protocols
    options         FFS                     #Berkeley Fast Filesystem
    options         SOFTUPDATES             #Enable FFS soft updates support
    options         UFS_ACL                 #Support for access control  
    lists
    options         UFS_DIRHASH             #Improve performance on big  
    directories
    options         MD_ROOT                 #MD is a potential root device
    options         NFSCLIENT               #Network Filesystem Client
    options         NFSSERVER               #Network Filesystem Server
    options         NFS_ROOT                #NFS usable as root device,  
    requires NFSCLIENT
    options         MSDOSFS                 #MSDOS Filesystem
    options         CD9660                  #ISO 9660 Filesystem
    options         PROCFS                  #Process filesystem (requires  
    PSEUDOFS)
    options         PSEUDOFS                #Pseudo-filesystem framework
    options         COMPAT_43               #Compatible with BSD 4.3 [KEEP  
    THIS!]
    options         COMPAT_FREEBSD4         #Compatible with FreeBSD4
    options         SCSI_DELAY=15000        #Delay (in ms) before probing  
    SCSI
    options         KTRACE                  #ktrace(1) support
    options         SYSVSHM                 #SYSV-style shared memory
    options         SYSVMSG                 #SYSV-style message queues
    options         SYSVSEM                 #SYSV-style semaphores
    options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time  
    extensions
    options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
    options         AHC_REG_PRETTY_PRINT    # Print register bitfields in  
    debug
                                             # output.  Adds ~128k to driver.
    options         AHD_REG_PRETTY_PRINT    # Print register bitfields in  
    debug
                                             # output.  Adds ~215k to driver.
    options         PFIL_HOOKS              # pfil(9) framework
    options         IPFILTER                # Darren Reed's IP Filter
    options         IPFILTER_LOG            # Darren Reed's IP Filter
    options         IPSEC
    options         IPSEC_ESP
    options         PANIC_REBOOT_WAIT_TIME=16
    options         SMP                     # Symmetric MultiProcessor  
    Kernel
    device          apic                    # I/O APIC
    device          isa
    device          pci
    device          fdc
    device          ahc             # AHA2940 and onboard AIC7xxx devices
    device          scbus           # SCSI bus (required)
    device          da              # Direct Access (disks)
    device          sa              # Sequential Access (tape etc)
    device          cd              # CD
    device          pass            # Passthrough device (direct SCSI  
    access)
    device          ses             # SCSI Environmental Services (and  
    SAF-TE)
    device          atkbdc          # AT keyboard controller
    device          atkbd           # AT keyboard
    device          psm             # PS/2 mouse
    device          vga             # VGA video card driver
    device          sc
    device          agp             # support several AGP chipsets
    device          npx
    device          pmtimer
    device          sio             # 8250, 16[45]50 based serial ports
    device          ppc
    device          ppbus           # Parallel port bus (required)
    device          lpt             # Printer
    device          ppi             # Parallel port interface device
    device          em              # Intel PRO/1000 adapter Gigabit  
    Ethernet Card
    device          miibus          # MII bus support
    device          fxp             # Intel EtherExpress PRO/100B (82557,  
    82558)
    device          random          # Entropy device
    device          loop            # Network loopback
    device          ether           # Ethernet support
    device          sl              # Kernel SLIP
    device          ppp             # Kernel PPP
    device          tun             # Packet tunnel.
    device          pty             # Pseudo-ttys (telnet etc)
    device          md              # Memory "disks"
    device          gif             # IPv6 and IPv4 tunneling
    device          faith           # IPv6-to-IPv4 relaying (translation)
    device          bpf             # Berkeley packet filter
    As noted in a previous email, I have FreeBSD-5.2.1-R installed another  
    dual processor machine (has two procesors though) and have had no  
    problems. Aside from the two processors, biggest difference is that it  
    uses a Tyan Thunder 100 motherboard instead. So, I wonder if these  
    panics have something to do with the fact that it's a single processor  
    on a dual-capable motherboard. In the past I've tried using kernels  
    with various combinations of APIC, ACPI and SMP options, but they all  
    crashed at one point or another as well.
    -rory
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Volker Kindermann: "Re: Lockups with Intel ICH5 SATA"