Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2001 22:11:47 +0200 (MET DST)
From:      Jonas Palsson <jonas@palsson.net>
To:        smp@FreeBSD.org
Subject:   interrupt problem
Message-ID:  <Pine.GSO.4.21.0105012203570.25027-100000@batch-3.efd.lth.se>

next in thread | raw e-mail | index | archive | help
Hi, 

msmith told me to send a mail here with my problem. I have a dual Pentium
200 with an old Tyan Tomcat III motherboard and i have some problems with
interrupts (I think that is the problem). You removed the NINTR
option in the kernel and defaults to 24 interrupts and i only have 15
interrupts on my motherboard. My nics get irq 16 and 17 and i can upload
to the nics with full speed but when i download from them i get really
croppy speed like 20kb/s. 
I hope you guys can help me out. 

//Jonas

Here follows information from dmesg and mptable:

--------------------------------------------------------------------------
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.3-RELEASE #0: Thu Apr 26 21:13:02 CEST 2001
    root@zorg.palsson.net:/usr/src/sys/compile/ZORGKERNEL
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (199.43-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 134217728 (131072K bytes)
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 127643648 (124652K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00030010, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00030010, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc02f2000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02f209c.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 19 -> irq 2
IOAPIC #0 intpin 18 -> irq 16
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0x9000-0x900f at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <S3 ViRGE graphics accelerator> at 17.0 irq 2
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x6000-0x607f mem
0xe4000000-0xe400007f irq 16 at device 18.0 on pci0
xl0: Ethernet address: 00:10:5a:10:5c:6b
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0x6100-0x61ff mem
0xe4001000-0xe40010ff irq 17 at device 19.0 on pci0
rl0: Ethernet address: 00:00:e8:73:4d:c6
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not found.
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
IP packet filtering initialized, divert enabled, rule-based forwarding
enabled, default to accept, logging limited to 10 packets/entry by default
DUMMYNET initialized (010124)
IP Filter: v3.4.16 initialized.  Default = pass all, Logging = enabled
SMP: AP CPU #1 Launched!
ad0: 17206MB <IBM-DJNA-371800> [34960/16/63] at ata0-master WDMA2
Mounting root from ufs:/dev/ad0s1a

------------------------------------------------------------------------

===============================================================================

MPTable, version 2.0.15
mptable: mem open: Permission denied
jonas@zorg:~$ su
Password:
Sorry
jonas@zorg:~$ su
Password:
root@zorg:/home/jonas# mptable 

===============================================================================

MPTable, version 2.0.15

-------------------------------------------------------------------------------

MP Floating Pointer Structure:

  location:                     BIOS
  physical address:             0x000f0c80
  signature:                    '_MP_'
  length:                       16 bytes
  version:                      1.1
  checksum:                     0xf4
  mode:                         Virtual Wire

-------------------------------------------------------------------------------

MP Config Table Header:

  physical address:             0x000f0c94
  signature:                    'PCMP'
  base table length:            292
  version:                      1.1
  checksum:                     0xa5
  OEM ID:                       'OEM00000'
  Product ID:                   'PROD00000000'
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  28
  local APIC address:           0xfee00000
  extended table length:        0
  extended table checksum:      0

-------------------------------------------------------------------------------

MP Config Base Table Entries:

--
Processors:     APIC ID Version State           Family  Model   Step
Flags
                 0       0x11    BSP, usable     5       2       1
0x07bf
                 1       0x11    AP, usable      5       2       1
0x07bf
--
Bus:            Bus ID  Type
                 0       ISA   
                 1       PCI   
--
I/O APICs:      APIC ID Version State           Address
                 2       0x11    usable          0xfec00000
--
I/O Ints:       Type    Polarity    Trigger     Bus ID   IRQ    APIC ID  PIN#
                ExtINT   conforms    conforms        0     0          2  0
                INT      conforms    conforms        0     1          2  1
                INT      conforms    conforms        0     0          2  2
                INT      conforms    conforms        0     3          2  3
                INT      conforms    conforms        0     4          2  4
                INT      conforms    conforms        0     5          2  5
                INT      conforms    conforms        0     6          2  6
                INT      conforms    conforms        0     7          2  7
                INT      conforms    conforms        0     8          2  8
                INT      conforms    conforms        0     9          2  9
                INT      conforms    conforms        0    10          2  10
                INT      conforms    conforms        0    11          2  11
                INT      conforms    conforms        0    12          2 12
                INT      conforms    conforms        0    13          2 13
                INT      conforms    conforms        0    14          2 14
                INT      conforms    conforms        0    15          2 15
                INT     active-lo       level        1  20:A          2 16
                INT     active-lo       level        1  19:A          2 17
                INT     active-lo       level        1  18:A          2 18
                INT     active-lo       level        1  17:A          2 19
                SMI      conforms    conforms        0     0          2 23
--
Local Ints:     Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                ExtINT  active-hi        edge        0     0        255 0
                NMI     active-hi        edge        0     0        255 1

===============================================================================



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0105012203570.25027-100000>