All of lore.kernel.org
 help / color / mirror / Atom feed
* Running 32 bit apps under 64 bit kernel
@ 2004-10-12 14:56 Koef
  2004-10-12 15:17 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Koef @ 2004-10-12 14:56 UTC (permalink / raw)
  To: alsa-devel

I have AMD64 machine running 64 bit 2.6.9-rc3 kernel. 64 bit sound apps run
fine, but 32 bit apps do not:

$ aplay file.wav
aplay: main:508: audio open error: Invalid argument

And I find in my syslog:

ioctl32(aplay:1080): Unknown cmd fd(3) cmd(80045500){00} arg(ffffd77c) on
/dev/snd/controlC0

A strace segment:

open("/dev/snd/controlC0", O_RDONLY)    = 3
close(3)                                = 0
open("/dev/snd/controlC0", O_RDWR)      = 3
ioctl(3, USBDEVFS_CONTROL, 0xffffd76c)  = -1 EINVAL (Invalid argument)
close(3)                                = 0
write(2, "aplay: main:508: ", 17aplay: main:508: )       = 17
write(2, "audio open error: Invalid argume"..., 34audio open error: Invalid
argument) = 34

The same segment with 64 bit aplay binary:

open("/dev/snd/controlC0", O_RDONLY)    = 3
close(3)                                = 0
open("/dev/snd/controlC0", O_RDWR)      = 3
ioctl(3, USBDEVFS_CONTROL, 0x7fbffff41c) = 0
ioctl(3, 0x40045532, 0x7fbffff464)      = 0
open("/dev/snd/pcmC0D0p", O_RDWR)       = 4
close(3)                                = 0

-- 
Koef.


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Running 32 bit apps under 64 bit kernel
  2004-10-12 14:56 Running 32 bit apps under 64 bit kernel Koef
@ 2004-10-12 15:17 ` Takashi Iwai
  2004-10-12 17:01   ` Koef
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2004-10-12 15:17 UTC (permalink / raw)
  To: Koef; +Cc: alsa-devel

At Tue, 12 Oct 2004 16:56:57 +0200,
Koef wrote:
> 
> I have AMD64 machine running 64 bit 2.6.9-rc3 kernel. 64 bit sound apps run
> fine, but 32 bit apps do not:
> 
> $ aplay file.wav
> aplay: main:508: audio open error: Invalid argument

Did you snd-ioctl32?


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Running 32 bit apps under 64 bit kernel
  2004-10-12 15:17 ` Takashi Iwai
@ 2004-10-12 17:01   ` Koef
  0 siblings, 0 replies; 3+ messages in thread
From: Koef @ 2004-10-12 17:01 UTC (permalink / raw)
  To: alsa-devel

On Tue, Oct 12, 2004 at 05:17:57PM +0200, Takashi Iwai wrote:

> Koef wrote:
> > 
> > I have AMD64 machine running 64 bit 2.6.9-rc3 kernel. 64 bit sound apps run
> > fine, but 32 bit apps do not:
> 
> Did you snd-ioctl32?

Ah! So that's the magic word. I apologize for not finding this in the
documentation ;-) All is well now.

Thanks, Koef.


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-12 17:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-12 14:56 Running 32 bit apps under 64 bit kernel Koef
2004-10-12 15:17 ` Takashi Iwai
2004-10-12 17:01   ` Koef

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.