NetBSD Problem Report #1482
From gnats Tue Sep 19 21:38:21 1995
Received: from bloom-beacon.MIT.EDU (brnstndkramden.acf.nyu.edu@BLOOM-BEACON.MIT.EDU [18.181.0.26]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id VAA16198 for <gnats-bugs@gnats.netbsd.org>; Tue, 19 Sep 1995 21:38:21 -0400
Message-Id: <199509200128.VAA00481@pattern.arlington.ma.us>
Date: Tue, 19 Sep 1995 21:28:16 -0400
From: John Kohl <jtk@kolvir.arlington.ma.us>
Reply-To: jtk@kolvir.arlington.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: scsi disk dump routine doesn't set SCSI_DATA_OUT
X-Send-Pr-Version: 3.95
>Number: 1482
>Category: kern
>Synopsis: scsi disk dump routine doesn't set SCSI_DATA_OUT
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 19 21:50:03 +0000 1995
>Closed-Date: Sat Sep 30 22:59:18 +0000 1995
>Last-Modified: Sat Sep 30 22:59:40 +0000 1995
>Originator: John Kohl
>Release: NetBSD-current, 1995/09/19
>Organization:
NetBSD Kernel Hackers `R` Us
>Environment:
System: NetBSD pattern 1.0A NetBSD 1.0A (PATTERN) #114: Tue Sep 19 21:07:54 EDT 1995 jtk@pattern:/u1/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386
>Description:
The SCSI disk dump routine does not set SCSI_DATA_OUT on its dump
requests, which makes some SCSI drivers barf.
>How-To-Repeat:
Try to take a crashdump on an NCR53c810 on an i386.
>Fix:
===================================================================
RCS file: RCS/sd.c,v
retrieving revision 1.1
diff -c -r1.1 sd.c
*** sd.c 1995/09/06 03:40:38 1.1
--- sd.c 1995/09/20 01:07:16
***************
*** 948,954 ****
* to wait for an xs.
*/
bzero(xs, sizeof(sx));
! xs->flags |= SCSI_AUTOCONF | INUSE;
xs->sc_link = sd->sc_link;
xs->retries = SDRETRIES;
xs->timeout = 10000; /* 10000 millisecs for a disk ! */
--- 948,954 ----
* to wait for an xs.
*/
bzero(xs, sizeof(sx));
! xs->flags |= SCSI_AUTOCONF | INUSE | SCSI_DATA_OUT;
xs->sc_link = sd->sc_link;
xs->retries = SDRETRIES;
xs->timeout = 10000; /* 10000 millisecs for a disk ! */
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: pk
State-Changed-When: Sat Sep 30 18:59:18 EDT 1995
State-Changed-Why:
Fix applied.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.