From owner-freebsd-smp@FreeBSD.ORG Sun Oct 22 20:20:19 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org 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 88CEF16A407; Sun, 22 Oct 2006 20:20:13 +0000 (UTC) (envelope-from anders@FreeBSD.org) Received: from fupp.net (totem.fix.no [80.91.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54C6543D49; Sun, 22 Oct 2006 20:20:11 +0000 (GMT) (envelope-from anders@FreeBSD.org) Received: from localhost (totem.fix.no [80.91.36.20]) by fupp.net (Postfix) with ESMTP id 99EB68D98BE; Sun, 22 Oct 2006 22:20:09 +0200 (CEST) Received: from fupp.net ([80.91.36.20]) by localhost (totem.fix.no [80.91.36.20]) (amavisd-new, port 10024) with LMTP id 46189-02-5; Sun, 22 Oct 2006 22:20:08 +0200 (CEST) Received: by fupp.net (Postfix, from userid 1000) id 910278D98B9; Sun, 22 Oct 2006 22:20:08 +0200 (CEST) Date: Sun, 22 Oct 2006 22:20:08 +0200 From: Anders Nordby To: Peter Blok Message-ID: <20061022202008.GA32530@fupp.net> References: <20061004104415.GB23653@fupp.net> <000901c6e7a9$0b32b680$8a01a8c0@beast> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <000901c6e7a9$0b32b680$8a01a8c0@beast> X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 User-Agent: Mutt/1.5.11 Cc: freebsd-acpi@freebsd.org, freebsd-smp@freebsd.org Subject: Re: Compaq DL 360 SMP problem (was: i386/89545: Compaq DL 360 ACPIboot problem) X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2006 20:20:19 -0000 Hi, Nope. This system takes only two processors. It's a 1U system, with not much space. I could however get SMP working by switching to another OS profile (Linux) in the system configuration. The server is old enough to require a (SmartStart) CD for this to happen, I can not access that configuration without it. After I did the change, I can see that the CPU has the feature APIC: CPU: Intel Pentium III (797.48-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383fbff Before that, it did not: CPU: Intel Pentium III (797.48-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383f9ff PS: Sorry it took some time to check up on this. The server is in a co-location facility, and I don't go there often. On Wed, Oct 04, 2006 at 01:34:24PM +0200, Peter Blok wrote: > According to the acpidump you have CPU=0 and CPU=3. CPU 1 and CPU 2 are > marked disabled. Are you able to move the CPU hardware wise? > > Peter > > -----Original Message----- > From: owner-freebsd-smp@freebsd.org [mailto:owner-freebsd-smp@freebsd.org] > On Behalf Of Anders Nordby > Sent: Wednesday, October 04, 2006 12:44 PM > To: John Baldwin > Cc: freebsd-acpi@freebsd.org; freebsd-smp@freebsd.org > Subject: Re: Compaq DL 360 SMP problem (was: i386/89545: Compaq DL 360 > ACPIboot problem) > > Hi, > > And old mail here, but I still have this problem getting SMP to work on > the machine. > > On Fri, Jan 06, 2006 at 07:53:17AM -0500, John Baldwin wrote: > >> How can I get SMP running? This worked in 5.x and 4.x, I believe. > > 2) Re: SMP, just to make sure, do you have 'device apic' and 'options SMP' > in > > your kernel? Also, can you provide the output of 'acpidump -t' so I can > see > > what your APIC table (MADT) looks like. Also, does the kernel find SMP if > > > you disable ACPI? > > Yes, apic is enabled in the kernel that I run. ACPI is loaded as a > kernel module. If I disable ACPI, FreeBSD also finds only one processor. > > I still use the custom dsdt as modified after getting instructions by > you in this PR http://www.freebsd.org/cgi/query-pr.cgi?pr=89545. The > modifications are: > > --- vm.asl Sat Jan 7 12:06:14 2006 > +++ vm-fixed.asl Sat Jan 7 12:08:04 2006 > @@ -5,13 +5,13 @@ > /* > RSDT: Length=52, Revision=1, Checksum=69, > OEMID=COMPAQ, OEM Table ID=MICRO, OEM Revision=0x2, > - Creator ID=Ò, Creator Revision=0x162e > + Creator ID=ASL Creator Revision=0x162e > Entries={ 0x67ffc040, 0x67ffc100, 0x67fff800, 0x67ffc180 } > */ > /* > FACP: Length=116, Revision=1, Checksum=110, > OEMID=COMPAQ, OEM Table ID=MICRO, OEM Revision=0x2, > - Creator ID=Ò, Creator Revision=0x162e > + Creator ID=ASL Creator Revision=0x162e > FACS=0x67ffc0c0, DSDT=0x67ffc200 > INT_MODEL=APIC > Preferred_PM_Profile=Unspecified (0) > @@ -84,7 +84,7 @@ > /* > SPCR: Length=80, Revision=1, Checksum=14, > OEMID=COMPAQ, OEM Table ID=SPCR_ROM, OEM Revision=0x1, > - Creator ID=Ò, Creator Revision=0x162e > + Creator ID=ASL Creator Revision=0x162e > */ > /* > * Intel ACPI Component Architecture > @@ -1573,7 +1573,7 @@ > Else > { > Store ("PCI0._PRT in PIC mode", Debug) > - Return (Package (0x08) > + Return (Package (0x07) > { > Package (0x04) > { > @@ -1588,14 +1588,6 @@ > 0x0001FFFF, > 0x01, > ITR2, > - 0x00 > - }, > - > - Package (0x04) > - { > - 0x0004FFFF, > - 0x00, > - FAKE, > 0x00 > }, > > I'm running 6.1 on the system now, but still FreeBSD sees only one CPU. > When booting the system it lists two: > > Processor 1 initialized at 800/133 MHz with 256 Kbyte Cache > > Processor 2 initialized at 800/133 MHz with 256 Kbyte Cache > > > If I try to run with acpi but without the modified dsdt, I get these > pci/cpu/apic/acpi messages on boot: > > CPU: Intel Pentium III (797.48-MHz 686-class CPU) > acpi0: on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0 > cpu0: on acpi0 > pcib0: on acpi0 > pci_link0: apparently invalid index 0 > pci0: on pcib0 > ida0: port 0x2000-0x20ff mem > 0xc5000000-0xc5ffffff,0xc4000000-0xc4ffffff irq 5 at device 1.0 on pci0 > pci0: at device 3.0 (no driver attached) > pci0: at device 4.0 (no driver attached) > pcib1: at device 5.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > pci0: at device 5.1 (no driver attached) > isab0: at device 15.0 on pci0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2800-0x280f at device 15.1 on pci0 > ata0: on atapci0 > ata1: on atapci0 > pcib2: on acpi0 > pci_link4: BIOS IRQ 7 for 3.4.INTA is invalid > pci_link2: BIOS IRQ 3 for 3.6.INTA is invalid > pci3: on pcib2 > fxp0: port 0x4000-0x403f mem > 0xc6fff000-0xc6ffffff,0xc6e00000-0xc6efffff irq 10 at device 4.0 on pci3 > fxp1: port 0x4040-0x407f mem > 0xc6dff000-0xc6dfffff,0xc6c00000-0xc6cfffff irq 10 at device 5.0 on pci3 > ida1: port 0x4400-0x44ff mem > 0xc6bff000-0xc6bfffff irq 9 at device 6.0 on pci3 > acpi_tz0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > fdc0: port 0x3f2-0x3f5 irq 6 drq 2 on acpi0 > sio0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > > With the custom dsdt, I get: > > CPU: Intel Pentium III (797.48-MHz 686-class CPU) > ACPI-0377: *** Info: Table [SSDT] replaced by host OS > ACPI: overriding DSDT/SSDT with custom table > ACPI-0377: *** Info: Table [DSDT] replaced by host OS > acpi0: on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0 > cpu0: on acpi0 > pcib0: on acpi0 > pci0: on pcib0 > ida0: port 0x2000-0x20ff mem > 0xc5000000-0xc > 5ffffff,0xc4000000-0xc4ffffff irq 5 at device 1.0 on pci0 > pci0: at device 3.0 (no driver attached) > pci0: at device 4.0 (no driver attached) > pcib1: at device 5.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > pci0: at device 5.1 (no driver attached) > isab0: at device 15.0 on pci0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x17 > 7,0x376,0x2800-0x280f at device 15.1 on pci0 > ata0: on atapci0 > ata1: on atapci0 > pcib2: on acpi0 > pci_link4: BIOS IRQ 7 for 3.4.INTA is invalid > pci_link2: BIOS IRQ 3 for 3.6.INTA is invalid > pci3: on pcib2 > fxp0: port 0x4000-0x403f mem > 0xc6fff000-0xc6fffff > f,0xc6e00000-0xc6efffff irq 10 at device 4.0 on pci3 > fxp1: port 0x4040-0x407f mem > 0xc6dff000-0xc6dffff > f,0xc6c00000-0xc6cfffff irq 10 at device 5.0 on pci3 > ida1: port 0x4400-0x44ff mem > 0xc6bff000-0xc > 6bfffff irq 9 at device 6.0 on pci3 > acpi_tz0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > fdc0: port 0x3f2-0x3f5 irq 6 drq 2 on acpi0 > sio0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > > If I run without ACPI, I get: > > CPU: Intel Pentium III (797.48-MHz 686-class CPU) > cpu0 on motherboard > pcib0: pcibus 0 on > motherboard > pci0: on pcib0 > ida0: port 0x2000-0x20ff mem > 0xc5000000-0xc > 5ffffff,0xc4000000-0xc4ffffff irq 5 at device 1.0 on pci0 > pci0: at device 3.0 (no driver attached) > pci0: at device 4.0 (no driver attached) > pcib1: at device 5.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > pci0: at device 5.1 (no driver attached) > isab0: at device 15.0 on pci0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x17 > 7,0x376,0x2800-0x280f at device 15.1 on pci0 > ata0: on atapci0 > ata1: on atapci0 > pcib3: pcibus 3 on > motherboard > pci3: on pcib3 > fxp0: port 0x4000-0x403f mem > 0xc6fff000-0xc6fffff > f,0xc6e00000-0xc6efffff irq 7 at device 4.0 on pci3 > fxp1: port 0x4040-0x407f mem > 0xc6dff000-0xc6dffff > f,0xc6c00000-0xc6cfffff irq 10 at device 5.0 on pci3 > ida1: port 0x4400-0x44ff mem > 0xc6bff000-0xc > 6bfffff irq 3 at device 6.0 on pci3 > > In any case, I only get one CPU. How to fix? > > Acpidump attached. > > Bye, > > -- > Anders. > > _______________________________________________ > 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" -- Anders. From owner-freebsd-smp@FreeBSD.ORG Tue Oct 24 21:19:53 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org 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 0140D16A47B for ; Tue, 24 Oct 2006 21:19:53 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70F4B43D69 for ; Tue, 24 Oct 2006 21:19:52 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k9OLJnm1012182; Tue, 24 Oct 2006 17:19:49 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-smp@freebsd.org Date: Tue, 24 Oct 2006 16:07:43 -0400 User-Agent: KMail/1.9.1 References: <453A56D8.8020402@visi.com> In-Reply-To: <453A56D8.8020402@visi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610241607.43614.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 24 Oct 2006 17:19:49 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/2092/Tue Oct 24 14:25:03 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: Turion X2 Laptop SMP Problem X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2006 21:19:53 -0000 On Saturday 21 October 2006 13:20, Dan Olson wrote: > > Hello All > > I just bought a HP dv6119us Turion X2 laptop and can't seem to get it to > do SMP. > > To get it to boot I have to add to the boot prompt or loader.conf > > set hint.apic.0.disabled=1 > set hint.sio.0.disabled=1 > set hint.sio.1.disabled=1 > > When booting with apic enabled the system slows to a crawl and the > keyboard input is slow. To slow to register key events or log in. > > Below is a verbose dmesg with apic disabled on 6.2 beta2. > > Does anyone have any suggestions on getting SMP to work or diagnosing > the problem? > > I've seen another complaint from July 06 but no resolution. > > http://lists.freebsd.org/pipermail/freebsd-amd64/2006-July/008508.html > > I'm working on submitting a PR for this. Can you leave APIC enabled but disable just SMP via kern.smp.disabled=1 to see if it boots up ok? -- John Baldwin From owner-freebsd-smp@FreeBSD.ORG Thu Oct 26 09:16:00 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org 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 0A67A16A403 for ; Thu, 26 Oct 2006 09:16:00 +0000 (UTC) (envelope-from bounce@trivetsoft.fi) Received: from beta.trivetsoft.fi (beta.trivetsoft.fi [192.130.48.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B83843D55 for ; Thu, 26 Oct 2006 09:15:58 +0000 (GMT) (envelope-from bounce@trivetsoft.fi) Received: (from bounce@localhost) by beta.trivetsoft.fi (8.11.6/8.11.6) id k9Q95Z606523; Thu, 26 Oct 2006 12:05:35 +0300 Date: Thu, 26 Oct 2006 12:05:35 +0300 From: bounce@trivetsoft.fi Message-Id: <200610260905.k9Q95Z606523@beta.trivetsoft.fi> To: freebsd-smp@freebsd.org References: <20061026091546.D6401C483@smtp.tele.fi> In-Reply-To: <20061026091546.D6401C483@smtp.tele.fi> X-Loop: bounce@trivetsoft.fi Precedence: junk Subject: Re: STATUS X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2006 09:16:00 -0000 Hyvä vastaanottaja, Viestiäsi ei voitu toimittaa perille koska sähköpostiosoitteemme ovat muuttuneet yritysjärjestelyiden johdosta. Uudet sähköpostiosoitteemme ovat muotoa etunimi.sukunimi@basware.com Terveisin Basware Oyj Pori --------------------------------------------------------------------- Your email could not be delivered because our email addresses have changed after merger with Basware. Our new email addresses are firstname.lastname@basware.com. From owner-freebsd-smp@FreeBSD.ORG Sat Oct 28 00:10:46 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org 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 6982C16A407; Sat, 28 Oct 2006 00:10:46 +0000 (UTC) (envelope-from danolson@visi.com) Received: from cenn.mc.mpls.visi.com (cenn.mc.mpls.visi.com [208.42.156.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25AB443D45; Sat, 28 Oct 2006 00:10:45 +0000 (GMT) (envelope-from danolson@visi.com) Received: from [192.168.240.220] (danolson.dsl.visi.com [209.98.225.50]) by cenn.mc.mpls.visi.com (Postfix) with ESMTP id EC53E8110; Fri, 27 Oct 2006 19:10:44 -0500 (CDT) Message-ID: <45429FFF.40305@visi.com> Date: Fri, 27 Oct 2006 19:10:39 -0500 From: Dan Olson User-Agent: Thunderbird 1.5.0.7 (X11/20061014) MIME-Version: 1.0 To: John Baldwin References: <453A56D8.8020402@visi.com> <200610241607.43614.jhb@freebsd.org> In-Reply-To: <200610241607.43614.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-smp@freebsd.org Subject: Re: Turion X2 Laptop SMP Problem X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Oct 2006 00:10:46 -0000 John Baldwin wrote: > On Saturday 21 October 2006 13:20, Dan Olson wrote: >> Hello All >> >> I just bought a HP dv6119us Turion X2 laptop and can't seem to get it to >> do SMP. >> >> To get it to boot I have to add to the boot prompt or loader.conf >> >> set hint.apic.0.disabled=1 >> set hint.sio.0.disabled=1 >> set hint.sio.1.disabled=1 >> >> When booting with apic enabled the system slows to a crawl and the >> keyboard input is slow. To slow to register key events or log in. >> >> Below is a verbose dmesg with apic disabled on 6.2 beta2. >> >> Does anyone have any suggestions on getting SMP to work or diagnosing >> the problem? >> >> I've seen another complaint from July 06 but no resolution. >> >> http://lists.freebsd.org/pipermail/freebsd-amd64/2006-July/008508.html >> >> I'm working on submitting a PR for this. > > Can you leave APIC enabled but disable just SMP via kern.smp.disabled=1 to see > if it boots up ok? > Sorry for the delay. Real life intruded. Using: set kern.smp.diabled=1 boot at the loader prompt doesn't fix it. The same symptoms persist I've filed a pr with more info with a verbose boot message with apic enabled. i386/104678 http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/104678 Thanks for taking an interest in this. Dan