Re: WDCTL_RST failed for drive 0 / wd0: IDENTIFY failed (SATA autodetection issue after installation)

2022-05-29 Thread Rin Okuyama
en running the initialization or hardware detection, there is then a problem with the initialization of wd0: ``` WDCTL_RST failed for drive 0 wd0: IDENTIFY failed ``` The error pattern seems to be not quite rare and probably the closest to it is this post: http://mail-index.netbsd.org/current-u

Re: WDCTL_RST failed for drive 0 / wd0: IDENTIFY failed (SATA autodetection issue after installation)

2022-05-25 Thread Robert Nestor
The boot issue I’m seeing on a VM in Linux with 9.99.96 was with a build from 2022-05-11, so I need to download a new set of file and try again. May take me a week or so to get some results but I’ll report back when I get them. Thanks for the hint! -bob On May 25, 2022, at 2:44 PM, matthew

Re: WDCTL_RST failed for drive 0 / wd0: IDENTIFY failed (SATA autodetection issue after installation)

2022-05-25 Thread Robert Nestor
Well, test went quicker than I expected. I downloaded the amd64 image for 9.99.97 (assuming it had the fix since it was built 2022-05-25). When I tried booting the CD in a new VM it shows the same issue - the log shows it found the cd but then it claims it can’t find the root device.

re: WDCTL_RST failed for drive 0 / wd0: IDENTIFY failed (SATA autodetection issue after installation)

2022-05-25 Thread matthew green
[ .. ] > install 9.99.96 in a Virtual Machine (on Linux using KVM) I noticed that > after installing to a qcow2 disk any attempt to boot the disk results in > not being about to find the boot device. However, the boot log shows was this between 2022-05-08 and 2022-05-22? i accidentally broke

Re: WDCTL_RST failed for drive 0 / wd0: IDENTIFY failed (SATA autodetection issue after installation)

2022-05-24 Thread Robert Nestor
I first saw this issue on a system trying to install and run 9.92, and adding the suggested AHCISATA_EXTRA_DELAY and disabling TPM seemed to fix it for me. But then I tried 9.99.96 and saw the same problems and the fixes had no effect. However I may have stumbled onto something that could be

Re: WDCTL_RST failed for drive 0 / wd0: IDENTIFY failed (SATA autodetection issue after installation)

2022-05-24 Thread Matthias Petermann
nto memory. However, when running the initialization or hardware detection, there is then a problem with the initialization of wd0: ``` WDCTL_RST failed for drive 0 wd0: IDENTIFY failed ``` The error pattern seems to be not quite rare and probably the closest to it is this post: http://mail-index.

Re: WDCTL_RST failed for drive 0 / wd0: IDENTIFY failed (SATA autodetection issue after installation)

2022-05-24 Thread Rin Okuyama
hard drive, I get through the boot loader fine, which also still loads the kernel correctly into memory. However, when running the initialization or hardware detection, there is then a problem with the initialization of wd0: ``` WDCTL_RST failed for drive 0 wd0: IDENTIFY failed ``` The error pat

Re: WDCTL_RST failed for drive 0 / wd0: IDENTIFY failed (SATA autodetection issue after installation)

2022-05-24 Thread Matthias Petermann
detection, there is then a problem with the initialization of wd0: ``` WDCTL_RST failed for drive 0 wd0: IDENTIFY failed ``` The error pattern seems to be not quite rare and probably the closest to it is this post: http://mail-index.netbsd.org/current-users/2022/03/01/msg042073.html Recent changes t

WDCTL_RST failed for drive 0 / wd0: IDENTIFY failed (SATA autodetection issue after installation)

2022-05-24 Thread Matthias Petermann
, there is then a problem with the initialization of wd0: ``` WDCTL_RST failed for drive 0 wd0: IDENTIFY failed ``` The error pattern seems to be not quite rare and probably the closest to it is this post: http://mail-index.netbsd.org/current-users/2022/03/01/msg042073.html Recent changes

Re: IDENTIFY failed

2021-11-19 Thread Rin Okuyama
Sorry for the late reply. Patrick, Jun, thank you very much for testing! I've committed the patch: http://mail-index.netbsd.org/source-changes/2021/11/19/msg133924.html Thanks, rin On 2021/11/10 1:10, Patrick Welche wrote: On Mon, Nov 08, 2021 at 08:42:44PM +0900, Rin Okuyama wrote: Jun,

Re: IDENTIFY failed

2021-11-09 Thread Patrick Welche
On Mon, Nov 08, 2021 at 08:42:44PM +0900, Rin Okuyama wrote: > Jun, Patrick, thank you for dmesg (and discussion offlist). > > For Jun, the problem is no longer reproducible even with the original > copy of kernel, which failed before. > > So, I've just added AHCI_QUIRK_EXTRA_DELAY quirk for

Re: IDENTIFY failed

2021-11-08 Thread Jun Ebihara
From: Rin Okuyama Subject: Re: IDENTIFY failed Date: Mon, 8 Nov 2021 20:42:44 +0900 > So, I've just added AHCI_QUIRK_EXTRA_DELAY quirk for Patrick's > machine: > https://gist.github.com/rokuyama/7535594fc42a7867e3890702aee34c5c > With this patch, AHCISATA_EXTRA_DELAY option is no lon

Re: IDENTIFY failed

2021-11-08 Thread John Franklin
On Nov 4, 2021, at 08:00, Rin Okuyama wrote: > > Hmm, if affected hardware is somehow limited, we can just introduce something > like AHCI_QUIRK_EXTRADELAY. Otherwise, we can reconsider, for example, before > NetBSD 10 is released. > > Jun, Patrick, can you please provide full dmesg for your

Re: IDENTIFY failed

2021-11-08 Thread Rin Okuyama
Jun, Patrick, thank you for dmesg (and discussion offlist). For Jun, the problem is no longer reproducible even with the original copy of kernel, which failed before. So, I've just added AHCI_QUIRK_EXTRA_DELAY quirk for Patrick's machine:

Re: IDENTIFY failed

2021-11-08 Thread Rin Okuyama
On 2021/11/04 23:28, Brian Buhrow wrote: Hello. Without going and reading the probe routines, I wonder if we can create some sort of hybrid approach? Specifically, probe with the shorter delays, then, if we get a timeout, reset and probe with the longer delays? That wil cause

Re: IDENTIFY failed

2021-11-04 Thread Jun Ebihara
From: Rin Okuyama Subject: Re: IDENTIFY failed Date: Thu, 4 Nov 2021 21:18:35 +0900 > Yeah. Patrick, Jun, experiment to adjust delays will be appreciated a > lot, > if you have time. But, dmesg should be helpful enough :) On my environment, 1. after that,back to the original kernel ,

Re: IDENTIFY failed

2021-11-04 Thread Jun Ebihara
From: Rin Okuyama Subject: Re: IDENTIFY failed Date: Thu, 4 Nov 2021 21:00:58 +0900 > Hmm, if affected hardware is somehow limited, we can just introduce > something > like AHCI_QUIRK_EXTRADELAY. Otherwise, we can reconsider, for example, > before > NetBSD 10 is released. > Jun

Re: IDENTIFY failed

2021-11-04 Thread Brian Buhrow
Hello. Without going and reading the probe routines, I wonder if we can create some sort of hybrid approach? Specifically, probe with the shorter delays, then, if we get a timeout, reset and probe with the longer delays? That wil cause hardware that doesn't exhibit the behavior to

Re: IDENTIFY failed

2021-11-04 Thread Rin Okuyama
, rin On 2021/11/01 21:19, Patrick Welche wrote: On Fri, Oct 29, 2021 at 01:05:26PM +0900, Jun Ebihara wrote: From: matthew green Subject: re: IDENTIFY failed Date: Fri, 29 Oct 2021 07:18:09 +1100 autoconfiguration error: ahcisata0 port 1: setting WDCTL_RST failed for drive 0 https://mail

