You are not logged in.

#1 2025-11-21 20:10:15

radon
Member
Registered: 2025-11-21
Posts: 19

Kernal panic while in usb flash drive

Hello,

when i install arch linux via usb flash, after every like 4-5 minutes i get kernal panic.

I get these errors when i boot and the rbd
Boot-Errors.jpg

also this:

Erros.jpg

Every kernal panic i get has either fatal execption in interrupt, or attempted to kill idle task

here are some of the logs:
Kernal log 1
Kernal log 2
Kernal log 3

what i already tried:
-idle=nomwait
-pcie_aspm=force
-acpi=off , nomodeset
-prossersor.max_cstate=1
-rufus with dd without dd, gnome disk manager with dd

laptop: Acer Nitro 5, Amd ryzen 7735hs + rtx 3050, display is always connected to amd gpu

Offline

#2 2025-11-21 21:30:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,635

Re: Kernal panic while in usb flash drive

Well, it's obvious.
You're apparently trying to boot some kernal, but you need to boot the kernel…

Also your kernel panics have stray slashes at the end what will cause js syntax errors.
And they all happen in "CPU: 11 UID: 0 PID: 0 Comm: swapper/11"

https://wiki.archlinux.org/title/Ryzen#Troubleshooting is probably indeed the main contender.
Can you boot w/ the "nosmp" parameter?

Offline

#3 2025-11-22 13:53:57

radon
Member
Registered: 2025-11-21
Posts: 19

Re: Kernal panic while in usb flash drive

the thing is i couldn't boot the kernal T_T

i tried reading that wiki also but didn't found anything

as for that cpu11 thing, sorry i am a newbie so i couldn't troubleshoot it

The nosmp worked for me now i can boot with that parameter, but my os will still cause errors after 5 minutes

any help?

Offline

#4 2025-11-22 14:00:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,635

Re: Kernal panic while in usb flash drive

What kind of errors?
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855

Ps: in case that's not clear, there is no such thing as a "kernal", it's and has always been spelled "kernel"

Offline

#5 2025-11-22 17:24:42

radon
Member
Registered: 2025-11-21
Posts: 19

Re: Kernal panic while in usb flash drive

sorry didn't meant to paraphrase.

when i tried nosmp, i successfully booted into usb flash media.

issue :
1. i still get random kernel panic (attempt to kill idle task, fatal execption in interrupt), after some time of booting into arch linux
2. when i am idle at my laptop, it goes to sleep and then either never wakes up (just keyboard rgb) either another kernal panic

possible solution (closest)
1. when i tried acpi=off, as a kernel parameter I didn't get any kernel panic but then i couldn't shutdown my laptop.

one extra : sorry i currently dont have logs i will provide soon

(sorry for mistakes i sometimes type kernal instead of kernel )

Last edited by radon (2025-11-22 17:26:59)

Offline

#6 2025-11-22 19:46:46

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,635

Re: Kernal panic while in usb flash drive

"not paraphrasing" means to post the actual errors, not some rephrased description of the situation.
Illustrate the status quo w/ your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

and then also the actual kernel panic dumps you're currently facint.

Also what are you actually booting there? Why does it "go to sleep" when you why exactly "idle at your desktop"?
Is this not the installation iso from https://archlinux.org/download/ ?
Or is this after installing the system?

Offline

#7 2025-11-23 09:15:54

radon
Member
Registered: 2025-11-21
Posts: 19

Re: Kernal panic while in usb flash drive

Installed arch linux-lts, getting kernel panic after booting (5 mins after)
Here are output of your command
https://0x0.st/KVIo.txt

Here is some of commands run and some logs photos:
https://ibb.co/NXDPk72

Logs: journalctl -b -1 -k
https://limewire.com/d/TMbWo#tKsSA8Z2Po

Offline

#8 2025-11-23 09:30:35

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,635

Re: Kernal panic while in usb flash drive

You're neitehr booting "nosmp" nor w/ any other of the ryzen mitigating options,

Nov 23 14:26:04 archlinux kernel: simple-framebuffer simple-framebuffer.0: [drm] Registered 1 planes with drm panic

isn't a kernel panic nor relevant to anything.
We're looking for this thing here

1. i still get random kernel panic (attempt to kill idle task, fatal execption in interrupt), after some time of booting into arch linux

But I'd start at https://wiki.archlinux.org/title/Ryzen#Troubleshooting - notably limiting the c-states and also check whether you've control over PBO

You've btw. moved from nvidia to nouveau.

Offline

#9 2025-11-23 13:05:52

radon
Member
Registered: 2025-11-21
Posts: 19

Re: Kernal panic while in usb flash drive

I tried limiting c states, i also don't have any option related to pbo in bios so i don't have control over them

as for nosmp, I only used it to install arch linux
but yeah not solution

and as for ryzen mitigating options, tried everthing nothings fixs the problem
acpi=off fixes the problem but cannot shutdown and reboot my laptop (need to do force power off)

here are some kernel logs after booting up and i got like a kernel panic QR
Logs


also if this could help :
when i boot into usb flash or when i check dmesg | err on konsole (KDE) i get
usci acpi USBC0000000 failed to reset ppm
usci acpi USBC0000000 error ETIMEDOUT ppm init failed


I thinks there is incompatibility issue with my laptop and arch.

Last edited by radon (2025-11-23 13:06:52)

Offline

#10 2025-11-23 14:07:04

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,635

Re: Kernal panic while in usb flash drive

[   76.337675] CPU: 11 UID: 0 PID: 0 Comm: swapper/11 Tainted: P        W  OE       6.17.6-arch1-1 #1 PREEMPT(full)  e52108de28b49730091bcf9c82fa81056a8bedee
[   76.337724] Tainted: [P]=PROPRIETARY_MODULE, [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[   76.337751] Hardware name: Acer Nitro AN515-47/Jimny_RBH, BIOS V1.17 07/01/2025
[   76.337776] RIP: 0010:update_sd_lb_stats.constprop.0+0x18b/0xa30

I thinks there is incompatibility issue with my laptop and arch.

There's an incompatibility between your CPU and reality.

Check whether there's a BIOS update, if you cannot control PBO (the curve optimizer) at all you could try https://archlinux.org/packages/extra/x86_64/corectrl/

Offline

#11 2025-11-23 15:03:40

radon
Member
Registered: 2025-11-21
Posts: 19

Re: Kernal panic while in usb flash drive

Okay T_T, so bad luck i guess..

so should i make this [Solved] or there is more things we can do in this.

also: i tried clearing my secure boot keys it removed the certificate-65 errors

Thanks for the help btw

Offline

#12 2025-11-23 15:05:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,635

Re: Kernal panic while in usb flash drive

It's not really solved, you can set it "[abandoned]" if you don't want to pursue this.

Offline

#13 2025-11-23 19:58:14

radon
Member
Registered: 2025-11-21
Posts: 19

Re: Kernal panic while in usb flash drive

I want to pursue this but yeah I am lost, any guidance? What to do where to report this bug etc.

Really wanted to try arch but yeah sometimes things don't work

Offline

#14 2025-11-23 20:20:27

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,635

Re: Kernal panic while in usb flash drive

seth wrote:

Check whether there's a BIOS update, if you cannot control PBO (the curve optimizer) at all you could try https://archlinux.org/packages/extra/x86_64/corectrl/

You also have tried the "rcu_nocbs=0-16" parameter?

Offline

#15 2025-11-24 09:26:44

radon
Member
Registered: 2025-11-21
Posts: 19

Re: Kernal panic while in usb flash drive

Okay soo,
1. I use USB flash drive and add those kernal parameter to check (because its fast and the problem is same so its the best I think)

2. I tried using rcu_nocbs=0-16 ,
Here are the logs when I used this :  Logs

And I tried : rcu_nocbs=all
These are logs : Logs

Also : i was on old bios version 1.10 then directly updated to 1.17 to check if that solves the problem (IT DIDN'T)
So should I try reverting back to old bios like 1.14 or 1.16 will that help?

i tried amd_pstate=disable, same situation : screen froze

Last edited by radon (2025-11-24 10:06:44)

Offline

#16 2025-11-24 14:07:20

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,635

Re: Kernal panic while in usb flash drive

seth wrote:

f you cannot control PBO (the curve optimizer) at all you could try https://archlinux.org/packages/extra/x86_64/corectrl/

[   88.360837] systemd-journald[670]: Time jumped backwards, rotating.

Is there a windows installation on the system?

those kernal parameter

And post

cat /proc/cmdline

to show the actual kernel parameters didn't get bungled by some vowel-freestyling…

Offline

#17 2025-11-24 14:46:51

radon
Member
Registered: 2025-11-21
Posts: 19

Re: Kernal panic while in usb flash drive

seth wrote:

Is there a windows installation on the system?

those kernal parameter

And post

cat /proc/cmdline

to show the actual kernel parameters didn't get bungled by some vowel-freestyling…

Yes Windows is dual booted.

I have windows, ubuntu and arch usb flash drive

here is the output of cat /proc/cmdline
when i used: rcu_nocbs=all

procAcmd.jpg

Offline

#18 2025-11-24 15:00:38

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,635

Re: Kernal panic while in usb flash drive

Yes Windows is dual booted.

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

You for the moment generally always want to boot w/

processor.max_cstate=1 idle=nomwait pci=nomsi

Offline

#19 2025-11-24 15:59:41

radon
Member
Registered: 2025-11-21
Posts: 19

Re: Kernal panic while in usb flash drive

seth wrote:

Yes Windows is dual booted.

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

What do you mean by the third link??

I tried this processor.max_cstate=1 and idle=nomwait but from now i will always boot with all three and try

and reboot ubuntu and windows twice?

sorry being a slow brainer

Offline

#20 2025-11-24 16:01:35

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,635

Re: Kernal panic while in usb flash drive

There're 4 links in my signature and the 3rd points towards http://wiki.archlinux.org/title/Dual_bo … ibernation
Does Ubuntu not run into those freezes?

Offline

#21 2025-11-24 18:02:06

radon
Member
Registered: 2025-11-21
Posts: 19

Re: Kernal panic while in usb flash drive

Ubuntu does get kernel panic but not like everytime, its like rare twice a week type buy mostly stable.

So shoud i like disable automatic time, and like add those parameter and disable fast boot in bios, as well as ubuntu and windows and all hibernation and sleep

am i right?
also shoud i disable fast boot in BIOS too??

Last edited by radon (2025-11-24 18:15:42)

Offline

#22 2025-11-24 20:54:41

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,635

Re: Kernal panic while in usb flash drive

Edit: you might benefit from https://deepl.com/
---------------------------------------------------------

also shoud i disable fast boot in BIOS too??

The "fast boot" feature of your BIOS is unrelated to the overall problem, the important part is to not boot one system while another one is hibernating.
The windows "fast start" feature is disguised hibernation, so you have to disable that.

like rare twice a week type buy mostly stable

If you keep the arch system more busy w/ a desktop and a lot of flickering widgets you'll likely prevent this, too (for the system being less prone to idling)

maxcpus= [SMP,EARLY] Maximum number of processors that an SMP kernel will bring up during bootup.  maxcpus=n : n >= 0 limits the kernel to bring up 'n' processors.
Surely after bootup you can bring up the other plugged cpu by executing "echo 1 > /sys/devices/system/cpu/cpuX/online".
So maxcpus only takes effect during system bootup.
While n=0 is a special case, it is equivalent to "nosmp", which also disables the IO APIC.

Since every panic has CPU 11 you could try to just keep that disabled.
Add "maxcpus=10" to the kernel parameters, if the system remains stable you might try to enable the other cores later on.

Last edited by seth (2025-11-24 20:56:15)

Offline

#23 2025-11-25 16:25:43

radon
Member
Registered: 2025-11-21
Posts: 19

Re: Kernal panic while in usb flash drive

Here is the report:
All test are done in USB flash drive

1. Hibernation off  (windows )and automatic clock off (windows and Ubuntu )
   kernel panic : Logs
NOTE: CPU 10 is tainted NOT 11

2. processor.max_cstate=1 idle=nomwait pci=nomsi
   LOOK AT THIS VIDEO I CANNOT EXPLAIN THIS
   Video google drive


3. amd_pstate=guided , tried this also
   kernel panic : Logs
  CPU 11 Tainted

4. isolcpus=11 , tried this also to isolate cpu11
   kernel panic : Logs
   CPU 11 Tainted

Success

1. maxcpus=10
    my laptop was idle for 20-25 minutes, no kernel panic. Success

2. nosmt
    my laptop was idle for 20minutes, no kernel panic. Again Success

Took me 1 hour to test all, now you can check and tell me what to do

seth wrote:

If you keep the arch system more busy w/ a desktop and a lot of flickering widgets you'll likely prevent this, too (for the system being less prone to idling)

maxcpus= [SMP,EARLY] Maximum number of processors that an SMP kernel will bring up during bootup.  maxcpus=n : n >= 0 limits the kernel to bring up 'n' processors.
Surely after bootup you can bring up the other plugged cpu by executing "echo 1 > /sys/devices/system/cpu/cpuX/online".
So maxcpus only takes effect during system bootup.
While n=0 is a special case, it is equivalent to "nosmp", which also disables the IO APIC.

Since every panic has CPU 11 you could try to just keep that disabled.
Add "maxcpus=10" to the kernel parameters, if the system remains stable you might try to enable the other cores later on.

1 . Adding widgets wont work, when I used to actively work on arch it still crashed with "Attemped to kill idle task?"
2 . I dont think enabling CPU 11 again will work, it will still crash. (Above Point)

I dont know if you can see logs or not, if you can't tell me, I will make a google drive

Last edited by radon (2025-11-25 20:04:31)

Offline

#24 2025-11-25 19:27:14

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,635

Re: Kernal panic while in usb flash drive

I dont know if you can see logs or not, if you can't tell me, I will make a google drive

You keep adding stray " /" to the url which is why you cannot see anything there. Fixing the url and reloading it will show the kernel panic.

LOOK AT THIS VIDEO I CANNOT EXPLAIN THIS

This is b/c of "pci=nomsi" - the thunderbolt module doesn't like that.
You could add "module_blacklist=thunderbolt" but will lose that device.

"nosmt" is equivalent to "maxcpus=0"

when I used to actively work on arch

What does "actively work" mean? You typing something into the console or so is equivalent w/ the CPU being bored to death.
You'd need to constantly run several threads or processes in parallel to avoid the idling.

I dont think enabling CPU 11 again will work, it will still crash. (Above Point)

Have you tried to enable the other ones (12-16)?

seth couple of times wrote:

If you cannot control PBO (the curve optimizer) at all you could try https://archlinux.org/packages/extra/x86_64/corectrl/

Offline

#25 2025-11-25 20:14:46

radon
Member
Registered: 2025-11-21
Posts: 19

Re: Kernal panic while in usb flash drive

Okay I fixed the panics.

Actively means I run firefox (2-6 tabs), 2-3 terminal session, some settings

Should I activate 12-15 by "that echo 1>......." Command?

Sorry for no logs as I cannot test it's night here

I will also install that pkg in usb flash..

Last edited by radon (2025-11-25 20:17:50)

Offline

Board footer

Powered by FluxBB