kern/121298: [em] [panic] Fatal trap 12: page fault while in kernel mode (em0 taskq)

Lev Serebryakov lev at serebryakov.spb.ru
Fri May 23 18:10:07 UTC 2008


The following reply was made to PR kern/121298; it has been noted by GNATS.

From: Lev Serebryakov <lev at serebryakov.spb.ru>
To: bug-followup at FreeBSD.org, admin at aknet.ru
Cc:  
Subject: Re: kern/121298: [em] [panic] Fatal trap 12: page fault while in kernel mode (em0 taskq)
Date: Fri, 23 May 2008 21:47:41 +0400

 Hello, bug-followup.
 
 I've got very similar panic.
 `csup' from local (located in same segment) cvsup server via gigabit
 link and RAID5 (geom_raid5) synchronize newely-created array with 4
 disks. csup writes on OTHER disk, not included in array.
 
 No crashdump, because core was not saved: machine hangs up right after
 panic message, without attempts to save dump or reboot. Crash dumps are
 enabled and I got previous one (other bug), but in this case no dumps,
 no reaction on keyboards, etc. Need to reboot with pwoer switch :(
 
 ==================== panic message, typed by hands
 em0: watchdog timeout -- resetting
 kernel trap 12 with interrupts disabled
 
 Fatal trap 12: page fault in kernnel mode
 cpuid = 1; apic id = 01
 fault virtual addewaa   = 0x28
 fault code              = supervisor read data, page not present
 instruction pointer     = 0x8:0xffffffff80282c2f
 stack pointer           = 0x10:0xffffffffabed4b20
 frame pointer           = 0x10:0xffffff00010c9000
 code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, long 1, def32 0, gran 1
 processor efalgs        = resume, IOPL = 1
 current process         = 23 (em0 taskq)
 trap number             = 12
 panic: page fault
 cpuid = 1
 ==================== panic message, typed by hands
 
 ========================================= uname -a
 FreeBSD blob.home.serebryakov.spb.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon May 19 21:26:08 MSD 2008     lev at blob.home.serebryakov.spb.ru:/usr/obj/usr/src/sys/BLOB  amd64
 ========================================= uname -a
 
 ============================================ dmesg
 Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.0-STABLE #0: Mon May 19 21:26:08 MSD 2008
     lev at blob.home.serebryakov.spb.ru:/usr/obj/usr/src/sys/BLOB
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz (2200.09-MHz K8-class CPU)
   Origin = "GenuineIntel"  Id = 0x6fd  Stepping = 13
   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=0xe39d<SSE3,RSVD2,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM>
   AMD Features=0x20100800<SYSCALL,NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
 usable memory = 6364114944 (6069 MB)
 avail memory  = 6141857792 (5857 MB)
 ACPI APIC Table: <A_M_I_ OEMAPIC >
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 kbd1 at kbdmux0
 acpi0: <A_M_I_ OEMXSDT> on motherboard
 acpi0: [ITHREAD]
 acpi0: Power Button (fixed)
 acpi0: reservation of 0, a0000 (3) failed
 acpi0: reservation of 100000, cfd00000 (3) failed
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 Timecounter "HPET" frequency 14318180 Hz quality 900
 cpu0: <ACPI CPU> on acpi0
 ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] -  51, should be 4C [20070320]
 coretemp0: <CPU On-Die Thermal Sensors> on cpu0
 est0: <Enhanced SpeedStep Frequency Control> on cpu0
 est0: Setting 2200 MHz
 p4tcc0: <CPU Frequency Thermal Control> on cpu0
 cpu1: <ACPI CPU> on acpi0
 coretemp1: <CPU On-Die Thermal Sensors> on cpu1
 est1: <Enhanced SpeedStep Frequency Control> on cpu1
 est1: Setting 2200 MHz
 p4tcc1: <CPU Frequency Thermal Control> on cpu1
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 vgapci0: <VGA-compatible display> port 0xec00-0xec07 mem 0xfea80000-0xfeafffff,0xd0000000-0xdfffffff,0xfe900000-0xfe9fffff irq 16 at device 2.0 on pci0
 pci0: <simple comms> at device 3.0 (no driver attached)
 em0: <Intel(R) PRO/1000 Network Connection 6.9.0> port 0xe880-0xe89f mem 0xfea40000-0xfea5ffff,0xfea7a000-0xfea7afff irq 20 at device 25.0 on pci0
 em0: [FILTER]
 em0: Ethernet address: 00:1e:8c:75:03:0d
 uhci0: <UHCI (generic) USB controller> port 0xe400-0xe41f irq 16 at device 26.0 on pci0
 uhci0: [GIANT-LOCKED]
 uhci0: [ITHREAD]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xe480-0xe49f irq 21 at device 26.1 on pci0
 uhci1: [GIANT-LOCKED]
 uhci1: [ITHREAD]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
 uhub1: 2 ports with 2 removable, self powered
 uhci2: <UHCI (generic) USB controller> port 0xe800-0xe81f irq 18 at device 26.2 on pci0
 uhci2: [GIANT-LOCKED]
 uhci2: [ITHREAD]
 usb2: <UHCI (generic) USB controller> on uhci2
 usb2: USB revision 1.0
 uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
 uhub2: 2 ports with 2 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfea7b800-0xfea7bbff irq 18 at device 26.7 on pci0
 ehci0: [GIANT-LOCKED]
 ehci0: [ITHREAD]
 usb3: EHCI version 1.0
 usb3: companion controllers, 2 ports each: usb0 usb1 usb2
 usb3: <EHCI (generic) USB 2.0 controller> on ehci0
 usb3: USB revision 2.0
 uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
 uhub3: 6 ports with 6 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 23 at device 29.0 on pci0
 uhci3: [GIANT-LOCKED]
 uhci3: [ITHREAD]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 19 at device 29.1 on pci0
 uhci4: [GIANT-LOCKED]
 uhci4: [ITHREAD]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
 uhub5: 2 ports with 2 removable, self powered
 uhci5: <UHCI (generic) USB controller> port 0xe080-0xe09f irq 18 at device 29.2 on pci0
 uhci5: [GIANT-LOCKED]
 uhci5: [ITHREAD]
 usb6: <UHCI (generic) USB controller> on uhci5
 usb6: USB revision 1.0
 uhub6: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb6
 uhub6: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfea7b400-0xfea7b7ff irq 23 at device 29.7 on pci0
 ehci1: [GIANT-LOCKED]
 ehci1: [ITHREAD]
 usb7: EHCI version 1.0
 usb7: companion controllers, 2 ports each: usb4 usb5 usb6
 usb7: <EHCI (generic) USB 2.0 controller> on ehci1
 usb7: USB revision 2.0
 uhub7: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb7
 uhub7: 6 ports with 6 removable, self powered
 pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 fwohci0: <Lucent FW322/323> mem 0xfebff000-0xfebfffff irq 20 at device 2.0 on pci1
 fwohci0: [FILTER]
 fwohci0: OHCI version 1.0 (ROM=1)
 fwohci0: No. of Isochronous channels is 8.
 fwohci0: EUI64 00:1e:8c:00:00:1a:5f:da
 fwohci0: Phy 1394a available S400, 2 ports.
 fwohci0: Link S400, max_rec 2048 bytes.
 firewire0: <IEEE1394(FireWire) bus> on fwohci0
 fwohci0: Initiate bus reset
 fwohci0: BUS reset
 fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel AHCI controller> port 0xd800-0xd807,0xd480-0xd483,0xd400-0xd407,0xd080-0xd083,0xd000-0xd01f mem 0xfea79800-0xfea79fff irq 22 at device 31.2 on pci0
 atapci0: [ITHREAD]
 atapci0: AHCI Version 01.20 controller with 6 ports detected
 ata2: <ATA channel 0> on atapci0
 ata2: [ITHREAD]
 ata3: <ATA channel 1> on atapci0
 ata3: [ITHREAD]
 ata4: <ATA channel 2> on atapci0
 ata4: [ITHREAD]
 ata5: <ATA channel 3> on atapci0
 ata5: [ITHREAD]
 ata6: <ATA channel 4> on atapci0
 ata6: [ITHREAD]
 ata7: <ATA channel 5> on atapci0
 ata7: [ITHREAD]
 ichsmb0: <SMBus controller> port 0x400-0x41f mem 0xfea7b000-0xfea7b0ff irq 18 at device 31.3 on pci0
 ichsmb0: [GIANT-LOCKED]
 ichsmb0: [ITHREAD]
 smbus0: <System Management Bus> on ichsmb0
 smb0: <SMBus generic I/O> on smbus0
 pci0: <dasp> at device 31.6 (no driver attached)
 acpi_button0: <Power Button> on acpi0
 ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppbus0: <Parallel port bus> on ppc0
 ppbus0: [ITHREAD]
 ppc0: [GIANT-LOCKED]
 ppc0: [ITHREAD]
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 sio0: [FILTER]
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 orm0: <ISA Option ROM> at iomem 0xcb800-0xcc7ff on isa0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 WARNING: ZFS is considered to be an experimental feature in FreeBSD.
 Timecounters tick every 1.000 msec
 firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
 firewire0: bus manager 0 (me)
 ZFS filesystem version 6
 ZFS storage pool version 6
 ad4: 305245MB <SAMSUNG HD321KJ CP100-10> at ata2-master SATA300
 ad6: 476940MB <WDC WD5000AAKS-00YGA0 12.01C02> at ata3-master SATA300
 ad10: 476940MB <WDC WD5000AAKS-00YGA0 12.01C02> at ata5-master SATA300
 ad12: 476940MB <WDC WD5000AAKS-00YGA0 12.01C02> at ata6-master SATA300
 ad14: 476940MB <WDC WD5000AAKS-00YGA0 12.01C02> at ata7-master SATA300
 SMP: AP CPU #1 Launched!
 GEOM_RAID5: storage: device created (stripesize=131072).
 GEOM_RAID5: storage: ad6(0): newest disk data (CALM): 0.
 GEOM_RAID5: storage: ad6(0): disk attached.
 GEOM_RAID5: storage: ad10(1): newest disk data (CALM): 1.
 GEOM_RAID5: storage: ad10(1): disk attached.
 GEOM_RAID5: storage: ad12(2): newest disk data (CALM): 2.
 GEOM_RAID5: storage: ad12(2): disk attached.
 GEOM_RAID5: storage: ad14(3): newest disk data (CALM): 3.
 GEOM_RAID5: storage: ad14(3): disk attached.
 GEOM_RAID5: storage: activated (need about 76MiB kmem (max)).
 Trying to mount root from ufs:/dev/ad4s1a
 WARNING: / was not properly dismounted
 WARNING: /tmp was not properly dismounted
 WARNING: /usr was not properly dismounted
 WARNING: /var was not properly dismounted
 /var: mount pending error: blocks 4 files 1
 ============================================ dmesg
 
 ==================================== kernel config
 cpu             HAMMER
 ident           BLOB
 
 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
 
 options         SCHED_ULE               # ULE scheduler
 options         PREEMPTION              # Enable kernel thread preemption
 options         INET                    # InterNETworking
 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         NFSLOCKD                # Network Lock Manager
 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
 options         PSEUDOFS                # Pseudo-filesystem framework
 options         GEOM_LABEL              # Provides labelization
 options         COMPAT_43TTY            # BSD 4.3 TTY compat [KEEP THIS!]
 options         COMPAT_IA32             # Compatible with i386 binaries
 options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
 options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
 options         COMPAT_FREEBSD6         # Compatible with FreeBSD6
 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
 options         KTRACE                  # ktrace(1) support
 options         STACK                   # stack(9) 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         ADAPTIVE_GIANT          # Giant mutex is adaptive.
 options         STOP_NMI                # Stop CPUS using NMI instead of IPI
 options         AUDIT                   # Security event auditing
 
 # Make an SMP-capable kernel by default
 options         SMP                     # Symmetric MultiProcessor Kernel
 
 # CPU frequency control
 device          cpufreq
 device          coretemp
 
 device          smb
 device          smbus
 device          ichsmb
 
 device          iicbus
 device          iicsmb
 device          iic
 
 # Bus support.
 device          acpi
 device          pci
 
 # ATA and ATAPI devices
 device          ata
 device          atadisk         # ATA disk drives
 options         ATA_STATIC_ID   # Static device numbering
 
 # atkbdc0 controls both the keyboard and the PS/2 mouse
 device          atkbdc          # AT keyboard controller
 device          atkbd           # AT keyboard
 device          psm             # PS/2 mouse
 device          kbdmux          # keyboard multiplexer
 device          vga             # VGA video card driver
 
 # syscons is the default console driver, resembling an SCO console
 device          sc
 
 # Serial (COM) ports
 device          sio             # 8250, 16[45]50 based serial ports
 device          uart            # Generic UART driver
 
 # Parallel port
 device          ppc
 device          ppbus           # Parallel port bus (required)
 
 device          em              # Intel PRO/1000 adapter Gigabit Ethernet Card
 
 # Pseudo devices.
 device          loop            # Network loopback
 device          random          # Entropy device
 device          ether           # Ethernet support
 device          tun             # Packet tunnel.
 device          pty             # Pseudo-ttys (telnet etc)
 device          md              # Memory "disks"
 device          firmware        # firmware assist module
 
 # The `bpf' device enables the Berkeley Packet Filter.
 # Be aware of the administrative consequences of enabling this!
 # Note that 'bpf' is required for DHCP.
 device          bpf             # Berkeley packet filter
 
 # USB support
 device          uhci            # UHCI PCI->USB interface
 device          ehci            # EHCI PCI->USB interface (USB 2.0)
 device          usb             # USB Bus (required)
 
 # FireWire support
 device          firewire        # FireWire bus code
 ==================================== kernel config
 
 -- 
 // Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>
 


More information about the freebsd-net mailing list