Re: SMP doesn't work without ACPI?

2007-03-09 Thread Ivan Voras
Ivan Voras wrote:

 Since I need it in production, I'll try i386 6.2-release+PAE...

Ok, PAE uniprocessor kernel boots fine, finds all the memory but I can't
create (clone) a vlan device (ifconfig vlan0 create). It fails with an
error in SIOCIFCREATE.

Since creating vlan0 worked in amd64 mode (and is probably
64-bit-friendly), is it a problem with PAE?





signature.asc
Description: OpenPGP digital signature


Re: SMP doesn't work without ACPI?

2007-03-09 Thread Ivan Voras
Ivan Voras wrote:
 Ivan Voras wrote:
 
 Since I need it in production, I'll try i386 6.2-release+PAE...
 
 Ok, PAE uniprocessor kernel boots fine, finds all the memory but I can't
 create (clone) a vlan device (ifconfig vlan0 create). It fails with an
 error in SIOCIFCREATE.
 
 Since creating vlan0 worked in amd64 mode (and is probably
 64-bit-friendly), is it a problem with PAE?

Ok, I found it - on a non-PAE system this works because ifconfig
automagically loads if_vlan.ko, but since there are no modules in PAE
kernel, this obviously fails... (so I'll build device vlan into the kernel)



signature.asc
Description: OpenPGP digital signature


Re: SMP doesn't work without ACPI?

2007-03-08 Thread Ivan Voras
Vivek Khera wrote:
 
 On Mar 7, 2007, at 2:14 PM, Sam Baskinger wrote:
 
 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.
 
 Try this one:
 
 debug.acpi.disabled=timer

No luck, same as before.




signature.asc
Description: OpenPGP digital signature


Re: SMP doesn't work without ACPI?

2007-03-08 Thread Ivan Voras
Ivan Voras wrote:
 Scott Long wrote:
 Do you not have 'device apic' in your config?
 
 Hmm, no. This is the generic SMP kernel (amd64) and grepping the
 sys/amd64/conf directory for apic doesn't give any useful results, not
 even in the NOTES file.

apic device is unknown on amd64.

I see the device acpi is included in the kernel instead of as a module -
is this an amd64 quirk?




signature.asc
Description: OpenPGP digital signature


Re: SMP doesn't work without ACPI?

2007-03-08 Thread Ivan Voras
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.

I've managed to narrow it down. I went on to try 7-CURRENT but
accidentally booted the i386 version, which booted without a glitch and
recognized all processors, then switched to amd64 version which hanged
with or without ACPI, at different places.

Since I need it in production, I'll try i386 6.2-release+PAE...



signature.asc
Description: OpenPGP digital signature


SMP doesn't work without ACPI?

2007-03-07 Thread Ivan Voras
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:0x
  OEM table size:   0
  entry count:  37
  local APIC address:   0xfee0
  extended table length:408
  extended table checksum:  159

---

MP Config Base Table Entries:

--
Processors: APIC ID Version State   Family  Model   Step
Flags
 0   0x10BSP, usable 15  1   2
 0x0301
 2   0x10AP, usable  15  1   2
 0x0301
 1   0x10AP, usable  15  1   2
 0x0301
 3   0x10AP, 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   0x11usable  0xfec0
13   0x11usable  0xfec02000
--
I/O Ints:   TypePolarityTrigger Bus ID   IRQAPIC ID PIN#
INT  conformsconforms9 1 141
INT  conformsconforms9 0 142
INT  conformsconforms9 4 144
INT  conformsconforms9 6 146
INT active-hiedge9 8 148
INT  conformsconforms911 14   11
INT  conformsconforms912 14   12
INT  conformsconforms913 14   13
INT  conformsconforms914 14   14
INT  conformsconforms915 14   15
INT  conformsconforms0   3:A 143
INT  conformsconforms0   3:A 143
INT  conformsconforms0   3:A 143
INT  conformsconforms0   5:A 130
INT  conformsconforms2   4:A 131
INT  conformsconforms2   5:A 132
INT  conformsconforms3   4:A 133
INT  conformsconforms3   5:A 134
INT  conformsconforms3   5:B 135
--
Local Ints: TypePolarityTrigger Bus ID   IRQAPIC ID PIN#
NMI  conformsconforms9 02551
ExtINT   conformsconforms9 02550

---

MP Config Extended Table Entries:

--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xa
 address range: 0x2
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xf800
 address range: 0x200
--
System Address Space
 bus ID: 0 address type: prefetch 

Re: SMP doesn't work without ACPI?

2007-03-07 Thread Sam Baskinger
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:0x
  OEM table size:   0
  entry count:  37
  local APIC address:   0xfee0
  extended table length:408
  extended table checksum:  159

---

MP Config Base Table Entries:

--
Processors: APIC ID Version State   Family  Model   Step
Flags
 0   0x10BSP, usable 15  1   2
 0x0301
 2   0x10AP, usable  15  1   2
 0x0301
 1   0x10AP, usable  15  1   2
 0x0301
 3   0x10AP, 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   0x11usable  0xfec0
13   0x11usable  0xfec02000
--
I/O Ints:   TypePolarityTrigger Bus ID   IRQAPIC ID PIN#
INT  conformsconforms9 1 141
INT  conformsconforms9 0 142
INT  conformsconforms9 4 144
INT  conformsconforms9 6 146
INT active-hiedge9 8 148
INT  conformsconforms911 14   11
INT  conformsconforms912 14   12
INT  conformsconforms913 14   13
INT  conformsconforms914 14   14
INT  conformsconforms915 14   15
INT  conformsconforms0   3:A 143
INT  conformsconforms0   3:A 143
INT  conformsconforms0   3:A 143
INT  conformsconforms0   5:A 130
INT  conformsconforms2   4:A 131
INT  conformsconforms2   5:A 132
INT  conformsconforms3   4:A 133
INT  conformsconforms3   5:A 134
INT  conformsconforms3   5:B 135
--
Local Ints: TypePolarityTrigger Bus ID   IRQAPIC ID PIN#
NMI  conformsconforms9 02551
ExtINT   conformsconforms9 02550

---

MP Config Extended Table Entries:

--
System Address Space
 bus ID: 0 

Re: SMP doesn't work without ACPI?

2007-03-07 Thread Ivan Voras

 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-0xf9ff irq 3 at device 3.0 on pci0
 ohci0: [GIANT-LOCKED]
 usb0: OHCI version 1.0, legacy support

To add more info: SMP+ACPI kernel hangs here 

 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]

But I must use USB for this:

 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.

(Blade center's management console)

 Timecounter TSC frequency 2400100239 Hz quality 800
 Timecounters tick every 1.000 msec

And the big timeout (which I think relates to an umass device, referred
to in a previous post) happens here , with or without SMP and ACPI.

 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




signature.asc
Description: OpenPGP digital signature


Re: SMP doesn't work without ACPI?

2007-03-07 Thread Karl Denninger
H  I have a Dual-core (one physical package) Intel motherboard
machine here that's working fine (6.2-STABLE)

FreeBSD 6.2-STABLE #3: Wed Feb 28 16:11:56 CST 2007 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/KSD-SMP 

kern.timecounter.smp_tsc: 0
kern.smp.maxcpus: 16
kern.smp.active: 1
kern.smp.disabled: 0
kern.smp.cpus: 2
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1

I beat it up pretty hard too; its got a fairly active Postgres database on
it, multiple RAID spindles under Gmirror, runs web services, firewall
functions, multiple serial ports on USB adapters, etc.

--
-- 
Karl Denninger ([EMAIL PROTECTED]) Internet Consultant  Kids Rights Activist
http://www.denninger.netMy home on the net - links to everything I do!
http://scubaforum.org   Your UNCENSORED place to talk about DIVING!
http://genesis3.blogspot.comMusings Of A Sentient Mind

On Wed, Mar 07, 2007 at 11:10:49AM -0500, 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:0x
   OEM table size:   0
   entry count:  37
   local APIC address:   0xfee0
   extended table length:408
   extended table checksum:  159
 
 ---
 
 MP Config Base Table Entries:
 
 --
 Processors: APIC ID Version State   Family  Model   Step
 Flags
  0   0x10BSP, usable 15  1   2
  0x0301
  2   0x10AP, usable  15  1   2
  0x0301
  1   0x10AP, usable  15  1   2
  0x0301
  3   0x10AP, 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   0x11usable  0xfec0
 13   0x11usable  0xfec02000
 --
 I/O Ints:   TypePolarityTrigger Bus ID   IRQAPIC ID 
 PIN#
 INT  conformsconforms9 1 14
 1
 INT  conformsconforms9 0 14
 2
 INT  conformsconforms9 4 14
 4
 INT  conformsconforms9 6 14
 6
 INT active-hiedge9 8 14
 8
 INT  conformsconforms911 14   
 11
 INT  conformsconforms912 14   
 12
 INT  conformsconforms913 14   
 13

Re: SMP doesn't work without ACPI?

2007-03-07 Thread Scott Long

Do you not have 'device apic' in your config?

Scott


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:0x
  OEM table size:   0
  entry count:  37
  local APIC address:   0xfee0
  extended table length:408
  extended table checksum:  159

---

MP Config Base Table Entries:

--
Processors: APIC ID Version State   Family  Model   Step
Flags
 0   0x10BSP, usable 15  1   2
 0x0301
 2   0x10AP, usable  15  1   2
 0x0301
 1   0x10AP, usable  15  1   2
 0x0301
 3   0x10AP, 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   0x11usable  0xfec0
13   0x11usable  0xfec02000
--
I/O Ints:   TypePolarityTrigger Bus ID   IRQAPIC ID PIN#
INT  conformsconforms9 1 141
INT  conformsconforms9 0 142
INT  conformsconforms9 4 144
INT  conformsconforms9 6 146
INT active-hiedge9 8 148
INT  conformsconforms911 14   11
INT  conformsconforms912 14   12
INT  conformsconforms913 14   13
INT  conformsconforms914 14   14
INT  conformsconforms915 14   15
INT  conformsconforms0   3:A 143
INT  conformsconforms0   3:A 143
INT  conformsconforms0   3:A 143
INT  conformsconforms0   5:A 130
INT  conformsconforms2   4:A 131
INT  conformsconforms2   5:A 132
INT  conformsconforms3   4:A 133
INT  conformsconforms3   5:A 134
INT  conformsconforms3   5:B 135
--
Local Ints: TypePolarityTrigger Bus ID   IRQAPIC ID PIN#
NMI  conformsconforms9 02551
ExtINT   conformsconforms9 02550

---

MP Config Extended Table Entries:

--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xa
 address range: 0x2
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xf800
 address 

Re: SMP doesn't work without ACPI?

2007-03-07 Thread Scott Long
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:0x
  OEM table size:   0
  entry count:  37
  local APIC address:   0xfee0
  extended table length:408
  extended table checksum:  159

--- 



MP Config Base Table Entries:

--
Processors: APIC ID Version State   Family  Model   Step
Flags
 0   0x10BSP, usable 15  1   2
 0x0301
 2   0x10AP, usable  15  1   2
 0x0301
 1   0x10AP, usable  15  1   2
 0x0301
 3   0x10AP, 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   0x11usable  0xfec0
13   0x11usable  0xfec02000
--
I/O Ints:   TypePolarityTrigger Bus ID   IRQAPIC 
ID PIN#
INT  conformsconforms9 1 
141
INT  conformsconforms9 0 
142
INT  conformsconforms9 4 
144
INT  conformsconforms9 6 
146
INT active-hiedge9 8 
148
INT  conformsconforms911 
14   11
INT  conformsconforms912 
14   12
INT  conformsconforms913 
14   13
INT  conformsconforms914 
14   14
INT  conformsconforms915 
14   15
INT  conformsconforms0   3:A 
143
INT  conformsconforms0   3:A 
143
INT  conformsconforms0   3:A 
143
INT  conformsconforms0   5:A 
130
INT  conformsconforms2   4:A 
131
INT  conformsconforms2   5:A 
132
INT  conformsconforms3   4:A 
133
INT  conformsconforms3   5:A 
134
INT  conformsconforms3   5:B 
135

--
Local Ints: TypePolarityTrigger Bus ID   IRQAPIC 
ID PIN#
NMI  conformsconforms9 0
2551
  

Re: SMP doesn't work without ACPI?

2007-03-07 Thread Sam Baskinger
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:0x
  OEM table size:   0
  entry count:  37
  local APIC address:   0xfee0
  extended table length:408
  extended table checksum:  159

--- 



MP Config Base Table Entries:

--
Processors: APIC ID Version State   Family  Model   Step
Flags
 0   0x10BSP, usable 15  1   2
 0x0301
 2   0x10AP, usable  15  1   2
 0x0301
 1   0x10AP, usable  15  1   2
 0x0301
 3   0x10AP, 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   0x11usable  0xfec0
13   0x11usable  0xfec02000
--
I/O Ints:   TypePolarityTrigger Bus ID   IRQAPIC 
ID PIN#
INT  conformsconforms9 1 
141
INT  conformsconforms9 0 
142
INT  conformsconforms9 4 
144
INT  conformsconforms9 6 
146
INT active-hiedge9 8 
148
INT  conformsconforms911 
14   11
INT  conformsconforms912 
14   12
INT  conformsconforms913 
14   13
INT  conformsconforms914 
14   14
INT  conformsconforms915 
14   15
INT  conformsconforms0   3:A 
143
INT  conformsconforms0   3:A 
143
INT  conformsconforms0   3:A 
143
INT  conformsconforms0   5:A 
130
INT  conformsconforms2   4:A 
131
INT  conformsconforms2   5:A 
132
INT  conformsconforms3   4:A 

Re: SMP doesn't work without ACPI?

2007-03-07 Thread Ivan Voras
Scott Long wrote:
 Do you not have 'device apic' in your config?

Hmm, no. This is the generic SMP kernel (amd64) and grepping the
sys/amd64/conf directory for apic doesn't give any useful results, not
even in the NOTES file.




signature.asc
Description: OpenPGP digital signature


Re: SMP doesn't work without ACPI?

2007-03-07 Thread Vivek Khera


On Mar 7, 2007, at 2:14 PM, Sam Baskinger wrote:

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.


Try this one:

debug.acpi.disabled=timer

in your /boot/loader.conf or at the boot loader prompt type set  
followed by the above all in one line, then continue the boot.


My Dell PE800 won't boot without that... hangs at the raid card probe  
(aac).