Bug#1006149: linux-image-5.16.0-1-686: Fails to boot on T41 Thinkpads
> As you appear to be familiar with kernel building, could you look at the
> patches that Damien Le Moal posted in this bug report?
Done ... same behaviour : as before the only way to restart the
machine is by pressing the power button ; Ctl+Alt+Del and Alt+SysReq+b
do not work.
> AFAICT, we're still at the stage of identifying the problem, so I don't expect
> anything in the stable-queue until we're past that stage.
This Is the diff between the ata_pii driver in 5.15 and 5.16 :
--- linux-5.15/drivers/ata/ata_piix.c 2021-10-31 21:53:10.000000000 +0100
+++ linux-5.16/drivers/ata/ata_piix.c 2022-01-09 23:55:34.000000000 +0100
@@ -1085,14 +1085,16 @@
.set_dmamode = ich_set_dmamode,
};
-static struct device_attribute *piix_sidpr_shost_attrs[] = {
- &dev_attr_link_power_management_policy,
+static struct attribute *piix_sidpr_shost_attrs[] = {
+ &dev_attr_link_power_management_policy.attr,
NULL
};
+ATTRIBUTE_GROUPS(piix_sidpr_shost);
+
static struct scsi_host_template piix_sidpr_sht = {
ATA_BMDMA_SHT(DRV_NAME),
- .shost_attrs = piix_sidpr_shost_attrs,
+ .shost_groups = piix_sidpr_shost_groups,
};
static struct ata_port_operations piix_sidpr_sata_ops = {
Reply to: