From owner-freebsd-bugs@FreeBSD.ORG Sun Oct 31 15:40:30 2004 Return-Path: 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 2014016A4CF for ; Sun, 31 Oct 2004 15:40:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F06A343D5D for ; Sun, 31 Oct 2004 15:40:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9VFeFIn045149 for ; Sun, 31 Oct 2004 15:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9VFeFr5045147; Sun, 31 Oct 2004 15:40:15 GMT (envelope-from gnats) Resent-Date: Sun, 31 Oct 2004 15:40:15 GMT Resent-Message-Id: <200410311540.i9VFeFr5045147@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, Kwok Yeung Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 305DB16A4CE for ; Sun, 31 Oct 2004 15:34:04 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id EACDC43D49 for ; Sun, 31 Oct 2004 15:34:03 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i9VFY3Wp003293 for ; Sun, 31 Oct 2004 15:34:03 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i9VFY3PK003291; Sun, 31 Oct 2004 15:34:03 GMT (envelope-from nobody) Message-Id: <200410311534.i9VFY3PK003291@www.freebsd.org> Date: Sun, 31 Oct 2004 15:34:03 GMT From: Kwok Yeung To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/73354: Highpoint Rocket 1540 hangs when probing for disks at boot-time X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 15:40:30 -0000 >Number: 73354 >Category: kern >Synopsis: Highpoint Rocket 1540 hangs when probing for disks at boot-time >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 31 15:40:15 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Kwok Yeung >Release: 5.3-RC2 >Organization: (Private) >Environment: FreeBSD athena.yeung.lan 5.3-RC2 FreeBSD 5.3-RC2 #0: Sun Oct 31 01:00:07 BST 2004 kcy@athena.yeung.lan:/usr/obj/usr/src/sys/ATHENA i386 800MHz Intel Pentium 3, Intel 815 chipset, 512Mb RAM Adaptec 39160 SCSI controller, Highpoint Rocket 1540 SATA controller, 3ware 9500S-4LP SATA RAID controller >Description: If I boot up my computer with hard disks attached to the Highpoint Rocket 1540 controller (non-RAID), it hard-locks when those disks are probed. Nothing responds - not even the caps-lock and num-lock keys. The access-light on the floppy drive is also permanently lit. This problem does not arise if no disks are attached when booting. If I attach the disks after booting and issue an 'atacontrol reinit' command, everything works fine. However, it does make it impossible to boot off a drive attached to this controller. I have tried disabling the floppy drive controller, taking out all other cards apart from the Rocket 1540 and booting off a CD, trying other PCI slots, and disabling ACPI. However, none of these worked. The boot-time output from a successful boot is as follows, with the point of the hang indicated: Oct 31 04:30:42 athena syslogd: kernel boot file is /boot/kernel/kernel Oct 31 04:30:42 athena kernel: Copyright (c) 1992-2004 The FreeBSD Project. Oct 31 04:30:42 athena kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Oct 31 04:30:42 athena kernel: The Regents of the University of California. All rights reserved. Oct 31 04:30:42 athena kernel: FreeBSD 5.3-RC2 #0: Sun Oct 31 01:00:07 BST 2004 Oct 31 04:30:42 athena kernel: kcy@athena.yeung.lan:/usr/obj/usr/src/sys/ATHENA Oct 31 04:30:42 athena kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Oct 31 04:30:42 athena kernel: CPU: Intel Pentium III (801.82-MHz 686-class CPU) Oct 31 04:30:42 athena kernel: Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Oct 31 04:30:42 athena kernel: Features=0x383f9ff Oct 31 04:30:42 athena kernel: real memory = 535756800 (510 MB) Oct 31 04:30:42 athena kernel: avail memory = 514592768 (490 MB) Oct 31 04:30:42 athena kernel: npx0: [FAST] Oct 31 04:30:42 athena kernel: npx0: on motherboard Oct 31 04:30:42 athena kernel: npx0: INT 16 interface Oct 31 04:30:42 athena kernel: acpi0: on motherboard Oct 31 04:30:42 athena kernel: acpi0: Power Button (fixed) Oct 31 04:30:42 athena kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Oct 31 04:30:42 athena kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 Oct 31 04:30:42 athena kernel: cpu0: on acpi0 Oct 31 04:30:42 athena kernel: acpi_tz0: on acpi0 Oct 31 04:30:42 athena kernel: acpi_button0: on acpi0 Oct 31 04:30:42 athena kernel: acpi_button1: on acpi0 Oct 31 04:30:42 athena kernel: pcib0: port 0x4000-0x40f7,0xcf8-0xcff on acpi0 Oct 31 04:30:42 athena kernel: ACPI link \_SB_.PCI0.LNK1 has invalid initial irq 9, ignoring Oct 31 04:30:42 athena kernel: pci0: on pcib0 Oct 31 04:30:42 athena kernel: agp0: mem 0xd6000000-0xd607ffff,0xd0000000-0xd3ffffff irq 11 at device 2.0 on pci0 Oct 31 04:30:42 athena kernel: pcib1: at device 30.0 on pci0 Oct 31 04:30:42 athena kernel: pci1: on pcib1 Oct 31 04:30:42 athena kernel: ahc0: port 0x9000-0x90ff mem 0xd5863000-0xd5863fff irq 11 at device 0.0 on pci1 Oct 31 04:30:42 athena kernel: ahc0: [GIANT-LOCKED] Oct 31 04:30:42 athena kernel: aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs Oct 31 04:30:42 athena kernel: ahc1: port 0x9400-0x94ff mem 0xd5860000-0xd5860fff irq 10 at device 0.1 on pci1 Oct 31 04:30:42 athena kernel: ahc1: [GIANT-LOCKED] Oct 31 04:30:42 athena kernel: aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs Oct 31 04:30:42 athena kernel: atapci0: port 0xa800-0xa8ff,0xa400-0xa403,0xa000-0xa007,0x9c00-0x9c03,0x9800-0x9807 irq 10 at device 1.0 on pci1 Oct 31 04:30:42 athena kernel: ata2: channel #0 on atapci0 Oct 31 04:30:42 athena kernel: ata3: channel #1 on atapci0 Oct 31 04:30:42 athena kernel: atapci1: port 0xbc00-0xbcff,0xb800-0xb803,0xb400-0xb407,0xb000-0xb003,0xac00-0xac07 irq 10 at device 1.1 on pci1 Oct 31 04:30:42 athena kernel: ata4: channel #0 on atapci1 Oct 31 04:30:42 athena kernel: ata5: channel #1 on atapci1 Oct 31 04:30:42 athena kernel: 3ware device driver for 9000 series storage controllers, version: 2.50.00.000 Oct 31 04:30:42 athena kernel: twa0: <3ware 9000 series Storage Controller> port 0xc000-0xc0ff mem 0xd5000000-0xd57fffff,0xd5861000-0xd58610ff irq 5 at device 2.0 on pci1 Oct 31 04:30:42 athena kernel: twa0: [GIANT-LOCKED] Oct 31 04:30:42 athena kernel: twa0: 4 ports, Firmware FE9X 2.02.00.012, BIOS BE9X 2.02.01.037 Oct 31 04:30:42 athena kernel: em0: port 0xc400-0xc43f mem 0xd5820000-0xd583ffff,0xd5800000-0xd581ffff irq 11 at device 4.0 on pci1 Oct 31 04:30:42 athena kernel: em0: Ethernet address: 00:0e:0c:4c:c7:34 Oct 31 04:30:42 athena kernel: em0: Speed:N/A Duplex:N/A Oct 31 04:30:42 athena kernel: fxp0: port 0xc800-0xc83f mem 0xd5840000-0xd585ffff,0xd5862000-0xd5862fff irq 10 at device 5.0 on pci1 Oct 31 04:30:42 athena kernel: miibus0: on fxp0 Oct 31 04:30:42 athena kernel: inphy0: on miibus0 Oct 31 04:30:42 athena kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Oct 31 04:30:42 athena kernel: fxp0: Ethernet address: 00:d0:b7:49:0c:b5 Oct 31 04:30:42 athena kernel: isab0: at device 31.0 on pci0 Oct 31 04:30:42 athena kernel: isa0: on isab0 Oct 31 04:30:42 athena kernel: atapci2: port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 Oct 31 04:30:42 athena kernel: ata0: channel #0 on atapci2 Oct 31 04:30:42 athena kernel: ata1: channel #1 on atapci2 Oct 31 04:30:42 athena kernel: uhci0: port 0xd000-0xd01f irq 11 at device 31.2 on pci0 Oct 31 04:30:42 athena kernel: uhci0: [GIANT-LOCKED] Oct 31 04:30:42 athena kernel: usb0: on uhci0 Oct 31 04:30:42 athena kernel: usb0: USB revision 1.0 Oct 31 04:30:42 athena kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Oct 31 04:30:42 athena kernel: uhub0: 2 ports with 2 removable, self powered Oct 31 04:30:42 athena kernel: pci0: at device 31.3 (no driver attached) Oct 31 04:30:42 athena kernel: uhci1: port 0xd400-0xd41f irq 10 at device 31.4 on pci0 Oct 31 04:30:42 athena kernel: uhci1: [GIANT-LOCKED] Oct 31 04:30:42 athena kernel: usb1: on uhci1 Oct 31 04:30:42 athena kernel: usb1: USB revision 1.0 Oct 31 04:30:42 athena kernel: uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Oct 31 04:30:42 athena kernel: uhub1: 2 ports with 2 removable, self powered Oct 31 04:30:42 athena kernel: pcm0: port 0xdc00-0xdc3f,0xd800-0xd8ff irq 10 at device 31.5 on pci0 Oct 31 04:30:42 athena kernel: pcm0: [GIANT-LOCKED] Oct 31 04:30:42 athena kernel: pcm0: Oct 31 04:30:42 athena kernel: fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 Oct 31 04:30:42 athena kernel: fdc0: [FAST] Oct 31 04:30:42 athena kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Oct 31 04:30:42 athena kernel: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Oct 31 04:30:42 athena kernel: sio0: type 16550A Oct 31 04:30:42 athena kernel: sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 Oct 31 04:30:42 athena kernel: sio1: type 16550A Oct 31 04:30:42 athena kernel: ppc0: port 0xf78-0xf7b,0xb78-0xb7b,0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 Oct 31 04:30:42 athena kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode Oct 31 04:30:42 athena kernel: ppc0: FIFO with 16/16/16 bytes threshold Oct 31 04:30:42 athena kernel: ppbus0: on ppc0 Oct 31 04:30:42 athena kernel: ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP Oct 31 04:30:42 athena kernel: Probing for PnP devices on ppbus0: Oct 31 04:30:42 athena kernel: ppbus0: PRINTER PCL5,POSTSCRIPT2,PJL,PCLXL Oct 31 04:30:42 athena kernel: plip0: on ppbus0 Oct 31 04:30:42 athena kernel: lpt0: on ppbus0 Oct 31 04:30:42 athena kernel: lpt0: Interrupt-driven port Oct 31 04:30:42 athena kernel: ppi0: on ppbus0 Oct 31 04:30:42 athena kernel: atkbdc0: port 0x64,0x60 irq 1 on acpi0 Oct 31 04:30:42 athena kernel: atkbd0: irq 1 on atkbdc0 Oct 31 04:30:42 athena kernel: kbd0 at atkbd0 Oct 31 04:30:42 athena kernel: atkbd0: [GIANT-LOCKED] Oct 31 04:30:42 athena kernel: psm0: irq 12 on atkbdc0 Oct 31 04:30:42 athena kernel: psm0: [GIANT-LOCKED] Oct 31 04:30:42 athena kernel: psm0: model IntelliMouse Explorer, device ID 4 Oct 31 04:30:42 athena kernel: pmtimer0 on isa0 Oct 31 04:30:42 athena kernel: orm0: at iomem 0xd4000-0xd57ff,0xd2000-0xd37ff,0xc0000-0xc9fff on isa0 Oct 31 04:30:42 athena kernel: sc0: at flags 0x100 on isa0 Oct 31 04:30:42 athena kernel: sc0: VGA <16 virtual consoles, flags=0x300> Oct 31 04:30:42 athena kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Oct 31 04:30:42 athena kernel: Timecounter "TSC" frequency 801823054 Hz quality 800 Oct 31 04:30:42 athena kernel: Timecounters tick every 1.000 msec Oct 31 04:30:42 athena kernel: Waiting 15 seconds for SCSI devices to settle Oct 31 04:30:42 athena kernel: acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0% ------------------> Hangs here if disks are attached <----------------- Oct 31 04:30:42 athena kernel: em0: Link is up 1000 Mbps Full Duplex Oct 31 04:30:42 athena kernel: da0 at ahc1 bus 0 target 0 lun 0 Oct 31 04:30:42 athena kernel: da0: Fixed Direct Access SCSI-3 device Oct 31 04:30:42 athena kernel: da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled Oct 31 04:30:42 athena kernel: da0: 70149MB (143666192 512 byte sectors: 255H 63S/T 8942C) Oct 31 04:30:42 athena kernel: da1 at twa0 bus 0 target 0 lun 0 Oct 31 04:30:42 athena kernel: da1: <3ware Logical Disk 00 1.00> Fixed Direct Access SCSI-0 device Oct 31 04:30:42 athena kernel: da1: 100.000MB/s transfers Oct 31 04:30:42 athena kernel: da1: 715224MB (1464778752 512 byte sectors: 255H 63S/T 91178C) Oct 31 04:30:42 athena kernel: Mounting root from ufs:/dev/da0s1a Oct 31 04:30:42 athena kernel: em0: Link is up 1000 Mbps Full Duplex Note: The 'Waiting 15 seconds for SCSI devices to settle' message does not appear when the hang occurs. >How-To-Repeat: Boot FreeBSD on a system containing a Highpoint Rocket 1540 card with at least one hard disk attached. >Fix: Attach the drives after booting and use 'atacontrol reinit ' to register the drives with the OS. >Release-Note: >Audit-Trail: >Unformatted: