Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7
On Fri, May 12, 2006 at 10:08:06PM +0200, Mattia Dongili wrote: > > kjournald starting. Commit interval 5 seconds > > EXT3-fs: mounted filesystem with ordered data mode. > > VFS: Mounted root (ext3 filesystem) readonly. > > mapping mmap stub failed, errno = 12 > > Kernel panic - not syncing: start_userspace : expected SIGSTOP, got status > > = 256 Hu, is this a 2G/2G host, by any chance? The French report is complaining about this happening after a host kernel upgrade, and I would assume that this wouldn't spring a 2G/2G split on you without asking. UML is trying to map a page at the top of its address space (which it assumes to be 0xc000 unless you are running a 2.6.16-rc4 UML and enabled host 2G/2G support). We need to figure out why that doesn't work. If it's not the host split, then I don't have any other ideas off the top of my head. Jeff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7
On Mon, May 15, 2006 5:44 am, Jeff Dike said: > On Fri, May 12, 2006 at 10:08:06PM +0200, Mattia Dongili wrote: >> > kjournald starting. Commit interval 5 seconds >> > EXT3-fs: mounted filesystem with ordered data mode. >> > VFS: Mounted root (ext3 filesystem) readonly. >> > mapping mmap stub failed, errno = 12 >> > Kernel panic - not syncing: start_userspace : expected SIGSTOP, got >> status = 256 > > Hu, is this a 2G/2G host, by any chance? It doesn't seem so: CONFIG_VMSPLIT_3G_OPT=y (from debian kernel's 2.6.16-k7 binaries) > The French report is complaining about this happening after a host > kernel upgrade, and I would assume that this wouldn't spring a 2G/2G > split on you without asking. > > UML is trying to map a page at the top of its address space (which it > assumes to be 0xc000 unless you are running a 2.6.16-rc4 UML and did you mean .17-rc4? Debian kernels contain very little modifications, and usually track upstream very closely. > enabled host 2G/2G support). We need to figure out why that doesn't Oh, I found CONFIG_PAGE_OFFSET=0xB000 may this be the problem? I found reports telling it broke other SW: http://lists.debian.org/debian-kernel/2006/04/msg00042.html -- mattia :wq! 2.6.15-2.6.16-k7.config.diff Description: Binary data
Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7
On Mon, May 15, 2006 at 12:08:58PM +0200, Mattia Dongili wrote: > Oh, I found > CONFIG_PAGE_OFFSET=0xB000 > > may this be the problem? I found reports telling it broke other SW: > http://lists.debian.org/debian-kernel/2006/04/msg00042.html Yup, that's the problem. They did spring a split change on you. On rc4, UML will run if you enable host 2G/2G support. Jeff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7
clone 366915 -1 reassign -1 linux-2.6 2.6.16-1 retitle -1 linux-2.6 [i386]: One more non-default vm split triggered bug merge -1 360598 thanks On Mon, May 15, 2006 at 08:39:54AM -0400, Jeff Dike wrote: > On Mon, May 15, 2006 at 12:08:58PM +0200, Mattia Dongili wrote: > > Oh, I found > > CONFIG_PAGE_OFFSET=0xB000 > > > > may this be the problem? I found reports telling it broke other SW: > > http://lists.debian.org/debian-kernel/2006/04/msg00042.html > > Yup, that's the problem. They did spring a split change on you. > > On rc4, UML will run if you enable host 2G/2G support. So it seems we have 2 bugs one of which is a duplicate for #360598 -- mattia :wq! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7
On Friday 12 May 2006 22:08, Mattia Dongili wrote: > Hello UML developers, > > I received the following bugreport for 2.6.16 UML running on a 2.6.16 > host (both are debian packages). I found a similar report on a french > site[1], it seems to be the same problem. > > Can you help putting some light there? > Thanks in advance > > [1]: > http://forum.hardware.fr/hardwarefr/OSAlternatifs/UML-Debian-sujet-57017-1. >htm I also get a problem specific to host 2.6.16 kernels, but that's when I run x64 guests on x64 2.6.16 hosts (x86 32-bit guests work normally); I've not tested 32-bit 2.6.16 hosts. The error message is different. However, I can't exclude there is the same root cause acting in a different way, but I've now debugged this a bit and this seems unlikely. EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Warning: unable to open an initial console. Kernel panic - not syncing: handle_trap - failed to wait at end of syscall, errno = 0, status = 2943 Modules linked in: Pid: 1, comm: init Not tainted 2.6.16.9-bs2 RIP: 0033:[<400101ba>] RSP: 007f7f9ec358 EFLAGS: 0246 RAX: 0050a000 RBX: RCX: RDX: 0026 RSI: RDI: RBP: R08: R09: 4000 R10: 4a18 R11: 0246 R12: R13: 40001dd0 R14: 0008 R15: 00400040 Call Trace: 6031bc48: [<6000fe8c>] panic_exit+0x27/0x42 6031bc58: [<60034f15>] notifier_call_chain+0x1f/0x2f 6031bc78: [<6002784a>] panic+0xcf/0x165 6031bcb8: [<601791f9>] __libc_waitpid+0x39/0xc0 6031bcd8: [<6001e7f6>] set_signals+0x26/0x53 6031bd08: [<60021640>] move_registers+0x45/0x7e 6031bd58: [<6002295f>] userspace+0x213/0x265 6031bdc0: [<6000a17f>] init+0x0/0x13d 6031bdd8: [<60010410>] new_thread_handler+0x121/0x12f 6031be38: [<6016c9a0>] __restore_rt+0x0/0x10 6031bee8: [<6016cc59>] kill+0x9/0x20 > > When user-mode linux is used with a host kernel of > > linux-image-2.6.16-1-k7 (ie, the package in sid), it panics. When the > > host kernel is linux-image-2.6.15-1-k7 (also from sid), it works > > perfectly. > > mapping mmap stub failed, errno = 12 > > Kernel panic - not syncing: start_userspace : expected SIGSTOP, got > > status = 256 > > EIP: 0073:[] CPU: 0 Not tainted ESP: 007b:a7e29fa8 EFLAGS: > > 00200246 Not tainted EAX: EBX: 13f5 ECX: 0013 EDX: > > 13f5 > > ESI: 13f1 EDI: 0011 EBP: a7e29fc4 DS: 007b ES: 007b > > 08267af8: [<0806f080>] show_regs+0xb4/0xb9 > > 08267b24: [<0805e08c>] panic_exit+0x23/0x3d > > 08267b38: [<0807e495>] notifier_call_chain+0x1a/0x31 > > 08267b58: [<08072ffb>] panic+0x4f/0xca > > 08267b74: [<0806c165>] start_userspace+0xce/0x11a > > 08267b94: [<0805e31a>] init_new_context_skas+0xfb/0x13e > > 08267bb4: [<080ad3f0>] do_execve+0x96/0x1df > > 08267bd8: [<080599b8>] execve1+0x28/0x52 > > 08267bfc: [<080599f5>] um_execve+0x13/0x3f > > 08267c18: [<0805936a>] run_init_process+0x34/0x4f > > 08267c38: [<08059471>] init+0xec/0x117 > > 08267c48: [<0806955b>] run_kernel_thread+0x42/0x4a > > 08267cf8: [<0805e49f>] new_thread_handler+0x7f/0xa9 > > 08267d1c: [] _etext+0xf7e66406/0x0 > > > > Thanks, > > > > Paul. > > > > > > > > > > -- System Information: > > Debian Release: testing/unstable > > APT prefers unstable > > APT policy: (500, 'unstable') > > Architecture: i386 (i686) > > Shell: /bin/sh linked to /bin/bash > > Kernel: Linux 2.6.16-1-k7 > > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > > > > Versions of packages user-mode-linux depends on: > > ii uml-utilities 20060323-3 User-mode Linux (utility > > programs) > > > > user-mode-linux recommends no packages. > > > > -- no debconf information -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7
On Mon, May 15, 2006 at 12:08:58PM +0200, Mattia Dongili wrote: > did you mean .17-rc4? Debian kernels contain very little modifications, > and usually track upstream very closely. Yes I did, sorry. Jeff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#366915: [Pkg-uml-pkgs] Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7
On Mon, May 15, 2006 at 08:39:54AM -0400, Jeff Dike wrote: > On Mon, May 15, 2006 at 12:08:58PM +0200, Mattia Dongili wrote: > > Oh, I found > > CONFIG_PAGE_OFFSET=0xB000 > > > > may this be the problem? I found reports telling it broke other SW: > > http://lists.debian.org/debian-kernel/2006/04/msg00042.html > > Yup, that's the problem. They did spring a split change on you. > > On rc4, UML will run if you enable host 2G/2G support. Does this mean that UML will run on a non-standard-vm-split _only_ if the host has CONFIG_VMSPLIT_2G=y ? If so is this considered a bug or a feature? :) Thanks a lot -- mattia :wq! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#366915: [Pkg-uml-pkgs] Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7
On Mon, May 15, 2006 at 09:55:09PM +0200, Mattia Dongili wrote: > Does this mean that UML will run on a non-standard-vm-split _only_ if > the host has CONFIG_VMSPLIT_2G=y ? The question is not clear. The host will only have a nonstandard split if it has CONFIG_VMSPLIT_2G or equivalent enabled. Do you instead mean whether UML will run on a nonstandard split host if IT (not the host) has CONFIG_HOST_2G_2G (not CONFIG_VMSPLIT_2G) enabled? If so, the answer for now is yes. > If so is this considered a bug or a feature? :) More a bug. We are considering ways of detecting the host vmsplit at run time and adapting to it, but added back the CONFIG_HOST_2G_2G as an interim measure. Jeff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#366915: [Pkg-uml-pkgs] Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7
On Mon, May 15, 2006 at 09:23:19PM -0400, Jeff Dike wrote: > On Mon, May 15, 2006 at 09:55:09PM +0200, Mattia Dongili wrote: > > Does this mean that UML will run on a non-standard-vm-split _only_ if > > the host has CONFIG_VMSPLIT_2G=y ? > > The question is not clear. The host will only have a nonstandard > split if it has CONFIG_VMSPLIT_2G or equivalent enabled. > > Do you instead mean whether UML will run on a nonstandard split host > if IT (not the host) has CONFIG_HOST_2G_2G (not CONFIG_VMSPLIT_2G) > enabled? > > If so, the answer for now is yes. Aah! thanks for clarifing and sorry for the confusion on my side.. > > > If so is this considered a bug or a feature? :) > > More a bug. We are considering ways of detecting the host vmsplit at > run time and adapting to it, but added back the CONFIG_HOST_2G_2G as > an interim measure. Thanks, will enable it in the .17 release of the debian package. -- mattia :wq! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#366915: [Pkg-uml-pkgs] Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7
On Tue, May 16, 2006 at 08:09:39PM +0200, Mattia Dongili wrote: > > More a bug. We are considering ways of detecting the host vmsplit at > > run time and adapting to it, but added back the CONFIG_HOST_2G_2G as > > an interim measure. > > Thanks, will enable it in the .17 release of the debian package. The option is not without cost. It reduces the address space available to UML processes. Since the B000 split seems to be Debian-specific, you might add a corresponding Debian-specific patch to UML which defines the top of the address space to B000, rather than A000, which CONFIG_HOST_2G_2G does. Jeff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]