ports/160667: WARNING pid 4826 (xmmix): ioctl sign-extension ioctl ffffffffc0044d04
Martin Etteldorf
etteldor at gmail.com
Sun Sep 11 20:50:09 UTC 2011
>Number: 160667
>Category: ports
>Synopsis: WARNING pid 4826 (xmmix): ioctl sign-extension ioctl ffffffffc0044d04
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 11 20:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Martin Etteldorf
>Release: 8.2-RELEASE
>Organization:
>Environment:
FreeBSD kadath.gruftie.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Sun Aug 7 22:56:49 CEST 2011 etteldor at oonai.gruftie.net:/usr/src/sys/amd64/compile/KADATH amd64
>Description:
xmmix not 64-bit clean, causing the following WARNING when changing the volume levels:
Sep 11 22:30:45 kadath kernel: WARNING pid 4826 (xmmix): ioctl sign-extension ioctl ffffffffc0044d04
Sep 11 22:30:46 kadath last message repeated 88 times
>How-To-Repeat:
compile xmmix from ports on a 64-bit platform, run it, change the volume and observe dmesg or /var/log/messages
>Fix:
# diff -u mixer.c.orig mixer.c
--- mixer.c.orig 2011-09-11 22:40:27.000000000 +0200
+++ mixer.c 2011-09-11 22:40:56.000000000 +0200
@@ -124,7 +124,7 @@
* Nothing
*/
STATIC void
-do_ioctl(int cmd, int *arg, char *name, int dir)
+do_ioctl(long cmd, int *arg, char *name, int dir)
{
int ret;
char errmsg[STR_BUF_SZ];
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list