this post was submitted on 20 Jan 2024
2 points (100.0% liked)

Linux

47976 readers
1053 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Any advice on where to go from here? This console was running dmesg -w to try and catch an intermittent crash... And this is what I got. I am using an el cheapo USB wifi adapter that I'm suspicious of.

Everything was working fine until I rebuilt nixos with Nvidia support... Now my old generations of the OS are crashing after a few minutes (display on, no response to input, keyboard lights don't respond, SysRq doesn't work)

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 9 months ago* (last edited 9 months ago)

Look at the line with the asm_exc_invalid_op. That seems like a hardware fault caused by an invalid asm instruction to me. Either something wrong is being interpreted as an opcode (unlikely) or maybe the driver was compiled with extensions not available on the current machine.

OP, how old is your CPU? And how old is the nic you are using?

Edit: ~~did you use a custom driver for the NIC? I'm looking at the Linux src and rt_mutex_schedule does not exist.~~ Nevermind. Was checking 4.18 instead of 6.7. found it now. The bug is most likely inside a macro called preempt_disable(). Unfortunately most of the functions are pretty heavily inlined and architecture dependent so you won't get much out of it. But it is likely any changes you made in terms of premption might also be causing the bug.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago)

You're only showing us part pf the error. There should be more above the list pf modules loaded that will provide useful information

dmesg > dmesg-out will give the entire dmesg log as a text file, and you can cut out the irrelevant parts