SATA disks suddenly stop working
elliot at schlegelmilch.org
Mon Mar 2 19:36:40 PST 2009
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
> >>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) |
> >>2) comment these lines inside ata_sata_phy_reset():
> >> if ((ATA_IDX_INL(ch, ATA_SCONTROL) & ATA_SC_DET_MASK) ==
> >> return ata_sata_connect(ch);
> >>3) comment first that line inside ata_ahci_softreset():
> >> return (-1);
> >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
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
HEAD works. I didn't try the other patches, but I could. Thanks.
More information about the freebsd-current