From owner-freebsd-proliant@FreeBSD.ORG Wed Oct 4 10:46:16 2006 Return-Path: X-Original-To: freebsd-proliant@FreeBSD.org Delivered-To: freebsd-proliant@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBF1016A416; Wed, 4 Oct 2006 10:46:15 +0000 (UTC) (envelope-from anders@fupp.net) Received: from fupp.net (totem.fix.no [80.91.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FCF343D55; Wed, 4 Oct 2006 10:46:06 +0000 (GMT) (envelope-from anders@fupp.net) Received: from localhost (totem.fix.no [80.91.36.20]) by fupp.net (Postfix) with ESMTP id 7B5C38D98A7; Wed, 4 Oct 2006 12:46:05 +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 74610-01-10; Wed, 4 Oct 2006 12:46:04 +0200 (CEST) Received: by fupp.net (Postfix, from userid 1000) id CA6268D98AD; Wed, 4 Oct 2006 12:46:04 +0200 (CEST) Date: Wed, 4 Oct 2006 12:46:04 +0200 From: Anders Nordby To: freebsd-proliant@FreeBSD.org Message-ID: <20061004104604.GC23653@fupp.net> References: <200601052220.k05MK78w044322@freefall.freebsd.org> <200601060753.18180.jhb@freebsd.org> <20061004104415.GB23653@fupp.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="oC1+HKm2/end4ao3" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20061004104415.GB23653@fupp.net> 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: jhb@FreeBSD.org Subject: Re: Compaq DL 360 SMP problem (was: i386/89545: Compaq DL 360 ACPI boot problem) X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 10:46:16 -0000 --oC1+HKm2/end4ao3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi, Posting this on -proliant also, as this is a problem with a Proliant system. On Wed, Oct 04, 2006 at 12:44:15PM +0200, Anders Nordby wrote: > 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. -- Anders. --oC1+HKm2/end4ao3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="acpidump.txt" Content-Transfer-Encoding: quoted-printable /* RSD PTR: OEM=3DCOMPAQ, ACPI_Rev=3D1.0x (0) RSDT=3D0x67ffc000, cksum=3D250 */ /* RSDT: Length=3D52, Revision=3D1, Checksum=3D69, OEMID=3DCOMPAQ, OEM Table ID=3DMICRO, OEM Revision=3D0x2, Creator ID=3D=D2=04, Creator Revision=3D0x162e Entries=3D{ 0x67ffc040, 0x67ffc100, 0x67fff800, 0x67ffc180 } */ /* FACP: Length=3D116, Revision=3D1, Checksum=3D110, OEMID=3DCOMPAQ, OEM Table ID=3DMICRO, OEM Revision=3D0x2, Creator ID=3D=D2=04, Creator Revision=3D0x162e FACS=3D0x67ffc0c0, DSDT=3D0x67ffc200 INT_MODEL=3DAPIC Preferred_PM_Profile=3DUnspecified (0) SCI_INT=3D9 SMI_CMD=3D0x230, ACPI_ENABLE=3D0x1, ACPI_DISABLE=3D0x0, S4BIOS_REQ=3D0x0 PSTATE_CNT=3D0x0 PM1a_EVT_BLK=3D0x220-0x223 PM1a_CNT_BLK=3D0x230-0x231 PM_TMR_BLK=3D0x240-0x243 P_LVL2_LAT=3D65535 us, P_LVL3_LAT=3D65535 us FLUSH_SIZE=3D0, FLUSH_STRIDE=3D0 DUTY_OFFSET=3D0, DUTY_WIDTH=3D0 DAY_ALRM=3D0, MON_ALRM=3D0, CENTURY=3D0 IAPC_BOOT_ARCH=3D Flags=3D{WBINVD,PROC_C1,SLP_BUTTON,FIX_RTC} */ /* FACS: Length=3D64, HwSig=3D0x0000abcd, Firm_Wake_Vec=3D0x00000000 Global_Lock=3D Flags=3D Version=3D0 */ /* DSDT: Length=3D8075, Revision=3D1, Checksum=3D89, OEMID=3DCOMPAQ, OEM Table ID=3DDSDT, OEM Revision=3D0x1, Creator ID=3DMSFT, Creator Revision=3D0x100000b */ /* APIC: Length=3D94, Revision=3D1, Checksum=3D76, OEMID=3DCOMPAQ, OEM Table ID=3D00000083, OEM Revision=3D0x2, Creator ID=3D, Creator Revision=3D0x0 Local APIC ADDR=3D0xfee00000 Flags=3D{PC-AT} Type=3DLocal APIC ACPI CPU=3D0 Flags=3D{ENABLED} APIC ID=3D0 Type=3DLocal APIC ACPI CPU=3D1 Flags=3D{DISABLED} APIC ID=3D1 Type=3DLocal APIC ACPI CPU=3D2 Flags=3D{DISABLED} APIC ID=3D2 Type=3DLocal APIC ACPI CPU=3D3 Flags=3D{ENABLED} APIC ID=3D3 Type=3DIO APIC APIC ID=3D8 INT BASE=3D0 ADDR=3D0x00000000fec00000 Type=3DLocal NMI ACPI CPU=3DALL LINT Pin=3D1 Flags=3D{Polarity=3Dconforming, Trigger=3Dconforming} */ /* SSDT: Length=3D546, Revision=3D1, Checksum=3D240, OEMID=3DCOMPAQ, OEM Table ID=3DSSDT, OEM Revision=3D0x1, Creator ID=3DMSFT, Creator Revision=3D0x100000b */ /* SPCR: Length=3D80, Revision=3D1, Checksum=3D14, OEMID=3DCOMPAQ, OEM Table ID=3DSPCR_ROM, OEM Revision=3D0x1, Creator ID=3D=D2=04, Creator Revision=3D0x162e */ --oC1+HKm2/end4ao3--