Raghava Raju | 3 Jul 2003 07:31
Picon
Favicon

delegating to a cpu

Hi, 

Currently interrupt handler in our driver uses
tasklet to process some of less important info
to save some interrupt time. But problem is that
tasklet ends up in the same cpu, and second  cpu 
is not taking much of the work. 
1) Is there any mechanism to delegate the less
important work to other cpu an example would really 
help.
2) We dont have multiple interrupts, so please 
dont give irq affinity solution!!
3) Our kernel version is 2.4.19.

please cc at vraghava_raju <at> yahoo.com.

Raju.

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-smp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

raptor | 3 Jul 2003 20:44

io apic

I saw a message so that i have sent this so I'm sending it :")
This is Gentoo Linux installation :

Linux bugsbunny.tvskat.net 2.4.20-gentoo-r1 #10   23 11:28:42 EEST 2003 i686 GenuineIntel
Celeron 2GHZ <at> 2.5GHz (not smp)
Just upgraded my mobo to Gygabyte GA-8IPE1000 (Intel 865PE chipset), so that it can 
be upgrade problem ...

#dmesg
...
ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
init IO_APIC IRQs
 IO-APIC (apicid-pin) 2-0, 2-5, 2-6, 2-9, 2-11, 2-20, 2-22 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 25.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
.......    : physical APIC id: 02
.... register #01: 00178020
.......     : max redirection entries: 0017
.......     : PRQ implemented: 1
.......     : IO APIC version: 0020
.... register #02: 00178020
.......     : arbitration: 00
 WARNING: unexpected IO-APIC, please mail
(Continue reading)

Constantin Pankratov | 4 Jul 2003 07:56
Picon

Error message in Kernel


-- 
WBR,
 Konstantin Pankratov       mailto:cp <at> scb.e-burg.ru
Linux version 2.4.20-18.9custom (root <at> Budda) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #2
Thu Jul 3 14:02:26 YEKST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e6000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003ef30000 (usable)
 BIOS-e820: 000000003ef30000 - 000000003ef40000 (ACPI data)
 BIOS-e820: 000000003ef40000 - 000000003eff0000 (ACPI NVS)
 BIOS-e820: 000000003eff0000 - 000000003f000000 (reserved)
 BIOS-e820: 00000000fecf0000 - 00000000fecf1000 (reserved)
 BIOS-e820: 00000000fed20000 - 00000000feda0000 (reserved)
111MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000ff780
hm, page 000ff000 reserved twice.
hm, page 00100000 reserved twice.
hm, page 000fc000 reserved twice.
hm, page 000fd000 reserved twice.
On node 0 totalpages: 257840
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 28464 pages.
ACPI: Searched entire block, no RSDP was found.
ACPI: RSDP located at physical address c00f58f0
(Continue reading)

Gaius Mulley | 6 Jul 2003 14:37
Picon

unexpected IO-APIC found


Hi,

as requested by console messages, here is the complete output of dmesg
from a dual opteron machine. [ The motherboard is MS-9131 SSI ].

I hope the following info is useful and keep up the excellent work!

Gaius

Linux version 2.4.21 (root <at> lancelot) (gcc version 2.95.4 20011002 (Debian prerelease)) #9 SMP Wed Jul 2
17:15:58 BST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
 BIOS-e820: 000000003fff0000 - 000000003ffff000 (ACPI data)
 BIOS-e820: 000000003ffff000 - 0000000040000000 (ACPI NVS)
 BIOS-e820: 00000000ff7c0000 - 0000000100000000 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
found SMP MP-table at 000ff780
hm, page 000ff000 reserved twice.
hm, page 00100000 reserved twice.
hm, page 000f9000 reserved twice.
hm, page 000fa000 reserved twice.
On node 0 totalpages: 229376
zone(0): 4096 pages.
(Continue reading)

Randy.Dunlap | 6 Jul 2003 20:32
X-Face

Re: unexpected IO-APIC found

On Sun, 06 Jul 2003 13:37:02 +0100 Gaius Mulley <gaius <at> glam.ac.uk> wrote:

| as requested by console messages, here is the complete output of dmesg
| from a dual opteron machine. [ The motherboard is MS-9131 SSI ].
| 
| I hope the following info is useful and keep up the excellent work!

| Linux version 2.4.21 (root <at> lancelot) (gcc version 2.95.4 20011002 (Debian prerelease)) #9 SMP Wed Jul 2
17:15:58 BST 2003
| number of MP IRQ sources: 18.
| number of IO-APIC #2 registers: 24.
| number of IO-APIC #3 registers: 4.
| number of IO-APIC #4 registers: 4.
| testing the IO APIC.......................
| 
| IO APIC #2......
| .... register #00: 02000000
| .......    : physical APIC id: 02
| .......    : Delivery Type: 0
| .......    : LTS          : 0
| .... register #01: 00170011
| .......     : max redirection entries: 0017
| .......     : PRQ implemented: 0
| .......     : IO APIC version: 0011
| .... register #02: 02000000
| .......     : arbitration: 02
| 
| IO APIC #3......
| .... register #00: 03000000
| .......    : physical APIC id: 03
(Continue reading)

Gaius Mulley | 7 Jul 2003 00:20
Picon

Re: unexpected IO-APIC found

"Randy.Dunlap" <rddunlap <at> osdl.org> writes:

> On Sun, 06 Jul 2003 13:37:02 +0100 Gaius Mulley <gaius <at> glam.ac.uk> wrote:
> 
> | as requested by console messages, here is the complete output of dmesg
> | from a dual opteron machine. [ The motherboard is MS-9131 SSI ].
> | 
> | I hope the following info is useful and keep up the excellent work!
> 
> | Linux version 2.4.21 (root <at> lancelot) (gcc version 2.95.4 20011002 (Debian prerelease)) #9 SMP Wed Jul
2 17:15:58 BST 2003
> | number of MP IRQ sources: 18.
> | number of IO-APIC #2 registers: 24.
> | number of IO-APIC #3 registers: 4.
> | number of IO-APIC #4 registers: 4.
> | testing the IO APIC.......................
> | 
> | IO APIC #2......
> | .... register #00: 02000000
> | .......    : physical APIC id: 02
> | .......    : Delivery Type: 0
> | .......    : LTS          : 0
> | .... register #01: 00170011
> | .......     : max redirection entries: 0017
> | .......     : PRQ implemented: 0
> | .......     : IO APIC version: 0011
> | .... register #02: 02000000
> | .......     : arbitration: 02
> | 
> | IO APIC #3......
(Continue reading)

Randy.Dunlap | 7 Jul 2003 23:21
X-Face

Re: unexpected IO-APIC found

On 06 Jul 2003 23:20:19 +0100 Gaius Mulley <gaius <at> glam.ac.uk> wrote:

| "Randy.Dunlap" <rddunlap <at> osdl.org> writes:
| 
| > On Sun, 06 Jul 2003 13:37:02 +0100 Gaius Mulley <gaius <at> glam.ac.uk> wrote:
| > 
| > | as requested by console messages, here is the complete output of dmesg
| > | from a dual opteron machine. [ The motherboard is MS-9131 SSI ].
| > | 
| > | I hope the following info is useful and keep up the excellent work!
| > 
| > | Linux version 2.4.21 (root <at> lancelot) (gcc version 2.95.4 20011002 (Debian prerelease)) #9 SMP Wed
Jul 2 17:15:58 BST 2003
| > | number of MP IRQ sources: 18.
| > | number of IO-APIC #2 registers: 24.
| > | number of IO-APIC #3 registers: 4.
| > | number of IO-APIC #4 registers: 4.
| > | testing the IO APIC.......................
| > | 
| > | IO APIC #2......
| > | .... register #00: 02000000
| > | .......    : physical APIC id: 02
| > | .......    : Delivery Type: 0
| > | .......    : LTS          : 0
| > | .... register #01: 00170011
| > | .......     : max redirection entries: 0017
| > | .......     : PRQ implemented: 0
| > | .......     : IO APIC version: 0011
| > | .... register #02: 02000000
| > | .......     : arbitration: 02
(Continue reading)

Homer Wilson Smith | 8 Jul 2003 01:49

Error message...


   Running dual Xeons, Redhat 7.2 ...

   search for 'unexpected'

   Also some errors at the very bottom.

loop... 3578.26 BogoMIPS
Memory: 3996732k/4194304k available (1463k kernel code, 61296k reserved, 1089k data, 156k init,
3145152k highmem)
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode cache hash table entries: 262144 (order: 9, 2097152 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 262144 (order: 8, 1048576 bytes)
Page-cache hash table entries: 524288 (order: 9, 2097152 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: bfebfbff 00000000 00000000 00000000
CPU:             Common caps: bfebfbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch <at> atnf.csiro.au)
mtrr: detected mtrr type: Intel
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
(Continue reading)

Gaius Mulley | 8 Jul 2003 12:35
Picon

Re: unexpected IO-APIC found

"Randy.Dunlap" <rddunlap <at> osdl.org> writes:

> Hi,
> 
> Yes, I see, selecting Opteron (at least in 2.4.21) only sets
> CONFIG_MK7 and builds a 32-bit kernel, and that kernel doesn't
> recognize "max redirection entries = 3" as valid, but it is
> valid/OK for the AMD 8131 chipset.
> 
> There's no problem here unless you are experiencing problems
> that I didn't hear about.  Are you?

Hi,

no the Opteron machine is working fine, the on board motherboard
devices are all seen by the kernel, and it is my main NFS server and
fast compile server. Has been working like this for about a week now..

Thanks Gaius
-
To unsubscribe from this list: send the line "unsubscribe linux-smp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

MARTIN KONIETZKE | 10 Jul 2003 16:43
Picon

info: unexpected IO-APIC found


hi,

this comes up on linux with kernel 2.4.21 (patched with sgi-xfs)
on a dell workstation 360 with 3GHz Pentium IV :

Setting 1 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 1 ... ok.
init IO_APIC IRQs
 IO-APIC (apicid-pin) 1-0, 1-13 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 40.
number of IO-APIC #1 registers: 24.
testing the IO APIC.......................

IO APIC #1......
.... register #00: 01000000
.......    : physical APIC id: 01
.......    : Delivery Type: 0
.......    : LTS          : 0
.... register #01: 00178020
.......     : max redirection entries: 0017
.......     : PRQ implemented: 1
.......     : IO APIC version: 0020
.... register #02: 00178020
.......     : arbitration: 00
An unexpected IO-APIC was found. If this kernel release is less than
three months old please report this to linux-smp <at> vger.kernel.org
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
(Continue reading)


Gmane