[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-bugs] [Bug 601] New: Xm top fails and mini-os does not build
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=601 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 enclosed. John $ 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 xen-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 -0400 @@ -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 Password: [root@goo mini-os]# pwd /home/ramsdell/src/xen-3.0.1/extras/mini-os [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 ? main.main(sys.argv) 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: http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. _______________________________________________ Xen-bugs mailing list Xen-bugs@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-bugs
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |