From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 17 16:00:32 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 29D1B16A41F for ; Tue, 17 Jan 2006 16:00:32 +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 0314A43D6D for ; Tue, 17 Jan 2006 16:00:19 +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 k0HG0I8P012824 for ; Tue, 17 Jan 2006 16:00:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0HG0IwZ012819; Tue, 17 Jan 2006 16:00:18 GMT (envelope-from gnats) Resent-Date: Tue, 17 Jan 2006 16:00:18 GMT Resent-Message-Id: <200601171600.k0HG0IwZ012819@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, Vivek Khera Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 150AF16A41F for ; Tue, 17 Jan 2006 15:52:43 +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 0D78243D62 for ; Tue, 17 Jan 2006 15:52:39 +0000 (GMT) (envelope-from khera@kcilink.com) Received: by yertle.kcilink.com (Postfix, from userid 1002) id 18B0FB810; Tue, 17 Jan 2006 10:52:34 -0500 (EST) Message-Id: <20060117155234.18B0FB810@yertle.kcilink.com> Date: Tue, 17 Jan 2006 10:52:34 -0500 (EST) From: Vivek Khera To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/91910: aac driver hangs on Dell PE800 with CERC SATA controller (regression from 5.4) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vivek Khera List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2006 16:00:32 -0000 >Number: 91910 >Category: kern >Synopsis: aac driver hangs on Dell PE800 with CERC SATA controller (regression from 5.4) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 17 16:00:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Vivek Khera >Release: FreeBSD 6.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD yertle.int.kciLink.com 5.4-STABLE FreeBSD 5.4-STABLE #7: Tue May 31 11:38:22 EDT 2005 khera@yertle.int.kciLink.com:/usr/obj/usr/src/sys/YERTLE amd64 I'm upgrading my 5.4 system to 6.0-RELEASE-p2. >Description: Did the usual cvsup, buildworld, buildkernel (custom kernel), installkernel reboot. It hangs after it detects the aacd0 volume and reports it as RAID5 and the size. The keyboard is unresponsive (caps lock key doesn't respond either) but the serial console lets me break to debugger. Booting from the 6.0-REL/amd64 CD hangs as well, but there is no debugger to break into. Here's the kernel boot from the serial console, and the backtrace from the debugger. KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2005 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-RELEASE-p2 #1: Mon Jan 16 22:09:44 EST 2006 vivek@yertle.int.kciLink.com:/usr/obj/usr/src/sys/YERTLE 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> AMD Features=0x20100800 Hyperthreading: 2 logical CPUs real memory = 1065091072 (1015 MB) avail memory = 1020522496 (973 MB) ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 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) pci_link0: irq 11 on acpi0 pci_link1: on acpi0 pci_link2: irq 3 on acpi0 pci_link3: irq 5 on acpi0 pci_link4: irq 10 on acpi0 pci_link5: on acpi0 pci_link6: on acpi0 pci_link7: on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 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 0xd8000000-0xdbffffff irq 32 at device 1.0 on aac0: [FAST] aac0: Adaptec Raid Controller 2.0.0-1 ahc0: port 0xec00-0xecff mem 0xdfdff000-0 ahc0: [GIANT-LOCKED] aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xe800-0xe8ff mem 0xdfdfe000-0 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 0xdfaf0000-0xdfq miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX 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,0x37 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xccf0-0xccf7,0xcce8-0xcceb,0xccdc ata2: on atapci1 ata3: on atapci1 ata4: on atapci1 ata5: 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] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 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> vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled Timecounter "TSC" frequency 3200130424 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master UDMA33 aacd0: on aac0 aacd0: 228782MB (468546816 sectors) KDB: enter: Break sequence on console [thread pid 29 tid 100023 ] Stopped at kdb_enter+0x2f: popq %rbp db> bt Tracing pid 29 tid 100023 td 0xffffff003d3fc720 kdb_enter() at kdb_enter+0x2f siointr1() at siointr1+0x382 siointr() at siointr+0x3d intr_execute_handlers() at intr_execute_handlers+0x112 lapic_handle_intr() at lapic_handle_intr+0x21 Xapic_isr1() at Xapic_isr1+0x7d --- interrupt, rip = 0xffffffff8036ab38, rsp = 0xffffffffa4fedba0, rbp = 0xfffff spinlock_exit() at spinlock_exit+0x33 ithread_loop() at ithread_loop+0x1de fork_exit() at fork_exit+0x8b fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xffffffffa4fedd00, rbp = 0 --- db> This is the ID of the card from the POST: Dell CERC SATA 1.5/6ch BIOS V4.1-0 [Build 7401] (c) 1998-2003 Adaptec, Inc. All Rights Reserved. Press for Adaptec RAID Configuration Utility! Booting the Controller Kernel......Controller started Controller #00: Dell CERC SATA 1.5/6ch at PCI Bus:02, Dev:01, Func:00 Waiting for Controller to Start....Controller started Controller monitor V4.1-0[7401], Controller kernel V4.1-0[7401] Controller POST operation successful Controller Memory Size: 64 MB Port# Vendor Product Info Rev# SMART Error --------------------------------------------------------- 0 ST380013 AS 8.05 N 1 ST380013 AS 8.05 N 2 ST380013 AS 8.05 N 3 ST380013 AS 8.05 N Array#0 - RAID-5 223.41 GB Optimal 1 Array(s) Found BIOS Installed Successfully! >How-To-Repeat: Boot a 6.0-REL CD on a Dell PE 800 with a CERC SATA RAID card on it, or upgrade a 5.4 system and boot the new kernel. >Fix: Boot back to 5.4 (/boot/kernel.old/) and it works fine. This is an office general mail/file server so I'm willing to play with fixes to test things out. >Release-Note: >Audit-Trail: >Unformatted: