From: Peter Jones Date: Mon, 12 Apr 1999 04:50:47 +0000 Subject: Re: Another Brute Force And Ignorance(tm) derived question... Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ultralinux@vger.kernel.org On Sun, 11 Apr 1999, David Miller wrote: > Date: Mon, 12 Apr 1999 00:04:05 -0400 (EDT) > From: Peter Jones > > > Might want to double-check on strace, have it print out the raw hex > > value for the ioctl cmd code and make sure it matches up. > > open("/dev/mixer", O_RDWR) = 4 > ioctl(0x4, 0x40044dfe, 0x2563c) = -1 (errno 22) > > No dice, matches up just fine. Any more ideas? > > Could be a compiler bug then, put some debugging printk's into > sys32_ioctl(), one right before the big switch which goes: > > printk("sys32_ioctl(before switch): cmd(%08x) " > "SOUND_MIXER_READ_DEVMASK(%08x)\n", > cmd, SOUND_MIXER_READ_DEVMASK); > > Then put a similar printk right below the case for > SOUND_MIXER_READ_DEVMASK itself. > > This bug would explain some problems I had with the gnome mixer applet > and some other sound programs on sparc64... Hrm. Odd. When aumix calls that, its sending 0x20044dfe, which is what kernelspace is _expecting_ to get. somewhere in the middle its becoming 0x40044dfe , which is falling through the case. Any ideas? Anyway, I'm going to bed. I've managed to be in line for a 9:30 meating tomorrow. -- Peter Stay sane inside insanity. -- RHPS