public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Vista/rtl8139 broken?
@ 2007-08-18 23:31 Alistair John Strachan
       [not found] ` <59abf66e0708181637k11dc0261hf632372641cbe3f2@mail.gmail.com>
       [not found] ` <200708190031.14264.alistair-T7eSMZptz7IqdlJmJB21zg@public.gmane.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Alistair John Strachan @ 2007-08-18 23:31 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

I've been using ne2k with BSD/Linux/WindowsXP just fine with 
KVM-35/2.6.23-rc2, but when I try to run Vista, which doesn't support the 
ne2k any more, I tried switching to the rtl8139 emulation.

I observed that the rtl8139 emulation works fine in WindowsXP, so it's not 
broken. But it does not seem to work in Vista (x86). The host is AMD64/SVM. 
The way that it doesn't work is that no packets are sent/received over the 
interface, so the device does not route.

The only difference between XP and Vista's KVM startup is that for Vista I 
enable ACPI (necessary to install).

WindowsXP -->
kvm -no-reboot -localtime -no-acpi -m 256 -hda $IMAGE \
    -net nic,model=rtl8139 -net tap,script=/etc/kvm/kvm-ifup $*

Vista -->
kvm -no-reboot -localtime -m 512 -hda $IMAGE \
    -net nic,model=rtl8139 -net tap,script=/etc/kvm/kvm-ifup $*

The problem seems to be similar to a QEMU endian bug from some time ago, but I 
don't think that's the problem here. It looks like it's some sort of 
incompatibility between Vista and the rtl8139 emulation.

Any ideas? Does ACPI have anything to do with it?

-- 
Cheers,
Alistair.

137/1 Warrender Park Road, Edinburgh, UK.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Vista/rtl8139 broken?
       [not found]   ` <59abf66e0708181637k11dc0261hf632372641cbe3f2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-08-18 23:38     ` Jorge Lucángeli Obes
  0 siblings, 0 replies; 3+ messages in thread
From: Jorge Lucángeli Obes @ 2007-08-18 23:38 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On 8/18/07, Alistair John Strachan <alistair-T7eSMZptz7IqdlJmJB21zg@public.gmane.org> wrote:
> Hi,
>
> I've been using ne2k with BSD/Linux/WindowsXP just fine with
> KVM-35/2.6.23-rc2, but when I try to run Vista, which doesn't support the
> ne2k any more, I tried switching to the rtl8139 emulation.
>
> I observed that the rtl8139 emulation works fine in WindowsXP, so it's not
> broken. But it does not seem to work in Vista (x86). The host is AMD64/SVM.
> The way that it doesn't work is that no packets are sent/received over the
> interface, so the device does not route.
>
> The only difference between XP and Vista's KVM startup is that for Vista I
> enable ACPI (necessary to install).
>
> WindowsXP -->
> kvm -no-reboot -localtime -no-acpi -m 256 -hda $IMAGE \
>     -net nic,model=rtl8139 -net tap,script=/etc/kvm/kvm-ifup $*
>
> Vista -->
> kvm -no-reboot -localtime -m 512 -hda $IMAGE \
>     -net nic,model=rtl8139 -net tap,script=/etc/kvm/kvm-ifup $*
>
> The problem seems to be similar to a QEMU endian bug from some time ago, but I
> don't think that's the problem here. It looks like it's some sort of
> incompatibility between Vista and the rtl8139 emulation.
>
> Any ideas? Does ACPI have anything to do with it?

http://kvm.qumranet.com/kvmwiki/Vista_Networking_Workaround

Basically, the rtl8139 emulation and the driver shipped with Vista
don't get along very well. The workaround suggests using ne2k_pci and
the Windows 2000 driver. There's a link to download the driver in the
wiki page, if it doesn't work you can try:

http://cablemodem.fibertel.com.ar/tamsyn/drivercd.iso

I've personally used that driver successfully.

Cheers,
Jorge

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Vista/rtl8139 broken?
       [not found] ` <200708190031.14264.alistair-T7eSMZptz7IqdlJmJB21zg@public.gmane.org>
@ 2007-08-18 23:47   ` Daniel P. Berrange
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel P. Berrange @ 2007-08-18 23:47 UTC (permalink / raw)
  To: Alistair John Strachan; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Sun, Aug 19, 2007 at 12:31:14AM +0100, Alistair John Strachan wrote:
> Hi,
> 
> I've been using ne2k with BSD/Linux/WindowsXP just fine with 
> KVM-35/2.6.23-rc2, but when I try to run Vista, which doesn't support the 
> ne2k any more, I tried switching to the rtl8139 emulation.
> 
> I observed that the rtl8139 emulation works fine in WindowsXP, so it's not 
> broken. But it does not seem to work in Vista (x86). The host is AMD64/SVM. 
> The way that it doesn't work is that no packets are sent/received over the 
> interface, so the device does not route.
> 
> The only difference between XP and Vista's KVM startup is that for Vista I 
> enable ACPI (necessary to install).
> 
> WindowsXP -->
> kvm -no-reboot -localtime -no-acpi -m 256 -hda $IMAGE \
>     -net nic,model=rtl8139 -net tap,script=/etc/kvm/kvm-ifup $*
> 
> Vista -->
> kvm -no-reboot -localtime -m 512 -hda $IMAGE \
>     -net nic,model=rtl8139 -net tap,script=/etc/kvm/kvm-ifup $*
> 
> The problem seems to be similar to a QEMU endian bug from some time ago, but I 
> don't think that's the problem here. It looks like it's some sort of 
> incompatibility between Vista and the rtl8139 emulation.

The rtl8139 driver was fixed in upstream QEMU a week or two back - it was
calculating checksums incorrectly which Vista didn't like.  The patch needs
to be applied to KVM too...

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-18 23:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-18 23:31 Vista/rtl8139 broken? Alistair John Strachan
     [not found] ` <59abf66e0708181637k11dc0261hf632372641cbe3f2@mail.gmail.com>
     [not found]   ` <59abf66e0708181637k11dc0261hf632372641cbe3f2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-18 23:38     ` Jorge Lucángeli Obes
     [not found] ` <200708190031.14264.alistair-T7eSMZptz7IqdlJmJB21zg@public.gmane.org>
2007-08-18 23:47   ` Daniel P. Berrange

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox