NetBSD-Bugs archive

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

Re: kern/53307 (ahcisata(4): Failed to attach mSATA SSD (WDCTL_RST failed))



On Jan 12,  3:00pm, jaromir.dolecek%gmail.com@localhost (=?UTF-8?B?SmFyb23DrXIgRG9sZcSNZWs=?=) wrote:
-- Subject: Re: kern/53307 (ahcisata(4): Failed to attach mSATA SSD (WDCTL_RS

| The following reply was made to PR kern/53307; it has been noted by GNATS.
| 
| From: =?UTF-8?B?SmFyb23DrXIgRG9sZcSNZWs=?= <jaromir.dolecek%gmail.com@localhost>
| To: Kimihiro Nonaka <nonakap%gmail.com@localhost>
| Cc: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>
| Subject: Re: kern/53307 (ahcisata(4): Failed to attach mSATA SSD (WDCTL_RST failed))
| Date: Sat, 12 Jan 2019 15:56:44 +0100
| 
|  Le sam. 12 janv. 2019 =C3=A0 15:48, Kimihiro Nonaka <nonakap%gmail.com@localhost> a =
|  =C3=A9crit :
|  >
|  > It still fails at 8.99.30.
|  
|  That's okay - does it fallback to reset on port 0 and does that
|  succeed? i.e can you attach rest of the dmesg related to ahcisata0
|  please.

My machine fails too. It works fine if I set the bios to IDE. With
AHCI both drives attach sometimes, other times only one. If both drives
attach eventually the machine crashes with the controller not responsing.
If one drive attaches the machine is rock solid. Heres a failed boot:

dmesg | egrep '(ahci|wd)'
[     1.009851] ahcisata0 at pci0 dev 31 function 2: vendor 8086 product 3a22 (rev. 0x00)
[     1.009851] ahcisata0: 64-bit DMA
[     1.009851] ahcisata0: AHCI revision 1.20, 6 ports, 32 slots, CAP 0xef22ffc5<EMS,CCCS,PSC,SSC,PMD,SPM,ISS=0x2=Gen2,SCLO,SAL,SALP,SSS,SSNTF,SNCQ,S64A>
[     1.009851] ahcisata0: interrupting at msi2 vec 0
[     1.009851] atabus1 at ahcisata0 channel 0
[     1.009851] atabus2 at ahcisata0 channel 1
[     1.009851] atabus3 at ahcisata0 channel 2
[     1.009851] atabus4 at ahcisata0 channel 3
[     1.009851] atabus5 at ahcisata0 channel 4
[     1.009851] atabus6 at ahcisata0 channel 5
[     1.342979] ahcisata0 port 1: SATA connect time=10ms status=00000123
[     1.342979] ahcisata0 port 1: device present, speed: 3.0Gb/s
[     1.342979] ahcisata0 port 2: SATA connect time=10ms status=00000123
[     1.342979] ahcisata0 port 2: device present, speed: 3.0Gb/s
[     1.423009] ahcisata0 port 0: SATA connect time=100ms status=00000000
[     1.423009] ahcisata0 port 3: SATA connect time=100ms status=00000000
[     1.423009] ahcisata0 port 4: SATA connect time=100ms status=00000000
[     1.423009] ahcisata0 port 5: SATA connect time=100ms status=00000000
[     1.933202] autoconfiguration error: ahcisata0 port 1: setting WDCTL_RST failed for drive 15
[     2.433391] autoconfiguration error: ahcisata0 port 1: drive 15 reset failed, disabling PMP
[     2.443395] ahcisata0 port 1: SATA connect time=10ms status=00000123
[     2.443395] ahcisata0 port 1: device present, speed: 3.0Gb/s
[     3.442945] wd0 at atabus3 drive 0
[     3.442945] wd0: <ST3000DM001-1ER166>
[     3.442945] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
[     3.442945] wd0: 2794 GB, 5814021 cyl, 16 head, 63 sec, 512 bytes/sect x 5860533168 sectors
[     3.472914] wd0: GPT GUID: b9dd57fb-9dea-4bd4-98d3-ce1c0ccff5f4
[     3.472914] dk0 at wd0: "raid0.0", 5860531200 blocks at 1024, type: raidframe
[     3.472914] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
[     3.472914] wd0(ahcisata0:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)

christos


Home | Main Index | Thread Index | Old Index