Subject: kern/21001: newer SiS pciide make CD drive fail
To: None <gnats-bugs@gnats.netbsd.org>
From: None <fvdl@wasabisystems.com>
List: netbsd-bugs
Date: 04/04/2003 05:25:47
>Number:         21001
>Category:       kern
>Synopsis:       newer SiS pciide make CD drive fail
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 03 17:46:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Frank van der Linden
>Release:        NetBSD 1.6Q
>Organization:
Sure.
>Environment:
System: NetBSD k2 1.6Q NetBSD 1.6Q (K2) #0: Fri Apr 4 00:14:49 CEST 2003 fvdl@k2:/work/trees/current/sys/arch/i386/compile/K2 i386
Architecture: i386
Machine: i386
>Description:
	The SiS pciide code was recently updated. However, the updated codes
	seems to make the Toshiba CD-ROM drive attached to the second
	channel on an Asus P4S533 board fail.

	1.6 works. On 1.6, the drive is seen as:

pciide0 at pci0 dev 2 function 5: Silicon Integrated System 5597/5598 IDE controller (rev. 0xd0)
pciide0: bus-master DMA support present
[...]
cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-M1402, 9000201106, 1000> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)

	On -current, it's:

pciide0 at pci0 dev 2 function 5: Silicon Integrated System 645DX IDE controller (rev. 0xd0)
pciide0: bus-master DMA support present
[...]
cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-M1402, 9000201106, 1000> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data

	There are also two harddisks in this machine, which appear to work
	fine in both configurations (accessed with UDMA100).

>How-To-Repeat:
	Access the CD-ROM drive in the configuration descibed above. Notice
	a lot of lost interrupts, after which the driver gives up.
>Fix:
	Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: