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

Re: Missing virtio/scsi modules for arm64?



On Fri, 2019-04-26 at 02:17 +0100, Steve McIntyre wrote:
> Hey folks,
> 
> I;m just trying to do a buster install of arm64 (using buster d-i RC1)
> in a qemu VM, and it's failing to find the virtio cdrom. Checking into
> this, it looks like we're missing some modules in the installer
> environment.
[...]
> commit 5b3bcf67a7d8ba7745612a449cede24afeb97015
> Author: Ben Hutchings <ben@decadent.org.uk>
> Date:   Tue Feb 12 21:18:40 2019 +0000
> 
>     build/pkg-lists: Make {hyperv,virtio}-modules packages optional
>     
>     I intend to remove these udebs in a later upload of linux, moving
>     the drivers into per-driver-class packages.
> 
> and I'm guessing these changes are related to what I'm seeing. Can you
> suggest what we should be doing to fix things up, please? I'm at a
> total loss to see where amd64 is gettting d-i modules from nowadays,
> and arm64 should be reasonably similar in terms of things like block
> device support modules here.

For amd64 CD-ROMs, the package list for CD-ROMs is split between
build/pkg-lists/cdrom/amd64.cfg and
build/pkg-lists/cdrom/isolinux/amd64.cfg.  The latter is where, for
example, ata-modules is listed.

In general, installer builds that include(d) virtio-modules, and aren't
meant for netboot, should include scsi-modules.  (scsi-{common,extra}-
modules are also mentioned in some lists, but they no longer exist.)

I think this patch will fix arm64:

--- a/build/pkg-lists/cdrom/arm64.cfg
+++ b/build/pkg-lists/cdrom/arm64.cfg
@@ -13,6 +13,8 @@ virtio-modules-${kernel:Version} ?
 usb-storage-modules-${kernel:Version}
 # USB and firewire cdroms both need this.
 scsi-core-modules-${kernel:Version}
+# Support for SCSI cdroms.
+scsi-modules-${kernel:Version}
 # Real ATA hardware needs this.
 sata-modules-${kernel:Version}
 
--- END ---

There are two other lists that look like they might be for netboot-ish
builds, but I'm not sure:

build/pkg-lists/generic/s390.cfg
build/pkg-lists/generic/s390x.cfg

Ben.

-- 
Ben Hutchings
It is impossible to make anything foolproof
because fools are so ingenious.

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


Reply to: