Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2004 15:34:03 GMT
From:      Kwok Yeung <kwok.yeung@virgin.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/73354: Highpoint Rocket 1540 hangs when probing for disks at boot-time
Message-ID:  <200410311534.i9VFY3PK003291@www.freebsd.org>
Resent-Message-ID: <200410311540.i9VFeFr5045147@freefall.freebsd.org>

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

>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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
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: <math processor> on motherboard
Oct 31 04:30:42 athena kernel: npx0: INT 16 interface
Oct 31 04:30:42 athena kernel: acpi0: <IntelR AWRDACPI> 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: <ACPI CPU (3 Cx states)> on acpi0
Oct 31 04:30:42 athena kernel: acpi_tz0: <Thermal Zone> on acpi0
Oct 31 04:30:42 athena kernel: acpi_button0: <Power Button> on acpi0
Oct 31 04:30:42 athena kernel: acpi_button1: <Sleep Button> on acpi0
Oct 31 04:30:42 athena kernel: pcib0: <ACPI Host-PCI bridge> 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: <ACPI PCI bus> on pcib0
Oct 31 04:30:42 athena kernel: agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem 0xd6000000-0xd607ffff,0xd0000000-0xd3ffffff irq 11 at device 2.0 on pci0
Oct 31 04:30:42 athena kernel: pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
Oct 31 04:30:42 athena kernel: pci1: <ACPI PCI bus> on pcib1
Oct 31 04:30:42 athena kernel: ahc0: <Adaptec 3960D Ultra160 SCSI adapter> 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: <Adaptec 3960D Ultra160 SCSI adapter> 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: <HighPoint HPT374 (channel 0+1) UDMA133 controller> 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: <HighPoint HPT374 (channel 2+3) UDMA133 controller> 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: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> 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: <Intel 82559ER Pro/100 Ethernet> port 0xc800-0xc83f mem 0xd5840000-0xd585ffff,0xd5862000-0xd5862fff irq 10 at device 5.0 on pci1
Oct 31 04:30:42 athena kernel: miibus0: <MII bus> on fxp0
Oct 31 04:30:42 athena kernel: inphy0: <i82555 10/100 media interface> 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: <PCI-ISA bridge> at device 31.0 on pci0
Oct 31 04:30:42 athena kernel: isa0: <ISA bus> on isab0
Oct 31 04:30:42 athena kernel: atapci2: <Intel ICH2 UDMA100 controller> 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: <Intel 82801BA/BAM (ICH2) USB controller USB-A> 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: <Intel 82801BA/BAM (ICH2) USB controller USB-A> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
Oct 31 04:30:42 athena kernel: uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> 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: <Intel 82801BA/BAM (ICH2) USB controller USB-B> 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: <Intel ICH2 (82801BA)> 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: <Realtek ALC100 AC97 Codec>
Oct 31 04:30:42 athena kernel: fdc0: <floppy drive controller> 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: <ECP parallel printer port> 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: <Parallel port bus> 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: <Brother HL-1070 series> PRINTER PCL5,POSTSCRIPT2,PJL,PCLXL
Oct 31 04:30:42 athena kernel: plip0: <PLIP network interface> on ppbus0
Oct 31 04:30:42 athena kernel: lpt0: <Printer> on ppbus0
Oct 31 04:30:42 athena kernel: lpt0: Interrupt-driven port
Oct 31 04:30:42 athena kernel: ppi0: <Parallel I/O> on ppbus0
Oct 31 04:30:42 athena kernel: atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
Oct 31 04:30:42 athena kernel: atkbd0: <AT Keyboard> 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: <PS/2 Mouse> 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: <ISA Option ROMs> at iomem 0xd4000-0xd57ff,0xd2000-0xd37ff,0xc0000-0xc9fff on isa0
Oct 31 04:30:42 athena kernel: sc0: <System console> 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: <Generic ISA VGA> 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: <QUANTUM ATLAS10K3_73_WLS 020W> 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 <channel>' to register the drives with the OS.

>Release-Note:
>Audit-Trail:
>Unformatted:



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