Subject: Re: Lost interrupt/device timeout with newfs_udf from udfclient package
To: Dave Huang <khym@azeotrope.org>
From: Charles M. Hannum <abuse@spamalicious.com>
List: current-users
Date: 09/29/2004 18:18:40
On Wednesday 29 September 2004 09:10, Dave Huang wrote:
> I tried to use newfs_udf from the misc/udfclient package on a DVD+RW
> disc (newfs_udf -L test /dev/rcd1c), and after working for a while
> (don't know how long, but less than a minute), it gave a stream of
> HELP! got writing error while writing; can't fix yet! (Input/output error)
> errors. I checked the kernel message log, and found:
>
> Sep 29 03:23:57 yerfable /netbsd: cmdide0:0:0: lost interrupt
> Sep 29 03:23:57 yerfable /netbsd: 	type: atapi tc_bcount: 65536 tc_skip: 0
> Sep 29 03:23:57 yerfable /netbsd: cmdide0:0:0: bus-master DMA error:
> missing interrupt, status=0x21 Sep 29 03:23:57 yerfable /netbsd:
> cmdide0:0:0: device timeout, c_bcount=65536, c_skip=0 Sep 29 03:23:57
> yerfable /netbsd: cd1: transfer error, downgrading to PIO mode 4 Sep 29
> 03:23:57 yerfable /netbsd: cd1(cmdide0:0:0): using PIO mode 4
>
> Device timeout? Does some timeout in the kernel need to be increased?
> I'm not sure what c_bcount is, but if it's the number of sectors it's
> trying to write, with a 2K sector size, that's 128MB, which I think
> would take about 47 seconds to write to 2X DVD+RW media
> (dvd+rw-mediainfo says: Write Speed #0: 2.0x1385=2770KB/s)

c_bcount is bytes, not sectors.