Subject: kern/21096: some ATAPI devices on PCIIDE do not reset properly
To: None <gnats-bugs@gnats.netbsd.org>
From: None <t1345@hopi.dtcc.edu>
List: netbsd-bugs
Date: 04/11/2003 11:47:58
>Number:         21096
>Category:       kern
>Synopsis:       some ATAPI devices on PCIIDE do not reset properly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 11 11:50:01 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Chris Tribo
>Release:        1.6Q
>Organization:
>Environment:
NetBSD Suck 1.6Q NetBSD 1.6Q (suck) #0: Mon Mar 31 21:17:50 EST 2003  root@:/usr
/src/sys/arch/i386/compile/suck i386
>Description:
I have two i386 systems that I use daily which show this behaviour.
I'm fairly certain that the drives themselves are the variables that
cause this to manifest itself as it only happens with certain ATAPI
devices. One of them is this no name DVD-ROM drive and the other is a Plextor 24x10x40 writer (in my other system)
cd1 at atapibus0 drive 1: <DVD-ROM OEM316B, , VER 1.0> cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)

The issue is that when I boot my machine the IDE activity light on
the front of the case stays on constantly until I do eject cdX or try
to burn something with cdrecord on that drive. As soon as I do either
one the activity light turns off and everything works as it should. If I try
to burn a CD-RW and the activity light is on solid, cdrecord reports that the drive has to reload the media to return to proper status. Subsequent attempts do not require this.
>How-To-Repeat:
Boot using one of these drives, possibly others

cd1 at atapibus0 drive 1: <DVD-ROM OEM316B, , VER 1.0> cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)

cd1 at atapibus0 drive 1: <PLEXTOR CD-R   PX-W2410A, 820886, 1.03> cdrom removab
le
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
>Fix:
eject the drive with "eject cdX", ejecting the other drive on the
chain makes no difference. Possible timing issue WRT ATAPI_BUS_RESET?
>Release-Note:
>Audit-Trail:
>Unformatted: