Hello,
I have some problems and questions running a linux SMP kernel and X. I built a SMP
kernel from linux2.2.6 without any problems. Everything boots fine, but X acts funny.
The window manager (does not matter which one, afterstep, fvwm, olwm, etc.) does not
track the window focus. I move the mouse and the focus does not change to the new
window. I even single click on the title bar and the window still does not get the
focus.
If I build a 2.2.6 kernel without SMP the windowing system works fine. Argg. Me
thinks it has to do with interrupts.
I'm running an older INTEL system that uses dual Pentium 166 Mhz processors. It
supports Intel MultiProcessor Specification v1.4 . Below is the boot info from dmesg
and the info from "cat /proc/cpuinfo" .
Has anyone ever had this problem?
Cheers,
Curt
"dmesg"
--------------------------------------------------------
hematite:~# dmesg
Linux version 2.2.6 (root@jaspar) (gcc version 2.7.2.3) #3 SMP Wed Apr 21 18:40:48 PDT
1999
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: INTEL Product ID: XXPRESS APIC at: 0xFEE00000
Processor #0 Pentium(tm) APIC version 16
Processor #3 Pentium(tm) APIC version 16
I/O APIC #14 Version 17 at 0xFEC00000.
Processors: 2
mapped APIC to ffffe000 (fee00000)
mapped IOAPIC to ffffd000 (fec00000)
Detected 166676509 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 66.36 BogoMIPS
Memory: 128184k/131072k available (876k kernel code, 416k reserved, 1552k data, 44k
init)
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
per-CPU timeslice cutoff: 1.56 usecs.
CPU0: Intel Pentium 75 - 200 stepping 0c
calibrating APIC timer ...
..... CPU clock speed is 166.6759 MHz.
..... system bus clock speed is 66.6702 MHz.
Booting processor 3 eip 2000
Calibrating delay loop... 66.56 BogoMIPS
OK.
CPU3: Intel Pentium 75 - 200 stepping 0c
Total of 2 processors activated (132.92 BogoMIPS).
enabling symmetric IO mode... ...done.
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC pin 0 not connected.
number of MP IRQ sources: 16.
number of IO-APIC registers: 16.
testing the IO APIC.......................
.... register #00: 0E000000
....... : physical APIC id: 0E
.... register #01: 000F0011
....... : max redirection entries: 000F
....... [IO-APIC cannot route PCI PIRQ 0-3]
....... : IO APIC version: 0011
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 000 00 0 0 0 0 0 1 1 59
02 0FF 0F 0 0 0 0 0 1 1 51
03 000 00 0 0 0 0 0 1 1 61
04 000 00 0 0 0 0 0 1 1 69
05 000 00 0 0 0 0 0 1 1 71
06 000 00 0 0 0 0 0 1 1 79
07 000 00 0 0 0 0 0 1 1 81
08 000 00 0 0 0 0 0 1 1 89
09 000 00 0 0 0 0 0 1 1 91
0a 0FF 0F 1 1 0 0 0 1 1 99
0b 0FF 0F 1 1 0 0 0 1 1 A1
0c 000 00 0 0 0 0 0 1 1 A9
0d 000 00 1 0 0 0 0 0 0 00
0e 000 00 0 0 0 0 0 1 1 B1
0f 000 00 0 0 0 0 0 1 1 B9
IRQ to pin mappings:
IRQ0 -> 2
IRQ1 -> 1
IRQ3 -> 3
IRQ4 -> 4
IRQ5 -> 5
IRQ6 -> 6
IRQ7 -> 7
IRQ8 -> 8
IRQ9 -> 9
IRQ10 -> 10
IRQ11 -> 11
IRQ12 -> 12
IRQ13 -> 13
IRQ14 -> 14
IRQ15 -> 15
.................................... done.
PCI: PCI BIOS revision 2.10 entry at 0xfca41
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Discovered primary peer bus 01
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
Initializing RT netlink socket
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP,ECP,ECPPS2]
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
hda: WDC AC313000R, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: WDC AC313000R, 12416MB w/512kB Cache, CHS=1582/255/63
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 82078.
Partition check:
hda: hda1 hda2 hda3
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 44k freed
Adding Swap: 128516k swap-space (priority -1)
tulip.c:v0.89H 5/23/98 [EMAIL PROTECTED]
eth0: Lite-On 82c168 PNIC at 0xec00, 00 a0 cc 27 2d ed, IRQ 10.
eth0: MII transceiver found at MDIO address 1, config 3100 status 7829.
eth0: Advertising 01e1 on PHY 1, previously advertising 01e1.
eth0: Changing PNIC configuration to half-duplex, CSR6 812e0000.
"cat /proc/cpuinfo"
--------------------------------------------------------
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 2
model name : Pentium 75 - 200
stepping : 12
cpu MHz : 166.676509
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : yes
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 apic
bogomips : 66.36
processor : 3
vendor_id : GenuineIntel
cpu family : 5
model : 2
model name : Pentium 75 - 200
stepping : 12
cpu MHz : 166.676509
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : yes
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 apic
bogomips : 66.56
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]