WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Help: "Error: int argument required" on Debian Etch?

On Do, Dez 13, 2007 at 05:03:01 -0600, Peter Curran wrote:
> 
> 
> On Thu, 13 Dec 2007 18:54:02 +0200
> Igor Chubin <igor@xxxxxxx> wrote:
> > On Do, Dez 13, 2007 at 09:43:47 -0600, Peter Curran wrote:
> > > Please see below for the content of my "/etc/network/interfaces"
> > > 
> > > On Tue, 11 Dec 2007 21:23:52 +0200
> > > Igor Chubin <igor@xxxxxxx> wrote:
> > > > On Mo, Dez 10, 2007 at 04:27:09 -0600, Peter Curran wrote:
> > > > > Hi Igor et All,
> > > > > 
> > > > > Thanks sofar for your help; all worked. I'm now trying to setup
> > multiple
> > > > IPs
> > > > > with each Domain to a unique IP. All IPs and their options were 
> > > > > entered
> > in
> > > > > "/etc/network/interfaces". I used this script
> > > > > (http:www.debian-adminitration.org/articles/470) in my multi nic
> > > > configuration.
> > > > > But I'm getting these errors upon running "xm create -c g1":
> > > > > 
> > > > > ..../etc/networkinteraces:5: misplaces option
> > > > > ifup: couldn't read interfaces file "/etc/network/interfaces"
> > > > > 
> > > > 
> > > > Please, show your /etc/network/interfaces file
> > > 
> > > 
> > > My "/etc/network/interfaces":
> > 
> > 
> > Is this your domain U /etc/network/interfaces file? (not domain 0)
> 
> eth0 is for domain-0, eth1 is for domain-1, eth2 is for domain-2, etc
> 


Oh no, that is wrong way.
You should not setup eth interfaces of U domains
in the domain 0.

There are must be settings only for domain 0 itself.

And settings for the interfaces of U domains
must be in respective domains.


Let us setup just one domU for the start.

Please, show the /etc/network/interfaces file 
of the domain U.






