From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 13 18:28:47 2005 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E159616A420; Thu, 13 Oct 2005 18:28:47 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 968E143D6A; Thu, 13 Oct 2005 18:28:40 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id j9DIa6oW098131; Thu, 13 Oct 2005 14:36:06 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Thu, 13 Oct 2005 14:28:18 -0400 User-Agent: KMail/1.6.2 References: <200510131331.27906.thierry@herbelot.com> <200510131621.07299.thierry@herbelot.com> <200510131210.55135.jkim@FreeBSD.org> In-Reply-To: <200510131210.55135.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_FdqTDbJyKm4r4NS" Message-Id: <200510131428.21211.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV devel-20050919/1131/Wed Oct 12 16:35:32 2005 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Joshua Coombs , Juergen Lock , thierry@herbelot.com, freebsd-emulation@FreeBSD.org, Bakul Shah , Warner Losh Subject: Re: Loss of ed(4) in a RC1 booted in qemu X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2005 18:28:48 -0000 --Boundary-00=_FdqTDbJyKm4r4NS Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 13 October 2005 12:10 pm, Jung-uk Kim wrote: > QEMU emulates RTL8029: > > ed0: port 0xc100-0xc1ff irq 11 at device 3.0 on pci0 > ed0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xc100 > > and Warner Losh MFC'd new ed(4) right before 6.0-RC1: > > http://docs.freebsd.org/cgi/mid.cgi?200510081800.j98I0fRI089493 > > The new driver does more aggressive probing and it seems QEMU > cannot handle it. Just for the time being, you can drop the attachment in ports/emulators/qemu/files directory and rebuild qemu to get ed(4) back. Jung-uk Kim --Boundary-00=_FdqTDbJyKm4r4NS Content-Type: text/plain; charset="utf-8"; name="patch-hw::ne2000.c" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-hw::ne2000.c" --- qemu/hw/ne2000.c.orig Thu Apr 28 15:45:10 2005 +++ qemu/hw/ne2000.c Thu Oct 13 12:40:27 2005 @@ -676,10 +676,10 @@ -1, NULL, NULL); pci_conf = d->dev.config; - pci_conf[0x00] = 0xec; // Realtek 8029 - pci_conf[0x01] = 0x10; - pci_conf[0x02] = 0x29; - pci_conf[0x03] = 0x80; + pci_conf[0x00] = 0x06; // VIA VT86C926 + pci_conf[0x01] = 0x11; + pci_conf[0x02] = 0x26; + pci_conf[0x03] = 0x09; pci_conf[0x0a] = 0x00; // ethernet network controller pci_conf[0x0b] = 0x02; pci_conf[0x0e] = 0x00; // header_type --Boundary-00=_FdqTDbJyKm4r4NS--