All of lore.kernel.org
 help / color / mirror / Atom feed
* Tyan Tiger 100 (S1832) IO-APIC Problems
@ 2004-02-17 21:02 Russ W. Knize
  2004-02-18  6:52 ` Russ W. Knize
  2004-02-19  1:38 ` Russ W. Knize
  0 siblings, 2 replies; 6+ messages in thread
From: Russ W. Knize @ 2004-02-17 21:02 UTC (permalink / raw)
  To: linux-smp

Hello all,

I have a Tyan Tiger 100 (S1832DL, Rev F) with a pair of PII 333 Deschutes.
 I have never been able to get this system up without the "noapic" boot
option.  I get lost interrupts on /dev/hda as soon as the IDE driver
attaches.  With noapic, the system boots fine and is rock-stable.  I have
used various kernels from 2.4.ancient though 2.4.24 with the same results.

I know the performance loss with all interrupts on CPU0 is supposed to be
small, but I am pushing this system hard and hope to squeeze a little more
out of it.  I would also like to upgrade to faster CPUs, but I don't want
to bother if the MoBo is broken or problematic.  Plus it just bugs me.  :)

I have searched the archives and Googled to my heart's content, but I
can't find anyone else having problems with this MoBo (it seems to be
fairly popular and reliable).  I have fiddled with all the BIOS settings
that had anything to do with PnP, MPS, PCI, IRQs, etc and yanked all the
PCI cards out.  Nothing seems to help and I have run out of ideas.  Can
anyone that has one of these offer any clues?  Is my APIC toast?

Thank you in advance,
Russ W. Knize


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tyan Tiger 100 (S1832) IO-APIC Problems
  2004-02-17 21:02 Tyan Tiger 100 (S1832) IO-APIC Problems Russ W. Knize
@ 2004-02-18  6:52 ` Russ W. Knize
  2004-02-19  1:38 ` Russ W. Knize
  1 sibling, 0 replies; 6+ messages in thread
From: Russ W. Knize @ 2004-02-18  6:52 UTC (permalink / raw)
  To: linux-smp

Just in case anyone cares, I managed to get this output via the serial
console.  I assume the fact that nothing is printed between "testing the
IO APIC..." and "...done" means something, but I'm not sure what.  There
are a few errors before that.  I swapped all my hardware over to my old
440LX MoBo and comparing the output (same CPUs, etc).  Any clues would
be appreciated.

---

hm, page 000fb000 reserved twice.
hm, page 000fc000 reserved twice.
hm, page 000f6000 reserved twice.
hm, page 000f7000 reserved twice.
On node 0 totalpages: 131072
zone(0): 4096 pages.
zone(1): 126976 pages.
zone(2): 0 pages.
ACPI disabled because your bios is from 99 and too old
You can enable it with acpi=force
Intel MultiProcessor Specification v1.1
    Virtual Wire compatibility mode.
OEM ID: INTEL    Product ID: 440GX        APIC at: 0xFEE00000
Processor #0 Pentium(tm) Pro APIC version 17
Processor #1 Pentium(tm) Pro APIC version 17
I/O APIC #2 Version 17 at 0xFEC00000.
Enabling APIC mode: Flat.       Using 1 I/O APICs
Processors: 2
Kernel command line: BOOT_IMAGE=Linux ro root=303 video=matrox:disabled
console=ttyS1,115200n8
Initializing CPU#0
Detected 334.096 MHz processor.
Console: colour VGA+ 80x50
Calibrating delay loop... 666.82 BogoMIPS
Memory: 515008k/524288k available (1825k kernel code, 8892k reserved,
727k data, 132k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Intel machine check reporting enabled on CPU#0.
CPU0: Intel Pentium II (Deschutes) stepping 02
per-CPU timeslice cutoff: 1462.08 usecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000004
ESR value after enabling vector: 00000000
Booting processor 1/1 eip 2000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 666.82 BogoMIPS
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Intel machine check reporting enabled on CPU#1.
CPU1: Intel Pentium II (Deschutes) stepping 02
Total of 2 processors activated (1333.65 BogoMIPS).
ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
..TIMER: vector=0x31 pin1=2 pin2=0
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer (IRQ0) through the 8259A ...
..... (found pin 0) ... failed.
...trying to set up timer as Virtual Wire IRQ... works.
testing the IO APIC.......................
 
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 334.1016 MHz.
..... host bus clock speed is 66.8201 MHz.
cpu: 0, clocks: 668201, slice: 222733
CPU0<T0:668192,T1:445456,D:3,S:222733,C:668201>
cpu: 1, clocks: 668201, slice: 222733
CPU1<T0:668192,T1:222720,D:6,S:222733,C:668201>
checking TSC synchronization across CPUs: passed.
Waiting on wait_init_idle (map = 0x2)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xfdb71, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI->APIC IRQ transform: (B0,I7,P3) -> 19
PCI->APIC IRQ transform: (B0,I16,P0) -> 16
PCI->APIC IRQ transform: (B0,I18,P0) -> 18
PCI->APIC IRQ transform: (B0,I19,P0) -> 19
PCI->APIC IRQ transform: (B2,I1,P0) -> 18
PCI->APIC IRQ transform: (B2,I2,P0) -> 19
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
udf: registering filesystem
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
keyboard: Timeout - AT keyboard not present?(ed)
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT
SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a ST16650V2
ttyS03 at 0x02e8 (irq = 0) is a ST16650V2
lp0: using parport0 (polling).
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
 
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
PDC20270: IDE controller at PCI slot 02:01.0
PDC20270: chipset revision 2
PDC20270: not 100% native mode: will probe irqs later
PDC20270: ROM enabled at 0xff9e0000
    ide2: BM-DMA at 0xdf90-0xdf97, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0xdf98-0xdf9f, BIOS settings: hdg:pio, hdh:pio
    ide4: BM-DMA at 0xdf60-0xdf67, BIOS settings: hdi:pio, hdj:pio
    ide5: BM-DMA at 0xdf68-0xdf6f, BIOS settings: hdk:pio, hdl:pio
hda: Maxtor 4D040H2, ATA DISK drive
blk: queue c03f7ac0, I/O limit 4095Mb (mask 0xffffffff)
hdc: TOSHIBA CD-ROM XM-5602B, ATAPI CD/DVD-ROM drive
hde: Maxtor 6Y160P0, ATA DISK drive
blk: queue c03f8398, I/O limit 4095Mb (mask 0xffffffff)
hdg: Maxtor 6Y160P0, ATA DISK drive
blk: queue c03f8804, I/O limit 4095Mb (mask 0xffffffff)
hdk: Maxtor 4D040H2, ATA DISK drive
blk: queue c03f90dc, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xdff0-0xdff7,0xdfe6 on irq 18
ide3 at 0xdfa8-0xdfaf,0xdfe2 on irq 18
ide4 at 0xdfa0-0xdfa7,0xdf8e on irq 18
ide5 at 0xdf80-0xdf87,0xdf8a on irq 18
hda: attached ide-disk driver.
 
---

Dies after the above with occasional lost interrupt messages.

Russ W. Knize


On Tue, 2004-02-17 at 15:02, Russ W. Knize wrote:
> Hello all,
> 
> I have a Tyan Tiger 100 (S1832DL, Rev F) with a pair of PII 333 Deschutes.
>  I have never been able to get this system up without the "noapic" boot
> option.  I get lost interrupts on /dev/hda as soon as the IDE driver
> attaches.  With noapic, the system boots fine and is rock-stable.  I have
> used various kernels from 2.4.ancient though 2.4.24 with the same results.
> 
> I know the performance loss with all interrupts on CPU0 is supposed to be
> small, but I am pushing this system hard and hope to squeeze a little more
> out of it.  I would also like to upgrade to faster CPUs, but I don't want
> to bother if the MoBo is broken or problematic.  Plus it just bugs me.  :)
> 
> I have searched the archives and Googled to my heart's content, but I
> can't find anyone else having problems with this MoBo (it seems to be
> fairly popular and reliable).  I have fiddled with all the BIOS settings
> that had anything to do with PnP, MPS, PCI, IRQs, etc and yanked all the
> PCI cards out.  Nothing seems to help and I have run out of ideas.  Can
> anyone that has one of these offer any clues?  Is my APIC toast?
> 
> Thank you in advance,
> Russ W. Knize
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-smp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Russ W. Knize
http://www.knizefamily.net/russ/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tyan Tiger 100 (S1832) IO-APIC Problems
  2004-02-17 21:02 Tyan Tiger 100 (S1832) IO-APIC Problems Russ W. Knize
  2004-02-18  6:52 ` Russ W. Knize
@ 2004-02-19  1:38 ` Russ W. Knize
  2004-02-25  6:35   ` Russ W. Knize
  1 sibling, 1 reply; 6+ messages in thread
From: Russ W. Knize @ 2004-02-19  1:38 UTC (permalink / raw)
  To: linux-smp

OK, I'm an idiot.  Here it is with debug on.

---

Linux version 2.4.24 (root@orion) (gcc version 2.95.4 20011002 (Debian
prerelease)) #1 SMP Tue Feb 4BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
128MB LOWMEM available.
found SMP MP-table at 000fb560
hm, page 000fb000 reserved twice.
hm, page 000fc000 reserved twice.
hm, page 000f6000 reserved twice.
hm, page 000f7000 reserved twice.
On node 0 totalpages: 32768
zone(0): 4096 pages.
zone(1): 28672 pages.
zone(2): 0 pages.
ACPI disabled because your bios is from 99 and too old
You can enable it with acpi=force
Intel MultiProcessor Specification v1.1
    Virtual Wire compatibility mode.
OEM ID: INTEL    Product ID: 440GX        APIC at: 0xFEE00000
Processor #0 Pentium(tm) Pro APIC version 17
I/O APIC #2 Version 17 at 0xFEC00000.
Enabling APIC mode: Flat.       Using 1 I/O APICs
Processors: 1
Kernel command line: BOOT_IMAGE=Linux ro root=303 video=matrox:disabled
noapic apic debug console=t8Initializing CPU#0
Detected 334.095 MHz processor.
Console: colour VGA+ 80x50
Calibrating delay loop... 666.82 BogoMIPS
Memory: 126032k/131072k available (1825k kernel code, 4652k reserved,
727k data, 132k init, 0k high)Dentry cache hash table entries: 16384
(order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0183fbff 00000000 00000000 00000000
CPU:             Common caps: 0183fbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0183fbff 00000000 00000000 00000000
CPU:             Common caps: 0183fbff 00000000 00000000 00000000
CPU0: Intel Pentium II (Deschutes) stepping 02
per-CPU timeslice cutoff: 1462.08 usecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000004
ESR value after enabling vector: 00000000
Error: only one processor found.
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-10, 2-11, 2-16, 2-18, 2-20, 2-21, 2-22,
2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer (IRQ0) through the 8259A ...
..... (found pin 0) ... failed.
...trying to set up timer as Virtual Wire IRQ... works.
number of MP IRQ sources: 17.
number of IO-APIC #2 registers: 24.
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: 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 001 01  0    0    0   0   0    1    1    39
 02 000 00  1    0    0   0   0    0    0    00
 03 001 01  0    0    0   0   0    1    1    41
 04 001 01  0    0    0   0   0    1    1    49
 05 001 01  0    0    0   0   0    1    1    51
 06 001 01  0    0    0   0   0    1    1    59
 07 001 01  0    0    0   0   0    1    1    61
 08 001 01  0    0    0   0   0    1    1    69
 09 001 01  0    0    0   0   0    1    1    71
 0a 000 00  1    0    0   0   0    0    0    00
 0b 000 00  1    0    0   0   0    0    0    00
 0c 001 01  0    0    0   0   0    1    1    79
 0d 001 01  0    0    0   0   0    1    1    81
 0e 001 01  0    0    0   0   0    1    1    89
 0f 001 01  0    0    0   0   0    1    1    91
 10 000 00  1    0    0   0   0    0    0    00
 11 001 01  1    1    0   1   0    1    1    99
 12 000 00  1    0    0   0   0    0    0    00
 13 001 01  1    1    0   1   0    1    1    A1
 14 000 00  1    0    0   0   0    0    0    00
 15 000 00  1    0    0   0   0    0    0    00
 16 000 00  1    0    0   0   0    0    0    00
 17 000 00  1    0    0   0   0    0    0    00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ17 -> 0:17
IRQ19 -> 0:19
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 334.1022 MHz.
..... host bus clock speed is 66.8203 MHz.
cpu: 0, clocks: 668203, slice: 334101
CPU0<T0:668192,T1:334080,D:11,S:334101,C:668203>
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xfdb71, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI->APIC IRQ transform: (B0,I7,P3) -> 19
PCI->APIC IRQ transform: (B0,I17,P0) -> 17
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
udf: registering filesystem
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
pty: 256 Unix98 ptys configured
keyboard: Timeout - AT keyboard not present?(ed)
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT
SHARE_IRQ SERIAL_PCI ISAPNP enabdttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
lp0: using parport0 (polling).
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
floppy0: no floppy controllers found
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
hda: QUANTUM Bigfoot TX6.0AT, ATA DISK drive
blk: queue c03f7ac0, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: lost interrupt

---

On Tue, 2004-02-17 at 15:02, Russ W. Knize wrote:
> Hello all,
> 
> I have a Tyan Tiger 100 (S1832DL, Rev F) with a pair of PII 333 Deschutes.
>  I have never been able to get this system up without the "noapic" boot
> option.  I get lost interrupts on /dev/hda as soon as the IDE driver
> attaches.  With noapic, the system boots fine and is rock-stable.  I have
> used various kernels from 2.4.ancient though 2.4.24 with the same results.
> 
> I know the performance loss with all interrupts on CPU0 is supposed to be
> small, but I am pushing this system hard and hope to squeeze a little more
> out of it.  I would also like to upgrade to faster CPUs, but I don't want
> to bother if the MoBo is broken or problematic.  Plus it just bugs me.  :)
> 
> I have searched the archives and Googled to my heart's content, but I
> can't find anyone else having problems with this MoBo (it seems to be
> fairly popular and reliable).  I have fiddled with all the BIOS settings
> that had anything to do with PnP, MPS, PCI, IRQs, etc and yanked all the
> PCI cards out.  Nothing seems to help and I have run out of ideas.  Can
> anyone that has one of these offer any clues?  Is my APIC toast?
> 
> Thank you in advance,
> Russ W. Knize
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-smp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Russ W. Knize
http://www.knizefamily.net/russ/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tyan Tiger 100 (S1832) IO-APIC Problems
  2004-02-19  1:38 ` Russ W. Knize
@ 2004-02-25  6:35   ` Russ W. Knize
  2004-02-25 16:44     ` Randy.Dunlap
  0 siblings, 1 reply; 6+ messages in thread
From: Russ W. Knize @ 2004-02-25  6:35 UTC (permalink / raw)
  To: linux-smp

Just in case anyne might be interested, I have been trying to debug this
issue.  It seems that pirq_find_routing_table() is not locating the
table in the range it is looking.  I turned on debug trace and added
some other debug code.  The PIRQ signature is not there in that range at
all.  Without the table, the router is not identified.  I also tried
forcing ACPI to be enabled, but that didn't seem to help.

Whether or not any of this matters in the end is a little unclear to me
at this point.  I have experience with (c)PCI, but not on x86 hardware. 
Is there an online resource that explains how the APIC is supposed to
work in a bit more detail?  There aren't very many comments in the code
to go on.

Thanks.

-- 
Russ W. Knize
http://www.knizefamily.net/russ/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tyan Tiger 100 (S1832) IO-APIC Problems
  2004-02-25  6:35   ` Russ W. Knize
@ 2004-02-25 16:44     ` Randy.Dunlap
  2004-02-25 17:23       ` Russ W. Knize
  0 siblings, 1 reply; 6+ messages in thread
From: Randy.Dunlap @ 2004-02-25 16:44 UTC (permalink / raw)
  To: Russ W. Knize; +Cc: linux-smp

On Wed, 25 Feb 2004 00:35:55 -0600 Russ W. Knize wrote:

| Just in case anyne might be interested, I have been trying to debug this
| issue.  It seems that pirq_find_routing_table() is not locating the
| table in the range it is looking.  I turned on debug trace and added
| some other debug code.  The PIRQ signature is not there in that range at
| all.  Without the table, the router is not identified.  I also tried
| forcing ACPI to be enabled, but that didn't seem to help.

I don't know anything about the Tyan Tiger 100, but the PIRQ table
was an M$ creation for Win 98 or thereabouts.  ACPI interrupt
routing has replaced it on some systems, so I don't find it
surprising that the PIRQ table isn't found.  Of course, I guess
that it could be there and Linux just isn't finding it, wherever
it's hidden.  Tough to say which case it is.

I also don't recall the particular problems that you are having.
Is it IO-APIC problems (as in $Subject), or is it just interrupt
routing in general?  If the latter, perhaps asking your questions
on the Linux ACPI mailing list would lead to some answers for you.
(acpi-devel@lists.sf.net)

| Whether or not any of this matters in the end is a little unclear to me
| at this point.  I have experience with (c)PCI, but not on x86 hardware. 
| Is there an online resource that explains how the APIC is supposed to
| work in a bit more detail?  There aren't very many comments in the code
| to go on.

There are APIC and IO-APIC datasheets available from Intel and
probably other processor and chipset manufacturers, but they are
sorely lacking in anything similar to a theory of operation.

--
~Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tyan Tiger 100 (S1832) IO-APIC Problems
  2004-02-25 16:44     ` Randy.Dunlap
@ 2004-02-25 17:23       ` Russ W. Knize
  0 siblings, 0 replies; 6+ messages in thread
From: Russ W. Knize @ 2004-02-25 17:23 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: linux-smp

Randy.Dunlap said:
> On Wed, 25 Feb 2004 00:35:55 -0600 Russ W. Knize wrote:
>
> | Just in case anyne might be interested, I have been trying to debug this
> | issue.  It seems that pirq_find_routing_table() is not locating the
> | table in the range it is looking.  I turned on debug trace and added
> | some other debug code.  The PIRQ signature is not there in that range at
> | all.  Without the table, the router is not identified.  I also tried
> | forcing ACPI to be enabled, but that didn't seem to help.
>
> I don't know anything about the Tyan Tiger 100, but the PIRQ table
> was an M$ creation for Win 98 or thereabouts.  ACPI interrupt
> routing has replaced it on some systems, so I don't find it
> surprising that the PIRQ table isn't found.  Of course, I guess
> that it could be there and Linux just isn't finding it, wherever
> it's hidden.  Tough to say which case it is.
>
> I also don't recall the particular problems that you are having.
> Is it IO-APIC problems (as in $Subject), or is it just interrupt
> routing in general?  If the latter, perhaps asking your questions
> on the Linux ACPI mailing list would lead to some answers for you.
> (acpi-devel@lists.sf.net)

It's hard to say.  I have to force ACPI to get it to work at all
(acpi=force).  I imagine this is due to the buggy ACPI implementations of
the era.  Even with ACPI enabled, the result is the same (no interrupts)
and I get lots of complaining about various things from the ACPI driver. 
ACPI complains about the same things with "acpi=force noapic", so I don't
think the complaints are related, but who knows.  The BIOS has lots of
vague and poorly documented options, but a "binary search" of twiddling
through these didn't yield anything useful.

With "noapic", the board seems to work OK, which is what is leading me
down the IO-APIC path.  I am wondering at what point the IRQs become
misrouted.

> There are APIC and IO-APIC datasheets available from Intel and
> probably other processor and chipset manufacturers, but they are
> sorely lacking in anything similar to a theory of operation.

Thanks for the pointers.  I'll have a look through the Intel 440BX docs. 
My 440LX board finds the table and the router correctly.  I see that the
table itself is discarded, but the router is somehow used later on when
the IO-APIC is to be used.  These are the bits I am trying to understand
now.  I am wondering if there is another way to identify the router.

Thanks again,
Russ


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-25 17:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-17 21:02 Tyan Tiger 100 (S1832) IO-APIC Problems Russ W. Knize
2004-02-18  6:52 ` Russ W. Knize
2004-02-19  1:38 ` Russ W. Knize
2004-02-25  6:35   ` Russ W. Knize
2004-02-25 16:44     ` Randy.Dunlap
2004-02-25 17:23       ` Russ W. Knize

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.