qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: J M Cerqueira Esteves <jmce@artenumerica.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] DSC timeout with a CD as ide1 slave / Lost interrupts without -no-acpi
Date: Sun, 20 Jan 2008 09:27:29 +0000	[thread overview]
Message-ID: <47931401.4040203@artenumerica.com> (raw)
In-Reply-To: <46d6db660608230102g4d24430y700683c8e3f7aedb@mail.gmail.com>

Returning to an old topic...

Christian MICHON wrote:
> On 8/19/06, J M Cerqueira Esteves <jmce@artenumerica.com> wrote:
>> So the "culprit" of the cdrom timeouts seems to be -hdd ...
>> but why?
> 
> I saw the same things few weeks ago. Since then, I do
> not use hdd anymore (my qemu host is winXP).

My previous issue on this was with QEMU 0.8.2 and kqemu 1.3.0pre9
(in fact the subject was misleading, since I really used
-hda .. -hdb .. -hdd .. -cdrom .. -boot d).

Now with QEMU 0.9.1 and kqemu 1.3.0pre11 (host: Debian Etch on a Pentium 
M 1400MHz) I got DSC timeout again when trying to use a cdrom as a slave 
of ide1 (CD image: Debian netinst CD for i386: 
debian-40r2-i386-netinst.iso), invoking qemu with

vdeq qemu \
     -kernel-kqemu -no-acpi \
     -m 256 \
     -net nic,vlan=0,model=rtl8139,macaddr=$MAC_ADDR_0 \
     -net vde,vlan=0,sock=/var/run/vde2/tap-vde-1.ctl \
     -drive file=/dev/sda,if=ide,index=2,media=disk \
     -drive 
file=/tmp/debian-40r2-i386-netinst.iso,if=ide,index=3,media=cdrom \
     -boot d

But if I put the cdrom device as a slave of ide0,
   file=...,if=ide,index=1,media=cdrom
I get no DSC timeouts.

By the way, in the few tests I made until now in this Pentium M host 
(mostly with Debian guest systems) I had to use -no-acpi since otherwise 
the boot process gets stuck or at least very slow and the guest reports
   hdc: lost interrupt
(or "hda:" or "hdb:" depending on what was the first existing IDE device
in the specific guest).   This happens also with a Debian virtual 
machine which was previously running in a P4 host with QEMU 0.8.2 and 
kqemu 1.3.0pre9 not requiring the -no-acpi option... I'll test a bit 
more, but apparently I also get *no* such 'lost interrupt' messages with 
32-bit guests in a 64-bit host (AMD Athlon 64 3500+, also with Debian 
Etch and QEMU 0.9.1).

Best regards
                     J Esteves

      reply	other threads:[~2008-01-20  9:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-19 12:25 [Qemu-devel] DSC timeouts using all of -hda -hdb -hdc -cdrom J M Cerqueira Esteves
2006-08-19 12:39 ` J M Cerqueira Esteves
2006-08-23  8:02   ` Christian MICHON
2008-01-20  9:27     ` J M Cerqueira Esteves [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47931401.4040203@artenumerica.com \
    --to=jmce@artenumerica.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).