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'



Hello,

I've had a look on the dmesg, seems it's not consistent with the description in the PR.

Particularily, there is just one 88SE9230 (not two as indicated in Environment), and it's attached as ahcisata0, with 3 devices in different channels already without any problem in dmesg.

Actually, when I look on dmesg, I see this:

ahcisata0 port 0: device present, speed: 6.0Gb/s
ahcisata0 port 1: device present, speed: 6.0Gb/s
ahcisata0 port 7: device present, speed: 1.5Gb/s
ahcisata1 port 0: device present, speed: 6.0Gb/s
ahcisata1 port 1: device present, speed: 6.0Gb/s
ahcisata2 port 0: device present, speed: 6.0Gb/s
ahcisata2 port 1: device present, speed: 6.0Gb/s
ahcisata3 port 0: device present, speed: 6.0Gb/s
ahcisata3 port 1: device present, speed: 6.0Gb/s
ahcisata3 port 2: device present, speed: 6.0Gb/s
ahcisata3 port 3: device present, speed: 3.0Gb/s
ahcisata3 port 4: device present, speed: 6.0Gb/s
ahcisata3 port 5: device present, speed: 6.0Gb/s

As far as I can read this, there is more than one device already on each controller, and no WDCTL_RST error in dmesg.

Can you elaborate for which controllers you see the problem again? Also, providing dmesg with PCIVERBOSE would be nice, easier to match.

Jaromir


2017-07-06 11:35 GMT+02:00 <greywolf%starwolf.com@localhost>:
>
> >Number:         52372
> >Category:       kern
> >Synopsis:       various SATA controllers throwing 'setting WDCTL_RST failed'
> >Confidential:   no
> >Severity:       serious
> >Priority:       high
> >Responsible:    kern-bug-people
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Thu Jul 06 09:35:00 +0000 2017
> >Originator:     Grey Wolf
> >Release:        NetBSD 8.99.1
> >Organization:
> None to speak of
> >Environment:
>         Motherboard: ASUS Z87-PLUS
>         CPU: Intel i7-4770
>         RAM: 32GB
>         ahcisata0: HighPoint Technologies RocketRaid 640
>                 atabus0 thru atabus3 (ahcisata0 channels 0-3)
>         ahcisata1: Marvell SATA Controller 88SE9230 PCIe 6Gb/s RAID*
>                 atabus4 thru atabus11 (ahcisata1 channels 0-7)
>         ahcisata2: ASMedia SATA controller [2 ports]
>                 atabus12, atabus13 (ahcisata2 channels 0, 1)
>         ahcisata3: Marvell SATA Controller 88SE9230 PCIe 6Gb/s RAID*
>                 atabus14 thru atabus21 (ahcisata3 channels 0-7)
>         ahcisata4: Intel 8C220 6-port SATA controller [AHCI mode]
>                 atabus22 thru atabus25 (ahcisata4 channels 0-3)
>
>         DMESG at https://www.starwolf.com/machines/eddie/dmesg
>         DMI dump at https://www.starwolf.com/eddie/dmi
>
>         "EDDIE" is really, at this point, just a renamed GENERIC kernel,
>         until I can get it stable enough with the hardware to start paring
>         drivers out.
>
>         The two starred controllers (ahcisata1, ahcisata3) give me grief
>         (see below)
>
> System: NetBSD eddie.starwolf.com 8.99.1 NetBSD 8.99.1 (EDDIE) #10: Thu Jun 15 21:39:22 PDT 2017 greywolf%eddie.starwolf.com@localhost:/sys/arch/amd64/compile/EDDIE amd64
> Architecture: x86_64
> Machine: amd64
> >Description:
>         I have a machine with Bunch-O-Disks (12), mostly raid-mirrored.
>
>         If I have more than two disks plugged in to either Marvell SATA
>         controller, all disks on that controller fail with
>         "ahcisataN channel X: setting WDCTL_RST failed for drive 0"
>
>         If I have the root disk in this arrangement, the machine will boot
>         but will then fail to find the root device at which point it will
>         then ask me for the root device (and not accept keyboard input, but
>         that's for another ticket).  This has caused me considerable grief,
>         especially considering that I don't really want to have 4 controllers
>         installed for 12 disks -- I should only need 3.
>
> >How-To-Repeat:
>         Hook more than two drives up to a Marvell-core SATA Controller and
>         boot the box.
> >Fix:
>         I have no idea even what's gone wrong, here.
>


Home | Main Index | Thread Index | Old Index