Skip to contentSkip to conversation

fully virtualized vista

DISCUSSION Ky Srinivasan 4 participants 13 messages Aug 8, 2007

lore
Share & tools
lore
#0 lore raw

I am having networking issues on fully virtualized Vista. Is this a known issue.

K. Y

#1 lore raw
Quoted 1 line · Ky Srinivasan

I am having networking issues on fully virtualized Vista. Is this a known issue.

Yes, it's been happening for a long time, and it appears to be a problem with the Vista driver for the RealTek 8139(?) network adapter and the compatibility with the QEMU implementation of 8139. Someone reported that Win2K3 driver can be made working, but I've not tested this myself.

--
Mats

Quoted 8 lines

K. Y

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

On Wed, Aug 8, 2007 at 2:37 PM, in message

<[email protected]>, Mats Petersson

Quoted 10 lines · <[email protected]> wrote:
Quoted 2 lines · Ky Srinivasan

I am having networking issues on fully virtualized Vista. Is this a known issue.

Yes, it's been happening for a long time, and it appears to be a problem with the Vista driver for the RealTek 8139(?) network adapter and the compatibility with the QEMU implementation of 8139. Someone reported that Win2K3 driver can be made working, but I've not tested this myself.

Thanks,

K. Y

Quoted 13 lines

--
Mats

Quoted 8 lines

K. Y

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
In reply to Ky Srinivasan
Quoted 1 line · Ky Srinivasan

I am having networking issues on fully virtualized Vista. Is this a known issue.

What issues are you having? And what version of Xen? 32bit Vista's RX path didn't work at all with the emulated rtl8139 before about three weeks ago (cset 15596 of xen-unstable).

Tim.

Signature · 2 lines
Tim Deegan <[email protected]>, XenSource UK Limited
Registered office c/o EC2Y 5EB, UK; company number 05334508
#4 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line

On Wed, Aug 8, 2007 at 2:39 PM, in message

<[email protected]>, Tim Deegan

Quoted 7 lines · <[email protected]> wrote:
Quoted 1 line · Ky Srinivasan

I am having networking issues on fully virtualized Vista. Is this a known

issue.

What issues are you having? And what version of Xen? 32bit Vista's RX path didn't work at all with the emulated rtl8139 before about three weeks ago (cset 15596 of xen-unstable).

I was trying on a 3.04 based system with a lot of post 3.04 features backported. Tim, is the problem fixed on cset 15596. Would you know which cset fixed the problem?

Thanks,

K. Y

Quoted 2 lines

Tim.

#5 lore raw
Quoted 1 line · Ky Srinivasan

I was trying on a 3.04 based system with a lot of post 3.04 features backported. Tim, is the problem fixed on cset 15596. Would you know which cset fixed the problem?

Yes, 15596:d99903a98ad0 fixes the Vista issue. You should probably take 15595 as well, which fixes an issue for older Windows versions. They should backport easily to older qemu-dm versions.

Cheers,

Tim.

Signature · 2 lines
Tim Deegan <[email protected]>, XenSource UK Limited
Registered office c/o EC2Y 5EB, UK; company number 05334508
#6 lore raw

Thanks Tim.

K. Y

Quoted 1 line
Quoted 1 line
Quoted 1 line

On Wed, Aug 8, 2007 at 3:14 PM, in message

<[email protected]>, Tim Deegan

Quoted 12 lines · <[email protected]> wrote:
Quoted 1 line · Ky Srinivasan

I was trying on a 3.04 based system with a lot of post 3.04 features

backported. Tim, is the problem fixed on cset 15596. Would you know which cset fixed the problem?

Yes, 15596:d99903a98ad0 fixes the Vista issue. You should probably take 15595 as well, which fixes an issue for older Windows versions. They should backport easily to older qemu-dm versions.

Cheers,

Tim.

#7 lore raw
In reply to Ky Srinivasan

There is a CRC bug in the RTL8139 implementation in the QEMU used in 3.1 There have been discussions of this on the QEMU list, as well.

We have a patch for 3.1, but have not ported it forward to unstable yet, since unstable is using a newer version of QEMU.

If there is interest in seeing the 3.1 patch, I'd be happy to post it.

Quoted 11 lines · Ky Srinivasan

I am having networking issues on fully virtualized Vista. Is this a known issue.

K. Y

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#8 lore raw

Thanks Ben. I would be interested in the patch.

K. Y

Quoted 1 line
Quoted 1 line
Quoted 1 line

On Wed, Aug 8, 2007 at 2:42 PM, in message <[email protected]>,

Quoted 23 lines · Ben Guthro

