From owner-freebsd-stable@FreeBSD.ORG Wed Mar 7 19:16:00 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26FB916A400 for ; Wed, 7 Mar 2007 19:16:00 +0000 (UTC) (envelope-from sbaskinger@lumeta.com) Received: from MAIL.corp.lumeta.com (zeus.lumeta.com [65.246.245.22]) by mx1.freebsd.org (Postfix) with ESMTP id C7F8313C478 for ; Wed, 7 Mar 2007 19:15:59 +0000 (UTC) (envelope-from sbaskinger@lumeta.com) Received: from [65.246.246.82] ([65.246.246.82]) by MAIL.corp.lumeta.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 7 Mar 2007 14:15:58 -0500 Message-ID: <45EF0EFA.6060100@lumeta.com> Date: Wed, 07 Mar 2007 14:14:02 -0500 From: Sam Baskinger Organization: Lumeta Corporation User-Agent: Thunderbird 1.5.0.9 (X11/20070212) MIME-Version: 1.0 To: Scott Long References: <45EEE409.6070106@lumeta.com> <45EF0CA7.5020007@samsco.org> In-Reply-To: <45EF0CA7.5020007@samsco.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 07 Mar 2007 19:15:58.0506 (UTC) FILETIME=[096DE0A0:01C760ED] Cc: freebsd-stable@freebsd.org, Ivan Voras Subject: Re: SMP doesn't work without ACPI? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 19:16:00 -0000 The 1950s that I have (IIRC as I installed them a few months ago) hang at about the same location when ACPI is enabled. I'll see if I can't pull one down and recreate the behavior. I should note that I'm running something after 6.2-RELEASE. Again, I'll try to recreate and get some data from the machines. Sam Scott Long wrote: > I've had no problem getting FreeBSD 6 to boot on Dell 1950 and 2950 > machines. Where does it hang for you, and what changes have you made > to your kernel config? > > Scott > > > Sam Baskinger wrote: >> Adding a datapoint: Dell 1950s exhibit similar behaviour but have 2 >> cores in a single physical CPU. >> >> Hope this helps the discussion along. >> >> Sam Baskinger >> Software Engineer >> >> Lumeta - Securing the Network in the Face of Change >> >> >> Ivan Voras wrote: >>> Continuing my problems with the IBM blade: Booting with ACPI module >>> enabled (btw. live boot CD with sysinstall doesn't load ACPI, but the >>> installed system does?) hangs the system somewhere after first USB bus >>> is found (booting verbose doesn't show any new lines before or after >>> this step). It appears to be a real hang instead of a timeout because I >>> left it 30 minutes and it didn't continue. >>> >>> Booting without ACPI on the other hand doesn't find all the CPU's :( >>> >>> Here's sysctl output: >>> >>>> sysctl -a | grep smp >>> kern.timecounter.smp_tsc: 0 >>> kern.smp.forward_roundrobin_enabled: 1 >>> kern.smp.forward_signal_enabled: 1 >>> kern.smp.cpus: 1 >>> kern.smp.disabled: 0 >>> kern.smp.active: 0 >>> kern.smp.maxcpus: 16 >>> >>> >>> Here's the mptable -dmesg output: >>> >>> >>> >>> =============================================================================== >>> >>> >>> MPTable >>> >>> ------------------------------------------------------------------------------- >>> >>> >>> MP Floating Pointer Structure: >>> >>> location: EBDA >>> physical address: 0x0009d140 >>> signature: '_MP_' >>> length: 16 bytes >>> version: 1.4 >>> checksum: 0xfe >>> mode: Virtual Wire >>> >>> ------------------------------------------------------------------------------- >>> >>> >>> MP Config Table Header: >>> >>> physical address: 0x0009e9b0 >>> signature: 'PCMP' >>> base table length: 388 >>> version: 1.4 >>> checksum: 0x77 >>> OEM ID: 'IBM ENSW' >>> Product ID: 'LEWIS SMP ' >>> OEM table pointer: 0x00000000 >>> OEM table size: 0 >>> entry count: 37 >>> local APIC address: 0xfee00000 >>> extended table length: 408 >>> extended table checksum: 159 >>> >>> ------------------------------------------------------------------------------- >>> >>> >>> MP Config Base Table Entries: >>> >>> -- >>> Processors: APIC ID Version State Family Model Step >>> Flags >>> 0 0x10 BSP, usable 15 1 2 >>> 0x0301 >>> 2 0x10 AP, usable 15 1 2 >>> 0x0301 >>> 1 0x10 AP, usable 15 1 2 >>> 0x0301 >>> 3 0x10 AP, usable 15 1 2 >>> 0x0301 >>> -- >>> Bus: Bus ID Type >>> 0 PCI >>> 1 PCI >>> 2 PCI >>> 3 PCI >>> 4 PCI >>> 5 PCI >>> 6 PCI >>> 7 PCI >>> 8 PCI >>> 9 ISA >>> -- >>> I/O APICs: APIC ID Version State Address >>> 14 0x11 usable 0xfec00000 >>> 13 0x11 usable 0xfec02000 >>> -- >>> I/O Ints: Type Polarity Trigger Bus ID IRQ APIC >>> ID PIN# >>> INT conforms conforms 9 1 >>> 14 1 >>> INT conforms conforms 9 0 >>> 14 2 >>> INT conforms conforms 9 4 >>> 14 4 >>> INT conforms conforms 9 6 >>> 14 6 >>> INT active-hi edge 9 8 >>> 14 8 >>> INT conforms conforms 9 11 >>> 14 11 >>> INT conforms conforms 9 12 >>> 14 12 >>> INT conforms conforms 9 13 >>> 14 13 >>> INT conforms conforms 9 14 >>> 14 14 >>> INT conforms conforms 9 15 >>> 14 15 >>> INT conforms conforms 0 3:A >>> 14 3 >>> INT conforms conforms 0 3:A >>> 14 3 >>> INT conforms conforms 0 3:A >>> 14 3 >>> INT conforms conforms 0 5:A >>> 13 0 >>> INT conforms conforms 2 4:A >>> 13 1 >>> INT conforms conforms 2 5:A >>> 13 2 >>> INT conforms conforms 3 4:A >>> 13 3 >>> INT conforms conforms 3 5:A >>> 13 4 >>> INT conforms conforms 3 5:B >>> 13 5 >>> -- >>> Local Ints: Type Polarity Trigger Bus ID IRQ APIC >>> ID PIN# >>> NMI conforms conforms 9 0 >>> 255 1 >>> ExtINT conforms conforms 9 0 >>> 255 0 >>> >>> ------------------------------------------------------------------------------- >>> >>> >>> MP Config Extended Table Entries: >>> >>> -- >>> System Address Space >>> bus ID: 0 address type: memory address >>> address base: 0xa0000 >>> address range: 0x20000 >>> -- >>> System Address Space >>> bus ID: 0 address type: memory address >>> address base: 0xf8000000 >>> address range: 0x2000000 >>> -- >>> System Address Space >>> bus ID: 0 address type: prefetch address >>> address base: 0xf0000000 >>> address range: 0x8000000 >>> -- >>> System Address Space >>> bus ID: 0 address type: memory address >>> address base: 0xea000000 >>> address range: 0x6000000 >>> -- >>> System Address Space >>> bus ID: 0 address type: memory address >>> address base: 0xe7000000 >>> address range: 0x1100000 >>> -- >>> System Address Space >>> bus ID: 0 address type: memory address >>> address base: 0xe5000000 >>> address range: 0x1000000 >>> -- >>> System Address Space >>> bus ID: 0 address type: memory address >>> address base: 0xe4000000 >>> address range: 0x1000000 >>> -- >>> System Address Space >>> bus ID: 0 address type: memory address >>> address base: 0xe3000000 >>> address range: 0x1000000 >>> -- >>> System Address Space >>> bus ID: 0 address type: memory address >>> address base: 0xe2000000 >>> address range: 0x1000000 >>> -- >>> System Address Space >>> bus ID: 0 address type: memory address >>> address base: 0xe1000000 >>> address range: 0x1000000 >>> -- >>> System Address Space >>> bus ID: 0 address type: I/O address >>> address base: 0x0 >>> address range: 0x3b0 >>> -- >>> System Address Space >>> bus ID: 0 address type: I/O address >>> address base: 0x3b0 >>> address range: 0xc >>> -- >>> System Address Space >>> bus ID: 0 address type: I/O address >>> address base: 0x3bc >>> address range: 0x4 >>> -- >>> System Address Space >>> bus ID: 0 address type: I/O address >>> address base: 0x3c0 >>> address range: 0x20 >>> -- >>> System Address Space >>> bus ID: 0 address type: I/O address >>> address base: 0x3e0 >>> address range: 0x3c20 >>> -- >>> System Address Space >>> bus ID: 0 address type: I/O address >>> address base: 0x4000 >>> address range: 0x1000 >>> -- >>> -- >>> Bus Heirarchy >>> bus ID: 1 bus info: 0x00 parent bus ID: 0 >>> -- >>> Bus Heirarchy >>> bus ID: 2 bus info: 0x00 parent bus ID: 1 >>> -- >>> Bus Heirarchy >>> bus ID: 3 bus info: 0x00 parent bus ID: 0 >>> -- >>> Bus Heirarchy >>> bus ID: 4 bus info: 0x00 parent bus ID: 0 >>> -- >>> Bus Heirarchy >>> bus ID: 5 bus info: 0x00 parent bus ID: 0 >>> -- >>> Bus Heirarchy >>> bus ID: 6 bus info: 0x00 parent bus ID: 0 >>> -- >>> Bus Heirarchy >>> bus ID: 7 bus info: 0x00 parent bus ID: 0 >>> -- >>> Bus Heirarchy >>> bus ID: 8 bus info: 0x00 parent bus ID: 0 >>> -- >>> Bus Heirarchy >>> bus ID: 9 bus info: 0x01 parent bus ID: 0 >>> -- >>> Compatibility Bus Address >>> bus ID: 0 address modifier: add >>> predefined range: 0x00000000 >>> -- >>> Compatibility Bus Address >>> bus ID: 0 address modifier: add >>> predefined range: 0x00000001 >>> >>> ------------------------------------------------------------------------------- >>> >>> >>> dmesg output: >>> >>> Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. >>> FreeBSD 6.2-STABLE #0: Wed Mar 7 15:08:28 CET 2007 >>> root@:/usr/obj/usr/src/sys/SMP >>> Timecounter "i8254" frequency 1193182 Hz quality 0 >>> CPU: Dual-Core AMD Opteron(tm) Processor 2216 HE (2400.10-MHz >>> K8-class CPU) >>> Origin = "AuthenticAMD" Id = 0x40f12 Stepping = 2 >>> >>> Features=0x178bfbff >>> >>> Features2=0x2001 >>> AMD >>> Features=0xea500800 >>> AMD Features2=0x1f >>> Cores per package: 2 >>> real memory = 4815060992 (4592 MB) >>> avail memory = 4130750464 (3939 MB) >>> kbd1 at kbdmux0 >>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, >>> RF5413) >>> cpu0 on motherboard >>> pcib0: pcibus 0 on motherboard >>> pci0: on pcib0 >>> pcib1: at device 1.0 on pci0 >>> pci1: on pcib1 >>> pcib2: at device 13.0 on pci1 >>> pci2: on pcib2 >>> bce0: mem >>> 0xea000000-0xebffffff irq 5 at device 4.0 on pci2 >>> bce0: ASIC ID 0x57060021; Revision (A2); PCI-X 64-bit 133MHz >>> miibus0: on bce0 >>> gentbi0: on miibus0 >>> gentbi0: 1000baseSX, 1000baseSX-FDX, auto >>> bce0: Ethernet address: 00:14:5e:6d:2d:74 >>> bce1: mem >>> 0xec000000-0xedffffff irq 10 at device 5.0 on pci2 >>> bce1: ASIC ID 0x57060021; Revision (A2); PCI-X 64-bit 133MHz >>> miibus1: on bce1 >>> gentbi1: on miibus1 >>> gentbi1: 1000baseSX, 1000baseSX-FDX, auto >>> bce1: Ethernet address: 00:14:5e:b3:2a:38 >>> isab0: at device 2.2 on pci0 >>> isa0: on isab0 >>> ohci0: port 0x3000-0x30ff mem >>> 0xf9fff000-0xf9ffffff irq 3 at device 3.0 on pci0 >>> ohci0: [GIANT-LOCKED] >>> usb0: OHCI version 1.0, legacy support >>> usb0: SMM does not respond, resetting >>> usb0: on ohci0 >>> usb0: USB revision 1.0 >>> uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >>> uhub0: 2 ports with 2 removable, self powered >>> ohci1: port 0x3100-0x31ff mem >>> 0xf9ffe000-0xf9ffefff irq 3 at device 3.1 on pci0 >>> ohci1: [GIANT-LOCKED] >>> usb1: OHCI version 1.0, legacy support >>> usb1: on ohci1 >>> usb1: USB revision 1.0 >>> uhub1: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >>> uhub1: 2 ports with 2 removable, self powered >>> ehci0: port 0x3200-0x32ff mem >>> 0xf9ffd000-0xf9ffdfff irq 3 at device 3.2 on pci0 >>> ehci0: [GIANT-LOCKED] >>> usb2: EHCI version 1.0 >>> usb2: companion controllers, 2 ports each: usb0 usb1 >>> usb2: on ehci0 >>> usb2: USB revision 2.0 >>> uhub2: (0x1166) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 >>> uhub2: 4 ports with 4 removable, self powered >>> uhub3: vendor 0x04b4 product 0x6560, class 9/0, rev 2.00/0.07, addr 2 >>> uhub3: multiple transaction translators >>> uhub3: 2 ports with 2 removable, self powered >>> uhub4: Cypress Semiconductor 4 Port Hub, class 9/0, rev 1.10/0.01, >>> addr 3 >>> uhub4: 4 ports with 4 removable, self powered >>> umass0: TEAC TEAC FD-05PUB, rev 2.00/0.00, addr 4 >>> umass1: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01, >>> addr 5 >>> umass1: Get Max Lun not supported (STALLED) >>> pci0: at device 5.0 (no driver attached) >>> pcib3: at device 6.0 on pci0 >>> pci3: on pcib3 >>> mpt0: port 0x4000-0x40ff mem >>> 0xe8010000-0xe8013fff,0xe8000000-0xe800ffff irq 9 at device 4.0 on pci3 >>> mpt0: [GIANT-LOCKED] >>> mpt0: MPI Version=1.5.12.0 >>> mpt0: mpt_cam_event: 0x16 >>> mpt0: Unhandled Event Notify Frame. Event 0x16 (ACK not required). >>> mpt0: mpt_cam_event: 0x12 >>> mpt0: Unhandled Event Notify Frame. Event 0x12 (ACK not required). >>> mpt0: mpt_cam_event: 0x16 >>> mpt0: Unhandled Event Notify Frame. Event 0x16 (ACK not required). >>> pci3: at device 5.0 (no driver attached) >>> pci3: at device 5.1 (no driver attached) >>> pcib4: at device 7.0 on pci0 >>> pci4: on pcib4 >>> pcib5: at device 8.0 on pci0 >>> pci5: on pcib5 >>> pcib6: at device 9.0 on pci0 >>> pci6: on pcib6 >>> pcib7: at device 10.0 on pci0 >>> pci7: on pcib7 >>> pcib8: at device 11.0 on pci0 >>> pci8: on pcib8 >>> orm0: at iomem 0xc0000-0xcafff on isa0 >>> atkbdc0: at port 0x60,0x64 on isa0 >>> atkbd0: irq 1 on atkbdc0 >>> kbd0 at atkbd0 >>> atkbd0: [GIANT-LOCKED] >>> ppc0: cannot reserve I/O port range >>> sc0: at flags 0x100 on isa0 >>> sc0: VGA <16 virtual consoles, flags=0x300> >>> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 >>> sio0: type 16550A >>> sio1: configured irq 3 not in bitmap of probed irqs 0 >>> sio1: port may not be enabled >>> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on >>> isa0 >>> ukbd0: IBM IBM MM2, rev 1.10/0.01, addr 2, iclass 3/1 >>> kbd2 at ukbd0 >>> ums0: IBM IBM MM2, rev 1.10/0.01, addr 2, iclass 3/1 >>> ums0: 3 buttons and Z dir. >>> Timecounter "TSC" frequency 2400100239 Hz quality 800 >>> Timecounters tick every 1.000 msec >>> da1 at mpt0 bus 0 target 0 lun 0 >>> da1: Fixed Direct Access SCSI-5 device >>> da1: 300.000MB/s transfers, Tagged Queueing Enabled >>> da1: 70006MB (143374000 512 byte sectors: 255H 63S/T 8924C) >>> cd0 at umass-sim1 bus 1 target 0 lun 0 >>> cd0: Removable CD-ROM SCSI-0 device >>> cd0: 1.000MB/s transfers >>> cd0: Attempt to query device size failed: NOT READY, Medium not present >>> (da0:umass-sim0:0:0:0): got CAM status 0x4 >>> (da0:umass-sim0:0:0:0): fatal error, failed to attach to device >>> (da0:umass-sim0:0:0:0): lost device >>> (da0:umass-sim0:0:0:0): removing device entry >>> Trying to mount root from ufs:/dev/da1s1a >>> stray irq7 >>> bce0: link state changed to DOWN >>> vlan0: link state changed to DOWN >>> bce0: link state changed to UP >>> vlan0: link state changed to UP >>> stray irq7 >>> too many stray irq 7's: not logging anymore >>> mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 129 >>> >>> >> >> >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > -- Sam Baskinger Software Engineer Lumeta - Securing the Network in the Face of Change