[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1000900: linux-image-5.10.0-9-armmp: Kernel panic on boot with Ethernet cable plugged in



Package: src:linux
Version: 5.10.70-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

the system I'm currently writing this report from (a BeagleBone black)
apparently failed to boot after upgrading the kernel to
linux-image-5.10.0-9-armp (the latest stable version at the moment).

Booting again with a serial terminal connected, I was able to determine
that there was a kernel panic on boot.  Unfortunately, my experience with
Linux kernel devleopment is too limited to make sense of the backtrace
(which I'm going to provide below).

Curiously enough, booting without an Ethernet cable plugged in and
connecting it only /after/ the system boots up seems to work as expected.
The board works and it is able to connect to the network.
This issue is present only in linux-image-5.10.0-9-armp.  5.10.0-8, the
previous version, did not have this issue, which is why I'm currently
using that kernel.

-- Kernel backtrace:

[   15.189004] 8<--- cut here ---
[   15.192362] Unable to handle kernel NULL pointer dereference at virtual address 00000008
[   15.200830] pgd = (ptrval)
[   15.203650] [00000008] *pgd=00000000
[   15.207413] Internal error: Oops: 5 [#1] SMP ARM
[   15.212225] Modules linked in: musb_dsps(E) musb_hdrc(E) udc_core(E) usbcore(E) phy_am335x(E+) phy_am335x_control(E) phy_generic(E)
[   15.224588] CPU: 0 PID: 68 Comm: kworker/0:6 Tainted: G            E     5.10.0-9-armmp #1 Debian 5.10.70-1
[   15.234733] Hardware name: Generic AM33XX (Flattened Device Tree)
[   15.241098] Workqueue: events deferred_probe_work_func
[   15.246466] PC is at dsps_musb_init+0x38/0x1e8 [musb_dsps]
[   15.252224] LR is at musb_probe+0x1cc/0xdd8 [musb_hdrc]
[   15.257668] pc : [<bf0212d0>]    lr : [<bf0eb5cc>]    psr: a00f0013
[   15.264191] sp : cf173c98  ip : cf173cc8  fp : cf173cc4
[   15.269630] r10: 0000000f  r9 : bf103048  r8 : 00000000
[   15.275069] r7 : bf105580  r6 : c1951040  r5 : c1950040  r4 : cf2db010
[   15.281865] r3 : bf021298  r2 : bf022344  r1 : 00000200  r0 : cf0c0c00
[   15.288664] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   15.296095] Control: 10c5387d  Table: 8f2bc019  DAC: 00000051
[   15.302078] Process kworker/0:6 (pid: 68, stack limit = 0x(ptrval))
[   15.308603] Stack: (0xcf173c98 to 0xcf174000)
[   15.313140] 3c80:                                                       00000000 c0d0e22c
[   15.321660] 3ca0: cf173cc4 c1950040 e0000400 c1951040 bf105580 c15ed5ec cf173d8c cf173cc8
[   15.330179] 3cc0: bf0eb5cc bf0212a4 c0ae5e98 c0d0e22c 00000000 cf173d28 c105a4b0 df96e300
[   15.338699] 3ce0: cf173d1c cf173cf0 00000034 c0ae5e20 00000000 cf2db010 cf2db000 cf15f5c0
[   15.347220] 3d00: bf103048 00000000 c15ed5ec bf103048 cf173d64 cf173d20 c0ae649c c0ae5ed0
[   15.355742] 3d20: ffffffff c10a3558 00000000 00000000 00000000 00000000 00000000 00000000
[   15.364263] 3d40: 00000000 00000000 00000000 90fccf43 cf173d84 cf2db010 cf173d7c 90fccf43
[   15.372783] 3d60: c09ab5f8 00000000 cf2db010 bf103048 00000000 c15ed5ec bf103048 0000000f
[   15.381303] 3d80: cf173dac cf173d90 c0991a34 bf0eb40c cf2db010 c15ed5e4 00000000 00000000
[   15.389821] 3da0: cf173dec cf173db0 c098ee58 c09919e8 cf2db010 cf2db010 cf2db118 00000000
[   15.398341] 3dc0: cf173dec cf2db010 bf103048 cf173e74 cf2db010 00000000 c1068510 c1590788
[   15.406863] 3de0: cf173e1c cf173df0 c098f6f0 c098ed5c cf173e74 cf2db010 00000001 bf103048
[   15.415384] 3e00: cf173e74 cf2db010 00000000 c1068510 cf173e3c cf173e20 c098f9b8 c098f5fc
[   15.423904] 3e20: 00000000 cf173e74 c098f924 c1554d60 cf173e6c cf173e40 c098c718 c098f930
[   15.432423] 3e40: cf173e6c c18fbc6c cf3c57b8 90fccf43 cf2db010 cf2db010 00000001 cf2db054
[   15.440942] 3e60: cf173e9c cf173e70 c098f32c c098c694 c1554d0c cf2db010 00000001 90fccf43
[   15.449463] 3e80: cf173eb4 cf3c5e54 c1554fd8 cf2db010 cf173eac cf173ea0 c098fa38 c098f258
[   15.457982] 3ea0: cf173ecc cf173eb0 c098dc78 c098fa28 cf3c5e54 cf2db010 c1554d0c c1554d60
[   15.466505] 3ec0: cf173efc cf173ed0 c098e5d8 c098dbf0 c098e530 c1554d44 cf151d80 df940500
[   15.475022] 3ee0: df943900 00000000 00000000 00000000 cf173f3c cf173f00 c036dcf8 c098e53c
[   15.483542] 3f00: cf148000 cf172000 cf173f24 cf173f18 c036f3a8 cf151d80 df940500 cf151d94
[   15.492061] 3f20: df940518 c1404d00 00000008 df940500 cf173f74 cf173f40 c036e0b4 c036db28
[   15.500580] 3f40: cf173f64 cf172000 cf173f74 cf153940 cf153100 00000000 cf172000 c036e04c
[   15.509101] 3f60: cf151d80 cf171e84 cf173fac cf173f78 c0374be0 c036e058 ffffe000 cf153964
[   15.517619] 3f80: cf173fac cf153100 c0374a78 00000000 00000000 00000000 00000000 00000000
[   15.526139] 3fa0: 00000000 cf173fb0 c03001a8 c0374a84 00000000 00000000 00000000 00000000
[   15.534657] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   15.543176] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[   15.551690] Backtrace: 
[   15.554264] [<bf021298>] (dsps_musb_init [musb_dsps]) from [<bf0eb5cc>] (musb_probe+0x1cc/0xdd8 [musb_hdrc])
[   15.564504]  r8:c15ed5ec r7:bf105580 r6:c1951040 r5:e0000400 r4:c1950040
[   15.571505] [<bf0eb400>] (musb_probe [musb_hdrc]) from [<c0991a34>] (platform_drv_probe+0x58/0xa8)
[   15.580839]  r10:0000000f r9:bf103048 r8:c15ed5ec r7:00000000 r6:bf103048 r5:cf2db010
[   15.588990]  r4:00000000
[   15.591630] [<c09919dc>] (platform_drv_probe) from [<c098ee58>] (really_probe+0x108/0x4fc)
[   15.600237]  r7:00000000 r6:00000000 r5:c15ed5e4 r4:cf2db010
[   15.606133] [<c098ed50>] (really_probe) from [<c098f6f0>] (driver_probe_device+0x100/0x1d4)
[   15.614834]  r10:c1590788 r9:c1068510 r8:00000000 r7:cf2db010 r6:cf173e74 r5:bf103048
[   15.622987]  r4:cf2db010
[   15.625628] [<c098f5f0>] (driver_probe_device) from [<c098f9b8>] (__device_attach_driver+0x94/0xf8)
[   15.635051]  r9:c1068510 r8:00000000 r7:cf2db010 r6:cf173e74 r5:bf103048 r4:00000001
[   15.643121] [<c098f924>] (__device_attach_driver) from [<c098c718>] (bus_for_each_drv+0x90/0xe0)
[   15.652274]  r7:c1554d60 r6:c098f924 r5:cf173e74 r4:00000000
[   15.658171] [<c098c688>] (bus_for_each_drv) from [<c098f32c>] (__device_attach+0xe0/0x1d4)
[   15.666779]  r6:cf2db054 r5:00000001 r4:cf2db010
[   15.671589] [<c098f24c>] (__device_attach) from [<c098fa38>] (device_initial_probe+0x1c/0x20)
[   15.680467]  r6:cf2db010 r5:c1554fd8 r4:cf3c5e54
[   15.685278] [<c098fa1c>] (device_initial_probe) from [<c098dc78>] (bus_probe_device+0x94/0x9c)
[   15.694249] [<c098dbe4>] (bus_probe_device) from [<c098e5d8>] (deferred_probe_work_func+0xa8/0xec)
[   15.703580]  r7:c1554d60 r6:c1554d0c r5:cf2db010 r4:cf3c5e54
[   15.709487] [<c098e530>] (deferred_probe_work_func) from [<c036dcf8>] (process_one_work+0x1dc/0x530)
[   15.719003]  r10:00000000 r9:00000000 r8:00000000 r7:df943900 r6:df940500 r5:cf151d80
[   15.727156]  r4:c1554d44 r3:c098e530
[   15.730883] [<c036db1c>] (process_one_work) from [<c036e0b4>] (worker_thread+0x68/0x57c)
[   15.739312]  r10:df940500 r9:00000008 r8:c1404d00 r7:df940518 r6:cf151d94 r5:df940500
[   15.747463]  r4:cf151d80
[   15.750109] [<c036e04c>] (worker_thread) from [<c0374be0>] (kthread+0x168/0x16c)
[   15.757817]  r10:cf171e84 r9:cf151d80 r8:c036e04c r7:cf172000 r6:00000000 r5:cf153100
[   15.765970]  r4:cf153940
[   15.768613] [<c0374a78>] (kthread) from [<c03001a8>] (ret_from_fork+0x14/0x2c)
[   15.776134] Exception stack(0xcf173fb0 to 0xcf173ff8)
[   15.781393] 3fa0:                                     00000000 00000000 00000000 00000000
[   15.789910] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   15.798430] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   15.805319]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0374a78
[   15.813471]  r4:cf153100
[   15.816111] Code: e34b2f02 e5940024 e2400010 e5908050 (e5987008) 
[   15.822537] ---[ end trace 710456732b14797c ]---


-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
Hardware	: Generic AM33XX (Flattened Device Tree)
Revision	: 0000
Device Tree model: TI AM335x BeagleBone Black

** Network interface configuration:
*** /etc/network/interfaces:

auto lo
iface lo inet loopback




** PCI devices:
not available

** USB devices:
not available


-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 5.10.0-8-armmp (SMP w/1 CPU thread)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-5.10.0-9-armmp depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.140
ii  kmod                                    28-1
ii  linux-base                              4.6

Versions of packages linux-image-5.10.0-9-armmp recommends:
ii  apparmor             2.13.6-10
ii  firmware-linux-free  20200122-1

Versions of packages linux-image-5.10.0-9-armmp suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-5.10          <none>

Versions of packages linux-image-5.10.0-9-armmp is related to:
pn  firmware-amd-graphics     <none>
ii  firmware-atheros          20210315-3
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
ii  firmware-brcm80211        20210315-3
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
ii  firmware-iwlwifi          20210315-3
ii  firmware-libertas         20210315-3
pn  firmware-linux-nonfree    <none>
ii  firmware-misc-nonfree     20210315-3
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
ii  firmware-realtek          20210315-3
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
ii  firmware-ti-connectivity  20210315-3
pn  xen-hypervisor            <none>

-- no debconf information


Reply to: