[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1225868744.31605.12.camel@localhost.localdomain>
Date: Wed, 05 Nov 2008 08:05:44 +0100
From: Jesper Dangaard Brouer <jdb@...x.dk>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter
On Tue, 2008-11-04 at 13:42 -0800, David Miller wrote:
> From: Jesper Dangaard Brouer <jdb@...x.dk>
> Date: Tue, 04 Nov 2008 15:45:09 +0100
>
> > I just bought the Sun x8 Express Quad Gigabit Ethernet Adapter you
> > recommended to me. It seem to work with the NIU driver (I can ping
> > through the box), but I get a kernel warning when spamming it with
> > pktgen...
> >
> > Where do I go from here?
> > And what do you want me to try?
>
> Looks like the transmitter is wedged.
I have attached niu related output from kern.log.
(cat /var/log/kern.log | grep niu | awk -F'kernel:' '{print $2}')
> Using current sources I assume?
Yes, your latest tree. Both with and without your latest change to the
niu driver (niu: Use pci_ioremap_bar().).
Also tried a debian 2.6.26-1-686, that kernel actually crashed (in
net_rx_action, __do_softirq, do_softirq, irq_exit, do_IRQ, mwait_idle).
A strange observation is the IRQ allocations seen via /proc/interrupts:
(e.g. eth2 has assigned no less than 12 IRQs !?!)
dcu-router-ng:~# cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
0: 123 1 0 1 IO-APIC-edge timer
1: 1 0 0 1 IO-APIC-edge i8042
3: 2 2 1 2 IO-APIC-edge serial
9: 0 0 0 0 IO-APIC-fasteoi acpi
12: 0 1 2 1 IO-APIC-edge i8042
14: 15 14 13 15 IO-APIC-edge ata_piix
15: 0 0 0 0 IO-APIC-edge ata_piix
16: 404 412 424 367 IO-APIC-fasteoi uhci_hcd:usb1, ehci_hcd:usb6, eth0
17: 0 0 0 0 IO-APIC-fasteoi uhci_hcd:usb2, eth3
18: 8 9 8 9 IO-APIC-fasteoi uhci_hcd:usb3
19: 0 0 0 0 IO-APIC-fasteoi uhci_hcd:usb4
20: 0 0 0 0 PCI-MSI-edge eth2
21: 963 959 942 997 IO-APIC-fasteoi ipmi_si, eth2
22: 23 23 24 23 IO-APIC-fasteoi uhci_hcd:usb5, eth2
23: 0 0 0 0 PCI-MSI-edge eth2
24: 0 0 0 0 PCI-MSI-edge eth2
25: 0 0 0 0 PCI-MSI-edge eth2
26: 0 0 0 0 PCI-MSI-edge eth2
27: 0 0 0 0 PCI-MSI-edge eth2
28: 0 0 0 0 PCI-MSI-edge eth2
29: 0 0 0 0 PCI-MSI-edge eth2
30: 0 0 0 0 PCI-MSI-edge eth2
31: 0 0 0 0 PCI-MSI-edge eth2
32: 0 0 0 0 PCI-MSI-edge eth2
34: 318 310 319 317 PCI-MSI-edge cciss0
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 89420 334612 485037 172341 Local timer interrupts
RES: 101 270 159 174 Rescheduling interrupts
CAL: 83 132 122 74 Function call interrupts
TLB: 259 226 350 315 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
SPU: 0 0 0 0 Spurious interrupts
ERR: 0
MIS: 0
--
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
View attachment "niu_kern.log" of type "text/x-log" (4992 bytes)
Powered by blists - more mailing lists