On Sat 28 Jan 2023 at 17:25:37 (-0000), Curt wrote: > On 2023-01-28, David Wright <deb...@lionunicorn.co.uk> wrote: > >> > >> Anyone here know how I can determine what to add? > > > > One might suppose you need: > > > > ahci 40960 5 > > libahci 45056 1 ahci > > libata 299008 2 libahci,ahci > > scsi_mod 270336 4 sd_mod,libata,sg,sr_mod > > > > and I hope the initrd doesn't mushroom excessively. > > I can't figure out why he'd need anything other than the ahci module for > his boot troubles (isn't libahci a user-space library)?
Don't ask me. I just guessed ahci from the output of lsmod, and checked the following lines for modules in the last column. I guess, more formally, one could: $ /sbin/modinfo ahci | grep -i -e ahci -e depends filename: /lib/modules/5.10.0-21-amd64/kernel/drivers/ata/ahci.ko description: AHCI SATA low-level driver depends: libahci,libata name: ahci parm: marvell_enable:Marvell SATA via AHCI (1 = enabled) (int) $ /sbin/modinfo libahci | grep -i -e libahci -e depends filename: /lib/modules/5.10.0-21-amd64/kernel/drivers/ata/libahci.ko depends: libata name: libahci $ /sbin/modinfo libata | grep -i -e libata -e depends filename: /lib/modules/5.10.0-21-amd64/kernel/drivers/ata/libata.ko depends: scsi_mod name: libata $ /sbin/modinfo scsi_mod | grep -i -e scsi_mod -e depends filename: /lib/modules/5.10.0-21-amd64/kernel/drivers/scsi/scsi_mod.ko depends: name: scsi_mod $ As for user-space, I don't see anything: $ apt-file find libahci linux-image-5.10.0-18-amd64: /lib/modules/5.10.0-18-amd64/kernel/drivers/ata/libahci.ko linux-image-5.10.0-18-amd64-dbg: /usr/lib/debug/lib/modules/5.10.0-18-amd64/kernel/drivers/ata/libahci.ko linux-image-5.10.0-18-amd64-unsigned: /lib/modules/5.10.0-18-amd64/kernel/drivers/ata/libahci.ko linux-image-5.10.0-18-rt-amd64: /lib/modules/5.10.0-18-rt-amd64/kernel/drivers/ata/libahci.ko linux-image-5.10.0-18-rt-amd64-dbg: /usr/lib/debug/lib/modules/5.10.0-18-rt-amd64/kernel/drivers/ata/libahci.ko linux-image-5.10.0-18-rt-amd64-unsigned: /lib/modules/5.10.0-18-rt-amd64/kernel/drivers/ata/libahci.ko linux-image-5.10.0-20-amd64: /lib/modules/5.10.0-20-amd64/kernel/drivers/ata/libahci.ko linux-image-5.10.0-20-amd64-dbg: /usr/lib/debug/lib/modules/5.10.0-20-amd64/kernel/drivers/ata/libahci.ko linux-image-5.10.0-20-amd64-unsigned: /lib/modules/5.10.0-20-amd64/kernel/drivers/ata/libahci.ko linux-image-5.10.0-20-rt-amd64: /lib/modules/5.10.0-20-rt-amd64/kernel/drivers/ata/libahci.ko linux-image-5.10.0-20-rt-amd64-dbg: /usr/lib/debug/lib/modules/5.10.0-20-rt-amd64/kernel/drivers/ata/libahci.ko linux-image-5.10.0-20-rt-amd64-unsigned: /lib/modules/5.10.0-20-rt-amd64/kernel/drivers/ata/libahci.ko $ Cheers, David.