From owner-freebsd-smp Tue Sep 24 3:38: 7 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47B8337B401 for ; Tue, 24 Sep 2002 03:37:58 -0700 (PDT) Received: from mx.estimese.net (finom.estimese.net [195.168.3.50]) by mx1.FreeBSD.org (Postfix) with SMTP id 4A3F843E77 for ; Tue, 24 Sep 2002 03:37:56 -0700 (PDT) (envelope-from zero@estimese.net) Received: (qmail 24324 invoked by uid 69); 24 Sep 2002 10:47:16 -0000 Date: Tue, 24 Sep 2002 12:47:16 +0200 From: Robert Bopko To: John Baldwin Cc: Terry Lambert , beemern , smp@freebsd.org Subject: Re: PATCH: start_ap(), and P4 SMP hack to try Message-ID: <20020924104716.GA24307@finom.estimese.net> References: <3D8F5AB2.8857A73B@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: NetBSD/i386 Organization: Nextra Slovakia, Ltd. Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hello, this is dmesg from linux 2.4.18 with SE7500CW2 & 2 xeon processors. hyperthreading is turned off. wondering how can i dump info about multiprocessing in windoze 2000? thanks. On Mon, Sep 23, 2002 at 02:56:19PM -0400, John Baldwin wrote: > *sigh*, except that we may need to change to using logical APIC > ID's instead of physical ones at some time. Anyways, I'm not > sure the BIOS is hosed. The mptable and ACPI MADT table supposedly > have their local APIC entries added by the actual AP's during the > BIOS startup anyways. Can someone with one of these Intel machines > please see what APIC ID the second processor has on Linux and > Windows? Thanks. > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.txt" gger[0x1]) INT_SRC_OVR (bus[0] irq[0x9] global_irq[0x9] polarity[0x1] trigger[0x3]) LAPIC_NMI (acpi_id[0x0000] polarity[0x1] trigger[0x1] lint[0x1]) LAPIC_NMI (acpi_id[0x0001] polarity[0x1] trigger[0x1] lint[0x1]) 2 CPUs total Local APIC address fee00000 __va_range(0x7fefefd8, 0x24): idx=32 mapped at fffde000 __va_range(0x7fefefd8, 0x28): idx=32 mapped at fffde000 ACPI table found: BOOT v1 [PTLTD $SBFTBL$ 1540.0] Enabling the CPU's according to the ACPI table Intel MultiProcessor Specification v1.4 Virtual Wire compatibility mode. OEM ID: Product ID: SE7500CW2 APIC at: 0xFEE00000 I/O APIC #2 Version 32 at 0xFEC00000. I/O APIC #3 Version 32 at 0xFEC80000. I/O APIC #4 Version 32 at 0xFEC80400. Enabling APIC mode: Flat. Using 3 I/O APICs Processors: 1 Building zonelist for node : 0 Kernel command line: auto BOOT_IMAGE=linux ro root=801 acpismp=force Initializing CPU#0 Detected 2192.941 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 4377.80 BogoMIPS Memory: 2068148k/2096640k available (1525k kernel code, 28020k reserved, 447k data, 148k init, 1179072k highmem) Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) Inode cache hash table entries: 131072 (order: 8, 1048576 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 131072 (order: 7, 524288 bytes) Page-cache hash table entries: 524288 (order: 9, 2097152 bytes) CPU: Before vendor init, caps: 3febfbff 00000000 00000000, vendor = 0 CPU: L1 I cache: 12K, L1 D cache: 8K CPU: L2 cache: 512K CPU: Physical Processor ID: 0 CPU: After vendor init, caps: 3febfbff 00000000 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 3febfbff 00000000 00000000 00000000 CPU: Common caps: 3febfbff 00000000 00000000 00000000 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel CPU: Before vendor init, caps: 3febfbff 00000000 00000000, vendor = 0 CPU: L1 I cache: 12K, L1 D cache: 8K CPU: L2 cache: 512K CPU: Physical Processor ID: 0 CPU: After vendor init, caps: 3febfbff 00000000 00000000 00000000 Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 3febfbff 00000000 00000000 00000000 CPU: Common caps: 3febfbff 00000000 00000000 00000000 CPU0: Intel(R) XEON(TM) CPU 2.20GHz stepping 04 per-CPU timeslice cutoff: 1463.11 usecs. enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Error: only one processor found. WARNING: No sibling found for CPU 0. ENABLING IO-APIC IRQs Setting 2 in the phys_id_present_map ...changing IO-APIC physical APIC ID to 2 ... ok. Setting 3 in the phys_id_present_map ...changing IO-APIC physical APIC ID to 3 ... ok. Setting 4 in the phys_id_present_map ...changing IO-APIC physical APIC ID to 4 ... ok. init IO_APIC IRQs IO-APIC (apicid-pin) 2-0, 2-3, 2-5, 2-10, 2-11, 2-16, 2-18, 2-19, 2-22, 3-1, 3-2, 3-3, 3-4, 3-5, 3-6, 3-7, 3-8, 3-9, 3-10, 3-11, 3-12, 3-13, 3-14, 3-15, 3-16, 3-17, 3-18, 3-19, 3-20, 3-21, 3-22, 3-23, 4-0, 4-1, 4-2, 4-3, 4-4, 4-5, 4-6, 4-7, 4-8, 4-9, 4-10, 4-11, 4-12, 4-13, 4-14, 4-15, 4-16, 4-17, 4-18, 4-19, 4-20, 4-21, 4-22, 4-23 not connected. ..TIMER: vector=0x31 pin1=2 pin2=0 number of MP IRQ sources: 17. number of IO-APIC #2 registers: 24. number of IO-APIC #3 registers: 24. number of IO-APIC #4 registers: 24. testing the IO APIC....................... IO APIC #2...... .... register #00: 02008000 ....... : physical APIC id: 02 WARNING: unexpected IO-APIC, please mail to linux-smp@vger.kernel.org .... register #01: 00178020 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0020 .... register #02: 00000000 ....... : arbitration: 00 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 000 00 1 0 0 0 0 0 0 00 01 001 01 0 0 0 0 0 1 1 39 02 001 01 0 0 0 0 0 1 1 31 03 000 00 1 0 0 0 0 0 0 00 04 001 01 0 0 0 0 0 1 1 41 05 000 00 1 0 0 0 0 0 0 00 06 001 01 0 0 0 0 0 1 1 49 07 001 01 0 0 0 0 0 1 1 51 08 001 01 0 0 0 0 0 1 1 59 09 001 01 0 0 0 0 0 1 1 61 0a 000 00 1 0 0 0 0 0 0 00 0b 000 00 1 0 0 0 0 0 0 00 0c 001 01 0 0 0 0 0 1 1 69 0d 001 01 0 0 0 0 0 1 1 71 0e 001 01 0 0 0 0 0 1 1 79 0f 001 01 0 0 0 0 0 1 1 81 10 000 00 1 0 0 0 0 0 0 00 11 001 01 1 1 0 1 0 1 1 89 12 000 00 1 0 0 0 0 0 0 00 13 000 00 1 0 0 0 0 0 0 00 14 001 01 1 1 0 1 0 1 1 91 15 001 01 1 1 0 1 0 1 1 99 16 000 00 1 0 0 0 0 0 0 00 17 001 01 1 1 0 1 0 1 1 A1 IO APIC #3...... .... register #00: 03000000 ....... : physical APIC id: 03 .... register #01: 00178020 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0020 .... register #02: 03000000 ....... : arbitration: 03 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 001 01 1 1 0 1 0 1 1 A9 01 000 00 1 0 0 0 0 0 0 00 02 000 00 1 0 0 0 0 0 0 00 03 000 00 1 0 0 0 0 0 0 00 04 000 00 1 0 0 0 0 0 0 00 05 000 00 1 0 0 0 0 0 0 00 06 000 00 1 0 0 0 0 0 0 00 07 000 00 1 0 0 0 0 0 0 00 08 000 00 1 0 0 0 0 0 0 00 09 000 00 1 0 0 0 0 0 0 00 0a 000 00 1 0 0 0 0 0 0 00 0b 000 00 1 0 0 0 0 0 0 00 0c 000 00 1 0 0 0 0 0 0 00 0d 000 00 1 0 0 0 0 0 0 00 0e 000 00 1 0 0 0 0 0 0 00 0f 000 00 1 0 0 0 0 0 0 00 10 000 00 1 0 0 0 0 0 0 00 11 000 00 1 0 0 0 0 0 0 00 12 000 00 1 0 0 0 0 0 0 00 13 000 00 1 0 0 0 0 0 0 00 14 000 00 1 0 0 0 0 0 0 00 15 000 00 1 0 0 0 0 0 0 00 16 000 00 1 0 0 0 0 0 0 00 17 000 00 1 0 0 0 0 0 0 00 IO APIC #4...... .... register #00: 04000000 ....... : physical APIC id: 04 .... register #01: 00178020 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0020 .... register #02: 04000000 ....... : arbitration: 04 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 000 00 1 0 0 0 0 0 0 00 01 000 00 1 0 0 0 0 0 0 00 02 000 00 1 0 0 0 0 0 0 00 03 000 00 1 0 0 0 0 0 0 00 04 000 00 1 0 0 0 0 0 0 00 05 000 00 1 0 0 0 0 0 0 00 06 000 00 1 0 0 0 0 0 0 00 07 000 00 1 0 0 0 0 0 0 00 08 000 00 1 0 0 0 0 0 0 00 09 000 00 1 0 0 0 0 0 0 00 0a 000 00 1 0 0 0 0 0 0 00 0b 000 00 1 0 0 0 0 0 0 00 0c 000 00 1 0 0 0 0 0 0 00 0d 000 00 1 0 0 0 0 0 0 00 0e 000 00 1 0 0 0 0 0 0 00 0f 000 00 1 0 0 0 0 0 0 00 10 000 00 1 0 0 0 0 0 0 00 11 000 00 1 0 0 0 0 0 0 00 12 000 00 1 0 0 0 0 0 0 00 13 000 00 1 0 0 0 0 0 0 00 14 000 00 1 0 0 0 0 0 0 00 15 000 00 1 0 0 0 0 0 0 00 16 000 00 1 0 0 0 0 0 0 00 17 000 00 1 0 0 0 0 0 0 00 IRQ to pin mappings: IRQ0 -> 0:2 IRQ1 -> 0:1 IRQ4 -> 0:4 IRQ6 -> 0:6 IRQ7 -> 0:7 IRQ8 -> 0:8 IRQ9 -> 0:9 IRQ12 -> 0:12 IRQ13 -> 0:13 IRQ14 -> 0:14 IRQ15 -> 0:15 IRQ17 -> 0:17 IRQ20 -> 0:20 IRQ21 -> 0:21 IRQ23 -> 0:23 IRQ24 -> 1:0 .................................... done. Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 2192.9022 MHz. ..... host bus clock speed is 99.6772 MHz. cpu: 0, clocks: 996772, slice: 498386 CPU0 Waiting on wait_init_idle (map = 0x0) All processors have done init_idle PCI: PCI BIOS revision 2.10 entry at 0xfd921, last bus=4 PCI: Using configuration type 1 PCI: Probing PCI hardware Unknown bridge resource 2: assuming transparent Unknown bridge resource 2: assuming transparent Unknown bridge resource 0: assuming transparent Unknown bridge resource 1: assuming transparent Unknown bridge resource 2: assuming transparent Unknown bridge resource 2: assuming transparent PCI: Using IRQ router PIIX [8086/2480] at 00:1f.0 PCI->APIC IRQ transform: (B0,I31,P0) -> 17 PCI->APIC IRQ transform: (B0,I31,P1) -> 17 PCI->APIC IRQ transform: (B2,I1,P0) -> 24 PCI->APIC IRQ transform: (B4,I3,P0) -> 21 PCI->APIC IRQ transform: (B4,I4,P0) -> 20 PCI->APIC IRQ transform: (B4,I5,P0) -> 23 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket apm: BIOS not found. mxt_scan_bios: enter Starting kswapd allocated 32 pages and 32 bhs reserved for the highmem bounces kinoded started VFS: Diskquotas version dquot_6.5.0 initialized ACPI: Core Subsystem version [20011018] ACPI: Subsystem enabled pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A Real Time Clock Driver v1.10e Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PIIX4: IDE controller on PCI bus 00 dev f9 PCI: Device 00:1f.1 not available because of resource collisions PIIX4: (ide_setup_pci_device:) Could not enable device. keyboard: Timeout - AT keyboard not present?(ed) keyboard: Timeout - AT keyboard not present?(f4) hda: SONY CD-ROM CDU5221, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: ATAPI 40X CD-ROM drive, 128kB Cache Uniform CD-ROM driver Revision: 3.12 ide-floppy driver 0.99.newide Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize loop: loaded (max 16 devices) Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994 Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak. ide-floppy driver 0.99.newide SCSI subsystem driver Revision: 1.00 kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 16384 buckets, 128Kbytes TCP: Hash tables configured (established 262144 bind 65536) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 576k freed VFS: Mounted root (ext2 filesystem). sym.2.1.0: setting PCI_COMMAND_PARITY... sym0: <1010-66> rev 0x1 on pci bus 2 device 1 function 0 irq 24 sym0: using 64 bit DMA addressing sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym0: SCSI BUS has been reset. scsi0 : sym-2.1.17a blk: queue c2ff9218, I/O limit 1048575Mb (mask 0xffffffffff) Vendor: IBM Model: IC35L018UWD210-0 Rev: S5BS Type: Direct-Access ANSI SCSI revision: 03 blk: queue c2ff9418, I/O limit 1048575Mb (mask 0xffffffffff) Vendor: IBM Model: IC35L036UWD210-0 Rev: S5BS Type: Direct-Access ANSI SCSI revision: 03 blk: queue c3583c18, I/O limit 1048575Mb (mask 0xffffffffff) sym0:0:0: tagged command queuing enabled, command queue depth 16. sym0:2:0: tagged command queuing enabled, command queue depth 16. Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi disk sdb at scsi0, channel 0, id 2, lun 0 sym0:0: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 62) SCSI device sda: 35843670 512-byte hdwr sectors (18352 MB) Partition check: sda: sda1 sda2 < sda5 sda6 sda7 sda8 > sym0:2: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 62) SCSI device sdb: 71687340 512-byte hdwr sectors (36704 MB) sdb: sdb1 reiserfs: checking transaction log (device 08:01) ... Warning, log replay starting on readonly filesystem Using r5 hash to sort names ReiserFS version 3.6.25 VFS: Mounted root (reiserfs filesystem) readonly. Trying to move old root to /initrd ... failed Unmounting old root Trying to free ramdisk memory ... okay Freeing unused kernel memory: 148k freed md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. Adding Swap: 2097136k swap-space (priority 42) reiserfs: checking transaction log (device 08:11) ... Using r5 hash to sort names ReiserFS version 3.6.25 reiserfs: checking transaction log (device 08:05) ... Using r5 hash to sort names ReiserFS version 3.6.25 reiserfs: checking transaction log (device 08:08) ... Using r5 hash to sort names ReiserFS version 3.6.25 reiserfs: checking transaction log (device 08:06) ... Using r5 hash to sort names ReiserFS version 3.6.25 Intel(R) PRO/100 Fast Ethernet Adapter - Loadable driver, ver 1.8.38 Copyright (c) 2002 Intel Corporation eth0: Intel(R) 8255x-based Ethernet Adapter Using specified speed/duplex mode of 4. Mem:0xfc341000 IRQ:20 Speed:0 Mbps Dx:N/A Failed to detect cable link. Speed and duplex will be determined at time of connection. Hardware receive checksums enabled cpu cycle saver enabled eth1: Intel(R) 8255x-based Ethernet Adapter Using specified speed/duplex mode of 4. Mem:0xfc342000 IRQ:23 Speed:0 Mbps Dx:N/A Failed to detect cable link. Speed and duplex will be determined at time of connection. Hardware receive checksums enabled cpu cycle saver enabled keyboard: Timeout - AT keyboard not present?(f4) keyboard: Timeout - AT keyboard not present?(f4) keyboard: Timeout - AT keyboard not present?(f4) keyboard: Timeout - AT keyboard not present?(f4) keyboard: Timeout - AT keyboard not present?(f4) isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found keyboard: Timeout - AT keyboard not present?(f4) IPv6 v0.8 for NET4.0 IPv6 over IPv4 tunneling driver eth0: no IPv6 routers present e100: eth0 NIC Link is Up 100 Mbps Full duplex e100: eth0 NIC Link is Down e100: eth0 NIC Link is Up 100 Mbps Full duplex e100: eth0 NIC Link is Down e100: eth0 NIC Link is Up 100 Mbps Full duplex --xHFwDpU9dbj6ez1V-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message