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/
Home Products Support Community News


[Xen-bugs] [Bug 601] New: Xm top fails and mini-os does not build

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 601] New: Xm top fails and mini-os does not build
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 05 Apr 2006 10:08:36 -0700
Delivery-date: Wed, 05 Apr 2006 10:09:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx

           Summary: Xm top fails and mini-os does not build
           Product: Xen
           Version: 3.0.1
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: ramsdell@xxxxxxxxx

I'm running on a 32-bit x86 machine with Fedora Core 5.  There is a
problem that causes a compilation failure when building mini-os from
its sources.  An integer in xenbus/xenbus_xs.c should be unsigned.
Furthermore, a use of "xm top" asks me to report a bug.  A transcript is


$ diff -ur oxen-3.0.1 xen-3.0.1
Only in xen-3.0.1/extras/mini-os: events.o
Only in xen-3.0.1/extras/mini-os: hypervisor.o
Only in xen-3.0.1/extras/mini-os/include: xen
Only in xen-3.0.1/extras/mini-os: kernel.o
Only in xen-3.0.1/extras/mini-os/lib: math.o
Only in xen-3.0.1/extras/mini-os/lib: printf.o
Only in xen-3.0.1/extras/mini-os/lib: string.o
Only in xen-3.0.1/extras/mini-os/lib: xmalloc.o
Only in xen-3.0.1/extras/mini-os: mini-os.elf
Only in xen-3.0.1/extras/mini-os: mini-os.gz
Only in xen-3.0.1/extras/mini-os: mm.o
Only in xen-3.0.1/extras/mini-os: sched.o
Only in xen-3.0.1/extras/mini-os: time.o
Only in xen-3.0.1/extras/mini-os: traps.o
Only in xen-3.0.1/extras/mini-os: x86_32.o
Only in xen-3.0.1/extras/mini-os/xenbus: xenbus_comms.o
diff -ur oxen-3.0.1/extras/mini-os/xenbus/xenbus_xs.c
--- oxen-3.0.1/extras/mini-os/xenbus/xenbus_xs.c        2006-03-01
17:38:57.000000000 -0500
+++ xen-3.0.1/extras/mini-os/xenbus/xenbus_xs.c 2006-04-05 10:56:21.000000000
@@ -335,7 +335,7 @@
                  const char *dir, const char *node)
        char **d;
-       int dir_n;
+       unsigned int dir_n;

        d = xenbus_directory(t, dir, node, &dir_n);
        if (IS_ERR(d))
Only in xen-3.0.1/extras/mini-os/xenbus: xenbus_xs.c~
Only in xen-3.0.1/extras/mini-os/xenbus: xenbus_xs.o
Only in xen-3.0.1/extras/mini-os/xenbus: xenstored.h

[ramsdell@goo mini-os]$ su
[root@goo mini-os]# pwd
[root@goo mini-os]# /usr/sbin/xm create domain_config
Using config file "domain_config".
Started domain Mini-OS
[root@goo mini-os]# /usr/sbin/xm top
Unexpected error: exceptions.OSError

Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
  File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 1021, in main
    rc = cmd(args)
  File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 654, in xm_top
    os.execvp('xentop', ['xentop'])
  File "/usr/lib/python2.4/os.py", line 341, in execvp
    _execvpe(file, args)
  File "/usr/lib/python2.4/os.py", line 379, in _execvpe
    func(fullname, *argrest)
OSError: [Errno 2] No such file or directory
[root@goo mini-os]# /usr/sbin/xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     1416     1 r-----    41.9
Mini-OS                            1       32     1 ------     8.6
[root@goo mini-os]# /usr/sbin/xm destroy Mini-OS
[root@goo mini-os]# /usr/sbin/xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     1416     1 r-----    46.2
[root@goo mini-os]#

Configure bugmail: 
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Xen-bugs mailing list

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