public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* chroot under kernel 3.4.x gives core dumps
@ 2012-06-04 21:30 Toralf Förster
  2012-06-04 21:41 ` richard -rw- weinberger
  2012-06-05 10:43 ` commit 0fc9d10 : chroot under kernel 3.4.x " Toralf Förster
  0 siblings, 2 replies; 6+ messages in thread
From: Toralf Förster @ 2012-06-04 21:30 UTC (permalink / raw)
  To: Linux Kernel

When I try under both kernel versions to chroot into a user mode linux
image, I often get this :

+ mount -o loop /home/tfoerste/virtual/uml/gentoo_unstable /mnt/loop
+ mount -t proc none /mnt/loop/proc
+ mount -o bind /dev /mnt/loop/dev
+ mount -o bind /dev/pts /mnt/loop/dev/pts
+ mount -o bind /usr/portage /mnt/loop/usr/portage
+ mount -o bind /usr/local/portage /mnt/loop/usr/local/portage
+ mount -o bind /tmp/uml_portage /mnt/loop/var/tmp/portage
+ chroot /mnt/loop /bin/bash
/home/tfoerste/workspace/bin/chr_uml.sh: line 55:  4143 Segmentation
fault      (core dumped) chroot /mnt/loop /bin/bash


The core file itself is only 400 KB in size and the back trace with gbd
is meaningless :

Core was generated by `/bin/bash'.
Program terminated with signal 11, Segmentation fault.
#0  0xb75cac00 in ?? ()
(gdb) bt
#0  0xb75cac00 in ?? ()
#1  0xb76f4ff4 in ?? ()
Cannot access memory at address 0xffffffdc


In the rare cases, where the chroot doesn't crash, all subsequent
commands cores instead.

Furthermore it seems, that the boinc grid software has problems too
under kernel 3.4.1.

All kernel 3.3.x works fine.

-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-05 13:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-04 21:30 chroot under kernel 3.4.x gives core dumps Toralf Förster
2012-06-04 21:41 ` richard -rw- weinberger
2012-06-05 10:43 ` commit 0fc9d10 : chroot under kernel 3.4.x " Toralf Förster
2012-06-05 10:49   ` richard -rw- weinberger
2012-06-05 10:55   ` Konstantin Khlebnikov
2012-06-05 13:59     ` Toralf Förster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox