[uml-devel] FC4 rootfs - crash

2007-01-16 Thread Sapan Bhatia

Hi,

I'm using UML 2.6.19.2 on a 2.6.19-skas3 host, and observing the following
when I try booting with a root fs based on FC4/glibc- 2.6-20. UML gets stuck
with a 'Warning: unable to open an initial console'. gdb shows that it's
because it gets a stream of infinite segfaults. When I boot off another
rootfs and try to chroot into the one with FC4, it segfaults out. strace
shows that this happens just after libc is ldopened.. at a call to
rt_sigprocmask.

So I tried regressing glibc, and now (with glibc-2.6.3) chroot works, but
UML still gets stuck at the same place when I try to boot.

Sapan
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


[uml-devel] [PATCH] skas3 update for linux 2.6.20-rc5

2007-01-16 Thread Jason Lunz

Between 2.6.19 and 2.6.20, an #else clause was added to the
#ifdef !__ASSEMBLY__ in arch/i386/desc.h. This results in the skas3
patch inserting a declaration into the assembly portion of the file.

This is fixed by moving the declaration back into the proper branch of
the #ifdef.

Jason


---
 include/asm-i386/desc.h |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6.20-rc5/include/asm-i386/desc.h
===
--- linux-2.6.20-rc5.orig/include/asm-i386/desc.h
+++ linux-2.6.20-rc5/include/asm-i386/desc.h
@@ -185,6 +185,9 @@
return base;
 }
 
+extern int __modify_ldt(struct mm_struct * mm, int func, void __user *ptr,
+ unsigned long bytecount);
+
 #else /* __ASSEMBLY__ */
 
 /*
@@ -208,9 +211,6 @@
shll $16, base; \
movw idx*8+2(gdt), lo_w;
 
-extern int __modify_ldt(struct mm_struct * mm, int func, void __user *ptr,
- unsigned long bytecount);
-
 #endif /* !__ASSEMBLY__ */
 
 #endif

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


[uml-devel] I met a question in building the root_fs of UML

2007-01-16 Thread Qin An

Hi wstearns,

I now use the UML to do my jobs. However, it is my first time to use the 
system, and met a problem in building my own root_fs.

I downloaded the scripts in http://www.stearns.org/mkrootfs/ and run the 
commands

# ./mkrootfs

It run not very well but  finially finished and got a file 'root_fs'. I booted 
the UML using the file.

# linux ubd0=root_fs

It was so pity that it didn't work and said:

Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

How to do next? Could you give me some advices?

Thanks a lot~

-
Qin An
2007-01-17

Research Center for Grid and Service Computing
Institute of Computing Technology, Chinese Academy of Sciences
P.O.Box 2704, 100080, Beijing, China
Tel: 86-10-62600974
Email: [EMAIL PROTECTED]

uml-boot.log
Description: Binary data


mkrfs.log
Description: Binary data
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


Re: [uml-devel] UML and KVM

2007-01-16 Thread Jeff Dike
On Fri, Jan 12, 2007 at 02:34:31PM -0600, Erik Paulson wrote:
> I see that you're going to be giving a talk at linux.conf.au in a
> few days on integrating UML and KVM:
> 
> http://virtminiconf.linux.hp.com/program/uml-kvm-and-hardware-virtualization
> 
> This sounds pretty cool - is there a paper to go along with it, or 
> will the slides (or, even better, a video of the talk) be available for 
> those of us who can't make it to Oz?

I'll make the slides, with notes available - that will approximate the
talk if you stand in the front of a room and read them out loud with
the slides on a screen behind you.

> Your abstract mentions KVM needs to support paravirtualzation first - do
> Ingo's patches provide what you need:
> 
> http://sourceforge.net/mailarchive/forum.php?thread_id=31355873&forum_id=50582

No, that seems to be just memory management stuff.  What I need is
much simpler - VMCALL needs to be acceptable as a VMEXIT reason and
returned from the KVM_RUN ioctl.  That's not present in the version of
KVM that I have here (which I pulled a couple of weeks ago).

Jeff

-- 
Work email - jdike at linux dot intel dot com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel