From: Peter Jones <pjones@redhat.com>
To: ultralinux@vger.kernel.org
Subject: Re: Another Brute Force And Ignorance(tm) derived question...
Date: Mon, 12 Apr 1999 12:46:18 +0000 [thread overview]
Message-ID: <marc-linux-ultrasparc-92392639229021@msgid-missing> (raw)
In-Reply-To: <marc-linux-ultrasparc-92387605531299@msgid-missing>
On Sun, 11 Apr 1999, David Miller wrote:
> Date: Mon, 12 Apr 1999 00:50:47 -0400 (EDT)
> From: Peter Jones <pjones@redhat.com>
>
> > 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?
>
> Maybe rebuild aumix with more recent kernel header files. I saw this
> too with xcdplay, so it might be the same problem.
>
> Actually, I couldn't completely parse your recollection of the
> debugging printk output, can you show me exactly what the kernel said
> with your debugging statements? (even better yet, tell me the machine
> where you did this poking so I can go on and snoop around :-)
When I add
printk("sys32_ioctl(before switch): cmd(%#010x) "
"SOUND_MIXER_READ_DEVMASK(%#010x)\n",cmd,SOUND_MIXER_READ_DEVMASK);
before the switch, and the same surrounding the case in question, I get:
Apr 12 00:40:42 localhost kernel: sys32_ioctl(before switch):
cmd(0x80047482) SOUND_MIXER_READ_DEVMASK(0x20044dfe)
Apr 12 00:40:42 localhost kernel: sys32_ioctl(before case):
cmd(0x80047482) SOUND_MIXER_READ_DEVMASK(0x20044dfe)
Apr 12 00:40:42 localhost kernel: sys32_ioctl(after case): cmd(0x80047482)
SOUND_MIXER_READ_DEVMASK(0x20044dfe)
for most ioctl()'s, And when I actually try and use
SOUND_MIXER_READ_DEVMASK I get:
Apr 12 00:40:42 localhost kernel: sys32_ioctl(before switch):
cmd(0x40044dfe) SOUND_MIXER_READ_DEVMASK(0x20044dfe)
Apr 12 00:40:42 localhost kernel: sys32_ioctl: Unknown cmd fd(3)
cmd(40044dfe) arg(0002563c)
Which seems strange to me in itself, because It doesn't look like its
actually hitting that case. Unfortunatly, this is on a friend's box, not
a box at work (being as I'm a tech support person, not a developer ;)
Also (maybe useful) if I go change aumix, so that its got:
printf("SOUND_MIXER_READ_DEVMASK(%#010x)\n",SOUND_MIXER_READ_DEVMASK);
if (ioctl(mixer_fd, SOUND_MIXER_READ_DEVMASK, &devmask))
return (3);
I get:
SOUND_MIXER_READ_DEVMASK(0x20044dfe)
out of aumix, and
Apr 12 08:36:30 localhost kernel: sys32_ioctl: Unknown cmd fd(4)
cmd(40044dfe) arg(0002563c)
out of the kernel. (Unfortunatly, I already booted back to a kernel
that didn't obscenely log on every ioctl() . I'll try that again later)
Its looking like if I do ioctl(mixer_fd,0x20044dfe,&devmask), it doesn't
seem to do that, which is strange as well. I'll test this again once I
rebuild that debug kernel later. *sigh*. Off too meetings now.
If I'm completely nuts, let me know. Hell, if you think you can talk them
to letting me go buy one of these cards and stick it on one of the boxes
in the testlab so you can look at this, let me know ;)
-- Peter
"Don't everyone thank me at once!"
-- Solo
next prev parent reply other threads:[~1999-04-12 12:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-12 0:08 Another Brute Force And Ignorance(tm) derived question Peter Jones
1999-04-12 1:26 ` David Miller
1999-04-12 4:04 ` Peter Jones
1999-04-12 4:11 ` David Miller
1999-04-12 4:50 ` Peter Jones
1999-04-12 4:58 ` David Miller
1999-04-12 5:14 ` Jakub Jelinek
1999-04-12 12:46 ` Peter Jones [this message]
1999-04-12 13:22 ` Jakub Jelinek
1999-04-12 14:53 ` Peter Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ultrasparc-92392639229021@msgid-missing \
--to=pjones@redhat.com \
--cc=ultralinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.