On Thu, Oct 13, 2005 at 05:26:55PM -0600, M. Warner Losh wrote: > In message: <20051013200254.GA11267_at_saturn.kn-bremen.de> > Juergen Lock <nox_at_jelal.kn-bremen.de> writes: > : On Thu, Oct 13, 2005 at 02:28:18PM -0400, Jung-uk Kim wrote: > : > On Thursday 13 October 2005 12:10 pm, Jung-uk Kim wrote: > : > > QEMU emulates RTL8029: > : > > > : > > 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 > : > > > : > > 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 > : > : >[patch snipped] > : > : Okay, we could add this as an option to our qemu port (`-ne2kvia' or > : something like that), anyone thinks it is necessary? (I guess this > : issue will be fixed in 6.0-R?) > > I've committed patches to -current to fix this problem. The fixes > correct a minor botch in the probing code, while also adding tolerance > for the RTL8029 that's claimed to be there to not really be there. > I've posted patches to qemu that improves that RTL8029 emulation, but > those aren't required for FreeBSD to work. RC1 won't work with qemu, > patched or unpatched, due to the minor botch. RC2 and newer will have > this problem fixed. The qemu folks can include and improve upon my > patches as they see fit in the future. > > The problem with just switching to the VIA VT86C926 is that it isn't > exactly like a NE-2000. [...] Okay, how about adding this to qemu's pkg-message then: Index: pkg-message =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/pkg-message,v retrieving revision 1.9 diff -u -r1.9 pkg-message --- pkg-message 10 Sep 2005 17:04:41 -0000 1.9 +++ pkg-message 14 Oct 2005 18:49:55 -0000 _at__at_ -25,5 +25,12 _at__at_ (see kern/84102, http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/84102), using a kernel without PREEMPTION has been reported to fix this problem. (or do an ftp install instead of installing from the emulated cdrom, and -then make a new kernel.) +then make a new kernel.) [now fixed in cvs.] +- 6.0-RC1 was released with an ed driver that doesn't like qemu's emulated +RTL8029 nic, this has been fixed in the meantime but if for some reason +you need to use that version as a guest you can temporarily add the patch +in this message: http://docs.freebsd.org/cgi/mid.cgi?200510131428.21211.jkim +(not included in the port since the used VIA VT86C926 PCI ID does not +really match the emulated nic exactly, it just `happens' to work with +6.0-RC1's driver.) ====Received on Fri Oct 14 2005 - 16:58:41 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:45 UTC