Subject: Re: [vserver] Again: [vserver] Linux vServer: general protection fault with apache2 and kernel 2.6.38.6
From: Urban Loesch <bind@enas.net>
Date: Sat, 06 Aug 2011 14:13:37 +0200


Hi Herbert,
> I just tried to pinpoint the location based on my
> 2.6.38.8-vs2.3.0.37-rc17 kernel and I suspect that
> task_rq(p) is causing this (for certain p), but
> I was wondering why your task_rq_lock() is 0xa0
> bytes in size, where mine is just 0x65 bytes ...
>
> especially as the task_rq_lock function is quite
> compact ...
>
> could you upload the output of the folling commands
> for me (executed in the build directory of your
> kernel or with the vmlinux object file)
>
> # objdump -t vmlinux | grep task_rq_lock

gives me only on line:

/usr/src/linux-2.6.38.8 # objdump -t vmlinux | grep task_rq_lock
ffffffff8104ec60 l     F .text	000000000000009c task_rq_lock


> # objdump -d vmlinux --start-address=0x`objdump -t vmlinux | sed -n '/task_rq_lock/
{s/ .*//; p}'` | sed '/task>:/ Q'

more lines :-)
You can download it at http://www.enas.net/objdump.txt

thanks,
Urban