NetBSD Problem Report #22636

Received: (qmail 19117 invoked by uid 605); 29 Aug 2003 06:08:31 -0000
Message-Id: <20030829060830.78A6E7B74@yeah-baby.shagadelic.org>
Date: Thu, 28 Aug 2003 23:08:30 -0700 (PDT)
From: thorpej@shagadelic.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: thorpej@shagadelic.org
To: gnats-bugs@gnats.netbsd.org
Subject: ahd driver does not work with u320 drives
X-Send-Pr-Version: 3.95

>Number:         22636
>Category:       kern
>Synopsis:       ahd driver does not work with u320 drives
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 29 06:09:00 +0000 2003
>Closed-Date:    
>Last-Modified:  
>Originator:     Jason R Thorpe
>Release:        NetBSD 1.6X
>Organization:
>Environment:


System: new xscale-based platform
Architecture: arm
Machine: evbarm
>Description:
	The ahd driver fails to function properly with u320 drives.
	It gets this far:

.
.
.
clock: hz=100 stathz=0 profhz=0
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus1 target 6 lun 0: <MAXTOR, ATLASU320_18_WLS, B430> disk fixed
sd0: 17537 MB, 31022 cyl, 2 head, 578 sec, 512 bytes/sect x 35916548 sectors
sd0: sync (6.25ns offset 127), 16-bit (320.000MB/s) transfers, tagged queueing

	...and then hangs here.  I can break into the debugger, and I
	see the call graph looks like:

		ltsleep <- scsipi_execute_xs <- scsi_scsipi_cmd <-
		    scsipi_command <- scsipi_test_unit_ready <-
		    scsipi_set_xfer_mode <- scsi_probe_bus <-
		    scsibus_config

	I.e. the command that is failing is the command after setting
	the xfer mode that is used to force negotiation with the device.

	The ahd driver works fine with u160 drives.  This same u320
	drive works fine with an LSI 53c1030 (mpt driver).

>How-To-Repeat:
	Attempt to use u320 drives with the ahd driver.

>Fix:
	Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.