Subject: kern/8858: Need ATAPI-layer hack for DVD commands
To: None <gnats-bugs@gnats.netbsd.org>
From: Charles M. Hannum <mycroft@MIT.EDU>
List: netbsd-bugs
Date: 11/22/1999 19:45:50
>Number:         8858
>Category:       kern
>Synopsis:       Need ATAPI-layer hack for DVD commands
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 22 19:45:00 1999
>Last-Modified:
>Originator:     Charles M. Hannum
>Organization:
	The NetBSD Mission
>Release:        -current as of 19991117
>Environment:
	i386, Toshiba 6x or Hitachi 2x DVD-ROM drive

>Description:
	With some DVD-ROM drives (at least the two mentioned, probably
	others), the DVD commands do not work correctly in DMA mode.
	After timing out a few times and falling back to PIO mode,
	they eventually work.

	We need to do some kluge to make these execute in PIO-only
	mode.  I'm not sure offhand whether they are strictly non-DMA,
	or simply require special handling because they do not use
	multiple of 512 transfers, though I suspect the former.

>How-To-Repeat:
	Use the recently added DVD commands on most drives, and ponder
	for a couple of weeks why they always time out at least once
	per boot before working.

>Fix:
	Not supplied.

>Audit-Trail:
>Unformatted: