Kernel Panic! (Linux BSOD)

@MichelN gave me this command (thanks a lot, will be useful in the future) but it seems it didnt find anything for my laptop if i read that right?

[mellow@Blade-Stealth13 ~]$ fwupdmgr refresh && fwupdmgr get-updates && fwupdmgr update
Wird aktualisiert lvfs
Herunterladen …          [************************************** ]
Neue Metadaten erfolgreich heruntergeladen:
 • 7 Geräte sind aktualisierbar
 • 2 Geräte werden in den aktivierten Gegenstellen unterstützt (eine Aktualisierung wurde veröffentlicht)
Devices with no available firmware updates:
 • RAZER Certificate
 • RAZER KEK
 • SNV2S1000G
 • System Firmware
 • UEFI Device Firmware
 • Internal SPI Controller (BIOS)
 • KEK CA
 • Option ROM UEFI CA
 • PCH SPI Controller
 • Windows Production PCA
Geräte mit der neuesten verfügbaren Firmware-Version:
 • UEFI CA
 • UEFI dbx
Keine Aktualisierungen verfügbar

Yes, this isnt really a panic, this is a freeze on boot, as explained here:

I have never heard of iommu, so i read about it a bit, and now i found that there is also a intel specific command for it intel_iommu=on and iommu=pt stands for passthrough. Now I am not shure which one is better, and i think i now confused myself in which one to use :sweat_smile:

i use whatever endeavour gave me when installing it and selecting grub, and in that case i guess its dracut? I looked through the dracut.conf or dracut.cond.d but none had any mention of nvme or nvidia as far as i can tell (they are pretty empty even, just eos-defaults and greyed out “put your config in separate files” stuff)

will do once i know which of the iommu to put :slightly_smiling_face:


no i havent, maybe will try it once i get an unoccupied usb stick (my ventoy-stick got full)

everything is related to boot (freeze or panic) or should i happen to get to the login screen, right the second i hit enter after typing the password (on the mainline kernel). ( you can read my comment that i linked too if u want, so you know what happens in what mode or when stuff is plugged in various ports)

no i havent, will do when i try the iommu thing..

Glad to see that the AI has found my issue :sweat_smile:
There are zero, other cases with this laptop than mine. Barely anyone has this laptop (this one specificly especially), and those that have razer blades in general, use windows. maybe one asked in a ubuntu forum how to get started (which was update bios to use linux, which is also what i did) but that was a whole different model, and that is like, the only case that i found back in the day :rofl:

1000% agree. while i totally endorse the hardware build quality.. i despise the software support… thats like a razer issue though, has been going on for years. they very often ship good innovation but then they very early drop software support. cant have nice things

Well… I guess its officially over. As it is, the new LTS-Kernel hit a couple of days ago, and i waited a bit, now decided to update. Now neither the 6.19 mainline Kernel, or 6.18 LTS-Kernel work. My biggest fear became reality… I dont know what to do anymore. Seems like I have to find a distro that works for my laptop, which will be hard and time consuming bc of my slow internet (every ISO takes about an hour to download)… and because i love Endeavour and wish i could put it on any device i own.. but i guess its not meant to be.

Thanks to everyone who tried to help… but i am not shure if there is still hope saving my laptop and getting endeavour (or any linux distro with the current kernels) to work…

a dog is crying while looking at an apple phone .

You could install 6.12 from the aur, or the chaotic-aur if you want pre-built.

I am not shure if this is possible, as right now i cant get in at all.
and if i do get in via my snapshots, i would be on the 6.12 lts… so do i then update and right before reboot install the 6.12? does that work or will i get some conflict as it is already installed and in use?
also i am not shure if i am ready for the long wait of compiling… or the potential risks that were discussed of the chaotic-aur… dalto mentioned something in there

With the chaotic-aur, you can view the pkgbuild that was used to build the package.

I’ve used the chaotic-aur mixed witht the aur for over a year with no problems (so far). I realize that’s purely annecdotal though.

@Mellow do you have any ram overclocks (xmp) or cpu overclock ? If the answer is yes please revert them.

Did you also add the kernel parameter

processor.max_cstate=5

I have never changed anything in the BIOS apart from secure boot..

I looked through the settings now and list all the options that I have, maybe there is something that could be problematic that I am not aware of…


Andvanced

CPU Configuration

Software Guard Extensions (SGX) [Software Controlled]
Intel (VMX) Virtualization Technology [Enabled]
Hyper-Threading [Enabled]

Power & Performance

CPU - Power Management Control

Intel(R) SpeedStep™ [Enabled]
Turbo Mode [Enabled]

Thunderbolt™ Configuration

Integrated Thunderbolt™ Support [Enabled]
Security Level [No Security]

Trusted Computing

Security Device Support [Enabled]

USB Configuration

Legacy USB Support [Enabled]

Network Stack Configuration

Network Stack [Disabled]

NVMe Configuration

(Cant do anything there its just my Nvme name)


Chipset

Enable USB Charge Function [Disable]

SATA And RST Configuration

SATA Controller(s) [Enabled]
SATA Mode Selection [AHCI]


Security
(There are options to set a Administrator and User Password, I leave it out)

Secure Boot [Disabled]


Boot

Bootup NumLock State [Off]

(then there are Boot Option Priorities)

Fast Boot [Enabled]
SATA Support [All SATA Devices]
Network Stack Driver Support [Disabled]

CSM Configuration

CSM Support [Disabled]


(the other page is save and exit)


So there isnt anything about xmp or expo related to ram… cpu wise just turbo mode, virtualization and hyper threading, which was stock enabled.. and worked in the past as well.
Also fast boot is enabled, i heard there ar sometimes issues but i cant remember if they were windows or linux related… the rest, like tpm 2.0 etc i am not shure how they affect linux…

Also, no I didnt ad the processor.max_cstate=5
i dont know what it does, is there a potential conflict with intel_idle.max_cstate=1 ?

Also.. I just saw, after me trying to boot a couple times… Grub decided to put away my bootable Snapshot section.. its gone.. so no easy restore for me i guess. hope it randomly reappears else i have to figure out another way… i dont know why this happens after crashes or freezes or anything in between…

What ram are you using ?

As for entering the system use arch chroot.

What happens if you disable this ? This can change the cpu frequencies.

well, its non swappaple ram, so the chips are just on the motherboard..

I tried arch-chroot once… didnt go so well.. btrfs didnt let me in, didnt want to mount stuff

will try it next time, tomorrow if nothing unexpected happens that steals my time

Is the drive not failing ?

