NetBSD Problem Report #37936

From juan@xtrarom.org  Fri Feb  1 09:46:37 2008
Return-Path: <juan@xtrarom.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 04B1663B853
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  1 Feb 2008 09:46:36 +0000 (UTC)
Message-Id: <20080201094635.0A14C16B87@sasha>
Date: Fri,  1 Feb 2008 10:46:34 +0100 (CET)
From: xtraeme@gmail.com
Reply-To: xtraeme@gmail.com
To: gnats-bugs@gnats.NetBSD.org
Subject: jmide(4) with ATAPI devices is too fragile
X-Send-Pr-Version: 3.95

>Number:         37936
>Category:       kern
>Synopsis:       jmide(4) with ATAPI devices is too fragile, cdplay(1) affected
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 01 09:50:00 +0000 2008
>Last-Modified:  Sat Nov 27 00:48:07 +0000 2010
>Originator:     xtraeme@gmail.com
>Release:        NetBSD 4.99.52
>Organization:
Juan Romero Pardines             The NetBSD Project
http://plog.xtrarom.org/         NetBSD/pkgsrc news in Spanish
http://mklivecd.xtrarom.org/     Make your own NetBSD Live CD/DVD!
>Environment:
System: NetBSD sasha 4.99.52 NetBSD 4.99.52 (Nocturno-nodbg) #49: Fri Feb 1 06:46:47 CET 2008 juan@sasha:/home/juan/build/i386/obj/sys/arch/i386/compile/Nocturno-nodbg i386
Architecture: i386
Machine: i386
>Description:

	I've been using this machine for long time now and all seems
	to work fine, but today I wanted to listen to a cdrom via
	digital transfer mode in cdplay(4) and this has shown some
	errors:

cd0(jmide1:0:1):  Check Condition on CDB: 0x28 00 00 00 00 00 00 00 01 00
SENSE KEY:  Illegal Request
ASC/ASCQ:  Illegal Mode For This Track

cd0: dos partition I/O error
jmide1:0:1: lost interrupt
type: atapi tc_bcount: 11760 tc_skip: 0
jmide1:0:1: bus-master DMA error: missing interrupt, status=0x41
jmide1:0:1: device timeout, c_bcount=11760, c_skip=0
cd0: transfer error, downgrading to Ultra-DMA mode 3
cd0(jmide1:0:1): using PIO mode 4, Ultra-DMA mode 3 (using DMA)
jmide1:0:1: lost interrupt
type: atapi tc_bcount: 11760 tc_skip: 0
jmide1:0:1: bus-master DMA error: missing interrupt, status=0x41
jmide1:0:1: device timeout, c_bcount=11760, c_skip=0
cd0: transfer error, downgrading to Ultra-DMA mode 2
cd0(jmide1:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
jmide1:0:1: lost interrupt
type: atapi tc_bcount: 11760 tc_skip: 0
jmide1:0:1: bus-master DMA error: missing interrupt, status=0x41
jmide1:0:1: device timeout, c_bcount=11760, c_skip=0
cd0: transfer error, downgrading to Ultra-DMA mode 1
cd0(jmide1:0:1): using PIO mode 4, Ultra-DMA mode 1 (using DMA)
jmide1:0:1: lost interrupt
type: atapi tc_bcount: 11760 tc_skip: 0
jmide1:0:1: bus-master DMA error: missing interrupt, status=0x41
jmide1:0:1: device timeout, c_bcount=11760, c_skip=0
jmide1:0:1: piomode timed out

	And so on... any time I use digital transfer mode and play the
	cdrom there's a lost interrupt.

	Full dmesg at: http://www.xtrarom.org/~juan/dmesg-sasha.txt

>How-To-Repeat:
	cdplay; play
>Fix:
	Yes, please.

>Release-Note:

>Audit-Trail:
   20080421 dholland: updated xtraeme's email

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.