NetBSD Problem Report #6214
Received: (qmail 5114 invoked from network); 29 Sep 1998 22:30:15 -0000
Message-Id: <199809292229.QAA00487@hideo.nervana.montana.edu>
Date: Tue, 29 Sep 1998 16:29:24 -0600 (MDT)
From: Chris Jones <cjones@hideo.nervana.montana.edu>
Reply-To: cjones@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: ch(4) and block mode descriptors
X-Send-Pr-Version: 3.95
>Number: 6214
>Category: kern
>Synopsis: ch(4) and block mode descriptors
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 29 15:35:00 +0000 1998
>Closed-Date:
>Last-Modified: Sun Apr 15 21:46:06 +0000 2012
>Originator: Chris Jones
>Release: Sep 28, 1998
>Organization:
Center for Computational Biology, Montana State University
>Environment:
System: NetBSD hideo 1.3H NetBSD 1.3H (HIDEO) #19: Tue Sep 29 15:07:29 MDT 1998 root@hideo:/usr/src/sys/arch/i386/compile/HIDEO i386
>Description:
I've got a CDL-1100, which is a Sony CD-ROM jukebox. Using a normal
kernel, it doesn't work. This appears to be a result of block
descriptors being disabled in the ch(4) driver.
>How-To-Repeat:
See above, and message posted to current-users.
>Fix:
This patch makes the device work with my setup. However, it's
obviously a hack. There should be a better way to do this, but I
don't know how.
*** ch.c-old Tue Sep 29 16:14:17 1998
--- ch.c-new Tue Sep 29 16:13:59 1998
***************
*** 678,684 ****
bzero(&cmd, sizeof(cmd));
bzero(&sense_data, sizeof(sense_data));
cmd.opcode = SCSI_MODE_SENSE;
- cmd.byte2 |= 0x08; /* disable block descriptors */
cmd.page = 0x1d;
cmd.length = (sizeof(sense_data) & 0xff);
error = scsipi_command(sc->sc_link,
--- 678,683 ----
***************
*** 711,717 ****
/*
* XXX: Note: not all changers can deal with disabled block descriptors
*/
- cmd.byte2 = 0x08; /* disable block descriptors */
cmd.page = 0x1f;
cmd.length = (sizeof(sense_data) & 0xff);
error = scsipi_command(sc->sc_link,
--- 710,715 ----
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: thorpej
State-Changed-When: Thu Oct 8 11:45:29 PDT 1998
State-Changed-Why:
Diff send to submitter asking for feedback.
Responsible-Changed-From-To: kern-bug-people->thorpej
Responsible-Changed-By: thorpej
Responsible-Changed-When: Thu Oct 8 11:45:29 PDT 1998
Responsible-Changed-Why:
ch driver is my fault.
From: Chris Jones <chris@cjones.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/6214: ch(4) and block mode descriptors
Date: Tue, 29 Oct 2002 14:02:04 -0700
Just saw this old PR of mine.
I no longer have access to the hardware in question. The current admin
should be reachable at <root@nervana.montana.edu>.
Chris
--
------------------------------------------------- chris@cjones.org
Chris Jones Mad scientist at large
www.netbsd.org www.postgresql.org www.schemers.org www.python.org
State-Changed-From-To: feedback->open
State-Changed-By: perry
State-Changed-When: Fri Apr 4 11:57:24 PST 2003
State-Changed-Why:
The submitter no longer has the equipment in question, so it appears
Jason either has to apply a patch blind (which might not be so bad)
or the PR has to get closed.
From: "Perry E. Metzger" <perry@piermont.com>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: Re: kern/6214
Date: 04 Apr 2003 15:08:57 -0500
[Forwarded.]
From: Chris Jones <chris@cjones.org>
To: perry@netbsd.org
Cc: cjones@netbsd.org, thorpej@netbsd.org, mhitch@netbsd.org
Subject: Re: kern/6214
References: <20030404200057.20537.qmail@mail.netbsd.org>
In-Reply-To: <20030404200057.20537.qmail@mail.netbsd.org>
Lines: 14
Xref: snark.piermont.com personal:13682
perry@netbsd.org wrote:
> The submitter no longer has the equipment in question, so it appears
> Jason either has to apply a patch blind (which might not be so bad)
> or the PR has to get closed.
Mike Hitch may be able to get access to the equipment. If it still
exists, I can probably tell him where it is.
Chris
Responsible-Changed-From-To: thorpej->kern-bug-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 15 Apr 2012 21:46:06 +0000
Responsible-Changed-Why:
Back to role account, thorpej left
>Unformatted:
(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.