Subject: New system Tyan S3892 / Thunder K8HM
To: None <port-amd64@netbsd.org>
From: Brad Spencer <brad@anduin.eldar.org>
List: port-amd64
Date: 01/02/2007 10:29:56
Hello...

I just built a new system based on the Tyan S3892 / Thunder K8HM
motherboard.  It is running NetBSD 4.0_BETA2/amd64, and although it hasn't
been pushed very hard, it appears to be stable, with nearly every device
supported.

There are a few odd things of note:

1) The SATA controller does SATA-II and the drives I have are
SATA-IIable.  However, the device driver [svwsata] only reports 1.5Gb
speed.  The drives have are jumpered for 3.0Gb.

2) This motherboard appears to have a real hardware RAID controller on it.
It is probably a BC4000 based chip, if one can trust the manual.  The
manual implies that Linux has a driver for this, but there isn't anything
for NetBSD.  RaidFrame appears to work pretty well, so that's what I'll
end up using.

I run the drives in pure S-ATA mode rather then emulated P-ATA mode.  Both
do appear to work, however.  The drives will attach to pciide when run in
emulated mode.

3) The manual for the motherboard claims that there are two SMSC EMC6D103S
hardware monitoring chips.  There is no support in NetBSD for those,
however, the chip maker has provided the manual for this device on the
web.  According to that, this should be another SMBUS type device, like
the AMD 8111 monitors on the S2882 and the like have, however, there
doesn't appear to the a "unknown" PCI device present, so I don't know in
what address space they put the hardware monitors for this motherboard.
According to the BIOS the hardware monitor chip is enabled.

4) There are tons of busses on this thing, one is ISA.  If you use ACPI,
there doesn't appear to be a need for the ISA bus.  However, if you try to
remove 'isa ... at pcib' from your kernel config, the kernel won't link.
It appears that some of the ACPI attachments use functions from the ISA
stuff.  The same is true of the floppy controller.


Here is the dmesg from a custom kernel:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0_BETA2 (ANDUIN) #2: Mon Jan  1 12:10:27 EST 2007
	root@andor.ppn.eldar.org:/sys/arch/amd64/compile/ANDUIN
total memory = 2047 MB
avail memory = 1966 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Dual Core AMD Opteron(tm) Processor 265, 1795.64 MHz
cpu0: features: f7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: f7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: f7dbfbff<FXSR,SSE,SSE2,HTT,LONG,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 1 MB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: calibrating local timer
cpu0: apic clock running at 199 MHz
cpu0: 16 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Dual Core AMD Opteron(tm) Processor 265, 1795.50 MHz
cpu1: features: f7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features: f7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu1: features: f7dbfbff<FXSR,SSE,SSE2,HTT,LONG,3DNOW2,3DNOW>
cpu1: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu1: L2 cache 1 MB 64B/line 16-way
cpu1: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu1: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu2 at mainbus0: apid 2 (application processor)
cpu2: starting
cpu2: Dual Core AMD Opteron(tm) Processor 265, 1795.50 MHz
cpu2: features: f7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu2: features: f7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu2: features: f7dbfbff<FXSR,SSE,SSE2,HTT,LONG,3DNOW2,3DNOW>
cpu2: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu2: L2 cache 1 MB 64B/line 16-way
cpu2: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu2: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu3 at mainbus0: apid 3 (application processor)
cpu3: starting
cpu3: Dual Core AMD Opteron(tm) Processor 265, 1795.50 MHz
cpu3: features: f7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu3: features: f7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu3: features: f7dbfbff<FXSR,SSE,SSE2,HTT,LONG,3DNOW2,3DNOW>
cpu3: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu3: L2 cache 1 MB 64B/line 16-way
cpu3: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu3: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
ioapic0 at mainbus0 apid 4 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 16 pins
ioapic1 at mainbus0 apid 5 (I/O APIC)
ioapic1: pa 0xfec01000, version 11, 16 pins
ioapic2 at mainbus0 apid 6 (I/O APIC)
ioapic2: pa 0xfec02000, version 11, 16 pins
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <A M I ,OEMXSDT ,09000620>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
acpi0: fixed-feature sleep button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 32-bit timer
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0A03 [PCI/PCI-X Host Bridge] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
attimer0 at acpi0 (PNP0100): AT Timer
attimer0: io 0x40-0x43 irq 0
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
pcppi0 at acpi0 (PNP0800)
pcppi0: io 0x61
sysbeep0 at pcppi0
PNP0C04 [Math Coprocessor] at acpi0 not configured
com0 at acpi0 (PNP0501-1)
com0: io 0x3f8-0x3ff irq 4
com0: ns16550a, working fifo
com1 at acpi0 (PNP0501-2)
com1: io 0x2f8-0x2ff irq 3
com1: ns16550a, working fifo
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
pckbc0 at acpi0 (PNP0303): kbd port
pckbc0: io 0x60,0x64 irq 1
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C-170): ACPI Power Button
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
pcppi0: attached to attimer0
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ppb0 at pci0 dev 1 function 0: ServerWorks product 0x0036 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ppb1 at pci1 dev 13 function 0: ServerWorks product 0x0104 (rev. 0xc0)
pci2 at ppb1 bus 2
pci2: memory space enabled
svwsata0 at pci1 dev 14 function 0
svwsata0: ServerWorks HT-1000 SATA Controller (rev. 0x00)
: DMA
svwsata0: using ioapic0 pin 11 (irq 11) for native-PCI interrupt
svwsata0: primary channel wired to native-PCI mode
atabus0 at svwsata0 channel 0
svwsata0: secondary channel wired to native-PCI mode
atabus1 at svwsata0 channel 1
svwsata0: secondary channel wired to compatibility mode
atabus2 at svwsata0 channel 2
svwsata0: secondary channel configured to compatibility mode
atabus3 at svwsata0 channel 3
pchb0 at pci0 dev 2 function 0
pchb0: ServerWorks product 0x0205 (rev. 0x00)
pciide0 at pci0 dev 2 function 1
pciide0: ServerWorks product 0x0214 (rev. 0x00)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel configured to compatibility mode
pciide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus4 at pciide0 channel 0
pciide0: secondary channel configured to compatibility mode
pciide0: secondary channel ignored (not responding; disabled or no drives?)
pcib0 at pci0 dev 2 function 2
pcib0: ServerWorks product 0x0234 (rev. 0x00)
ohci0 at pci0 dev 3 function 0: ServerWorks product 0x0223 (rev. 0x01)
ohci0: interrupting at ioapic0 pin 10 (irq 10)
ohci0: OHCI version 1.0, legacy support
ohci0: SMM does not respond, resetting
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci0 dev 3 function 1: ServerWorks product 0x0223 (rev. 0x01)
ohci1: interrupting at ioapic0 pin 10 (irq 10)
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: ServerWorks OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 3 function 2: ServerWorks product 0x0223 (rev. 0x01)
ehci0: interrupting at ioapic0 pin 10 (irq 10)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: ServerWorks EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
fxp0 at pci0 dev 4 function 0: i82550 Ethernet, rev 16
fxp0: interrupting at ioapic1 pin 0 (irq 9)
fxp0: Ethernet address 00:e0:81:46:6d:60
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ppb2 at pci0 dev 6 function 0: ServerWorks product 0x0130 (rev. 0xa3)
pci3 at ppb2 bus 3
pci3: memory space enabled
ppb3 at pci0 dev 7 function 0: ServerWorks product 0x0130 (rev. 0xa3)
pci4 at ppb3 bus 4
pci4: memory space enabled
bge0 at pci4 dev 4 function 0: Broadcom BCM5780 Gigabit Ethernet
bge0: interrupting at ioapic1 pin 10 (irq 7)
bge0: ASIC unknown BCM5780 (0x8003), Ethernet address 00:e0:81:46:6d:54
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5780 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge1 at pci4 dev 4 function 1: Broadcom BCM5780 Gigabit Ethernet
bge1: interrupting at ioapic1 pin 11 (irq 5)
bge1: ASIC unknown BCM5780 (0x8003), Ethernet address 00:e0:81:46:6d:55
bge1: setting short Tx thresholds
brgphy1 at bge1 phy 1: BCM5780 1000BASE-T media interface, rev. 0
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb4 at pci0 dev 8 function 0: ServerWorks product 0x0132 (rev. 0xa3)
pci5 at ppb4 bus 5
pci5: memory space enabled
ppb5 at pci0 dev 9 function 0: ServerWorks product 0x0132 (rev. 0xa3)
pci6 at ppb5 bus 6
pci6: memory space enabled
ppb6 at pci0 dev 10 function 0: ServerWorks product 0x0132 (rev. 0xa3)
pci7 at ppb6 bus 7
pci7: memory space enabled
ppb7 at pci0 dev 11 function 0: ServerWorks product 0x0132 (rev. 0xa3)
pci8 at ppb7 bus 8
pci8: memory space enabled
vga0 at pci0 dev 12 function 0: ATI Technologies product 0x515e (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
pchb1 at pci0 dev 24 function 0
pchb1: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb2 at pci0 dev 24 function 1
pchb2: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb3 at pci0 dev 24 function 2
pchb3: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb4 at pci0 dev 24 function 3
pchb4: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
pchb5 at pci0 dev 25 function 0
pchb5: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb6 at pci0 dev 25 function 1
pchb6: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb7 at pci0 dev 25 function 2
pchb7: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb8 at pci0 dev 25 function 3
pchb8: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
isa0 at pcib0
ioapic0: enabling
ioapic1: enabling
ioapic2: enabling
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
svwsata0 port 0: device present, speed: 1.5Gb/s
svwsata0 port 1: device present, speed: 1.5Gb/s
svwsata0 port 2: device present, speed: 1.5Gb/s
svwsata0 port 3: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0: <ST3320620AS>
wd0: quirks 2<FORCE_LBA48>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(svwsata0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1 at atabus1 drive 0: <ST3320620AS>
wd1: quirks 2<FORCE_LBA48>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(svwsata0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd2 at atabus2 drive 0: <ST3320620AS>
wd2: quirks 2<FORCE_LBA48>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd2(svwsata0:2:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd3 at atabus3 drive 0: <ST3320620AS>
wd3: quirks 2<FORCE_LBA48>
wd3: drive supports 16-sector PIO transfers, LBA48 addressing
wd3: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
wd3: 32-bit data port
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd3(svwsata0:3:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
atapibus0 at atabus4: 2 targets
cd0 at atapibus0 drive 0: <Optiarc DVD RW AD-7170A, , 1.02> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
raid0: RAID Level 1
raid0: Components: /dev/wd0a /dev/wd1a
raid0: Total Sectors: 15501888 (7569 MB)
raid2: RAID Level 1
raid2: Components: /dev/wd0e /dev/wd1e
raid2: Total Sectors: 35651840 (17408 MB)
raid4: RAID Level 1
raid4: Components: /dev/wd0f /dev/wd1f
raid4: Total Sectors: 20001664 (9766 MB)
raid7: RAID Level 0
raid7: Components: /dev/wd0g /dev/wd1g
raid7: Total Sectors: 30606720 (14944 MB)
raid1: RAID Level 1
raid1: Components: /dev/wd2a /dev/wd3a
raid1: Total Sectors: 31458496 (15360 MB)
raid3: RAID Level 1
raid3: Components: /dev/wd2e /dev/wd3e
raid3: Total Sectors: 24000384 (11718 MB)
raid5: RAID Level 1
raid5: Components: /dev/wd2f /dev/wd3f
raid5: Total Sectors: 30999936 (15136 MB)
raid6: RAID Level 5
raid6: Components: /dev/wd0k /dev/wd1k /dev/wd2k /dev/wd3k
raid6: Total Sectors: 1592048064 (777367 MB)
boot device: raid0
root on raid0a dumps on raid0b
root file system type: ffs
cpu1: CPU 1 running
cpu2: CPU 2 running
cpu3: CPU 3 running
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)






-- 
Brad Spencer - brad@anduin.eldar.org - KC8VKS
http://anduin.eldar.org  - & -  http://anduin.ipv6.eldar.org [IPv6 only]
[finger brad@anduin.eldar.org for PGP public key]