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-devel

Re: [Xen-devel] problem creating a new domain

Why do you mean by "have been removed" ?
I use a lightweight kernel for xenU so it might be why i don't see message
about device removed....

Have you try to connect to the domain console ? (xm console <domain_name>) ?
If so can you check your network configuration ... what are the network
service messages ? 

Is your ip not duplicated ?
for your information my kernel command line is the following ... and
everything is ok ...


Kernel command line:  ip=off root=/dev/hdb1 ro

Mat
On October 20, 9:27 pm Sanjay Kumar <ksanjay@xxxxxxxxxxxxx> wrote:
> Hi Matthieu,
> Will this ip="off" option disable the network connection?
> When I tried to boot new domain with the ip="off" option,
> the DHCP problem went away and it reported that various devices (e.g.
> NIC, Graphics card etc.) have been removed from the system (I am using
> the same disk image as dom0 but with xenU kernel).
> further down the boot processes, some of my network services (e.g
> NFS) don't work.
>
> any ideas?
>
>
> ----------------------------------
> http://www.cc.gatech.edu/~ksanjay/
>
> On Wed, 20 Oct 2004, Matthieu PATOU wrote:
>
> >  add the parameter (ip "off") in your domain configuration file
> >  it will add the parameter ip=off on the kernel boot line and so
> >  everything will be ok
> >  mat
> >  On October 19, 11:34 pm Sanjay Kumar <ksanjay@xxxxxxxxxxxxx> wrote:
> > >  Hi Mark,
> > >  I switched to Xen2.0 with linux 2.4.27 kernel for dom0
> > >
> > >  now I create the virtual disk in the same way as I described below.
> > >
> > >  now when I try to boot another domain i see problems with DHCP.
> > >  below are the logs
> > >
> > >  Using config file "/etc/xen/dom1".
> > >  Started domain ExampleDomain, console on port 9609
> > >  ************ REMOTE CONSOLE: CTRL-] TO QUIT ********
> > >  Linux version 2.4.27-xenU (root@andrea) (gcc version 3.1.1) #3 Tue
> > >  Oct 19 13:56:24 EDT 2004
> > >  On node 0 totalpages: 16384
> > >  zone(0): 4096 pages.
> > >  zone(1): 12288 pages.
> > >  zone(2): 0 pages.
> > >  Kernel command line:  ip=:1.2.3.4::::eth0:dhcp root=/dev/hda1 ro 4
> > >  Initializing CPU#0
> > >  Xen reported: 2193.379 MHz processor.
> > >  Calibrating delay loop... 4404.01 BogoMIPS
> > >  Memory: 62768k/65536k available (1341k kernel code, 2768k reserved,
> > >  267k data, 60k init, 0k highmem)
> > >  Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
> > >  Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
> > >  Mount cache hash table entries: 512 (order: 0, 4096 bytes)
> > >  Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
> > >  Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
> > >  CPU: L1 I cache: 12K, L1 D cache: 8K
> > >  CPU: L2 cache: 512K
> > >  CPU: Intel(R) Pentium(R) 4 CPU 2.20GHz stepping 04
> > >  POSIX conformance testing by UNIFIX
> > >  Linux NET4.0 for Linux 2.4
> > >  Based upon Swansea University Computer Society NET3.039
> > >  Initializing RT netlink socket
> > >  Starting kswapd
> > >  Journalled Block Device driver loaded
> > >  Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx).
> > >  Event-channel device installed.
> > >  Xen virtual console successfully installed as tty
> > >  Starting Xen Balloon driver
> > >  pty: 256 Unix98 ptys configured
> > >  [XEN] Initialising virtual block device driver
> > >  RAMDISK driver initialized: 16 RAM disks of 4096K size 1024
> > >  blocksize loop: loaded (max 8 devices)
> > >  SCSI subsystem driver Revision: 1.00
> > >  kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno =
> > >  2 kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno
> > >  = 2 [XEN] Initialising virtual ethernet driver.
> > >  [XEN] Netfront recovered tx=0 rxfree=0
> > >  NET4: Linux TCP/IP 1.0 for NET4.0
> > >  IP Protocols: ICMP, UDP, TCP
> > >  IP: routing cache hash table of 512 buckets, 4Kbytes
> > >  TCP: Hash tables configured (established 4096 bind 8192)
> > >  Sending DHCP requests .......  timed out
> > >
> > >  Here Sending DHCP requests keep timing out and it keeps retrying.
> > >  so boot doesn't proceed beyond this point.
> > >
> > >  Can anybody please let me know what I might be doing wrong.
> > >
> > >  Thanks,
> > >  Sanjay
> > >
> > >
> > >  ----------------------------------
> > >  http://www.cc.gatech.edu/~ksanjay/
> > >
> > >  On Mon, 18 Oct 2004, M.A. Williamson wrote:
> > >
> > > > >   Hi Folks,
> > > > >   I am using xen1.2.
> > > > >   I create the disk image as described in the Xen2.0 user manual
> > > >  chapter 5.
> > > >   Sorry but that won't work :-(
> > > >
> > > >   Xen 1.2 can only export sections of physical disks (e.g.
> > > >   partitions, whole disks, or Xen Virtual Disks) to other domains.
> > > >   If you want to store filesystems in disk files, you should move
> > > >   to Xen 2.0-beta (soon to be Xen 2.0-release).
> > > >
> > > >   The nearest you can get on Xen 1.2 is to create a Virtual Disk
> > > >   and then use that. Tying yourself to 1.2 is probably not a good
> > > >   idea though - Virtual Disks aren't supported by 2.0. We'd
> > > >   certainly prefer people to move to 2.0 now - it's stable and
> > > >   virtually release-ready and has a whole load of new features,
> > > >  improved tools and better hardware support.
> > > >   A good way to install a new domain's filesystem is using
> > > >   debootstrap (as described in the appendix of the manual).
> > > >
> > > >   Let us know how you get on.
> > > >
> > > >   HTH,
> > > >   Mark
> > > >
> > > > >   #dd if=/dev/zero of=vm1disk         bs=1k seek=6144k  count=1
> > > > >   #losetup /dev/loop1 vm1disk
> > > > >   #mkfs -t ext3 /dev/loop1
> > > > >   #mount /dev/loop1 /mnt
> > > > >
> > > > >   #cp -ax /<directory>/  /mnt/         /* I do this instead of
> > > > >   copying the whole / directory because I don't want some of the
> > > > >  directories in Dom 1 */
> > > > >   I modify /mnt/etc/fstab to put /dev/sda1 to root
> > > > >
> > > > >   # umount /dev/loop1
> > > > >
> > > > >   then I put this line in /etc/xc/defaults (I used a copy of it
> > > > >   called dom1)
> > > > >
> > > > >   vbd_list = [ ('phy:loop1','sda1','w' ) ]
> > > > >
> > > > >
> > > > >   After this I try to create the dom1 by saying but I get an
> > > > > error.
> > > > >   #xc_dom_create.py   -D vmid=1 -f dom1
> > > > >   Parsing config file 'dom1'
> > > > >   VM image           : "/boot/xenolinux.gz"
> > > > >   VM ramdisk         : ""
> > > > >   VM memory (MB)     : "64"
> > > > >   VM IP address(es)  : "130.207.98.36; 169.254.1.1"
> > > > >   VM block device(s) : "phy:loop1,sda1,w"
> > > > >   VM cmdline         :
> > > > >   "ip=130.207.98.36:169.254.1.0:130.207.98.1:255.255.255.0::eth0:
> > > > > off
> > > > >   root=/dev/sda1 ro 4 VMID=1 usr=/dev/sda6"
> > > > >   Error looking up phy:loop1
> > > > >
> > > > >
> > > > >   Can someone please help me with this error?
> > > > >
> > > > >   Thanks,
> > > > >   Sanjay
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >   ------------------------------------------------------- This
> > > > >   SF.net email is sponsored by: IT Product Guide on
> > > > >   ITManagersJournal Use IT products in your business? Tell us
> > > > >   what you think of them. Give us Your Opinions, Get Free
> > > > >   ThinkGeek Gift Certificates! Click to find out more
> > > > >   http://productguide.itmanagersjournal.com/guidepromo.tmpl
> > > > >   _______________________________________________ Xen-devel
> > > > >   mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > > > https://lists.sourceforge.net/lists/listinfo/xen-devel
> > >
> > >
> > >  -------------------------------------------------------
> > >  This SF.net email is sponsored by: IT Product Guide on
> > >  ITManagersJournal Use IT products in your business? Tell us what
> > >  you think of them. Give us Your Opinions, Get Free ThinkGeek Gift
> > >  Certificates! Click to find out more http://productguide.itmanagersj
> > > ournal.com/guidepromo.tmpl
> > >  _______________________________________________
> > >  Xen-devel mailing list
> > >  Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > >  https://lists.sourceforge.net/lists/listinfo/xen-devel
> > >
> >
>


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel