Re: Loss of ed(4) in a RC1 booted in qemu

From: Thierry Herbelot <thierry_at_herbelot.com>
Date: Fri, 14 Oct 2005 08:59:40 +0200
Le Thursday 13 October 2005 23:14, M. Warner Losh a écrit :
>
> Looks like it is a combination of problems.  The PCI registers claim
> to be a 8029, but it doesn't emulate the 8029 specific registers.  I
> have a patch for this.  In addition, the ed driver has a mistake in
> its 8029 support.  I've fixed this as well and am testing the result.

Hello,

Here are the results : (with a kernel including your latest patches and an 
un-patched qemu)
$FreeBSD: src/sys/dev/ed/if_ed.c,v 1.265 2005/09/26 18:22:24 imp Exp $
$FreeBSD: src/sys/dev/ed/if_ed_novell.c,v 1.8 2005/09/07 03:20:33 imp Exp $
$FreeBSD: src/sys/dev/ed/if_ed_rtl80x9.c,v 1.2 2005/10/13 22:06:02 imp Exp $
$FreeBSD: src/sys/dev/ed/if_ed_pci.c,v 1.48 2005/10/13 22:12:34 imp Exp $
$FreeBSD: src/sys/dev/ed/if_ed_isa.c,v 1.25 2005/10/05 05:21:07 imp Exp $
$FreeBSD: src/sys/dev/ed/if_ed_wd80x3.c,v 1.5 2005/08/28 23:56:25 imp Exp $

% qemu -snapshot -serial stdio newm-wd1.img
OK unload
OK load /boot/kernel-current
/boot/kernel-current text=0x490bf0 data=0x82340+0x9ac6c 
syms=[0x4+0x690f0+0x4+0x7e65d]
OK boot -s -v
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
SMAP type=01 base=0000000000000000 len=000000000009fc00
SMAP type=01 base=0000000000100000 len=0000000007f00000
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 7.0-CURRENT #9: Fri Oct 14 08:36:40 CEST 2005
    XXX_at_YYY:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.

[SNIP device spam]

pci0: <display, VGA> at device 2.0 (no driver attached)
ed0: <RealTek 8029> port 0xc100-0xc1ff irq 11 at device 3.0 on pci0
ed0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xc100
ed0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xc100
ed0: [MPSAFE]
ed0: bpf attached
ed0: Ethernet address: 52:54:00:12:34:56
ed0: type NE2000 (16 bit)
ex_isa_identify()

Summary : The new ed(4) works as advertised with this new kernel inside a qemu

	Thanks

	TfH
Received on Fri Oct 14 2005 - 05:00:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:45 UTC