[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-smp
Subject:    Problem with SMP kernel
From:       Christophe CALMEJANE <killer () fleming ! u-psud ! fr>
Date:       2000-09-17 18:18:14
[Download RAW message or body]

Hi everybody,

I'm having problems with my smp-box. In fact I have 2 problems, one with 2.2.x \
kernels

and another with 2.4.0-testx kernels.

First, 2.2.x :

The kernel runs fine, but when running Xfree (3 or 4), my cpu load is always \
comprised

between 20% and 40%... even when doing NOTHING (just running X)

So, I tryed linux-2.4.0-test7 and test8, and I got a new problem (but I haven't the X \
problem anymore) :

I often have this kind of line in my kern.log :

Sep 17 19:43:40 orion kernel: APIC error on CPU0: 02(02)
Sep 17 19:50:59 orion kernel: APIC error on CPU0: 02(02)
Sep 17 19:55:03 orion kernel: APIC error on CPU0: 02(02)
Sep 17 20:02:42 orion kernel: APIC error on CPU0: 02(02)

even in console mode (no X running)... and finally, my box crashes after 2 days of \
uptime (or less).

Here are the useful informations about my running 2.4.0-test8 kernel:

[killer@orion linux]$ sh ./scripts/ver_linux
-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux orion 2.4.0-test8 #1 SMP Sun Sep 17 18:06:50 CEST 2000 i686 unknown
Kernel modules         2.3.16
Gnu C                  2.95.2
Binutils               2.10.0.24
Linux C Library        2.1.3
Dynamic linker         ldd: version 1.9.11
Procps                 2.0.6
Mount                  2.10o
Net-tools              2.05
Console-tools          0.2.3
Sh-utils               2.0i
Modules Loaded         snd-pcm-oss snd-pcm-plugin snd-mixer-oss snd-card-interwa      \
ve snd-cs4231 snd-gus snd-mixer snd-pcm snd-timer snd-rawmidi snd-seq-device snd

[killer@orion linux]$ more /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 6
model name      : Celeron (Mendocino)
stepping        : 5
cpu MHz         : 501.150472
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
sep_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat \
pse36 mmx fxsr bogomips        : 999.42

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 6
model name      : Celeron (Mendocino)
stepping        : 5
cpu MHz         : 501.150472
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
sep_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat \
pse36 mmx fxsr bogomips        : 999.42

[killer@orion linux]$ more /proc/modules
snd-pcm-oss            18352   1 (autoclean)
snd-pcm-plugin         14736   0 (autoclean) [snd-pcm-oss]
snd-mixer-oss           5152   1 (autoclean) [snd-pcm-oss]
snd-card-interwave      7632   2
snd-cs4231             21024   0 [snd-card-interwave]
snd-gus                36704   0 [snd-card-interwave]
snd-mixer              25136   0 [snd-mixer-oss snd-card-interwave snd-cs4231 \
snd-gus] snd-pcm                33728   0 [snd-pcm-oss snd-pcm-plugin snd-cs4231 \
snd-gus] snd-timer               9376   0 [snd-cs4231 snd-gus snd-pcm]
snd-rawmidi            10752   0 [snd-gus]
snd-seq-device          3856   0 [snd-gus snd-rawmidi]
snd                    37408   1 [snd-pcm-oss snd-pcm-plugin snd-mixer-oss \
snd-card-interwave snd-cs4231 snd-gus snd-mixer snd-pcm snd-timer snd-rawmidi \
snd-seq-device]

[killer@orion linux]$ more /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
0213-0213 : isapnp read
0220-022f : InterWave (Adlib/SB compatibility)
02f8-02ff : serial(set)
0320-032b : InterWave (synthesizer)
032c-032f : InterWave (CS4231)
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(set)
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
4000-403f : Intel Corporation 82371AB PIIX4 ACPI
5000-501f : Intel Corporation 82371AB PIIX4 ACPI
9000-9fff : PCI Bus #01
a000-a01f : Intel Corporation 82371AB PIIX4 USB
a400-a47f : Realtek Semiconductor Co., Ltd. RTL-8139
  a400-a47f : eth0
a800-a8ff : Adaptec AIC-7881U
  a800-a8fe : aic7xxx
ac00-ac1f : Creative Labs SB Live! EMU10000
b000-b007 : Creative Labs SB Live!
b400-b407 : Triones Technologies, Inc. HPT366
b800-b803 : Triones Technologies, Inc. HPT366
bc00-bcff : Triones Technologies, Inc. HPT366
  bc00-bc07 : ide1
  bc10-bcff : HPT366
c000-c007 : Triones Technologies, Inc. HPT366 (#2)
c400-c403 : Triones Technologies, Inc. HPT366 (#2)
c800-c8ff : Triones Technologies, Inc. HPT366 (#2)
  c800-c807 : ide2
  c810-c8ff : HPT366
f000-f00f : Intel Corporation 82371AB PIIX4 IDE
  f000-f007 : ide0

[killer@orion linux]$ more /proc/iomem
00000000-0009efff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000d0000-000d6fff : Extension ROM
000f0000-000fffff : System ROM
00100000-07ffffff : System RAM
  00100000-0024a58f : Kernel code
  0024a590-00264a5f : Kernel data
e0000000-e7ffffff : PCI Bus #01
  e0000000-e7ffffff : nVidia Corporation GeForce 256
e8000000-ebffffff : Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
ec000000-edffffff : PCI Bus #01
  ec000000-ecffffff : nVidia Corporation GeForce 256
f0000000-f000007f : Realtek Semiconductor Co., Ltd. RTL-8139
  f0000000-f000007f : eth0
f0001000-f0001fff : Adaptec AIC-7881U

[root@orion linux]# lspci -vvv
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- \
                SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort+ >SERR- <PERR-  Latency: 32
        Region 0: Memory at e8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [a0] AGP version 1.0
                Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03) \
                (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- \
                SERR+ FastB2B-
        Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort- >SERR- <PERR-  Latency: 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 00009000-00009fff
        Memory behind bridge: ec000000-edffffff
        Prefetchable memory behind bridge: e0000000-e7ffffff
        BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B+

00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- \
                SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort- >SERR- <PERR-  Latency: 0

00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 \
                [Master])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- \
                SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort- >SERR- <PERR-  Latency: 32
        Region 4: I/O ports at f000 [size=16]

00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 \
                [UHCI])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- \
                SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort- >SERR- <PERR-  Latency: 32
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at a000 [size=32]

00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- \
                SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort- >SERR- <PERR-

00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RT8139
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- \
                SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort- >SERR- <PERR-  Latency: 32 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 15
        Region 0: I/O ports at a400 [size=128]
        Region 1: Memory at f0000000 (32-bit, non-prefetchable) [size=128]

00:0d.0 SCSI storage controller: Adaptec AIC-7881U
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- \
                SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort- >SERR- <PERR-  Latency: 32 (2000ns min, 2000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at a800 [size=256]
        Region 1: Memory at f0001000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at ee000000 [disabled] [size=64K]

00:11.0 Multimedia audio controller: Creative Labs SB Live! EMU10000 (rev 07)
        Subsystem: Creative Labs CT4830 SBLive! Value
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- \
                SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort- >SERR- <PERR-  Latency: 32 (500ns min, 5000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at ac00 [size=32]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA \
PME(D0-,D1-,D2-,D3hot-,D3cold-)  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:11.1 Input device controller: Creative Labs SB Live! (rev 07)
        Subsystem: Creative Labs Gameport Joystick
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- \
                SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort- >SERR- <PERR-  Latency: 32
        Region 0: I/O ports at b000 [size=8]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA \
PME(D0-,D1-,D2-,D3hot-,D3cold-)  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:13.0 Unknown mass storage controller: Triones Technologies, Inc. HPT366 (rev 01)
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- \
                SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort- >SERR- <PERR-  Latency: 120 (2000ns min, 2000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 15
        Region 0: I/O ports at b400 [size=8]
        Region 1: I/O ports at b800 [size=4]
        Region 4: I/O ports at bc00 [size=256]
        Expansion ROM at ef000000 [disabled] [size=128K]

00:13.1 Unknown mass storage controller: Triones Technologies, Inc. HPT366 (rev 01)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- \
                SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort- >SERR- <PERR-  Latency: 120 (2000ns min, 2000ns max), cache line size 08
        Interrupt: pin B routed to IRQ 15
        Region 0: I/O ports at c000 [size=8]
        Region 1: I/O ports at c400 [size=4]
        Region 4: I/O ports at c800 [size=256]

01:00.0 VGA compatible controller: nVidia Corporation GeForce 256 (rev 10) (prog-if \
00 [VGA])  Subsystem: Guillemot Corporation: Unknown device 5022
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- \
                SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- \
<MAbort- >SERR- <PERR-  Latency: 32 (1250ns min, 250ns max)
        Interrupt: pin A routed to IRQ 12
        Region 0: Memory at ec000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at e0000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at ed000000 [disabled] [size=64K]
        Capabilities: [60] Power Management version 1
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA \
PME(D0-,D1-,D2-,D3hot-,D3cold-)  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [44] AGP version 2.0
                Status: RQ=31 SBA- 64bit- FW+ Rate=x1,x2
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

[killer@orion linux]$ more /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: QUANTUM  Model: XP39100S         Rev: LXY4
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: COMPAQ   Model: HD0093172C       Rev: 3208
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: MATSHITA Model: CD-R   CW-7502   Rev: 4.16
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: PIONEER  Model: CD-ROM DR-U10X   Rev: 1.07
  Type:   CD-ROM                           ANSI SCSI revision: 02

Thanks for any help :o)

PS: Please don't forget to also reply directly to me, as I didn't subscribe to the \
ml.

Ze KiLleR / SkyTech
-------------------
http://zekiller.skytech.org
http://christophe.calmejane.free.fr



-
To unsubscribe from this list: send the line "unsubscribe linux-smp" in
the body of a message to majordomo@vger.kernel.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic