Hello vger,
I've recently installed Linux 2.2.13pre14 (compiled here) on a new
Dell "Workstation 220," a dual-pentium 533 mhz, and after a few
reboots and a hardware change (installing a second 3com NIC) noticed
that its io_apic.c doesn't recognize the apic version, which it sees
as 0x20:
printk("....... : IO APIC version: %04X\n", reg_01.version);
if ( (reg_01.version != 0x10) && /* oldest IO-APICs */
(reg_01.version != 0x11) && /* Pentium/Pro IO-APICs */
(reg_01.version != 0x13) /* Xeon IO-APICs */
)
UNEXPECTED_IO_APIC();
I don't know whether it had been reporting that all along, or only
started after I added the second NIC (but I suspect the former).
Below is the boot log up to the point where INIT starts, in case the
context helps; if you want to see more let me know.
I've also copied from /proc the cpuinfo, interrupts, ioports, devices,
and pci files, in case any of that might be helpful. (Sorry, I
don't understand the hardware well enough to guess too well.)
Also I notice Linux isn't recognizing the second CPU, but I know that
it did earlier -- I haven't looked into that yet; if that could be
related to the unrecognized APIC, please let me know. Thanks.
Linux version 2.2.13pre14 (root@chia) (gcc version 2.95.2 19991109 (Debian GNU/Linux))
#1 SMP Fri Jan 7 03:34:40 UTC 2000
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: DELL Product ID: Opti GX300 APIC at: 0xFEE00000
Processor #0 Pentium(tm) Pro APIC version 17
I/O APIC #1 Version 32 at 0xFEC00000.
Processors: 1
mapped APIC to ffffe000 (fee00000)
mapped IOAPIC to ffffd000 (fec00000)
Detected 529785821 Hz processor.
Console: colour VGA+ 132x60
Calibrating delay loop... 527.56 BogoMIPS
Memory: 127312k/130624k available (1232k kernel code, 424k reserved, 1608k data, 48k
init)
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 ([EMAIL PROTECTED])
per-CPU timeslice cutoff: 0.00 usecs.
CPU0: Intel Pentium III (Coppermine) stepping 01
calibrating APIC timer ...
..... CPU clock speed is 529.7672 MHz.
..... system bus clock speed is 132.4416 MHz.
Error: only one processor found.
enabling symmetric IO mode... ...done.
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC pin 0, 13, 20, 21, 22, 23 not connected.
number of MP IRQ sources: 42.
number of IO-APIC registers: 24.
testing the IO APIC.......................
.... register #00: 00000000
....... : physical APIC id: 00
.... register #01: 00170020
....... : max redirection entries: 0017
....... : IO APIC version: 0020
WARNING: unexpected IO-APIC, please mail
to [EMAIL PROTECTED]
.... 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.
PCI: PCI BIOS revision 2.10 entry at 0xfc06e
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: (B0,I31,P1) -> 17
PCI->APIC IRQ transform: (B1,I0,P0) -> 16
PCI->APIC IRQ transform: (B2,I7,P0) -> 16
PCI->APIC IRQ transform: (B2,I11,P0) -> 16
PCI->APIC IRQ transform: (B2,I12,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
NET4: AppleTalk 0.18 for Linux NET4.0
Initializing RT netlink socket
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
Real Time Clock Driver v1.09
Sound initialization started
Sound initialization complete
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:pio, hdb:pio
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hdc: Lite-On LTN483S 48x Max, ATAPI CDROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: ATAPI 48X CD-ROM drive, 120kB Cache
Uniform CDROM driver Revision: 2.56
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
(scsi0) <Adaptec AHA-294X Ultra2 SCSI host adapter> found at PCI 7/0
(scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 374 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.19/3.2.4
<Adaptec AHA-294X Ultra2 SCSI host adapter>
scsi : 1 host.
(scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 31.
Vendor: QUANTUM Model: ATLAS IV 9 WLS Rev: 0808
Type: Direct-Access ANSI SCSI revision: 03
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
(scsi0:0:1:0) Synchronous at 40.0 Mbyte/sec, offset 31.
Vendor: QUANTUM Model: ATLAS IV 9 WLS Rev: 0808
Type: Direct-Access ANSI SCSI revision: 03
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
scsi : detected 2 SCSI disks total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 17783249 [8683 MB] [8.7 GB]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 17783249 [8683 MB] [8.7 GB]
PPP: version 2.3.7 (demand dialling)
TCP compression code copyright 1989 Regents of the University of California
PPP line discipline registered.
Partition check:
sda: sda1
sdb: sdb1 sdb2 sdb3 sdb4
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 48k freed
cpuinfo
========================
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 1
cpu MHz : 529.785821
cache size : 0 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 osfxsr kni
bogomips : 527.56
interrupts
========================
CPU0
0: 176445 IO-APIC-edge timer
1: 617 IO-APIC-edge keyboard
2: 0 XT-PIC cascade
6: 46 IO-APIC-edge floppy
8: 1 IO-APIC-edge rtc
13: 1 XT-PIC fpu
15: 7 IO-APIC-edge ide1
16: 14288 IO-APIC-level aic7xxx, eth0
18: 84 IO-APIC-level eth1
NMI: 0
ERR: 0
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
0170-0177 : ide1
02f8-02ff : serial(set)
0376-0376 : ide1
03c0-03df : vga+
03f0-03f5 : floppy
03f7-03f7 : floppy DIR
03f8-03ff : serial(set)
e800-e87f : eth1
e880-e8ff : eth0
ec00-ecbe : aic7xxx
ffa0-ffa7 : ide0
ffa8-ffaf : ide1
devices
========================
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
7 vcs
10 misc
14 sound
36 netlink
128 ptm
136 pts
Block devices:
2 fd
8 sd
9 md
22 ide1
pci
========================
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Unknown device (rev 3).
Vendor id=8086. Device id=2500.
Fast devsel. Master Capable. No bursts.
Prefetchable 32 bit memory at 0xec000000 [0xec000008].
Bus 0, device 1, function 0:
PCI bridge: Intel Unknown device (rev 3).
Vendor id=8086. Device id=250f.
Fast devsel. Master Capable. Latency=64. Min Gnt=12.
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:
Unknown class: 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 0, device 31, function 5:
Multimedia audio controller: Intel Unknown device (rev 2).
Vendor id=8086. Device id=2415.
Medium devsel. Fast back-to-back capable. IRQ 17. Master Capable. No bursts.
I/O at 0xd800 [0xd801].
I/O at 0xdc80 [0xdc81].
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 7, function 0:
SCSI storage controller: Adaptec AHA-2940U2 (rev 0).
Medium devsel. Fast back-to-back capable. BIST capable. IRQ 16. Master
Capable. Latency=64. Min Gnt=39.Max Lat=25.
I/O at 0xec00 [0xec01].
Non-prefetchable 64 bit memory at 0xfafff000 [0xfafff004].
Bus 2, device 11, function 0:
Ethernet controller: 3Com 3C905B 100bTX (rev 48).
Medium devsel. IRQ 16. Master Capable. Latency=64. Min Gnt=10.Max Lat=10.
I/O at 0xe880 [0xe881].
Non-prefetchable 32 bit memory at 0xfaffec00 [0xfaffec00].
Bus 2, device 12, function 0:
Ethernet controller: 3Com Unknown device (rev 120).
Vendor id=10b7. Device id=9200.
Medium devsel. IRQ 18. Master Capable. Latency=64. Min Gnt=10.Max Lat=10.
I/O at 0xe800 [0xe801].
Non-prefetchable 32 bit memory at 0xfaffe800 [0xfaffe800].
--
David Coe
1-410-489-9521
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]