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] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server -

To: Bruce Edge <bruce.edge@xxxxxxxxx>
Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
From: Priya <pbhat@xxxxxxxxxxxx>
Date: Thu, 16 Sep 2010 11:36:45 -0400
Cc: Boris Derzhavets <bderzhavets@xxxxxxxxx>, "nunziaG84@xxxxxxxxx" <nunziaG84@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx, Pasi Kärkkäinen <pasik@xxxxxx>
Delivery-date: Thu, 16 Sep 2010 08:39:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=A/I64AqsBfv0t3J6Dk7PtYKvDK+goZZv20CMvepiOEA=; b=IPvEVdi+t1phuUNqf4cGjibypbMBponqxCI6YhzxDDw5AUD1JUY6Mvp4oaRcIwWi+y Mow0jhlR4qxiGrPqefHvoZuWtLvdVk8v2j/kx1kgP1bfiwQv2msysq5VtPpBqsZBJG37 0adb9zuGt3LoiPuTtVJiXDW4a8LaZ1hjOcl7U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=ogcP4TS7nA0g/PYC3r0C6szTtItizwYzdLzcLs1y3zsk3EwsSP23OVZtYNyXs6htfk STspk37gwMxpqTi3TE0LkTSw3sHT+8xT3p0RzaQOgcQCR9CHRjcbn5JRFt8dFlnPX+u4 rI3l0RVPxPLv8yfox8c63aDLhK5cpvCWjFAT0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikL+5hbYMBBA+JDJ5y3wu8oENRv57o0ckLqqa9q@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20100906095551.GE2804@xxxxxxxxxxx> <394922.74742.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTi=2=qbqEU=RrVyyb-8NhoYOji9wa59cn+kHr2L=@xxxxxxxxxxxxxx> <AANLkTikL+5hbYMBBA+JDJ5y3wu8oENRv57o0ckLqqa9q@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Sorry, I did not see the mail from Bruce earlier. Here are the terminal outputs you asked for, Bruce.

----

root@XenOpen:~# lsmod
Module                  Size  Used by
xenfs                  11046  0
vfat                    8598  1
fat                    45282  1 vfat
ipv6                  284318  24
snd_hda_codec_analog    73426  1
snd_hda_intel          23438  2
snd_hda_codec          70730  2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep               6570  1 snd_hda_codec
snd_pcm_oss            40013  0
snd_mixer_oss          14087  1 snd_pcm_oss
snd_pcm                78016  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy           1766  0
snd_seq_oss            31174  0
snd_seq_midi            6091  0
snd_rawmidi            20356  1 snd_seq_midi
snd_seq_midi_event      6310  2 snd_seq_oss,snd_seq_midi
snd_seq                53806  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
i915                  279427  3
snd_timer              20001  2 snd_pcm,snd_seq
drm_kms_helper         23398  1 i915
drm                   166951  4 i915,drm_kms_helper
snd_seq_device          6351  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
i2c_algo_bit            5069  1 i915
i2c_core               27420  3 i915,drm,i2c_algo_bit
snd                    63300  18 snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
video                  19968  1 i915
soundcore               6399  1 snd
output                  2221  1 video
lp                     11146  0
ppdev                   8056  0
snd_page_alloc          7605  2 snd_hda_intel,snd_pcm
dcdbas                  8652  0
parport_pc             21209  1
serio_raw               4566  0
parport                32527  3 lp,ppdev,parport_pc
ata_generic             3531  0
usb_storage            45353  1
pata_acpi               3459  0
e1000e                119323  0
---------------------


root@XenOpen:~# cat /proc/misc
 59 network_throughput
 60 network_latency
 61 cpu_dma_latency
 62 device-mapper
175 agpgart
144 nvram
228 hpet
231 snapshot
227 mcelog
 63 vga_arbiter

-------------------------------

root@XenOpen:~# grep XEN /boot/config-2.6.32.21
CONFIG_XEN=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=128
CONFIG_XEN_SAVE_RESTORE=y
CONFIG_XEN_DEBUG_FS=y
CONFIG_SWIOTLB_XEN=y
CONFIG_MICROCODE_XEN=y
CONFIG_XEN_DOM0=y
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_DOM0_PCI=y
CONFIG_XEN_PCI_PASSTHROUGH=y
CONFIG_PCI_XEN=y
CONFIG_XEN_PCIDEV_FRONTEND=m
CONFIG_XEN_BLKDEV_FRONTEND=m
CONFIG_NETXEN_NIC=m
CONFIG_XEN_NETDEV_FRONTEND=m
CONFIG_XEN_KBDDEV_FRONTEND=m
CONFIG_HVC_XEN=y
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=m
CONFIG_XEN_BACKEND=y
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_BLKDEV_TAP=m
CONFIG_XEN_BLKBACK_PAGEMAP=y
CONFIG_XEN_PCIDEV_BACKEND=m
# CONFIG_XEN_PCIDEV_BACKEND_VPCI is not set
CONFIG_XEN_PCIDEV_BACKEND_PASS=y
# CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set
# CONFIG_XEN_PCIDEV_BACKEND_CONTROLLER is not set
# CONFIG_XEN_PCIDEV_BE_DEBUG is not set
CONFIG_XENFS=m
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_MCE=y
CONFIG_XEN_XENBUS_FRONTEND=y
CONFIG_XEN_GNTDEV=m
CONFIG_XEN_S3=y
CONFIG_ACPI_PROCESSOR_XEN=y
CONFIG_XEN_PLATFORM_PCI=y


----
I can see from the last output that xenfs is a module. How do I mount it?

Cheers!


On Thu, Sep 16, 2010 at 9:59 AM, Bruce Edge <bruce.edge@xxxxxxxxx> wrote:
On Thu, Sep 16, 2010 at 5:11 AM, Priya <pbhat@xxxxxxxxxxxx> wrote:
Hey Guys!


Need some help here... I am trying to install Xen4.0.1 on Ubuntu
10.04.1 LTS (64 bits) which has the kernel version 2.6.32.24-generic.
I followed this tutorial for the installation, using the configuration
file uploaded by Thiogo, which is actually meant for kernel version
2.6.32.18.

The kernel compilation steps go through smoothly, except that when I
enable the xend and the xend domain services using the update-rc.d
command I get the same warning message as NunziaG84

update-rc.d xend defaults 20 21

the output was:
update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match LSB
Default-Start values (3 4 5)
update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB
Default-Stop values (0 1 2 6)

And then when I reboot the machine, xend does not start. On issuing
the command /etc/init.d/xend start, or status, there is no terminal
output.
When I type in "xend start" directly, I get the following error message:

sudo xend start
>
> the output is:
>
> ERROR Internal error: Could not obtain handle on privileged command interface
> (2 = No such file or directory)

Possibly missing drivers related to hotplug issues?
Can you post the output from lsmod?
What does  cat /proc/misc show?
Also grep XEN /boot/config-<whatever kernel you're running>
 
-Bruce

> Traceback (most recent call last):
> File "/usr/sbin/xend", line 36, in <module>
> from xen.xend.server import SrvDaemon
> File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py",
> line 26, in <module>
> import relocate
> File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/relocate.py",
> line 28, in <module>
> from xen.xend import XendDomain
> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line
> 36, in <module>
> from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo
> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py",
> line 20, in <module>
> from xen.xend import balloon, sxp, image
> File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py", line 46, in
> <module>
> xc = xen.lowlevel.xc.xc()
> xen.lowlevel.xc.Error: (1, 'Internal error', 'Could not obtain handle on
> privileged command interface (2 = No such file or directory)')
>
I see that several other people here are facing similar issues. Could
anyone throw some light on what the matter might be, and how one could
move towards resolving it.
Does anyone have a configuration file for my specific xen and host
operating system kernel versions. Actually I am confused as to whether
the kernel version of the .config file has to match that of our Xen
download or our host operating system....



Thanks!!!!


On Mon, Sep 6, 2010 at 8:16 AM, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:
It just means that standard links already exist. No harm
Please , run
cd /dev/xen
ls  -l

Boris.

--- On Mon, 9/6/10, Pasi Kärkkäinen <pasik@xxxxxx> wrote:

From: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
To: "nunziaG84@xxxxxxxxx" <nunziaG84@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Monday, September 6, 2010, 5:55 AM


On Mon, Sep 06, 2010 at 09:05:26AM +0200, nunziaG84@xxxxxxxxx wrote:
> I had a problem that i ignored when i had nabled Xen at boot:
> with:
> update-rc.d xend defaults 20 21
>
> the output was:
> update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match LSB
> Default-Start values (3 4 5)
> update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB
> Default-Stop values (0 1 2 6)
>  System start/stop links for /etc/init.d/xend already exist.
>
> Can this be the problem that xend doesn't start?
>

Maybe, who knows.

Does it start if you execute "/etc/init.d/xend start" manually?

-- Pasi


_______________________________________________
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



--
Priya Bhat



_______________________________________________
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



--
Priya Bhat


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>