[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



Hi Petra and Axel,

On Wednesday, 9 March 2022 08:11:37 CET Damien Le Moal wrote:
> Could you try this patch:
> 
> diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
> index 62eb9921cc94..525ce40b524d 100644
> --- a/drivers/scsi/sd.c
> +++ b/drivers/scsi/sd.c
> @@ -3320,6 +3320,7 @@ static int sd_revalidate_disk(struct gendisk *disk)
>                         sd_read_block_limits(sdkp);
>                         sd_read_block_characteristics(sdkp);
>                         sd_zbc_read_zones(sdkp, buffer);
> +                       sd_read_cpr(sdkp);
>                 }
> 
>                 sd_print_capacity(sdkp, old_capacity);
> @@ -3329,7 +3330,6 @@ static int sd_revalidate_disk(struct gendisk *disk)
>                 sd_read_app_tag_own(sdkp, buffer);
>                 sd_read_write_same(sdkp, buffer);
>                 sd_read_security(sdkp, buffer);
> -               sd_read_cpr(sdkp);
>         }
> 
>         /*

On Wednesday, 9 March 2022 08:35:57 CET Petra R.-P. wrote:
> I am very sorry, but I am a simple user, not a developer.
> It would need a lot of tuition to make me accomplish that,
> and I'm not sure I'd have enough time at the moment.

If you save the above patch to f.e. 'fix-bug1006149.patch' and then follow
https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s4.2.2 (after having followed 4.2.1 Preparation), then you should 
get a kernel package with that patch applied.
That's relatively easy ... if you're a developer.
While I can understand that it would still be too complicated for Petra, it 
should be doable for Axel (being a DD).
I could try to help further if needed.

HTH (a bit ;-))

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: