Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 2017 13:06:00 -0700 (PDT)
From:      Christian Kujau <>
To:        Per olof Ljungmark <>
Subject:   Re: ioctl sign-extensio on amd64 (again)
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 4 Aug 2017, Per olof Ljungmark wrote:
> In building a camera system with multimedia/motion, syslog is filled up with,
> kernel: WARNING pid 72755 (motion): ioctl sign-extension ioctl
> ffffffffc0585611
> After som googling this appears to be a long standing problem with some python
> stuff and amd64.
> My question is, how can I get rid of the messages? Motion works as expected, I
> just do not want this filling up the logs.

Short of disabling the printf in sys_ioctl() in sys/kern/sys_generic.c, 
the Right Thing To Do™ would be to fix multimedia/motion not to issue
those erroneous ioctls. This was reported (and sometimes fixed) for other 
applications too:

* sysutils/duplicity-devel/ throws ioctl sign-extension ioctl ffffffff80087467

* mt(8): ioctl sign-extension warnings from some mt commands on 64-bit

* Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).

Maybe the respective commits could shed some light on how to do this for 

BOFH excuse #417:

Computer room being moved.  Our systems are down for the weekend.

Want to link to this message? Use this URL: <>