Hi Jeff,
It seems that aio_reserved3 was removed from (struct iocb)..
So I just removing it from the initialization code in uml.
Am I wrong? ;)


On 7/30/07, Linux Lover <favorite.linux@gmail.com> wrote:
Sorry for the late response.
I let this be a bug. And do "git bisect bad".
But when I try to build another version, it fails. So I may hit another point that UML can't build. ;)
arch/um/os-Linux/aio.c: In function 'do_aio':
arch/um/os-Linux/aio.c:80: error: unknown field 'aio_reserved3' specified in initializer
make[1]: *** [arch/um/os-Linux/aio.o] Error 1
make: *** [arch/um/os-Linux] Error 2

The last commit log is:
[d6454706c382ab74e2ecad7803c434cc6bd30343] Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jikos/hid

So which patch should I patch?



On 7/26/07, Jeff Dike < jdike@addtoit.com> wrote:
On Wed, Jul 18, 2007 at 02:50:31PM +0800, Linux Lover wrote:
> The kernel builds OK, but when I run it, I meet with segmentation fault.
> After gdb, the error message is very strange.
> I have attached the frame. Any idea about it?
>
> #4  0x08166527 in kobject_add (kobj=0x8252b2c) at lib/kobject.c:224
> #5  0x081669ba in kset_add (k=0x8252b20) at lib/kobject.c:589
> #6  0x081669d8 in kset_register (k=0x8252b20) at lib/kobject.c:603
> #7  0x08132439 in mlog_sys_init (o2cb_subsys=0x8252bc0) at
> fs/ocfs2/cluster/masklog.c:161
> #8  0x08132501 in o2cb_sys_init () at fs/ocfs2/cluster/sys.c:119
> #9  0x0804f76f in init_o2nm () at fs/ocfs2/cluster/nodemanager.c:944

There's ocfs2 all over this, so it looks like that's an ocfs2 bug.

git-bisect isn't working too well here.  You might try finding a later
commit in which ocfs2 is working again and using that as your starting
point.

                                Jeff

--
Work email - jdike at linux dot intel dot com