Repository navigation
Description
Hi, I'm running Gentoo with the aforementioned kernel (latest as of time of writing). It occasionally will have a problem with either the USB or the USB network card and stop talking on the network, requiring a reboot. Unfortunately I don't have much to debug from, but I will post the kernel message at the time it stopped. I can also post my .config if required. I have set "vm.min_free_kbytes = 4096" when following setup instructions (not sure if this is still required).
Sep 30 11:26:36 pie kernel: ------------[ cut here ]------------
Sep 30 11:26:36 pie kernel: WARNING: at net/sched/sch_generic.c:255 0xc02caf0c()
Sep 30 11:26:36 pie kernel: NETDEV WATCHDOG: eth0 (smsc95xx): transmit queue 0 timed out
Sep 30 11:26:36 pie kernel: Modules linked in: cpufreq_ondemand xt_recent iptable_filter ip_tables smsc95xx
Sep 30 11:26:36 pie kernel: Backtrace:
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: r6:000000ff r5:c02caf0c r4:c03f3e10 r3:00000000
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: r8:c046074c r7:c03faeb8 r6:00000000 r5:ce955000 r4:c03f2000
Sep 30 11:26:36 pie kernel: r3:00000009
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: r3:ce955000 r2:c03a8a08
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: r4:c040a854 r3:00000000
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: r6:f200b200 r5:60000013 r4:c000f624 r3:c000f620
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: Exception stack(0xc03f3f38 to 0xc03f3f80)
Sep 30 11:26:36 pie kernel: 3f20: ffffffed 00000000
Sep 30 11:26:36 pie kernel: 3f40: c03f3f80 00000000 c03f2000 c04189c4 c03f7634 c03f762c 00004008 410fb767
Sep 30 11:26:36 pie kernel: 3f60: 003eaf74 c03f3f8c c03f3f90 c03f3f80 c000f620 c000f624 60000013 ffffffff
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: r6:c0647900 r5:c03ec224 r4:c03f2000 r3:00000001
Sep 30 11:26:36 pie kernel: Function entered at [] from []
Sep 30 11:26:36 pie kernel: r4:c03f40bc r3:00000000
Sep 30 11:26:36 pie kernel: Function entered at [] from [<00008040>]
Sep 30 11:26:36 pie kernel: ---[ end trace 940d8875178e3e8a ]---
Activity
dflogeras commentedon Sep 30, 2012
I see the bug report stripped all of the addresses from the call stack. Let me know if there's anything I can do to get a more useful BT, I'm comfortable modifying kernels.
licaon-kter commentedon Oct 1, 2012
afaik, vm.min_free_kbytes should be at least 8192
setting smsc95xx.turbo_mode=N in cmdline.txt helps somehow?
( both covered here: http://elinux.org/R-Pi_Troubleshooting#Crashes_occur_with_high_network_load )
dflogeras commentedon Oct 4, 2012
hmm, I tried upping the min_free_kbytes to 8192, and it still stopped working after a few days. Also, unlike most of the other reports it isn't due to high network load, and doesn't show the same kernel warnings (smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped). I will try again with turbo_mode=N.
dflogeras commentedon Oct 5, 2012
And with turbo_mode=N it stopped working after about a day of uptime. Could anyone suggest a way to get a decent kernel bactrace for the developers?
Ferroin commentedon Oct 6, 2012
Same problem with cutdown, full, and locally built kernels on debian softfloat.
Network stops working consistently within 1 hour of boot.
Network load (while it is working) is near 0, dosen't seem to change based on cmdline.txt options.
kelvinlawson commentedon Oct 8, 2012
I get the same "NETDEV WATCHDOG: eth0 (smsc95xx): transmit queue 0 timed out" and random Ethernet outages using Arch Linux 2012-09-18.
I was previously using Raspbian 2012-09-18-wheezy which had Ethernet outages but with the message "smsc95xx 1-1.1:1.0: eth0: Failed to write register index". Raspbian also trashed my rootfs on the SD card so I switched to Arch but it evidently is having similar Ethernet problems.
I have tried two PSUs, an HTC phone charger rated at 1A, and the Nexus 7 charger rated at 2A.
The one thing that might be out of the ordinary here is that I have an FTDI USB/serial device attached and am polling it frequently. Ethernet traffic is very low.
Ferroin commentedon Oct 9, 2012
Still having same problem with the current kernel and firmware versions, no peripherals at all except network connection. I didn't have this problem prior to commit 2843e37.
mlx4: Put physical GID and P_Key table sizes in mlx4_phys_caps struct…
dflogeras commentedon Oct 31, 2012
Not sure how relevant this is, but here goes:
my system is a very lightly loaded system (in terms of both CPU and network). It typically runs dnsmasq for dhcp (very light load, 1 client), ntpd, ddclient to update dynamic dns, apcupsd to monitor a battery.
Until recently I had been leaving myself signed into IRC (irssi) inside of a screen session which would be a constant, but pretty low ethernet traffic (sitting in 3-4 channels). It was typically hitting the "NETDEV WATCHDOG: eth0 (smsc95xx): transmit queue 0 timed out" issue about every 2-3 days requiring a reset (network is my only access). After a month of consistent crashes like this, I have stopped leaving IRC connected 24/7, and now it seems to stay running much longer (so far, for the past 10 days without a lockup).
popcornmix commentedon Nov 28, 2012
This may have been fixed with:
42a864b
Please run rpi-update and test again.
dflogeras commentedon Nov 28, 2012
Thank you! I've been running a kernel with that fix (3.2.27-cutdown-g4b61ead) for the past week or so without issue. I'll keep an eye on it and close in a few weeks.
ghollingworth commentedon Dec 10, 2012
Closing with no update
usb: chipidea: ehci_init_driver is intended to call one time
usb: chipidea: ehci_init_driver is intended to call one time
8 remaining items
ipv6: flowlabel: do not leave opt->tot_len with garbage
ipv6: flowlabel: do not leave opt->tot_len with garbage
drm/i915/gvt: fix user copy warning by whitelist workload rb_tail field
bpf: Fix tail_call_reachable rejection for interpreter when jit failed
bpf: Fix tail_call_reachable rejection for interpreter when jit failed
bpf: Fix tail_call_reachable rejection for interpreter when jit failed
init: don't panic if mount_nodev_root failed
mailbox: pcc: Handle all PCC subtypes correctly in pcc_mbox_irq
ARM: 9321/1: memset: cast the constant byte to unsigned char
ARM: 9321/1: memset: cast the constant byte to unsigned char
ARM: 9321/1: memset: cast the constant byte to unsigned char
Merge pull request raspberrypi#127 from sched-ext/htejun
ARM: 9321/1: memset: cast the constant byte to unsigned char
LoongArch: BPF: Support 64-bit pointers to kfuncs
selftests/bpf: Expand skb dynptr selftests for tp_btf