Subject: Re: quad dual core dmesg
To: None <tech-kern@netbsd.org>
From: George Georgalis <george@galis.org>
List: tech-kern
Date: 11/08/2006 19:24:30
On Wed, Nov 08, 2006 at 11:05:50PM +0100, Manuel Bouyer wrote:
>On Wed, Nov 08, 2006 at 04:09:19PM -0500, George Georgalis wrote:
>> 
>> Thanks for pointing that out. It sounds good. but
>> I don't understand how the commit will move into a
>> regular tag.
>> 
>> http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/pci/viaide.c?rev=1.30&content-type=text/x-cvsweb-markup&only_with_tag=MAIN
>> 
>> It's in MAIN now; but I'm reluctant to try it
>> until I get local hardware---will it work with an
>> otherwise 3-1 tree?
>
>Yes, a current kernel should work with a 3.1 userland
>
>> 
>> I presume testing and time is required before it
>> gets a netbsd-3-1 or netbsd-3-1-1 tag?  Which
>> one? Will that go quickly or is this anticipated
>> to take a while? or is this slated for 4-0?
>
>Well, I didn't look at the change in question. Maybe it can be
>pulled up to netbsd-3 without too much work; maybe it
>requires other intrusive changes. I can have a look; if you can try
>a kernel let me know.

current kernel seems to run fine... there is
pci_io_find warning

viaide0 at pci0 dev 5 function 0
viaide0: NVIDIA MCP55 Serial ATA Controller (rev. 0xa3)
viaide0: bus-master DMA support present
pci_io_find: expected type i/o, found mem
viaide0: primary channel wired to native-PCI mode
viaide0: using ioapic0 pin 11 (irq 11) for native-PCI interrupt
atabus0 at viaide0 channel 0
viaide0: secondary channel wired to native-PCI mode

but otherwise it seems to work okay now. :-))

there are some other IO vs memory warnings
throughout dmesg and at least one unconfigured
device which I don't understand

pci2: no spaces enabled!

does that just mean pci slot X is not in use?

regarding usb... if legacy is on in bios the usb
keyboard works, if off, the usb-cdrom works. but not
both at the same time. we happen to have an internal
cdrom and PS2 kbd available so not an issue.

current checkout was about an hour ago and dmesg
below. anything else I can do to test?

// George



NetBSD 4.99.3 (GENERIC.MP.061108) #0: Wed Nov  8 15:48:43 PST 2006
	root@:/usr/obj/sys/arch/amd64/compile/GENERIC.MP.061108
total memory = 8191 MB
avail memory = 7894 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (nVidia   MCP55       )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Dual-Core AMD Opteron(tm) Processor 8212, 2010.38 MHz
cpu0: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: ffdbfbff<FXSR,SSE,SSE2,B27,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 201 MHz
cpu0: 16 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Dual-Core AMD Opteron(tm) Processor 8212, 2010.31 MHz
cpu1: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu1: features: ffdbfbff<FXSR,SSE,SSE2,B27,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 8212, 2010.30 MHz
cpu2: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu2: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu2: features: ffdbfbff<FXSR,SSE,SSE2,B27,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 8212, 2010.30 MHz
cpu3: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu3: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu3: features: ffdbfbff<FXSR,SSE,SSE2,B27,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
cpu4 at mainbus0: apid 4 (application processor)
cpu4: starting
cpu4: Dual-Core AMD Opteron(tm) Processor 8212, 2010.30 MHz
cpu4: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu4: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu4: features: ffdbfbff<FXSR,SSE,SSE2,B27,HTT,LONG,3DNOW2,3DNOW>
cpu4: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu4: L2 cache 1 MB 64B/line 16-way
cpu4: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu4: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu5 at mainbus0: apid 5 (application processor)
cpu5: starting
cpu5: Dual-Core AMD Opteron(tm) Processor 8212, 2010.30 MHz
cpu5: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu5: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu5: features: ffdbfbff<FXSR,SSE,SSE2,B27,HTT,LONG,3DNOW2,3DNOW>
cpu5: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu5: L2 cache 1 MB 64B/line 16-way
cpu5: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu5: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu6 at mainbus0: apid 6 (application processor)
cpu6: starting
cpu6: Dual-Core AMD Opteron(tm) Processor 8212, 2010.30 MHz
cpu6: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu6: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu6: features: ffdbfbff<FXSR,SSE,SSE2,B27,HTT,LONG,3DNOW2,3DNOW>
cpu6: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu6: L2 cache 1 MB 64B/line 16-way
cpu6: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu6: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu7 at mainbus0: apid 7 (application processor)
cpu7: starting
cpu7: Dual-Core AMD Opteron(tm) Processor 8212, 2010.30 MHz
cpu7: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu7: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu7: features: ffdbfbff<FXSR,SSE,SSE2,B27,HTT,LONG,3DNOW2,3DNOW>
cpu7: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu7: L2 cache 1 MB 64B/line 16-way
cpu7: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu7: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
mpbios: bus 0 is type PCI   
mpbios: bus 1 is type PCI   
mpbios: bus 2 is type PCI   
mpbios: bus 3 is type PCI   
mpbios: bus 4 is type PCI   
mpbios: bus 5 is type PCI   
mpbios: bus 6 is type PCI   
mpbios: bus 7 is type PCI   
mpbios: bus 8 is type PCI   
mpbios: bus 9 is type PCI   
mpbios: bus 10 is type PCI   
mpbios: bus 11 is type ISA   
ioapic0 at mainbus0 apid 8 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 24 pins
ioapic1 at mainbus0 apid 9 (I/O APIC)
ioapic1: pa 0xcfeff000, version 11, 7 pins
ioapic2 at mainbus0 apid 10 (I/O APIC)
ioapic2: pa 0xcfefe000, version 11, 7 pins
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
NVIDIA nForce MCP55 Memory Controller (RAM memory, revision 0xa2) at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0
pcib0: NVIDIA product 0x0364 (rev. 0xa3)
NVIDIA nForce MCP55 SMBus Controller (SMBus serial bus, revision 0xa3) at pci0 dev 1 function 1 not configured
NVIDIA nForce MCP55 Memory Controller (RAM memory, revision 0xa3) at pci0 dev 1 function 2 not configured
ohci0 at pci0 dev 2 function 0: NVIDIA nForce MCP55 OHCI USB Controller (rev. 0xa1)
ohci0: interrupting at ioapic0 pin 10 (irq 10)
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NVIDIA OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0 at pci0 dev 2 function 1: NVIDIA nForce MCP55 EHCI USB Controller (rev. 0xa2)
ehci0: interrupting at ioapic0 pin 14 (irq 14)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controller, 10 ports each: ohci0
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: NVIDIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
viaide0 at pci0 dev 5 function 0
viaide0: NVIDIA MCP55 Serial ATA Controller (rev. 0xa3)
viaide0: bus-master DMA support present
pci_io_find: expected type i/o, found mem
viaide0: primary channel wired to native-PCI mode
viaide0: using ioapic0 pin 11 (irq 11) for native-PCI interrupt
atabus0 at viaide0 channel 0
viaide0: secondary channel wired to native-PCI mode
atabus1 at viaide0 channel 1
viaide1 at pci0 dev 5 function 1
viaide1: NVIDIA MCP55 Serial ATA Controller (rev. 0xa3)
viaide1: bus-master DMA support present
pci_io_find: expected type i/o, found mem
viaide1: primary channel wired to native-PCI mode
viaide1: using ioapic0 pin 5 (irq 5) for native-PCI interrupt
atabus2 at viaide1 channel 0
viaide1: secondary channel wired to native-PCI mode
atabus3 at viaide1 channel 1
viaide2 at pci0 dev 5 function 2
viaide2: NVIDIA MCP55 Serial ATA Controller (rev. 0xa3)
viaide2: bus-master DMA support present
pci_io_find: expected type i/o, found mem
viaide2: primary channel wired to native-PCI mode
viaide2: using ioapic0 pin 14 (irq 14) for native-PCI interrupt
atabus4 at viaide2 channel 0
viaide2: secondary channel wired to native-PCI mode
atabus5 at viaide2 channel 1
ppb0 at pci0 dev 6 function 0: NVIDIA nForce MCP55 PCI-PCI Bridge (rev. 0xa2)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 1 function 0: ATI Technologies product 0x515e (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 10 function 0: NVIDIA product 0x0376 (rev. 0xa3)
pci2 at ppb1 bus 2
pci2: no spaces enabled!
ppb2 at pci0 dev 11 function 0: NVIDIA product 0x0374 (rev. 0xa3)
pci3 at ppb2 bus 3
pci3: no spaces enabled!
ppb3 at pci0 dev 12 function 0: NVIDIA product 0x0374 (rev. 0xa3)
pci4 at ppb3 bus 4
pci4: no spaces enabled!
ppb4 at pci0 dev 13 function 0: NVIDIA product 0x0378 (rev. 0xa3)
pci5 at ppb4 bus 5
pci5: no spaces enabled!
ppb5 at pci0 dev 14 function 0: NVIDIA product 0x0375 (rev. 0xa3)
pci6 at ppb5 bus 6
pci6: no spaces enabled!
ppb6 at pci0 dev 15 function 0: NVIDIA nForce MCP55 PCI-Express 16x Port (rev. 0xa3)
pci7 at ppb6 bus 7
pci7: no spaces enabled!
pchb0 at pci0 dev 24 function 0
pchb0: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb1 at pci0 dev 24 function 1
pchb1: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb2 at pci0 dev 24 function 2
pchb2: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb3 at pci0 dev 24 function 3
pchb3: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
pchb4 at pci0 dev 25 function 0
pchb4: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb5 at pci0 dev 25 function 1
pchb5: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb6 at pci0 dev 25 function 2
pchb6: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb7 at pci0 dev 25 function 3
pchb7: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
pchb8 at pci0 dev 26 function 0
pchb8: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb9 at pci0 dev 26 function 1
pchb9: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb10 at pci0 dev 26 function 2
pchb10: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb11 at pci0 dev 26 function 3
pchb11: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
pchb12 at pci0 dev 27 function 0
pchb12: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb13 at pci0 dev 27 function 1
pchb13: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb14 at pci0 dev 27 function 2
pchb14: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb15 at pci0 dev 27 function 3
pchb15: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
pcppi0: children must have an explicit unit
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcppi0: attached to attimer0
pci8 at mainbus0 bus 8
pci8: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ppb7 at pci8 dev 1 function 0: Advanced Micro Devices product 0x7458 (rev. 0x12)
pci9 at ppb7 bus 9
pci9: no spaces enabled!
Advanced Micro Devices AMD PCI-X IOAPIC (interrupt system, interface 0x10, revision 0x12) at pci8 dev 1 function 1 not configured
ppb8 at pci8 dev 2 function 0: Advanced Micro Devices product 0x7458 (rev. 0x12)
pci10 at ppb8 bus 10
pci10: i/o space, memory space enabled, rd/line, wr/inv ok
wm0 at pci10 dev 3 function 0: Intel i82546GB 1000BASE-T Ethernet, rev. 3
wm0: interrupting at ioapic0 pin 11 (irq 11)
wm0: 64-bit 133MHz PCIX bus
wm0: 256 word (8 address bits) MicroWire EEPROM
wm0: Ethernet address 00:30:48:57:ad:4e
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 5
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
wm1 at pci10 dev 3 function 1: Intel i82546GB 1000BASE-T Ethernet, rev. 3
wm1: interrupting at ioapic0 pin 10 (irq 10)
wm1: 64-bit 133MHz PCIX bus
wm1: 256 word (8 address bits) MicroWire EEPROM
wm1: Ethernet address 00:30:48:57:ad:4f
makphy1 at wm1 phy 1: Marvell 88E1011 Gigabit PHY, rev. 5
makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
Advanced Micro Devices AMD PCI-X IOAPIC (interrupt system, interface 0x10, revision 0x12) at pci8 dev 2 function 1 not configured
ioapic0: enabling
ioapic1: enabling
ioapic2: enabling
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Kernelized RAIDframe activated
viaide0: port 0: device present, speed: 3.0GB/s
wd0 at atabus0 drive 0: <WDC WD2500JS-55NCB1>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cpu1: CPU 1 running
cpu2: CPU 2 running
cpu3: CPU 3 running
cpu4: CPU 4 running
cpu5: CPU 5 running
cpu6: CPU 6 running
cpu7: CPU 7 running
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Microsoft MicrosoftM-BM-. Office Keyboard, rev 2.00/1.24, addr 2, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1
uhidev1: Microsoft MicrosoftM-BM-. Office Keyboard, rev 2.00/1.24, addr 2, iclass 3/0
uhidev1: 2 report ids
uhid0 at uhidev1 reportid 1: input=7, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
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)


-- 
George Georgalis, systems architect, administrator <IXOYE><