Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DVD-Player doesn't work

0 views
Skip to first unread message

Martin Schmitz

unread,
Oct 19, 2003, 10:12:10 AM10/19/03
to curren...@netbsd.org

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.

Or do you have any other ideas?

Martin

Manuel Bouyer

unread,
Oct 19, 2003, 11:13:00 AM10/19/03
to Martin Schmitz, curren...@netbsd.org

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 <bou...@antioche.eu.org>
NetBSD: 24 ans d'experience feront toujours la difference
--

Martin Schmitz

unread,
Oct 19, 2003, 1:57:41 PM10/19/03
to curren...@netbsd.org
Manuel Bouyer <bou...@antioche.eu.org> writes:

Thanks. This does the trick. The drive works perfectly now.

Martin

Charles M. Hannum

unread,
Oct 21, 2003, 8:11:20 PM10/21/03
to Martin Schmitz, curren...@netbsd.org

That ASC/ASCQ combination is a CRC error. Do you have the 80-wire Ultra-DMA
cable installed, or a traditional 40-wire cable?

0 new messages