kern/93903: aac driver cannot shutdown controller causing data loss

Vivek Khera vivek at khera.org
Mon Feb 27 07:40:16 PST 2006


>Number:         93903
>Category:       kern
>Synopsis:       aac driver cannot shutdown controller causing data loss
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 27 15:40:14 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at 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 at yertle.int.kciLink.com:/usr/obj/usr/src/sys/KCI64
ACPI APIC Table: <DELL   PE800   >
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<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=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
  AMD Features=0x20100800<SYSCALL,NX,LM>
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 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 32-55 on motherboard
acpi0: <DELL PE800> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci1
pci2: <ACPI PCI bus> on pcib2
aac0: <Dell CERC SATA RAID 2> mem 0xf8000000-0xfbffffff irq 32 at device 1.0 on pci2
aac0: [FAST]
aac0: Adaptec Raid Controller 2.0.0-1
ahc0: <Adaptec 3960D Ultra160 SCSI adapter> 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: <Adaptec 3960D Ultra160 SCSI adapter> 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: <display, VGA> at device 2.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 28.1 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 28.2 on pci0
pci5: <ACPI PCI bus> on pcib5
bge0: <Broadcom BCM5721 Gigabit Ethernet, ASIC rev. 0x4001> mem 0xfe6f0000-0xfe6fffff irq 18 at device 0.0 on pci5
miibus0: <MII bus> on bge0
brgphy0: <BCM5750 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:0f:1f:f8:48:f4
pcib6: <ACPI PCI-PCI bridge> at device 28.3 on pci0
pci6: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci7: <ACPI PCI bus> on pcib7
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH6 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <Intel ICH6 SATA150 controller> port 0xccf0-0xccf7,0xcce8-0xcceb,0xccd8-0xccdf,0xccd0-0xccd3,0xccb0-0xccbf mem 0xfebc0000-0xfebc03ff irq 20 at device 31.2 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> 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: <ISA Option ROMs> at iomem 0xc9800-0xcd7ff,0xec000-0xeffff 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
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: <RAID 5> on aac0
aacd0: 228782MB (468546816 sectors)
sa0 at ahc1 bus 0 target 6 lun 0
sa0: <SEAGATE DAT    DAT72-052 A060> 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:
>Unformatted:


More information about the freebsd-bugs mailing list