Subject: Re: kern/21001: newer SiS pciide make CD drive fail
To: None <fvdl@wasabisystems.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 04/06/2003 20:45:17
On Fri, Apr 04, 2003 at 05:25:47AM +0200, fvdl@wasabisystems.com wrote:
> 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).

Can you send me a dmesg with wdcdebug_pciide_mask set to 0x10 ?
You may need to bub MSGBUFSIZE.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--