Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 651
    • Issues 651
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 182
    • Merge Requests 182
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #518

Closed
Open
Opened Jan 19, 2011 by algitbot@rootOwner
  • Report abuse
  • New issue
Report abuse New issue

virtio_blk.ko missing from initramfs in 2.1.4

After installation from 2.1.4 CD into a KVM guest with virtio devices system fails to come up from vda as kernel/drivers/block/virtio_blk.ko is missing from the stock initramfs. It is present on the storage so once added the initramfs it works as expected.

My work around is as follows after a setup-disk run

 # mkdir /tmp/a && mount -text3 /dev/vda3 /tmp/a && mount -text3 /dev/vda1 /tmp/a/boot && chroot /tmp/a

create a file /etc/mkinitfs/modules.d/virtio containing the following lines (the second may not be required, I’ve not tested that)

kernel/drivers/block/virtio*
kernel/drivers/virtio/*

Then run:

 # mkinitfs 
 # exit
 # reboot

System should now come up without further problem, with the net and other drivers being picked up from /lib/modules after bootstrap.

(from redmine: issue id 518, created on 2011-01-19, closed on 2011-03-08)

  • Changesets:
    • Revision 7feac413 on 2011-03-07T13:10:21Z:
main/mkinitfs: upgrade to 2.3.1

ref #518
  • Revision 3f325048 on 2011-03-07T13:17:10Z:
main/mkinitfs: make sure patches are applied and add virtio support

- fix / beeing world writeable when tmpfs
- include virtio driver support

fixes #518
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Alpine 2.1.5
Milestone
Alpine 2.1.5 (Past due)
Assign milestone
Time tracking
None
Due date
None
3
Labels
Normal category:kernel type:bug
Assign labels
  • View project labels
Reference: alpine/aports#518