Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Mar 2007 15:53:10 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-stable@freebsd.org
Subject:   SMP doesn't work without ACPI?
Message-ID:  <esmjkl$33l$1@sea.gmane.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig0BCB13133CBA8DB2E0342808
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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:



=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D

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 P=
IN#
                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 P=
IN#
                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 CP=
U)
  Origin =3D "AuthenticAMD"  Id =3D 0x40f12  Stepping =3D 2

Features=3D0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=3D0x2001<SSE3,CX16>
  AMD Features=3D0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow=
!>
  AMD Features2=3D0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
  Cores per package: 2
real memory  =3D 4815060992 (4592 MB)
avail memory =3D 4130750464 (3939 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413=
)
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCI-PCI bridge> at device 13.0 on pci1
pci2: <PCI bus> on pcib2
bce0: <Broadcom NetXtreme II BCM5706 1000Base-SX (A2), v0.9.6> mem
0xea000000-0xebffffff irq 5 at device 4.0 on pci2
bce0: ASIC ID 0x57060021; Revision (A2); PCI-X 64-bit 133MHz
miibus0: <MII bus> on bce0
gentbi0: <Generic ten-bit interface> on miibus0
gentbi0:  1000baseSX, 1000baseSX-FDX, auto
bce0: Ethernet address: 00:14:5e:6d:2d:74
bce1: <Broadcom NetXtreme II BCM5706 1000Base-SX (A2), v0.9.6> mem
0xec000000-0xedffffff irq 10 at device 5.0 on pci2
bce1: ASIC ID 0x57060021; Revision (A2); PCI-X 64-bit 133MHz
miibus1: <MII bus> on bce1
gentbi1: <Generic ten-bit interface> on miibus1
gentbi1:  1000baseSX, 1000baseSX-FDX, auto
bce1: Ethernet address: 00:14:5e:b3:2a:38
isab0: <PCI-ISA bridge> at device 2.2 on pci0
isa0: <ISA bus> on isab0
ohci0: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <display, VGA> at device 5.0 (no driver attached)
pcib3: <PCI-PCI bridge> at device 6.0 on pci0
pci3: <PCI bus> on pcib3
mpt0: <LSILogic SAS/SATA Adapter> port 0x4000-0x40ff mem
0xe8010000-0xe8013fff,0xe8000000-0xe800ffff irq 9 at device 4.0 on pci3
mpt0: [GIANT-LOCKED]
mpt0: MPI Version=3D1.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: <serial bus, Fibre Channel> at device 5.0 (no driver attached)
pci3: <serial bus, Fibre Channel> at device 5.1 (no driver attached)
pcib4: <PCI-PCI bridge> at device 7.0 on pci0
pci4: <PCI bus> on pcib4
pcib5: <PCI-PCI bridge> at device 8.0 on pci0
pci5: <PCI bus> on pcib5
pcib6: <PCI-PCI bridge> at device 9.0 on pci0
pci6: <PCI bus> on pcib6
pcib7: <PCI-PCI bridge> at device 10.0 on pci0
pci7: <PCI bus> on pcib7
pcib8: <PCI-PCI bridge> at device 11.0 on pci0
pci8: <PCI bus> on pcib8
orm0: <ISA Option ROM> at iomem 0xc0000-0xcafff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
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: <Generic ISA VGA> 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: <IBM-ESXS MAY2073RC T107> 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: <HL-DT-ST RW/DVD GCC-4244N 1.02> 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



--------------enig0BCB13133CBA8DB2E0342808
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Thunderbird/FreeBSD - http://enigmail.mozdev.org

iD8DBQFF7tHWldnAQVacBcgRArc4AKDZg7Q3iDq9DKhwHVp3Gg/HGoNgVACcCeSd
yjUWSn0TwZh3TO72CoKMBOQ=
=8Pt8
-----END PGP SIGNATURE-----

--------------enig0BCB13133CBA8DB2E0342808--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?esmjkl$33l$1>