Linux 2.2.6 IO-APIC <feature>

Richard B. Johnson (root@chaos.analogic.com)
Tue, 27 Apr 1999 20:40:39 -0400 (EDT)


Hello IO-APIC/SMP gurus,

I have finally upgraded all my CPUs to linux 2.2.6. They all work
except this one! This one refuses to use IRQ0 on both CPUs. The
kernel declares that the timer is not connected to the APIC. However,
Linux version 2.1.127 (the last version running on that machine)
found and used the timer without any problem!

Perhaps there still needs to be some work done here?

CPU0 CPU1
0: 54716 0 XT-PIC timer
1: 2 0 IO-APIC-edge keyboard
2: 0 0 XT-PIC cascade
4: 117 61 IO-APIC-edge serial
9: 6274 6256 IO-APIC-level eth0
10: 2826 2811 IO-APIC-level BusLogic BT-958
13: 1 0 XT-PIC fpu
NMI: 0
ERR: 0

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 3
model name : Pentium II (Klamath)
stepping : 3
cpu MHz : 266.446978
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_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 mmx
bogomips : 265.42

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 3
model name : Pentium II (Klamath)
stepping : 3
cpu MHz : 266.446978
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_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 mmx
bogomips : 266.24

<4>Linux version 2.2.6 (root@boneserver) (gcc version 2.7.2) #2 SMP Tue Apr 27 16:28:18 EDT 1999
<4>Intel MultiProcessor Specification v1.1
<4> Virtual Wire compatibility mode.
<4>OEM ID: INTEL Product ID: 440LX APIC at: 0xFEE00000
<4>Processor #0 Pentium(tm) Pro APIC version 17
<4>Processor #1 Pentium(tm) Pro APIC version 17
<4>I/O APIC #2 Version 17 at 0xFEC00000.
<4>Processors: 2
<4>mapped APIC to ffffe000 (fee00000)
<4>mapped IOAPIC to ffffd000 (fec00000)
<4>Detected 266446978 Hz processor.
<4>Console: colour VGA+ 80x25
<4>Calibrating delay loop... 265.42 BogoMIPS
<4>Memory: 127884k/131072k available (1144k kernel code, 416k reserved, 1568k data, 60k init)
<6>Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
<6>Checking 'hlt' instruction... OK.
<4>POSIX conformance testing by UNIFIX
<4>per-CPU timeslice cutoff: 100.16 usecs.
<4>CPU0: Intel Pentium II (Klamath) stepping 03
<4>calibrating APIC timer ...
<4>..... CPU clock speed is 266.4445 MHz.
<4>..... system bus clock speed is 66.6108 MHz.
<4>Booting processor 1 eip 2000
<4>Calibrating delay loop... 266.24 BogoMIPS
<4>OK.
<4>CPU1: Intel Pentium II (Klamath) stepping 03
<6>Total of 2 processors activated (531.66 BogoMIPS).
<4>enabling symmetric IO mode... ...done.
<4>ENABLING IO-APIC IRQs
<4>init IO_APIC IRQs
<4> IO-APIC pin 0, 9, 10, 11, 17, 20, 21, 22, 23 not connected.
<4>..MP-BIOS bug: 8254 timer not connected to IO-APIC
************^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

