Processed: Re: Bug#434752: Kernel hangs when I echo 0 /proc/sys/vm/vdso_enabled
Processing commands for [EMAIL PROTECTED]: tags 434752 + patch Bug#434752: Kernel hangs when I echo 0 /proc/sys/vm/vdso_enabled There were no tags set. Tags added: patch stop Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#434752: Kernel hangs when I echo 0 /proc/sys/vm/vdso_enabled
tags 434752 + patch stop On Thu, Jul 26, 2007, Loïc Minier wrote: Since some months, I get unusable backtraces from gdb; I was pointed at an OpenSuse bug at: https://bugzilla.novell.com/show_bug.cgi?id=258433 I extracted the patch Novell/OpenSuse applied to its kernel, would be nice to get it in Debian. -- Loïc Minier Subject: i386: allow debuggers to access the vsyscall page with compat vDSO From: Jan Beulich [EMAIL PROTECTED] Signed-off-by: Jan Beulich [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] arch/i386/kernel/sysenter.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux/arch/i386/kernel/sysenter.c === --- linux.orig/arch/i386/kernel/sysenter.c +++ linux/arch/i386/kernel/sysenter.c @@ -336,7 +336,9 @@ struct vm_area_struct *get_gate_vma(stru int in_gate_area(struct task_struct *task, unsigned long addr) { - return 0; + const struct vm_area_struct *vma = get_gate_vma(task); + + return vma addr = vma-vm_start addr vma-vm_end; } int in_gate_area_no_task(unsigned long addr)
Bug#434752: Kernel hangs when I echo 0 /proc/sys/vm/vdso_enabled
Package: linux-2.6 Version: 2.6.22-2 Severity: normal Hi, Summary: echo 0 /proc/sys/vm/vdso_enabled hangs my kernel. Since some months, I get unusable backtraces from gdb; I was pointed at an OpenSuse bug at: https://bugzilla.novell.com/show_bug.cgi?id=258433 which suggests disabling VDSO. My value of /proc/sys/vm/vdso_enabled is 2 before I try, and the system hangs shortly after I echo 0 in that tunable. The important issue I'd like to see fixed is this backtrace issue, but I'm reporting this crash as I think the kernel shouldn't crash and because I'm using this tunable to diagnose the backtrace issue. I'll use a kernel command line parameter in the mean time. Bye, -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-1-686 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Loïc Minier
Bug#434752: Kernel hangs when I echo 0 /proc/sys/vm/vdso_enabled
* Date: Thu, 26 Jul 2007 15:21:49 +0200 Package: linux-2.6 Version: 2.6.22-2 Severity: normal [--] Summary: echo 0 /proc/sys/vm/vdso_enabled hangs my kernel. Since some months, I get unusable backtraces from gdb; I was pointed at an OpenSuse bug at: https://bugzilla.novell.com/show_bug.cgi?id=258433 which suggests disabling VDSO. My value of /proc/sys/vm/vdso_enabled is 2 before I try, and the system hangs shortly after I echo 0 in that tunable. http://mid.gmane.org/[EMAIL PROTECTED] Here you can find full Cc list of all heavy-lifters in the Linux kernel today (mis) doing that vDSO stuff all over last year. Try to make good bugreport send and see what will happened. The important issue I'd like to see fixed is this backtrace issue, but I'm reporting this crash as I think the kernel shouldn't crash and because I'm using this tunable to diagnose the backtrace issue. A debugger was mentiond here, if you can debug this/help, contact those guys: http://mid.gmane.org/[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]