[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#580525: beep: "Unknown cmd" messages in syslog



On 2012-03-07 15:36 +0100, Jonathan Nieder wrote:

>> On 2012-03-03 23:33 +0100, Sven Joachim wrote:
>>> On 2010-05-06 17:39 +0200, Sven Joachim wrote:
>
>>>> I get a message like the following in syslog whenever I run beep:
>>>>
>>>> May 6 17:04:58 turtle kernel: ioctl32(beep:24688): Unknown cmd
>>>> fd(3) cmd(8000451a){t:'E';sz:0} arg(08049569) on /dev/tty0
>
> This is probably from (in beep.c):
>
>   if (ioctl(console_fd, EVIOCGSND(0)) != -1)
>     console_type = BEEP_TYPE_EVDEV;
>   else
>     console_type = BEEP_TYPE_CONSOLE;
>
> where the missing ioctl is completely expected and not worth a
> warning.  So yes, this looks like a (cosmetic) bug.
>
> [...]
>>> The message still occurs in 3.2 kernels (including the Debian 3.2.7-1
>>> kernel), but Linus removed it directly after the Linux 3.2 release in
>>> commit 07d106d0a3 (vfs: fix up ENOIOCTLCMD error handling).
>
> Thanks.  That patch is not queued for 3.2.y --- should it be?

Probably not, since it hardly meets the conditions described in
Documentation/stable_kernel_rules.txt.

Cheers,
       Sven



Reply to: