The -current's /isolinux/initrd.img contains virtio modules that can not be loaded by huge.s kernel.
The huge kernel config is:
Code:
$ wget -qO- http://slackware.osuosl.org/slackware64-current/kernels/huge.s/config | grep _VIRTIO
CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO_VSOCKETS_COMMON=m
CONFIG_NET_9P_VIRTIO=y
CONFIG_VIRTIO_BLK=y
CONFIG_SCSI_VIRTIO=y
CONFIG_VIRTIO_NET=y
CONFIG_VIRTIO_CONSOLE=y
CONFIG_HW_RANDOM_VIRTIO=y
CONFIG_DRM_VIRTIO_GPU=m
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_BALLOON=y
CONFIG_VIRTIO_INPUT=m
CONFIG_VIRTIO_MMIO=y
# CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES is not set
The /isolinux/initrd.img contains these virtio modules:
Code:
$ wget http://slackware.osuosl.org/slackware64-current/isolinux/initrd.img
$ zcat initrd.img | cpio --quiet -it | grep /virtio.*\.ko
lib/modules/4.9.27/kernel/drivers/gpu/drm/virtio/virtio-gpu.ko.gz
lib/modules/4.9.27/kernel/drivers/virtio/virtio_input.ko.gz
lib/modules/4.9.27/kernel/drivers/virtio/virtio_ring.ko.gz
lib/modules/4.9.27/kernel/drivers/virtio/virtio_balloon.ko.gz
lib/modules/4.9.27/kernel/drivers/virtio/virtio_mmio.ko.gz
lib/modules/4.9.27/kernel/drivers/virtio/virtio_pci.ko.gz
lib/modules/4.9.27/kernel/drivers/virtio/virtio.ko.gz
lib/modules/4.9.27/kernel/drivers/net/virtio_net.ko.gz
lib/modules/4.9.27/kernel/drivers/block/virtio_blk.ko.gz
Most of them are built into the huge kernel (=y).
When try to load them:
Code:
# for m in \
virtio-gpu virtio_input virtio_ring virtio_balloon \
virtio_mmio virtio_pci virtio virtio_net virtio_blk
do modprobe $m ; done
modprobe: ERROR: could not insert 'virtio_gpu': Exec format error
modprobe: ERROR: could not insert 'virtio_input': Exec format error
modprobe: ERROR: could not insert 'virtio_ring': Exec format error
modprobe: ERROR: could not insert 'virtio_balloon': Exec format error
modprobe: ERROR: could not insert 'virtio_mmio': Exec format error
modprobe: ERROR: could not insert 'virtio_pci': Exec format error
modprobe: ERROR: could not insert 'virtio': Exec format error
modprobe: ERROR: could not insert 'virtio_net': Exec format error
modprobe: ERROR: could not insert 'virtio_blk': Exec format error
# dmesg | tail -n9
virtio: exports duplicate symbol register_virtio_device (owned by kernel)
virtio: exports duplicate symbol register_virtio_device (owned by kernel)
virtio_ring: exports duplicate symbol virtio_break_device (owned by kernel)
virtio: exports duplicate symbol register_virtio_device (owned by kernel)
virtio: exports duplicate symbol register_virtio_device (owned by kernel)
virtio: exports duplicate symbol register_virtio_device (owned by kernel)
virtio: exports duplicate symbol register_virtio_device (owned by kernel)
virtio: exports duplicate symbol register_virtio_device (owned by kernel)
virtio: exports duplicate symbol register_virtio_device (owned by kernel)
All as expected...
So there is no value to have them in /isolinux/initrd.img.