Bug#431829: qemu: ata_piix does not work with the PIIX IDE controller provided

2007-08-06 Thread Aurelien Jarno
On Thu, Jul 05, 2007 at 12:11:37PM +0200, Henrik Riomar wrote:
> 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.0 +0200
> +++ b/hw/ide.c  2007-06-04 21:45:28.0 +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
>

This patches causes more problem than it solves, and has even been
reverted from KVM. The bios has to be fixed instead.

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#431829: qemu: ata_piix does not work with the PIIX IDE controller provided

2007-07-05 Thread Henrik Riomar

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.0 +0200
+++ b/hw/ide.c  2007-06-04 21:45:28.0 +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-2BIOS 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-5Shared libraries for terminal
hand
ii  libsdl1.2debian 1.2.11-8 Simple DirectMedia Layer
ii  openhackware0.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.2Bootstrap a basic Debian system
ii  sharutils 1:4.2.1-15 shar, unshar, uuencode,
uudecode
pn  vde2   (no description available)

-- no debconf information