Bug 48691 - Adaptec ANA-6944 (tulip) no network i/o over the wire
Summary: Adaptec ANA-6944 (tulip) no network i/o over the wire
Status: RESOLVED INSUFFICIENT_DATA
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_network@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-11 10:00 UTC by Christian Birchinger
Modified: 2013-11-19 22:48 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.6.1
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
kernel config (51.34 KB, text/plain)
2012-10-11 10:00 UTC, Christian Birchinger
Details
dmesg while working (3.6.1 with 3.4.9 tulip driver) (33.87 KB, text/plain)
2012-10-11 10:01 UTC, Christian Birchinger
Details

Description Christian Birchinger 2012-10-11 10:00:24 UTC
Created attachment 82911 [details]
kernel config

Problem:
========

No traffic is on all NIC ports. mii-tool (ethtools is not supported by this NIC)
reports the link being up.

All IPs are configured as before and tcpdump even shows outgoing ARP request.

But theres no traffic going on over the wire.

Quick workaround is putting the tulip folder from 3.4.9 into a 3.6.1 kernel tree.


Analysis:
=========

Working Setups:
- Kernel 3.2.21
- Kernel 3.4.9
- Kernel 3.6.1 with the "tulip" folder from 3.4.9

Tested broken kernels:
- Kernel 3.5.6
- Kernel 3.6.1

"Linux Tulip driver version 1.1.15 (Feb 27, 2007)" is the reported driver in dmesg.
The git web frontend shows lots of changes in the tulip folder during the past year
though.


Hardware/Driver:
================

Adaptec ANA-6944 Quad Port 100MBit NIC

CONFIG_NET_VENDOR_DEC=y
CONFIG_NET_TULIP=y
CONFIG_TULIP=y

Boot console message (during problem):
======================================

"Disabling IRQ #17"

IRQ 17 is the one from the quadport NIC:
17:    1903164          0   IO-APIC-fasteoi   eth1, eth2, eth3


Kernel 3.5.6 messages:
======================

Oct 11 02:07:08 cheap kernel: Pid: 0, comm: swapper/0 Not tainted 3.5.6-gentoo #1
Oct 11 02:07:08 cheap kernel: Call Trace:
Oct 11 02:07:08 cheap kernel:  <IRQ>  [<ffffffff8105cf6f>] ? __report_bad_irq+0x25/0xb4
Oct 11 02:07:08 cheap kernel:  [<ffffffff8105d1ee>] ? note_interrupt+0x163/0x1e5
Oct 11 02:07:08 cheap kernel:  [<ffffffff8105b5dd>] ? handle_irq_event_percpu+0x104/0x11c
Oct 11 02:07:08 cheap kernel:  [<ffffffff8105b623>] ? handle_irq_event+0x2e/0x4f
Oct 11 02:07:08 cheap kernel:  [<ffffffff8105d7fa>] ? handle_fasteoi_irq+0x6d/0x9d
Oct 11 02:07:08 cheap kernel:  [<ffffffff8100348e>] ? handle_irq+0x11e/0x128
Oct 11 02:07:08 cheap kernel:  [<ffffffff810030ba>] ? do_IRQ+0x45/0xad
Oct 11 02:07:08 cheap kernel:  [<ffffffff813acde7>] ? common_interrupt+0x67/0x67
Oct 11 02:07:08 cheap kernel:  <EOI>  [<ffffffff8105255f>] ? tick_nohz_stop_sched_tick.clone.7+0x283/0x2ff
Oct 11 02:07:08 cheap kernel:  [<ffffffff810083e0>] ? mwait_idle+0x5c/0x5f
Oct 11 02:07:08 cheap kernel:  [<ffffffff81008bce>] ? cpu_idle+0x61/0x7f
Oct 11 02:07:08 cheap kernel:  [<ffffffff81564a7f>] ? start_kernel+0x2fc/0x307
Oct 11 02:07:08 cheap kernel:  [<ffffffff8156450d>] ? repair_env_string+0x59/0x59
Oct 11 02:07:08 cheap kernel: nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
Oct 11 02:07:08 cheap kernel: net eth2: >Setting full-duplex based on MII#1 link partner capability of 45e1
Oct 11 02:07:08 cheap kernel: net eth3: >Setting full-duplex based on MII#1 link partner capability of c1e1
Oct 11 02:07:20 cheap kernel: ------------[ cut here ]------------
Oct 11 02:07:20 cheap kernel: WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x15a/0x1f5()
Oct 11 02:07:20 cheap kernel: Hardware name: MS-9632
Oct 11 02:07:20 cheap kernel: NETDEV WATCHDOG: eth2 (tulip): transmit queue 0 timed out
Oct 11 02:07:20 cheap kernel: Pid: 0, comm: swapper/1 Not tainted 3.5.6-gentoo #1
Oct 11 02:07:20 cheap kernel: Call Trace:
Oct 11 02:07:20 cheap kernel:  <IRQ>  [<ffffffff812caa88>] ? dev_watchdog+0x15a/0x1f5
Oct 11 02:07:20 cheap kernel:  [<ffffffff81026f6b>] ? warn_slowpath_common+0x73/0x87
Oct 11 02:07:20 cheap kernel:  [<ffffffff812ca92e>] ? pfifo_fast_dequeue+0xbd/0xbd
Oct 11 02:07:20 cheap kernel:  [<ffffffff81026fe0>] ? warn_slowpath_fmt+0x45/0x4a
Oct 11 02:07:20 cheap kernel:  [<ffffffff812caa88>] ? dev_watchdog+0x15a/0x1f5
Oct 11 02:07:20 cheap kernel:  [<ffffffff81030b35>] ? run_timer_softirq+0x196/0x224
Oct 11 02:07:20 cheap kernel:  [<ffffffff8104c3f1>] ? ktime_get+0x5f/0xb9
Oct 11 02:07:20 cheap kernel:  [<ffffffff8102c958>] ? __do_softirq+0x7f/0x106
Oct 11 02:07:20 cheap kernel:  [<ffffffff813ae62c>] ? call_softirq+0x1c/0x30
Oct 11 02:07:20 cheap kernel:  [<ffffffff810034c9>] ? do_softirq+0x31/0x68
Oct 11 02:07:21 cheap kernel:  [<ffffffff8102cb90>] ? irq_exit+0x44/0x9e
Oct 11 02:07:21 cheap kernel:  [<ffffffff8101817f>] ? smp_apic_timer_interrupt+0x85/0x95
Oct 11 02:07:21 cheap kernel:  [<ffffffff813adec7>] ? apic_timer_interrupt+0x67/0x70
Oct 11 02:07:21 cheap kernel:  <EOI>  [<ffffffff8105255f>] ? tick_nohz_stop_sched_tick.clone.7+0x283/0x2ff
Oct 11 02:07:21 cheap kernel:  [<ffffffff810083e0>] ? mwait_idle+0x5c/0x5f
Oct 11 02:07:21 cheap kernel:  [<ffffffff81008bce>] ? cpu_idle+0x61/0x7f
Oct 11 02:07:21 cheap kernel: ---[ end trace b67269d7338042e3 ]---

Kernel 3.6.1 messages:
======================
Oct 11 01:27:27 cheap kernel: Pid: 0, comm: swapper/0 Not tainted 3.6.1-gentoo #1
Oct 11 01:27:27 cheap kernel: Call Trace:
Oct 11 01:27:27 cheap kernel:  <IRQ>  [<ffffffff810604e3>] ? __report_bad_irq+0x25/0xb4
Oct 11 01:27:27 cheap kernel:  [<ffffffff81060762>] ? note_interrupt+0x163/0x1e5
Oct 11 01:27:27 cheap kernel:  [<ffffffff8105eb39>] ? handle_irq_event_percpu+0x104/0x11c
Oct 11 01:27:27 cheap kernel:  [<ffffffff8105eb7f>] ? handle_irq_event+0x2e/0x4f
Oct 11 01:27:27 cheap kernel:  [<ffffffff81060d6e>] ? handle_fasteoi_irq+0x6d/0x9d
Oct 11 01:27:27 cheap kernel:  [<ffffffff810034a2>] ? handle_irq+0x11e/0x128
Oct 11 01:27:27 cheap kernel:  [<ffffffff810030c2>] ? do_IRQ+0x45/0xad
Oct 11 01:27:27 cheap kernel:  [<ffffffff813b4da7>] ? common_interrupt+0x67/0x67
Oct 11 01:27:27 cheap kernel:  <EOI>  [<ffffffff81055a9f>] ? __tick_nohz_idle_enter+0x250/0x32b
Oct 11 01:27:27 cheap kernel:  [<ffffffff810083f4>] ? mwait_idle+0x5c/0x5f
Oct 11 01:27:27 cheap kernel:  [<ffffffff81008bc7>] ? cpu_idle+0x61/0x7f
Oct 11 01:27:27 cheap kernel:  [<ffffffff81574a81>] ? start_kernel+0x2fe/0x309
Oct 11 01:27:27 cheap kernel:  [<ffffffff8157450d>] ? repair_env_string+0x59/0x59
Oct 11 01:27:27 cheap kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
Oct 11 01:27:27 cheap kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Oct 11 01:27:27 cheap kernel: nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
Oct 11 01:27:27 cheap kernel:  [<ffffffff81060d6e>] ? handle_fasteoi_irq+0x6d/0x9d
Oct 11 01:27:27 cheap kernel:  [<ffffffff810034a2>] ? handle_irq+0x11e/0x128
Oct 11 01:27:27 cheap kernel:  [<ffffffff810030c2>] ? do_IRQ+0x45/0xad
Oct 11 01:27:27 cheap kernel:  [<ffffffff813b4da7>] ? common_interrupt+0x67/0x67
Oct 11 01:27:27 cheap kernel:  <EOI>  [<ffffffff81055a9f>] ? __tick_nohz_idle_enter+0x250/0x32b
Oct 11 01:27:27 cheap kernel:  [<ffffffff810083f4>] ? mwait_idle+0x5c/0x5f
Oct 11 01:27:27 cheap kernel:  [<ffffffff81008bc7>] ? cpu_idle+0x61/0x7f
Oct 11 01:27:27 cheap kernel:  [<ffffffff81574a81>] ? start_kernel+0x2fe/0x309
Oct 11 01:27:27 cheap kernel:  [<ffffffff8157450d>] ? repair_env_string+0x59/0x59
Oct 11 01:27:27 cheap kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
Oct 11 01:27:27 cheap kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Oct 11 01:27:27 cheap kernel: nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
Oct 11 01:27:27 cheap kernel: net eth2: Setting full-duplex based on MII#1 link partner capability of 45e1
Oct 11 01:27:27 cheap kernel: net eth3: Setting full-duplex based on MII#1 link partner capability of c1e1
Oct 11 01:27:42 cheap kernel: ------------[ cut here ]------------
Oct 11 01:27:42 cheap kernel: WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x151/0x1ec()
Oct 11 01:27:42 cheap kernel: Hardware name: MS-9632
Oct 11 01:27:42 cheap kernel: NETDEV WATCHDOG: eth2 (tulip): transmit queue 0 timed out
Oct 11 01:27:42 cheap kernel: Pid: 0, comm: swapper/1 Not tainted 3.6.1-gentoo #1
Oct 11 01:27:42 cheap kernel: Call Trace:
Oct 11 01:27:42 cheap kernel:  <IRQ>  [<ffffffff812d14f7>] ? dev_watchdog+0x151/0x1ec
Oct 11 01:27:42 cheap kernel:  [<ffffffff81029b73>] ? warn_slowpath_common+0x73/0x87
Oct 11 01:27:42 cheap kernel:  [<ffffffff812d13a6>] ? pfifo_fast_dequeue+0xbd/0xbd
Oct 11 01:27:42 cheap kernel:  [<ffffffff81029be8>] ? warn_slowpath_fmt+0x45/0x4a
Oct 11 01:27:42 cheap kernel:  [<ffffffff812d14f7>] ? dev_watchdog+0x151/0x1ec
Oct 11 01:27:42 cheap kernel:  [<ffffffff8103395d>] ? run_timer_softirq+0x1a2/0x230
Oct 11 01:27:42 cheap kernel:  [<ffffffff8104ce34>] ? trigger_load_balance+0x4f/0x205
Oct 11 01:27:42 cheap kernel:  [<ffffffff8102f687>] ? __do_softirq+0x96/0x13b
Oct 11 01:27:42 cheap kernel:  [<ffffffff813b656c>] ? call_softirq+0x1c/0x30
Oct 11 01:27:42 cheap kernel:  [<ffffffff810034dd>] ? do_softirq+0x31/0x68
Oct 11 01:27:42 cheap kernel:  [<ffffffff8102f8dd>] ? irq_exit+0x44/0x9e
Oct 11 01:27:42 cheap kernel:  [<ffffffff8101abb3>] ? smp_apic_timer_interrupt+0x85/0x95
Oct 11 01:27:42 cheap kernel:  [<ffffffff813b5e87>] ? apic_timer_interrupt+0x67/0x70
Oct 11 01:27:42 cheap kernel:  <EOI>  [<ffffffff81055a9f>] ? __tick_nohz_idle_enter+0x250/0x32b
Oct 11 01:27:42 cheap kernel:  [<ffffffff810083f4>] ? mwait_idle+0x5c/0x5f
Oct 11 01:27:42 cheap kernel:  [<ffffffff81008bc7>] ? cpu_idle+0x61/0x7f
Oct 11 01:27:42 cheap kernel: ---[ end trace f4d52ae50a1ba783 ]---

