[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1006149: linux-image-5.16.0-1-686: Fails to boot on T41 Thinkpads



On 4/4/22 14:42, Axel Beckert wrote:
Hi Damien,

Damien Le Moal wrote:
I will send a patch to blacklist read log for that drive later today, to
try. If that patch works, I will queue it and cc stable so that it gets
backported.

I assume this still requires recompilation as this blacklist is
probably compiled into the kernel and not just a file in the
initramfs.

Correct. You will need to compile and install a kernel. Can you do
that ?

Theoretically yes, but I actually have no idea how to cross-compile a
kernel package from amd64 to i386.

I am not sure how the debian package thing works. An easy thing to do is to:
1) download kernel 5.17 source tar.gz file from kernel.org
2) Unpack the source and apply the patch with
	cd linux; patch -p1 < patch_file
3) Run "make localmodconfig"
4) Compile (run "make")
5) Install: sudo make modules_install install
6) reboot and choose the new kernel in grub

There will be no issue with your 1GB of ram. Giving this amount of ram and CPU, step (4) will indeed take a while, but it will run fine.



And I suspect that compiling the Debian kernel package on the device
itself will run out of resources with only 1 GB of RAM or at least
take ages (single-core Pentium 4 Mobile with 1.8 GHz). But I can try.
(Failed to test the last patch due to not finding time, though.)

		Regards, Axel


--
Damien Le Moal
Western Digital Research


Reply to: