From: Marcus Better <marcus.better@ab...> - 2004-11-25 12:28:45
I'm running a Knoppix system under UML on a Debian host (Sarge, x86). If
the host has the exec-shield kernel patch, then the init process in the
UML segfaults shortly after bootup:
INIT: version 2.78-knoppix booting
... (boot process continues for a while) ...
INIT: PANIC: segmentation violation at 0x420! sleeping for 30 seconds.
It works with host kernels without exec-shield, but it does not seem to
help merely to do
echo 0 > /proc/sys/kernel/exec-shield-randomize
echo 0 > /proc/sys/kernel/exec-shield
I have read about incompatibilites between UML and exec-shield, but got
the impression that disabling exec-shield as above should solve the problem.
What can I do to solve this, short of not using exec-shield? Would it
help to switch to a 2.6 guest kernel?
The kernel versions I use are:
Host: Athlon XP, Debian, kernel 2.6.9 (Debian sources) with
host-skas3-2.6.9-v7.patch from Blaisorblade and exec-shield-nx-2.6.9-A2
Guest: Kernel 2.4.27 from kernel.org with uml-2.4.27-bs1 patch.