lspci -vvv:
===========

05:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21140 [FasterNet] (rev 22)
	Subsystem: Cogent Data Technologies, Inc. ANA-6944A/TX Fast Ethernet
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 20 (5000ns min, 10000ns max), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 17
	Region 0: I/O ports at df00 [size=128]
	Region 1: Memory at fd7ff000 (32-bit, non-prefetchable) [size=128]
	[virtual] Expansion ROM at fd600000 [disabled] [size=256K]
	Kernel driver in use: tulip

05:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21140 [FasterNet] (rev 22)
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 20 (5000ns min, 10000ns max), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 18
	Region 0: I/O ports at de00 [size=128]
	Region 1: Memory at fd7fe000 (32-bit, non-prefetchable) [size=128]
	[virtual] Expansion ROM at fd640000 [disabled] [size=256K]
	Kernel driver in use: tulip

05:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21140 [FasterNet] (rev 22)
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 20 (5000ns min, 10000ns max), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 19
	Region 0: I/O ports at dd00 [size=128]
	Region 1: Memory at fd7fd000 (32-bit, non-prefetchable) [size=128]
	[virtual] Expansion ROM at fd680000 [disabled] [size=256K]
	Kernel driver in use: tulip

05:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21140 [FasterNet] (rev 22)
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 20 (5000ns min, 10000ns max), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: I/O ports at dc00 [size=128]
	Region 1: Memory at fd7fc000 (32-bit, non-prefetchable) [size=128]
	[virtual] Expansion ROM at fd6c0000 [disabled] [size=256K]
	Kernel driver in use: tulip
Comment 1 Christian Birchinger 2012-10-11 10:01:36 UTC
Created attachment 82921 [details]
dmesg while working (3.6.1 with 3.4.9 tulip driver)
Comment 2 Christian Birchinger 2012-10-11 10:18:14 UTC
Kernel parameters "noirqdebug irqpoll" were only added because i found notices about problems with IRQ sharing of tulip and USB controllers.

These 2 options to not affect the result.

In my case no USB support is compiled into the kernel anyway.
Comment 3 Francois Romieu 2013-01-16 23:07:39 UTC
Can you check the status of the tulip driver as of:
- bbf7bd2f04b5a24d0f371bd77ad1cf82471225e4
- a173460a6391ed5c38b63bcaedc6afc30f4de3b2

It's fine if you try those with your v3.6.1 kernel.

Thanks.

-- 
Ueimor

Note You need to log in before you can comment on or make changes to this bug.