* Oops on 2.5.40, flush_tlb_mm
@ 2002-10-03 0:12 Zwane Mwaikambo
2002-10-03 1:42 ` Andrew Morton
0 siblings, 1 reply; 3+ messages in thread
From: Zwane Mwaikambo @ 2002-10-03 0:12 UTC (permalink / raw)
To: Linux Kernel; +Cc: zwane
Hi,
Please keep my CC on any replies (i'm currently experiencing
DNS problems and hence do not get lkml)
Dorking around in mozilla did this, the machine had completely locked up
so this was from the serial;
Unable to handle kernel paging request at virtual address 5a5a5ad6
printing eip:
c0115f2f
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0060:[<c0115f2f>] Not tainted
EFLAGS: 00010202
EIP is at flush_tlb_mm+0x1f/0x90
eax: c1ce01a0 ebx: 5a5a5a5a ecx: 00000000 edx: fffffffe
esi: 00400000 edi: c759d418 ebp: 00100000 esp: c2749f04
ds: 0068 es: 0068 ss: 0068
Process mozilla-bin (pid: 1396, threadinfo=c2748000 task=c1ce01a0)
Stack: c759d418 c01418ab 5a5a5a5a c759d418 c142d810 c0141a1a c142d810 c195263c
c012c577 00000001 00000000 c1ce01a0 41500000 00100073 00000002 c195263c
c0141c62 c195263c 41800000 41500000 00000025 00000025 c2fda834 00000073
Call Trace:
[<c01418ab>]change_protection+0x1bb/0x210
[<c0141a1a>]mprotect_attempt_merge+0x11a/0x1d0
[<c012c577>]update_process_times+0x27/0x30
[<c0141c62>]mprotect_fixup+0x192/0x1b0
[<c0141de7>]sys_mprotect+0x167/0x2f0
[<c010bd67>]do_IRQ+0x1e7/0x200
[<c0109477>]syscall_call+0x7/0xb
Code: 23 53 7c 39 58 60 75 38 8b 40 5c 85 c0 74 08 0f 20 d8 0f 22
(gdb) list *flush_tlb_mm+0x1f
0xc0115f2f is in flush_tlb_mm (smp.c:451).
446 void flush_tlb_mm (struct mm_struct * mm)
447 {
448 unsigned long cpu_mask;
449
450 preempt_disable();
451 cpu_mask = mm->cpu_vm_mask & ~(1UL << smp_processor_id());
452
453 if (current->active_mm == mm) {
454 if (current->mm)
455 local_flush_tlb();
--
function.linuxpower.ca
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Oops on 2.5.40, flush_tlb_mm
2002-10-03 1:42 ` Andrew Morton
@ 2002-10-03 0:58 ` Zwane Mwaikambo
0 siblings, 0 replies; 3+ messages in thread
From: Zwane Mwaikambo @ 2002-10-03 0:58 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linux Kernel
On Wed, 2 Oct 2002, Andrew Morton wrote:
> You need Hugh's patch. Was sent to Linus yesterday...
Oh, thanks, sucks being in the dark like this :/
>
> Patch from Hugh Dickins
>
> Our earlier fix for mprotect_fixup was broken - passing an
> already-freed VMA to change_protection().
>
>
>
> mm/mprotect.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletion(-)
>
> --- 2.5.40/mm/mprotect.c~hugh-mprotect-fix Tue Oct 1 23:43:14 2002
> +++ 2.5.40-akpm/mm/mprotect.c Tue Oct 1 23:43:14 2002
> @@ -186,8 +186,10 @@ mprotect_fixup(struct vm_area_struct *vm
> /*
> * Try to merge with the previous vma.
> */
> - if (mprotect_attempt_merge(vma, *pprev, end, newflags))
> + if (mprotect_attempt_merge(vma, *pprev, end, newflags)) {
> + vma = *pprev;
> goto success;
> + }
> } else {
> error = split_vma(mm, vma, start, 1);
> if (error)
>
> .
>
--
function.linuxpower.ca
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Oops on 2.5.40, flush_tlb_mm
2002-10-03 0:12 Oops on 2.5.40, flush_tlb_mm Zwane Mwaikambo
@ 2002-10-03 1:42 ` Andrew Morton
2002-10-03 0:58 ` Zwane Mwaikambo
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2002-10-03 1:42 UTC (permalink / raw)
To: Zwane Mwaikambo; +Cc: Linux Kernel
Zwane Mwaikambo wrote:
>
> Hi,
> Please keep my CC on any replies (i'm currently experiencing
> DNS problems and hence do not get lkml)
>
> Dorking around in mozilla did this, the machine had completely locked up
> so this was from the serial;
>
> Unable to handle kernel paging request at virtual address 5a5a5ad6
> printing eip:
> c0115f2f
> *pde = 00000000
> Oops: 0000
>
> CPU: 0
> EIP: 0060:[<c0115f2f>] Not tainted
> EFLAGS: 00010202
> EIP is at flush_tlb_mm+0x1f/0x90
> eax: c1ce01a0 ebx: 5a5a5a5a ecx: 00000000 edx: fffffffe
> esi: 00400000 edi: c759d418 ebp: 00100000 esp: c2749f04
> ds: 0068 es: 0068 ss: 0068
> Process mozilla-bin (pid: 1396, threadinfo=c2748000 task=c1ce01a0)
> Stack: c759d418 c01418ab 5a5a5a5a c759d418 c142d810 c0141a1a c142d810 c195263c
> c012c577 00000001 00000000 c1ce01a0 41500000 00100073 00000002 c195263c
> c0141c62 c195263c 41800000 41500000 00000025 00000025 c2fda834 00000073
> Call Trace:
> [<c01418ab>]change_protection+0x1bb/0x210
> [<c0141a1a>]mprotect_attempt_merge+0x11a/0x1d0
> [<c012c577>]update_process_times+0x27/0x30
> [<c0141c62>]mprotect_fixup+0x192/0x1b0
> [<c0141de7>]sys_mprotect+0x167/0x2f0
> [<c010bd67>]do_IRQ+0x1e7/0x200
> [<c0109477>]syscall_call+0x7/0xb
You need Hugh's patch. Was sent to Linus yesterday...
Patch from Hugh Dickins
Our earlier fix for mprotect_fixup was broken - passing an
already-freed VMA to change_protection().
mm/mprotect.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
--- 2.5.40/mm/mprotect.c~hugh-mprotect-fix Tue Oct 1 23:43:14 2002
+++ 2.5.40-akpm/mm/mprotect.c Tue Oct 1 23:43:14 2002
@@ -186,8 +186,10 @@ mprotect_fixup(struct vm_area_struct *vm
/*
* Try to merge with the previous vma.
*/
- if (mprotect_attempt_merge(vma, *pprev, end, newflags))
+ if (mprotect_attempt_merge(vma, *pprev, end, newflags)) {
+ vma = *pprev;
goto success;
+ }
} else {
error = split_vma(mm, vma, start, 1);
if (error)
.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-03 2:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-03 0:12 Oops on 2.5.40, flush_tlb_mm Zwane Mwaikambo
2002-10-03 1:42 ` Andrew Morton
2002-10-03 0:58 ` Zwane Mwaikambo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.