[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201001160902.40931.arnd@arndb.de>
Date: Sat, 16 Jan 2010 09:02:40 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Atsushi Nemoto <anemo@....ocn.ne.jp>
Cc: "Greg Kroah-Hartman" <gregkh@...e.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] compat_ioctl: Supress "unknown cmd" message on serial /dev/console
On Sunday 10 January 2010, Atsushi Nemoto wrote:
> After the commit fb07a5f8 ("compat_ioctl: remove all VT ioctl
> handling"), I got this error message on 64-bit mips kernel with 32-bit
> busybox userland:
>
> ioctl32(init:1): Unknown cmd fd(0) cmd(00005600){t:'V';sz:0} arg(7fd76480) on /dev/console
>
> The cmd 5600 is VT_OPENQRY. The busybox's init issues this ioctl to
> know vt-console or serial-console. If the console was serial console,
> VT ioctls are not handled by the serial driver.
>
> And by quick search, I found some programs using VT_GETMODE to check
> vt-console is available or not.
>
> Signed-off-by: Atsushi Nemoto <anemo@....ocn.ne.jp>
Acked-by: Arnd Bergmann <arnd@...db.de>
Thanks for adding it to your tree, Greg. I'm a bit slow on
email currently, as I'm travelling.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists