From owner-freebsd-smp Wed Jun 7 14:32:29 2000 Delivered-To: freebsd-smp@freebsd.org Received: from home.dragondata.com (home.dragondata.com [204.137.237.2]) by hub.freebsd.org (Postfix) with ESMTP id 23FCF37B676 for ; Wed, 7 Jun 2000 14:31:54 -0700 (PDT) (envelope-from toasty@celery.dragondata.com) Received: from celery.dragondata.com (celery.dragondata.com [205.253.12.6]) by home.dragondata.com (8.9.2/8.9.2) with ESMTP id QAA28428 for ; Wed, 7 Jun 2000 16:31:50 -0500 (CDT) Received: (from toasty@localhost) by celery.dragondata.com (8.9.3/8.9.3) id QAA73380 for freebsd-smp@freebsd.org; Wed, 7 Jun 2000 16:31:45 -0500 (CDT) (envelope-from toasty) From: Kevin Day Message-Id: <200006072131.QAA73380@celery.dragondata.com> Subject: Tyan Thunder 2400/i840 SMP no good To: freebsd-smp@freebsd.org Date: Wed, 7 Jun 2000 16:31:45 -0500 (CDT) X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm trying to get SMP working on my Tyan Thunder 2400 motherboard. When I recompile the kernel with SMP support and reboot I get as far as 'Testing 8254 interrupt delivery' and it hangs. The console is still responsive, though. Any ideas? Here's my config and mptable: 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-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000 root@monster.cdrom.com:/usr/src/sys/compile/GENERIC Calibrating clock(s) ... TSC clock: 498255304 Hz, i8254 clock: 1192983 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 (498.34-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x387fbff real memory = 268435456 (262144K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00377000 - 0x0fff7fff, 264769536 bytes (64641 pages) avail memory = 256942080 (250920K bytes) 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 0xc00f5910 pnpbios: Entry = f0000:53a4 Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 Math emulator present 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 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 f8000000, size 26 found-> vendor=0x8086, dev=0x1a23, revid=0x01 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=4 secondarybus=4 found-> vendor=0x8086, dev=0x1a24, revid=0x01 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=3 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 found-> vendor=0x8086, dev=0x2412, revid=0x02 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=11 map[20]: type 1, range 32, base 0000ef80, size 5 found-> vendor=0x8086, dev=0x2413, revid=0x02 class=0c-05-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=b, irq=9 map[20]: type 1, range 32, base 0000efa0, size 4 found-> vendor=0x8086, dev=0x2415, revid=0x02 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=b, irq=9 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 found-> vendor=0x1002, dev=0x5246, revid=0x00 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base f0000000, size 26 map[14]: type 1, range 32, base 0000d800, size 8 map[18]: type 1, range 32, base ff9fc000, size 14 pci4: on pcib1 pci4: (vendor=0x1002, dev=0x5246) at 0.0 irq 11 pcib2: at device 2.0 on pci0 found-> vendor=0x8086, dev=0x1360, revid=0x02 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=3 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 ff7df000, size 12 found-> vendor=0x1000, dev=0x000b, revid=0x05 class=01-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 0000b400, size 8 map[14]: type 1, range 64, base ff7e8000, size 10 map[1c]: type 1, range 64, base ff7e0000, size 13 found-> vendor=0x1000, dev=0x000b, revid=0x05 class=01-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=b, irq=10 map[10]: type 1, range 32, base 0000b800, size 8 map[14]: type 1, range 64, base ff7f8000, size 10 map[1c]: type 1, range 64, base ff7f0000, size 13 pci3: on pcib3 pci3: (vendor=0x8086, dev=0x1161) at 0.0 sym0: <896> port 0xb400-0xb4ff mem 0xff7e0000-0xff7e1fff,0xff7e8000-0xff7e83ff irq 10 at device 9.0 on pci3 sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: handling phase mismatch from SCRIPTS. sym0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/4e/a0/01/00/24 sym0: final SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/4e/80/01/08/24 sym0: Delay (GEN=11): 256 msec, 34720 KHz sym0: Delay (GEN=11): 264 msec, 33667 KHz sym0: Delay (GEN=11): 265 msec, 33540 KHz sym0: enabling clock multiplier sym0: Downloading SCSI SCRIPTS. sym1: <896> port 0xb800-0xb8ff mem 0xff7f0000-0xff7f1fff,0xff7f8000-0xff7f83ff irq 10 at device 9.1 on pci3 sym1: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: handling phase mismatch from SCRIPTS. sym1: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/4e/a0/01/00/24 sym1: final SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/4e/80/01/08/24 using shared irq10. sym1: enabling clock multiplier sym1: Downloading SCSI SCRIPTS. pcib4: at device 30.0 on pci0 found-> vendor=0x8086, dev=0x1229, revid=0x08 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base ff6fe000, size 12 map[14]: type 1, range 32, base 0000af00, size 6 map[18]: type 1, range 32, base ff500000, size 20 pci1: on pcib4 fxp0: port 0xaf00-0xaf3f mem 0xff500000-0xff5fffff,0xff6fe000-0xff6fefff irq 11 at device 8.0 on pci1 fxp0: Ethernet address 00:e0:81:10:cd:19 fxp0: supplying EUI64: 00:e0:81:ff:fe:10:cd:19 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=7f status1=50 ata0: mask=03 status0=7f status1=10 ata0: devices = 0x8 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: (vendor=0x8086, dev=0x2412) at 31.2 irq 11 pci0: (vendor=0x8086, dev=0x2413) at 31.3 irq 9 chip1: port 0xef00-0xef3f,0xe800-0xe8ff irq 9 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 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 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 bt0: Failed Status Reg Test - 0 bt_isa_probe: Probe failed at 0x330 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x334 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x230 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x234 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x130 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x134 aha0: status reg test failed 0 aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 psm0: current command byte:0065 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=0x200> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) pcic1: not probed (disabled) sio0: irq maps: 0x401 0x411 0x401 0x401 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: irq maps: 0x401 0x409 0x401 0x401 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: not probed (disabled) sio3: not probed (disabled) ppc0: parallel port found at 0x378 ppc0: ECP SPP SPP ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (ECP/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 BIOS Geometries: 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: sl0 attached bpf: ppp0 attached new masks: bio 40084040, tty 4003009a, net 4007089a bpf: lo0 attached bpf: gif0 attached bpf: gif1 attached bpf: gif2 attached bpf: gif3 attached bpf: stf0 attached bpf: faith0 attached ata0-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1 ata0-slave: success setting up PIO4 mode on generic chip acd0: CDROM drive at ata0 as slave acd0: read 6890KB/s (6890KB/s), 120KB buffer, PIO4 acd0: Reads: CD-R, CD-RW, CD-DA, packet acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked Waiting 15 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. sym0: enabling clock multiplier sym0: Downloading SCSI SCRIPTS. (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. sym1: enabling clock multiplier sym1: Downloading SCSI SCRIPTS. Creating DISK da0 pass0 at sym0 bus 0 target 0 lun 0 pass0: Fixed Direct Access SCSI-2 device pass0: Serial Number LP457945000019321NK3 pass0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled Mounting root from ufs:da0s1a da0 at sym0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: Serial Number LP457945000019321NK3 da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da0s1: type 0xa5, start 63, end = 35551844, size 35551782 : OK start_init: trying /sbin/init fxp0: starting DAD for fe80:0001::02e0:81ff:fe10:cd19 fxp0: DAD complete for fe80:0001::02e0:81ff:fe10:cd19 - no duplicates found =============================================================================== MPTable, version 2.0.15 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000fb160 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0x64 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f50e0 signature: 'PCMP' base table length: 364 version: 1.1 checksum: 0xa4 OEM ID: '_AMI_ ' Product ID: '840_CARMEL__' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 37 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 3 0x387fbff 1 0x11 AP, usable 6 7 3 0x387fbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 PCI 3 PCI 4 PCI 5 ISA -- I/O APICs: APIC ID Version State Address 2 0x20 usable 0xfec00000 3 0x20 usable 0xff7df000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT conforms conforms 5 0 2 0 INT conforms conforms 5 1 2 1 INT conforms conforms 5 0 2 2 INT conforms conforms 5 3 2 3 INT conforms conforms 5 4 2 4 INT conforms conforms 5 5 2 5 INT conforms conforms 5 6 2 6 INT conforms conforms 5 7 2 7 INT active-hi edge 5 8 2 8 INT conforms conforms 5 9 2 9 INT conforms conforms 5 10 2 10 INT conforms conforms 5 11 2 11 INT conforms conforms 5 12 2 12 INT conforms conforms 5 13 2 13 INT conforms conforms 5 14 2 14 INT conforms conforms 5 15 2 15 INT active-lo level 0 31:A 2 16 INT active-lo level 4 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 0 31:B 2 17 INT active-lo level 1 8:A 2 16 SMI conforms conforms 5 0 2 23 INT active-lo level 3 9:A 3 8 INT active-lo level 3 9:B 3 9 -- 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=6 # number of busses #options NAPIC=2 # number of IO APICs #options NINTR=25 # number of INTs =============================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message