Re: SATA disks suddenly stop working

From: Elliot Schlegelmilch <elliot_at_schlegelmilch.org>
Date: Mon, 2 Mar 2009 22:39:35 -0500
On Mon, Mar 02, 2009 at 09:43:59PM +0200, Alexander Motin wrote:
> >>>The last known kernel which works was Dec 17, but trying to rebuild a
> >>>kernel from that date doesn't see the SATA disks either (as the kernel
> >>>which sees the disks zfs doesn't work.) Or perhaps I'm csup'ing
> >>>incorrectly.
> >>Haven't you tried to just touched reset sequence on 15.
> >
> >Do you mean a kernel on Feb 15? Was there more that happened between
> >15th and the 22nd or so?
> 
> You have made something unreadable cutting and gluing two my sentences. 
> :) Yes, there many happens between Feb 15 and 22.
> 
> >>When you succeed to boot, can you try to make some experiments against 
> >>HEAD, may be some of them fix the problem:
> >>1) comment that line inside ata_ahci_issue_cmd():
> >>    ATA_OUTL(ctlr->r_res2, ATA_AHCI_P_FBS + offset, (port << 8) | 
> >>0x00000001);
> >>
> >>2) comment these lines inside ata_sata_phy_reset():
> >>    if ((ATA_IDX_INL(ch, ATA_SCONTROL) & ATA_SC_DET_MASK) == 
> >>ATA_SC_DET_IDLE)
> >>    return ata_sata_connect(ch);
> >>
> >>3) comment first that line inside ata_ahci_softreset():
> >>    return (-1);
> >>
> >>Thanks.
> >>
> >
> >I'll try these patches and report back right after I freshen up my 
> >backups. :)
> 
> First one is already committed to the HEAD. It may be related to your 
> problem.

FreeBSD radon.periodic 8.0-CURRENT FreeBSD 8.0-CURRENT #2 r189291: Mon
Mar 2 17:12:15 PST 2009 root_at_radon.periodic:/usr/obj/usr/src/sys/GENERIC 
amd64

HEAD works. I didn't try the other patches, but I could. Thanks.
Received on Tue Mar 03 2009 - 02:36:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:43 UTC