All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koef <koef@xs4all.nl>
To: alsa-devel@lists.sourceforge.net
Subject: Running 32 bit apps under 64 bit kernel
Date: Tue, 12 Oct 2004 16:56:57 +0200	[thread overview]
Message-ID: <20041012145657.GA22992@bukken.notsupported.org> (raw)

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

             reply	other threads:[~2004-10-12 14:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-12 14:56 Koef [this message]
2004-10-12 15:17 ` Running 32 bit apps under 64 bit kernel Takashi Iwai
2004-10-12 17:01   ` Koef

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=20041012145657.GA22992@bukken.notsupported.org \
    --to=koef@xs4all.nl \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.