From owner-freebsd-current@FreeBSD.ORG Thu Dec 23 12:36:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 126E916A4CE for ; Thu, 23 Dec 2004 12:36:25 +0000 (GMT) Received: from eddie.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6EDC43D1D for ; Thu, 23 Dec 2004 12:36:23 +0000 (GMT) (envelope-from simon@eddie.nitro.dk) Received: by eddie.nitro.dk (Postfix, from userid 1000) id 65A03119CD9; Thu, 23 Dec 2004 13:36:22 +0100 (CET) Date: Thu, 23 Dec 2004 13:36:22 +0100 From: "Simon L. Nielsen" To: freebsd-current@freebsd.org Message-ID: <20041223123621.GB17515@eddie.nitro.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XvKFcGCOAo53UbWW" Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: aac(4) broken on Perc 4/Di on -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 12:36:25 -0000 --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: mem 0xf0000000-0xf7ffffff irq 30 at device 8.1 on pc= i4 aac0: [FAST] aacd0: 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: 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 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 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard ioapic2 irqs 32-47 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: 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: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci_link0: irq 5 on acpi0 pci0: on pcib0 pci0: at device 4.0 (no driver attached) pci0: at device 4.1 (no driver attached) pci0: at device 4.2 (no driver attached) pci0: at device 14.0 (no driver attached) atapci0: 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: 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: 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: at device 15.3 on pci0 isa0: on isab0 pcib1: on acpi0 pci4: on pcib1 pcib2: at device 8.0 on pci4 pci5: on pcib2 pci5: at device 6.0 (no driver attached) pci5: at device 6.1 (no driver attached) aac0: mem 0xf0000000-0xf7ffffff irq 30 at device 8.1 on pci4 aac0: [FAST] pcib3: on acpi0 pci3: on pcib3 pcib4: on acpi0 pci2: on pcib4 em0: 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: on acpi0 pci1: on pcib5 pci_link1: on acpi0 pci_link2: on acpi0 pci_link3: on acpi0 pci_link4: irq 11 on acpi0 pci_link5: on acpi0 pci_link6: on acpi0 pci_link7: on acpi0 pci_link8: irq 10 on acpi0 pci_link9: irq 11 on acpi0 pci_link10: on acpi0 pci_link11: on acpi0 pci_link12: irq 7 on acpi0 pci_link13: on acpi0 pci_link14: on acpi0 pci_link15: irq 10 on acpi0 pci_link16: irq 7 on acpi0 pci_link17: on acpi0 pci_link18: on acpi0 pci_link19: on acpi0 pci_link20: on acpi0 pci_link21: on acpi0 pci_link22: on acpi0 pci_link23: on acpi0 pci_link24: on acpi0 pci_link25: on acpi0 pci_link26: on acpi0 pci_link27: on acpi0 pci_link28: on acpi0 pci_link29: on acpi0 pci_link30: on acpi0 pci_link31: on acpi0 pci_link32: on acpi0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: 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: at iomem 0xec000-0xeffff,0xcc800-0xcd7ff,0xc8000-0xcbfff,0xc0000-0xc7fff on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master UDMA33 aacd0: 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: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices 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: 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 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 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard ioapic2 irqs 32-47 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: 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: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 4.0 (no driver attached) pci0: at device 4.1 (no driver attached) pci0: at device 4.2 (no driver attached) pci0: at device 14.0 (no driver attached) atapci0: 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: 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: 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: at device 15.3 on pci0 isa0: on isab0 pcib1: on acpi0 pci4: on pcib1 pcib2: at device 8.0 on pci4 pci5: on pcib2 pci5: at device 6.0 (no driver attached) pci5: at device 6.1 (no driver attached) aac0: 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 pcib3: on acpi0 pci3: on pcib3 pcib4: on acpi0 pci2: on pcib4 em0: 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: on acpi0 pci1: on pcib5 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: 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: at iomem 0xec000-0xeffff,0xcc800-0xcd7ff,0xc8000-0xcbfff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec acd0: CDROM at ata0-master UDMA33 aacd0: 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--