John S Little
2006-Feb-07 11:48 UTC
[Xen-users] Re: No network connectivity for domU in SuSE 10, Xen
> On domainU I have the following: > linux:~ # brctl show > bridge name bridge id STP enabled interfaces > xenbr0 8000.feffffffffff no vif0.0 > peth0 > vif8.0 > > linux:~ # ifconfig > (loopback omitted) > eth1 Link encap:Ethernet HWaddr 00:40:D0:43:A3:DBDid you set xend.sxp to use eth1 instead of eth0? Regards, John> Mask:255.255.255.0 > inet6 addr: fe80::240:d0ff:fe43:a3db/64 Scope:Link > UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:6927 errors:0 dropped:0 overruns:0 frame:0 > TX packets:4867 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:2655951 (2.5 Mb) TX bytes:611617 (597.2 Kb) > Base address:0x3400 Memory:fc220000-fc240000 > > peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF > inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link > UP BROADCAST NOARP MULTICAST MTU:1500 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:1000 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > Base address:0x2000 Memory:fc100000-fc120000 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Kris Vassallo
2006-Feb-07 20:56 UTC
Re: [Xen-users] Re: No network connectivity for domU in SuSE 10, Xen
On Tue, 2006-02-07 at 06:48 -0500, John S Little wrote:> > On domainU I have the following: > > linux:~ # ifconfig > > (loopback omitted) > > eth1 Link encap:Ethernet HWaddr 00:40:D0:43:A3:DB > > Did you set xend.sxp to use eth1 instead of eth0?DOH! That was it! I didn''t see that option in ANY of the xen network connectivity documentation I''ve read. Thanks for the help! So now at least the static addressing works when I set the address in the ifcfg-eth0 file in domU. DHCP won''t grab an address - if there''s an easy fix for this then I''d like to know, but this box is going to get static addresses in the end. My biggest problem now is that SuSE isn''t bringing up the network device on domU boot and I''m wondering if this is because it''s not actually seeing the hardware at boot. On domU my ifcfg-eth0 reads: BOOTPROTO=''none'' IPADDR=192.168.1.39 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 STARTMODE=''onboot'' <-- Tried with ''auto'' as well USERCONTROL=no I don''t know if it matters but the file /etc/udev/rules.d/30-net_persistent_names.rules reads: SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="aa:00:00:00:39:01", IMPORT="/sbin/rename_netiface %k eth0" The network arguments in the config file for this xm on dom0 read: nics=1 vif = [ ''mac=aa:00:00:00:39:01, bridge=xenbr0'' ] I''ve tried specifying the full ip, gateway, netmask, etc in the xm config file as well as the ifcfg-eth0 file in domU and it seems to ignore whatever I set in the xm config file. Am I once again missing something? Thanks! -Kris> > Regards, > > John_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Koby Leung
2006-Feb-07 22:11 UTC
[Xen-users] Xen FC4 Dom0 stability under x86_64 architecture
Hey all, Just wanted to compare notes on my experiences with Xen. Every couple days the kernel is oopsing on me and I''m trying to figure out if it''s something to do with Xen, of if I set something up wrong. I''me using the FC4 x86_64 build, and installed Xen from the x86_64 binaries off the xensource site. Everything went well after doing the initrd and sorting out the drivers and stuff. (If anyone needs help getting it working, you can ask me.) I''m using 2 LVM COW disks based off a common inactive fc4 partition. One more LVM disk that''s completely standalone. I''ve installed several domU''s, and they all work fine. Every 48 hours or so, the kernel craps out and dies. The oops is just going to my console, so I''m having trouble catching it because I haven''t setup the serial console yet. So for all you folks running x86_64/xen out there - are you finding similar patterns? Or is there something wrong with my setup? Thanks! Koby ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Javier Guerra
2006-Feb-07 23:46 UTC
Re: [Xen-users] Xen FC4 Dom0 stability under x86_64 architecture
On Tuesday 07 February 2006 5:11 pm, Koby Leung wrote:> I''m using 2 LVM COW disks based off a common inactive fc4 partition. One > more LVM disk that''s completely standalone.i guess those COW disks are R/W snapshots. try to use independent LVs; lots of people tell nasty things about LVM snapshots. (yeah, you''d use far more disk space) (PD: please don''t use "reply" to create a new thread) -- Javier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Koby Leung
2006-Feb-08 00:46 UTC
Re: [Xen-users] Xen FC4 Dom0 stability under x86_64 architecture
Hi Lyle, I was stuck there for awhile too...but the solution was incredibly easy. Referencing the Xen user manual at http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes-2.0/user/user.html Section 5.3: "You should now see that you have a /dev/vg/myvmdisk1 Make a filesystem, mount it and populate it, e.g.: # mkfs -t ext3 /dev/vg/myvmdisk1 # mount /dev/vg/myvmdisk1 /mnt # cp -ax / /mnt # umount /mnt" 5.3 is talking about lvm''s, but I''m sure you can do it with any partition, as long as you wire it up properly afterwards. But yeah - all you need to do is a complete copy of an existing linux install into an empty partition. :p Since Xen handles the booting, it''s just a root partition with everything on it that''s needed. So as long as you get everything(/boot in particular if it''s another partition), you''ll be fine. I haven''t had any problems with shutdowns myself...I had problems getting networking working - had to disable acpi...but that was it. Hope that helps, and look forward to hearing that your system crashes every couple days. ;) Koby Quoting Xen <xen@cosmicnetworks.com>:> Hi Koby, > I''m in a similar situation, although I haven''t got quite that far yet. I > finally managed to get Xen0 running after copying some modules and setting > up initrd, but now I''m not sure how I can create some good images for the > XenU virtual accounts. I don''t want to keep downloading everything, if you > could give me some tips on how I could create an image using Fedora Cd''s > rather than downloading with yum then I''d very much appreciate it. > > Once I''m running I''ll be able to tell you if I''m getting an oops every > 48hrs. My machine is dual opteron, 4 sata raid 10, 4GB ram. > > By the way when I run shutdown it closes all programs, but when it gets to > "power down" it just hangs and I have to push the power switch manually. Do > you get this? > > > Lyle > > ------------------------------------------------------------ > Lyle Hopkins - CosmicPerl.com CGI Scripts - > Internet software solutions for the professional webmaster > Email: webmaster@cosmicperl.com > Web site: http://www.cosmicperl.com > Specializing in Affiliate Software solutions > ------------------------------------------------------------ > ----- Original Message ----- > From: "Koby Leung" <job@legenko.com> > To: <xen-users@lists.xensource.com> > Sent: Tuesday, February 07, 2006 10:11 PM > Subject: [Xen-users] Xen FC4 Dom0 stability under x86_64 architecture > > > > Hey all, > > > > Just wanted to compare notes on my experiences with Xen. Every couple > days the > > kernel is oopsing on me and I''m trying to figure out if it''s something to > do > > with Xen, of if I set something up wrong. > > > > I''me using the FC4 x86_64 build, and installed Xen from the x86_64 > binaries off > > the xensource site. Everything went well after doing the initrd and > sorting out > > the drivers and stuff. (If anyone needs help getting it working, you can > ask me.) > > > > I''m using 2 LVM COW disks based off a common inactive fc4 partition. One > more > > LVM disk that''s completely standalone. > > > > I''ve installed several domU''s, and they all work fine. > > > > Every 48 hours or so, the kernel craps out and dies. The oops is just > going to > > my console, so I''m having trouble catching it because I haven''t setup the > serial > > console yet. > > > > So for all you folks running x86_64/xen out there - are you finding > similar > > patterns? Or is there something wrong with my setup? > > > > Thanks! > > > > Koby > > > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > >------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Koby Leung
2006-Feb-08 18:30 UTC
Re: [Xen-users] (Updated) Xen FC4 Dom0 stability under x86_64 architecture
It''s starting to look like it''s Xen... Continuing my testing story - I wasn''t sure before that my issue didn''t have to do with faulty hardware, but last night I did more testing. I ran the memtest suite to test the RAM, no problems. Then I booted under a stock redhat kernel and setup a script to do continual compiling of the kernel to try to stress out the CPU. It''s been running without a hitch since for almost 12 hours now. :p I still haven''t isolated my xen kernel. I did recompile one of the fedora kernels to get DMA to work. So that might be the problem... However, I did note that my install is called xen-unstable. So...anyone know just how unstable it is? And anyone have any other suggestions for testing that would isolate other components? Koby Quoting Koby Leung <job@legenko.com>:> Hey all, > > Just wanted to compare notes on my experiences with Xen. Every couple days > the > kernel is oopsing on me and I''m trying to figure out if it''s something to do > with Xen, of if I set something up wrong. > > I''me using the FC4 x86_64 build, and installed Xen from the x86_64 binaries > off > the xensource site. Everything went well after doing the initrd and sorting > out > the drivers and stuff. (If anyone needs help getting it working, you can ask > me.) > > I''m using 2 LVM COW disks based off a common inactive fc4 partition. One > more > LVM disk that''s completely standalone. > > I''ve installed several domU''s, and they all work fine. > > Every 48 hours or so, the kernel craps out and dies. The oops is just going > to > my console, so I''m having trouble catching it because I haven''t setup the > serial > console yet. > > So for all you folks running x86_64/xen out there - are you finding similar > patterns? Or is there something wrong with my setup? > > Thanks! > > Koby > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users