Re: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7

2006-05-16 Thread Blaisorblade
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:[e410] 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:  [e420] _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



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7

2006-05-14 Thread Jeff Dike
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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel