From: Stanislaw Gruszka <stf_xl@wp.pl>
To: Bagas Sanjaya <bagasdotme@gmail.com>
Cc: enc0der <enc0der@gmail.com>,
Linux Regressions <regressions@lists.linux.dev>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Wireless <linux-wireless@vger.kernel.org>
Subject: Re: rt8000usb driver issue (maybe interaction with other drivers)
Date: Mon, 2 Oct 2023 20:50:53 +0200 [thread overview]
Message-ID: <20231002185053.GB402943@wp.pl> (raw)
In-Reply-To: <ZRj_ovMi-Xbb8i-D@debian.me>
(cc list is too big, I shrink it)
On Sun, Oct 01, 2023 at 12:12:02PM +0700, Bagas Sanjaya wrote:
> On Sat, Sep 30, 2023 at 06:04:22PM -0400, enc0der wrote:
> > Hello all!
> >
> > This is the first time I have ever reported anything linux related, so
> > if this is not the proper way, please let me know what the correct way
> > is.
> >
> > I am using an NVIDIA Jetson Orin Nano developer platform. They
> > release what they call a jetpack that comes with linux and their
> > additions on top. We are using the latest version they release (just
> > released about a month ago)
>
> Something like a distro? What version?
>
> >
> > When I plug in a USB WiFi adapter that uses the rt8000usb driver, if I
> > connect to a network it sees, I get a kernel panic. If I have
> > "automatically connect" it kernel panics when I plug the USB in.
> >
> > The version of the kernel they ship is:
> >
> > 5.10.120-tegra. (tegra is their additions)
> >
> > I talked with NVIDIA first on what I was seeing and after looking at
> > my log, they said it is likely a driver problem.
Is possible that this is rt2800usb or usb host driver issue. But without
full logs we can not be sure.
> > Right after I plug in the device, this is the sequence of messages I see:
> >
> > [ 264.400281] BUG: scheduling while atomic: NetworkManager/622/0x00000203
After that message there should be stack trace visible. To debug this
you would need to find a way to see the full logs (dmesg/kmsg) after the crash.
It can be serial console, netconsole, pstore or some other thing. Perhaps
your platform allow to boot debug kernel with various check, which will
not panic when the bug occures and will show useful info in the logs.
> > [ 28.071586] lr : arm_smmu_dma_sync+0x40/0x70
> > [ 28.075965] sp : ffff8000100231a0
> > [ 28.079365] x29: 0000000000001000 x28: ffff4655c01d0ec0
> > [ 28.084817] x27: ffffaced1f227000 x26: ffff4655c6ee32c0
> > [ 28.090270] x25: 0000000000000000 x24: ffffaced1e405858
> > [ 28.095718] x23: ffff46572e84ae00 x22: ffff4655c6ee2c40
> > [ 28.101165] x21: ffff4655c82c3480 x20: ffffaced1db49e08
> > [ 28.106618] x19: ffff8000100231c0 x18: 0000000000010101
> > [ 28.112073] x17: 0000000000cccccc x16: ffffaced1d23382c
> > [ 28.117520] x15: 0000000000000000 x14: 0000000000000000
> > [ 28.122970] x13: 0000000000000001 x12: 0000000000000000
> > [ 28.128421] x11: 0000000000000008 x10: 0000000000000ab0
> > [ 28.133863] x9 : ffff800010023180 x8 : ffff4655c6ee3750
> > [ 28.139309] x7 : 000000067eb29c20 x6 : 0000000000000238
> > [ 28.144763] x5 : 00000000410fd420 x4 : 0000000000f0000f
> > [ 28.150214] x3 : 0000000000001000 x2 : ffff4655c82c3480
> > [ 28.155658] x1 : ffffaced1db49e08 x0 : ffff465704c37558
> > [ 28.161107] Call trace:
> > [ 28.163620] 0x1000
> > [ 28.165777] Code: bad PC value
> > [ 28.168911] ---[ end trace 62dc42c98ec427ca ]---
> > [ 28.183964] Kernel panic - not syncing: Oops: Fatal exception
> > [ 28.189864] SMP: stopping secondary CPUs
> > [ 29.275883] SMP: failed to stop secondary CPUs 0-5
> > [ 29.280811] Kernel Offset: 0x2ced0d200000 from 0xffff800010000000
This actually suggest that the issue is somewhere in the core.
But again, without full logs we can not be sure.
> > [ 29.287066] PHYS_OFFSET: 0xffffb9ab40000000
> > [ 29.291360] CPU features: 0x08040006,4a80aa38
> > [ 29.295832] Memory Limit: none
> > [ 29.309234] ---[ end Kernel panic - not syncing: Oops: Fatal exception ]---
> >
> > (This one I believe when I started with the wifi adapter connected to
> > USB3 and networking was set to automatically connect.
> >
> > I see in the git repo that these drivers have been changed over the
> > last few years. Given the age of the kernel that NVIDIA is using, I
> > am not sure how to correlate changes listed in the history of the
> > files with the release. I guess I could download and diff them until
> > I figure out where.
The rt2800 driver wasn't modified for ages. It's rater stable, but
perhaps there are issues in other involved modules i.e. mac80211.
Regards
Stanislaw
next prev parent reply other threads:[~2023-10-02 18:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAEXpi5Rd6Y4umKOWRsCjX0kit=W5ZrVhn=MuRkyvJPwmjjDVnA@mail.gmail.com>
2023-10-01 5:12 ` rt8000usb driver issue (maybe interaction with other drivers) Bagas Sanjaya
2023-10-01 5:33 ` enc0der
2023-10-01 5:53 ` Bagas Sanjaya
2023-10-03 5:47 ` Kalle Valo
2023-10-02 18:50 ` Stanislaw Gruszka [this message]
2023-10-03 0:01 ` Bagas Sanjaya
2023-10-04 1:34 ` enc0der
2023-10-04 4:44 ` Linux regression tracking (Thorsten Leemhuis)
2023-10-04 18:28 ` Stanislaw Gruszka
2023-10-05 18:08 ` enc0der
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=20231002185053.GB402943@wp.pl \
--to=stf_xl@wp.pl \
--cc=bagasdotme@gmail.com \
--cc=enc0der@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=regressions@lists.linux.dev \
/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