Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592462 - minimal install image: cannot detect install cdrom on virtio
Summary: minimal install image: cannot detect install cdrom on virtio
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-30 18:11 UTC by Raymond Jennings
Modified: 2017-02-06 22:05 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
screenshot of qemu (oops.png,20.70 KB, image/png)
2016-08-30 18:28 UTC, Raymond Jennings
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Jennings 2016-08-30 18:11:04 UTC
I just tried to install gentoo in a qemu vm, and it couldn't find the cdrom.

The cdrom image is connected to qemu via virtio

Appears to be a duplicate or regression of bug 264042.  I'd reopen that bug but it appears only devs can change it.
Comment 1 Raymond Jennings 2016-08-30 18:16:28 UTC
Switching it from virtio to ide in qemu fixed it.
Comment 2 Ben Kohler gentoo-dev 2016-08-30 18:19:00 UTC
If you put the cdrom on a non-virtio controller, and boot it, is it able to see hard disks you put on virtio? Wondering if this is just a "cdrom on virtio" issue
Comment 3 Raymond Jennings 2016-08-30 18:24:35 UTC
Failure point:

qemu starting: ok
getting install cd's boot menu: ok
booting guest kernel: ok
processing guest initramfs: ok
finding the cdrom device: fail

(In reply to Ben Kohler from comment #2)
> If you put the cdrom on a non-virtio controller, and boot it, is it able to
> see hard disks you put on virtio? Wondering if this is just a "cdrom on
> virtio" issue

yes, the virtio hard disk shows up in the guest as /dev/vda
Comment 4 Raymond Jennings 2016-08-30 18:28:26 UTC
Created attachment 444476 [details]
screenshot of qemu
Comment 5 Mike Gilbert gentoo-dev 2016-09-03 18:23:15 UTC
Probably a problem with the genkernel initramfs.
Comment 6 Raymond Jennings 2016-11-24 20:37:54 UTC
Just tried to use qemu to install again, this time it appears that the virtio networking card isn't detected.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-11-24 22:19:54 UTC
Can you please be specific about what ISO you used?
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-11-24 22:20:27 UTC
Also what qemu command-line you're using (or libvirt XML).
Comment 9 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2016-11-24 22:31:05 UTC
I've installed a "few" gentoo systems on ganeti / libvirt over the last years using virtio disk and net and don't recall any issues.
Comment 10 Raymond Jennings 2016-11-24 23:31:24 UTC
On closer inspection of the command line generated by aqemu...it appears to be a bug in aqemu.
Comment 12 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2017-02-06 22:05:09 UTC
OK, so this isn't a bug in the install-cds.