QEMU CD/DVD Drive Causing Problems
-
- New to forums
- Posts: 7
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Tue Jul 12, 2011 9:53 am
QEMU CD/DVD Drive Causing Problems
I'm trying to custom compile the 2.6.39.3 of the Linux Kernel from kernel.org and I've gotten it to partially boot. The only problem is, it fails to find the module for the QEMU CD/DVD Drive. I used the .config of the currently working stock kernel and it took a little longer than usual but I was wondering if you could point me in the direction of either finding this module or removing the CD drives from the VPS. We don't use them anyways.
Re: QEMU CD/DVD Drive Causing Problems
The emulated DVD should work with the standard ATAPI IDE CDROM driver, I believe. In the kernel menus, this is located under "Device Drivers" -> "ATA/ATAPI/MFM/RLL support" -> "Include IDE/ATAPI CDROM support" (make sure that "generic ATA/ATAPI disk support" is also checked).
If that doesn't work, you might try the latest version of 3.0. I had some other problems with 2.9.39 and Xen, myself.
If that doesn't work, you might try the latest version of 3.0. I had some other problems with 2.9.39 and Xen, myself.
Re: QEMU CD/DVD Drive Causing Problems
It is. Both are being compiled as modules as including them into the kernel directly isn't an option for menuconfig. I'll spend the next hour compiling 3.0
.

Re: QEMU CD/DVD Drive Causing Problems
You should definitely compile them into the kernel. You can do this by hitting the space bar an extra time after you hit it once and it goes to "M"
. Make sure that all of them are set to "*", starting with the "ATA/ATAPI/MFM/RLL support" option.

Re: QEMU CD/DVD Drive Causing Problems
I know, I said it wasn't an option as I could hit the space bar for 30 minutes on that option and it would still say "M" (I've been trying to compile this kernel for about 6 hours now, all the previous tries have failed). We'll try this 3.0 though, although, it shouldn't matter if they're in the kernel or not because after the initrd is done loading, the kernel has access to it's modules, regardless (I'm pretty sure).
Re: QEMU CD/DVD Drive Causing Problems
Alright, I'm back after an hour of compiling 3.0.0-rc7 and it's still failing.
Here is the error I'm getting via VNC from the kernel

I can post my .config file if necessary.
Here is the error I'm getting via VNC from the kernel

I can post my .config file if necessary.
Re: QEMU CD/DVD Drive Causing Problems
It will let you compile it in (I tested to make sure, before my last post). Just make sure that you start at the root, "ATA/ATAPI/MFM/RLL support" , and select for that to be compiled in first. Then each other option must also be compiled in.
It doesn't really seem as though it's an emulated disk problem, though, from that error.
Have you tried disabling Xen-related options in the kernel? It can be tricky to get those right, so it might be best to just turn all of them off for now.
It doesn't really seem as though it's an emulated disk problem, though, from that error.
Have you tried disabling Xen-related options in the kernel? It can be tricky to get those right, so it might be best to just turn all of them off for now.
Re: QEMU CD/DVD Drive Causing Problems
Alright, after some deeper looking, you're right. Another hour of compilation and I'll be back with reports.
EDIT: After looking at Xen, I've disabled all Xen Driver Options in the Drivers portion of the kernel configuration.
EDIT: After looking at Xen, I've disabled all Xen Driver Options in the Drivers portion of the kernel configuration.
Re: QEMU CD/DVD Drive Causing Problems
I recompiled and it is currently working as expected. To anyone who has the issues referenced in this topic, the solution is to disable ALL Xen drivers via the General Settings root. Also, you need to compile the referenced CD/DVD kernel modules into the kernel. Thank you very much.