Re: [discuss] trap int3 problem while porting a user space application and small cleanup patch

From: Andi Kleen
Date: Mon Feb 13 2006 - 04:23:53 EST


On Monday 13 February 2006 08:55, Roberto Nibali wrote:
> Hello Andi,
>
> Thanks for your comments.
>
> >> The issue I'm trying to track down now is why I cannot get it to work on
> >> a x86_64 kernel (Sun Fire V20z with AMD Opteron(tm) Processor 252 on
> >> SLES 9 PL3). I suspect 32/64 bit issues between in my ioctl message
> >> passing between user space and kernel space.
> >
> > Quite possible. The mpt ioctls would need a ioctl conversion handler
> > to allow a 32bit program to use the 64bit ioctls. Or just use a 64bit
> > executable.
>
> It is a 64bit executable:

Then whatever problem the program has is not enabled to 32bit ioctl emulation.
Maybe it has some generic 64bit issues.

Thanks for looking into it.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/