From owner-freebsd-smp Tue Feb 22 19:34:53 2000 Delivered-To: freebsd-smp@freebsd.org Received: from mass.cdrom.com (mass.cdrom.com [204.216.28.184]) by hub.freebsd.org (Postfix) with ESMTP id C396537B849 for ; Tue, 22 Feb 2000 19:34:34 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id TAA05062 for ; Tue, 22 Feb 2000 19:47:30 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <200002230347.TAA05062@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: smp@freebsd.org Subject: Supermicro PIIIDM3 not working Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_5319309280" Date: Tue, 22 Feb 2000 19:47:30 -0800 From: Mike Smith Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multipart MIME message. --==_Exmh_5319309280 Content-Type: text/plain; charset=us-ascii The lab was just sent one of these boards for a couple of reasons; most of them have been laid to rest, but the last one is proving to be an interesting foe. The current configuration: - 2x PIII/500 - 128MB RAM - Mylex DAC1164PVX Upon booting SMP, symptoms are that interrupts from the Mylex controller aren't being delivered. The system works fine in single-CPU mode, but incredibly slowly with the mlx driver's timeout handler doing I/O completions. Surprisingly, the system's MPtable is 1.1 only (no BIOS option, etc.). Please find attached MPtable and verbose boot log; any thoughts would be appreciated. Booting kernel is current as of the build date, options SMP, APIC_IO, NBUS=7, NAPIC=2. --==_Exmh_5319309280 Content-Type: text/plain ; name="PIIIDM3.mpt"; charset=us-ascii Content-Description: PIIIDM3.mpt Content-Disposition: attachment; filename="PIIIDM3.mpt" =============================================================================== MPTable, version 2.0.15 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000faf50 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0x57 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f4df0 signature: 'PCMP' base table length: 356 version: 1.1 checksum: 0x4c OEM ID: '_AMI_ ' Product ID: '840_CARMEL__' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 36 local APIC address: 0xfee00000 extended table length: 0 extended table checksum: 0 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 0 0x11 BSP, usable 6 7 2 0x387fbff 1 0x11 AP, usable 6 7 2 0x387fbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 PCI 3 PCI 4 PCI 5 PCI 6 ISA -- I/O APICs: APIC ID Version State Address 2 0x20 usable 0xfec00000 3 0x20 usable 0xfa8fe000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT conforms conforms 6 0 2 0 INT conforms conforms 6 1 2 1 INT conforms conforms 6 0 2 2 INT conforms conforms 6 3 2 3 INT conforms conforms 6 4 2 4 INT conforms conforms 6 5 2 5 INT conforms conforms 6 6 2 6 INT conforms conforms 6 7 2 7 INT active-hi edge 6 8 2 8 INT conforms conforms 6 9 2 9 INT conforms conforms 6 10 2 10 INT conforms conforms 6 11 2 11 INT conforms conforms 6 12 2 12 INT conforms conforms 6 13 2 13 INT conforms conforms 6 14 2 14 INT conforms conforms 6 15 2 15 INT active-lo level 0 31:A 2 16 INT active-lo level 5 0:A 2 16 INT active-lo level 0 31:D 2 19 INT active-lo level 0 31:B 2 17 INT active-lo level 1 8:A 2 16 SMI conforms conforms 6 0 2 23 INT active-lo level 4 8:A 3 4 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT conforms conforms 0 0:A 255 0 NMI conforms conforms 0 0:A 255 1 ------------------------------------------------------------------------------- # SMP kernel config file options: # Required: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Optional (built-in defaults will work in most cases): #options NCPU=2 # number of CPUs #options NBUS=7 # number of busses #options NAPIC=2 # number of IO APICs #options NINTR=24 # number of INTs =============================================================================== --==_Exmh_5319309280 Content-Type: text/plain ; name="PIIIDM3.log"; charset=us-ascii Content-Description: PIIIDM3.log Content-Disposition: attachment; filename="PIIIDM3.log" SMAP type=02 base=00000000 0009fc00 len=00000000 00000400 SMAP type=02 base=00000000 000e0000 len=00000000 00020000 SMAP type=01 base=00000000 00100000 len=00000000 07ee0000 SMAP type=03 base=00000000 07fe0000 len=00000000 00018000 SMAP type=04 base=00000000 07ff8000 len=00000000 00008000 Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #1: Sat Feb 19 20:17:01 GMT 2000 root@fnord.cdrom.com:/usr/src/sys/compile/FNORD Calibrating clock(s) ... TSC clock: 497189150 Hz, i8254 clock: 1193254 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium III/Pentium III Xeon (497.16-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x672 Stepping = 2 Features=0x387fbff real memory = 134086656 (130944K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00324000 - 0x07fd7fff, 130760704 bytes (31924 pages) avail memory = 126824448 (123852K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 24 pins in IOAPIC #1 IOAPIC #1 intpin 4 -> irq 2 SMP: CPU0 apic_initialize(): lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170020, at 0xfec00000 io1 (APIC): apic id: 3, version: 0x00170020, at 0xfa8fe000 bios32: Found BIOS32 Service Directory header at 0xc00fdb60 bios32: Entry = 0xfdb70 (c00fdb70) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xdb91 pnpbios: Found PnP BIOS data at 0xc00f5620 pnpbios: Entry = f0000:50b4 Rev = 1.0 Other BIOS signatures found: ACPI: 000fa0e0 Preloaded elf kernel "kernel" at 0xc0308000. Pentium Pro MTRR support enabled SMP: CPU0 bsp_apic_configure(): lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000010 SVR: 0x000001ff pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=1a218086) npx0: on motherboard npx0: INT 16 interface apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=1a218086) pcib0: on motherboard found-> vendor=0x8086, dev=0x1a21, revid=0x01 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base f4000000, size 26 found-> vendor=0x8086, dev=0x1a23, revid=0x01 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=5 secondarybus=5 found-> vendor=0x8086, dev=0x1a24, revid=0x01 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=4 secondarybus=2 found-> vendor=0x8086, dev=0x2418, revid=0x02 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x8086, dev=0x2410, revid=0x02 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x2411, revid=0x02 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000ffa0, size 4 Freeing (NOT implemented) redirected PCI irq 9. found-> vendor=0x8086, dev=0x2412, revid=0x02 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=19 map[20]: type 1, range 32, base 0000ef80, size 5 Freeing (NOT implemented) redirected PCI irq 10. found-> vendor=0x8086, dev=0x2413, revid=0x02 class=0c-05-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=b, irq=17 map[20]: type 1, range 32, base 0000efa0, size 4 Freeing (NOT implemented) redirected PCI irq 10. found-> vendor=0x8086, dev=0x2415, revid=0x02 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=b, irq=17 map[10]: type 1, range 32, base 0000e800, size 8 map[14]: type 1, range 32, base 0000ef00, size 6 pci0: on pcib0 pcib1: at device 1.0 on pci0 Freeing (NOT implemented) redirected PCI irq 11. found-> vendor=0x121a, dev=0x0005, revid=0x01 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=16 map[10]: type 1, range 32, base fc000000, size 25 map[14]: type 1, range 32, base ee000000, size 25 map[18]: type 1, range 32, base 0000d800, size 8 pci5: on pcib1 vga-pci0: <3Dfx Voodoo 3 graphics accelerator> port 0xd800-0xd8ff mem 0xee000000-0xefffffff,0xfc000000-0xfdffffff irq 16 at device 0.0 on pci5 pcib2: at device 2.0 on pci0 found-> vendor=0x8086, dev=0x1360, revid=0x02 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=4 secondarybus=3 pci2: on pcib2 pcib3: at device 31.0 on pci2 found-> vendor=0x8086, dev=0x1161, revid=0x01 class=08-00-20, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base fa8fe000, size 12 found-> vendor=0x1011, dev=0x0026, revid=0x02 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=4 secondarybus=4 pci3: on pcib3 pci3: unknown card (vendor=0x8086, dev=0x1161) at 0.0 pcib4: at device 3.0 on pci3 Freeing (NOT implemented) redirected PCI irq 11. found-> vendor=0x1011, dev=0x1065, revid=0x04 class=0b-40-01, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=2 map[10]: type 1, range 32, base fa7eff80, size 7 map[14]: type 1, range 32, base 0000ac00, size 7 map[18]: type 1, range 32, base e8000000, size 25 found-> vendor=0x1069, dev=0xba55, revid=0x00 class=01-04-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base fa7f0000, size 16 pci4: on pcib4 mlx0: port 0xac00-0xac7f mem 0xe8000000-0xe9ffffff,0xfa7eff80-0xfa7effff irq 2 at device 8.0 on pci4 mlx0: DAC1164PVX, 3 channels, firmware 5.07-0-79, 32MB RAM mlx0: Hardware ID 0x03020320 mlx0: Firmware ID 0x304f0705 mlx0: Configured/Actual channels 3/3 mlx0: Max Targets 16 mlx0: Max Tags 236 mlx0: Max System Drives 32 mlx0: Max Arms 8 mlx0: Max Spans 4 mlx0: DRAM/cache/flash/NVRAM size 33554432/31563776/1048576/32768 mlx0: DRAM type 10 mlx0: Clock Speed 40ns mlx0: Hardware Speed 360ns mlx0: Max Commands 128 mlx0: Max SG Entries 33 mlx0: Max DP 472 mlx0: Max IOD 1024 mlx0: Max Comb 256 mlx0: Latency 12s mlx0: SCSI Timeout 18s mlx0: Min Free Lines 72 mlx0: Rate Constant 50 mlx0: MAXBLK 128 mlx0: Blocking Factor 1 sectors mlx0: Cache Line Size 16 blocks mlx0: SCSI Capability 40MHz, 16 bit mlx0: Firmware Build Number 0 mlx0: Fault Management Type 0 mlx0: Features 0 mlxd0: on mlx0 mlxd0: 34732MB (71131136 sectors) RAID 5 (online) Creating DISK mlxd0 pci4: unknown card (vendor=0x1069, dev=0xba55) at 9.0 pcib5: at device 30.0 on pci0 Freeing (NOT implemented) redirected PCI irq 11. found-> vendor=0x8086, dev=0x1229, revid=0x08 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=16 map[10]: type 1, range 32, base f86ff000, size 12 map[14]: type 1, range 32, base 00009f00, size 6 map[18]: type 1, range 32, base f8500000, size 20 pci1: on pcib5 fxp0: port 0x9f00-0x9f3f mem 0xf8500000-0xf85fffff,0xf86ff000-0xf86fffff irq 16 at device 8.0 on pci1 fxp0: Ethernet address 00:30:48:10:02:76 bpf: fxp0 attached isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 31.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xffa0 ata0: mask=03 status0=50 status1=01 ata0: mask=03 status0=00 status1=01 ata0: devices = 0x4 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xffa8 ata1: mask=03 status0=00 status1=00 ata1: mask=03 status0=00 status1=00 ata1: devices = 0x0 ata1: probe allocation failed pci0: Intel 82801AA (ICH) USB controller (vendor=0x8086, dev=0x2412) at 31.2 irq 19 pci0: unknown card (vendor=0x8086, dev=0x2413) at 31.3 irq 17 chip1: port 0xef00-0xef3f,0xe800-0xe8ff irq 17 at device 31.5 on pci0 Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 devclass_alloc_unit: ata0 already exists, using next available unit number devclass_alloc_unit: ata1 already exists, using next available unit number isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices ata3: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000 ata3: mask=03 status0=00 status1=00 ata3: mask=03 status0=00 status1=00 ata3: devices = 0x0 ata3: probe allocation failed atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 kbd0: atkbd0, generic (0), config:0x0, flags:0x1f0000 psm0: current command byte:0075 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fe kbdc: RESET_AUX return code:00fe kbdc: RESET_AUX return code:00fe kbdc: DIAGNOSE status:0055 kbdc: TEST_KBD_PORT status:0000 psm0: failed to reset the aux device. vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x0> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio0: irq maps: 0x4001 0x4011 0x4001 0x4001 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1: irq maps: 0x4001 0x4009 0x4001 0x4001 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: parallel port found at 0x378 ppc0: ECP SPP ECP+EPP SPP ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppi0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port plip0: on ppbus0 bpf: lp0 attached isa_probe_children: probing PnP devices SMP: enabled INTs: 1, 2, 3, 4, 7, 14, 16, apic_imen: 0x00febf61 BIOS Geometries: 0:03fe7f20 0..1022=1023 cylinders, 0..127=128 heads, 1..32=32 sectors 0 accounted for Device configuration finished. APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 bpf: lo0 attached SMP: AP CPU #1 Launched! SMP: CPU1 apic_initialize(): lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff ata0-master: piomode=2 dmamode=-1 udmamode=-1 dmaflag=0 ata0-master: success setting up PIO2 mode on generic chip Creating DISK afd0 afd0: rewriteable drive at ata0 as master afd0: 120MB (246528 sectors), 963 cyls, 8 heads, 32 S/T, 512 B/S afd0: 533KB/s, PIO2 afd0: Medium: Unknown media (0x0) no devsw (majdev=0 bootdev=0xa0200000) Mounting root from ufs:/dev/mlxd0s1a mlxd0s1: type 0xa5, start 32, end = 71131135, size 71131104 : OK start_init: trying /sbin/init swapon: adding /dev/mlxd0s1b as swap device Automatic reboot in progress... --==_Exmh_5319309280 Content-Type: text/plain; charset=us-ascii \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com --==_Exmh_5319309280-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message