From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 24 00:10:07 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9A0B16A420 for ; Fri, 24 Feb 2006 00:10:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D18E243D46 for ; Fri, 24 Feb 2006 00:10:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1O0A54e043968 for ; Fri, 24 Feb 2006 00:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1O0A5NU043967; Fri, 24 Feb 2006 00:10:05 GMT (envelope-from gnats) Resent-Date: Fri, 24 Feb 2006 00:10:05 GMT Resent-Message-Id: <200602240010.k1O0A5NU043967@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, Skye Poier Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EF8A16A420 for ; Fri, 24 Feb 2006 00:05:01 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5995143D46 for ; Fri, 24 Feb 2006 00:05:01 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1O0511h056418 for ; Fri, 24 Feb 2006 00:05:01 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k1O051BJ056417; Fri, 24 Feb 2006 00:05:01 GMT (envelope-from nobody) Message-Id: <200602240005.k1O051BJ056417@www.freebsd.org> Date: Fri, 24 Feb 2006 00:05:01 GMT From: Skye Poier To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/93771: atacontrol status ar1 causes panic 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: Fri, 24 Feb 2006 00:10:07 -0000 >Number: 93771 >Category: kern >Synopsis: atacontrol status ar1 causes panic >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 24 00:10:05 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Skye Poier >Release: RELENG_6 >Organization: F4 Systems >Environment: FreeBSD cheddar.f4.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #4: Thu Feb 23 15:30:49 PST 2006 skye@cheddar.f4.ca:/usr/obj/usr/src/sys/RAQDEVIL i386 Copyright (c) 1992-2006 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.1-PRERELEASE #4: Thu Feb 23 15:30:49 PST 2006 skye@cheddar.f4.ca:/usr/obj/usr/src/sys/RAQDEVIL ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3192.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Stepping = 4 Features=0xbfebfbff Features2=0x441d> AMD Features=0x20000000 Hyperthreading: 2 logical CPUs real memory = 3221016576 (3071 MB) avail memory = 3151093760 (3005 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pcib1: irq 16 at device 2.0 on pci0 pci1: on pcib1 pcib2: irq 16 at device 3.0 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) pcib3: at device 28.0 on pci0 pci3: on pcib3 uhci0: port 0xcf00-0xcf1f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xcf80-0xcf9f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: at device 29.4 (no driver attached) pci0: at device 29.5 (no driver attached) ehci0: mem 0xdedffc00-0xdedfffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 4 ports with 4 removable, self powered pcib4: at device 30.0 on pci0 pci4: on pcib4 pci4: at device 2.0 (no driver attached) em0: port 0xee80-0xeebf mem 0xdefa0000-0xdefbffff irq 17 at device 3.0 on pci4 em0: Ethernet address: 00:0e:0c:4c:03:79 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xce80-0xce87,0xce00-0xce03,0xcd80-0xcd87,0xcd00-0xcd03,0xcc80-0xcc8f irq 18 at device 31.2 on pci0 ata2: on atapci1 ata3: on atapci1 ichsmb0: port 0x400-0x41f irq 17 at device 31.3 on pci0 ichsmb0: [GIANT-LOCKED] smbus0: on ichsmb0 smb0: on smbus0 acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] 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 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcd7ff,0xcd800-0xce7ff on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: CDROM at ata1-slave UDMA33 ad4: 286168MB at ata2-master SATA150 ad6: 286168MB at ata3-master SATA150 ar0: 286036MB status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master SMP: AP CPU #2 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! Trying to mount root from ufs:/dev/ar0s1a em0: link state changed to UP >Description: # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: READY # atacontrol status ar2 atacontrol: ioctl(IOCATARAIDSTATUS): Device not configured No problem there, but: # atacontrol status ar1 Fatal trap 18: integer divide fault .. panic ... The core dump then locks up just before writing everything, which is a bit disturbing. Perhaps because /dev/ar0s1a is my dumpdev and it doesn't like dumping to a SATA RAID? Not too good for an unattended server. If you have a suggestion on how to fix that I can build a debug kernel and get a gdb stack trace. >How-To-Repeat: # atacontrol status ar1 >Fix: >Release-Note: >Audit-Trail: >Unformatted: