[epic] eth0: Too much work at interrupt - PCI IRQ-sharing problem?

Thomas Stroesslin thomas.stroesslin@epfl.ch
Mon, 7 May 2001 18:09:49 +0200 (MET DST)


Pavlik: maybe this is an issue in the via82cxxx driver. please
see http://www.scyld.com/pipermail/epic/2001-May/thread.html

> > What is the driver and kernel version that you are running?
> kernel 2.4.3
> Apr 30 14:14:14 mantrapc1 kernel: epic100.c:v1.11 1/7/2001 Written by

Bill Pringlemeir said in linux.dev.kernel that UDMA wasn't working. So I
post some more info concerning my chipset and kernel-setup:

in .config:
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_VIA82CXXX=y
CONFIG_IDEDMA_AUTO=y

in dmesg:
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 39
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with
VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci00:07.1
    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:pio

in /proc/pci:
  Bus  0, device   7, function  1:
    IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 16).
      Master Capable.  Latency=32.  
      I/O at 0xd000 [0xd00f].

in /proc/ide/via:
----------VIA BusMastering IDE Configuration----------------
Driver Version:                     3.20
South Bridge:                       VIA vt82c686a
Revision:                           ISA 0x22 IDE 0x10
BM-DMA base:                        0xd000
PCI clock:                          33MHz
Master Read  Cycle IRDY:            0ws
Master Write Cycle IRDY:            0ws
BM IDE Status Register Read Retry:  yes
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush:          yes                 yes
End Sector FIFO flush:         no                  no
Prefetch Buffer:               no                  no
Post Write Buffer:             no                  no
Enabled:                      yes                 yes
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:       UDMA       PIO      UDMA       PIO

what is strange, is that:
mantrapc1:~/tmp # more hdparm_hdb_dma 
/dev/hdb:
 using_dma    =  1 (on)

it seems as if the driver doesn't use dma for hdb, but hdparm shows the
value reported by the bios. all other values seem to be correct.

please note that:
mantrapc1:~/tmp # more ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:E0:29:08:3F:3C  
          inet addr:128.178.74.101  Bcast:128.178.255.255
Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1 errors:131 dropped:131 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:11 Base address:0xec00 

nothing at all is working!

cheers,
tom

-- 
Thomas Stroesslin, DI-MANTRA (INF 130), EPFL, CH-1015 Lausanne
phone: +41 (0)21 693 52 64    E-Mail: mailto:thomas.stroesslin@epfl.ch
WWW: http://diwww.epfl.ch/~stroessl/index.html
PGP: http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0x183AA136