From khera@kcilink.com Mon Feb 27 15:36:58 2006 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D86316A420 for ; Mon, 27 Feb 2006 15:36:58 +0000 (GMT) (envelope-from khera@kcilink.com) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4460F43D45 for ; Mon, 27 Feb 2006 15:36:58 +0000 (GMT) (envelope-from khera@kcilink.com) Received: by yertle.kcilink.com (Postfix, from userid 1002) id C78AEB810; Mon, 27 Feb 2006 10:36:57 -0500 (EST) Message-Id: <20060227153657.C78AEB810@yertle.kcilink.com> Date: Mon, 27 Feb 2006 10:36:57 -0500 (EST) From: Vivek Khera Reply-To: Vivek Khera To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: aac driver cannot shutdown controller causing data loss X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 93903 >Category: kern >Synopsis: [aac] aac driver cannot shutdown controller causing data loss >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 27 15:40:14 GMT 2006 >Closed-Date: Mon Mar 19 18:44:13 GMT 2007 >Last-Modified: Mon Mar 19 18:44:13 GMT 2007 >Originator: Vivek Khera >Release: FreeBSD 6.1-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD yertle.int.kciLink.com 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Sat Feb 25 22:10:18 EST 2006 khera@yertle.int.kciLink.com:/usr/obj/usr/src/sys/KCI64 amd64 All BIOS versions are up-to-date (latest system BIOS, RAID firmware, etc.) upgraded from 5.4-STABLE from last May. See dmesg below. This is a Dell PE800 with a Xeon processor. I had to disable ACPI timer since that causes the boot to lockup when probing the SCSI tape drive. >Description: I upgraded my 5.4 system to 6.1-PRERELEASE cvsup'd on 25-FEB-2006 via source. Upon reboot during shutdown of the aac0 device, it now fails. Under 5.4 it worked fine. When it fails to shutdown the aac0 device, it causes data loss of any data not yet flushed from the cache. >How-To-Repeat: reboot/shutdown the machine. >Fix: unknown. dmesg: 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 #1: Sat Feb 25 22:10:18 EST 2006 khera@yertle.int.kciLink.com:/usr/obj/usr/src/sys/KCI64 ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3200.13-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff Features2=0x641d> AMD Features=0x20100800 real memory = 1065091072 (1015 MB) avail memory = 1020534784 (973 MB) ioapic0: Changing APIC ID to 1 ioapic1: Changing APIC ID to 2 ioapic1: WARNING: intbase 32 != expected base 24 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 32-55 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 0.0 on pci1 pci2: on pcib2 aac0: mem 0xf8000000-0xfbffffff irq 32 at device 1.0 on pci2 aac0: [FAST] aac0: Adaptec Raid Controller 2.0.0-1 ahc0: port 0xec00-0xecff mem 0xfe9ff000-0xfe9fffff irq 35 at device 2.0 on pci2 ahc0: [GIANT-LOCKED] aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xe800-0xe8ff mem 0xfe9fe000-0xfe9fefff irq 34 at device 2.1 on pci2 ahc1: [GIANT-LOCKED] aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs pci0: at device 2.0 (no driver attached) pcib3: at device 28.0 on pci0 pci3: on pcib3 pcib4: at device 28.1 on pci0 pci4: on pcib4 pcib5: at device 28.2 on pci0 pci5: on pcib5 bge0: mem 0xfe6f0000-0xfe6fffff irq 18 at device 0.0 on pci5 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:0f:1f:f8:48:f4 pcib6: at device 28.3 on pci0 pci6: on pcib6 pcib7: at device 30.0 on pci0 pci7: on pcib7 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 0xccf0-0xccf7,0xcce8-0xcceb,0xccd8-0xccdf,0xccd0-0xccd3,0xccb0-0xccbf mem 0xfebc0000-0xfebc03ff irq 20 at device 31.2 on pci0 ata2: on atapci1 ata3: on atapci1 pci0: at device 31.3 (no driver attached) atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] 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, console orm0: at iomem 0xc9800-0xcd7ff,0xec000-0xeffff on isa0 sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 3200127288 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to accept, logging unlimited Waiting 2 seconds for SCSI devices to settle aacd0: on aac0 aacd0: 228782MB (468546816 sectors) sa0 at ahc1 bus 0 target 6 lun 0 sa0: Removable Sequential Access SCSI-3 device sa0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit) Trying to mount root from ufs:/dev/aacd0s2a bge0: link state changed to UP >Release-Note: >Audit-Trail: State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Sun Mar 18 21:59:51 UTC 2007 State-Changed-Why: Is this still a problem with recent versions of FreeBSD? http://www.freebsd.org/cgi/query-pr.cgi?pr=93903 State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Mon Mar 19 18:43:46 UTC 2007 State-Changed-Why: Submitter notes that this problem is not seen on his 6.2 system. http://www.freebsd.org/cgi/query-pr.cgi?pr=93903 >Unformatted: