Date: Mon, 2 Mar 2009 22:39:35 -0500 From: Elliot Schlegelmilch <elliot@schlegelmilch.org> To: Alexander Motin <mav@mavhome.dp.ua> Cc: FreeBSD-Current <freebsd-current@freebsd.org> Subject: Re: SATA disks suddenly stop working Message-ID: <20090303033935.GA1437@schlegelmilch.org> In-Reply-To: <49AC36FF.2080509@mavhome.dp.ua> References: <go44ht$2i6a$1@FreeBSD.cs.nctu.edu.tw> <1235602472.00079680.1235592003@10.7.7.3> <1235658185.00079898.1235647801@10.7.7.3> <1235863381.00080963.1235851802@10.7.7.3> <49AAB0A6.3040304@mavhome.dp.ua> <20090302190759.GA95194@schlegelmilch.org> <49AC36FF.2080509@mavhome.dp.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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@radon.periodic:/usr/obj/usr/src/sys/GENERIC amd64 HEAD works. I didn't try the other patches, but I could. Thanks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090303033935.GA1437>