I tried vdso=1 with kernel-2.6.10-1.766_FC3 on Pentium 4. Kernel crashed immediately. 2.6.11-rc4 works fine.
Created attachment 111121 [details] Output from serial console This is the kernel output from the serial console.
2.6.9-5.EL.hjl.0.3smp a) sounds like this should be a rhel bug b) what modifications are in this kernel ?
It happened with both FC3 and RHEL 4 kernels. I just happened to have a serial cable on my RHEL 4 machine. I don't think it is unrelated to my modification. I verified it with the unmodified 2.6.10-1.766_FC3 UP and SMP kernel binary rpms.
I meant to say that the crash is unrelated to my changes.
I don't see how this code in sysenter.c: addr = do_mmap(NULL, 0, 4096, PROT_READ | PROT_EXEC, MAP_PRIVATE, 0); current->mm->context.vdso = (void *)addr; ti->sysenter_return = (void *)addr + (long)&SYSENTER_RETURN_OFFSET; if (addr != -1) { vma = find_vma(current->mm, addr); if (vma) { pgprot_val(vma->vm_page_prot) &= ~_PAGE_RW; get_page(sysenter_page); install_page(current->mm, vma, addr, sysenter_page, vma->vm_page_prot); } } will work since install_page expects a file backed page while sysenter_page isn't backed by a file at all. Another thing, map_vsyscall may be called before sysenter_setup such that sysenter_page may be NULL.
*** This bug has been marked as a duplicate of 139318 ***