FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-03-2012, 09:33 PM
Sven Joachim
 
Default Bug#580525: beep: "Unknown cmd" messages in syslog

reassign 580525 linux-2.6
thanks

Reassigning another bug report of mine to the kernel.

On 2010-05-06 17:39 +0200, Sven Joachim wrote:

> Package: beep
> Version: 1.2.2-24
> Severity: normal
>
> 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
>
>
> -- System Information:
> Debian Release: squeeze/sid
> APT prefers unstable
> APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: i386 (x86_64)
>
> Kernel: Linux 2.6.34-rc6-nouveau (SMP w/2 CPU cores)

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).

Cheers,
Sven


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87d38te2lo.fsf@turtle.gmx.de">http://lists.debian.org/87d38te2lo.fsf@turtle.gmx.de
 
Old 03-07-2012, 01:36 PM
Jonathan Nieder
 
Default Bug#580525: beep: "Unknown cmd" messages in syslog

found 580525 linux-2.6/3.2.7-1
severity 580525 minor
tags 580525 + upstream patch
quit

Hi Sven,

> 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?



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120307143646.GC2008@burratino">http://lists.debian.org/20120307143646.GC2008@burratino
 
Old 03-07-2012, 04:41 PM
Sven Joachim
 
Default 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



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87hay08g1x.fsf@turtle.gmx.de">http://lists.debian.org/87hay08g1x.fsf@turtle.gmx.de
 

Thread Tools




All times are GMT. The time now is 04:32 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org