[asterisk-bugs] [DAHDI-linux 0014808]: [patch] ioctls from 32bit userspace on 64bit kernel
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Dec 28 13:54:15 CST 2009
The following issue is now READY FOR TESTING.
======================================================================
https://issues.asterisk.org/view.php?id=14808
======================================================================
Reported By: tzafrir
Assigned To:
======================================================================
Project: DAHDI-linux
Issue ID: 14808
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: ready for testing
JIRA:
Reviewboard Link:
======================================================================
Date Submitted: 2009-04-01 18:38 CDT
Last Modified: 2009-12-28 13:54 CST
======================================================================
Summary: [patch] ioctls from 32bit userspace on 64bit kernel
Description:
Create a 32bit system on (chroot_dir/ , for this example) of a 64bit
system.
Connect a DAHDI device and load its drivers.
On Debian/Ubuntu amd64:
debootstrap --arch=i386
--insclude=build-essential,subversion,libreadline5-dev,libssl-dev,libnewt-dev
SUITE chroot_dir
chroot chroot_dir
# and build asterisk
(SUITE is the name of the distro to install: lenny, sid, testing,
unstable, jaunty, hardy, etc.)
Now run:
mount -o bind /dev chroot_dir/dev
chroot chroot_dir
mount /proc
mount /sys
dahdi_genconf
dahdi_cfg
The last command will generate errors:
DAHDI_CHANCONFIG failed on channel 1: Invalid argument (22)
Such a case should probably be handled through a compat_ioctl
(linux/compat.h). More reading is needed :-)
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0015884 MeetMe conference does break immediatel...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-12-28 13:54 tzafrir Status confirmed => ready for
testing
======================================================================
More information about the asterisk-bugs
mailing list