Current-Users archive

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

Re: amd64-current won't boot (another one)



On 6 July 2012 10:52, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
> Hi,
>
> The last amd64 6.99.8 to work for me was from 26/06 (but then I had a
> few days missed, as I was moving room in the office and the kit was
> powered down).
>
> The good dmesg is attached.
>
> On the newer builds I get
>
> ahcisata0 channel 0: clearing WDCTL_RST failed for drive 0
> ahcisata0 channel 2: clearing WDCTL_RST failed for drive 0


The trivial (and most likely wrong) patch:

--- sys/dev/ic/ahcisata_core.c.ORIG     2012-07-06 11:21:25.000000000 +0100
+++ sys/dev/ic/ahcisata_core.c  2012-07-06 11:21:46.000000000 +0100
@@ -685,17 +685,6 @@
        cmd_tbl->cmdt_cfis[fis_type] = RHD_FISTYPE;
        cmd_tbl->cmdt_cfis[rhd_c] = drive;
        cmd_tbl->cmdt_cfis[rhd_control] = 0;
-       switch(ahci_exec_fis(chp, 31, flags)) {
-       case ERR_DF:
-       case TIMEOUT:
-               aprint_error("%s channel %d: clearing WDCTL_RST failed "
-                   "for drive %d\n", AHCINAME(sc), chp->ch_channel, drive);
-               if (sigp)
-                       *sigp = 0xffffffff;
-               goto end;
-       default:
-               break;
-       }
        /*
         * wait 31s for BSY to clear
         * This should not be needed, but some controllers clear the

gets me working again, so it is something in rev. 1.35 of
ahcisata_core.c; the ball is with Manuel then.

I might file a PR.


>
> and there is no disk to boot from.
>
> The last build is from yesterday.
>
> Chavdar
>
> --
> ----



-- 
----


Home | Main Index | Thread Index | Old Index