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

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.