From: Jesper Dangaard Brouer <jdb@comx.dk>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: Re: NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter
Date: Thu, 13 Nov 2008 10:10:12 +0100 [thread overview]
Message-ID: <1226567412.6834.80.camel@localhost.localdomain> (raw)
In-Reply-To: <20081112.041143.11487260.davem@davemloft.net>
On Wed, 2008-11-12 at 04:11 -0800, David Miller wrote:
> From: David Miller <davem@davemloft.net>
> Date: Wed, 12 Nov 2008 03:52:40 -0800 (PST)
>
> > Ok, Jesper, please try two things for me, leave the debugging patch
> > in there for all the tests:
> >
> > 1) Retrigger the problem (with or without MSI, doesn't matter) but
> > add back in that test I asked you to try last week. The one
> > where the "if (++rp->mark_counter == rp->mark_freq)" condition
> > test in niu_start_xmit() is commented out, so that the
> > "mrk |= TX_DESC_MARK;" statement always runs.
> >
> > Get me the log dump produced by that scenerio.
------------[ cut here ]------------
WARNING: at net/sched/sch_generic.c:226 dev_watchdog+0x21e/0x230()
NETDEV WATCHDOG: eth2 (niu): transmit timed out
Modules linked in: niu ipmi_si hpwdt serio_raw bnx2 zlib_inflate rng_core ipmi_msghandler hpilo ehci_hcd uhci_hcd sr_mod cdrom
Pid: 0, comm: swapper Not tainted 2.6.28-rc4-davem #17
Call Trace:
[<c0125823>] warn_slowpath+0x63/0x80
[<c011f03e>] ? __enqueue_entity+0x8e/0xb0
[<c010888c>] ? native_sched_clock+0x1c/0x80
[<c01453c4>] ? __lock_acquire+0x104/0x8e0
[<c01453c4>] ? __lock_acquire+0x104/0x8e0
[<c010888c>] ? native_sched_clock+0x1c/0x80
[<c013f19b>] ? getnstimeofday+0x3b/0xe0
[<c0144b09>] ? lock_release_holdtime+0x79/0xc0
[<c021fd2e>] ? strlcpy+0x1e/0x60
[<c031f4be>] dev_watchdog+0x21e/0x230
[<c0144b09>] ? lock_release_holdtime+0x79/0xc0
[<c012e55d>] ? run_timer_softirq+0x10d/0x190
[<c012e56f>] run_timer_softirq+0x11f/0x190
[<c014362c>] ? tick_dev_program_event+0x3c/0xc0
[<c031f2a0>] ? dev_watchdog+0x0/0x230
[<c012a204>] __do_softirq+0x94/0x160
[<c013c7c0>] ? hrtimer_interrupt+0x150/0x180
[<c013c651>] ? ktime_get+0x11/0x30
[<c012a30b>] do_softirq+0x3b/0x50
[<c012a515>] irq_exit+0x75/0x90
[<c011364a>] smp_apic_timer_interrupt+0x5a/0x90
[<c013c5ca>] ? hrtimer_start+0x1a/0x20
[<c0103f0c>] apic_timer_interrupt+0x28/0x30
[<c01090d5>] ? mwait_idle+0x35/0x40
[<c0101c1e>] cpu_idle+0x4e/0xa0
---[ end trace 3045c940a424568f ]---
niu 0000:0b:00.0: niu: eth2: Transmit timed out, resetting
niu 0000:0b:00.0: niu: eth2: LDG[idx(0):num(0)] V0[sw(0x0)hw(0x0)] V1[sw(0x0)hw(0x0)] V2[sw(0x0)hw(0x0)]
niu 0000:0b:00.0: niu: eth2: LDG[idx(1):num(1)] V0[sw(0x0)hw(0x0)] V1[sw(0x0)hw(0x0)] V2[sw(0x0)hw(0x0)]
niu 0000:0b:00.0: niu: eth2: LDG[idx(2):num(2)] V0[sw(0x2000000000)hw(0x0)] V1[sw(0x0)hw(0x0)] V2[sw(0x0)hw(0x0)]
niu 0000:0b:00.0: niu: eth2: LDG[idx(3):num(3)] V0[sw(0x1)hw(0x0)] V1[sw(0x0)hw(0x0)] V2[sw(0x0)hw(0x0)]
niu 0000:0b:00.0: niu: eth2: LDG[idx(4):num(4)] V0[sw(0x0)hw(0x0)] V1[sw(0x0)hw(0x0)] V2[sw(0x0)hw(0x0)]
niu 0000:0b:00.0: niu: eth2: LDG[idx(5):num(5)] V0[sw(0x0)hw(0x0)] V1[sw(0x0)hw(0x0)] V2[sw(0x0)hw(0x0)]
niu 0000:0b:00.0: niu: eth2: LDG[idx(6):num(6)] V0[sw(0x0)hw(0x0)] V1[sw(0x0)hw(0x0)] V2[sw(0x0)hw(0x0)]
niu 0000:0b:00.0: niu: eth2: LDG[idx(7):num(7)] V0[sw(0x100000000)hw(0x0)] V1[sw(0x0)hw(0x0)] V2[sw(0x0)hw(0x0)]
niu 0000:0b:00.0: niu: eth2: LDG[idx(8):num(8)] V0[sw(0x0)hw(0x0)] V1[sw(0x0)hw(0x0)] V2[sw(0x0)hw(0x0)]
niu 0000:0b:00.0: niu: eth2: LDG[idx(9):num(9)] V0[sw(0x0)hw(0x0)] V1[sw(0x0)hw(0x0)] V2[sw(0x0)hw(0x0)]
niu 0000:0b:00.0: niu: eth2: Dumping transmitter state.
niu 0000:0b:00.0: niu: eth2: TX_RING[ 0] CHANNEL 0 LDN 32
niu 0000:0b:00.0: niu: eth2: TX_RING[ 0] parent->lgd_map[ldn] 7
niu 0000:0b:00.0: niu: eth2: TX_RING[ 0] Num pending TX SKBs: 2
niu 0000:0b:00.0: niu: eth2: TX_RING[ 0] TX_CS sw[0002000100000000] hw[0002000100000000]
niu 0000:0b:00.0: niu: eth2: TX_RING[ 1] CHANNEL 1 LDN 33
niu 0000:0b:00.0: niu: eth2: TX_RING[ 1] parent->lgd_map[ldn] 8
niu 0000:0b:00.0: niu: eth2: TX_RING[ 1] Num pending TX SKBs: 0
niu 0000:0b:00.0: niu: eth2: TX_RING[ 1] TX_CS sw[0000000000000000] hw[0000000000000000]
niu 0000:0b:00.0: niu: eth2: TX_RING[ 2] CHANNEL 2 LDN 34
niu 0000:0b:00.0: niu: eth2: TX_RING[ 2] parent->lgd_map[ldn] 9
niu 0000:0b:00.0: niu: eth2: TX_RING[ 2] Num pending TX SKBs: 0
niu 0000:0b:00.0: niu: eth2: TX_RING[ 2] TX_CS sw[0000000000000000] hw[0000000000000000]
niu 0000:0b:00.0: niu: eth2: TX_RING[ 3] CHANNEL 3 LDN 35
niu 0000:0b:00.0: niu: eth2: TX_RING[ 3] parent->lgd_map[ldn] 0
niu 0000:0b:00.0: niu: eth2: TX_RING[ 3] Num pending TX SKBs: 0
niu 0000:0b:00.0: niu: eth2: TX_RING[ 3] TX_CS sw[0000000000000000] hw[0000000000000000]
niu 0000:0b:00.0: niu: eth2: TX_RING[ 4] CHANNEL 4 LDN 36
niu 0000:0b:00.0: niu: eth2: TX_RING[ 4] parent->lgd_map[ldn] 1
niu 0000:0b:00.0: niu: eth2: TX_RING[ 4] Num pending TX SKBs: 0
niu 0000:0b:00.0: niu: eth2: TX_RING[ 4] TX_CS sw[0000000000000000] hw[0000000000000000]
niu 0000:0b:00.0: niu: eth2: TX_RING[ 5] CHANNEL 5 LDN 37
niu 0000:0b:00.0: niu: eth2: TX_RING[ 5] parent->lgd_map[ldn] 2
niu 0000:0b:00.0: niu: eth2: TX_RING[ 5] Num pending TX SKBs: 237
niu 0000:0b:00.0: niu: eth2: TX_RING[ 5] TX_CS sw[00ed00ec00000000] hw[00ed00ec00000000]
--
Med venlig hilsen / Best regards
Jesper Brouer
ComX Networks A/S
Linux Network developer
Cand. Scient Datalog / MSc.
Author of http://adsl-optimizer.dk
LinkedIn: http://www.linkedin.com/in/brouer
next prev parent reply other threads:[~2008-11-13 9:10 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-04 14:45 NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter Jesper Dangaard Brouer
2008-11-04 21:42 ` David Miller
2008-11-05 7:05 ` Jesper Dangaard Brouer
2008-11-05 7:33 ` David Miller
2008-11-05 9:30 ` Jesper Dangaard Brouer
2008-11-05 9:34 ` David Miller
2008-11-11 19:19 ` Jesper Krogh
2008-11-11 23:50 ` David Miller
2008-11-12 0:18 ` David Miller
2008-11-12 9:36 ` Jesper Dangaard Brouer
2008-11-12 9:49 ` David Miller
2008-11-12 10:04 ` Jesper Dangaard Brouer
2008-11-12 11:01 ` Jesper Dangaard Brouer
2008-11-12 11:52 ` David Miller
2008-11-12 12:11 ` David Miller
2008-11-12 12:49 ` Jesper Dangaard Brouer
2008-11-13 8:50 ` Jesper Dangaard Brouer
2008-11-13 22:08 ` David Miller
2008-11-14 12:38 ` NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter (rmmod BUG) Jesper Dangaard Brouer
2008-11-14 18:49 ` Jesper Dangaard Brouer
2008-11-15 0:21 ` David Miller
2008-11-19 12:10 ` Jesper Dangaard Brouer
2008-11-12 12:54 ` NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter Ben Hutchings
2008-11-12 13:21 ` Jesper Dangaard Brouer
2008-11-12 21:46 ` David Miller
2008-11-12 21:50 ` Ben Hutchings
2008-11-12 22:26 ` David Miller
2008-11-12 22:58 ` Roland Dreier
2008-11-12 17:56 ` Jesper Krogh
2008-11-12 21:43 ` David Miller
2008-11-12 21:31 ` Jesper Dangaard Brouer
2008-11-12 23:10 ` Matheos Worku
2008-11-13 9:10 ` Jesper Dangaard Brouer [this message]
2008-11-13 22:19 ` David Miller
2008-11-13 10:29 ` Jesper Dangaard Brouer
2008-11-13 22:15 ` David Miller
2008-11-19 22:58 ` NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter (perf + regression IRQs) Jesper Dangaard Brouer
2008-11-19 23:11 ` David Miller
2008-11-20 19:48 ` Regression: Bisected, IRQ and MSI allocations screwed without sparse irq Jesper Dangaard Brouer
2008-11-21 0:34 ` Thomas Gleixner
2008-11-21 10:33 ` Jesper Dangaard Brouer
2008-11-21 16:40 ` Thomas Gleixner
2008-11-21 19:35 ` Jesper Dangaard Brouer
2008-11-21 21:11 ` Thomas Gleixner
2008-11-21 23:06 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1226567412.6834.80.camel@localhost.localdomain \
--to=jdb@comx.dk \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.