Re: ServerWorks/Broadcom HT1000 chipset errata saga

From: Nick Pope <lists_at_mipster.net>
Date: Wed, 2 Jan 2008 22:14:38 -0500
I csup'ed to latest RELENG_7_0 (RC1) and built the GENERIC kernel.   
I'm assuming Soren's patch has made it into RC1 because, without  
commenting out the rr232x driver, the kernel mis-detects my Supermicro  
PCI-X SATA controller (MV88SX6081 chipset) as an rr232x.

--snip--
hptrr0: <sx508x> port 0x7800-0x78ff mem 0xfc300000-0xfc3fffff irq 28  
at device 3.0 on pci1
hptrr: adapter at PCI 1:3:0, IRQ 28
--snip--

Here's pciconf -lv:

[root_at_backup2 ~]# lspci -lv
-bash: lspci: command not found
[root_at_backup2 ~]# pciconf -lv
pcib1_at_pci0:0:6:0:	class=0x060400 card=0x00000000 chip=0x74601022  
rev=0x07 hdr=0x01
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = 'AMD-8111 PCI Bridge'
     class      = bridge
     subclass   = PCI-PCI
isab0_at_pci0:0:7:0:	class=0x060100 card=0x74681022 chip=0x74681022  
rev=0x05 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = 'AMD-8111 LPC Bridge'
     class      = bridge
     subclass   = PCI-ISA
atapci1_at_pci0:0:7:1:	class=0x01018a card=0x74691022 chip=0x74691022  
rev=0x03 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = 'AMD-8111 UltraATA/133 Controller'
     class      = mass storage
     subclass   = ATA
none0_at_pci0:0:7:2:	class=0x0c0500 card=0x746a1022 chip=0x746a1022  
rev=0x02 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = 'AMD-8111 SMBus 2.0 Controller'
     class      = serial bus
     subclass   = SMBus
none1_at_pci0:0:7:3:	class=0x068000 card=0x746b1022 chip=0x746b1022  
rev=0x05 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = 'AMD-8111 ACPI System Management Controller'
     class      = bridge
pcib2_at_pci0:0:10:0:	class=0x060400 card=0x00000000 chip=0x74501022  
rev=0x12 hdr=0x01
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = 'AMD-8131 PCI-X Bridge'
     class      = bridge
     subclass   = PCI-PCI
ioapic0_at_pci0:0:10:1:	class=0x080010 card=0x36c01022 chip=0x74511022  
rev=0x01 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = 'AMD-8131 PCI-X IOAPIC'
     class      = base peripheral
     subclass   = interrupt controller
pcib3_at_pci0:0:11:0:	class=0x060400 card=0x00000000 chip=0x74501022  
rev=0x12 hdr=0x01
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = 'AMD-8131 PCI-X Bridge'
     class      = bridge
     subclass   = PCI-PCI
ioapic1_at_pci0:0:11:1:	class=0x080010 card=0x36c01022 chip=0x74511022  
rev=0x01 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = 'AMD-8131 PCI-X IOAPIC'
     class      = base peripheral
     subclass   = interrupt controller
hostb0_at_pci0:0:24:0:	class=0x060000 card=0x00000000 chip=0x11001022  
rev=0x00 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = '(K8) Athlon 64/Opteron HyperTransport Technology  
Configuration'
     class      = bridge
     subclass   = HOST-PCI
hostb1_at_pci0:0:24:1:	class=0x060000 card=0x00000000 chip=0x11011022  
rev=0x00 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = '(K8) Athlon 64/Opteron Address Map'
     class      = bridge
     subclass   = HOST-PCI
hostb2_at_pci0:0:24:2:	class=0x060000 card=0x00000000 chip=0x11021022  
rev=0x00 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = '(K8) Athlon 64/Opteron DRAM Controller'
     class      = bridge
     subclass   = HOST-PCI
hostb3_at_pci0:0:24:3:	class=0x060000 card=0x00000000 chip=0x11031022  
rev=0x00 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = '(K8) Athlon 64/Opteron Miscellaneous Control'
     class      = bridge
     subclass   = HOST-PCI
hostb4_at_pci0:0:25:0:	class=0x060000 card=0x00000000 chip=0x11001022  
rev=0x00 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = '(K8) Athlon 64/Opteron HyperTransport Technology  
Configuration'
     class      = bridge
     subclass   = HOST-PCI
hostb5_at_pci0:0:25:1:	class=0x060000 card=0x00000000 chip=0x11011022  
rev=0x00 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = '(K8) Athlon 64/Opteron Address Map'
     class      = bridge
     subclass   = HOST-PCI
hostb6_at_pci0:0:25:2:	class=0x060000 card=0x00000000 chip=0x11021022  
rev=0x00 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = '(K8) Athlon 64/Opteron DRAM Controller'
     class      = bridge
     subclass   = HOST-PCI
hostb7_at_pci0:0:25:3:	class=0x060000 card=0x00000000 chip=0x11031022  
rev=0x00 hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = '(K8) Athlon 64/Opteron Miscellaneous Control'
     class      = bridge
     subclass   = HOST-PCI
ohci0_at_pci0:3:0:0:	class=0x0c0310 card=0x74641022 chip=0x74641022  
rev=0x0b hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = 'AMD-8111 USB OpenHCI Host Controller'
     class      = serial bus
     subclass   = USB
ohci1_at_pci0:3:0:1:	class=0x0c0310 card=0x74641022 chip=0x74641022  
rev=0x0b hdr=0x00
     vendor     = 'Advanced Micro Devices (AMD)'
     device     = 'AMD-8111 USB OpenHCI Host Controller'
     class      = serial bus
     subclass   = USB
atapci0_at_pci0:3:5:0:	class=0x018000 card=0x31141095 chip=0x31141095  
rev=0x02 hdr=0x00
     vendor     = 'Silicon Image Inc (Was: CMD Technology Inc)'
     device     = 'Sil 3114 SATALink/SATARaid Controller'
     class      = mass storage
vgapci0_at_pci0:3:6:0:	class=0x030000 card=0x80081002 chip=0x47521002  
rev=0x27 hdr=0x00
     vendor     = 'ATI Technologies Inc'
     device     = 'Rage XL PCI'
     class      = display
     subclass   = VGA
re0_at_pci0:2:8:0:	class=0x020000 card=0x816910ec chip=0x816910ec  
rev=0x10 hdr=0x00
     vendor     = 'Realtek Semiconductor'
     device     = 'RTL8110SB Single-Chip Gigabit LOM Ethernet  
Controller'
     class      = network
     subclass   = ethernet
bge0_at_pci0:2:9:0:	class=0x020000 card=0x164414e4 chip=0x164814e4  
rev=0x03 hdr=0x00
     vendor     = 'Broadcom Corporation'
     device     = 'BCM5704 NetXtreme Dual Gigabit Adapter'
     class      = network
     subclass   = ethernet
bge1_at_pci0:2:9:1:	class=0x020000 card=0x164414e4 chip=0x164814e4  
rev=0x03 hdr=0x00
     vendor     = 'Broadcom Corporation'
     device     = 'BCM5704 NetXtreme Dual Gigabit Adapter'
     class      = network
     subclass   = ethernet
ahd0_at_pci0:2:10:0:	class=0x010000 card=0xffff9005 chip=0x801f9005  
rev=0x10 hdr=0x00
     vendor     = 'Adaptec Inc'
     device     = 'AIC-7902 Ultra320 SCSI Controller'
     class      = mass storage
     subclass   = SCSI
ahd1_at_pci0:2:10:1:	class=0x010000 card=0xffff9005 chip=0x801f9005  
rev=0x10 hdr=0x00
     vendor     = 'Adaptec Inc'
     device     = 'AIC-7902 Ultra320 SCSI Controller'
     class      = mass storage
     subclass   = SCSI
hptrr0_at_pci0:1:3:0:	class=0x010000 card=0x11ab11ab chip=0x608111ab  
rev=0x09 hdr=0x00
     vendor     = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
     device     = 'MV88SX6081 8-port SATA II PCI-X Controller'
     class      = mass storage
     subclass   = SCSI

-Nick


On Jan 1, 2008, at 10:54 PM, Travis Mikalson wrote:

> Nick Pope wrote:
>> Installed the patch, now it thinks my Marvel SATA controller is an  
>> rr232x!!
>> If I comment out rr232x driver in the kernel config, the Marvel is  
>> detected no problem.  However, as soon as I mount my zpool (using  
>> the Marvel controller) the Ierrs start up again.
>> -Nick
>> On Dec 30, 2007, at 11:52 PM, <lists_at_mipster.net>  
>> <lists_at_mipster.net> wrote:
>>> BTW, I've had PCI-X problems with a Marvel MV88SX6081 SATA  
>>> controller on a M/B WITHOUT the HT1000 chipset (Tyan S2881UG2NR).   
>>> The M/B worked flawlessly under 7.0-BETA1 & BETA2.  I added the  
>>> Marvell controller and EVERYTHING on the PCI-X bus flaked out.   
>>> I'm seeing Ierrs and Oerrs (netstat -i) on the built-in bge  
>>> interfaces, ZFS checksum errors on disks attached to the Marvel  
>>> controller, etc.
>>>
>>> I wasn't sure from reading the thread whether Soren thought the  
>>> problem went beyond the HT1000 chipset or not.  The problem seems  
>>> to manifest itself only when I use the disks attached to the  
>>> Marvel controller.  I'm applying the patch now to see if it fixes  
>>> the problem.
>>>
>>> -Nick
>
> Thanks for trying it out. I just waved this in front of Søren.
>
> The apparently new mis-detection issue is certainly something to be  
> concerned about. You're absolutely sure it was detected as a Marvell  
> reliably (with rr232x still in there) before you applied that patch?
>
> The fact that the patch didn't do anything to solve your Marvell  
> controller problem is too bad, also, but the mis-detection issue is  
> of more immediate concern since this HT1000/Marvell-fixing code is  
> being vetted for inclusion in 7.0-R.
>
> Have you tried that hardware combination with any other OSes to see  
> if it's a FreeBSD-specific issue and not just a hardware-level issue?
>
> I haven't had a chance to confirm myself since my box with the  
> Marvell controller in it is a long drive away from me, but Søren did  
> get his PCI-X 8-port Marvell working perfectly fine after making  
> these fixes.
>
> -- 
> TerraNovaNet Internet Services - Key Largo, FL
> Voice: (305)453-4011 x101   Fax: (305)451-5991
> http://www.terranova.net/
> ----------------------------------------------
> Life's not fair, but the root password helps.
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org 
> "
Received on Thu Jan 03 2008 - 02:14:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC