NetBSD Problem Report #55115

From www@netbsd.org  Sat Mar 28 05:56:13 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6A87A1A9213
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 28 Mar 2020 05:56:13 +0000 (UTC)
Message-Id: <20200328055612.1400B1A9217@mollari.NetBSD.org>
Date: Sat, 28 Mar 2020 05:56:12 +0000 (UTC)
From: jdbaker@consolidated.net
Reply-To: jdbaker@consolidated.net
To: gnats-bugs@NetBSD.org
Subject: siisata(4) broken after enabling MSI support
X-Send-Pr-Version: www-1.0

>Number:         55115
>Category:       kern
>Synopsis:       siisata(4) broken after enabling MSI support
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    jdolecek
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 28 06:00:00 +0000 2020
>Closed-Date:    Sun May 09 07:19:10 +0000 2021
>Last-Modified:  Sun May 09 07:19:10 +0000 2021
>Originator:     John D. Baker
>Release:        NetBSD/amd64-8.99.25 and later
>Organization:
>Environment:
NetBSD 8.99.25 (GENERIC_R5RS) #1: Fri Mar 27 08:07:24 CDT 2020 sysop@yggdrasil.technoskunk.fur:/r0/build/nbsd-tst/obj/amd64/sys/arch/amd64/compile/GENERIC_R5RS

>Description:
Begining with "src/sys/dev/pci/siisata_pci.c" r1.17, MSI is enabled.
While this appears to be fine for everyone else, on my siisata(4)-
equipped machine, it causes the disks attached to it to fail to be
identified/attached.

This was reviously logged in kern/54289, but is now seen to be a
different issue.

dmesg excerpt from failure:

[...]
EMACHINES W3609 (400)
  (OEM Ontel desktop board D945GCL -- JDB)
[...]
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
siisata0 at pci5 dev 4 function 0: CMD Technology SiI3124 SATALink (rev. 0x02)
siisata0: interrupting at msi1 vec 0
siisata0: SiI3124, 3.0Gb/s
siisata0: 32-bit 66MHz PCI
atabus0 at siisata0 channel 0
atabus1 at siisata0 channel 1
atabus2 at siisata0 channel 2
atabus3 at siisata0 channel 3
[...]
siisata0 port 0: device present, speed: 3.0Gb/s
siisata0 port 1: device present, speed: 3.0Gb/s
siisata0 port 2: device present, speed: 3.0Gb/s
siisata0 port 3: device present, speed: 3.0Gb/s
[...]
wd0 at atabus0 drive 0
wd0: <Hitachi HDS721010CLA332>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
[...]
wd0: autoconfiguration error: IDENTIFY failed
autoconfiguration error: wd0: unable to open device, error = 5
[...]
wd0(siisata0:0:0): using PIO mode 0
wd1 at atabus1 drive 0
wd1: autoconfiguration error: IDENTIFY failed
wd1: fixing 0 sector size
wd1: secperunit and ncylinders are zero
wd1(siisata0:1:0): using PIO mode 0
wd2 at atabus2 drive 0
wd2: autoconfiguration error: IDENTIFY failed
wd2: fixing 0 sector size
wd2: secperunit and ncylinders are zero
wd2(siisata0:2:0): using PIO mode 0
wd3 at atabus3 drive 0
wd3: autoconfiguration error: IDENTIFY failed
wd3: fixing 0 sector size
wd3: secperunit and ncylinders are zero
wd3(siisata0:3:0): using PIO mode 0
[...]
wd0: autoconfiguration error: IDENTIFY failed
opendisk: can't open dev wd0 (5)
wd0: autoconfiguration error: IDENTIFY failed
opendisk: can't open dev wd0 (5)
wd0: autoconfiguration error: IDENTIFY failed
[...]


The relevant exerpt from a success:

siisata0 at pci5 dev 4 function 0: CMD Technology SiI3124 SATALink (rev. 0x02)
siisata0: interrupting at ioapic0 pin 19
siisata0: SiI3124, 3.0Gb/s
siisata0: 32-bit 66MHz PCI
>How-To-Repeat:
Build a kernel from sources of 22-Oct-2018 21:00 UTC or later (includes
r1.17 or later of "src/sys/dev/pci/siisata_pci.c") and boot on machine
equipped with SiI3124 card.

May depend on host system, as there has been a report in kern/54289
that it works fine for at least one person.
>Fix:
Workaround:

Revert "src/sys/dev/pci/siisata_pci.c" to r1.16 and rebuild.

With this, I can finally boot netbsd-9 on my file server and have it
see the first four disks in my RAID.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: kern-bug-people->jdolecek
Responsible-Changed-By: jdolecek@NetBSD.org
Responsible-Changed-When: Sat, 28 Mar 2020 09:19:26 +0000
Responsible-Changed-Why:
I committed the MSI change, I'll look into this. Can you please include
the pcictl dump for the device? It may be there is more than one MSI vector,
and the device triggers different MSI interrupts according to channel.


From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/55115 (siisata(4) broken after enabling MSI support)
Date: Sat, 28 Mar 2020 07:07:45 -0500 (CDT)

 On Sat, 28 Mar 2020, jdolecek@NetBSD.org wrote:

 > I committed the MSI change, I'll look into this. Can you please include
 > the pcictl dump for the device? It may be there is more than one MSI vector,
 > and the device triggers different MSI interrupts according to channel.

 When it fails (MSI enabled):

 PCI configuration registers:
   Common header:
     0x00: 0x31241095 0x02b8009f 0x01040002 0x00004010

     Vendor Name: CMD Technology (0x1095)
     Device Name: SiI3124 SATALink (0x3124)
     Command register: 0x009f
       I/O space accesses: on
       Memory space accesses: on
       Bus mastering: on
       Special cycles: on
       MWI transactions: on
       Palette snooping: off
       Parity error checking: off
       Address/data stepping: on
       System error (SERR): off
       Fast back-to-back transactions: off
       Interrupt disable: off
     Status register: 0x02b8
       Immediate Readiness: off
       Interrupt status: active
       Capability List support: on
       66 MHz capable: on
       User Definable Features (UDF) support: off
       Fast back-to-back capable: on
       Data parity error detected: off
       DEVSEL timing: medium (0x1)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: mass storage (0x01)
     Subclass Name: RAID (0x04)
     Interface: 0x00
     Revision ID: 0x02
     BIST: 0x00
     Header Type: 0x00 (0x00)
     Latency Timer: 0x40
     Cache Line Size: 64bytes (0x10)

   Type 0 ("normal" device) header:
     0x10: 0xe8008004 0x00000000 0xe8000004 0x00000000
     0x20: 0x00001001 0x00000000 0x00000000 0x71241095
     0x30: 0xfff80000 0x00000064 0x00000000 0x00000109

     Base address register at 0x10
       type: 64-bit nonprefetchable memory
       base: 0x00000000e8008000
     Base address register at 0x18
       type: 64-bit nonprefetchable memory
       base: 0x00000000e8000000
     Base address register at 0x20
       type: I/O
       base: 0x00001000
     Base address register at 0x24
       not implemented
     Cardbus CIS Pointer: 0x00000000
     Subsystem vendor ID: 0x1095
     Subsystem ID: 0x7124
     Expansion ROM Base Address Register: 0xfff80000
       base: 0xfff80000
       Expansion ROM Enable: off
       Validation Status: Validation not supported
       Validation Details: 0x0
     Capability list pointer: 0x64
     Reserved @ 0x38: 0x00000000
     Maximum Latency: 0x00
     Minimum Grant: 0x00
     Interrupt pin: 0x01 (pin A)
     Interrupt line: 0x09

   Capability register at 0x64
     type: 0x01 (Power Management)
   Capability register at 0x40
     type: 0x07 (PCI-X)
   Capability register at 0x54
     type: 0x05 (MSI)

   PCI Power Management Capabilities Register
     Capabilities register: 0x0622
       Version: 1.1
       PME# clock: off
       Device specific initialization: on
       3.3V auxiliary current: self-powered
       D1 power management state support: on
       D2 power management state support: on
       PME# support D0: off
       PME# support D1: off
       PME# support D2: off
       PME# support D3 hot: off
       PME# support D3 cold: off
     Control/status register: 0x00002000
       Power state: D0
       PCI Express reserved: off
       No soft reset: off
       PME# assertion: disabled
       Data Select: 0
       Data Scale: 1
       PME# status: off
     Bridge Support Extensions register: 0x00
       B2/B3 support: off
       Bus Power/Clock Control Enable: off
     Data register: 0x00

   PCI Message Signaled Interrupt
     Message Control register: 0x0081
       MSI Enabled: on
       Multiple Message Capable: no (1 vector)
       Multiple Message Enabled: off (1 vector)
       64 Bit Address Capable: on
       Per-Vector Masking Capable: off
       Extended Message Data Capable: off
       Extended Message Data Enable: off
     Message Address (lower) register: 0xfee00000
     Message Address (upper) register: 0x00000000
     Message Data register: 0x0063

   PCI-X Non-bridge Capabilities Register
     Command register: 0x0052
       Data Parity Error Recovery: off
       Enable Relaxed Ordering: on
       Maximum Burst Read Count: 512
       Maximum Split Transactions: 12
     Status register: 0x12c3fff8
       Function: 0
       Device: 31
       Bus: 255
       64bit device: on
       133MHz capable: on
       Split completion discarded: off
       Unexpected split completion: off
       Device Complexity: simple device
       Designed max memory read byte count: 2048
       Designed max outstanding split transaction: 12
       MAX cumulative Read Size: 128
       Received split completion error: off
       266MHz capable: off
       533MHz capable: off

   Device-dependent header:
     0x40: 0x00525407 0x12c3fff8 0x00000000 0x00000000
     0x50: 0x00000000 0x00810005 0xfee00000 0x00000000
     0x60: 0x00000063 0x06224001 0x19002000 0x00000000
     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000


 When it works (MSI disabled):

 PCI configuration registers:
   Common header:
     0x00: 0x31241095 0x02b0009f 0x01040002 0x00004010

     Vendor Name: CMD Technology (0x1095)
     Device Name: SiI3124 SATALink (0x3124)
     Command register: 0x009f
       I/O space accesses: on
       Memory space accesses: on
       Bus mastering: on
       Special cycles: on
       MWI transactions: on
       Palette snooping: off
       Parity error checking: off
       Address/data stepping: on
       System error (SERR): off
       Fast back-to-back transactions: off
       Interrupt disable: off
     Status register: 0x02b0
       Immediate Readiness: off
       Interrupt status: inactive
       Capability List support: on
       66 MHz capable: on
       User Definable Features (UDF) support: off
       Fast back-to-back capable: on
       Data parity error detected: off
       DEVSEL timing: medium (0x1)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: mass storage (0x01)
     Subclass Name: RAID (0x04)
     Interface: 0x00
     Revision ID: 0x02
     BIST: 0x00
     Header Type: 0x00 (0x00)
     Latency Timer: 0x40
     Cache Line Size: 64bytes (0x10)

   Type 0 ("normal" device) header:
     0x10: 0xe8008004 0x00000000 0xe8000004 0x00000000
     0x20: 0x00001001 0x00000000 0x00000000 0x71241095
     0x30: 0xfff80000 0x00000064 0x00000000 0x00000109

     Base address register at 0x10
       type: 64-bit nonprefetchable memory
       base: 0x00000000e8008000
     Base address register at 0x18
       type: 64-bit nonprefetchable memory
       base: 0x00000000e8000000
     Base address register at 0x20
       type: I/O
       base: 0x00001000
     Base address register at 0x24
       not implemented
     Cardbus CIS Pointer: 0x00000000
     Subsystem vendor ID: 0x1095
     Subsystem ID: 0x7124
     Expansion ROM Base Address Register: 0xfff80000
       base: 0xfff80000
       Expansion ROM Enable: off
       Validation Status: Validation not supported
       Validation Details: 0x0
     Capability list pointer: 0x64
     Reserved @ 0x38: 0x00000000
     Maximum Latency: 0x00
     Minimum Grant: 0x00
     Interrupt pin: 0x01 (pin A)
     Interrupt line: 0x09

   Capability register at 0x64
     type: 0x01 (Power Management)
   Capability register at 0x40
     type: 0x07 (PCI-X)
   Capability register at 0x54
     type: 0x05 (MSI)

   PCI Power Management Capabilities Register
     Capabilities register: 0x0622
       Version: 1.1
       PME# clock: off
       Device specific initialization: on
       3.3V auxiliary current: self-powered
       D1 power management state support: on
       D2 power management state support: on
       PME# support D0: off
       PME# support D1: off
       PME# support D2: off
       PME# support D3 hot: off
       PME# support D3 cold: off
     Control/status register: 0x00002000
       Power state: D0
       PCI Express reserved: off
       No soft reset: off
       PME# assertion: disabled
       Data Select: 0
       Data Scale: 1
       PME# status: off
     Bridge Support Extensions register: 0x00
       B2/B3 support: off
       Bus Power/Clock Control Enable: off
     Data register: 0x00

   PCI Message Signaled Interrupt
     Message Control register: 0x0080
       MSI Enabled: off
       Multiple Message Capable: no (1 vector)
       Multiple Message Enabled: off (1 vector)
       64 Bit Address Capable: on
       Per-Vector Masking Capable: off
       Extended Message Data Capable: off
       Extended Message Data Enable: off
     Message Address (lower) register: 0x00000000
     Message Address (upper) register: 0x00000000
     Message Data register: 0x0000

   PCI-X Non-bridge Capabilities Register
     Command register: 0x0052
       Data Parity Error Recovery: off
       Enable Relaxed Ordering: on
       Maximum Burst Read Count: 512
       Maximum Split Transactions: 12
     Status register: 0x12c3fff8
       Function: 0
       Device: 31
       Bus: 255
       64bit device: on
       133MHz capable: on
       Split completion discarded: off
       Unexpected split completion: off
       Device Complexity: simple device
       Designed max memory read byte count: 2048
       Designed max outstanding split transaction: 12
       MAX cumulative Read Size: 128
       Received split completion error: off
       266MHz capable: off
       533MHz capable: off

   Device-dependent header:
     0x40: 0x00525407 0x12c3fff8 0x00000000 0x00000000
     0x50: 0x00000000 0x00800005 0x00000000 0x00000000
     0x60: 0x00000000 0x06224001 0x19002000 0x00000000
     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/55115 (siisata(4) broken after enabling MSI support)
