From owner-freebsd-smp@FreeBSD.ORG Sun Jun 27 07:58:35 2004 Return-Path: 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 C331416A4CE for ; Sun, 27 Jun 2004 07:58:35 +0000 (GMT) Received: from linda-2.paradise.net.nz (bm-2a.paradise.net.nz [202.0.58.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4232543D2D for ; Sun, 27 Jun 2004 07:58:35 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from smtp-1.paradise.net.nz (smtp-1a.paradise.net.nz [202.0.32.194]) by linda-2.paradise.net.nz (Paradise.net.nz) with ESMTP id <0HZY00NUQJH03K@linda-2.paradise.net.nz> for freebsd-smp@freebsd.org; Sun, 27 Jun 2004 19:58:12 +1200 (NZST) Received: from paradise.net.nz (203-96-145-129.adsl.paradise.net.nz [203.96.145.129]) by smtp-1.paradise.net.nz (Postfix) with ESMTP id DD65182959; Sun, 27 Jun 2004 19:58:11 +1200 (NZST) Date: Sun, 27 Jun 2004 20:00:27 +1200 From: Mark Kirkwood In-reply-to: <40A32FB4.2030601@paradise.net.nz> To: Mark Kirkwood Message-id: <40DE7E9B.90007@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040404 References: <40A32FB4.2030601@paradise.net.nz> cc: freebsd-smp@freebsd.org Subject: Re: SMP disables USB mass storage in Freebsd 4.9 (and 4.10 too) X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2004 07:58:35 -0000 After a fresh install, this problem manifests in 4.10 too. regards Mark Mark Kirkwood wrote: > Dear list, > > I have a Tyan Tiger 133 / S1834 running Freebsd 4.9 RELEASE that > exhibits the following: > > booting with SMP and APIC_IO *disabled* lets me plug in usb devices > and mount them - e.g: > > > May 11 22:50:19 istral /kernel.STANDARD: umass0: Creative Tech NOMAD > MuVo, rev 1.10/0.01, addr 2 > May 11 22:50:19 istral /kernel.STANDARD: umass0: Get Max Lun not > supported (IOERROR) May 11 22:50:19 istral /kernel.STANDARD: da0 at > umass-sim0 bus 0 target 0 lun 0 > May 11 22:50:19 istral /kernel.STANDARD: da0: 0001> Removable Direct Access SCSI-4 device > May 11 22:50:19 istral /kernel.STANDARD: da0: 650KB/s transfers > May 11 22:50:19 istral /kernel.STANDARD: da0: 125MB (256001 512 byte > sectors: 64H 32S/T 125C) > > > whereas with them enabled I cannot - e.g: > > > May 12 22:29:23 istral /kernel.SMP: uhub0: device problem, disabling > port 1 > > > The difference between STANDARD and GENERIC is > > $ diff STANDARD GENERIC > 21,23c21,23 > < #cpu I386_CPU > < #cpu I486_CPU > < #cpu I586_CPU > --- > > cpu I386_CPU > > cpu I486_CPU > > cpu I586_CPU > 25c25 > < ident STANDARD > --- > > ident GENERIC > 29d28 > < makeoptions COPTFLAGS="-O2 -pipe -funroll-loops -ffast-math" > 118d116 > < device atapicam # CAM Cooked SCSI device > > The difference between SMP and STANDARD is > $ diff STANDARD SMP > 65,66c65,66 > < #options SMP # Symmetric MultiProcessor Kernel > < #options APIC_IO # Symmetric (APIC) I/O > --- > > options SMP # Symmetric MultiProcessor Kernel > > options APIC_IO # Symmetric (APIC) I/O > > My mptable: > > =============================================================================== > > > MPTable, version 2.0.15 > > ------------------------------------------------------------------------------- > > > MP Floating Pointer Structure: > > location: BIOS > physical address: 0x000f5940 > signature: '_MP_' > length: 16 bytes > version: 1.1 > checksum: 0x80 > mode: Virtual Wire > > ------------------------------------------------------------------------------- > > > MP Config Table Header: > > physical address: 0x000f1400 > signature: 'PCMP' > base table length: 260 > version: 1.1 > checksum: 0xd5 > OEM ID: 'OEM00000' > Product ID: 'PROD00000000' > OEM table pointer: 0x00000000 > OEM table size: 0 > entry count: 24 > 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 8 3 0xfbff > 1 0x11 AP, usable 6 8 3 0xfbff > -- > Bus: Bus ID Type > 0 PCI > 1 PCI 2 ISA > -- > I/O APICs: APIC ID Version State Address > 2 0x11 usable 0xfec00000 > -- > I/O Ints: Type Polarity Trigger Bus ID IRQ APIC > ID PIN# > ExtINT conforms conforms 2 0 > 2 0 > INT conforms conforms 2 1 2 1 > INT conforms conforms 2 0 2 2 > INT conforms conforms 2 3 2 3 > INT conforms conforms 2 4 2 4 > INT conforms conforms 2 6 2 6 > INT conforms conforms 2 7 2 7 > INT active-hi edge 2 8 2 8 > INT conforms conforms 2 9 2 9 > INT conforms conforms 2 12 2 12 > INT conforms conforms 2 13 2 13 > INT conforms conforms 2 14 2 14 > INT conforms conforms 2 15 2 15 > INT active-lo level 2 11 2 16 > INT active-lo level 2 10 2 18 > INT active-lo level 2 5 2 19 > -- > Local Ints: Type Polarity Trigger Bus ID IRQ APIC > ID PIN# > ExtINT conforms conforms 2 0 > 255 0 > NMI conforms conforms 2 0 255 1 > > =============================================================================== > > > My general configuration is: > > Tyan Tiger 133 S1834:VIA 82C691 PCI/82C596 ATA/83C572 USB > 2xPIII 700 100Mhz > 4x512Mb Kingston DIMM > 2x40G Maxtor +8 connected to Promise TX2000 PCI RAID > 1xMatrix Millenium II AGP > > Any ideas would be greatly appreciated, as it is very convenient to > have USB working without having to effectively "lose" a CPU. > > (As a general note Freebsd/SMP on this box seems to work flawlessly > apart from this issue!) > > regards > > Mark > > _______________________________________________ > freebsd-smp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-smp > To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org" > > From owner-freebsd-smp@FreeBSD.ORG Mon Jun 28 13:11:06 2004 Return-Path: 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 3828F16A4CE for ; Mon, 28 Jun 2004 13:11:06 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.240]) by mx1.FreeBSD.org (Postfix) with SMTP id 17AA943D41 for ; Mon, 28 Jun 2004 13:11:06 +0000 (GMT) (envelope-from davehart@gmail.com) Received: by mproxy.gmail.com with SMTP id r62so255808cwc for ; Mon, 28 Jun 2004 06:11:04 -0700 (PDT) Received: by 10.38.97.59 with SMTP id u59mr30560rnb; Mon, 28 Jun 2004 06:11:04 -0700 (PDT) Message-ID: <85d95418040628061151d9e0e@mail.gmail.com> Date: Mon, 28 Jun 2004 13:11:04 +0000 From: Dave Hart To: Chris Stenton In-Reply-To: <004101c45921$4f6e0660$4b7ba8c0@gnome.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <004101c45921$4f6e0660$4b7ba8c0@gnome.co.uk> cc: freebsd-smp@freebsd.org Subject: Re: setiathome issues on 5.2.1 SMP X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 13:11:06 -0000 On Wed, 23 Jun 2004 13:55:07 +0100, Chris Stenton wrote: > > I have 2 xeon processors and thus when I start setiathome I get 4 copies > started. > > When I do make -j8 buildworld I notice a 20% performance improvement when > I remove setiathome. I am sure when I tried this a couple of years ago on my > old P4 that the difference was not so marked on a single processor. [...] Were you testing with two logical processors on that single P4 (hyperthreading)? It seems to me you have two issues, one is SMP, the other SMP on top of virtual processors provided by hyperthreading. To be more comparable with your experience a couple of years ago on your old P4, you should compare make -j4 buildworld alone vs. with setiathome on a system with hyperthreading disabled (logical CPUs halted). Dave Hart From owner-freebsd-smp@FreeBSD.ORG Mon Jun 28 21:25:21 2004 Return-Path: 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 5A05D16A4CE for ; Mon, 28 Jun 2004 21:25:21 +0000 (GMT) Received: from mailserv1.neuroflux.com (mailserv1.neuroflux.com [204.228.228.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFB6543D2D for ; Mon, 28 Jun 2004 21:25:20 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 73139 invoked by uid 89); 28 Jun 2004 21:27:54 -0000 Received: from unknown (HELO www2.neuroflux.com) (127.0.0.1) by localhost with SMTP; 28 Jun 2004 21:27:54 -0000 Received: from 208.4.77.15 (SquirrelMail authenticated user ryans@gamersimpact.com) by www2.neuroflux.com with HTTP; Mon, 28 Jun 2004 15:27:54 -0600 (MDT) Message-ID: <49195.208.4.77.15.1088458074.squirrel@www2.neuroflux.com> Date: Mon, 28 Jun 2004 15:27:54 -0600 (MDT) From: "Ryan Sommers" To: smp@freebsd.org, current@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: multipart/mixed;boundary="----=_20040628152754_24536" X-Priority: 3 Importance: Normal Subject: Compaq Proliant 1600 & SMP X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 21:25:21 -0000 ------=_20040628152754_24536 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit I'm attempting to run 5.2-RELEASE (downloaded the latest RELENG_5_2 last week) on a Compaq Proliant 1600 w/ Dual 350mhz processors. Runs fine with the exception that the OS only seems to be recognizing a single processor. I have compiled a kernel with SMP and APIC but still doesn't seem to show more than the single processor. Any ideas? Ryan Sommes ryans@gamersimpact.com ------=_20040628152754_24536 Content-Type: text/plain; name="/root/dmesg.txt" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="/root/dmesg.txt" Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RELEASE-p8 #0: Fri Jun 25 20:39:50 CDT 2004 root@moleman:/usr/obj/usr/src/sys/MOLEMAN Preloaded elf kernel "/boot/kernel/kernel" at 0xc0744000. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (349.19-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x651 Stepping = 1 Features=0x183f9ff real memory = 603979776 (576 MB) avail memory = 581230592 (554 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pci0: at device 11.0 (no driver attached) pcib1: at device 13.0 on pci0 pci1: on pcib1 tl0: port 0x2880-0x288f mem 0xc6ffdd70-0xc6ffdd7f irq 9 at device 7.0 on pci1 tl0: Ethernet address: 00:08:c7:4c:64:fc miibus0: on tl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tlphy0: on miibus0 tlphy0: 10base2/BNC, 10base5/AUI sym0: <875> port 0x2000-0x20ff mem 0xc6fff000-0xc6ffffff,0xc6ffdf00-0xc6ffdfff irq 10 at device 9.0 on pci1 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym1: <875> port 0x2400-0x24ff mem 0xc6ffe000-0xc6ffefff,0xc6ffde00-0xc6ffdeff irq 11 at device 9.1 on pci1 sym1: No NVRAM, ID 7, Fast-20, SE, parity checking xl0: <3Com 3c980 Fast Etherlink XL> port 0x2800-0x287f mem 0xc6ffdd80-0xc6ffddff irq 5 at device 11.0 on pci1 xl0: Ethernet address: 00:10:4b:8e:55:30 miibus1: on xl0 xlphy0: <3Com internal media interface> on miibus1 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 14.0 (no driver attached) isab0: at device 20.0 on pci0 isa0: on isab0 atapci0: port 0xf100-0xf10f at device 20.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 20.2 (no driver attached) piix0: port 0xf040-0xf04f at device 20.3 on pci0 Timecounter "PIIX" frequency 3579545 Hz quality 0 eisa0: on motherboard mainboard0: on eisa0 slot 0 orm0: