From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36554 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODRxH-0007Jv-0d for qemu-devel@nongnu.org; Sat, 15 May 2010 20:43:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODRxF-0003qi-AF for qemu-devel@nongnu.org; Sat, 15 May 2010 20:43:42 -0400 Received: from mail-vw0-f45.google.com ([209.85.212.45]:64447) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODRxF-0003qV-6w for qemu-devel@nongnu.org; Sat, 15 May 2010 20:43:41 -0400 Received: by vws1 with SMTP id 1so126604vws.4 for ; Sat, 15 May 2010 17:43:39 -0700 (PDT) Date: Sat, 15 May 2010 20:43:36 -0400 From: Kevin O'Connor Message-ID: <20100516004336.GA26658@morn.localdomain> References: <4BEAAADE.3010006@dlh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BEAAADE.3010006@dlh.net> Subject: [Qemu-devel] Re: Qemu-KVM with 3x IDE HDD + CDROM not working List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org On Wed, May 12, 2010 at 03:19:26PM +0200, Peter Lieven wrote: > Hi Qemu/KVM Devel Team, > > if I create a VM with more than 2 harddisks and a CDROM Image and > want to boot from CDROM this is not working. > From my understanding at least 3 IDE Drives + 1 IDE CDROM should work. > > cmdline: > /usr/bin/qemu-kvm-0.12.4 -net none -drive > file=/dev/sdb,if=ide,boot=on,cache=none,aio=native -drive > file=/dev/sdc,if=ide,boot=off,cache=none,aio=native -drive > file=/dev/sdd,if=ide,boot=off,cache=none,aio=native -m 256 -cpu > qemu64,model_id='Intel(R) Xeon(R) CPU E5430 @ 2.66GHz' > -monitor tcp:0:4001,server,nowait -vnc :1 -name 'ide-test' -boot > order=dc,menu=on -cdrom > /home/kvm/cdrom/root/KNOPPIX_V6.2.1CD-2010-01-31-DE.iso -k de > -pidfile /var/run/qemu/vm-153.pid -mem-path /hugepages > -mem-prealloc -rtc base=utc,clock=vm -no-kvm-irqchip -usb > -usbdevice tablet > > SEABIOS shows error: Could not read from CDROM (code 0001) Your third drive conflicts with the cdrom. Try adding ",index=3" to the definition of sdd. Qemu should probably handle this better, but the above works for me. -Kevin