<4>...trying to set up timer as ExtINT... .. (found pin 0) ... works.
<4>number of MP IRQ sources: 17.
<4>number of IO-APIC registers: 24.
<4>testing the IO APIC.......................
<4>.... register #00: 02000000
<4>....... : physical APIC id: 02
<4>.... register #01: 00170011
<4>....... : max redirection entries: 0017
<4>....... : IO APIC version: 0011
<4>.... register #02: 00000000
<4>....... : arbitration: 00
<4>.... IRQ redirection table:
<4> NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
<4> 00 000 00 0 0 0 0 0 0 7 51
<4> 01 000 00 0 0 0 0 0 1 1 59
<4> 02 000 00 0 0 0 0 0 1 1 51
<4> 03 000 00 0 0 0 0 0 1 1 61
<4> 04 000 00 0 0 0 0 0 1 1 69
<4> 05 000 00 0 0 0 0 0 1 1 71
<4> 06 000 00 0 0 0 0 0 1 1 79
<4> 07 000 00 0 0 0 0 0 1 1 81
<4> 08 000 00 0 0 0 0 0 1 1 89
<4> 09 000 00 1 0 0 0 0 0 0 00
<4> 0a 000 00 1 0 0 0 0 0 0 00
<4> 0b 000 00 1 0 0 0 0 0 0 00
<4> 0c 000 00 0 0 0 0 0 1 1 91
<4> 0d 000 00 1 0 0 0 0 0 0 00
<4> 0e 000 00 0 0 0 0 0 1 1 99
<4> 0f 000 00 0 0 0 0 0 1 1 A1
<4> 10 0FF 0F 1 1 0 1 0 1 1 A9
<4> 11 000 00 1 0 0 0 0 0 0 00
<4> 12 0FF 0F 1 1 0 1 0 1 1 B1
<4> 13 0FF 0F 1 1 0 1 0 1 1 B9
<4> 14 000 00 1 0 0 0 0 0 0 00
<4> 15 000 00 1 0 0 0 0 0 0 00
<4> 16 000 00 1 0 0 0 0 0 0 00
<4> 17 000 00 1 0 0 0 0 0 0 00
<7>IRQ to pin mappings:
<7>IRQ0 -> 2
<7>IRQ1 -> 1
<7>IRQ3 -> 3
<7>IRQ4 -> 4
<7>IRQ5 -> 5
<7>IRQ6 -> 6
<7>IRQ7 -> 7
<7>IRQ8 -> 8
<7>IRQ9 -> 19
<7>IRQ10 -> 16
<7>IRQ11 -> 18
<7>IRQ12 -> 12
<7>IRQ13 -> 13
<7>IRQ14 -> 14
<7>IRQ15 -> 15
<4>.................................... done.
<4>PCI: PCI BIOS revision 2.10 entry at 0xfdb91
<4>PCI: Using configuration type 1
<4>PCI: Probing PCI hardware
<4>PCI: Enabling I/O for device 00:3a
<6>Linux NET4.0 for Linux 2.2
<6>Based upon Swansea University Computer Society NET3.039
<6>NET4: Unix domain sockets 1.0 for Linux NET4.0.
<6>NET4: Linux TCP/IP 1.0 for NET4.0
<6>IP Protocols: ICMP, UDP, TCP, IGMP
<4>Initializing RT netlink socket
<4>Starting kswapd v 1.5
<6>Detected PS/2 Mouse Port.
<6>Serial driver version 4.27 with no serial options enabled
<6>ttyS00 at 0x03f8 (irq = 4) is a 16550A
<6>ttyS01 at 0x02f8 (irq = 3) is a 16550A
<4>pty: 256 Unix98 ptys configured
<4>PIIX4: IDE controller on PCI bus 00 dev 39
<4>PIIX4: not 100% native mode: will probe irqs later
<4> ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
<4> ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
<6>Floppy drive(s): fd0 is 1.44M
<6>FDC 0 is a National Semiconductor PC87306
<5>scsi: ***** BusLogic SCSI Driver Version 2.1.15 of 17 August 1998 *****
<5>scsi: Copyright 1995-1998 by Leonard N. Zubkoff <lnz@dandelion.com>
<5>scsi0: Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host Adapter
<5>scsi0: Firmware Version: 5.06J, I/O Address: 0xEFF4, IRQ Channel: 10/Level
<5>scsi0: PCI Bus: 0, Device: 11, Address: 0xFEBEF000, Host Adapter SCSI ID: 7
<5>scsi0: Parity Checking: Enabled, Extended Translation: Enabled
<5>scsi0: Synchronous Negotiation: Fast, Wide Negotiation: Enabled
<5>scsi0: Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled
<5>scsi0: Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 211
<5>scsi0: Driver Queue Depth: 211, Host Adapter Queue Depth: 192
<5>scsi0: Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
<5>scsi0: Error Recovery Strategy: Default, SCSI Bus Reset: Enabled
<5>scsi0: SCSI Bus Termination: High Enabled, SCAM: Disabled
<5>scsi0: *** BusLogic BT-958 Initialized Successfully ***
<4>scsi0 : BusLogic BT-958
<4>scsi : 1 host.
<4> Vendor: SEAGATE Model: ST32171W Rev: 0484
<4> Type: Direct-Access ANSI SCSI revision: 02
<4>Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
<4> Vendor: QUANTUM Model: VIKING 2.3 NSE Rev: 8808
<4> Type: Direct-Access ANSI SCSI revision: 02
<4>Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
<4> Vendor: QUANTUM Model: VIKING 2.3 NSE Rev: 8808
<4> Type: Direct-Access ANSI SCSI revision: 02
<4>Detected scsi disk sdc at scsi0, channel 0, id 2, lun 0
<4> Vendor: NEC Model: CD-ROM DRIVE:464 Rev: 1.05
<4> Type: CD-ROM ANSI SCSI revision: 02
<4>Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
<4> Vendor: EXABYTE Model: EXB-8505SMBANSH2 Rev: 07T0
<4> Type: Sequential-Access ANSI SCSI revision: 02
<4>Detected scsi tape st0 at scsi0, channel 0, id 6, lun 0
<5>scsi0: Target 0: Queue Depth 28, Wide Synchronous at 20.0 MB/sec, offset 15
<5>scsi0: Target 1: Queue Depth 28, Synchronous at 10.0 MB/sec, offset 15
<5>scsi0: Target 2: Queue Depth 28, Synchronous at 10.0 MB/sec, offset 15
<5>scsi0: Target 3: Queue Depth 3, Synchronous at 10.0 MB/sec, offset 15
<5>scsi0: Target 6: Queue Depth 3, Synchronous at 5.00 MB/sec, offset 11
<4>scsi : detected 1 SCSI tape 1 SCSI cdrom 3 SCSI disks total.
<6>Uniform CDROM driver Revision: 2.54
<4>SCSI device sda: hdwr sector= 512 bytes. Sectors= 4194057 [2047 MB] [2.0 GB]
<4>SCSI device sdb: hdwr sector= 512 bytes. Sectors= 4446801 [2171 MB] [2.2 GB]
<4>SCSI device sdc: hdwr sector= 512 bytes. Sectors= 4446801 [2171 MB] [2.2 GB]
<6>3c59x.c:v0.99H 11/17/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
<6>eth0: 3Com 3c905 Boomerang 100baseTx at 0xef00, 00:10:4b:2f:f8:40, IRQ 9
<6> 8K word-wide RAM 3:5 Rx:Tx split, autoselect/MII interface.
<6> MII transceiver found at address 24, status 786f.
<6> Enabling bus-master transmits and whole-frame receives.
<4>Partition check:
<4> sda: sda1 sda2 sda3
<4> sdb: sdb1
<4> sdc: sdc1
<4>VFS: Mounted root (ext2 filesystem) readonly.
<4>Freeing unused kernel memory: 60k freed
<5>scsi0: Tagged Queuing now active for Target 0
<6>Adding Swap: 128516k swap-space (priority -1)
<5>scsi0: Tagged Queuing now active for Target 1
<5>scsi0: Tagged Queuing now active for Target 2

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.6 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/