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

[Xen-devel] 4.1 xend not starting - looking for /sys/devices/xen-backend

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] 4.1 xend not starting - looking for /sys/devices/xen-backend/? Wrong kernel?
From: Nathan March <nathan@xxxxxx>
Date: Fri, 01 Apr 2011 13:42:03 -0700
Delivery-date: Fri, 01 Apr 2011 13:43:17 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=gt.net; h=message-id:date :from:mime-version:to:subject:content-type :content-transfer-encoding; s=mail; bh=I3Hr1NpCYd/xtxELVmapoGI4P 8w=; b=PwsT2j12xmTmu0NA/Jlo69dMhR5D/+BHvj9bgIGZKaYgMP0MnbyWiALni zuNW3ElQXlDSQsRESuEIyCH1uoGd7yMQJXPWrqPakLBmqgSlxkGkRyS6aOOqWAeX XSEOjacIsmd+Ki1pG/V641aP6kdGu29Wy0bHhA2c83m7wTR7zM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gt.net; h=message-id:date :from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=mail; b=RTwpZyS98AotbtVqdtx cs6GsqqSGLfOHI5QYaJ5Dy4GsbsgKm/sTyX+uUDzK1KmbTsecCGRoaq+eEWSoGDj 0pDSp47smcI/OQGaKj0/zpK509cNra4jeu28OUByHwGNq8kmd4ij0NVrJjnpt1kE kglEwP/E8SEuz8uknDTaWV7Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
Hoping someone can shed some light on this since I'm finding myself very
confused by a mismatch of documentation on the wiki/mailing lists. Am I
just using the wrong kernel?

Trying to start xend 4.1 it just hangs, strace shows this repeating over
and over:

3827  stat("/sys/devices/xen-backend/", 0x7f68b23eb9f0) = -1 ENOENT (No
such file or directory)
3827  stat("/proc/net/dev", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
3827  gettimeofday({1301688232, 369752}, NULL) = 0
3827  open("/proc/net/dev", O_RDONLY)   = 19
3827  fstat(19, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
3827  fstat(19, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
3827  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x7f68b9005000
3827  read(19, "Inter-|   Receive               "..., 8192) = 815
3827  read(19, "", 7168)                = 0
3827  read(19, "", 8192)                = 0
3827  close(19)                         = 0
3827  munmap(0x7f68b9005000, 4096)      = 0
3827  stat("/proc/net/dev", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
3827  gettimeofday({1301688232, 370994}, NULL) = 0
3827  open("/proc/net/dev", O_RDONLY)   = 19
3827  fstat(19, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
3827  fstat(19, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
3827  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x7f68b9005000
3827  read(19, "Inter-|   Receive               "..., 8192) = 815
3827  read(19, "", 7168)                = 0
3827  read(19, "", 8192)                = 0
3827  close(19)                         = 0
3827  munmap(0x7f68b9005000, 4096)      = 0
3827  select(0, NULL, NULL, NULL, {2, 0}) = 0 (Timeout)
3827  ioctl(17, SNDCTL_DSP_RESET, 0x7f68b23ebc20) = 0
3827  ioctl(17, SNDCTL_DSP_RESET, 0x7f68b23ebc20) = -1 ESRCH (No such
process)
3827  ioctl(17, SNDCTL_DSP_RESET, 0x7f68b23ebcc0) = 0
3827  ioctl(17, SNDCTL_DSP_RESET, 0x7f68b23ebc80) = 0
3827  gettimeofday({1301688234, 374799}, NULL) = 0

>From what I can tell on the lists, /sys/devices/xen-backend/ is the new
location and /sys/bus/xen-backend/ is the old location? Does that mean
there's a newer dom0 kernel with the correct paths inside of it?

I've tried stable-2.6.32.x and next-2.6.32 and both give the same
result. Trying next-2.6.39 resulted in reboot before booting the dom0
kernel, I haven't debugged that any further yet.

The xen 4.1 documentation refers you to the 4.0.1 docs and the old
paravirtops page still has the same content it's had forever, saying
that Jeremy's stable-2.6.32.x is the recommended release.  Should I be
using one of Konrad's branches instead?

It seems very strange to me that xen 4.1 would be considered ready &
released in a state like this, with no clear documentation on what dom0
to use.

- Nathan

-- 
Nathan March <nathan@xxxxxx>
Gossamer Threads Inc. http://www.gossamer-threads.com/
Tel: (604) 687-5804 Fax: (604) 687-5806


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

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