NetBSD-Bugs archive

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

Re: kern/52372: various SATA controllers throwing 'setting WDCTL_RST failed'



The following reply was made to PR kern/52372; it has been noted by GNATS.

From: Petar Bogdanovic <petar%smokva.net@localhost>
To: =?utf-8?B?SmFyb23DrXIgRG9sZcSNZWs=?= <jaromir.dolecek%gmail.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost, Jaromir Dolecek <jdolecek%netbsd.org@localhost>
Subject: Re: kern/52372: various SATA controllers throwing 'setting WDCTL_RST
 failed'
Date: Sat, 9 Dec 2017 21:35:38 +0100

 On Sat, Dec 09, 2017 at 07:58:51PM +0100, Jaromír DoleÄ?ek wrote:
 > Interesting. Can you try to raise the timeout there to say 10000 (i.e. 10
 > second) instead of the 1000?
 
 Hm, I just noticed that it can time out while setting and clearing
 WDCTL_RST.
 
 Unpatched, it failed while setting WDCTL_RST.
 
 After raising the timeout to 1000 (below mdt_cfis[rhd_control] = WDCTL_RST),
 it started failing while _clearing_ WDCTL_RST.
 
 After raising the other timeout to 1000 (below mdt_cfis[rhd_control] = 0),
 it still failed while clearing WDCTL_RST.
 
 After raising both timeouts to 10000,
 it still failed while clearing WDCTL_RST.  Just much later:
 
     ahcisata0 port 0: device present, speed: 6.0Gb/s
     ahcisata0 port 3: device present, speed: 6.0Gb/s
     ahcisata0 port 7: device present, speed: 1.5Gb/s
     ahcisata0 port 1: device present, speed: 6.0Gb/s
     ahcisata0 port 2: device present, speed: 6.0Gb/s
     drm: Enabling RC6 states: RC6 on, RC6p on, RC6pp off
     wd0 at atabus0 drive 0
     wd0: <Samsung SSD 840 EVO 500GB>
     wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
     dk0 at wd0: "netbsd-swap", 8388608 blocks at 2048, type: swap
     dk1 at wd0: "netbsd-root", 968382479 blocks at 8390656, type: ffs
     wd1 at atabus1 drive 0
     wd1: <WDC WD60EZRZ-00GZ5B1>
     wd1: 5589 GB, 11628021 cyl, 16 head, 63 sec, 512 bytes/sect x 11721045168 sectors
     dk2 at wd1: "becdce23-d224-11e7-9dd0-2c44fd388e2b", 11721043087 blocks at 2048, type: raidframe
     uhub4 at uhub2 port 1: vendor 8087 (0x8087) product 0024 (0x24), class 9/0, rev 2.00/0.00, addr 2
     uhub4: single transaction translator
     uhub5 at uhub3 port 1: vendor 8087 (0x8087) product 0024 (0x24), class 9/0, rev 2.00/0.00, addr 2
     uhub5: single transaction translator
     ahcisata0 channel 2: clearing WDCTL_RST failed for drive 0
     ahcisata0 channel 3: clearing WDCTL_RST failed for drive 0
 


Home | Main Index | Thread Index | Old Index