APIC vs PIC
Jarosław Kamper
jack w jack.eu.org
Nie, 21 Kwi 2002, 12:58:55 CEST
Hmmm... Tak nie do końca wiem o co tu chodzi, bowiem jak zmienię
Interrupt Mode (w biosie) z APIC na PIC to otrzymuję:
[diff -u dmesg-apic dmesg-pic]
--- dmesg Sat Apr 20 17:25:47 2002
+++ dmesg2 Sun Apr 21 03:50:24 2002
@@ -9,22 +9,13 @@
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
-found SMP MP-table at 000fb4c0
-hm, page 000fb000 reserved twice.
-hm, page 000fc000 reserved twice.
-hm, page 000f6000 reserved twice.
-hm, page 000f7000 reserved twice.
On node 0 totalpages: 65520
zone(0): 4096 pages.
zone(1): 61424 pages.
zone(2): 0 pages.
-Intel MultiProcessor Specification v1.1
- Virtual Wire compatibility mode.
-OEM ID: VIA Product ID: KT266 APIC at: 0xFEE00000
-Processor #0 Pentium(tm) Pro APIC version 17
-I/O APIC #2 Version 2 at 0xFEC00000.
-Processors: 1
-Kernel command line: BOOT_IMAGE=PLD ro root=305 hdc=ide-scsi
+Local APIC disabled by BIOS -- reenabling.
+Found and enabled local APIC!
+Kernel command line: auto BOOT_IMAGE=PLD ro root=305 hdc=ide-scsi
Initializing CPU#0
Detected 1466.762 MHz processor.
Console: colour VGA+ 80x30
@@ -49,86 +40,21 @@
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
-ESR value before enabling vector: 00000080
+ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
-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-17, 2-18, 2-19, 2-20, 2-21, 2-23 not connected.
-..TIMER: vector=0x31 pin1=2 pin2=0
-number of MP IRQ sources: 18.
-number of IO-APIC #2 registers: 24.
-testing the IO APIC.......................
-
-IO APIC #2......
-.... register #00: 02000000
-....... : physical APIC id: 02
-.... register #01: 00178002
-....... : max redirection entries: 0017
-....... : PRQ implemented: 1
-....... : IO APIC version: 0002
- WARNING: unexpected IO-APIC, please mail
- to linux-smp w vger.kernel.org
-.... 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 001 01 0 0 0 0 0 1 1 31
- 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 001 01 1 1 0 1 0 1 1 99
- 11 000 00 1 0 0 0 0 0 0 00
- 12 000 00 1 0 0 0 0 0 0 00
- 13 000 00 1 0 0 0 0 0 0 00
- 14 000 00 1 0 0 0 0 0 0 00
- 15 000 00 1 0 0 0 0 0 0 00
- 16 001 01 1 1 0 1 0 1 1 A1
- 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
-IRQ16 -> 0:16
-IRQ22 -> 0:22
-.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
-..... CPU clock speed is 1466.7245 MHz.
-..... host bus clock speed is 266.6766 MHz.
-cpu: 0, clocks: 2666766, slice: 1333383
-CPU0<T0:2666752,T1:1333360,D:9,S:1333383,C:2666766>
+..... CPU clock speed is 1466.7219 MHz.
+..... host bus clock speed is 266.6768 MHz.
+cpu: 0, clocks: 2666768, slice: 1333384
+CPU0<T0:2666768,T1:1333376,D:8,S:1333384,C:2666768>
mtrr: v1.40 (20010327) Richard Gooch (rgooch w atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfdb31, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router default [1106/3147] at 00:11.0
-PCI->APIC IRQ transform: (B0,I12,P0) -> 16
-PCI->APIC IRQ transform: (B0,I17,P0) -> 16
-PCI->APIC IRQ transform: (B0,I17,P2) -> 22
-PCI->APIC IRQ transform: (B1,I0,P0) -> 16
+PCI: Hardcoded IRQ 14 for device 00:11.1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
@@ -158,6 +84,7 @@
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 89
+PCI: Hardcoded IRQ 14 for device 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
@@ -185,7 +112,77 @@
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
8139too Fast Ethernet driver 0.9.24
-eth0: RealTek RTL8139 Fast Ethernet at 0xd4941f00, 00:50:fc:30:70:31, IRQ 16
+eth0: RealTek RTL8139 Fast Ethernet at 0xd4941f00, 00:50:fc:30:70:31, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.
Installing knfsd (copyright (C) 1996 okir w monad.swb.de).
O co tu w ogóle chodzi?
--
Jarosław Kamper jack w jack.eu.org UIN: 35713516
http://jack.eu.org Registered Linux User # 165846
Jeżeli chcesz pomóc to rób tylko tyle ile możesz. Robienie cudów pozostaw innym
kloczek at pld-devel-pl w pld.org.pl
Więcej informacji o liście dyskusyjnej pld-users-pl