Repository navigation
Description
Is this the right place for my bug report?
This repository contains the Linux kernel used on the Raspberry Pi. If you believe that the issue you are seeing is kernel-related, this is the right place. If not, we have other repositories for the GPU firmware at github.com/raspberrypi/firmware and Raspberry Pi userland applications at github.com/raspberrypi/userland. If you have problems with the Raspbian distribution packages, report them in the github.com/RPi-Distro/repo. If you simply have a question, then the Raspberry Pi forums are the best place to ask it.
Describe the bug
Add a clear and concise description of what you think the bug is.
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167099] ------------[ cut here ]------------
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167177] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:466 dev_watchdog+0x26c/0x288
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167190] NETDEV WATCHDOG: eth0 (dm9601): transmit queue 0 timed out
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167196] Modules linked in: sha256_generic cfg80211 rfkill 8021q garp stp llc nft_counter xt_tcpudp xt_state xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink sr9700 dm9601 raspberrypi_hwmon hwmon bcm2835_codec(C) bcm2835_v4l2(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) videobuf2_dma_contig v4l2_common videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media vc_sm_cma(C) uio_pdrv_genirq uio fixed ip_tables x_tables ipv6
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167417] CPU: 0 PID: 0 Comm: swapper Tainted: G C 4.19.75+ #1270
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167424] Hardware name: BCM2835
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167472] [] (unwind_backtrace) from [] (show_stack+0x20/0x24)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167510] [] (show_stack) from [] (dump_stack+0x20/0x28)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167546] [] (dump_stack) from [] (__warn+0xf4/0x11c)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167570] [] (__warn) from [] (warn_slowpath_fmt+0x54/0x74)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167599] [] (warn_slowpath_fmt) from [] (dev_watchdog+0x26c/0x288)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167646] [] (dev_watchdog) from [] (call_timer_fn+0x3c/0x120)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167674] [] (call_timer_fn) from [] (expire_timers+0x9c/0xd8)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167700] [] (expire_timers) from [] (run_timer_softirq+0xa4/0x1ac)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167726] [] (run_timer_softirq) from [] (__do_softirq+0x12c/0x344)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167761] [] (__do_softirq) from [] (irq_exit+0xe4/0x100)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167792] [] (irq_exit) from [] (__handle_domain_irq+0x60/0xb8)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167815] [] (__handle_domain_irq) from [] (bcm2835_handle_irq+0x28/0x48)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167834] [] (bcm2835_handle_irq) from [] (__irq_svc+0x5c/0x7c)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167845] Exception stack(0xc09e7ef0 to 0xc09e7f38)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167859] 7ee0: c00115e4 00000000 40000093 40000093
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167878] 7f00: c09e6000 c09e9090 c0a76fb6 c09e9020 c0a84c80 dbfffa40 c09c0a30 c09e7f4c
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167896] 7f20: c09e941c c09e7f40 00000000 c00115e8 40000013 ffffffff
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167927] [] (__irq_svc) from [] (arch_cpu_idle+0x30/0x40)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167957] [] (arch_cpu_idle) from [] (default_idle_call+0x34/0x48)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.167994] [] (default_idle_call) from [] (do_idle+0x94/0xf4)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.168027] [] (do_idle) from [] (cpu_startup_entry+0x1c/0x20)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.168063] [] (cpu_startup_entry) from [] (rest_init+0x7c/0x9c)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.168088] [] (rest_init) from [] (start_kernel+0x3e8/0x49c)
Jan 12 00:18:06 raspberrypi kernel: [ 8378.168103] ---[ end trace 5d6e43a630ac3840 ]---
To reproduce
List the steps required to reproduce the issue.
Expected behaviour
Add a clear and concise description of what you expected to happen.
Actual behaviour
Add a clear and concise description of what actually happened.
System
System Information
Raspberry Pi Zero Rev 1.3
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
Raspberry Pi reference 2019-09-26
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 80d486687ea77d31fc3fc13cf3a2f8b464e129be, stage2
Linux raspberrypi 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l GNU/Linux
Revision : 900093
Serial : 000000001a48b5ea
Model : Raspberry Pi Zero Rev 1.3
Throttled flag : throttled=0x0
Camera : supported=0 detected=0
Videocore information
Sep 24 2019 17:37:19
Copyright (c) 2012 Broadcom
version 6820edeee4ef3891b95fc01cf02a7abd7ca52f17 (clean) (release) (start)
alloc failures: 0
compactions: 0
legacy block fails: 0
Filesystem information
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 1866100 1380732 372524 79% /
devtmpfs 217212 0 217212 0% /dev
tmpfs 221540 332 221208 1% /dev/shm
tmpfs 221540 3124 218416 2% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 221540 0 221540 0% /sys/fs/cgroup
/dev/mmcblk0p1 258095 53702 204394 21% /boot
tmpfs 44308 0 44308 0% /run/user/999
tmpfs 44308 0 44308 0% /run/user/1000
Filename Type Size Used Priority
/var/swap file 102396 0 -2
Package version information
raspberrypi-ui-mods:
Installed: (none)
raspberrypi-sys-mods:
Installed: 20191105
openbox:
Installed: (none)
lxpanel:
Installed: (none)
pcmanfm:
Installed: (none)
rpd-plym-splash:
Installed: (none)
Networking Information
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet x.x.x.x netmask x.x.x.x broadcast x.x.x.x
ether m.m.m.m txqueuelen 1000 (Ethernet)
RX packets 3716 bytes 413699 (404.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3169 bytes 539152 (526.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet x.x.x.x netmask x.x.x.x
loop txqueuelen 1000 (Local Loopback)
RX packets 87 bytes 7763 (7.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 87 bytes 7763 (7.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
USB Information
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 2: Dev 3, If 0, Class=, Driver=dm9601, 12M
config.txt
aphy_params_current=547
arm_freq=1000
audio_pwm_mode=514
config_hdmi_boost=5
core_freq=400
disable_auto_turbo=1
disable_commandline_tags=2
display_hdmi_rotate=-1
display_lcd_rotate=-1
dphy_params_current=547
enable_uart=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=300
hdmi_safe=1
ignore_lcd=1
init_uart_clock=0x2dc6c00
over_voltage_avs=0x249f0
overscan_bottom=16
overscan_left=24
overscan_right=24
overscan_top=16
pause_burst_frames=1
program_serial_random=1
sdram_freq=450
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_force_hotplug:0=1
hdmi_force_hotplug:1=1
hdmi_group:0=2
hdmi_group:1=2
hdmi_mode:0=4
hdmi_mode:1=4
hdmi_pixel_freq_limit:0=0x9a7ec80
hdmi_pixel_freq_limit:1=0x9a7ec80
device_tree=-
hdmi_cvt:0=
hdmi_cvt:1=
hdmi_edid_filename:0=
hdmi_edid_filename:1=
hdmi_timings:0=
hdmi_timings:1=
cmdline.txt
coherent_pool=1M bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:48:B5:EA vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=ttyAMA0,115200 console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
raspi-gpio settings
BANK0 (GPIO 0 to 27):
GPIO 0: level=1 fsel=0 func=INPUT
GPIO 1: level=1 fsel=0 func=INPUT
GPIO 2: level=1 fsel=0 func=INPUT
GPIO 3: level=1 fsel=0 func=INPUT
GPIO 4: level=1 fsel=0 func=INPUT
GPIO 5: level=1 fsel=0 func=INPUT
GPIO 6: level=1 fsel=0 func=INPUT
GPIO 7: level=1 fsel=0 func=INPUT
GPIO 8: level=1 fsel=0 func=INPUT
GPIO 9: level=0 fsel=0 func=INPUT
GPIO 10: level=0 fsel=0 func=INPUT
GPIO 11: level=0 fsel=0 func=INPUT
GPIO 12: level=0 fsel=0 func=INPUT
GPIO 13: level=0 fsel=0 func=INPUT
GPIO 14: level=1 fsel=4 alt=0 func=TXD0
GPIO 15: level=1 fsel=4 alt=0 func=RXD0
GPIO 16: level=0 fsel=0 func=INPUT
GPIO 17: level=0 fsel=0 func=INPUT
GPIO 18: level=0 fsel=0 func=INPUT
GPIO 19: level=0 fsel=0 func=INPUT
GPIO 20: level=0 fsel=0 func=INPUT
GPIO 21: level=0 fsel=0 func=INPUT
GPIO 22: level=0 fsel=0 func=INPUT
GPIO 23: level=0 fsel=0 func=INPUT
GPIO 24: level=0 fsel=0 func=INPUT
GPIO 25: level=0 fsel=0 func=INPUT
GPIO 26: level=0 fsel=0 func=INPUT
GPIO 27: level=0 fsel=0 func=INPUT
BANK1 (GPIO 28 to 45):
GPIO 28: level=1 fsel=0 func=INPUT
GPIO 29: level=1 fsel=0 func=INPUT
GPIO 30: level=0 fsel=0 func=INPUT
GPIO 31: level=0 fsel=0 func=INPUT
GPIO 32: level=0 fsel=1 func=OUTPUT
GPIO 33: level=0 fsel=0 func=INPUT
GPIO 34: level=1 fsel=0 func=INPUT
GPIO 35: level=1 fsel=0 func=INPUT
GPIO 36: level=1 fsel=0 func=INPUT
GPIO 37: level=0 fsel=0 func=INPUT
GPIO 38: level=0 fsel=0 func=INPUT
GPIO 39: level=0 fsel=0 func=INPUT
GPIO 40: level=0 fsel=0 func=INPUT
GPIO 41: level=0 fsel=1 func=OUTPUT
GPIO 42: level=0 fsel=0 func=INPUT
GPIO 43: level=0 fsel=0 func=INPUT
GPIO 44: level=0 fsel=0 func=INPUT
GPIO 45: level=0 fsel=0 func=INPUT
BANK2 (GPIO 46 to 53):
GPIO 46: level=1 fsel=0 func=INPUT
GPIO 47: level=0 fsel=1 func=OUTPUT
GPIO 48: level=0 fsel=4 alt=0 func=SD0_CLK
GPIO 49: level=1 fsel=4 alt=0 func=SD0_CMD
GPIO 50: level=1 fsel=4 alt=0 func=SD0_DAT0
GPIO 51: level=1 fsel=4 alt=0 func=SD0_DAT1
GPIO 52: level=1 fsel=4 alt=0 func=SD0_DAT2
GPIO 53: level=1 fsel=4 alt=0 func=SD0_DAT3
vcdbg log messages
001192.433: brfs: File read: /mfs/sd/config.txt
001193.216: brfs: File read: 1828 bytes
001203.765: HDMI:EDID error reading EDID block 0 attempt 0
001205.067: HDMI:EDID error reading EDID block 0 attempt 1
001206.360: HDMI:EDID error reading EDID block 0 attempt 2
001207.654: HDMI:EDID error reading EDID block 0 attempt 3
001208.947: HDMI:EDID error reading EDID block 0 attempt 4
001210.243: HDMI:EDID error reading EDID block 0 attempt 5
001211.535: HDMI:EDID error reading EDID block 0 attempt 6
001212.830: HDMI:EDID error reading EDID block 0 attempt 7
001214.124: HDMI:EDID error reading EDID block 0 attempt 8
001215.419: HDMI:EDID error reading EDID block 0 attempt 9
001216.475: HDMI:EDID giving up on reading EDID block 0
001216.833: HDMI:EDID error reading EDID block 0 attempt 0
001218.132: HDMI:EDID error reading EDID block 0 attempt 1
001219.432: HDMI:EDID error reading EDID block 0 attempt 2
001220.731: HDMI:EDID error reading EDID block 0 attempt 3
001222.030: HDMI:EDID error reading EDID block 0 attempt 4
001223.329: HDMI:EDID error reading EDID block 0 attempt 5
001224.627: HDMI:EDID error reading EDID block 0 attempt 6
001225.925: HDMI:EDID error reading EDID block 0 attempt 7
001227.223: HDMI:EDID error reading EDID block 0 attempt 8
001228.522: HDMI:EDID error reading EDID block 0 attempt 9
001229.584: HDMI:EDID giving up on reading EDID block 0
001243.617: brfs: File read: /mfs/sd/config.txt
001244.418: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
001254.541: gpioman: gpioman_get_pin_num: pin WL_LPO_CLK not defined
001254.608: gpioman: gpioman_get_pin_num: pin BT_ON not defined
001254.666: gpioman: gpioman_get_pin_num: pin WL_ON not defined
001276.964: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
001277.056: *** Restart logging
001277.122: brfs: File read: 1828 bytes
001277.840: hdmi: HDMI:EDID error reading EDID block 0 attempt 0
001279.150: hdmi: HDMI:EDID error reading EDID block 0 attempt 1
001280.452: hdmi: HDMI:EDID error reading EDID block 0 attempt 2
001281.755: hdmi: HDMI:EDID error reading EDID block 0 attempt 3
001283.058: hdmi: HDMI:EDID error reading EDID block 0 attempt 4
001284.361: hdmi: HDMI:EDID error reading EDID block 0 attempt 5
001285.664: hdmi: HDMI:EDID error reading EDID block 0 attempt 6
001286.967: hdmi: HDMI:EDID error reading EDID block 0 attempt 7
001288.270: hdmi: HDMI:EDID error reading EDID block 0 attempt 8
001289.573: hdmi: HDMI:EDID error reading EDID block 0 attempt 9
001290.640: hdmi: HDMI:EDID giving up on reading EDID block 0
001291.015: hdmi: HDMI:EDID error reading EDID block 0 attempt 0
001292.316: hdmi: HDMI:EDID error reading EDID block 0 attempt 1
001293.615: hdmi: HDMI:EDID error reading EDID block 0 attempt 2
001294.914: hdmi: HDMI:EDID error reading EDID block 0 attempt 3
001296.213: hdmi: HDMI:EDID error reading EDID block 0 attempt 4
001297.512: hdmi: HDMI:EDID error reading EDID block 0 attempt 5
001298.811: hdmi: HDMI:EDID error reading EDID block 0 attempt 6
001300.110: hdmi: HDMI:EDID error reading EDID block 0 attempt 7
001301.409: hdmi: HDMI:EDID error reading EDID block 0 attempt 8
001302.708: hdmi: HDMI:EDID error reading EDID block 0 attempt 9
001303.770: hdmi: HDMI:EDID giving up on reading EDID block 0
001307.358: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
001308.707: brfs: File read: /mfs/sd/cmdline.txt
001308.785: Read command line from file 'cmdline.txt':
001308.843: 'console=serial0,115200 console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait'
001313.523: brfs: File read: 121 bytes
001317.172: brfs: File read: /mfs/sd/bcm2708-rpi-zero.dtb
001317.234: Loading 'bcm2708-rpi-zero.dtb' to 0x100 size 0x5c77
001406.350: brfs: File read: 23671 bytes
001408.890: brfs: File read: /mfs/sd/config.txt
001409.385: brfs: File read: 1828 bytes
001413.632: brfs: File read: /mfs/sd/overlays/disable-wifi.dtbo
001425.545: Loaded overlay 'disable-wifi'
001443.198: brfs: File read: 387 bytes
001444.425: brfs: File read: /mfs/sd/overlays/disable-bt.dtbo
001455.141: dterror: can't find symbol 'uart0_pins'
001455.156: Failed to resolve overlay 'disable-bt'
003531.408: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
003554.007: brfs: File read: 954 bytes
003897.831: brfs: File read: /mfs/sd/kernel.img
003897.898: Loading 'kernel.img' to 0x8000 size 0x4cbd38
003897.966: Device tree loaded to 0x1bfe9f00 (size 0x6038)
003899.424: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
005753.985: vchiq_core: vchiq_init_state: slot_zero = 0x5b580000, is_master = 1
005759.205: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
005764.555: TV service:host side not connected, dropping notification 0x00000002, 0x00000002, 0x00000004
019472.546: brfs: File read: 5029176 bytes
dmesg log
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.75+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1270 Tue Sep 24 18:38:54 BST 2019
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi Zero Rev 1.3
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 8 MiB at 0x1b400000
[ 0.000000] On node 0 totalpages: 114688
[ 0.000000] Normal zone: 1008 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 114688 pages, LIFO batch:31
[ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x49c with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 113680
[ 0.000000] Kernel command line: coherent_pool=1M bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2708_fb.fbswap=1 smsc95xx.macaddr=m.m.m.m vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=ttyAMA0,115200 console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 434424K/458752K available (6973K kernel code, 635K rwdata, 2080K rodata, 464K init, 797K bss, 16136K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xdc800000 - 0xff800000 ( 560 MB)
lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0x(ptrval) - 0x(ptrval) (6975 kB)
.init : 0x(ptrval) - 0x(ptrval) ( 464 kB)
.data : 0x(ptrval) - 0x(ptrval) ( 636 kB)
.bss : 0x(ptrval) - 0x(ptrval) ( 798 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 25197 entries in 74 pages
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000031] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000094] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000218] bcm2835: system timer (irq = 27)
[ 0.000637] Console: colour dummy device 80x30
[ 0.001274] console [tty1] enabled
[ 0.001355] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.060395] pid_max: default: 32768 minimum: 301
[ 0.060965] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.061025] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.062466] CPU: Testing write buffer coherency: ok
[ 0.063859] Setting up static identity map for 0x8200 - 0x8238
[ 0.065350] devtmpfs: initialized
[ 0.075733] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.076196] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.076275] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.077667] pinctrl core: initialized pinctrl subsystem
[ 0.079276] NET: Registered protocol family 16
[ 0.082504] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.089531] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.089608] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.089791] Serial: AMBA PL011 UART driver
[ 0.093105] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[ 0.136162] bcm2835-dma 20007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[ 0.138779] SCSI subsystem initialized
[ 0.139108] usbcore: registered new interface driver usbfs
[ 0.139255] usbcore: registered new interface driver hub
[ 0.139517] usbcore: registered new device driver usb
[ 0.150904] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-09-24 17:37, variant start
[ 0.160927] raspberrypi-firmware soc:firmware: Firmware hash is 6820edeee4ef3891b95fc01cf02a7abd7ca52f17
[ 0.173283] clocksource: Switched to clocksource timer
[ 0.277799] VFS: Disk quotas dquot_6.6.0
[ 0.277985] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.278355] FS-Cache: Loaded
[ 0.278729] CacheFiles: Loaded
[ 0.298192] NET: Registered protocol family 2
[ 0.299580] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.299706] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.299821] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.299944] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.300135] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.300205] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.300645] NET: Registered protocol family 1
[ 0.301808] RPC: Registered named UNIX socket transport module.
[ 0.301873] RPC: Registered udp transport module.
[ 0.301906] RPC: Registered tcp transport module.
[ 0.301934] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.304146] hw perfevents: no irqs for PMU, sampling events not supported
[ 0.304271] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[ 0.308399] Initialise system trusted keyrings
[ 0.308869] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.323989] FS-Cache: Netfs 'nfs' registered for caching
[ 0.325375] NFS: Registering the id_resolver key type
[ 0.325474] Key type id_resolver registered
[ 0.325510] Key type id_legacy registered
[ 0.325563] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.331173] Key type asymmetric registered
[ 0.331245] Asymmetric key parser 'x509' registered
[ 0.331383] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.331909] io scheduler noop registered
[ 0.331967] io scheduler deadline registered (default)
[ 0.332618] io scheduler cfq registered
[ 0.332672] io scheduler mq-deadline registered (default)
[ 0.332708] io scheduler kyber registered
[ 0.335526] bcm2708_fb soc:fb: FB found 1 display(s)
[ 0.344694] Console: switching to colour frame buffer device 74x28
[ 0.352217] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 592x448
[ 0.361700] bcm2835-rng 20104000.rng: hwrng registered
[ 0.365285] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 0.372169] vc-sm: Videocore shared memory driver
[ 0.375994] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[ 0.402477] brd: module loaded
[ 0.419185] loop: module loaded
[ 0.423053] Loading iSCSI transport class v2.0-870.
[ 0.427167] usbcore: registered new interface driver smsc95xx
[ 0.430180] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.461345] dwc_otg 20980000.usb: base=(ptrval)
[ 0.664740] Core Release: 2.80a
[ 0.667597] Setting default values for core params
[ 0.670420] Finished setting default values for core params
[ 0.873794] Using Buffer DMA mode
[ 0.876737] Periodic Transfer Interrupt Enhancement - disabled
[ 0.879694] Multiprocessor Interrupt Enhancement - disabled
[ 0.882679] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.885781] Dedicated Tx FIFOs mode
[ 0.889576] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = db514000 dma = 0x5b514000 len=9024
[ 0.895626] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.909423] dwc_otg: Microframe scheduler enabled
[ 0.909678] WARN::hcd_init_root@raspberrypi:/var/log# fiq:457: FIQ on core 0
[ 0.912405] WARN::hcd_init_fiq:458: FIQ ASM at c04fdd70 length 36
[ 0.915121] WARN::hcd_init_fiq:497: MPHI regs_base at dc810000
[ 0.917929] dwc_otg 20980000.usb: DWC OTG Controller
[ 0.920750] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 0.926196] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
[ 0.929046] Init: Port Power? op_state=1
[ 0.931801] Init: Power Port (0)
[ 0.934978] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 0.940472] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.946151] usb usb1: Product: DWC OTG Controller
[ 0.949047] usb usb1: Manufacturer: Linux 4.19.75+ dwc_otg_hcd
[ 0.951966] usb usb1: SerialNumber: 20980000.usb
[ 0.955999] hub 1-0:1.0: USB hub found
[ 0.958949] hub 1-0:1.0: 1 port detected
[ 0.962802] dwc_otg: FIQ enabled
[ 0.962816] dwc_otg: NAK holdoff enabled
[ 0.962823] dwc_otg: FIQ split-transaction FSM enabled
[ 0.962843] Module dwc_common_port init
[ 0.963653] usbcore: registered new interface driver usb-storage
[ 0.967047] mousedev: PS/2 mouse device common for all mice
[ 0.971354] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 0.974935] bcm2835-cpufreq: min=700000 max=1000000
[ 0.978698] sdhci: Secure Digital Host Controller Interface driver
[ 0.981718] sdhci: Copyright(c) Pierre Ossman
[ 0.985467] sdhost-bcm2835 20202000.mmc: could not get clk, deferring probe
[ 0.991704] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.995623] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.998922] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.002263] usbcore: registered new interface driver usbhid
[ 1.005420] usbhid: USB HID core driver
[ 1.009663] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[ 1.018078] [vc_sm_connected_init]: start
[ 1.028729] [vc_sm_connected_init]: end - returning 0
[ 1.033774] Initializing XFRM netlink socket
[ 1.036858] NET: Registered protocol family 17
[ 1.039906] Key type dns_resolver registered
[ 1.044720] registered taskstats version 1
[ 1.047686] Loading compiled-in X.509 certificates
[ 1.060707] uart-pl011 20201000.serial: cts_event_workaround enabled
[ 1.064072] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 1.962529] console [ttyAMA0] enabled
[ 1.972771] sdhost: log_buf @ (ptrval) (5b513000)
[ 2.026485] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 2.036739] of_cfs_init
[ 2.042244] of_cfs_init: OK
[ 2.069193] Waiting for root device PARTUUID=6c586e13-02...
[ 2.078287] random: fast init done
[ 2.085019] Indeed it is in host mode hprt0 = 00021501
[ 2.187167] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.203443] mmc0: new high speed SDHC card at address 0001
[ 2.213971] mmcblk0: mmc0:0001 00000 14.6 GiB
[ 2.224773] mmcblk0: p1 p2
[ 2.239828] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 2.253026] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 2.293449] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.305430] Indeed it is in host mode hprt0 = 00001101
[ 2.504031] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
[ 2.513658] EXT4-fs (mmcblk0p2): 1 orphan inode deleted
[ 2.522080] EXT4-fs (mmcblk0p2): recovery complete
[ 2.554151] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.00
[ 2.568683] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.582150] usb 1-1: Product: USB2.0 HUB
[ 2.591088] hub 1-1:1.0: USB hub found
[ 2.599258] hub 1-1:1.0: 4 ports detected
[ 2.618301] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.632982] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.657192] devtmpfs: mounted
[ 2.668185] Freeing unused kernel memory: 464K
[ 2.676006] This architecture does not have kernel memory protection.
[ 2.685796] Run /sbin/init as init process
[ 3.023419] usb 1-1.2: new full-speed USB device number 3 using dwc_otg
[ 3.266117] usb 1-1.2: New USB device found, idVendor=0fe6, idProduct=9700, bcdDevice= 1.01
[ 3.280804] usb 1-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 3.294406] usb 1-1.2: Product: USB 2.0 10/100M Ethernet Adaptor
[ 3.537511] systemd[1]: System time before build time, advancing clock.
[ 3.724577] NET: Registered protocol family 10
[ 3.734713] Segment Routing with IPv6
[ 3.804405] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 3.840361] systemd[1]: Detected architecture arm.
[ 3.871131] systemd[1]: Set hostname to .
[ 3.884774] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
[ 5.413987] uart-pl011 20201000.serial: no DMA platform data
[ 5.819931] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 5.847419] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 6.562489] systemd[1]: /lib/systemd/system/lighttpd.service:6: PIDFile= references path below legacy directory /var/run/, updating /var/run/lighttpd.pid → /run/lighttpd.pid; please update the unit file accordingly.
[ 6.784658] random: systemd: uninitialized urandom read (16 bytes read)
[ 6.820442] random: systemd: uninitialized urandom read (16 bytes read)
[ 6.839903] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 6.855220] random: systemd: uninitialized urandom read (16 bytes read)
[ 6.865697] systemd[1]: Reached target Swap.
[ 6.881233] systemd[1]: Created slice system-getty.slice.
[ 8.817544] systemd[1]: Starting File System Check on Root Device...
[ 8.900983] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[ 9.101741] systemd[1]: Starting Apply Kernel Variables...
[ 9.291070] systemd[1]: Mounting Kernel Configuration File System...
[ 9.717440] systemd[1]: Mounted Kernel Configuration File System.
[ 9.911395] systemd[1]: Started File System Check Daemon to report status.
[ 10.139092] systemd[1]: Started Apply Kernel Variables.
[ 10.314910] systemd[1]: Started Journal Service.
[ 11.539049] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 12.124588] systemd-journald[83]: Received request to flush runtime journal from PID 1
[ 14.246681] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.274264] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 14.274291] [vc_sm_connected_init]: start
[ 14.296261] media: Linux media interface: v0.10
[ 14.299190] [vc_sm_connected_init]: installed successfully
[ 14.518271] videodev: Linux video capture interface: v2.00
[ 14.627519] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.704098] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.728331] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.841631] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 14.841724] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 14.852073] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 14.852136] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 14.862817] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 14.862876] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 17.316185] dm9601 1-1.2:1.0 eth0: register 'dm9601' at usb-20980000.usb-1.2, Davicom DM96xx USB 10/100 Ethernet, m.m.m.m
[ 17.316646] usbcore: registered new interface driver dm9601
[ 17.331312] usbcore: registered new interface driver sr9700
[ 22.425432] random: crng init done
[ 22.425456] random: 7 urandom warning(s) missed due to ratelimiting
[ 24.557142] 8021q: 802.1Q VLAN Support v1.8
[ 25.574583] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 26.476602] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 26.949592] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 26.967067] dm9601 1-1.2:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xFFFF
Logs
If applicable, add the relevant output from dmesg or similar.
Additional context
Add any other relevant context for the problem.
Activity
JamesH65 commentedon Jan 12, 2020
Can you please list the steps required to replicate the issue, and describe the setup of your system.
js290 commentedon Jan 13, 2020
I don't know how to replicate. The pi was unresponsive, and after reboot I found the shared stack trace in the logs. My Pi is running Pi Hole, but it has never crashed before.
dwrobel commentedon Jan 18, 2020
I have a similar callstack from
4.19.83:It's from the headless system (no hdmi, keyboard, etc. connected) which works as a router (has two USB ethernet cards, both are: 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet).
It usually happened after a week of stable work.
Later on, I upgraded to:
and at the time of writing:
I haven't observed it so far.
ablacksheep commentedon Jan 21, 2020
as @dwrobel said, it might be related
I have a very similar setup with 2x 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet. One card stopped responding after aprox 10 days with kernel:
Linux ky015 4.19.93-v7l+ #1290 SMP Fri Jan 10 16:45:11 GMT 2020 armv7l GNU/Linuxablacksheep commentedon Feb 13, 2020
13:46:09 up 18 days, 14:03, 1 user, load average: 0,00, 0,01, 0,00
Same port crashed again, not sure if it is a pattern after 2 crashes, but so far it is the one plugged in the usb2 port that crash. The one pluggen in the usb3 seems to work fine. Might not be related, but i have to mention it. I can also add that the two interfaces have different traffic patterns, the one not crashing has continues traffic, and the port that crash has traffic spikes from a few times a day to some days between. Between the traffic spikes, there is basically no traffic.
ablacksheep commentedon Feb 18, 2020
Same again, so incr counter.
Last known traffic on interface was Feb 14 19:34:55.
Crash happend when i tried to pass traffic today at Feb 18.
15:49:29 up 3 days, 20:16, 1 user, load average: 0,00, 0,00, 0,00Some wild guessing.. Could this be an usb power related issue?
Something like the device deadlocks when power control is trying to suspend it?
ablacksheep commentedon Feb 18, 2020
@JamesH65
Created a close to identical testrig, it failed pretty quick. Same pattern here usb2 interfaced one crashed. Both interfaces has close to no traffic in this test rig(i suggest they have some initial dhcp client traffic), as i just connect the two usb interfaces together with a cable without sending any additional traffic over them.
However, when i did add the interfaces to different network namespaces, and sendt loads of traffic over them, then they stayed up healty.
syslog-testrig2.txt
To reproduce:
Raspberry Pi 4 Model B 4GB RAM
Get two adapters, plug one in the usb3 and one in the usb2 port. Connect a cable, so link is up. Wait.
Remote access to the testrig can be provided to the right person, if that person feels for helping debugging it. :)
Info:
TheTiEr commentedon Feb 26, 2020
I get a similar issue with a Raspberry Pi 3 B+
It runs as a headless system only connected to a webcam and an ehternet cable. It is powered via an POE Shield.
It becomes completly unresponsive over the network. The last message is repeated until a reboot by plugging it out and in again.
uname -a:
EDIT: Changed Debug messages to quote to improve readability
ablacksheep commentedon Feb 26, 2020
I suspect it is related.
It seems to have the usb2 bus in common. As far as i remember the pi3b+ ethernet is provided via onboard chip connected to the USB 2.0 bus and so far holds true for my p4 testing above. it is only the adapter connected to the usb2 bus that crashes.
ablacksheep commentedon Feb 26, 2020
Updated test-rig yesterday(25.02.2020), apt update && apt full-upgrade and rpi-update. Crashed some hours later.. adapter plugged in usb2 port.
ablacksheep commentedon Mar 22, 2020
Tested driver #2999 mentioned in #2942, so far it has given 17 days uptime with no fault. One thing i noticed is that they disable hub_initiated_lpm. They prob also does more stuff, but I havn't had time to look into that.
For the upstream driver it might look like this is a pattern,
it seems like "transmit queue 0 timed out" typical happens when when usbcore or the devices initiate lpm and the device lock up because of failed or incorrect pre requirements before lpm can be achieved. I tested by incr time before lpm and by disabled lpm on usb2, and the timeout crashes stopped happening. However, without the crashes the device still locked up. It looked like something still activating the lpm state of the device, maybe the device itself?
If someone is annoyed by the issue with "ID 0b95:1790 ASIX Electronics Corp. AX88179" and the Pi4¿ It can simply be worked around by forcing usb2 device not to enter lpm by running an endless ping with standard 1 second interval. (make sure you ping something that leaves the correct interface.) So far I got 22 days uptime on a system with this workaround.
ablacksheep commentedon Apr 15, 2020
10:45:53 up 15 days, 13:19, 1 user, load average: 0,02, 0,05, 0,00With no bad behavior on test rig after moving both adapters to the usb3 ports running original kernel shipped driver module. I will test moving 1 or both the modules back to usb2 ports. I expect it to crash fairly quick.
ablacksheep commentedon May 13, 2020
I messed up the testrig, will have it back running during the weekend.
ablacksheep commentedon Jun 3, 2020
Tested with a newer kernel, still crashing. But I discovered that the crash of the device(AX88179) in the usb2.port03 seemed to be dependent on which of the usb3 ports the other device(AX88179) was plugged into. The device plugged in usb2 crashed(fast aprox6h.) when other device was plugged in usb3.port00. Moving the device in the usb3 back to usb3.port01 to check if device in usb2 still crashes, and observed pattern of not crashing in usb3.port01 was just a coincidence.
ablacksheep commentedon Jun 4, 2020
It was just a was a coincidence. It keeps crashing. :)
1 remaining item
pelwell commentedon Jun 11, 2020
What do you mean by "similar issue"? What external hardware are you using, and what does the kernel log show?
ablacksheep commentedon Aug 2, 2020
Linux raspberrypi 5.4.51-v7l+ #1327 SMP Thu Jul 23 11:04:39 BST 2020 armv7l GNU/Linuxparalin commentedon Aug 2, 2020
I have the same
handle_IPI/cpu_startup_entryfailure on linux kernel 5.4.51 3311531 and firmware bd816dbac723e04f8f8b06bb2e16d767cda7692cConfig (against a pi4)
syphr42 commentedon Aug 29, 2020
I've got a similar issue on Raspberry Pi 3B+. On Stretch everything is fine. I installed fresh with the same config on Buster (using Ansible for configuration) and it seemed like the network would randomly go down. I managed to find a way to reproduce it by running
sudo apt-get updatewhere apt calls go through a proxy located on the local network. This causes the stack trace every time. If I comment out the proxy, everything is fine with the apt update.Other scenarios cause the same stack trace, but I have not been able to reproduce them consistently. While using tcpdump over SSH this error happens sometimes. Sometimes while tailing a log file over SSH it happens. Sometimes an apt update on another node on the network causes it. Other than the scenario above, nothing seems to consistently cause it.
The PI is setup as a router with the onboard NIC plus a TrendNET USB ethernet adapter. The onboard is on the LAN side and the USB ethernet adapter is on the WAN side. 802.1Q VLAN tagging on the LAN side with virtual interfaces as well.
syphr42 commentedon Aug 29, 2020
As an additional data point, I have an older 10/100 USB ethernet adapter with a Realtek chip and the same crash occurs.
Allow to compile ASIX AX88179 vendor driver
dwrobel commentedon Sep 14, 2020
For the record on the latest
5.4.64on64-bitversion this was also much frequently reproducible in comparison to4.19.y32-bitversion (with the same headless configuration as I mentioned here):So I switched to use vendor driver v1.20.0 with
dtoverlay=dwc2and the following cmdline.txt:It's too early to say whether it will be fully stable but at least I wasn't able to reproduce the issue so far.
tomasmark79 commentedon May 10, 2021
Syslog from RPI4B
May 10 10:01:53 raspiwall kernel: [43686.815046] ------------[ cut here ]------------
May 10 10:01:53 raspiwall kernel: [43686.815100] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:443 dev_watchdog+0x308/0x30c
May 10 10:01:53 raspiwall kernel: [43686.815122] NETDEV WATCHDOG: wan0 (ax88179_178a): transmit queue 0 timed out
May 10 10:01:53 raspiwall kernel: [43686.815140] Modules linked in: cmac bnep hci_uart btbcm bluetooth ecdh_generic ecc nft_chain_nat xt_MASQUERADE xt_nat nf_nat nf_log_ipv4 nf_log_common nft_limit 8021q garp stp llc nft_counter xt_mult$
May 10 10:01:53 raspiwall kernel: [43686.818691] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G C 5.10.17-v7l+ #1414
May 10 10:01:53 raspiwall kernel: [43686.819010] Hardware name: BCM2711
May 10 10:01:53 raspiwall kernel: [43686.819019] Backtrace:
May 10 10:01:53 raspiwall kernel: [43686.819054] [] (dump_backtrace) from [] (show_stack+0x20/0x24)
May 10 10:01:53 raspiwall kernel: [43686.819394] r7:ffffffff r6:00000000 r5:60000113 r4:c12e69fc
May 10 10:01:53 raspiwall kernel: [43686.819410] [] (show_stack) from [] (dump_stack+0xcc/0xf8)
May 10 10:01:53 raspiwall kernel: [43686.819426] [] (dump_stack) from [] (__warn+0xfc/0x114)
May 10 10:01:53 raspiwall kernel: [43686.819439] r10:c133c8b8 r9:00000009 r8:c0a46634 r7:000001bb r6:00000009 r5:c0a46634
May 10 10:01:53 raspiwall kernel: [43686.819448] r4:c0ea7698 r3:c1205094
May 10 10:01:53 raspiwall kernel: [43686.819464] [] (__warn) from [] (warn_slowpath_fmt+0xa4/0xd8)
May 10 10:01:53 raspiwall kernel: [43686.819474] r7:000001bb r6:c0ea7698 r5:c1205048 r4:c0ea765c
May 10 10:01:53 raspiwall kernel: [43686.819490] [] (warn_slowpath_fmt) from [] (dev_watchdog+0x308/0x30c)
May 10 10:01:53 raspiwall kernel: [43686.819502] r9:eff0b540 r8:c3264000 r7:c1203d00 r6:c32a1d00 r5:c32642a8 r4:00000000
May 10 10:01:53 raspiwall kernel: [43686.819517] [] (dev_watchdog) from [] (call_timer_fn+0x40/0x1bc)
May 10 10:01:53 raspiwall kernel: [43686.819529] r8:c1201d9c r7:004233b0 r6:c0a4632c r5:00000100 r4:c32642a8
May 10 10:01:53 raspiwall kernel: [43686.819543] [] (call_timer_fn) from [] (run_timer_softirq+0x5b0/0x698)
May 10 10:01:53 raspiwall kernel: [43686.819555] r8:c1201d9c r7:00000000 r6:c32642a8 r5:004233b0 r4:00000000
May 10 10:01:53 raspiwall kernel: [43686.819571] [] (run_timer_softirq) from [] (__do_softirq+0x198/0x49c)
May 10 10:01:53 raspiwall kernel: [43686.819583] r10:00000082 r9:ffffe000 r8:c1810800 r7:00000100 r6:00000001 r5:00000002
May 10 10:01:53 raspiwall kernel: [43686.819591] r4:c1203084
May 10 10:01:53 raspiwall kernel: [43686.819606] [] (__do_softirq) from [] (irq_exit+0xd0/0xf8)
May 10 10:01:53 raspiwall kernel: [43686.819618] r10:c0e1edfc r9:c1200000 r8:c1810800 r7:00000001 r6:00000000 r5:00000000
May 10 10:01:53 raspiwall kernel: [43686.819626] r4:ffffe000
May 10 10:01:53 raspiwall kernel: [43686.819643] [] (irq_exit) from [] (__handle_domain_irq+0x70/0xc4)
May 10 10:01:53 raspiwall kernel: [43686.819653] r5:00000000 r4:c1094d10
May 10 10:01:53 raspiwall kernel: [43686.819667] [] (__handle_domain_irq) from [] (gic_handle_irq+0x90/0xa4)
May 10 10:01:53 raspiwall kernel: [43686.819679] r9:c1200000 r8:c1094d1c r7:c1201ec8 r6:f081400c r5:f0814000 r4:c1205b3c
May 10 10:01:53 raspiwall kernel: [43686.819692] [] (gic_handle_irq) from [] (__irq_svc+0x5c/0x7c)
May 10 10:01:53 raspiwall kernel: [43686.819701] Exception stack(0xc1201ec8 to 0xc1201f10)
May 10 10:01:53 raspiwall kernel: [43686.819714] 1ec0: 00000000 0400fe78 eff132c4 c021ac00 ffffe000 c120509c
May 10 10:01:53 raspiwall kernel: [43686.820050] 1ee0: c12050e4 00000001 00000001 c133ba3f c0e1edfc c1201f24 c1201f28 c1201f18
May 10 10:01:53 raspiwall kernel: [43686.820060] 1f00: c02088c0 c02088c4 60000013 ffffffff
May 10 10:01:53 raspiwall kernel: [43686.820072] r9:c1200000 r8:00000001 r7:c1201efc r6:ffffffff r5:60000013 r4:c02088c4
May 10 10:01:53 raspiwall kernel: [43686.820408] [] (arch_cpu_idle) from [] (default_idle_call+0x4c/0x118)
May 10 10:01:53 raspiwall kernel: [43686.820423] [] (default_idle_call) from [] (do_idle+0x118/0x168)
May 10 10:01:53 raspiwall kernel: [43686.820437] [] (do_idle) from [] (cpu_startup_entry+0x28/0x30)
May 10 10:01:53 raspiwall kernel: [43686.820449] r10:00000197 r9:c1053a60 r8:ffffffff r7:c1053a60 r6:c1205040 r5:c1205048
May 10 10:01:53 raspiwall kernel: [43686.820459] r4:000000d8 r3:c108a294
May 10 10:01:53 raspiwall kernel: [43686.820474] [] (cpu_startup_entry) from [] (rest_init+0xbc/0xc4)
May 10 10:01:53 raspiwall kernel: [43686.820489] [] (rest_init) from [] (arch_call_rest_init+0x18/0x1c)
May 10 10:01:53 raspiwall kernel: [43686.820499] r5:c1205048 r4:c1354068
May 10 10:01:53 raspiwall kernel: [43686.820511] [] (arch_call_rest_init) from [] (start_kernel+0x568/0x59c)
May 10 10:01:53 raspiwall kernel: [43686.820524] [] (start_kernel) from [<00000000>] (0x0)
Update:
I Updated the driver to version 1.20 and at until now no issue. We will see if this helped, or not.
ProactiveServices commentedon Jul 6, 2021
Seeing the same behaviour on a Pi 4b 1.2, Raspbian OS 10.10, kernel 5.10.17. Using the onboard wired Ethernet and official PSU. Headless device running from a small SSD in a USB3 enclosure plugged into a USB3 port. It's currently pinging about a dozen hosts every 15s and logging (via telegraf to influxdb) and doing nothing else. The hangs are happening multiple times a day, usually only for a few minutes but have seen one occasion of about half an hour.
stacktrace.txt
sulewicz commentedon Oct 18, 2022
Same thing on Raspberry Pi 4, Kernel 5.10.103-v7l+.
teewhey commentedon Nov 28, 2022
Same thing for me on my Pi4. It happens as soon as I plugged in the LAN cable and all networks just unresponsive till I unplug it and use wlan instead.
kindacute commentedon Feb 17, 2023
Same thing here:
Feb 16 22:17:29 kernel: ------------[ cut here ]------------
Feb 16 22:17:29 kernel: WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:478 dev_watchdog+0x304/0x308
Feb 16 22:17:29 kernel: NETDEV WATCHDOG: eth_lpd (cdc_ether): transmit queue 0 timed out
Feb 16 22:17:29 kernel: Modules linked in: xt_MASQUERADE nft_counter nft_chain_nat xt_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_tcpudp nft_compat nf_tables nfnetlink cmac algif_hash aes_arm_bs crypto_simd cryptd algif_skcipher af_alg bnep hci_uart btbcm bluetooth ecdh_generic ecc brcmfmac vc4 brcmutil 8021q garp stp llc snd_soc_hdmi_codec cfg80211 cec drm_kms_helper cdc_ether v3d gpu_sched cdc_acm rfkill raspberrypi_hwmon snd_soc_core i2c_brcmstb bcm2835_v4l2(C) bcm2835_codec(C) rpivid_hevc(C) bcm2835_isp(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common snd_compress snd_pcm_dmaengine snd_bcm2835(C) snd_pcm videodev snd_timer vc_sm_cma(C) snd mc syscopyarea sysfillrect sysimgblt fb_sys_fops nvmem_rmem uio_pdrv_genirq uio drm fuse drm_panel_orientation_quirks backlight ip_tables x_tables ipv6
Feb 16 22:17:29 kernel: CPU: 0 PID: 0 Comm: swapper/0 Tainted: G C 5.15.72-v7l+ #1591
Feb 16 22:17:29 kernel: Hardware name: BCM2711
Feb 16 22:17:29 kernel: Backtrace:
Feb 16 22:17:29 kernel: [] (dump_backtrace) from [] (show_stack+0x20/0x24)
Feb 16 22:17:29 kernel: r7:000001de r6:c0e3f4b8 r5:00000000 r4:60000113
Feb 16 22:17:29 kernel: [] (show_stack) from [] (dump_stack_lvl+0x70/0x94)
Feb 16 22:17:29 kernel: [] (dump_stack_lvl) from [] (dump_stack+0x18/0x1c)
Feb 16 22:17:29 kernel: r7:000001de r6:00000009 r5:c0aab250 r4:c0ec69f0
Feb 16 22:17:29 kernel: [] (dump_stack) from [] (__warn+0xfc/0x114)
Feb 16 22:17:29 kernel: [] (__warn) from [] (warn_slowpath_fmt+0xa4/0xd8)
Feb 16 22:17:29 kernel: r7:000001de r6:c0ec69f0 r5:c1205048 r4:c0ec69b4
Feb 16 22:17:29 kernel: [] (warn_slowpath_fmt) from [] (dev_watchdog+0x304/0x308)
Feb 16 22:17:29 kernel: r9:00000001 r8:c1203d00 r7:c1792800 r6:c1722a00 r5:c1792ae8 r4:00000000
Feb 16 22:17:29 kernel: [] (dev_watchdog) from [] (call_timer_fn+0x40/0x198)
Feb 16 22:17:29 kernel: r9:efef2540 r8:1cf4fca0 r7:c0aaaf4c r6:00000100 r5:c1792ae8 r4:1cf4fca0
Feb 16 22:17:29 kernel: [] (call_timer_fn) from [] (run_timer_softirq+0x5e8/0x658)
Feb 16 22:17:29 kernel: r8:c1201d94 r7:00000000 r6:c1792ae8 r5:00000000 r4:1cf4fca0
Feb 16 22:17:29 kernel: [] (run_timer_softirq) from [] (__do_softirq+0x198/0x474)
Feb 16 22:17:29 kernel: r10:ffffe000 r9:c1200000 r8:00000082 r7:00000100 r6:00000001 r5:00000002
Feb 16 22:17:29 kernel: r4:c1203084
Feb 16 22:17:29 kernel: [] (__do_softirq) from [] (irq_exit+0xd8/0x120)
Feb 16 22:17:29 kernel: r10:c0e358b8 r9:c1200000 r8:c1096158 r7:0000001e r6:00000000 r5:00000000
Feb 16 22:17:29 kernel: r4:ffffe000
Feb 16 22:17:29 kernel: [] (irq_exit) from [] (handle_domain_irq+0x70/0x88)
Feb 16 22:17:29 kernel: r5:00000000 r4:c109614c
Feb 16 22:17:29 kernel: [] (handle_domain_irq) from [] (gic_handle_irq+0x8c/0xa0)
Feb 16 22:17:29 kernel: r7:c1201eb8 r6:f081400c r5:f0814000 r4:c1205b6c
Feb 16 22:17:29 kernel: [] (gic_handle_irq) from [] (__irq_svc+0x4c/0x64)
Feb 16 22:17:29 kernel: Exception stack(0xc1201eb8 to 0xc1201f00)
Feb 16 22:17:29 kernel: 1ea0: 8f8c5e64 00000000
Feb 16 22:17:29 kernel: 1ec0: 00000001 c021af00 ffffe000 00000001 c120509c c12050ec 00000001 c134201f
Feb 16 22:17:29 kernel: 1ee0: c0e358b8 c1201f14 c1201f18 c1201f08 c0208860 c0208864 60000013 ffffffff
Feb 16 22:17:29 kernel: r9:c1200000 r8:00000001 r7:c1201eec r6:ffffffff r5:60000013 r4:c0208864
Feb 16 22:17:29 kernel: [] (arch_cpu_idle) from [] (default_idle_call+0x4c/0xd8)
Feb 16 22:17:29 kernel: [] (default_idle_call) from [] (do_idle+0x114/0x164)
Feb 16 22:17:29 kernel: [] (do_idle) from [] (cpu_startup_entry+0x28/0x2c)
Feb 16 22:17:29 kernel: r10:effff900 r9:00000000 r8:00000000 r7:00000000 r6:ffffffff r5:c135b000
Feb 16 22:17:29 kernel: r4:000000e6 r3:c108f294
Feb 16 22:17:29 kernel: [] (cpu_startup_entry) from [] (rest_init+0xc8/0xd0)
Feb 16 22:17:29 kernel: [] (rest_init) from [] (arch_call_rest_init+0x18/0x1c)
Feb 16 22:17:29 kernel: r5:c135b000 r4:c135b068
Feb 16 22:17:29 kernel: [] (arch_call_rest_init) from [] (start_kernel+0x708/0x74c)
Feb 16 22:17:29 kernel: [] (start_kernel) from [<00000000>] (0x0)
Feb 16 22:17:29 kernel: ---[ end trace ce6c43b87da596b2 ]---
pelwell commentedon Feb 20, 2023
@kindacute That's not the same - you seem to be using your Pi 4 as an Ethernet gadget (notice the
cdc_ether). It's not even clear if you are using the onboard Ethernet at all.To everyone else:
This issue clearly persistently affects a small number of users, while most have no problems.
Please report what the other end of the Ethernet cable is plugged into (dedicated Ethernet switch, Wireless AP etc., specifying the model). As long as the kernel message is
NETDEV WATCHDOG: eth0 (bcmgenet): transmit queue 2 timed outthere is no need to post the stack traces as above.teewhey commentedon Feb 21, 2023
For my case, the other end is my main wireless router (Asus RT-AX55)
pelwell commentedon Feb 21, 2023
There have been numerous reports of the power-saving Energy Efficient Ethernet setting causing problems when using BCM2711-based device with certain switches and routers. Provided you are running at least the most recent stable kernel (5.15.84) or later, try adding
dtparam=eee=offto config.txt to see if that helps.