You are not logged in.

#1 2023-08-17 10:35:19

GeneArch
Member
Registered: 2013-07-28
Posts: 74

kernel 6.4.11 bug prevents boot on some hardware [with SOLUTION]

Sharing in case this helps others.

There is a bug with the rtsx driver in 6.4.11 that prevented one of my machines from booting. In my case it presented as NVME failure and thus preventing machine from booting.
6.4.10 is fine.

The hardware that triggers this is :

   03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)

A work around is simply to blacklist the driver (its only a card reader).

i.e. Add
   blacklist rtsx_pci
   blacklist rtsx_pci_sdmmc

to /etc/modprobe.d/blacklist_rtsx.conf

rebuild the initramfs so that the blacklist gets put into it.

More details on this are available on lkml including the git bisect:

   https://lkml.org/lkml/2023/8/16/1183

regards

gene

Offline

#2 2023-08-19 20:14:02

OlegKrikun
Member
Registered: 2023-08-19
Posts: 3

Re: kernel 6.4.11 bug prevents boot on some hardware [with SOLUTION]

Thank you!

Offline

#3 2023-08-19 20:46:02

GeneArch
Member
Registered: 2013-07-28
Posts: 74

Re: kernel 6.4.11 bug prevents boot on some hardware [with SOLUTION]

Glad was useful smile

Offline

#4 2023-08-21 20:11:48

loqs
Member
Registered: 2014-03-06
Posts: 17,483

Re: kernel 6.4.11 bug prevents boot on some hardware [with SOLUTION]

@GeneArch do you plan on opening a bug on the Arch bug tracker asking for 69304c8d285b77c9a56d68f5ddb2558f27abf406 to be reverted for the 6.4.12 release [1]?  This assumes reverting that commit resolves the issue.
Also any news on if it will be reverted upstream before 6.5 is released?

[1] https://lore.kernel.org/stable/20230821 … ation.org/

Offline

#5 2023-08-22 11:12:20

GeneArch
Member
Registered: 2013-07-28
Posts: 74

Re: kernel 6.4.11 bug prevents boot on some hardware [with SOLUTION]

@loqs Yeh unclear to me too. It's not in 6.5-rc7 either and GKH likes patches to go into mainline first and cc stable before including them; as I'm sure you're aware.

I emailed heftig and let him know but perhaps at this point  an arch issue wouldn't hurt,  since 6.4.11 is in core.

Thanks for reminder wink

Done: https://bugs.archlinux.org/task/79439

Last edited by GeneArch (2023-08-22 12:03:42)

Offline

#6 2023-09-22 11:34:55

loqs
Member
Registered: 2014-03-06
Posts: 17,483

Re: kernel 6.4.11 bug prevents boot on some hardware [with SOLUTION]

Arch reverted the commit in linux 6.5.4.arch2-1.  There is now a proposed fix from upstream in [1],  I provided a test build in [2].

[1] https://lore.kernel.org/regressions/995 … altek.com/
[2] https://bugs.archlinux.org/task/79439#comment222233

Offline

#7 2023-10-13 20:53:23

dividebyzero
Member
Registered: 2023-10-13
Posts: 2

Re: kernel 6.4.11 bug prevents boot on some hardware [with SOLUTION]

Thank you! You ended my 2 day investigation of what the hell was going on with my laptop! I had installed Pop OS at the time on that machine (Dell XPS 15 9560) and I could no longer decrypt my drive on boot. I was still able to decrypt it with luksOpen from the recovery partition, so I was able to get my files off. After trying seemingly everything, I decided to just wipe the drive and install arch, but when installing my nvme was not appearing in fdisk. That problem led me here, and voila, solved! I suppose its a sign to switch to arch. Thanks Gene!

Offline

Board footer

Powered by FluxBB