From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 26 18:40:04 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 587DE106567A for ; Tue, 26 Aug 2008 18:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1A1F78FC25 for ; Tue, 26 Aug 2008 18:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7QIe3MK083228 for ; Tue, 26 Aug 2008 18:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7QIe3mS083227; Tue, 26 Aug 2008 18:40:03 GMT (envelope-from gnats) Resent-Date: Tue, 26 Aug 2008 18:40:03 GMT Resent-Message-Id: <200808261840.m7QIe3mS083227@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vladimir Melnik Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 333391065672 for ; Tue, 26 Aug 2008 18:39:08 +0000 (UTC) (envelope-from melnik@venik.uplink.net.ua) Received: from venik.uplink.net.ua (venik.uplink.net.ua [195.3.204.34]) by mx1.freebsd.org (Postfix) with ESMTP id 05FA78FC0C for ; Tue, 26 Aug 2008 18:39:06 +0000 (UTC) (envelope-from melnik@venik.uplink.net.ua) Received: by venik.uplink.net.ua (Postfix, from userid 1000) id D33F029745; Tue, 26 Aug 2008 21:18:26 +0300 (EEST) Received: from molotok.uplink.net.ua (virtuals.liveinternet.ru [195.3.204.2]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by venik.uplink.net.ua (Postfix) with ESMTP id 9C94D29BA0 for ; Tue, 26 Aug 2008 21:16:05 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by molotok.uplink.net.ua (Postfix) with ESMTP id 6A50F1E1E01; Tue, 26 Aug 2008 21:16:05 +0300 (EEST) Received: from molotok.uplink.net.ua ([127.0.0.1]) by localhost (molotok.uplink.net.ua [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NSVwcowSkWgM; Tue, 26 Aug 2008 21:16:05 +0300 (EEST) Received: from kompas.uplink.net.ua (alias-193-223-98-14.vlan100.kompas.uplink.net.ua [193.223.98.14]) by molotok.uplink.net.ua (Postfix) with ESMTP id EC87D1E1E25 for ; Tue, 26 Aug 2008 21:16:04 +0300 (EEST) Received: from alias-193-223-98-14.vlan100.kompas.uplink.net.ua (localhost [127.0.0.1]) by kompas.uplink.net.ua (Postfix) with ESMTP id DBF397E80B; Tue, 26 Aug 2008 21:16:04 +0300 (EEST) Received: (from melnik@localhost) by alias-193-223-98-14.vlan100.kompas.uplink.net.ua (8.13.8/8.13.8/Submit) id m7QIG4eE001663; Tue, 26 Aug 2008 21:16:04 +0300 (EEST) (envelope-from melnik) Message-Id: <200808261816.m7QIG4eE001663@alias-193-223-98-14.vlan100.kompas.uplink.net.ua> Date: Tue, 26 Aug 2008 21:16:04 +0300 (EEST) From: Vladimir Melnik To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: noc@uplink.net.ua Subject: kern/126863: 6.2 (SMP) crashes when polling disabled X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2008 18:40:04 -0000 >Number: 126863 >Category: kern >Synopsis: 6.2 (SMP) crashes when polling disabled >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 26 18:40:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Vladimir Melnik >Release: FreeBSD 6.2-RELEASE-p12 i386 >Organization: Uplink, LLC >Environment: System: FreeBSD kompas.uplink.net.ua 6.2-RELEASE-p12 FreeBSD 6.2-RELEASE-p12 #1: Tue Aug 26 13:08:11 EEST 2008 root@kompas.uplink.net.ua:/usr/obj/usr/src/sys/KOMPAS i386 -------------------------------------------------------------------------------- Copyright (c) 1992-2007 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 6.2-RELEASE-p12 #1: Tue Aug 26 13:08:11 EEST 2008 root@kompas.uplink.net.ua:/usr/obj/usr/src/sys/KOMPAS Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU 3065 @ 2.33GHz (2329.84-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 Features=0xbfebfbff Features2=0xe3fd,EST,TM2,,CX16,,> AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 3755986944 (3581 MB) avail memory = 3675856896 (3505 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 5 ioapic1: WARNING: intbase 30 != expected base 24 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 30-53 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_perf0: on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_perf0: on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 cpu1: on acpi0 acpi_perf1: on cpu1 acpi_perf1: failed in PERF_STATUS attach device_attach: acpi_perf1 attach returned 6 acpi_perf1: on cpu1 acpi_perf1: failed in PERF_STATUS attach device_attach: acpi_perf1 attach returned 6 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 25.0 (no driver attached) pci0: at device 26.0 (no driver attached) pci0: at device 26.1 (no driver attached) pci0: at device 26.2 (no driver attached) pci0: at device 26.7 (no driver attached) pcib1: irq 17 at device 28.0 on pci0 pci1: on pcib1 pcib2: at device 0.0 on pci1 pci2: on pcib2 em0: port 0x2040-0x207f mem 0xe1a80000-0xe1a9ffff,0xe1a00000-0xe1a3ffff irq 32 at device 2.0 on pci2 em0: Ethernet address: 00:1b:21:0a:46:e0 em1: port 0x2000-0x203f mem 0xe1aa0000-0xe1abffff,0xe1a40000-0xe1a7ffff irq 33 at device 2.1 on pci2 em1: Ethernet address: 00:1b:21:0a:46:e1 pcib3: irq 17 at device 28.4 on pci0 pci3: on pcib3 pci3: at device 0.0 (no driver attached) pci0: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.2 (no driver attached) pci0: at device 29.7 (no driver attached) pcib4: at device 30.0 on pci0 pci4: on pcib4 em2: port 0x1000-0x103f mem 0xe1920000-0xe193ffff,0xe1900000-0xe191ffff irq 18 at device 2.0 on pci4 em2: Ethernet address: 00:15:17:26:c0:b8 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3430-0x343f,0x3420-0x342f irq 21 at device 31.2 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 31.3 (no driver attached) atapci1: port 0x3448-0x344f,0x3464-0x3467,0x3440-0x3447,0x3460-0x3463,0x3410-0x341f,0x3400-0x340f irq 21 at device 31.5 on pci0 ata2: on atapci1 ata3: on atapci1 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: port 0x3f0-0x3f5,0x3f0 irq 6 drq 2 on acpi0 fdc0: [FAST] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xc9fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: parallel port not found. Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging limited to 1000 packets/entry by default ad0: 238475MB at ata0-master UDMA33 GEOM_MIRROR: Device gm0 created (id=2833954652). GEOM_MIRROR: Device gm0: provider ad0 detected. ad2: 238475MB at ata1-master UDMA33 GEOM_MIRROR: Device gm0: provider ad2 detected. GEOM_MIRROR: Device gm0: provider ad2 activated. GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. GEOM_MIRROR: Device gm0: rebuilding provider ad0. lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/mirror/gm0s1a WARNING: / was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted /var: mount pending error: blocks 36 files 1 -------------------------------------------------------------------------------- machine i386 cpu I686_CPU ident KOMPAS # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD 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 NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options SCSI_DELAY=5000 # 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 ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC # Bus support. device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM 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 device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Enable this for the pcvt (VT220 compatible) console driver #device vt #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor device agp # support several AGP chipsets # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to the sio and/or ppc drivers): #device puc # PCI Ethernet NICs. device de # DEC/Intel DC21x4x (``Tulip'') device em # Intel PRO/1000 adapter Gigabit Ethernet Card device ixgb # Intel PRO/10GbE Ethernet Card device txp # 3Com 3cR990 (``Typhoon'') device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet device bfe # Broadcom BCM440x 10/100 Ethernet device bge # Broadcom BCM570xx Gigabit Ethernet device dc # DEC/Intel 21143 and various workalikes device fxp # Intel EtherExpress PRO/100B (82557, 82558) device lge # Level 1 LXT1001 gigabit Ethernet device nge # NatSemi DP83820 gigabit Ethernet device nve # nVidia nForce MCP on-board Ethernet Networking device pcn # AMD Am79C97x PCI 10/100(precedence over 'lnc') device re # RealTek 8139C+/8169/8169S/8110S device rl # RealTek 8129/8139 device sf # Adaptec AIC-6915 (``Starfire'') device sis # Silicon Integrated Systems SiS 900/SiS 7016 device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet device ste # Sundance ST201 (D-Link DFE-550TX) device stge # Sundance/Tamarack TC9021 gigabit Ethernet device ti # Alteon Networks Tigon I/II gigabit Ethernet device tl # Texas Instruments ThunderLAN device tx # SMC EtherPower II (83c170 ``EPIC'') device vge # VIA VT612x gigabit Ethernet device vr # VIA Rhine, Rhine II device wb # Winbond W89C840F device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Pseudo devices. device loop # Network loopback device random # Entropy device 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) # 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 # IPFW support options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=1000 options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_FORWARD options IPDIVERT # Device Polling support options DEVICE_POLLING options HZ=2000 # DUMMYNET support options DUMMYNET # SMP support options SMP >Description: When we disabled device polling with sysctl, system has been crashed in a hour after that. Aug 26 12:17:53 kompas kernel: kernel trap 12 with interrupts disabled Aug 26 12:17:53 kompas kernel: Aug 26 12:17:53 kompas kernel: Aug 26 12:17:53 kompas kernel: Fatal trap 12: page fault while in kernel mode Aug 26 12:17:53 kompas kernel: cpuid = 1; apic id = 01 Aug 26 12:17:53 kompas kernel: fault virtual address = 0x104 Aug 26 12:17:53 kompas kernel: fault code = supervisor read, page not present Aug 26 12:17:53 kompas kernel: instruction pointer = 0x20:0xc0509985 Aug 26 12:17:53 kompas kernel: stack pointer = 0x28:0xe74ccb74 Aug 26 12:17:53 kompas kernel: frame pointer = 0x28:0xe74ccb80 Aug 26 12:17:53 kompas kernel: code segment = base 0x0, limit 0xfffff, type 0x1b Aug 26 12:17:53 kompas kernel: = DPL 0, pres 1, def32 1, gran 1 Aug 26 12:17:53 kompas kernel: processor eflags = resume, IOPL = 0 Aug 26 12:17:53 kompas kernel: current process = 12 (swi1: net) Aug 26 12:17:53 kompas kernel: trap number = 12 Aug 26 12:17:53 kompas kernel: panic: page fault Aug 26 12:17:53 kompas kernel: cpuid = 1 Aug 26 12:17:53 kompas kernel: Uptime: 7d5h0m54s Aug 26 12:17:53 kompas kernel: Cannot dump. No dump device defined. After reboot system was worked almost 2 hours and crashed again, but there was no messages in /var/log/messages. >How-To-Repeat: I'm not sure I really know how to repeat it again :-( >Fix: It would be just great to know how to fix it :-) >Release-Note: >Audit-Trail: >Unformatted: