All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 217399] New: Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter
@ 2023-05-04 11:11 bugzilla-daemon
  2023-05-04 11:49 ` [Bug 217399] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2023-05-04 11:11 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=217399

            Bug ID: 217399
           Summary: Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153
                    Gigabit Ethernet Adapter
           Product: Drivers
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: USB
          Assignee: drivers_usb@kernel-bugs.kernel.org
          Reporter: b.buschinski@gmail.com
        Regression: No

Created attachment 304215
  --> https://bugzilla.kernel.org/attachment.cgi?id=304215&action=edit
Kernel OOPS on boot

Hello,

on my laptop with kernel 6.3.0 and 6.3.1 fails to correctly boot if the usb-c
device "RTL8153 Gigabit Ethernet Adapter" is connected.

If I unplug it, boot and the plug it in, everything works fine.

This used to work fine with 6.2.10.

HW:
- Dell Inc. Latitude 7410/0M5G57, BIOS 1.22.0 03/20/2023
- Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter


Call Trace (manually typed from the image, typos maybe be included)
- bpf_dev_bound_netdeuv _unregister
- unregister_netdevice_many_notify
- unregister_netdevice_gueue
- unregister_netdev
- usbnet_disconnect
- usb_unbind_interface
- device_release_driver_internal
- bus_remove_device
- device_del
- ? kobject_put
- usb_disable_device
- usb_set_configuration
- rt18152_cfgselector_probe
- usb_probe_device
- really_probe
- ? driver_probe_device
- ...


For the full output, please see the attached image.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 217399] Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter
  2023-05-04 11:11 [Bug 217399] New: Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter bugzilla-daemon
@ 2023-05-04 11:49 ` bugzilla-daemon
  2023-05-04 11:51 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2023-05-04 11:49 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=217399

--- Comment #1 from Bernd Buschinski (b.buschinski@gmail.com) ---
lsusb:
Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit
Ethernet Adapter


and yes, I made a typo in the call trace, it is `rtl8152_cfgselector_probe`

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 217399] Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter
  2023-05-04 11:11 [Bug 217399] New: Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter bugzilla-daemon
  2023-05-04 11:49 ` [Bug 217399] " bugzilla-daemon
@ 2023-05-04 11:51 ` bugzilla-daemon
  2023-05-04 11:58 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2023-05-04 11:51 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=217399

--- Comment #2 from Bernd Buschinski (b.buschinski@gmail.com) ---
Created attachment 304216
  --> https://bugzilla.kernel.org/attachment.cgi?id=304216&action=edit
lsusb -v, for the the device

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 217399] Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter
  2023-05-04 11:11 [Bug 217399] New: Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter bugzilla-daemon
  2023-05-04 11:49 ` [Bug 217399] " bugzilla-daemon
  2023-05-04 11:51 ` bugzilla-daemon
@ 2023-05-04 11:58 ` bugzilla-daemon
  2023-05-05  9:49 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2023-05-04 11:58 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=217399

--- Comment #3 from Bernd Buschinski (b.buschinski@gmail.com) ---
I did not bisect it, but I think 

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.3.1&id=ec51fbd1b8a2bca2948dede99c14ec63dc57ff6b

is at least related, maybe.... feel free to correct me.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 217399] Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter
  2023-05-04 11:11 [Bug 217399] New: Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter bugzilla-daemon
                   ` (2 preceding siblings ...)
  2023-05-04 11:58 ` bugzilla-daemon
@ 2023-05-05  9:49 ` bugzilla-daemon
  2023-05-05 19:38 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2023-05-05  9:49 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=217399

The Linux kernel's regression tracker (Thorsten Leemhuis) (regressions@leemhuis.info) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |regressions@leemhuis.info

--- Comment #4 from The Linux kernel's regression tracker (Thorsten Leemhuis) (regressions@leemhuis.info) ---
Forwarded the report to the developers:

https://lore.kernel.org/regressions/ec4be122-e213-ca5b-f5d6-e8f9c3fd3bee@leemhuis.info/T/#u

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 217399] Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter
  2023-05-04 11:11 [Bug 217399] New: Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter bugzilla-daemon
                   ` (3 preceding siblings ...)
  2023-05-05  9:49 ` bugzilla-daemon
@ 2023-05-05 19:38 ` bugzilla-daemon
  2023-05-05 19:39 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2023-05-05 19:38 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=217399

Jakub Kicinski (kubakici@wp.pl) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kubakici@wp.pl

--- Comment #5 from Jakub Kicinski (kubakici@wp.pl) ---
Hi Bernard, are you able to compile your own kernel to see if this simple edit
would fix the problem for you?

diff --git a/kernel/bpf/offload.c b/kernel/bpf/offload.c
index d9c9f45e3529..8a26cd8814c1 100644
--- a/kernel/bpf/offload.c
+++ b/kernel/bpf/offload.c
@@ -859,4 +859,4 @@ static int __init bpf_offload_init(void)
        return rhashtable_init(&offdevs, &offdevs_params);
 }

-late_initcall(bpf_offload_init);
+core_initcall(bpf_offload_init);

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Bug 217399] Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter
  2023-05-04 11:11 [Bug 217399] New: Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter bugzilla-daemon
                   ` (4 preceding siblings ...)
  2023-05-05 19:38 ` bugzilla-daemon
@ 2023-05-05 19:39 ` bugzilla-daemon
  2023-05-06  9:39 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2023-05-05 19:39 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=217399

--- Comment #6 from Jakub Kicinski (kubakici@wp.pl) ---
s/Bernard/Bernd/ apologies

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 217399] Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter
  2023-05-04 11:11 [Bug 217399] New: Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter bugzilla-daemon
                   ` (5 preceding siblings ...)
  2023-05-05 19:39 ` bugzilla-daemon
@ 2023-05-06  9:39 ` bugzilla-daemon
  2023-05-13 13:51 ` bugzilla-daemon
  2023-06-11  7:11 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2023-05-06  9:39 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=217399

--- Comment #7 from Bernd Buschinski (b.buschinski@gmail.com) ---
Hi, I applied your patch to 6.3.0 and it works fine. I rebooted 3 times and it
always worked.

Just to be sure, I reverted the Patch and it failed again.

So thanks for your work, it fixes my issue :)

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 217399] Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter
  2023-05-04 11:11 [Bug 217399] New: Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter bugzilla-daemon
                   ` (6 preceding siblings ...)
  2023-05-06  9:39 ` bugzilla-daemon
@ 2023-05-13 13:51 ` bugzilla-daemon
  2023-06-11  7:11 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2023-05-13 13:51 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=217399

--- Comment #8 from Bernd Buschinski (b.buschinski@gmail.com) ---
Hello, since I saw that kernel 6.3.2 also had some bpf changes, I tried it.

Vanilla 6.3.2: failed to boot
Patch + 6.3.2: works fine

Is there anything else that I can help you with? Something to test? Do you need
any additional information?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 217399] Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter
  2023-05-04 11:11 [Bug 217399] New: Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter bugzilla-daemon
                   ` (7 preceding siblings ...)
  2023-05-13 13:51 ` bugzilla-daemon
@ 2023-06-11  7:11 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2023-06-11  7:11 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=217399

Bernd Buschinski (b.buschinski@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #9 from Bernd Buschinski (b.buschinski@gmail.com) ---
Hello, I tested with 6.3.7 (which contains the fix
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.3.7&id=7e1ca7f01d872293ab1594c726922ff459830903)
and can confirm that it works fine, thanks! :)

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-06-11  7:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-04 11:11 [Bug 217399] New: Kernel OOPS on boot with Kernel 6.3(.1) and RTL8153 Gigabit Ethernet Adapter bugzilla-daemon
2023-05-04 11:49 ` [Bug 217399] " bugzilla-daemon
2023-05-04 11:51 ` bugzilla-daemon
2023-05-04 11:58 ` bugzilla-daemon
2023-05-05  9:49 ` bugzilla-daemon
2023-05-05 19:38 ` bugzilla-daemon
2023-05-05 19:39 ` bugzilla-daemon
2023-05-06  9:39 ` bugzilla-daemon
2023-05-13 13:51 ` bugzilla-daemon
2023-06-11  7:11 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.