Package: qemu
Version: 0.9.0-2
Severity: normal
Tags: patch

The ata_piix driver does not work with QEMU, for more info see this
http://www.mail-archive.com/[EMAIL PROTECTED]/msg10716.html

I have tried the provided patch (from the link above) and it allows
the ata_piix driver to be used in QEMU.

--- a/hw/ide.c  2007-06-04 19:34:25.000000000 +0200
+++ b/hw/ide.c  2007-06-04 21:45:28.000000000 +0200
@@ -2586,6 +2586,8 @@ static void piix3_reset(PCIIDEState *d)
    pci_conf[0x06] = 0x80; /* FBC */
    pci_conf[0x07] = 0x02; // PCI_status_devsel_medium
    pci_conf[0x20] = 0x01; /* BMIBA: 20-23h */
+    pci_conf[0x41] = 0x80; // enable port 0
+    pci_conf[0x43] = 0x80; // enable port 1
}

Note: I am using Qemu 0.9.0-2 built from source on Etch

-- System Information:
Debian Release: 4.0
 APT prefers stable
 APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages qemu depends on:
ii  bochsbios                   2.3-2        BIOS for the Bochs emulator
ii  libasound2                  1.0.13-2     ALSA library
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libncurses5                 5.5-5        Shared libraries for terminal
hand
ii  libsdl1.2debian             1.2.11-8     Simple DirectMedia Layer
ii  openhackware                0.4.1-2      OpenFirmware emulator for
PowerPC
ii  proll                       18-2         JavaStation PROM 2.x compatible
re
ii  vgabios                     0.6a-1       VGA BIOS software for the Bochs
an
ii  zlib1g                      1:1.2.3-13   compression library - runtime

Versions of packages qemu recommends:
ii  debootstrap                   0.3.3.2    Bootstrap a basic Debian system
ii  sharutils                     1:4.2.1-15 shar, unshar, uuencode,
uudecode
pn  vde2                          <none>     (no description available)

-- no debconf information

Reply via email to