Re: USB/hal: USB open() broken? (USB CD burner underruns, USB HDDhard resets)

From: Andrew Morton
Date: Tue Jun 20 2006 - 04:36:39 EST


On Mon, 19 Jun 2006 10:21:54 +0200
Andreas Mohr <andi@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

> I'm having severe issues with cdrecord aborting with "buffer underrun"
> message, *always*. Problem nailed, see below.

[hald polling causes cdrecord to go bad on a USB CD drive]

One possible reason is that we're shooting down the device's pagecache by
accident as a result of hald activity. This shouldn't happen, but still.
Could you please do

`watch -n1 cat /proc/meminfo' and/or `vmstat 1'

then run cdrecord

then wait a bit

then run hald, see if the amount of pagecache (/proc/meminfo:Buffers or
/proc/meminfo:Cached) suddenly decreases.

If the answer is "no" then I guess there's some unpleasant interaction
happening at the USB level

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/