There is a CRC bug in the RTL8139 implementation in the QEMU used in 3.1 There have been discussions of this on the QEMU list, as well.

We have a patch for 3.1, but have not ported it forward to unstable yet, since unstable is using a newer version of QEMU.

If there is interest in seeing the 3.1 patch, I'd be happy to post it.

Quoted 1 line · Ky Srinivasan

I am having networking issues on fully virtualized Vista. Is this a known

issue.

Quoted 10 lines

K. Y

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#9 lore raw

Patch is attached. Hope this helps

Quoted 37 lines · Ky Srinivasan

Thanks Ben. I would be interested in the patch.

K. Y

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Wed, Aug 8, 2007 at 2:42 PM, in message <[email protected]>,

Quoted 25 lines · Ben Guthro

There is a CRC bug in the RTL8139 implementation in the QEMU used in 3.1 There have been discussions of this on the QEMU list, as well.

We have a patch for 3.1, but have not ported it forward to unstable yet, since unstable is using a newer version of QEMU.

If there is interest in seeing the 3.1 patch, I'd be happy to post it.

Quoted 2 lines · Ky Srinivasan

I am having networking issues on fully virtualized Vista. Is this a known

issue.

Quoted 10 lines

K. Y

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

tools/ioemu/hw/rtl8139.c +3 -3
diff -r 05858d742ba7 tools/ioemu/hw/rtl8139.c
@@ -55,7 +55,7 @@
 
 /* RTL8139 provides frame CRC with received packet, this feature seems to be
    ignored by most drivers, disabled by default */
-//#define RTL8139_CALCULATE_RXCRC 1
+#define RTL8139_CALCULATE_RXCRC 1
 
 /* Uncomment to enable on-board timer interrupts */
 //#define RTL8139_ONBOARD_TIMER 1
@@ -1032,7 +1032,7 @@ static void rtl8139_do_receive(void *opa
 
         /* write checksum */
 #if defined (RTL8139_CALCULATE_RXCRC)
-        val = cpu_to_le32(crc32(~0, buf, size));
+        val = cpu_to_le32(crc32(0, buf, size));
 #else
         val = 0;
 #endif
@@ -1138,7 +1138,7 @@ static void rtl8139_do_receive(void *opa
 
         /* write checksum */
 #if defined (RTL8139_CALCULATE_RXCRC)
-        val = cpu_to_le32(crc32(~0, buf, size));
+        val = cpu_to_le32(crc32(0, buf, size));
 #else
         val = 0;
 #endif

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#10 lore raw
In reply to Ben Guthro

Thanks Ben. I would be interested in the patch.

K. Y

Quoted 1 line
Quoted 1 line
Quoted 1 line

On Wed, Aug 8, 2007 at 2:42 PM, in message <[email protected]>,

Quoted 23 lines · Ben Guthro

There is a CRC bug in the RTL8139 implementation in the QEMU used in 3.1 There have been discussions of this on the QEMU list, as well.

We have a patch for 3.1, but have not ported it forward to unstable yet, since unstable is using a newer version of QEMU.

If there is interest in seeing the 3.1 patch, I'd be happy to post it.

Quoted 1 line · Ky Srinivasan

I am having networking issues on fully virtualized Vista. Is this a known

issue.

Quoted 10 lines

K. Y

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#11 lore raw
In reply to Ben Guthro
Quoted 2 lines · Ben Guthro

There is a CRC bug in the RTL8139 implementation in the QEMU used in 3.1 There have been discussions of this on the QEMU list, as well.

Yes; I fixed it in unstable and sent the patch upstream to qemu-devel.

Quoted 2 lines

We have a patch for 3.1, but have not ported it forward to unstable yet, since unstable is using a newer version of QEMU.

If your patch covers more than the one in -unstable, I'd be very interested in seeing it.

Cheers,

Tim.

Signature · 2 lines
Tim Deegan <[email protected]>, XenSource UK Limited
Registered office c/o EC2Y 5EB, UK; company number 05334508
#12 lore raw

It looks like its the same patch as 15596.
We must have pulled the patch from the qemu list, without realizing it was in unstable.

Quoted 20 lines · Tim Deegan
Quoted 3 lines · Ben Guthro

There is a CRC bug in the RTL8139 implementation in the QEMU used in 3.1 There have been discussions of this on the QEMU list, as well.

Yes; I fixed it in unstable and sent the patch upstream to qemu-devel.

Quoted 2 lines

We have a patch for 3.1, but have not ported it forward to unstable yet, since unstable is using a newer version of QEMU.

If your patch covers more than the one in -unstable, I'd be very interested in seeing it.

Cheers,

Tim.