Re: IDENTIFY failed

2021-11-04 Thread Jared McNeill
back AHCISATA_EXTRA_DELAY by default? IIUC, the option affects only probe/reset; no bad effects for I/O performance. Thanks, rin On 2021/11/01 21:19, Patrick Welche wrote: On Fri, Oct 29, 2021 at 01:05:26PM +0900, Jun Ebihara wrote: From: matthew green Subject: re: IDENTIFY failed Date: Fri, 29

Re: IDENTIFY failed

2021-11-04 Thread Rin Okuyama
: On Fri, Oct 29, 2021 at 01:05:26PM +0900, Jun Ebihara wrote: From: matthew green Subject: re: IDENTIFY failed Date: Fri, 29 Oct 2021 07:18:09 +1100 autoconfiguration error: ahcisata0 port 1: setting WDCTL_RST failed for drive 0 https://mail-index.netbsd.org/current-users/2021/10/27/msg041615

Re: IDENTIFY failed

2021-11-04 Thread Jared McNeill
/11/01 21:19, Patrick Welche wrote: On Fri, Oct 29, 2021 at 01:05:26PM +0900, Jun Ebihara wrote: From: matthew green Subject: re: IDENTIFY failed Date: Fri, 29 Oct 2021 07:18:09 +1100 autoconfiguration error: ahcisata0 port 1: setting WDCTL_RST failed for drive 0 https://mail-index.netbsd.org

Re: IDENTIFY failed

2021-11-04 Thread Rin Okuyama
Can't we put back AHCISATA_EXTRA_DELAY by default? IIUC, the option affects only probe/reset; no bad effects for I/O performance. Thanks, rin On 2021/11/01 21:19, Patrick Welche wrote: On Fri, Oct 29, 2021 at 01:05:26PM +0900, Jun Ebihara wrote: From: matthew green Subject: re: IDENTIFY

Re: IDENTIFY failed

2021-11-01 Thread Patrick Welche
On Fri, Oct 29, 2021 at 01:05:26PM +0900, Jun Ebihara wrote: > From: matthew green > Subject: re: IDENTIFY failed > Date: Fri, 29 Oct 2021 07:18:09 +1100 > > >> > autoconfiguration error: ahcisata0 port 1: setting WDCTL_RST failed for > >> > drive 0 > &

Re: IDENTIFY failed

2021-10-28 Thread Jun Ebihara
From: matthew green Subject: re: IDENTIFY failed Date: Fri, 29 Oct 2021 07:18:09 +1100 >> > autoconfiguration error: ahcisata0 port 1: setting WDCTL_RST failed for >> > drive 0 >> https://mail-index.netbsd.org/current-users/2021/10/27/msg041615.html > this one

re: IDENTIFY failed

2021-10-28 Thread matthew green
> > wd1 at atabus1 drive 0 > > autoconfiguration error: ahcisata0 port 1: setting WDCTL_RST failed for > > drive 0 > > wd1: autoconfiguration error: IDENTIFY failed > > wd1(ahcisata0:1:0): using PIO mode 0 > > > > and booting fails. Reverting and

Re: IDENTIFY failed

2021-10-28 Thread Chavdar Ivanov
On Thu, 28 Oct 2021 at 14:11, Patrick Welche wrote: > > Updating from NetBSD-9.99.90/amd64 to 9.99.92, I get the following failure: > > wd1 at atabus1 drive 0 > autoconfiguration error: ahcisata0 port 1: setting WDCTL_RST failed for drive > 0 > wd1: autoconfiguration error:

IDENTIFY failed

2021-10-28 Thread Patrick Welche
Updating from NetBSD-9.99.90/amd64 to 9.99.92, I get the following failure: wd1 at atabus1 drive 0 autoconfiguration error: ahcisata0 port 1: setting WDCTL_RST failed for drive 0 wd1: autoconfiguration error: IDENTIFY failed wd1(ahcisata0:1:0): using PIO mode 0 and booting fails. Reverting