tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SATA: lost interrupt/reset failed (was: scsictl equivalent for SATA)



On Mon, Aug 01, 2011 at 02:18:36PM +0200, Edgar Fuß wrote:
> > But if you plugged the new drive in the same slot as the old
> > one, you should be able to use it without extra steps.
> In the meantime, I figured out that the supposedly failed drive is OK.
> There seems to be something wrong with the SATA channel it was attached to:
> 
> [...]
> svwsata0 at pci1 dev 14 function 0
> svwsata0: ServerWorks HT-1000 SATA Controller (rev. 0x00)
> : DMA
> svwsata0: using ioapic0 pin 11 (irq 11) for native-PCI interrupt
> svwsata0: primary channel wired to native-PCI mode
> atabus0 at svwsata0 channel 0
> [...]
> svwsata0 port 0: device present, speed: 1.5Gb/s
> [...]
> wd0 at atabus0 drive 0: <ST3250310NS>
> wd0: quirks 2<FORCE_LBA48>
> wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> wd0(svwsata0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
> svwsata0 port 1: PHY offline
> [...]
> svwsata0:0:0: lost interrupt
>       type: ata tc_bcount: 16384 tc_skip: 0
> svwsata0:0:0: bus-master DMA error: missing interrupt, status=0x21
> svwsata0:0:0: device timeout, c_bcount=16384, c_skip0
> wd0a: device timeout writing fsbn 61002880 of 61002880-61002911 (wd0 bn 
> 61002943; cn 60518 tn 12 sn 43), retrying
> svwsata0 channel 0: reset failed for drive 0
> 
> Also ``atactl /dev/atabus0 reset'' also resulted in ``reset failed''.
> How do I fix this short of re-booting the machine?

I would try to unplung/replug the drive.
I would also look at SMART datas (using the smartmontool package, atactl from
4.0 won't report all details).

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index