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] Xen install

You need to install the Twisted framework - make install-twisted in the Xen 
source 1distribution, or find packages for your distro, or get the code 
manually from http://twistedmatrix.com

HTH,
Mark

On Tuesday 21 June 2005 15:03, Ramarathnam Sriram wrote:
> Hi,
>   When i boot into my xen-linux2.6.11.10 kernel and give the command
>   xend start i get the following message
>
> > [root@tfrc1 ~]# xend start
> > Traceback (most recent call last):
> >   File "/usr/sbin/xend", line 27, in ?
> >     from xen.xend.server import SrvDaemon
> >   File "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen-
> > 2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvDaemon.py", line
> > 20, in ?
> > ImportError: No module named twisted.internet
> > [root@tfrc1 ~]#
> >
> > Please suggest what to do.
> >
> > Thanks
> > Sriram
>
> On Tue, 21 Jun 2005 06:48:20 -0400 (EDT), xen-users-request wrote
>
> > Send Xen-users mailing list submissions to
> >     xen-users@xxxxxxxxxxxxxxxxxxx
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >     http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users
> > or, via email, send a message with subject or body 'help' to
> >     xen-users-request@xxxxxxxxxxxxxxxxxxx
> >
> > You can reach the person managing the list at
> >     xen-users-owner@xxxxxxxxxxxxxxxxxxx
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Xen-users digest..."
> >
> > Today's Topics:
> >
> >    1. Re: Stable VBD Types (Nils Toedtmann)
> >    2. Kernel panic, unable to mount rootfs (Matthew J. Harmon)
> >    3. Re: Kernel panic, unable to mount rootfs (Matthew J. Harmon)
> >    4. Re: Re: Kernel panic, unable to mount rootfs (Yvette Chanco)
> >    5. big sized applications in XEN virtual machine (Andre Kuester)
> >    6. Re: big sized applications in XEN virtual machine
> >       (Fajar A. Nugraha)
> >
> >    7. Re: big sized applications in XEN virtual machine (Wim
> > Coekaerts)
> >    8. Re: big sized applications in XEN virtual machine
> >       (Fajar A. Nugraha)
> >    9. Re: Xen Install (James Bulpin)
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Tue, 21 Jun 2005 00:10:33 +0200
> > From: Nils Toedtmann <xen-users@xxxxxxxxxxxxxxxxxx>
> > Subject: Re: [Xen-users] Stable VBD Types
> > To: mail@xxxxxxxxxxxxxxxx
> > Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> > Message-ID: <1119305434.3840.6.camel@xxxxxxxxxxxxxxxxxxxxxxx>
> > Content-Type: text/plain
> >
> > Am Montag, den 20.06.2005, 18:11 +0100 schrieb [GDPR REDACTED]:
> > [...]
> >
> > > Thanks. Although this is relevent to what I'm wanting to do, what I
> > > meant to say was using lvm snapshots as a way to reduce common files
> > > from repeating on disk. I quote the LVM-HowTo as it explains it a
> > > little better.
> > >
> > > "It is also useful for creating volumes for use with Xen. You can
> > > create a disk image, then snapshot it and modify the snapshot for a
> > > particular domU instance. You can then create another snapshot of the
> > > original volume, and modify that one for a different domU instance.
> > > Since the only storage used by a snapshot is blocks that were changed
> > > on the origin or the snapshot, the majority of the volume is shared by
> > > the domU's."
> >
> > [...]
> >
> > We use the device-mapper for this. Works for us [tm]:
> >
> >   dd if=/dev/zero of=/tmp/CoW1 bs=1M count=$CoW_SIZE
> >   dd if=/dev/zero of=/tmp/CoW2 bs=1M count=$CoW_SIZE
> >
> >   losetup /dev/loop0 root_fs
> >   losetup /dev/loop1 /tmp/CoW1
> >   losetup /dev/loop2 /tmp/CoW2
> >
> >   BLOCKSIZE=`blockdev --getsize /dev/loop0`
> >
> >   echo "0 $BLOCKSIZE linear                           /dev/loop0
> > 0" \    | dmsetup create rootfs_base
> >
> >   echo "0 $BLOCKSIZE snapshot /dev/mapper/rootfs_base /dev/loop1 p
> > 8" \    | dmsetup create rootfs1
> >
> >   echo "0 $BLOCKSIZE snapshot /dev/mapper/rootfs_base /dev/loop2 p
> > 8" \    | dmsetup create rootfs2
> >
> > You should now be able to use /dev/mapper/rootfs{1|2} read/write.
> > Only diff blocks to "root_fs" get written to "/tmp/CoW{1|2}".
> >
> > This way we boot >20 domUs off one root_fs (after shutdown we delete
> > the CoW files). I have now clue how to do that with LVM[2].
> >
> > /nils.
> >
> > --
> > there is no sig
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Mon, 20 Jun 2005 17:56:17 -0500 (CDT)
> > From: "Matthew J. Harmon" <mjh@xxxxxxxx>
> > Subject: [Xen-users] Kernel panic, unable to mount rootfs
> > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > Message-ID: <Pine.LNX.4.62.0506201748260.32722@xxxxxxxxxxxxx>
> > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
> >
> > Alright, thank you for the "noreboot" kernel option!
> >
> > Here is the full err:
> >
> > Root-NFS: No NFS server available, giving up.
> > VFS: Unable to mount root fs via NFS, trying floppy.
> > VFS: Cannot open root device "sda2" or unknown-block(2,0)
> > Please append a correct "root=" boot option
> > Kernel panic - not syncing: VFS: Unable to mount root fs on
> > unknown-block(2,0)
> >
> > Doing a bit of research on the error message, found the following
> > threads on xen-devel: http://lists.xensource.com/archives/html/xen-
> > devel/2004-10/msg00382.html
> > http://lists.xensource.com/archives/html/xen-devel/2004-12/msg00470.html
> >
> > I'm thinking this might not be a xen problem, but a grub problem?
> >
> > Still working on the issue, any tips would be appreciated.
> >
> > Thanks.
> >
> > -Matthew
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Mon, 20 Jun 2005 18:13:22 -0500 (CDT)
> > From: "Matthew J. Harmon" <mjh@xxxxxxxx>
> > Subject: [Xen-users] Re: Kernel panic, unable to mount rootfs
> > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > Message-ID: <Pine.LNX.4.62.0506201811200.32722@xxxxxxxxxxxxx>
> > Content-Type: TEXT/PLAIN; charset=US-ASCII
> >
> > Additionally, the menu.lst for grub is as follows:
> >
> > title Debian GNU/Linux, Xen 2.6.11xen0, testing 2005.06.18
> > kernel=/xen.gz dom0_mem=32768 noreboot
> > root (hd0,0)
> > module=(hd0,0)/xen-linux-2.6.11charliexen0 root=/dev/sda2 ro
> > console=tty0 console=ttyS0 showopts selinux=0
> > ### BEGIN AUTOMAGIC KERNELS LIST
> > ###[snip - all default]
> >
> > -M
> >
> > On Mon, 20 Jun 2005, Matthew J. Harmon wrote:
> >
> > Alright, thank you for the "noreboot" kernel option!
> >
> > Here is the full err:
> >
> > Root-NFS: No NFS server available, giving up.
> > VFS: Unable to mount root fs via NFS, trying floppy.
> > VFS: Cannot open root device "sda2" or unknown-block(2,0)
> > Please append a correct "root=" boot option
> > Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
> > block(2,0)
> >
> > Doing a bit of research on the error message, found the following
> > threads on xen-devel: http://lists.xensource.com/archives/html/xen-
> > devel/2004-10/msg00382.html
> > http://lists.xensource.com/archives/html/xen-devel/2004-12/msg00470.html
> >
> > I'm thinking this might not be a xen problem, but a grub problem?
> >
> > Still working on the issue, any tips would be appreciated.
> >
> > Thanks.
> >
> > -Matthew
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Mon, 20 Jun 2005 19:28:02 -0500
> > From: Yvette Chanco <yentlsoup@xxxxxxxxx>
> > Subject: Re: [Xen-users] Re: Kernel panic, unable to mount rootfs
> > To: "Matthew J. Harmon" <mjh@xxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
> > Message-ID: <cda40682050620172815c07bc6@xxxxxxxxxxxxxx>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > If you're getting that far (to starting the dom0) then grub might not
> > directly be the issue. I got that error message when I was using a
> > kernel (for dom0) that hadn't been compiled with support for my scsi
> > adapter. From the looks of your menu.lst, though, it seems you
> > probably did a custom build, so you would know what you included. My
> > only other guess is if there is an initrd image you haven't put in
> > the grub configuration?
> >
> > On 6/20/05, Matthew J. Harmon <mjh@xxxxxxxx> wrote:
> > > Additionally, the menu.lst for grub is as follows:
> > >
> > > title Debian GNU/Linux, Xen 2.6.11xen0, testing 2005.06.18
> > > kernel=/xen.gz dom0_mem=32768 noreboot
> > > root (hd0,0)
> > > module=(hd0,0)/xen-linux-2.6.11charliexen0 root=/dev/sda2 ro
> > > console=tty0 console=ttyS0 showopts selinux=0
> > > ### BEGIN AUTOMAGIC KERNELS LIST
> > > ###[snip - all default]
> > >
> > > -M
> > >
> > > On Mon, 20 Jun 2005, Matthew J. Harmon wrote:
> > >
> > > Alright, thank you for the "noreboot" kernel option!
> > >
> > > Here is the full err:
> > >
> > > Root-NFS: No NFS server available, giving up.
> > > VFS: Unable to mount root fs via NFS, trying floppy.
> > > VFS: Cannot open root device "sda2" or unknown-block(2,0)
> > > Please append a correct "root=" boot option
> > > Kernel panic - not syncing: VFS: Unable to mount root fs on
> > > unknown-block
>
> (2,0)
>
> > > Doing a bit of research on the error message, found the following
> > > threads
>
> on
>
> > > xen-devel:
> > > http://lists.xensource.com/archives/html/xen-devel/2004-10/msg00382.htm
> > >l
> > > http://lists.xensource.com/archives/html/xen-devel/2004-12/msg00470.htm
> > >l
> > >
> > > I'm thinking this might not be a xen problem, but a grub problem?
> > >
> > > Still working on the issue, any tips would be appreciated.
> > >
> > > Thanks.
> > >
> > > -Matthew
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> >
> > --
> > -Yvette Chanco
> > www.option-c.com
> >
> > ------------------------------
> >
> > Message: 5
> > Date: Tue, 21 Jun 2005 04:04:45 +0200
> > From: Andre Kuester <andre.kuester@xxxxxxxxx>
> > Subject: [Xen-users] big sized applications in XEN virtual machine
> > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > Message-ID: <4ee1f99605062019041832dc70@xxxxxxxxxxxxxx>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > Hi,
> >
> > recently I discovered the exsistance of Xen. I looked a bit around
> > and feel quite impressed by this solution. Then an idea came to my
> > mind, having a partition for a more or less stable server and one
> > for my bleeding edge desktop playground. I think I am not the only
> > one with that ;) But I dont want to use the typical lamp server
> > config, I thought more about a massive database server, such as DB2
> > together with a recent version of SAP Netweaver. Both of them are
> > quite memory and of course IO-hungry. I have decent hardware to run
> > that, but I couldnt found any experience report about such a xen-DB2-
> > SAP combination. So I ask you, if there are any experiences with
> > that. In special I ask myself, how the removal of the TLS libraries might
> > affect performance and stability of those applications.
> > (Preferred OS is RHEL4)
> >
> > I would be glad to hear some hints or experiences.
> >
> > Thanks & Regards,
> > Andre.
> >
> > ------------------------------
> >
> > Message: 6
> > Date: Tue, 21 Jun 2005 10:19:28 +0700
> > From: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxxx>
> > Subject: Re: [Xen-users] big sized applications in XEN virtual
> > machine To: xen-users@xxxxxxxxxxxxxxxxxxx Message-ID:
>
> <42B78740.20401@xxxxxxxxxxxxx>
>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > Andre Kuester wrote:
> > >So I ask you, if there are any experiences
> > >with that. In special I ask myself, how the removal of the TLS libraries
>
> might
>
> > >affect performance and stability of those applications.
> > >(Preferred OS is RHEL4)
> >
> > I tried using Oracle 10g on a rather old version of Xen from bk (it
> > still uses kernel 2.6.9) with Lineox 4.
> > TLS libs (/lib/tls, /usr/lib/tls, /usr/X11r6/lib/tls) moved out of
> > the way. This configuration works great running MTA (mail filtering
> > purposes) and web server (LAMP). However it didn't work quite as
> > expected running Oracle. Oracle runs, but often I would get entries
> > like these on alert log :
> >
> > ORA-07445: exception encountered: core dump [kkogbro()+2832]
> > [SIGSEGV] [Address not mapped to object] [0x0] [] [] ORA-00600:
> > internal error code, arguments: [kghssgai2], [1], [36], [], [], [],
> >  [], [] ORA-00600: internal error code, arguments: [kghssgai2], [1],
> > [20], [], [], [], [], [] ORA-07445: exception encountered: core dump
> > [kkogbro()+2832] [SIGSEGV] [Address not mapped to object] [0x0] []
> > [] ORA-00600: internal error code, arguments: [kghssgai2], [5], [36],
> >  [], [], [], [], [] ORA-07445: exception encountered: core dump
> > [kkogbro()+2832] [SIGSEGV] [Address not mapped to object] [0x0] []
> > [] ORA-07445: exception encountered: core dump [kkogbro()+2832]
> > [SIGSEGV] [Address not mapped to object] [0x0] [] [] ORA-00600:
> > internal error code, arguments: [kghssgai3], [128], [20], [], [], [],
> >  [], [] ORA-00600: internal error code, arguments: [kghssgai2], [5],
> > [20], [], [], [], [], []
> >
> > and sometimes it just dies.
> > Revert back to native linux, everything works fine.
> >
> > I haven't had time to test current Xen 2.0.6 (or nightly snapshot)
> > though.
> >
> > Regards,
> >
> > Fajar
> >
> > ------------------------------
> >
> > Message: 7
> > Date: Mon, 20 Jun 2005 20:36:03 -0700
> > From: Wim Coekaerts <wim.coekaerts@xxxxxxxxxx>
> > Subject: Re: [Xen-users] big sized applications in XEN virtual
> > machine To: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxxx> Cc: xen-
>
> users@xxxxxxxxxxxxxxxxxxx
>
> > Message-ID: <20050621033602.GA4554@xxxxxxxxxxxxxxxxxxxxxxxx>
> > Content-Type: text/plain; charset=us-ascii
> >
> > ve had it running for quite some time without problems. even the middle
> > tier stack.
> >
> > been pretty solid
> >
> > On Tue, Jun 21, 2005 at 10:19:28AM +0700, Fajar A. Nugraha wrote:
> > > Andre Kuester wrote:
> > > >So I ask you, if there are any experiences
> > > >with that. In special I ask myself, how the removal of the TLS
> > > > libraries might
> > > >affect performance and stability of those applications.
> > > >(Preferred OS is RHEL4)
> > >
> > > I tried using Oracle 10g on a rather old version of Xen from bk (it
> > > still uses kernel 2.6.9) with Lineox 4.
> > > TLS libs (/lib/tls, /usr/lib/tls, /usr/X11r6/lib/tls) moved out of the
>
> way.
>
> > > This configuration works great running MTA (mail filtering purposes)
> > > and web server (LAMP).
> > > However it didn't work quite as expected running Oracle.
> > > Oracle runs, but often I would get entries like these on alert log :
> > >
> > > ORA-07445: exception encountered: core dump [kkogbro()+2832] [SIGSEGV]
> > > [Address not mapped to object] [0x0] [] []
> > > ORA-00600: internal error code, arguments: [kghssgai2], [1], [36], [],
> > > [], [], [], []
> > > ORA-00600: internal error code, arguments: [kghssgai2], [1], [20], [],
> > > [], [], [], []
> > > ORA-07445: exception encountered: core dump [kkogbro()+2832] [SIGSEGV]
> > > [Address not mapped to object] [0x0] [] []
> > > ORA-00600: internal error code, arguments: [kghssgai2], [5], [36], [],
> > > [], [], [], []
> > > ORA-07445: exception encountered: core dump [kkogbro()+2832] [SIGSEGV]
> > > [Address not mapped to object] [0x0] [] []
> > > ORA-07445: exception encountered: core dump [kkogbro()+2832] [SIGSEGV]
> > > [Address not mapped to object] [0x0] [] []
> > > ORA-00600: internal error code, arguments: [kghssgai3], [128], [20],
> > > [], [], [], [], []
> > > ORA-00600: internal error code, arguments: [kghssgai2], [5], [20], [],
> > > [], [], [], []
> > >
> > > and sometimes it just dies.
> > > Revert back to native linux, everything works fine.
> > >
> > > I haven't had time to test current Xen 2.0.6 (or nightly snapshot)
> > > though.
> > >
> > > Regards,
> > >
> > > Fajar
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> >
> > ------------------------------
> >
> > Message: 8
> > Date: Tue, 21 Jun 2005 11:04:13 +0700
> > From: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxxx>
> > Subject: Re: [Xen-users] big sized applications in XEN virtual
> > machine To: xen-users@xxxxxxxxxxxxxxxxxxx Message-ID:
>
> <42B791BD.6010303@xxxxxxxxxxxxx>
>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > Wim Coekaerts wrote:
> > >ve had it running for quite some time without problems. even the middle
> > >tier stack.
> > >
> > >been pretty solid
> >
> > Oracle 10G? On which version of Xen and which Linux distro?
> > I'd like to test it again soon.
> >
> > Regards,
> >
> > Fajar
> >
> > ------------------------------
> >
> > Message: 9
> > Date: Tue, 21 Jun 2005 11:47:48 +0100
> > From: James Bulpin <james@xxxxxxxxxxxxx>
> > Subject: Re: [Xen-users] Xen Install
> > To: sramara@xxxxxxxxxxxxxx,  xen-users@xxxxxxxxxxxxxxxxxxx
> > Message-ID: <42B7F054.6020900@xxxxxxxxxxxxx>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > Please send replies to the list rather than only to me.
> >
> > Have you installed Twisted?
> >
> > James
> >
> > Ramarathnam Sriram wrote:
> > > Hi James,
> > >      Thanks alot for your prompt response.
> > > Now when i boot into my xen-linux2.6.11.10 kernel and give the command
> > > xend start i get the following message
> > >
> > > [root@tfrc1 ~]# xend start
> > > Traceback (most recent call last):
> > >   File "/usr/sbin/xend", line 27, in ?
> > >     from xen.xend.server import SrvDaemon
> > >   File "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen-
> > > 2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvDaemon.py", line
>
> 20,
>
> > > in ?
> > > ImportError: No module named twisted.internet
> > > [root@tfrc1 ~]#
> > >
> > > Please suggest what to do.
> > >
> > > Thanks
> > > Sriram
> > >
> > >
> > > On Mon, 20 Jun 2005 17:01:36 +0100, James Bulpin wrote
> > >
> > >>Ramarathnam Sriram wrote:
> > >>>Hi,
> > >>>  I am trying to install xen on top of Fedora
> > >>>I appended the following lines in menu.lst file
> > >>>
> > >>>  title Xen 2.0 / XenLinux 2.6
> > >>>  kernel /boot/xen-2.0.gz dom0_mem=131072
> > >>>  module /boot/vmlinuz-2.6-xen0 root=/dev/sda4 ro console=tty0
> > >>
> > >>This is direct copy from the user manual without modification for
> > >>your own system I suspect.
> > >>
> > >>>it gives the following errror
> > >>>
> > >>>Root-NFS: no NFS server available,giving up
> > >>>VFS: Unable to mount root fs via NFS,trying floppy
> > >>>VFS: Insert root floppy and press enter
> > >>>
> > >>>
> > >>>And when I press enter I see
> > >>>kernel panic (not syncing...)
> > >>>(I did not catch the rest)
> > >>>and it reboots.
> > >>>
> > >>>also i tried changing root=/dev/hdc since that is what my root is
> > >>>inside /etc/fstab.
> > >>
> > >>No it isn't, according to your followup email:
> > >>
> > >>   /dev/VolGroup00/LogVol00 /   ext3    defaults        1 1
> > >>
> > >>You'll need an initrd for the kernel to be able to mount this.
> > >>
> > >>Boot into native Linux and run as root (I'm assuming XenLinux 2.6.11
> > >>- substitute your actual version):
> > >>
> > >>   mkinitrd /boot/initrd-2.6.11-xen0.img 2.6.11-xen0
> > >>
> > >>   (you may have to do "depmod -a 2.6.11-xen0" first)
> > >>
> > >>Append the following line to the Xen entry in your GRUB menu.lst
> > >>
> > >>   module /boot/initrd-2.6.11-xen0.img
> > >>
> > >>Change the root= option to root=/dev/VolGroup00/LogVol00
> > >>
> > >>James
> >
> > ------------------------------
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> >
> > End of Xen-users Digest, Vol 4, Issue 61
> > ****************************************
>
> Sriram Ramarathnam,
> Graduate Student,Computer Science
> Clemson University
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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

<Prev in Thread] Current Thread [Next in Thread>