From: Hayes Wang <hayeswang@realtek.com>
To: Jakub Kicinski <kuba@kernel.org>, Ferenc Fejes <fejes@inf.elte.hu>
Cc: netdev <netdev@vger.kernel.org>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Subject: RE: r8152: error when loading the module
Date: Fri, 20 Oct 2023 05:59:18 +0000 [thread overview]
Message-ID: <a05475db018e4e5ea8d24a62e6aab4e4@realtek.com> (raw)
In-Reply-To: <20231019174514.384ccca8@kernel.org>
[...]
> > On my machine r8152 module loading takes about one minute.
> >
> > Its a Debian Sid:
> > uname -a
> > Linux pc 6.5.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.6-1 (2023-10-07) x86_64 GNU/Linux
>
> Did this device work fine with older kernels or this is the only one
> you tried? The code doesn't seem to have changed all that much since
> RTL8156B support was added.
>
> > dmesg:
> >
> >
> > [ 899.522306] usbcore: registered new device driver r8152-cfgselector
> > [ 899.601295] r8152-cfgselector 2-1.3: reset SuperSpeed USB device number 4 using xhci_hcd
> > [ 927.789526] r8152 2-1.3:1.0: firmware: direct-loading firmware rtl_nic/rtl8156b-2.fw
> > [ 942.033905] r8152 2-1.3:1.0: load rtl8156b-2 v2 04/27/23 successfully
Someone reports there is an error message when loading rtl8156b-2 v2 04/27/23.
r8152 6-1:1.0: ram code speedup mode fail
I don't find the same message for you.
However, I check the firmware and find some wrong content.
Could you remove /lib/firmware/rtl_nic/rtl8156b-2.fw and unplug the device.
Then, plug the device and check it again.
> > [ 956.269444] ------------[ cut here ]------------
> > [ 956.269447] WARNING: CPU: 7 PID: 211 at drivers/net/usb/r8152.c:7668 r8156b_hw_phy_cfg+0x1417/0x1430 [r8152]
> > [ 956.269458] Modules linked in: r8152(+) hid_logitech_hidpp uhid ccm
Best Regards,
Hayes
next prev parent reply other threads:[~2023-10-20 5:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-19 11:48 r8152: error when loading the module Ferenc Fejes
2023-10-20 0:45 ` Jakub Kicinski
2023-10-20 5:59 ` Hayes Wang [this message]
2023-10-20 6:33 ` Ferenc Fejes
2023-10-20 7:40 ` Hayes Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a05475db018e4e5ea8d24a62e6aab4e4@realtek.com \
--to=hayeswang@realtek.com \
--cc=fejes@inf.elte.hu \
--cc=kuba@kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).