Subject: port-i386/24539: 1.6ZK hangs using satalink
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jschauma@netmeister.org>
List: netbsd-bugs
Date: 02/23/2004 15:28:17
>Number:         24539
>Category:       port-i386
>Synopsis:       1.6ZK/i386 hangs trying to use satalink
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 23 20:25:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jan Schaumann
>Release:        NetBSD 1.6ZK
>Organization:
	
>Environment:
NetBSD dogfish-head.cs.stevens-tech.edu 1.6ZK NetBSD 1.6ZK (BOCK) #7: Mon Feb 23 10:40:48 EST 2004  jschauma@doppelbock.hpcf.cs.stevens-tech.edu:/share/src/sys/arch/i386/compile/obj/BOCK i386

Architecture: i386
Machine: i386
>Description:
	I've been trying to use
	satalink*      at pci? dev ? function ?
	on the ASUS A7N8X motherboard with a SiI 3112A SATARaid controller.

	Upon boot, the kernel finds the following:

	[...]
	satalink0: port 0: device present, speed: 1.5Gb/s
	wd0 at atabus0 drive0 <WDC WD360GD-00FNA0>
	wd0: drive supports 16-sector PIO transfers, LBA48 addressing
	wd0: 35304MB, 71730 cyl, 16 head, 63 sec, 512 bytes/sect x 72303840 sectors
	wd0: 32-bit data port
	wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
	wd0(satalink0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA data transfers)

	and that's it.  It just sits there, hung.
	Taking satalink out of the kernel and trying to just use the generic
	pciide will not work:  the kernel will not find a root device.

	Note that using an older kernel (1.6X) the generic pciide works fine for
	the sata drive.
>How-To-Repeat:
	Build a GENERIC kernel for 1.6ZK.
	Try to boot a system with a SATA drive attached.
>Fix:
	unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: