Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149310 - genkernel built initrd failes to create cdrom device for vmware/qemu in custom livecd
Summary: genkernel built initrd failes to create cdrom device for vmware/qemu in custo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL: http://gentoo-wiki.com/Talk:HOWTO_bui...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-27 08:05 UTC by Jens Pranaitis
Modified: 2006-10-02 08:36 UTC (History)
0 users

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


Attachments
my kernel config (config.1,66.74 KB, text/plain)
2006-09-28 04:58 UTC, Jens Pranaitis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Pranaitis 2006-09-27 08:05:51 UTC
genkernels mdev fails to create the cdrom devices for cdrom in qemu or vmware. This makes it difficult to test custom built livecds. Previews versions using udev don't compile properly with gcc-4.1 so they aren't a real alternative. It would be nice if genkernel could still support udev or somehow include support for qemu/vmware. This problem has also been noticed in the gentoo wiki.
Here's the output from genkernel:

* Gentoo Linux Genkernel; Version 3.4.1[0m
* Running with options: initrd
 
* Linux Kernel 2.6.17-gentoo-r8[0m for x86[0m...
* initramfs: >> Initializing...
*         >> Creating base_layout cpio archive...
*         >> Creating auxilary cpio archive...
*         >> Creating busybox cpio archive...
*         >> Creating insmod cpio archive...
*         >> Creating modules cpio archive...
* Merging
*     initramfs-base-layout.cpio.gz
*     initramfs-aux.cpio.gz
*     initramfs-busybox-1.1.3+gentoo.cpio.gz
*     initramfs-insmod-0.9.15-pre4.cpio.gz
*     initramfs-modules-2.6.17-gentoo-r8.cpio.gz
* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot properly...
* add "vga=791 splash=silent" if you use a bootsplash framebuffer
* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
* 
* Make sure you have the latest genkernel before reporting bugs.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-27 13:03:22 UTC
Uhh... It *definitely* works in VMware, as I use it almost daily when doing testing for releases.  Could you provide more information?  Perhaps it is your kernel configuration?
Comment 2 Jens Pranaitis 2006-09-28 04:58:42 UTC
Created attachment 98307 [details]
my kernel config

Here's my kernel config for gentoo-sources-2.6.17-r8, thanks for having a look at it :)
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-02 07:44:57 UTC
It looks to be your config.  You don't have any IDE chipsets compiled in, and genkernel doesn't load IDE via modules in the initramfs.

Try setting CONFIG_BLK_DEV_GENERIC=y and unset CONFIG_IDEDMA_ONLYDISK.  Though you really should select a non-generic driver, that should make it work.  What you need is 3 things to be =y, IDE support, IDE CDROM support, and chipset support.
Comment 4 Jens Pranaitis 2006-10-02 08:36:36 UTC
That worked, thanks for taking the time to look at my config :)