Re: [Bug 14537] New: missing compat_ioctl on x86_64

From: Andi Kleen
Date: Wed Nov 04 2009 - 10:15:03 EST


Thomas Gleixner <tglx@xxxxxxxxxxxxx> writes:

>> - with gnome-terminal:
>> ioctl32(gnome-terminal:1755): Unknown cmd fd(19) cmd(0000530b){t:'S';sz:0}
>> arg(48111345) on /dev/pts/0
>> ioctl32(gnome-terminal:1755): Unknown cmd fd(19) cmd(0000530b){t:'S';sz:0}
>> arg(4811134a) on /dev/pts/0
>> ioctl32(gnome-terminal:1755): Unknown cmd fd(19) cmd(0000530b){t:'S';sz:0}
>> arg(48111351) on /dev/pts/0
>
> That looks more like an application problem. 'S' is SNDRV_SEQ_IOCTL
> which has no ioctl nr 0xb. Also I have no idea why a sound sequencer
> ioctl should work on /dev/pts/0 :)

ioctl numbers are not always unique (I haven't checked if this is the
case here). But it might be that it's some other ioctl actually.

One easy way to check is to install debuginfo and set break points
on ioctl in gdb and then look at the sources in the backtrace.

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/