> 
> 
> 
> > 
> > > 
> > > # The primary network interface
> > > allow-hotplug eth0
> > > iface eth0 inet static
> > >         address xx.xxx.xxx.3
> > >         netmask 255.255.255.240
> > >         network xx.xxx.xxx.0
> > >         broadcast xx.xxx.xxx.15
> > >         gateway xx.xxx.xxx.1
> > >         # dns-* options are implemented by the resolvconf package, if
> > installed
> > >         dns-nameservers xx.xxx.xxx.2 xx.xxx.xxx.4
> > >         dns-search mydomain.com
> > > 
> > > allow-hotplug eth1
> > > iface eth1 inet static
> > >         address xx.xxx.xxx.5
> > >         netmask 255.255.255.240
> > >         network xx.xxx.xxx.0
> > >         broadcast xx.xxx.xxx.15
> > >         gateway xx.xxx.xxx.1
> > >         # dns-* options are implemented by the resolvconf package, if
> > installed
> > >         dns-nameservers xx.xxx.xxx.2 xx.xxx.xxx.4
> > >         dns-search mydomain.com
> > >         
> > > allow-hotplug eth2
> > > iface eth2 inet static
> > >         address xx.xxx.xxx.6
> > >         netmask 255.255.255.240
> > >         network xx.xxx.xxx.0
> > >         broadcast xx.xxx.xxx.15
> > >         gateway xx.xxx.xxx.1
> > >         # dns-* options are implemented by the resolvconf package, if
> > installed
> > >         dns-nameservers xx.xxx.xxx.2 xx.xxx.xxx.4
> > >         dns-search mydomain.com
> > > 
> > > 
> > > 
> > > 
> > > > 
> > > > 
> > > > > 
> > > > > 
> > > > > There after I get this error when starting  the domain (xm console 
> > > > > g2):
> > > > > 
> > > > > netfront: device eth1 has flipping receive path.
> > > > > netfront: device eth1 has flipping receive path
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > Could you please give some lights on setting up multiple nic with each
> > > > domain
> > > > > having a unique ip?
> > > > > thanks again for your attention, peter
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > On Fri, 7 Dec 2007 23:44:43 +0200
> > > > > Igor Chubin <igor@xxxxxxx> wrote:
> > > > > > On Fr, Dez 07, 2007 at 01:53:43 -0600, Peter Curran wrote:
> > > > > > > Hi Igor et All,
> > > > > > > Thanks. Please stay with me a bit; I'm new in this enviroment.
> > After
> > > > > > correctiong
> > > > > > > the disk setup in g2.conf:
> > > > > > >    disk = ['phy:/dev/cciss/c0d0p5,hda1,w']
> > > > > > >    root = "/dev/hda1 ro"
> > > > > > > 
> > > > > > > which eliminated the error ("Error: int argument required" on
> > Debian
> > > > > > Etch?), the
> > > > > > > processing continued until at this point/error:
> > > > > > > "
> > > > > > > Registering block device major 8
> > > > > > > No filesystem could mount root, tried: cramfs
> > > > > > > kernel panic - not syncing: VFS: Unable to mount root fs on
> > > > > > unknow-block(8,1)
> > > > > > > "
> > > > > > > 
> > > > > > > Could you give some light on this also?
> > > > > > 
> > > > > > When booting the domain, try to load not only a kernel,
> > > > > > but an initrd also.
> > > > > > 
> > > > > > You can do this specifying  'ramdisk' paramater in the domain config
> > > > file.
> > > > > > 
> > > > > > For example:
> > > > > > 
> > > > > > kernel = "/boot/vmlinuz-2.6.18-4-xen-686"
> > > > > > ramdisk = "/boot/initrd.img-2.6.18-4-xen-686"
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > > There are many posts about this problem on the internet but I
> > couldn't
> > > > fine
> > > > > > any
> > > > > > > clear answer.
> > > > > > > thank you for you attention
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > On Fri, 7 Dec 2007 10:28:46 +0200
> > > > > > > Igor Chubin <igor@xxxxxxx> wrote:
> > > > > > > > On Do, Dez 06, 2007 at 04:42:26 -0600, Peter Curran wrote:
> > > > > > > > > Thanks Igor,
> > > > > > > > > Below is the config file:
> > > > > > > > > 
> > > > > > > > > #
> > > > > > > > > kernel = "/boot/vmlinuz-2.6.18-4-xen-686"
> > > > > > > > > memory = 500
> > > > > > > > > name = "g2"
> > > > > > > > > hostname = "g2.gwhopper.com"
> > > > > > > > > ip = "xx.xxx.xxx.x"
> > > > > > > > > netmask = "255.255.255.240"
> > > > > > > > > gateway = "xx.xxx.xxx.1"
> > > > > > > > > disk = ['phy:/dev/cciss/c0d0p5,c0d0p5,w']
> > > > > > > > > root = "/dev/cciss/c0d0p5 ro"
> > > > > > > > > extra = "4"
> > > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > I think, that the disk parameter specified incorrectly.
> > > > > > > > Try to write:
> > > > > > > > 
> > > > > > > > disk = ['phy:/dev/cciss/c0d0p5,hda1,w']
> > > > > > > > root = "/dev/hda1 ro"
> > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > Thank you.
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > On Thu, 6 Dec 2007 21:32:02 +0200
> > > > > > > > > Igor Chubin <igor@xxxxxxx> wrote:
> > > > > > > > > > On Do, Dez 06, 2007 at 11:56:54 -0600, Peter Curran wrote:
> > > > > > > > > > > Hi,
> > > > > > > > > > > I ran "xm create -c host2 vmid=2"   and got this error on 
> > > > > > > > > > > a
> > > > Debian
> > > > > > Etch
> > > > > > > > > > System:
> > > > > > > > > > > 
> > > > > > > > > > > "Error: int argument required"
> > > > > > > > > > 
> > > > > > > > > > Please, show the config file host2.
> > > > > > > > > > 
> > > > > > > > > > It's likely that there is a mistake in that file.
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > The vm didn't get created. Could someone help to solve 
> > > > > > > > > > > this
> > > > > > problem?
> > > > > > > > > > > thank you
> > > > > > > > > > > 
> > > > > > > > > > > --------------------------------
> > > > > > > > > > > This Email was brought to you by:
> > > > > > > > > > > http://mybestonline.com
> > > > > > > > > > > 
> > > > > > > > > > > _______________________________________________
> > > > > > > > > > > Xen-users mailing list
> > > > > > > > > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > > > > > > > > http://lists.xensource.com/xen-users
> > > > > > > > > > 
> > > > > > > > > > -- 
> > > > > > > > > > WBR, i.m.chubin
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > _______________________________________________
> > > > > > > > > > Xen-users mailing list
> > > > > > > > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > > > > > > > http://lists.xensource.com/xen-users
> > > > > > > > > 
> > > > > > > > > --------------------------------
> > > > > > > > > This Email was brought to you by:
> > > > > > > > > http://mybestonline.com
> > > > > > > > 
> > > > > > > > -- 
> > > > > > > > WBR, i.m.chubin
> > > > > > > > 
> > > > > > > > 
> > > > > > > > _______________________________________________
> > > > > > > > Xen-users mailing list
> > > > > > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > > > > > http://lists.xensource.com/xen-users
> > > > > > > 
> > > > > > > --------------------------------
> > > > > > > This Email was brought to you by:
> > > > > > > http://mybestonline.com
> > > > > > 
> > > > > > -- 
> > > > > > WBR, i.m.chubin
> > > > > 
> > > > > --------------------------------
> > > > > This Email was brought to you by:
> > > > > http://mybestonline.com
> > > > 
> > > > -- 
> > > > WBR, i.m.chubin
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Xen-users mailing list
> > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > http://lists.xensource.com/xen-users
> > > 
> > > --------------------------------
> > > This Email was brought to you by:
> > > http://mybestonline.com
> > 
> > -- 
> > WBR, i.m.chubin
> 
> --------------------------------
> This Email was brought to you by:
> http://mybestonline.com

-- 
WBR, i.m.chubin


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users