Date: Sun, 11 Sep 2011 20:46:00 GMT From: Martin Etteldorf <etteldor@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/160667: WARNING pid 4826 (xmmix): ioctl sign-extension ioctl ffffffffc0044d04 Message-ID: <201109112046.p8BKk0Do036563@red.freebsd.org> Resent-Message-ID: <201109112050.p8BKo8h4080264@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109112046.p8BKk0Do036563>