Subject: wangdat 3100 DDS-1 drive - broken
To: None <netbsd-users@netbsd.org>
From: Wojciech Puchar <wojtek@wojtek.3miasto.net>
List: netbsd-users
Date: 07/11/2001 13:36:27
this drive badly reports it's minimal blocksize 512 and maximum 512 while
it can accept up to 32K (or maybe more) with variable-blocksize mode.
my very-temporary fix is removing is commenting this in st.c:
//else if (bp->b_bcount < st->blkmin ||
// (st->blkmax && bp->b_bcount > st->blkmax)) {
// printf("%s: bad request, must be between %d and %d\n",
// st->sc_dev.dv_xname, st->blkmin, st->blkmax);
// bp->b_error = EIO;
// goto bad;
//}
but still i have to do mt setblk 0 before every tar.
how to do it in mode "elegant" and usable way? is such case possible in
quirks table (i've tried without success) or should i add "special" quirk for this
drive.
netbsd 1.5