Hi everybody. I''ve got a strange problem with PV networking on Linux. My current configuration is : - Xen 4.0.0 - DOM0 kernel 2.6.31.13 - DOMU kernels either 2.6.31.13 or 2.6.36-rc3 (vanilla) one of my DomU''s is intended to act as a router/firewall for all the other ones. I have configured 2 distinct bridges in Dom0 : br0 - connects the firewall DomU "external" nic to the external faced host NIC (phisical) br1 - connects the "internal" virtual nic of firewall DomU (eth1) with the other DomU''s virtual nics. Each "guest" DomU has defined the firewall DomU''s "internal" address as default gateway, the firewall by now acts simply as a NAT gateway, with ip_forward active and a single NAT rule to SNAT outgoing packets with his own external IP. I''ve first installed the fw DomU as an hvm domain (nic''s = ioemu) with slackware 13.0 and tried the whole thing connecting from one of the other DomU''s to the external network and all worked smoothly. As soon as I''ve converted the fw DomU''s to a PV domain (using either 2.6.31.13 or 2.6.36-rc3 kernels with PV drivers) something changed in a weird way... I can still ping the firewall DomU both from "internal" domU''s network and from the external lan, but packets from a DomU can''t reach the external network anymore ! Running "tcpdump -nvvi" on both firewall''s NICs and pinging an external host from one of the other domU''s reveals that packets arrive on the firewall, are correctly NATted and appear on the external connected interface, but then simply disappear ! on Dom0 "tcpdump -nvvi br0" (br0 = external bridge) never shows up any traffic ! I''ve already tried to configure tx checksum offloading = off (ethtool -K <nic> tx off) on all the involved interfaces without any success. Please help... Many thanks in advance. Sauro Saltini. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi everybody. I''ve got a strange problem with PV networking on Linux. My current configuration is : - Xen 4.0.0 - DOM0 kernel 2.6.31.13 - DOMU kernels either 2.6.31.13 or 2.6.36-rc3 (vanilla) one of my DomU''s is intended to act as a router/firewall for all the other ones. I have configured 2 distinct bridges in Dom0 : br0 - connects the firewall DomU "external" nic to the external faced host NIC (phisical) br1 - connects the "internal" virtual nic of firewall DomU (eth1) with the other DomU''s virtual nics. Each "guest" DomU has defined the firewall DomU''s "internal" address as default gateway, the firewall by now acts simply as a NAT gateway, with ip_forward active and a single NAT rule to SNAT outgoing packets with his own external IP. I''ve first installed the fw DomU as an hvm domain (nic''s = ioemu) with slackware 13.0 and tried the whole thing connecting from one of the other DomU''s to the external network and all worked smoothly. As soon as I''ve converted the fw DomU''s to a PV domain (using either 2.6.31.13 or 2.6.36-rc3 kernels with PV drivers) something changed in a weird way... I can still ping the firewall DomU both from "internal" domU''s network and from the external lan, but packets from a DomU can''t reach the external network anymore ! Running "tcpdump -nvvi" on both firewall''s NICs and pinging an external host from one of the other domU''s reveals that packets arrive on the firewall, are correctly NATted and appear on the external connected interface, but then simply disappear ! on Dom0 "tcpdump -nvvi br0" (br0 = external bridge) never shows up any traffic ! I''ve already tried to configure tx checksum offloading = off (ethtool -K <nic> tx off) on all the involved interfaces without any success. Please help... Many thanks in advance. Sauro Saltini. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Sep 8, 2010 at 4:18 AM, Sauro Saltini <saltini@shc.it> wrote:> My current configuration is : > - Xen 4.0.0 > - DOM0 kernel 2.6.31.13 > - DOMU kernels either 2.6.31.13 or 2.6.36-rc3 (vanilla)> As soon as I''ve converted the fw DomU''s to a PV domain (using either > 2.6.31.13 or 2.6.36-rc3 kernels with PV drivers) something changed in a > weird way...Do you mean convert it to PV domain, or keep it as HVM but use PV drivers?> on Dom0 "tcpdump -nvvi br0" (br0 = external bridge) never shows up any > traffic !What does tcpdump on domU''s vif (by default it''s named vifx.y, where x and are numbers) within dom0 shows? Does both dom0 and your PV domU has ip forwarding (/proc/sys/net/ipv4/ip_forward) enabled? Do you still use ioemu line? What does your domU config look like?> Please help... > Many thanks in advance.You can try using xenified kernel on domU and see if it helps: patch from http://code.google.com/p/gentoo-xen-kernel/downloads/list + kernel 2.6.34.6 (or whatever 2.6.34.x that the patch can cleanly apply to). -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I had a similar problem and I got a kind response from Matej, but I was busy and coudn''t try what Matej suggested. I haven''t tried the latest xen 4/dom0 using a revision control tool, but I suspect that would be the next logical step. I''d appreciate if you shared your findings on this matter. I have attached my previous post. Regards, -- Mahdavian Sauro Saltini wrote:> Hi everybody. > > I''ve got a strange problem with PV networking on Linux. > > My current configuration is : > - Xen 4.0.0 > - DOM0 kernel 2.6.31.13 > - DOMU kernels either 2.6.31.13 or 2.6.36-rc3 (vanilla) > > one of my DomU''s is intended to act as a router/firewall for all the > other ones. > > I have configured 2 distinct bridges in Dom0 : > br0 - connects the firewall DomU "external" nic to the external faced > host NIC (phisical) > br1 - connects the "internal" virtual nic of firewall DomU (eth1) with > the other DomU''s virtual nics. > > Each "guest" DomU has defined the firewall DomU''s "internal" address > as default gateway, the firewall by now acts simply as a NAT gateway, > with ip_forward active and a single NAT rule to SNAT outgoing packets > with his own external IP. > > I''ve first installed the fw DomU as an hvm domain (nic''s = ioemu) with > slackware 13.0 and tried the whole thing connecting from one of the > other DomU''s to the external network and all worked smoothly. > > As soon as I''ve converted the fw DomU''s to a PV domain (using either > 2.6.31.13 or 2.6.36-rc3 kernels with PV drivers) something changed in > a weird way... > > I can still ping the firewall DomU both from "internal" domU''s network > and from the external lan, but packets from a DomU can''t reach the > external network anymore ! > > Running "tcpdump -nvvi" on both firewall''s NICs and pinging an > external host from one of the other domU''s reveals that packets arrive > on the firewall, are correctly NATted and appear on the external > connected interface, but then simply disappear ! > > on Dom0 "tcpdump -nvvi br0" (br0 = external bridge) never shows up any > traffic ! > > I''ve already tried to configure tx checksum offloading = off (ethtool > -K <nic> tx off) on all the involved interfaces without any success. > > Please help... > Many thanks in advance. > > Sauro Saltini. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >------------------------------------------------- This message sent via VFEmail.net http://www.vfemail.net $14.95 Lifetime accounts - 1GB disk, No bandwidth quotas! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 08/09/2010 10:42, Fajar A. Nugraha wrote:> On Wed, Sep 8, 2010 at 4:18 AM, Sauro Saltini<saltini@shc.it> wrote: > >> My current configuration is : >> - Xen 4.0.0 >> - DOM0 kernel 2.6.31.13 >> - DOMU kernels either 2.6.31.13 or 2.6.36-rc3 (vanilla) >> > >> As soon as I''ve converted the fw DomU''s to a PV domain (using either >> 2.6.31.13 or 2.6.36-rc3 kernels with PV drivers) something changed in a >> weird way... >> > Do you mean convert it to PV domain, or keep it as HVM but use PV drivers? >I''ve converted it to a PV domain (builder=linux)> >> on Dom0 "tcpdump -nvvi br0" (br0 = external bridge) never shows up any >> traffic ! >> > What does tcpdump on domU''s vif (by default it''s named vifx.y, where x > and are numbers) within dom0 shows? > Does both dom0 and your PV domU has ip forwarding > (/proc/sys/net/ipv4/ip_forward) enabled? > Do you still use ioemu line? What does your domU config look like? > >tcpdump on domU''s vif shows no traffic, except some arp requests coming from the firewall domU asking for the external pinged address. Both dom0 and domU has ip_forward activated I have type=paravirtual for both firewall domU''s nics in domU''s config my config is quite simple: kernel=''/boot/vmlinuz-r410-2.6.31.13'' builder=''linux'' memory=512 name=''fw'' vcpus=1 vif=[ ''type=paravirtual, bridge=br0, mac=00:16:3e:00:00:02'', ''type=paravirtual, bridge=br1, mac=00:16:3e:00:00:20'' ] disk=[ ''drbd:fw,hda,w'' ] on_poweroff=''destroy'' on_reboot=''restart'' on_crash=''restart'' boot=''c'' root=''/dev/xvda3 ro'' sdl=0 vnc=0 The chosen kernel is the same xenified kernel built from sources and used for dom0>> Please help... >> Many thanks in advance. >> >It seems that the packet flow interrupts in some way inside xen''s PV netfront/netback drivers (i.e. between vethx.y and vifx.y) but ONLY for packets coming from another domU and forwarded. As I said i can regularly ping both domU''s network and external lan from the fw domU, only the packets coming from the other domU''s disappear ! Just for clarity, having : testing (pinger) domU : 10.0.0.102 /24 (gw 10.0.0.101) fw domU "internal" nic -eth0- (domU''s gateway): 10.0.0.101 /24 fw domU "external" nic -eth1- (bridged to LAN): 192.168.99.88 /24 pinged lan host : 192.168.99.202 /24 On fw domU: echo "1" > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE Pinging 192.168.99.202 from FW works, and tcpdump -nvvi on dom0 (both listening on vifx.y or bridge) gives: ... 14:09:40.553104 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84) 192.168.99.88 > 192.168.99.202: ICMP echo request, id 24837, seq 1, length 64 14:09:40.553223 IP (tos 0x0, ttl 64, id 21099, offset 0, flags [none], proto ICMP (1), length 84) 192.168.99.202 > 192.168.99.88: ICMP echo reply, id 24837, seq 1, length 64 ... Pinging 192.168.99.202 from testing domU (10.0.0.102) doesn''t work, and tcpdump -nvvi on dom0 (both listening on vifx.y or bridge) gives (every 5 to 10 seconds): .... 14:17:29.922210 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.99.202 tell 192.168.99.88, length 28 14:17:29.922304 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.99.202 is-at 00:09:6b:89:d0:8a, length 46 .... but no icmp traffic at all !> You can try using xenified kernel on domU and see if it helps: patch > from http://code.google.com/p/gentoo-xen-kernel/downloads/list + > kernel 2.6.34.6 (or whatever 2.6.34.x that the patch can cleanly apply > to). > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I''ve realized just now my first post was sent two times to the list, please ignore this thread and respond only to the other one.... Sorry for the incovenience. Sauro. On 08/09/2010 13:23, S.M.R. Mahdavian wrote:> I had a similar problem and I got a kind response from Matej, but I > was busy and coudn''t try what Matej suggested. I haven''t tried the > latest xen 4/dom0 using a revision control tool, but I suspect that > would be the next logical step. I''d appreciate if you shared your > findings on this matter. I have attached my previous post. > Regards, > -- Mahdavian > > > Sauro Saltini wrote: >> Hi everybody. >> >> I''ve got a strange problem with PV networking on Linux. >> >> My current configuration is : >> - Xen 4.0.0 >> - DOM0 kernel 2.6.31.13 >> - DOMU kernels either 2.6.31.13 or 2.6.36-rc3 (vanilla) >> >> one of my DomU''s is intended to act as a router/firewall for all the >> other ones. >> >> I have configured 2 distinct bridges in Dom0 : >> br0 - connects the firewall DomU "external" nic to the external faced >> host NIC (phisical) >> br1 - connects the "internal" virtual nic of firewall DomU (eth1) >> with the other DomU''s virtual nics. >> >> Each "guest" DomU has defined the firewall DomU''s "internal" address >> as default gateway, the firewall by now acts simply as a NAT gateway, >> with ip_forward active and a single NAT rule to SNAT outgoing packets >> with his own external IP. >> >> I''ve first installed the fw DomU as an hvm domain (nic''s = ioemu) >> with slackware 13.0 and tried the whole thing connecting from one of >> the other DomU''s to the external network and all worked smoothly. >> >> As soon as I''ve converted the fw DomU''s to a PV domain (using either >> 2.6.31.13 or 2.6.36-rc3 kernels with PV drivers) something changed in >> a weird way... >> >> I can still ping the firewall DomU both from "internal" domU''s >> network and from the external lan, but packets from a DomU can''t >> reach the external network anymore ! >> >> Running "tcpdump -nvvi" on both firewall''s NICs and pinging an >> external host from one of the other domU''s reveals that packets >> arrive on the firewall, are correctly NATted and appear on the >> external connected interface, but then simply disappear ! >> >> on Dom0 "tcpdump -nvvi br0" (br0 = external bridge) never shows up >> any traffic ! >> >> I''ve already tried to configure tx checksum offloading = off (ethtool >> -K <nic> tx off) on all the involved interfaces without any success. >> >> Please help... >> Many thanks in advance. >> >> Sauro Saltini. >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > > > ------------------------------------------------- > This message sent via VFEmail.net > http://www.vfemail.net > $14.95 Lifetime accounts - 1GB disk, No bandwidth quotas! >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Some news about the problem... after receiving some indirect Matej suggestions from Mahdavian, I''ve looked into the checksum problem mentioned here: http://wiki.xensource.com/xenwiki/XenFaq#head-4ce9767df34fe1c9cf4f85f7e07cb10110eae9b7 This time I''ve tried to connect to an http service on a phisical lan host (telnet 192.168.99.202 80) from the testing DomU (10.0.0.102) here are the results of tcpdump -nvv on the various elements of the lan connected bridge in Dom0 during the connection tests (192.168.99.88 is the fw ''external'' IP correctly set by SNAT rule) : ON vif1.1 - DomU side of bridge : tcpdump -nvvi vif1.1 tcpdump: WARNING: vif1.1: no IPv4 address assigned tcpdump: listening on vif1.1, link-type EN10MB (Ethernet), capture size 96 bytes 17:31:07.423789 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.99.202 tell 192.168.99.88, length 28 17:31:07.423889 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.99.202 is-at 00:09:6b:89:d0:8a, length 46 17:31:07.423911 IP (tos 0x10, ttl 63, id 3345, offset 0, flags [DF], proto TCP (6), length 60) 192.168.99.88.56168 > 192.168.99.202.80: Flags [S], cksum 0x8d22 (correct), seq 244003632, win 5840, options [mss 1460,sackOK,TS val 474657 ecr 0,nop,wscale 5], length 0 .... here the cksum field is correct ON br1 - the bridge itself: tcpdump -nvvi br1 tcpdump: listening on br1, link-type EN10MB (Ethernet), capture size 96 bytes 17:38:13.454259 IP (tos 0x10, ttl 63, id 40899, offset 0, flags [DF], proto TCP (6), length 60) 192.168.99.88.54824 > 192.168.99.202.80: Flags [S], cksum 0x5545 (correct), seq 2632204777, win 5840, options [mss 1460,sackOK,TS val 581162 ecr 0,nop,wscale 5], length 0 again the cksum field is correct ON peth0 - the phisical NIC : tcpdump -nvvi peth0 port not 22 tcpdump: WARNING: peth0: no IPv4 address assigned tcpdump: listening on peth0, link-type EN10MB (Ethernet), capture size 96 bytes 17:40:48.397392 IP (tos 0x10, ttl 63, id 59382, offset 0, flags [DF], proto TCP (6), length 60) 192.168.99.88.44172 > 192.168.99.202.80: Flags [S], cksum 0x48a2 (incorrect -> 0x05a8), seq 774410895, win 5840, options [mss 1460,sackOK,TS val 619897 ecr 0,nop,wscale 5], length 0 Here the cksum field is INCORRECT thus the packet is probably refused ! I''ve tried to switch off all forms of offloading from peth0 and also from eth0 and eth1 in fw DomU (ethtool -K peth0 tx off rx off sg off tso off ufo off gso off) but the result is the same ! I''m also still confused about the reason why icmp packets (pings) don''t even show up on vif1.1 while tcp connection tries do... any ideas ? What next ? Do I need to try a completely new xenified kernel ? Many thanks in advance to all... Sauro. On 08/09/2010 14:25, Sauro Saltini wrote:> > On 08/09/2010 10:42, Fajar A. Nugraha wrote: >> On Wed, Sep 8, 2010 at 4:18 AM, Sauro Saltini<saltini@shc.it> wrote: >>> My current configuration is : >>> - Xen 4.0.0 >>> - DOM0 kernel 2.6.31.13 >>> - DOMU kernels either 2.6.31.13 or 2.6.36-rc3 (vanilla) >>> As soon as I''ve converted the fw DomU''s to a PV domain (using either >>> 2.6.31.13 or 2.6.36-rc3 kernels with PV drivers) something changed in a >>> weird way... >> Do you mean convert it to PV domain, or keep it as HVM but use PV >> drivers? > I''ve converted it to a PV domain (builder=linux) >>> on Dom0 "tcpdump -nvvi br0" (br0 = external bridge) never shows up any >>> traffic ! >> What does tcpdump on domU''s vif (by default it''s named vifx.y, where x >> and are numbers) within dom0 shows? >> Does both dom0 and your PV domU has ip forwarding >> (/proc/sys/net/ipv4/ip_forward) enabled? >> Do you still use ioemu line? What does your domU config look like? >> > tcpdump on domU''s vif shows no traffic, except some arp requests > coming from the firewall domU asking for the external pinged address. > Both dom0 and domU has ip_forward activated > I have type=paravirtual for both firewall domU''s nics in domU''s config > > my config is quite simple: > > kernel=''/boot/vmlinuz-r410-2.6.31.13'' > builder=''linux'' > memory=512 > name=''fw'' > vcpus=1 > vif=[ ''type=paravirtual, bridge=br0, mac=00:16:3e:00:00:02'', > ''type=paravirtual, bridge=br1, mac=00:16:3e:00:00:20'' ] > disk=[ ''drbd:fw,hda,w'' ] > on_poweroff=''destroy'' > on_reboot=''restart'' > on_crash=''restart'' > boot=''c'' > root=''/dev/xvda3 ro'' > sdl=0 > vnc=0 > > The chosen kernel is the same xenified kernel built from sources and > used for dom0 > > >>> Please help... >>> Many thanks in advance. > > It seems that the packet flow interrupts in some way inside xen''s PV > netfront/netback drivers (i.e. between vethx.y and vifx.y) but ONLY > for packets coming from another domU and forwarded. > > As I said i can regularly ping both domU''s network and external lan > from the fw domU, only the packets coming from the other domU''s > disappear ! > > Just for clarity, having : > testing (pinger) domU : 10.0.0.102 /24 (gw 10.0.0.101) > fw domU "internal" nic -eth0- (domU''s gateway): 10.0.0.101 /24 > fw domU "external" nic -eth1- (bridged to LAN): 192.168.99.88 /24 > pinged lan host : 192.168.99.202 /24 > > On fw domU: > echo "1" > /proc/sys/net/ipv4/ip_forward > iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE > > Pinging 192.168.99.202 from FW works, and tcpdump -nvvi on dom0 (both > listening on vifx.y or bridge) gives: > ... > 14:09:40.553104 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto > ICMP (1), length 84) > 192.168.99.88 > 192.168.99.202: ICMP echo request, id 24837, seq > 1, length 64 > 14:09:40.553223 IP (tos 0x0, ttl 64, id 21099, offset 0, flags [none], > proto ICMP (1), length 84) > 192.168.99.202 > 192.168.99.88: ICMP echo reply, id 24837, seq 1, > length 64 > ... > > Pinging 192.168.99.202 from testing domU (10.0.0.102) doesn''t work, > and tcpdump -nvvi on dom0 (both listening on vifx.y or bridge) gives > (every 5 to 10 seconds): > .... > 14:17:29.922210 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has > 192.168.99.202 tell 192.168.99.88, length 28 > 14:17:29.922304 ARP, Ethernet (len 6), IPv4 (len 4), Reply > 192.168.99.202 is-at 00:09:6b:89:d0:8a, length 46 > .... > > but no icmp traffic at all ! > > >> You can try using xenified kernel on domU and see if it helps: patch >> from http://code.google.com/p/gentoo-xen-kernel/downloads/list + >> kernel 2.6.34.6 (or whatever 2.6.34.x that the patch can cleanly apply >> to). >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Sep 8, 2010 at 7:25 PM, Sauro Saltini <saltini@shc.it> wrote:> vif=[ ''type=paravirtual, bridge=br0, mac=00:16:3e:00:00:02'', > ''type=paravirtual, bridge=br1, mac=00:16:3e:00:00:20'' ]you don''t need "type=paravirtual", just remove it. Where did you find "type=paravirtual" anyway? I''ve never seen it on any of the examples.> boot=''c''you don''t need this as well. It''s not used on PV domU.> sdl=0 > vnc=0I''m pretty sure you don''t need those two lines, since PV domUs use "vfb=..."> Pinging 192.168.99.202 from testing domU (10.0.0.102) doesn''t work, and > tcpdump -nvvi on dom0 (both listening on vifx.y or bridge) gives (every 5 to > 10 seconds): > .... > 14:17:29.922210 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has > 192.168.99.202 tell 192.168.99.88, length 28 > 14:17:29.922304 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.99.202 > is-at 00:09:6b:89:d0:8a, length 46 > .... > > but no icmp traffic at all !At this point I''d start with using known-good setup first, since it can save a lot of time. Try using 2.6.34 + the patch I mentioned earlier for both dom0 and PV domU. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, some news about my problem: 1) I''ve removed the wrong options from my config as suggested, without any result. 2) Then I''ve decided to try with the new xen 4.0.1 tarball... downloaded, and recompiled everything 3) at this point I''ve had a lot of problems to boot 2.32.21-dom0 (compiled directly from tarball, without changing any kernel option), xen started but hanged with unhandled page fault as soon as kernel booting begun. 4) I''ve downloaded the example config file suggested on xen.org from : http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.21-pvops-dom0-xen-stable-x86_64 5) built the new kernel with this config, and finally booted into dom0 6) rebuilt the same kernel disabling the debug options under Kernel Hacking and still can boot Dom0. Now I''ve a functional 4.0.1 system with 2.4.32.21 dom0. The good news are that the networking problem has gone ... now I can reach the external LAN from a DomU via the "firewall" PV DomU. Looking at the sources of netback.ko (the supposed guilty part) I''ve found in fact many changes (quite a rewrite). Now I''m facing a completely different problem... with migration (even save / restore) of PV guests. While I can save / restore / migrate HVM domUs without any problems, the same operations on PV guests (using the same 2.6.32.21 dom0 kernel with front drivers added) very often (but not alwas) result in an crashed domU after resuming. Sometimes I can see a kernel panic connecting to the resumed domU console, but most of the times simply the console is stuck (can connect and disconnect from console but no output). The only thing I can do when this happens is xm destroy the domU. The whole point of my intended setup is HA, so migrating domU''s is a fundamental part ! My questions are : 1) how can I debug this problem ? 2) said that the suggested config for 2.4.32.21 kernel from pasik.reactio.net "contains some debug options" and cannot be used in production due to performance reasons, it''s correct to turn off the kernel debugging options under "kernel hacking" or there are some other options to set for production use. 3) where can I find a working "production" config for 2.4.32.21 ? 4) Is xen-4.0.1 / 2.4.32.21 really suitable for production use ? Or I''d be better using 3.4.1 with 2.6.18 ? Many thanks in advance to all. Sauro. SHC snc via Cadore 26, 20135 Milano, Italia Tel: +39 02 54123888 Mobile: +39 335 1364759 Fax: +39 02 54011111 Email:saltini@shc.it On 08/09/2010 22:44, Fajar A. Nugraha wrote:> On Wed, Sep 8, 2010 at 7:25 PM, Sauro Saltini<saltini@shc.it> wrote: > >> vif=[ ''type=paravirtual, bridge=br0, mac=00:16:3e:00:00:02'', >> ''type=paravirtual, bridge=br1, mac=00:16:3e:00:00:20'' ] >> > you don''t need "type=paravirtual", just remove it. Where did you find > "type=paravirtual" anyway? I''ve never seen it on any of the examples. > > >> boot=''c'' >> > you don''t need this as well. It''s not used on PV domU. > > >> sdl=0 >> vnc=0 >> > I''m pretty sure you don''t need those two lines, since PV domUs use "vfb=..." > > >> Pinging 192.168.99.202 from testing domU (10.0.0.102) doesn''t work, and >> tcpdump -nvvi on dom0 (both listening on vifx.y or bridge) gives (every 5 to >> 10 seconds): >> .... >> 14:17:29.922210 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has >> 192.168.99.202 tell 192.168.99.88, length 28 >> 14:17:29.922304 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.99.202 >> is-at 00:09:6b:89:d0:8a, length 46 >> .... >> >> but no icmp traffic at all ! >> > At this point I''d start with using known-good setup first, since it > can save a lot of time. Try using 2.6.34 + the patch I mentioned > earlier for both dom0 and PV domU. > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users