Subject: Re: DVD-Player doesn't work
To: Martin Schmitz <martin-schmitz@web.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 10/19/2003 17:12:44
On Sun, Oct 19, 2003 at 04:09:18PM +0200, Martin Schmitz wrote:
>
> If I mount a dvd or cd in my dvd-player, everything seems to be ok. the
> device is mounted, but if I try to access files on the dvd/cd, I get
> lots of i/o-errors. It's the same with 1.6.1 and -current. The error
> message always sounded like "non-media hardware error, data =
> ...". Since the last update today it tells:
>
> Oct 19 16:03:17 apollo /netbsd: cd0(viaide0:1:0): Check Condition on CDB: 0x28 00 00 00 10 28 00 00 20 00
> Oct 19 16:03:17 apollo /netbsd: SENSE KEY: Hardware Error
> Oct 19 16:03:17 apollo /netbsd: ASC/ASCQ: ASC 0x08 ASCQ 0x03
> Oct 19 16:03:17 apollo /netbsd:
> Oct 19 16:03:17 apollo /netbsd: cd0(viaide0:1:0): Check Condition on CDB: 0x28 00 00 00 10 28 00 00 04 00
> Oct 19 16:03:17 apollo /netbsd: SENSE KEY: Hardware Error
> Oct 19 16:03:17 apollo /netbsd: ASC/ASCQ: ASC 0x08 ASCQ 0x03
> Oct 19 16:03:17 apollo /netbsd:
>
> The dmesg output is:
>
> atapibus0 at atabus1: 2 targets
> cd0 at atapibus0 drive 0: <IDE DVD-ROM 16X, , VER 5.0> cdrom removable
> cd0: 32-bit data port
> cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
> cd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
>
> The BIOS thinks, that this device only supports DMA mode 2! I would try
> to access the device with DMA mode 2 or without DMA if someone could
> tell me how to do that.
Build a kernel with
cd* at atapibus? drive ? flags 0xf00
for DMA mode 2, and
cd* at atapibus? drive ? flags 0xff0
for PIO
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 24 ans d'experience feront toujours la difference
--