Kernel crash when inserting USB Ethernet NIC

Bug #1993645 reported by Heinrich Schuchardt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-allwinner (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When attaching a USB Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter a crash occured.

System: LicheeRV
Kernel: 5.17.0-1003-allwinner #3-Ubuntu SMP Fri Jul 15 15:28:33 UTC 2022

Oct 20 10:56:08 ubuntu kernel: [ 547.169633] usb 2-1: new high-speed USB device number 4 using ehci-platform
Oct 20 10:56:08 ubuntu kernel: [ 547.328329] usb 2-1: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
Oct 20 10:56:08 ubuntu kernel: [ 547.328365] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 20 10:56:08 ubuntu kernel: [ 547.328382] usb 2-1: Product: USB 10/100/1000 LAN
Oct 20 10:56:08 ubuntu kernel: [ 547.328396] usb 2-1: Manufacturer: Realtek
Oct 20 10:56:08 ubuntu kernel: [ 547.328411] usb 2-1: SerialNumber: 00E04D680306
Oct 20 10:56:08 ubuntu kernel: [ 547.477744] usb 2-1: reset high-speed USB device number 4 using ehci-platform
Oct 20 10:56:09 ubuntu kernel: [ 547.651531] Unable to handle kernel paging request at virtual address 00000072cde39b4a
Oct 20 10:56:09 ubuntu kernel: [ 547.659996] Oops [#1]
Oct 20 10:56:09 ubuntu kernel: [ 547.662424] Modules linked in: r8153_ecm cdc_ether usbnet r8152 input_leds joydev 8723ds(OE) snd_soc_hdmi_codec hid_generic cfg80211 dw_hdmi_i2s_audio dw_hdmi_cec usbhid pwrseq_simple sunxi_cir hid rc_core sun8i_drm_hdmi dw_hdmi sun8i_mixer sunxi phy_generic sunxi_cedrus(C) snd_soc_simple_card v4l2_mem2mem snd_soc_simple_card_utils sun20i_codec snd_soc_dmic videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common sun4i_drm sun4i_frontend sun4i_tcon sun8i_tcon_top snd_soc_core drm_cma_helper display_connector videodev snd_compress ac97_bus snd_pcm_dmaengine drm_kms_helper snd_pcm leds_sun50i_r329 mc led_class_multicolor snd_timer snd fb_sys_fops syscopyarea sysfillrect sysimgblt binfmt_misc soundcore leds_gpio backlight nls_iso8859_1 uio_pdrv_genirq uio ramoops pstore_blk reed_solomon pstore_zone efi_pstore dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua ip_tables x_tables autofs4 efivarfs raid10 raid456 libcrc32c async_raid6_recov async_memcpy async_pq async_xor xor
Oct 20 10:56:09 ubuntu kernel: [ 547.662953] async_tx raid6_pq raid1 raid0 multipath linear
Oct 20 10:56:09 ubuntu kernel: [ 547.760181] CPU: 0 PID: 48 Comm: kworker/0:2 Tainted: G C OE 5.17.0-1003-allwinner #3-Ubuntu
Oct 20 10:56:09 ubuntu kernel: [ 547.770172] Hardware name: Sipeed Lichee RV Dock (DT)
Oct 20 10:56:09 ubuntu kernel: [ 547.775506] Workqueue: events_long rtl_hw_phy_work_func_t [r8152]
Oct 20 10:56:09 ubuntu kernel: [ 547.782118] epc : __kmalloc+0x9a/0x30e
Oct 20 10:56:09 ubuntu kernel: [ 547.786104] ra : __kmalloc+0x60/0x30e
Oct 20 10:56:09 ubuntu kernel: [ 547.790079] epc : ffffffff80239bde ra : ffffffff80239ba4 sp : ffffffd802c8fbf0
Oct 20 10:56:09 ubuntu kernel: [ 547.797692] gp : ffffffff81e93b80 tp : ffffffd802b17080 t0 : ffffffd81ecc50e8
Oct 20 10:56:09 ubuntu kernel: [ 547.805304] t1 : 0000000000004ed8 t2 : ffffffd804b90fc0 s0 : ffffffd802c8fc60
Oct 20 10:56:09 ubuntu kernel: [ 547.812916] s1 : ffffffd802201200 a0 : ffffffd802201200 a1 : ffffffff81f01dd0
Oct 20 10:56:09 ubuntu kernel: [ 547.820529] a2 : 0000000000000001 a3 : 485a6672cde39b4a a4 : 0000000000000000
Oct 20 10:56:09 ubuntu kernel: [ 547.828143] a5 : 485a6672cde39b4a a6 : 0000000000000133 a7 : 000000000000b434
Oct 20 10:56:09 ubuntu kernel: [ 547.835752] s2 : 0000000000000004 s3 : ffffffd804495980 s4 : 0000000000000cc0
Oct 20 10:56:09 ubuntu kernel: [ 547.843363] s5 : 0000000000000004 s6 : ffffffd802201200 s7 : ffffffff02402f2c
Oct 20 10:56:09 ubuntu kernel: [ 547.850974] s8 : ffffffff81f01dd0 s9 : ffffffff80e7d600 s10: ffffffff80e7d600
Oct 20 10:56:09 ubuntu kernel: [ 547.858585] s11: ffffffd802c8b300 t3 : 884ae8472f2d4987 t4 : 000000000000558b
Oct 20 10:56:09 ubuntu kernel: [ 547.866197] t5 : ffffffd804b90fc0 t6 : 0000000000000002
Oct 20 10:56:09 ubuntu kernel: [ 547.871798] status: 0000000200000120 badaddr: 00000072cde39b4a cause: 000000000000000d
Oct 20 10:56:09 ubuntu kernel: [ 547.880144] [<ffffffff02402f2c>] get_registers+0x3e/0xae [r8152]
Oct 20 10:56:09 ubuntu kernel: [ 547.886657] [<ffffffff02402fe0>] generic_ocp_read+0x44/0x82 [r8152]
Oct 20 10:56:09 ubuntu kernel: [ 547.893441] [<ffffffff02404b3e>] ocp_reg_read+0x92/0xc8 [r8152]
Oct 20 10:56:09 ubuntu kernel: [ 547.899858] [<ffffffff024065be>] r8153_aldps_en+0x3e/0x108 [r8152]
Oct 20 10:56:09 ubuntu kernel: [ 547.906546] [<ffffffff0240a8e4>] r8153_hw_phy_cfg+0x34/0x262 [r8152]
Oct 20 10:56:09 ubuntu kernel: [ 547.913412] [<ffffffff02406206>] rtl_hw_phy_work_func_t+0x96/0x156 [r8152]
Oct 20 10:56:09 ubuntu kernel: [ 547.920832] [<ffffffff8004274a>] process_one_work+0x1ba/0x372
Oct 20 10:56:09 ubuntu kernel: [ 547.926916] [<ffffffff80042a40>] worker_thread+0x13e/0x42e
Oct 20 10:56:09 ubuntu kernel: [ 547.932716] [<ffffffff8004a87e>] kthread+0xc6/0xdc
Oct 20 10:56:09 ubuntu kernel: [ 547.937788] [<ffffffff80003b94>] ret_from_exception+0x0/0xc
Oct 20 10:56:09 ubuntu kernel: [ 547.943942] ---[ end trace 0000000000000000 ]---
---
ProblemType: Bug
ApportVersion: 2.23.1-0ubuntu3
Architecture: riscv64
CasperMD5CheckResult: unknown
DistroRelease: Ubuntu 22.10
Package: linux-allwinner 5.17.0.1003.5
PackageArchitecture: riscv64
ProcCpuinfoMinimal:
 processor : 0
 hart : 0
 isa : rv64imafdc
 mmu : sv39
 uarch : thead,c906
ProcVersionSignature: Ubuntu 5.17.0-1003.3-allwinner 5.17.15
Tags: kinetic uec-images
Uname: Linux 5.17.0-1003-allwinner riscv64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True

Revision history for this message
Heinrich Schuchardt (xypron) wrote : Dependencies.txt

apport information

description: updated
tags: added: apport-collected kinetic uec-images
description: updated
Revision history for this message
Heinrich Schuchardt (xypron) wrote : ProcEnviron.txt

apport information

Revision history for this message
Heinrich Schuchardt (xypron) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
https://iso.qa.ubuntu.com/qatracker/reports/bugs/1993645

tags: added: iso-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-allwinner (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.