Subject: maxtor sata quirk
To: None <tech-kern@netbsd.org>
From: George Georgalis <george@galis.org>
List: tech-kern
Date: 03/05/2007 13:56:02
I seem to have come across a quirk for Maxtor SATA drives:

wd0 at atabus2 drive 0: <MAXTOR STM3200820AS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(viaide1:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1 at atabus3 drive 0: <MAXTOR STM3200820AS>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(viaide1:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)

the center command below (only) fails on two new drives.

    dd if=/dev/rwd1a of=/dev/null skip=268435391 count=1
    dd if=/dev/rwd1a of=/dev/null skip=268435392 count=1
    dd if=/dev/rwd1a of=/dev/null skip=268435393 count=1

with kernel messages:

wd1a: error reading fsbn 268435392 of 268435392-268435519 (wd1 bn 268435455; cn 266305 tn 0 sn 15), retrying
wd1: (id not found)

In hex that's fffffc0 which is a little different than the Seagate
LBA 32/48 quirk that comes up now and then. I'm looking for
(hopefully) an existing quirk table that I can add my drive id to.

If anyone knows where to go from here, please let me know.

not sure about "id not found"

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><