Subject: Re: Bus-Master DMA error: missing interrupt
To: None <current-users@netbsd.org>
From: Christoph Badura <bad@ora.de>
List: current-users
Date: 12/28/1998 18:14:43
salvet@ics.muni.cz (Zdenek Salvet) writes:

>BTW, cd driver does not properly check request size when reading
>     through the end of partition, dd if=/dev/rcd0a of=/dev/null bs=64k
>     results in 

>cd0(pciide0:1:1):  Check Condition on CDB: 0x28 00 00 04 d6 00 00 00 20 00
>    SENSE KEY:  Illegal Request
>     ASC/ASCQ:  Logical Block Address Out of Range

I've seen that too with the sd driver on the raw partition.  It doesn't check
bounds and you can't easily copy the last block (whatever bs is set to with dd).

One of my IDE disks goes out to a long long lunch when I try the same on it.

-- 
Christoph Badura
Verlag O'Reilly