From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Jones Date: Mon, 12 Apr 1999 14:53:42 +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 Mon, 12 Apr 1999, Jakub Jelinek wrote: > > When I add > > > > printk("sys32_ioctl(before switch): cmd(%#010x) " > > "SOUND_MIXER_READ_DEVMASK(%#010x)\n",cmd,SOUND_MIXER_READ_DEVMASK); > > I think you wrote in some other mail that strace prints out 0x40044dfe, thus > it has really no value to look for bugs in the kernel. Right. Makes sense. > Either gcc is broken, or you have some problems with includes, or whatever. > Anyway, what distribution is it? UP, BlueSky or what? UP from mid-february. Might stick 5.9 on it sometime soon just to see. I think this is in includes somewhere. I'll check later. > On UP1.1.9, I get > open("/dev/mixer", O_RDWR) = 7 > ioctl(7, 0x20044dfe, 0x25a20) = -1 ENOTTY (Inappropriate ioctl for device) > and no kernel errors from that ioctl (ENOTTY because my /dev/mixer is -> > /dev/null, no soundcard here). > > So, I'd suggest carefully looking at gcc -E output and step through it with > gdb. Will do. Thanks bunches for the help. -- Peter "I cannot believe that God plays dice with the cosmos." -- Einstein