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

List:       linux-smp
Subject:    Weird IO-APIC mappings under Linux-2.2.17smp (fwd)
From:       "Raphael B. Leib" <rbleib () uchicago ! edu>
Date:       2000-10-05 0:41:07
[Download RAW message or body]

Dear linux SMP team,

I am sending this at the suggestion of my kernel, which prints the
following message at boot time:

 WARNING: unexpected IO-APIC, please mail
          to linux-smp@vger.rutgers.edu

I think this could very well be the cause of the problems I've been
having.  My dual-pIII Dell Precision 420 seems to boot and work just fine
using SMP; however, the onboard sound card, a Crystal Audio CS4614 (which
should work with the freeOSS cs4232 driver) seems to get mapped to a funny
place... which is not so funny, since I can't seem to get sound working on
this box.  According to the BIOS, the sound card should take IRQ 5, and
indeed, when I boot a single-processor kernel, it shows up as IRQ 5.
However, in SMP mode it seems to take IRQ 18.  I am unable to load the
driver for it, despite passing insmod what seem to be
universally-agreed-upon settings for io, dma, and dma2 (as well as the
correct IRQ setting).  I always get the following message:

/lib/modules/2.2.17/misc/cs4232.o: init_module: Device or resource busy
Hint: this error can be caused by incorrect module parameters, including
invalid IO or IRQ parameters
/lib/modules/2.2.17/misc/cs4232.o: insmod
/lib/modules/2.2.17/misc/cs4232.o failed
/lib/modules/2.2.17/misc/cs4232.o: insmod cs4232 failed

This is quite frustrating.  I hope it is a result of weird APIC mapping,
although the fact that I can't get it working using a single-processor
kernel, either, is not encouraging.  

In any case, since I have been warned I figured I'd pass the output of
dmesg on to you.  If there is any other useful information I can provide,
please feel free to ask.  If you can help me get my sound card working,
terrific; if that is completely unrelated to the IO-APIC mapping issue,
oh, well, at least I (hopefully) provided you with something useful. :)

Attached are the outputs of dmesg, /proc/pci and lspci, respectively.
Please email me if there is any more information you require.

Thanks!

R

---------------
Raphael B. Leib
Bioinformatics Technician,
Department of Human Genetics
and Anthropology Junkie
rbleib@uchicago.edu


["dmesg.out" (TEXT/PLAIN)]

Linux version 2.2.17 (root@hominid) (gcc version 2.95.2 20000220 (Debian GNU/Linux)) \
#3 SMP Wed Oct 4 19:04:58 CDT 2000 Intel MultiProcessor Specification v1.4
    Virtual Wire compatibility mode.
OEM ID: DELL     Product ID: WS 420       APIC at: 0xFEE00000
Processor #0 Pentium(tm) Pro APIC version 17
Processor #1 Pentium(tm) Pro APIC version 17
I/O APIC #2 Version 32 at 0xFEC00000.
Processors: 2
mapped APIC to ffffe000 (fee00000)
mapped IOAPIC to ffffd000 (fec00000)
Detected 728455 kHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1454.90 BogoMIPS
Memory: 257444k/261696k available (932k kernel code, 420k reserved, 2848k data, 52k \
init) Dentry hash table entries: 32768 (order 6, 256k)
Buffer cache hash table entries: 262144 (order 8, 1024k)
Page cache hash table entries: 65536 (order 6, 256k)
VFS: Diskquotas version dquot_6.4.0 initialized
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35a (19990819) Richard Gooch (rgooch@atnf.csiro.au)
per-CPU timeslice cutoff: 50.00 usecs.
CPU0: Intel Pentium III (Coppermine) stepping 03
calibrating APIC timer ... 
..... CPU clock speed is 728.4280 MHz.
..... system bus clock speed is 132.4412 MHz.
Booting processor 1 eip 2000
Calibrating delay loop... 1454.90 BogoMIPS
OK.
CPU1: Intel Pentium III (Coppermine) stepping 03
Total of 2 processors activated (2909.80 BogoMIPS).
enabling symmetric IO mode... ...done.
ENABLING IO-APIC IRQs
...changing IO-APIC physical APIC ID to 2
init IO_APIC IRQs
 IO-APIC (apicid-pin) 2-0, 2-13, 2-20, 2-21, 2-22, 2-23 not connected.
number of MP IRQ sources: 44.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
.......    : physical APIC id: 02
.... register #01: 00170020
.......     : max redirection entries: 0017
.......     : IO APIC version: 0020
 WARNING: unexpected IO-APIC, please mail
          to linux-smp@vger.rutgers.edu
.... 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 000 00  0    0    0   0   0    1    1    99
 0b 000 00  0    0    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
 10 0FF 0F  1    1    0   1   0    1    1    C1
 11 0FF 0F  1    1    0   1   0    1    1    C9
 12 0FF 0F  1    1    0   1   0    1    1    D1
 13 0FF 0F  1    1    0   1   0    1    1    D9
 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 -> 2
IRQ1 -> 1
IRQ3 -> 3
IRQ4 -> 4
IRQ5 -> 5
IRQ6 -> 6
IRQ7 -> 7
IRQ8 -> 8
IRQ9 -> 9
IRQ10 -> 10
IRQ11 -> 11
IRQ12 -> 12
IRQ14 -> 14
IRQ15 -> 15
IRQ16 -> 16
IRQ17 -> 17
IRQ18 -> 18
IRQ19 -> 19
.................................... done.
checking TSC synchronization across CPUs: passed.
PCI: PCI BIOS revision 2.10 entry at 0xfc03e
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI->APIC IRQ transform: (B0,I31,P3) -> 19
PCI->APIC IRQ transform: (B0,I31,P1) -> 17
PCI->APIC IRQ transform: (B1,I0,P0) -> 16
PCI->APIC IRQ transform: (B2,I4,P0) -> 16
PCI->APIC IRQ transform: (B2,I6,P0) -> 18
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
TCP: Hash tables configured (ehash 262144 bhash 65536)
Starting kswapd v 1.5 
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
PCI_IDE: unknown IDE controller on PCI bus 00 device f9, VID=8086, DID=2411
PCI_IDE: 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
hda: Maxtor 54098H8, ATA DISK drive
hdc: Lite-On LTN483S 48x Max, ATAPI CDROM drive
hdd: IOMEGA ZIP 250 ATAPI Floppy, ATAPI FLOPPY drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: Maxtor 54098H8, 39082MB w/2048kB Cache, CHS=4982/255/63
hdc: ATAPI 48X CD-ROM drive, 120kB Cache
Uniform CD-ROM driver Revision: 3.11
hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm
hdd: The drive reports both 250609664 and 0 bytes as its capacity
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
Partition check:
 hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 52k freed
Adding Swap: 248996k swap-space (priority -1)
3c59x.c:v0.99H 12Jun00 Donald Becker and others \
                http://www.scyld.com/network/vortex.html
eth0: 3Com 3c905C Tornado at 0xec80,  00:b0:d0:3e:9f:a2, IRQ 16
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
  MII transceiver found at address 24, status 782d.
  Enabling bus-master transmits and whole-frame receives.


["pci.out" (TEXT/PLAIN)]

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Unknown device (rev 1).
      Vendor id=8086. Device id=1a21.
      Fast devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
      Prefetchable 32 bit memory at 0xf0000000 [0xf0000008].
  Bus  0, device   1, function  0:
    PCI bridge: Intel Unknown device (rev 1).
      Vendor id=8086. Device id=1a23.
      Fast devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  Min \
Gnt=14.  Bus  0, device  30, function  0:
    PCI bridge: Intel Unknown device (rev 2).
      Vendor id=8086. Device id=2418.
      Fast devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  Min \
Gnt=6.  Bus  0, device  31, function  0:
    ISA bridge: Intel Unknown device (rev 2).
      Vendor id=8086. Device id=2410.
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
  Bus  0, device  31, function  1:
    IDE interface: Intel Unknown device (rev 2).
      Vendor id=8086. Device id=2411.
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
      I/O at 0xffa0 [0xffa1].
  Bus  0, device  31, function  2:
    USB Controller: Intel Unknown device (rev 2).
      Vendor id=8086. Device id=2412.
      Medium devsel.  Fast back-to-back capable.  IRQ 19.  Master Capable.  No \
bursts.    I/O at 0xff80 [0xff81].
  Bus  0, device  31, function  3:
    SM Bus: Intel Unknown device (rev 2).
      Vendor id=8086. Device id=2413.
      Medium devsel.  Fast back-to-back capable.  IRQ 17.  
      I/O at 0xdcd0 [0xdcd1].
  Bus  1, device   0, function  0:
    VGA compatible controller: NVidia Unknown device (rev 17).
      Vendor id=10de. Device id=28.
      Medium devsel.  Fast back-to-back capable.  IRQ 16.  Master Capable.  \
Latency=64.  Min Gnt=5.Max Lat=1.  Non-prefetchable 32 bit memory at 0xfc000000 \
[0xfc000000].  Prefetchable 32 bit memory at 0xf4000000 [0xf4000008].
  Bus  2, device   4, function  0:
    Ethernet controller: 3Com Unknown device (rev 120).
      Vendor id=10b7. Device id=9200.
      Medium devsel.  IRQ 16.  Master Capable.  Latency=64.  Min Gnt=10.Max Lat=10.
      I/O at 0xec80 [0xec81].
      Non-prefetchable 32 bit memory at 0xfafffc00 [0xfafffc00].
  Bus  2, device   6, function  0:
    Multimedia audio controller: Cirrus Logic Unknown device (rev 1).
      Vendor id=1013. Device id=6003.
      Medium devsel.  IRQ 18.  Master Capable.  Latency=64.  Min Gnt=4.Max Lat=24.
      Non-prefetchable 32 bit memory at 0xfaffe000 [0xfaffe000].
      Non-prefetchable 32 bit memory at 0xfae00000 [0xfae00000].
  Bus  2, device  14, function  0:
    PCI bridge: DEC DC21152 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  Min \
Gnt=6.


["lspci.out" (TEXT/PLAIN)]

00:00.0 Host bridge: Intel Corporation: Unknown device 1a21 (rev 01)
00:01.0 PCI bridge: Intel Corporation: Unknown device 1a23 (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 82810 PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801 82810 Chipset ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801 82810 Chipset IDE (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801 82810 Chipset USB (rev 02)
00:1f.3 SMBus: Intel Corporation 82801 82810 Chipset SMBus (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation Riva TNT2 (rev 11)
02:04.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 78)
02:06.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear \
SoundFusion Audio Accelerator] (rev 01) 02:0e.0 PCI bridge: Digital Equipment \
Corporation DECchip 21152 (rev 03)


-
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