hi .. I have trouble bringing up network in xen domU . i am using 2.6.22-15-xen kernel in ubuntu gutsy .. i did google search about this issue and found out that i am supposed to do ethtool -K eth0 tx off to fix it but gives the following error $ sudo ethtool -K eth0 tx off $ Cannot set device tx csum settings: Operation not permitted any one pls tell me what should me done _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
sorry it was not $ sudo ethtool -K eth0 tx off $ Cannot set device tx csum settings: Operation not permitted that error was because i didn''t use sudo but after using sudo it was $ sudo ethtool -K eth0 tx off $ Cannot set device tx csum settings: Operation not supported _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
What''s the output of ethtool -k eth0? From:bharathv6.project@gmail.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of bharath venkatesh Sent: Wednesday, August 27, 2008 1:49 PM To: xen-users@lists.xensource.com Subject: [Xen-users] Re: xen networking in ubuntu gutsy sorry it was not $ sudo ethtool -K eth0 tx off $ Cannot set device tx csum settings: Operation not permitted that error was because i didn''t use sudo but after using sudo it was $ sudo ethtool -K eth0 tx off $ Cannot set device tx csum settings: Operation not supported _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Aug 27, 2008 at 6:49 AM, bharath venkatesh <bharathv6.project@gmail.com> wrote:> sorry it was not > $ sudo ethtool -K eth0 tx off > $ Cannot set device tx csum settings: Operation not permitted > > that error was because i didn''t use sudo > but after using sudo it was > $ sudo ethtool -K eth0 tx off > $ Cannot set device tx csum settings: Operation not supportedmaybe eth0 is the bridge device? -- Javier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
bharath venkatesh
2008-Aug-27 14:31 UTC
Re: [Xen-users] Re: xen networking in ubuntu gutsy
the ouput of ethtool -k eth0: Offload parameters for eth0: Cannot get device rx csum settings: Operation not supported Cannot get device tx csum settings: Operation not supported Cannot get device scatter-gather settings: Operation not supported Cannot get device tcp segmentation offload settings: Operation not supported Cannot get device udp large send offload settings: Operation not supported rx-checksumming: off tx-checksumming: off scatter-gather: off tcp segmentation offload: off udp fragmentation offload: off generic segmentation offload: off what do u mean by may be eth0 is the bridge device ? if i type ifconfig i get : eth0 Link encap:Ethernet HWaddr 00:16:76:E4:D5:E7 inet addr:10.80.3.64 Bcast:10.80.3.255 Mask:255.255.255.0 inet6 addr: fe80::216:76ff:fee4:d5e7/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:13718 errors:0 dropped:0 overruns:0 frame:0 TX packets:8500 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7930702 (7.5 MB) TX bytes:1557548 (1.4 MB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) vif3.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:0 dropped:1 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:0 (0.0 b) TX bytes:70 (70.0 b) xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:48 errors:0 dropped:0 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:15744 (15.3 KB) TX bytes:210 (210.0 b) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
The network-manager package was making some issues. You may try removing it and configuring your network by hand using /etc/network/interfaces Emre On Wed, Aug 27, 2008 at 4:31 PM, bharath venkatesh < bharathv6.project@gmail.com> wrote:> the ouput of ethtool -k eth0: > Offload parameters for eth0: > Cannot get device rx csum settings: Operation not supported > Cannot get device tx csum settings: Operation not supported > Cannot get device scatter-gather settings: Operation not supported > Cannot get device tcp segmentation offload settings: Operation not > supported > Cannot get device udp large send offload settings: Operation not supported > rx-checksumming: off > tx-checksumming: off > scatter-gather: off > tcp segmentation offload: off > udp fragmentation offload: off > generic segmentation offload: off > > what do u mean by may be eth0 is the bridge device ? > if i type ifconfig i get : > eth0 Link encap:Ethernet HWaddr 00:16:76:E4:D5:E7 > inet addr:10.80.3.64 Bcast:10.80.3.255 Mask:255.255.255.0 > inet6 addr: fe80::216:76ff:fee4:d5e7/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:13718 errors:0 dropped:0 overruns:0 frame:0 > TX packets:8500 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:7930702 (7.5 MB) TX bytes:1557548 (1.4 MB) > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > > vif3.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF > inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link > UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1 errors:0 dropped:1 overruns:0 carrier:0 > collisions:0 txqueuelen:32 > RX bytes:0 (0.0 b) TX bytes:70 (70.0 b) > > xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF > inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link > UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 > RX packets:48 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:15744 (15.3 KB) TX bytes:210 (210.0 b) > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Emre _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
bharath venkatesh
2008-Aug-28 16:13 UTC
Re: [Xen-users] Re: xen networking in ubuntu gutsy
Hi Emre, i removed network package and tried .. but the same results .... can u be more descriptive what should be done .. i actually got network in domu working once .. i had placed "up ethtool -K eth0 tx off " in /etc/network/interface that time network used to not start while booting there would be a cross mark at the network manager applet at desktop .. but only after i change /etc/network/interface by simply adding a space in it ... automatically network manager is to start the network .. and then network started working in domu ... but after i updated the kernel for some reason ... and removed the previous kernel .. network manager started the network while booting only ... so i did "/etc/init.d/networking restart" with "up ethtool -K eth0 tx off " placed in /etc/network/interface it gave me operation not supported .... now i reinstalled the previous kernel but it is now showing the same result as the updated kernel can any one pls help in solving this issue as it is very important .. i have to set up several virtual machines at work .. n with out network it is all most useless _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I used to have such problems with the ethernet card that I had to use with 2.6.19 kernel (atl1 driver). However, in recent kernels the problem was resolved and the driver was running without any need for ethtool modifications. I also had trouble setting up the xen bridge due to network-manager package, thus I removed this package and configured network interfaces by hand myself. Also you need to make sure that the interface you are trying to run the ethtool command is a "real" interface, not the one that Xen bridge is created. Real interface might have been renamed to "peth0" after Xen bridge script runs. You can also check that. Emre On Thu, Aug 28, 2008 at 6:13 PM, bharath venkatesh < bharathv6.project@gmail.com> wrote:> Hi Emre, > i removed network package and tried .. but the same results .... can u be > more descriptive what should be done .. > > i actually got network in domu working once .. i had placed "up ethtool -K > eth0 tx off " in /etc/network/interface that time network used to not start > while booting there would be a cross mark at the network manager applet at > desktop .. but only after i change /etc/network/interface by simply adding > a space in it ... automatically network manager is to start the network .. > and then network started working in domu ... > > but after i updated the kernel for some reason ... and removed the > previous kernel .. network manager started the network while booting only > ... so i did > "/etc/init.d/networking restart" with "up ethtool -K eth0 tx off " placed > in /etc/network/interface it gave me operation not supported .... > now i reinstalled the previous kernel but it is now showing the same result > as the updated kernel > > can any one pls help in solving this issue as it is very important .. i > have to set up several virtual machines at work .. n with out network it is > all most useless > >-- Emre _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Well, my comment was for "atl1" driver only. Which is "Attansic L1 chipset". I don''t know if you had the same chip ethernet card. Note that all ubuntu kernels I tried with Xen had a lot of issues. Hardy''s 2.6.24 kernel is I guess better, but I kinda switched to KVM. Emre On Thu, Aug 28, 2008 at 6:18 PM, Emre Erenoglu <erenoglu@gmail.com> wrote:> Hi, > > I used to have such problems with the ethernet card that I had to use with > 2.6.19 kernel (atl1 driver). However, in recent kernels the problem was > resolved and the driver was running without any need for ethtool > modifications. > > I also had trouble setting up the xen bridge due to network-manager > package, thus I removed this package and configured network interfaces by > hand myself. > > Also you need to make sure that the interface you are trying to run the > ethtool command is a "real" interface, not the one that Xen bridge is > created. Real interface might have been renamed to "peth0" after Xen bridge > script runs. You can also check that. > > Emre > > > On Thu, Aug 28, 2008 at 6:13 PM, bharath venkatesh < > bharathv6.project@gmail.com> wrote: > >> Hi Emre, >> i removed network package and tried .. but the same results .... can u be >> more descriptive what should be done .. >> >> i actually got network in domu working once .. i had placed "up ethtool >> -K eth0 tx off " in /etc/network/interface that time network used to not >> start while booting there would be a cross mark at the network manager >> applet at desktop .. but only after i change /etc/network/interface by >> simply adding a space in it ... automatically network manager is to start >> the network .. and then network started working in domu ... >> >> but after i updated the kernel for some reason ... and removed the >> previous kernel .. network manager started the network while booting only >> ... so i did >> "/etc/init.d/networking restart" with "up ethtool -K eth0 tx off " placed >> in /etc/network/interface it gave me operation not supported .... >> now i reinstalled the previous kernel but it is now showing the same >> result as the updated kernel >> >> can any one pls help in solving this issue as it is very important .. i >> have to set up several virtual machines at work .. n with out network it is >> all most useless >> >> > > > -- > Emre >-- Emre _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
bharath venkatesh
2008-Sep-01 09:23 UTC
Re: [Xen-users] Re: xen networking in ubuntu gutsy
finally got networking working without using ethtool ... my network in dom0 was using dhcp for acquiring the ip address i made it static and the domU network to use dhcp ... rebooted and network started working as it should !!! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users