Date: Sat, 28 Mar 2020 07:22:09 -0500 (CDT)

 For further testing, I'll build test kernels from HEAD (r1.20 of
 "src/sys/dev/pci/siisata_pci.c" at this time).  I am otherwise running
 a 9.0_STABLE kernel with that file rolled back to r1.16.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "Jonathan A. Kollasch" <jakllsch@kollasch.net>
To: gnats-bugs@netbsd.org
Cc: jdolecek@netbsd.org, jdbaker@consolidated.net
Subject: Re: kern/55115 (siisata(4) broken after enabling MSI support)
Date: Sat, 28 Mar 2020 07:53:01 -0500

 Some if not all siisata(4) parts support multi-vector MSI.  But I don't
 think I enabled it, and I should think the chip/channel resets we do
 would put it in a single interrupt mode.

From: =?UTF-8?B?SmFyb23DrXIgRG9sZcSNZWs=?= <jaromir.dolecek@gmail.com>
To: "Jonathan A. Kollasch" <jakllsch@kollasch.net>
Cc: "gnats-bugs@NetBSD.org" <gnats-bugs@netbsd.org>, Jaromir Dolecek <jdolecek@netbsd.org>, 
	"John D. Baker" <jdbaker@consolidated.net>
Subject: Re: kern/55115 (siisata(4) broken after enabling MSI support)
Date: Sat, 28 Mar 2020 17:13:30 +0100

 This particular card is not even multi vector.

 I have just the PCI Express one (Adaptec 1220A with SiI3132 chip), and
 it works fine with MSI.

 I think it's unlikely it's board problem (wm0 is using MSI and works),
 but perhaps worth checking if by change there would be any BIOS
 settings enabling MSI just for particular slots.

 Another option would be to simply disable MSI for Sii3124. It's an old
 chip used for old PCI/PCI-X cards, so not much of those left in wild.

 Jaromir

 Le sam. 28 mars 2020 =C3=A0 13:53, Jonathan A. Kollasch
 <jakllsch@kollasch.net> a =C3=A9crit :
 >
 > Some if not all siisata(4) parts support multi-vector MSI.  But I don't
 > think I enabled it, and I should think the chip/channel resets we do
 > would put it in a single interrupt mode.

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/55115 (siisata(4) broken after enabling MSI support)
Date: Sat, 28 Mar 2020 11:25:58 -0500 (CDT)

 In case it's relevant, the host also has a PCIe wm(4) ethernet card,
 i82574L and it uses MSI without issue.

 The siisata card is a 1x PCIe card but is installed in a 16x slot (that
 would commonly be used for a video card, but this machine has built-in
 intel video hardware).  The wm(4) card is a 1x PCIe card installed in
 a physical 1x slot.

 I mention this as I have seen problems with non-video cards being
 mis-identified when installed in the 16x PCIe slot.  (A 2-port wm(4)
 card in the 16x slot of a Dell OptiPlex 760 was mis-identified as an
 SDVO device by the machine's BIOS and couldn't be netbooted and didn't
 show up in dmesg when booted from local disk.)

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@netbsd.org>
Cc: 
Subject: Re: kern/55115 (siisata(4) broken after enabling MSI support)
Date: Sat, 28 Mar 2020 11:51:42 -0500 (CDT)

   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.

 --0-199445576-1585414302=:402
 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN
 Content-Transfer-Encoding: QUOTED-PRINTABLE

 No Reply-to:, so not originally sent to gnats...

 On Sat, 28 Mar 2020, Jarom=C3=ADr Dole=C4~Mek wrote:

 > I think it's unlikely it's board problem (wm0 is using MSI and works),

 I wrote nearly the same thing before I saw this message.

 > but perhaps worth checking if by change there would be any BIOS
 > settings enabling MSI just for particular slots.

 I'll take a look when I next get a chance.

 > Another option would be to simply disable MSI for Sii3124. It's an old
 > chip used for old PCI/PCI-X cards, so not much of those left in wild.

 That explains a lot.  I should have included more in the relevant snippet
 of dmesg.  My SiI3124 is a 1x PCIe card, but it's the PCI/PCI-X chip behind
 a PCIe-PCI reverse bridge:

 [...]
 ppb4 at pci4 dev 0 function 0: Pericom Semiconductors PI7C9X111SL PCIe to P=
 CI Reverse Bridge (rev. 0x02)
 ppb4: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
 pci5 at ppb4 bus 5
 pci5: i/o space, memory space enabled, rd/line, wr/inv ok
 siisata0 at pci5 dev 4 function 0: CMD Technology SiI3124 SATALink (rev. 0x=
 02)
 siisata0: interrupting at ioapic0 pin 19
 siisata0: SiI3124, 3.0Gb/s
 siisata0: 32-bit 66MHz PCI
 [...]

 See also my message about slot placement.

 --=20
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 --0-199445576-1585414302=:402--

From: "John D. Baker" <jdbaker@consolidated.net>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@netbsd.org>
Cc: 
Subject: Re: kern/55115 (siisata(4) broken after enabling MSI support)
Date: Sat, 28 Mar 2020 12:06:16 -0500 (CDT)

 On Sat, 28 Mar 2020, John D. Baker wrote:

 > That explains a lot.  I should have included more in the relevant snippet
 > of dmesg.  My SiI3124 is a 1x PCIe card, but it's the PCI/PCI-X chip behind
 > a PCIe-PCI reverse bridge:
 > 
 > [...]
 > ppb4 at pci4 dev 0 function 0: Pericom Semiconductors PI7C9X111SL PCIe to PCI Reverse Bridge (rev. 0x02)
 > ppb4: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
 > pci5 at ppb4 bus 5
 > pci5: i/o space, memory space enabled, rd/line, wr/inv ok
 > siisata0 at pci5 dev 4 function 0: CMD Technology SiI3124 SATALink (rev. 0x02)
 > siisata0: interrupting at ioapic0 pin 19
 > siisata0: SiI3124, 3.0Gb/s
 > siisata0: 32-bit 66MHz PCI
 > [...]

 In case it's relevant, here is the pcictl dump of the PCIe-PCI bridge:

 PCI configuration registers:
   Common header:
     0x00: 0xe11112d8 0x00100007 0x06040002 0x00010010

     Vendor Name: Pericom Semiconductors (0x12d8)
     Device Name: PI7C9X111SL PCIe to PCI Reverse Bridge (0xe111)
     Command register: 0x0007
       I/O space accesses: on
       Memory space accesses: on
       Bus mastering: on
       Special cycles: off
       MWI transactions: off
       Palette snooping: off
       Parity error checking: off
       Address/data stepping: off
       System error (SERR): off
       Fast back-to-back transactions: off
       Interrupt disable: off
     Status register: 0x0010
       Immediate Readiness: off
       Interrupt status: inactive
       Capability List support: on
       66 MHz capable: off
       User Definable Features (UDF) support: off
       Fast back-to-back capable: off
       Data parity error detected: off
       DEVSEL timing: fast (0x0)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: bridge (0x06)
     Subclass Name: PCI (0x04)
     Interface: 0x00
     Revision ID: 0x02
     BIST: 0x00
     Header Type: 0x01 (0x01)
     Latency Timer: 0x00
     Cache Line Size: 64bytes (0x10)

   Type 1 (PCI-PCI bridge) header:
     0x10: 0x00000000 0x00000000 0x00050504 0x22a01111
     0x20: 0xe800e800 0x0001fff1 0xffffffff 0x00000000
     0x30: 0x00000000 0x00000080 0x00000000 0x000401ff

     Base address register at 0x10
       not implemented
     Base address register at 0x14
       not implemented
     Primary bus number: 0x04
     Secondary bus number: 0x05
     Subordinate bus number: 0x05
     Secondary bus latency timer: 0x00
     Secondary status register: 0x22a0
       66 MHz capable: on
       User Definable Features (UDF) support: off
       Fast back-to-back capable: on
       Data parity error detected: off
       DEVSEL timing: medium (0x1)
       Signalled target abort: off
       Received target abort: off
       Received master abort: on
       Received system error: off
       Detected parity error: off
     I/O region:
       base register:  0x11
       limit register: 0x11
       32bit I/O: on
       base upper 16 bits register:  0x0000
       limit upper 16 bits register: 0x0000
       range: 0x00001000-0x00001fff
     Memory region:
       base register:  0xe800
       limit register: 0xe800
       range: 0xe8000000-0xe80fffff
     Prefetchable memory region:
       base register:  0xfff1
       limit register: 0x0001
       base upper 32 bits register:  0xffffffff
       limit upper 32 bits register: 0x00000000
       64bit memory address: on
       range: not set
     Capability list pointer: 0x80
     Expansion ROM Base Address: 0x00000000
     Interrupt line: 0xff
     Interrupt pin: 0x01 (pin A)
     Bridge control register: 0x0004
       Parity error response: off
       Secondary SERR forwarding: off
       ISA enable: on
       VGA enable: off
       Master abort reporting: off
       Secondary bus reset: off
       Fast back-to-back enable: off
       Primary Discard Timer: off
       Secondary Discard Timer: off
       Discard Timer Status: off
       Discard Timer SERR# Enable: off

   Capability register at 0x80
     type: 0x07 (PCI-X)
   Capability register at 0x90
     type: 0x01 (Power Management)
   Capability register at 0xa8
     type: 0x0d (Subsystem vendor ID)
   Capability register at 0xb0
     type: 0x10 (PCI Express)
   Capability register at 0xf0
     type: 0x05 (MSI)

   PCI Power Management Capabilities Register
     Capabilities register: 0xc843
       Version: 1.2
       PME# clock: off
       Device specific initialization: off
       3.3V auxiliary current: 55 mA
       D1 power management state support: off
       D2 power management state support: off
       PME# support D0: on
       PME# support D1: off
       PME# support D2: off
       PME# support D3 hot: on
       PME# support D3 cold: on
     Control/status register: 0x00000000
       Power state: D0
       PCI Express reserved: off
       No soft reset: off
       PME# assertion: disabled
       Data Select: 0
       Data Scale: 0
       PME# status: off
     Bridge Support Extensions register: 0x00
       B2/B3 support: off
       Bus Power/Clock Control Enable: off
     Data register: 0x00

   PCI Message Signaled Interrupt
     Message Control register: 0x0080
       MSI Enabled: off
       Multiple Message Capable: no (1 vector)
       Multiple Message Enabled: off (1 vector)
       64 Bit Address Capable: on
       Per-Vector Masking Capable: off
       Extended Message Data Capable: off
       Extended Message Data Enable: off
     Message Address (lower) register: 0x00000000
     Message Address (upper) register: 0x00000000
     Message Data register: 0x0000

   PCI-X Bridge Capabilities Register
     Secondary status register: 0x0000
       64bit device: off
       133MHz capable: off
       Split completion discarded: off
       Unexpected split completion: off
       Split completion overrun: off
       Split request delayed: off
       Mode: PCI-X Mode 1
       Error protection: parity
       Max Clock Freq: N/A
       Min Clock Period: N/A
       Version: 0x0
       266MHz capable: off
       533MHz capable: off
     Bridge Status register: 0x00140400
       Function: 0
       Device: 0
       Bus: 4
       64bit device: off
       133MHz capable: off
       Split completion discarded: on
       Unexpected split completion: off
       Split completion overrun: on
       Split request delayed: off
       266MHz capable: off
       533MHz capable: off
     Upstream split transaction control register: 0x00100010
       Capacity: 16
       Commitment Limit: 16
     Downstream split transaction control register: 0x00100010
       Capacity: 16
       Commitment Limit: 16

   Subsystem ID Capability Register
     Subsystem ID: 0x00000000

   PCI Express Capabilities Register
     Capability register: 0x0071
       Capability version: 1
       Device type: PCI Express to PCI/PCI-X Bridge
       Slot implemented: off
       Interrupt Message Number: 0x00
     Device Capabilities Register: 0x00008022
       Max Payload Size Supported: 512 bytes max
       Phantom Functions Supported: not available
       Extended Tag Field Supported: 8bit
       Endpoint L0 Acceptable Latency: Less than 64ns
       Endpoint L1 Acceptable Latency: Less than 1us
       Attention Button Present: off
       Attention Indicator Present: off
       Power Indicator Present: off
       Role-Based Error Report: on
       Captured Slot Power Limit: 0W
       Function-Level Reset Capability: off
     Device Control Register: 0x2100
       Correctable Error Reporting Enable: off
       Non Fatal Error Reporting Enable: off
       Fatal Error Reporting Enable: off
       Unsupported Request Reporting Enable: off
       Enable Relaxed Ordering: off
       Max Payload Size: 128 byte
       Extended Tag Field Enable: on
       Phantom Functions Enable: off
       Aux Power PM Enable: off
       Enable No Snoop: off
       Max Read Request Size: 512 byte
       Bridge Config Retry Enable: off
     Device Status Register: 0x001b
       Correctable Error Detected: on
       Non Fatal Error Detected: on
       Fatal Error Detected: off
       Unsupported Request Detected: on
       Aux Power Detected: on
       Transaction Pending: off
       Emergency Power Reduction Detected: off
     Link Capabilities Register: 0x00003c11
       Maximum Link Speed: 2.5GT/s
       Maximum Link Width: x1 lanes
       Active State PM Support: L0s and L1 supported
       L0 Exit Latency: 256ns to less than 512ns
       L1 Exit Latency: Less than 1us
       Port Number: 0
       Clock Power Management: off
       Surprise Down Error Report: off
       Data Link Layer Link Active: off
       Link BW Notification Capable: off
       ASPM Optionally Compliance: off
     Link Control Register: 0x0040
       Active State PM Control: disabled
       Read Completion Boundary Control: 64bytes
       Link Disable: off
       Retrain Link: off
       Common Clock Configuration: on
       Extended Synch: off
       Enable Clock Power Management: off
       Hardware Autonomous Width Disable: off
       Link Bandwidth Management Interrupt Enable: off
       Link Autonomous Bandwidth Interrupt Enable: off
       DRS Signaling Control: not reported
     Link Status Register: 0x3011
       Negotiated Link Speed: 2.5GT/s
       Negotiated Link Width: x1 lanes
       Training Error: off
       Link Training: off
       Slot Clock Configuration: on
       Data Link Layer Link Active: on
       Link Bandwidth Management Status: off
       Link Autonomous Bandwidth Status: off

   Device-dependent header:
     0x40: 0x09200020 0x00000000 0x0040801f 0x00000000
     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
     0x60: 0x00000000 0x00000000 0xb8000800 0x00000000
     0x70: 0x00000080 0x00000000 0xc0000000 0x00000000
     0x80: 0x00009007 0x00140400 0x00100010 0x00100010
     0x90: 0xc843a801 0x00000000 0x00000000 0x00000000
     0xa0: 0x0000b004 0x00010000 0x0000b00d 0x00000000
     0xb0: 0x0071f010 0x00008022 0x001b2100 0x00003c11
     0xc0: 0x30110040 0x00000000 0x01000000 0x04001060
     0xd0: 0x04000271 0x00190254 0x0000f003 0x00000000
     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf0: 0x00800005 0x00000000 0x00000000 0x00000000

   Extended Capability Register at 0x100
     type: 0x0001 (Advanced Error Reporting)
     version: 1
   Extended Capability Register at 0x150
     type: 0x0002 (Virtual Channel)
     version: 1

   Advanced Error Reporting Register
     Uncorrectable Error Status register: 0x00000000
       Undefined: off
       Data Link Protocol Error: off
       Surprise Down Error: off
       Poisoned TLP Received: off
       Flow Control Protocol Error: off
       Completion Timeout: off
       Completer Abort: off
       Unexpected Completion: off
       Receiver Overflow: off
       Malformed TLP: off
       ECRC Error: off
       Unsupported Request Error: off
       ACS Violation: off
       Uncorrectable Internal Error: off
       MC Blocked TLP: off
       AtomicOp Egress BLK: off
       TLP Prefix Blocked Error: off
       Poisoned TLP Egress Blocked: off
     Uncorrectable Error Mask register: 0x00000000
       Undefined: off
       Data Link Protocol Error: off
       Surprise Down Error: off
       Poisoned TLP Received: off
       Flow Control Protocol Error: off
       Completion Timeout: off
       Completer Abort: off
       Unexpected Completion: off
       Receiver Overflow: off
       Malformed TLP: off
       ECRC Error: off
       Unsupported Request Error: off
       ACS Violation: off
       Uncorrectable Internal Error: off
       MC Blocked TLP: off
       AtomicOp Egress BLK: off
       TLP Prefix Blocked Error: off
       Poisoned TLP Egress Blocked: off
     Uncorrectable Error Severity register: 0x00062011
       Undefined: on
       Data Link Protocol Error: on
       Surprise Down Error: off
       Poisoned TLP Received: off
       Flow Control Protocol Error: on
       Completion Timeout: off
       Completer Abort: off
       Unexpected Completion: off
       Receiver Overflow: on
       Malformed TLP: on
       ECRC Error: off
       Unsupported Request Error: off
       ACS Violation: off
       Uncorrectable Internal Error: off
       MC Blocked TLP: off
       AtomicOp Egress BLK: off
       TLP Prefix Blocked Error: off
       Poisoned TLP Egress Blocked: off
     Correctable Error Status register: 0x00002000
       Receiver Error: off
       Bad TLP: off
       Bad DLLP: off
       REPLAY_NUM Rollover: off
       Replay Timer Timeout: off
       Advisory Non-Fatal Error: on
       Corrected Internal Error: off
       Header Log Overflow: off
     Correctable Error Mask register: 0x00002000
       Receiver Error: off
       Bad TLP: off
       Bad DLLP: off
       REPLAY_NUM Rollover: off
       Replay Timer Timeout: off
       Advisory Non-Fatal Error: on
       Corrected Internal Error: off
       Header Log Overflow: off
     Advanced Error Capabilities and Control register: 0x000000a0
       First Error Pointer: 0x0000
       ECRC Generation Capable: on
       ECRC Generation Enable: off
       ECRC Check Capable: on
       ECRC Check Enable: off
       Multiple Header Recording Capable: off
       Multiple Header Recording Enable: off
       Completion Timeout Prefix/Header Log Capable: off
       TLP Prefix Log Present: off
     Header Log register:
     0x11c: 0x00000000
     0x120: 0x00000000 0x00000000 0x00000000

   Virtual Channel Register
     Port VC Capability register 1: 0x00000000
       Extended VC Count: 0
       Low Priority Extended VC Count: 0
       Reference Clock: 100ns
       Port Arbitration Table Entry Size: 1bit
     Port VC Capability register 2: 0x00000000
       Hardware fixed arbitration scheme: off
       WRR arbitration with 32 phases: off
       WRR arbitration with 64 phases: off
       WRR arbitration with 128 phases: off
       VC Arbitration Table Offset: 0x0
     Port VC Control register: 0x0000
       VC Arbitration Select: 0x0
     Port VC Status register: 0x0000
       VC Arbitration Table Status: off
     VC number 0
       VC Resource Capability Register: 0x00000000
         Non-configurable Hardware fixed arbitration scheme: off
         WRR arbitration with 32 phases: off
         WRR arbitration with 64 phases: off
         WRR arbitration with 128 phases: off
         Time-based WRR arbitration with 128 phases: off
         WRR arbitration with 256 phases: off
         Advanced Packet Switching: off
         Reject Snoop Transaction: off
         Maximum Time Slots: 1
         Port Arbitration Table offset: 0x00
       VC Resource Control Register: 0x80000001
         TC/VC Map: 0x01
         Port Arbitration Select: 0x0
         VC ID: 0
         VC Enable: on
       VC Resource Status Register: 0x00000000
         Port Arbitration Table Status: off
         VC Negotiation Pending: off

   Extended Configuration Space:
     0x100: 0x15010001 0x00000000 0x00000000 0x00062011
     0x110: 0x00002000 0x00002000 0x000000a0 0x00000000
     0x120: 0x00000000 0x00000000 0x00000000 0x00000008
     0x130: 0x000017a8 0x00001340 0x00000000 0x00000000
     0x140: 0x00000000 0x00000000 0x00000000 0x00000000
     0x150: 0x00010002 0x00000000 0x00000000 0x00000000
     0x160: 0x00000000 0x80000001 0x00000000 0x00000000
     0x170: 0x00000000 0x00000000 0x00000000 0x00000000
     0x180: 0x00000000 0x00000000 0x00000000 0x00000000
     0x190: 0x00000000 0x00000000 0x00000000 0x00000000
     0x1a0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x1b0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x1c0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x1d0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x1e0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x1f0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x200: 0x00000000 0x00000000 0x00000000 0x00000000
     0x210: 0x00000000 0x00000000 0x00000000 0x00000000
     0x220: 0x00000000 0x00000000 0x00000000 0x00000000
     0x230: 0x00000000 0x00000000 0x00000000 0x00000000
     0x240: 0x00000000 0x00000000 0x00000000 0x00000000
     0x250: 0x00000000 0x00000000 0x00000000 0x00000000
     0x260: 0x00000000 0x00000000 0x00000000 0x00000000
     0x270: 0x00000000 0x00000000 0x00000000 0x00000000
     0x280: 0x00000000 0x00000000 0x00000000 0x00000000
     0x290: 0x00000000 0x00000000 0x00000000 0x00000000
     0x2a0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x2b0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x2c0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x2d0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x2e0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x2f0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x300: 0x00000000 0x00000000 0x00000000 0x00000000
     0x310: 0x0127020b 0x00000000 0x00000000 0x00000000
     0x320: 0x00000000 0x00000000 0x00000000 0x00000000
     0x330: 0x00000000 0x00000000 0x00000000 0x00000000
     0x340: 0x00000000 0x00000000 0x00000000 0x00000000
     0x350: 0x00000000 0x00000000 0x00000000 0x00000000
     0x360: 0x00000000 0x00000000 0x00000000 0x00000000
     0x370: 0x00000000 0x00000000 0x00000000 0x00000000
     0x380: 0x00000000 0x00000000 0x00000000 0x00000000
     0x390: 0x00000000 0x00000000 0x00000000 0x00000000
     0x3a0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x3b0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x3c0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x3d0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x3e0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x3f0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x400: 0x00000000 0x00000000 0x00000000 0x00000000
     0x410: 0x00000000 0x00000000 0x00000000 0x00000000
     0x420: 0x00000000 0x00000000 0x00000000 0x00000000
     0x430: 0x00000000 0x00000000 0x00000000 0x00000000
     0x440: 0x00000000 0x00000000 0x00000000 0x00000000
     0x450: 0x00000000 0x00000000 0x00000000 0x00000000
     0x460: 0x00000000 0x00000000 0x00000000 0x00000000
     0x470: 0x00000000 0x00000000 0x00000000 0x00000000
     0x480: 0x00000000 0x00000000 0x00000000 0x00000000
     0x490: 0x00000000 0x00000000 0x00000000 0x00000000
     0x4a0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x4b0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x4c0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x4d0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x4e0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x4f0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x500: 0x00000000 0x00000000 0x00000000 0x00000000
     0x510: 0x00000000 0x00000000 0x00000000 0x00000000
     0x520: 0x00000000 0x00000000 0x00000000 0x00000000
     0x530: 0x00000000 0x00000000 0x00000000 0x00000000
     0x540: 0x00000000 0x00000000 0x00000000 0x00000000
     0x550: 0x00000000 0x00000000 0x00000000 0x00000000
     0x560: 0x00000000 0x00000000 0x00000000 0x00000000
     0x570: 0x00000000 0x00000000 0x00000000 0x00000000
     0x580: 0x00000000 0x00000000 0x00000000 0x00000000
     0x590: 0x00000000 0x00000000 0x00000000 0x00000000
     0x5a0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x5b0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x5c0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x5d0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x5e0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x5f0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x600: 0x00000000 0x00000000 0x00000000 0x00000000
     0x610: 0x00000000 0x00000000 0x00000000 0x00000000
     0x620: 0x00000000 0x00000000 0x00000000 0x00000000
     0x630: 0x00000000 0x00000000 0x00000000 0x00000000
     0x640: 0x00000000 0x00000000 0x00000000 0x00000000
     0x650: 0x00000000 0x00000000 0x00000000 0x00000000
     0x660: 0x00000000 0x00000000 0x00000000 0x00000000
     0x670: 0x00000000 0x00000000 0x00000000 0x00000000
     0x680: 0x00000000 0x00000000 0x00000000 0x00000000
     0x690: 0x00000000 0x00000000 0x00000000 0x00000000
     0x6a0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x6b0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x6c0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x6d0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x6e0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x6f0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x700: 0x00000000 0x00000000 0x00000000 0x00000000
     0x710: 0x00000000 0x00000000 0x00000000 0x00000000
     0x720: 0x00000000 0x00000000 0x00000000 0x00000000
     0x730: 0x00000000 0x00000000 0x00000000 0x00000000
     0x740: 0x00000000 0x00000000 0x00000000 0x00000000
     0x750: 0x00000000 0x00000000 0x00000000 0x00000000
     0x760: 0x00000000 0x00000000 0x00000000 0x00000000
     0x770: 0x00000000 0x00000000 0x00000000 0x00000000
     0x780: 0x00000000 0x00000000 0x00000000 0x00000000
     0x790: 0x00000000 0x00000000 0x00000000 0x00000000
     0x7a0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x7b0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x7c0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x7d0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x7e0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x7f0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x800: 0x00000000 0x00000000 0x00000000 0x00000000
     0x810: 0x00000000 0x00000000 0x00000000 0x00000000
     0x820: 0x00000000 0x00000000 0x00000000 0x00000000
     0x830: 0x00000000 0x00000000 0x00000000 0x00000000
     0x840: 0x00000000 0x00000000 0x00000000 0x00000000
     0x850: 0x00000000 0x00000000 0x00000000 0x00000000
     0x860: 0x00000000 0x00000000 0x00000000 0x00000000
     0x870: 0x00000000 0x00000000 0x00000000 0x00000000
     0x880: 0x00000000 0x00000000 0x00000000 0x00000000
     0x890: 0x00000000 0x00000000 0x00000000 0x00000000
     0x8a0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x8b0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x8c0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x8d0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x8e0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x8f0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x900: 0x00000000 0x00000000 0x00000000 0x00000000
     0x910: 0x00000000 0x00000000 0x00000000 0x00000000
     0x920: 0x00000000 0x00000000 0x00000000 0x00000000
     0x930: 0x00000000 0x00000000 0x00000000 0x00000000
     0x940: 0x00000000 0x00000000 0x00000000 0x00000000
     0x950: 0x00000000 0x00000000 0x00000000 0x00000000
     0x960: 0x00000000 0x00000000 0x00000000 0x00000000
     0x970: 0x00000000 0x00000000 0x00000000 0x00000000
     0x980: 0x00000000 0x00000000 0x00000000 0x00000000
     0x990: 0x00000000 0x00000000 0x00000000 0x00000000
     0x9a0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x9b0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x9c0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x9d0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x9e0: 0x00000000 0x00000000 0x00000000 0x00000000
     0x9f0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa00: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa10: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa20: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa30: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa40: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa50: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa60: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa70: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa80: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xaa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xab0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xac0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xad0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xae0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xaf0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb00: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb10: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb20: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb30: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb40: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb50: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb60: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb70: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb80: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xba0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xbb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xbc0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xbd0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xbe0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xbf0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc00: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc10: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc20: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc30: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc40: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc50: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc60: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc70: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc80: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xca0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xcb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xcc0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xcd0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xce0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xcf0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd00: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd10: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd20: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd30: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd40: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd50: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd60: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd70: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd80: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xda0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xdb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xdc0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xdd0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xde0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xdf0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe00: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe10: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe20: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe30: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe40: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe50: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe60: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe70: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe80: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xea0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xeb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xec0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xed0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xee0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xef0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf00: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf10: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf20: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf30: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf40: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf50: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf60: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf70: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf80: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xfa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xfb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xfc0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xfd0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xfe0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xff0: 0x00000000 0x00000000 0x00000000 0x00000000


 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@netbsd.org>
Cc: 
Subject: Re: kern/55115 (siisata(4) broken after enabling MSI support)
Date: Sat, 28 Mar 2020 14:19:01 -0500 (CDT)

 On Sat, 28 Mar 2020, John D. Baker wrote:

 > On Sat, 28 Mar 2020, Jaromir Dolecek wrote:
 > 
 > > but perhaps worth checking if by change there would be any BIOS
 > > settings enabling MSI just for particular slots.
 > 
 > I'll take a look when I next get a chance.

 No BIOS settings for MSI.  The only PCIe setting was for "test pattern"
 IIRC and it was set to enabled.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/55115 (siisata(4) broken after enabling MSI support)
Date: Thu, 17 Dec 2020 11:02:58 -0600 (CST)

 Following some recent changes to MSI handling, I booted a -current
 kernel to see if it had any positive impact on the issue in this PR.

 Unfortunately it does not.  Disks attached to the siisata(4) card,
 while they attach, are inoperable, just as described originally in
 this PR.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: open->feedback
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Wed, 05 May 2021 19:32:15 +0000
State-Changed-Why:
I've disabled MSI for SiI3124. Can you confirm it works with rev. 1.21
of sys/dev/pci/siisata_pci.c ?


From: "Jaromir Dolecek" <jdolecek@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/55115 CVS commit: src/sys/dev/pci
Date: Wed, 5 May 2021 19:30:51 +0000

 Module Name:	src
 Committed By:	jdolecek
 Date:		Wed May  5 19:30:51 UTC 2021

 Modified Files:
 	src/sys/dev/pci: siisata_pci.c

 Log Message:
 disable MSI for SiI3124 - interrupts don't seem to work on this old board
 when MSI is enabled, maybe because it's behind a PCI bridge

 PR kern/55115 by John D. Baker


 To generate a diff of this commit:
 cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/siisata_pci.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/55115 (siisata(4) broken after enabling MSI support)
Date: Sat, 8 May 2021 20:15:41 -0500 (CDT)

 On Wed, 5 May 2021, jdolecek@NetBSD.org wrote:

 > I've disabled MSI for SiI3124. Can you confirm it works with rev. 1.21
 > of sys/dev/pci/siisata_pci.c ?

 I've now booted a -current kernel with:

 $ ident /netbsd-9.99.82 | grep siisata
      $NetBSD: siisata_pci.c,v 1.21 2021/05/05 19:30:51 jdolecek Exp $

 and all the disks attached to that host adapter are correctly detected
 and operate as expected.  The RAIDframe RAID-R which has half of its
 disks on that card configured and operates as it should.

 So, I believe it is fixed.  Pull-up to netbsd-9 please?

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: feedback->pending-pullups
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Sun, 09 May 2021 06:46:28 +0000
State-Changed-Why:
Thanks for confirmation. Pullup to netbsd-9 requested, ticket ##1270


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/55115 CVS commit: [netbsd-9] src/sys/dev/pci
Date: Sun, 9 May 2021 07:09:28 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sun May  9 07:09:27 UTC 2021

 Modified Files:
 	src/sys/dev/pci [netbsd-9]: siisata_pci.c

 Log Message:
 Pull up following revision(s) (requested by dolecek in ticket #1270):

 	sys/dev/pci/siisata_pci.c: revision 1.21

 disable MSI for SiI3124 - interrupts don't seem to work on this old board
 when MSI is enabled, maybe because it's behind a PCI bridge

 PR kern/55115 by John D. Baker


 To generate a diff of this commit:
 cvs rdiff -u -r1.20 -r1.20.4.1 src/sys/dev/pci/siisata_pci.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Sun, 09 May 2021 07:19:10 +0000
State-Changed-Why:
Pullups done


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.