As for disk health I did checks here (bit below also memtest86 which also passed

This is where I once tried to do the chroot, I am just too stupid to do it I guess

Look at your screenshot closely, you forgot p1 to mention.

nvme0np2 not nvme0n

ok, so.. i got some enlightments (is that the right word?)

I tried this, didnt change anything though, sadly. also tried to disable fast boot. didnt do it.

Thanks a lot for pointing this out. i remember trying many things, i am not shure if this was part of it or not, i may try it again at some point. So i can do it when i need to


But right now, thanks to going back to find the excample of me failing to chroot.. right below i found that x11 was working, and i tried again to get a boot where i get to the login screen, selected x11 (thankfully was still installed).. and i am here.

So, i can now say… New and lts kernel work.. just not under wayland + or if i plug in the monitor via thunderbolt, or via dock (which is also usb c)

Therefore, as long as my laptop is naked, and as long as i choose x11, its fine.

I dont know why that is… why wayland is a issue, and why thunderbolt/usb c is also a big issue.. but at least i know i can still boot my laptop… just not without anything (except power) plugged in.
(also as soon as i plug in my monitor under x11 it gets detected but as soon as the notification goes away, the screen goes black, only the cursor stays but frozen.. cant do anything except force shutdown… so something is fishy there with these ports, found a few reports about it that there may be issues, but not yet shure what to make of it)

Also in the bios i tried the thunderbolt setting, to set it to security or secure, something like that (there were many options to choose from) but that didnt help either, so set it back to disabled for now, as i reverted all other changes that i tried.

inxi -x11 + mainline kernel
System:
  Kernel: 6.19.8-arch1-1 arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.6.2 Distro: EndeavourOS
Machine:
  Type: Laptop System: Razer product: Blade Stealth 13 (Early 2020) -
    RZ09-0310 v: 2.04 serial: <superuser required>
  Mobo: Razer model: LY325 serial: <superuser required> Firmware: UEFI
    vendor: Razer v: 1.04 date: 11/19/2020
Battery:
  ID-1: BAT0 charge: 38.1 Wh (86.4%) condition: 44.1/53.2 Wh (83.1%)
CPU:
  Info: quad core model: Intel Core i7-1065G7 bits: 64 type: MT MCP cache:
    L2: 2 MiB
  Speed (MHz): avg: 1004 min/max: 400/3900 cores: 1: 1004 2: 1004 3: 1004
    4: 1004 5: 1004 6: 1004 7: 1004 8: 1004
Graphics:
  Device-1: Intel Iris Plus Graphics G7 driver: i915 v: kernel
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] driver: nvidia
    v: 590.48.01
  Device-3: IMC Networks Integrated Camera driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.21 with: Xwayland v: 24.1.9 driver: X:
    loaded: modesetting,nvidia dri: iris gpu: i915 resolution: 3840x2160~60Hz
  API: EGL v: 1.5 drivers: iris,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 26.0.2-arch1.1
    renderer: Mesa Intel Iris Plus Graphics (ICL GT2)
  API: Vulkan v: 1.4.341 drivers: nvidia surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Ice Lake-LP Smart Sound Audio
    driver: sof-audio-pci-intel-icl
  API: ALSA v: k6.19.8-arch1-1 status: kernel-api
  Server-1: PipeWire v: 1.6.1 status: active
Network:
  Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi
  IF: wlan0 state: up mac: 54:8d:5a:cf:59:4a
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb type: USB
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: N/A
Drives:
  Local Storage: total: 931.51 GiB used: 23.3 GiB (2.5%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: SNV2S1000G size: 931.51 GiB
Partition:
  ID-1: / size: 912.62 GiB used: 23.3 GiB (2.6%) fs: btrfs dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 2 GiB used: 664 KiB (0.0%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 912.62 GiB used: 23.3 GiB (2.6%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-4: /var/log size: 912.62 GiB used: 23.3 GiB (2.6%) fs: btrfs
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: partition size: 16.89 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.36 GiB used: 3.27 GiB (21.3%)
  Processes: 268 Uptime: 29m Shell: Bash inxi: 3.3.40

Well at least it’s running again, that’s a start. Now we need to figure out WHY you get issues with wayland and not before.

I wanted to give a small but cool update:
I just Updated, without changing anything from last time. And pure magic happened.

For one: no matter where I plug stuff, no Kernel Panic, no freeze on boot. Both Kernels.
For number 2: I can boot into Wayland, Both Kernels. No matter if stuff is plugged in or not.
For Number 3: I can see stuff on my second monitor, when plugged into dock. Even when logged in.

One thing remains: when the monitor is plugged into thunderbolt i see sddm on second monitor, but after login it gets no signal, stays detected though in settings and gets the notification when plugging in and out.
Other than that it is a huge improvement with this update. and i hope i dont loose it again with another update. Apart from one thing, my laptop is finally (after almost a year) usable again, should someone read this and have an idea why the thunderbolt 3 gives me no picture after logging in, please tell me. else i will probably mark this comment here as solution in a couple days, and try to research on my own fist (or probably make another issue here should i very likely not be successful) on the no picture with thunderbolt issue.

So what got updated ?

THe kernel got a recent update. As did Plasma.

399 packages got updated,.. so… everything basically
a close up of thanos ' face with a tanner frizzell watermark|262.5x143.1818181818182
I stopped updating the laptop regularly because, well it was just frustrating updating and not being able to really do something with it… but now that it is able to work again i may find use for it again, and my motivation just went up like a million km, miles, whatever :sweat_smile: