Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2004 13:36:22 +0100
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        freebsd-current@freebsd.org
Subject:   aac(4) broken on Perc 4/Di on -CURRENT
Message-ID:  <20041223123621.GB17515@eddie.nitro.dk>

next in thread | raw e-mail | index | archive | help

--XvKFcGCOAo53UbWW
Content-Type: multipart/mixed; boundary="3siQDZowHQqNOShm"
Content-Disposition: inline


--3siQDZowHQqNOShm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello

Recent -CURRENT seems to have broken aac(4) on a Dell Perc 4/Di.  The
system is a Dell PowerEdge 2650 with 4 36GB IBM disks in a RAID0+1
configuration.

It runs fine on a 5-STABLE kernel, but when booting -CURRENT it prints
a lot of errors from the RAID controller and then fails to mount the
root file-system.

I have attached dmesg from 6-CURRENT and 5-STABLE, but the main
interesting parts from -CURRENT are:

aac0: <Dell PERC 3/Di> mem 0xf0000000-0xf7ffffff irq 30 at device 8.1 on pc=
i4
aac0: [FAST]
aacd0: <RAID 0/1> on aac0
aacd0: 69425MB (142182912 sectors)
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
aac0: **Monitor**         NMI ISR: NMI_SECONDARY_ATU_ERROR
aac0: **Monitor**         NMI ISR: NMI_SECONDARY_ATU_ERROR
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 41 SECONDS

--=20
Simon L. Nielsen

--3siQDZowHQqNOShm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=2650-aac-faildmesg

DB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2004 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.0-CURRENT #3: Wed Dec 22 13:01:23 CET 2004
    simon@c0.s:/usr/obj/d/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
ACPI APIC Table: <DELL   PE2650  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2390.07-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  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>
  Hyperthreading: 2 logical CPUs
real memory  = 1073610752 (1023 MB)
avail memory = 1041965056 (993 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: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic2: Changing APIC ID to 10
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL PE2650> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci_link0: <ACPI PCI Link LUSB> irq 5 on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <unknown> at device 4.0 (no driver attached)
pci0: <unknown> at device 4.1 (no driver attached)
pci0: <unknown> at device 4.2 (no driver attached)
pci0: <display, VGA> at device 14.0 (no driver attached)
atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x8b0-0x8bf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfe100000-0xfe100fff irq 5 at device 15.2 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
isab0: <PCI-ISA bridge> at device 15.3 on pci0
isa0: <ISA bus> on isab0
pcib1: <ACPI Host-PCI bridge> on acpi0
pci4: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 8.0 on pci4
pci5: <ACPI PCI bus> on pcib2
pci5: <mass storage, SCSI> at device 6.0 (no driver attached)
pci5: <mass storage, SCSI> at device 6.1 (no driver attached)
aac0: <Dell PERC 3/Di> mem 0xf0000000-0xf7ffffff irq 30 at device 8.1 on pci4
aac0: [FAST]
pcib3: <ACPI Host-PCI bridge> on acpi0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI Host-PCI bridge> on acpi0
pci2: <ACPI PCI bus> on pcib4
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 0xdcc0-0xdcff mem 0xfcf00000-0xfcf3ffff,0xfcf40000-0xfcf5ffff irq 24 at device 6.0 on pci2
em0: Ethernet address: 00:0e:0c:22:2a:86
em0:  Speed:N/A  Duplex:N/A
pcib5: <ACPI Host-PCI bridge> on acpi0
pci1: <ACPI PCI bus> on pcib5
pci_link1: <ACPI PCI Link LNK0> on acpi0
pci_link2: <ACPI PCI Link LNK1> on acpi0
pci_link3: <ACPI PCI Link LNK2> on acpi0
pci_link4: <ACPI PCI Link LNK3> irq 11 on acpi0
pci_link5: <ACPI PCI Link LNK4> on acpi0
pci_link6: <ACPI PCI Link LNK5> on acpi0
pci_link7: <ACPI PCI Link LNK6> on acpi0
pci_link8: <ACPI PCI Link LNK7> irq 10 on acpi0
pci_link9: <ACPI PCI Link LNK8> irq 11 on acpi0
pci_link10: <ACPI PCI Link LNK9> on acpi0
pci_link11: <ACPI PCI Link LNKA> on acpi0
pci_link12: <ACPI PCI Link LNKB> irq 7 on acpi0
pci_link13: <ACPI PCI Link LNKC> on acpi0
pci_link14: <ACPI PCI Link LNKD> on acpi0
pci_link15: <ACPI PCI Link LNKE> irq 10 on acpi0
pci_link16: <ACPI PCI Link LNKF> irq 7 on acpi0
pci_link17: <ACPI PCI Link LN10> on acpi0
pci_link18: <ACPI PCI Link LN11> on acpi0
pci_link19: <ACPI PCI Link LN12> on acpi0
pci_link20: <ACPI PCI Link LN13> on acpi0
pci_link21: <ACPI PCI Link LN14> on acpi0
pci_link22: <ACPI PCI Link LN15> on acpi0
pci_link23: <ACPI PCI Link LN16> on acpi0
pci_link24: <ACPI PCI Link LN17> on acpi0
pci_link25: <ACPI PCI Link LN18> on acpi0
pci_link26: <ACPI PCI Link LN19> on acpi0
pci_link27: <ACPI PCI Link LN1A> on acpi0
pci_link28: <ACPI PCI Link LN1B> on acpi0
pci_link29: <ACPI PCI Link LN1C> on acpi0
pci_link30: <ACPI PCI Link LN1D> on acpi0
pci_link31: <ACPI PCI Link LN1E> on acpi0
pci_link32: <ACPI PCI Link LN1F> on acpi0
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xec000-0xeffff,0xcc800-0xcd7ff,0xc8000-0xcbfff,0xc0000-0xc7fff on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
acd0: CDROM <TEAC CD-ROM CD-224E/K.9A> at ata0-master UDMA33
aacd0: <RAID 0/1> on aac0
aacd0: 69425MB (142182912 sectors)
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
aac0: **Monitor**         NMI ISR: NMI_SECONDARY_ATU_ERROR
aac0: **Monitor**         NMI ISR: NMI_SECONDARY_ATU_ERROR
aac0: **Monitor**  <...repeats 1 more times>
aac0: **Monitor** ID(0:02:0) Timeout detected on cmd[0x28]
aac0: **Monitor**         NMI ISR: NMI_SECONDARY_ATU_ERROR
aac0: **Monitor**  <...repeats 10 more times>
aac0: **Monitor** ID(0:03:0) Timeout detected on cmd[0x28]
aac0: **Monitor**         NMI ISR: NMI_SECONDARY_ATU_ERROR
aac0: **Monitor**  <...repeats 10 more times>
aac0: **Monitor** SCSI Channel[0]: Timeout Detected On 2 Command(s)
aac0: **Monitor** ID(0:02:0); Abort Timeout. Resetting Bus 0
aac0: **Monitor** SCSI bus reset issued on channel 0
aac0: **Monitor**         NMI ISR: NMI_SECONDARY_ATU_ERROR
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 41 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 61 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 81 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 101 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 121 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 141 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 161 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 181 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 201 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 221 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 242 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 262 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 282 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 302 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 322 SECONDS
aac0: **Monitor**  <...repeats 1423672 more times>
aac0: **Monitor** SCSI Channel[0]: Timeout Detected On 1 Command(s)
aac0: **Monitor** ID(0:02:0); Abort Timeout. Resetting Bus 0
aac0: **Monitor** SCSI bus reset issued on channel 0
aac0: **Monitor**         NMI ISR: NMI_SECONDARY_ATU_ERROR
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 358 SECONDS

[.... - lot of similar repetitions]

aac0: COMMAND 0xc2409438 TIMEOUT AFTER 3240 SECONDS
aac0: COMMAND 0xc2409438 TIMEOUT AFTER 3260 SECONDS
aac0: **Monitor**  <...repeats 1423660 more times>
aac0: **Monitor** ID(0:01:0) - IO failed, Cmd[0x28]
aac0: **Monitor** Non Redundant Container:62 Returning Error.
aac0: **Monitor** Both Drives on Mirror Container 62 failed
aacd0: hard error cmd=read fsbn 20964825
aacd0: hard error cmd=read 20964825-20964826
aacd0: hard error cmd=read fsbn 41929651
aacd0: hard error cmd=read fsbn 41929650
aacd0: hard error cmd=read 41929650-41929651
aacd0: hard error cmd=read fsbn 64
aacd0: hard error cmd=read fsbn 63
aacd0: hard error cmd=read 63-64
aacd0: hard error cmd=read fsbn 64
aacd0: hard error cmd=read fsbn 63
aacd0: hard error cmd=read 63-64
Trying to mount root from ufs:/dev/aacd0s1a
aacd0: hard error cmd=read 191-206
g_vfs_done():aacd0s1a[READ(offset=65536, length=8192)]error = 5

Manual root filesystem specification:
  <fstype>:<device>  Mount <device> using filesystem <fstype>
                       eg. ufs:da0s1a
  ?                  List valid disk boot devices
  <empty line>       Abort manual input

mountroot> aa

--3siQDZowHQqNOShm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=2650-aac-okdmesg

Copyright (c) 1992-2004 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 5.3-STABLE #0: Thu Dec 23 12:36:09 CET 2004
    simon@c0.s:/usr/obj/d/5-STABLE/sys/SMP
ACPI APIC Table: <DELL   PE2650  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2390.18-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  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>
  Hyperthreading: 2 logical CPUs
real memory  = 1073610752 (1023 MB)
avail memory = 1041158144 (992 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: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic2: Changing APIC ID to 10
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL PE2650> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <unknown> at device 4.0 (no driver attached)
pci0: <unknown> at device 4.1 (no driver attached)
pci0: <unknown> at device 4.2 (no driver attached)
pci0: <display, VGA> at device 14.0 (no driver attached)
atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x8b0-0x8bf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfe100000-0xfe100fff irq 5 at device 15.2 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
isab0: <PCI-ISA bridge> at device 15.3 on pci0
isa0: <ISA bus> on isab0
pcib1: <ACPI Host-PCI bridge> on acpi0
pci4: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 8.0 on pci4
pci5: <ACPI PCI bus> on pcib2
pci5: <mass storage, SCSI> at device 6.0 (no driver attached)
pci5: <mass storage, SCSI> at device 6.1 (no driver attached)
aac0: <Dell PERC 3/Di> mem 0xf0000000-0xf7ffffff irq 30 at device 8.1 on pci4
aac0: [FAST]
aac0: i960RX 100MHz, 118MB cache memory, optional battery present
aac0: Kernel 2.7-1, Build 3170, S/N f810d3
aac0: Supported Options=75c<WCACHE,DATA64,HOSTTIME,WINDOW4GB,SOFTERR,NORECOND,SGMAP64>
pcib3: <ACPI Host-PCI bridge> on acpi0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI Host-PCI bridge> on acpi0
pci2: <ACPI PCI bus> on pcib4
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 0xdcc0-0xdcff mem 0xfcf00000-0xfcf3ffff,0xfcf40000-0xfcf5ffff irq 24 at device 6.0 on pci2
em0: Ethernet address: 00:0e:0c:22:2a:86
em0:  Speed:N/A  Duplex:N/A
pcib5: <ACPI Host-PCI bridge> on acpi0
pci1: <ACPI PCI bus> on pcib5
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
orm0: <ISA Option ROMs> at iomem 0xec000-0xeffff,0xcc800-0xcd7ff,0xc8000-0xcbfff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
acd0: CDROM <TEAC CD-ROM CD-224E/K.9A> at ata0-master UDMA33
aacd0: <RAID 0/1> on aac0
aacd0: 69425MB (142182912 sectors)
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
Mounting root from ufs:/dev/aacd0s1a

--3siQDZowHQqNOShm--

--XvKFcGCOAo53UbWW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFByrvFh9pcDSc1mlERAiqzAJ4i5uvWK0xPWYV945EUr95sfxQGewCfaPNG
PHBpDd+euGzru9/dXf7/ZEk=
=YLtM
-----END PGP SIGNATURE-----

--XvKFcGCOAo53UbWW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041223123621.GB17515>