Re: [uml-user] Does UML support 64bit environment?
Hello Jeff Thanks a lot for prompt reply. I resolved the problem of Kernel-panic. Problem was I'm using busybox utility (which also includes init) in UML kernel and by mistake I compiled busybox as 64bit executable. I was using 32bit UML kernel, which can't run 64bit busybox. Regards, Vishal Soni. > -Original Message- > From: Jeff Dike [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 18, 2007 7:10 PM > To: Vishal Soni-G20083 > Cc: user-mode-linux-user@lists.sourceforge.net > Subject: Re: [uml-user] Does UML support 64bit environment? > > On Wed, Jul 18, 2007 at 08:39:23PM +0800, Vishal Soni-G20083 wrote: > > Can we compile and run UML kernel on a 64bit Machine? > > Yes. > > > If no, Is > > mandatory to give SUBARCH=i386(or some other > subarchitecture) when we > > compile UML on 64bit Machine? > > If you want a 32-bit UML, that works for some people. I have > just gotten bizarre compilation errors when I tried it. > > > I'm getting following Kernel panic on execution of UML (built with > > SUBARCH=i386). Can anyone point where I went wrong? > > What was the boot output? > > Jeff > -- > Work email - jdike at linux dot intel dot com > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
[uml-user] Conflict between UML kernel and RHEL4U4 native kernel
Hi, I try to launch several virtual server but the following error occurs : [EMAIL PROTECTED] filesystem]# ../kernel/linux-fred ubd0=/tmp/fed1.cow,Fedora7-x86-root_fs ... Creating "/tmp/fed1.cow" as COW file for "Fedora7-x86-root_fs" ubda: unknown partition table kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Kernel panic - not syncing: Operation too long EIP: 0073:[<4013ff90>] CPU: 0 Not tainted ESP: 007b:bf58b77c EFLAGS: 00210246 Not tainted ... I believe that this problem is link with my native kernel (VDSO parameter) Hang after 'VFS: Mounted root...' The VDSOs provided by the host kernel are confusing UML. Until this is fixed in UML, a workaround to to disable CONFIG_COMPAT_VDSO on the host. In my /boot directory, I have edit the file System.map-2.6.9-42.0.10.Elsmp to change the following parameter : c0415120 B vdso_enabled by c0415120 B vdso_disable Then, I have reboot my system but nothing change. Anybody have an idea ? Best Regards, Fred - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] Conflict between UML kernel and RHEL4U4 native kernel
On Thu, Jul 19, 2007 at 01:20:20PM +0200, FOUCHECOURT FREDERIC wrote: > Creating "/tmp/fed1.cow" as COW file for "Fedora7-x86-root_fs" > ubda: unknown partition table > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > VFS: Mounted root (ext3 filesystem) readonly. > Kernel panic - not syncing: Operation too long This is fixed in current mainline: Index: linux-2.6.17/arch/um/drivers/ubd_kern.c === --- linux-2.6.17.orig/arch/um/drivers/ubd_kern.c2007-07-09 08:53:09.0 -0400 +++ linux-2.6.17/arch/um/drivers/ubd_kern.c 2007-07-09 18:08:33.0 -0400 @@ -712,6 +712,8 @@ static int ubd_add(int n, char **error_o ubd_dev->queue->queuedata = ubd_dev; blk_queue_max_hw_segments(ubd_dev->queue, MAX_SG); + if(ubd_dev->cow.file != NULL) + blk_queue_max_sectors(ubd_dev->queue, 8 * sizeof(long)); err = ubd_disk_register(MAJOR_NR, ubd_dev->size, n, &ubd_gendisk[n]); if(err){ *error_out = "Failed to register device"; -- Work email - jdike at linux dot intel dot com - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] Conflict between UML kernel and RHEL4U4 native kernel
Hi jeff, Fantastic ! It works :-) Thanks a lot How do you have found this solution ? I have read the troubleshooting section on user-mode-linux.sourceforge.net website, but your solution doesn't appear anywhere. Best regards, Fred -Message d'origine- De : Jeff Dike [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 juillet 2007 15:33 À : FOUCHECOURT FREDERIC Cc : user-mode-linux-user@lists.sourceforge.net Objet : Re: [uml-user] Conflict between UML kernel and RHEL4U4 native kernel On Thu, Jul 19, 2007 at 01:20:20PM +0200, FOUCHECOURT FREDERIC wrote: > Creating "/tmp/fed1.cow" as COW file for "Fedora7-x86-root_fs" > ubda: unknown partition table > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > VFS: Mounted root (ext3 filesystem) readonly. > Kernel panic - not syncing: Operation too long This is fixed in current mainline: Index: linux-2.6.17/arch/um/drivers/ubd_kern.c === --- linux-2.6.17.orig/arch/um/drivers/ubd_kern.c2007-07-09 08:53:09.0 -0400 +++ linux-2.6.17/arch/um/drivers/ubd_kern.c 2007-07-09 18:08:33.0 -0400 @@ -712,6 +712,8 @@ static int ubd_add(int n, char **error_o ubd_dev->queue->queuedata = ubd_dev; blk_queue_max_hw_segments(ubd_dev->queue, MAX_SG); + if(ubd_dev->cow.file != NULL) + blk_queue_max_sectors(ubd_dev->queue, 8 * sizeof(long)); err = ubd_disk_register(MAJOR_NR, ubd_dev->size, n, &ubd_gendisk[n]); if(err){ *error_out = "Failed to register device"; -- Work email - jdike at linux dot intel dot com - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user