Re: SNDCTL_TMR_TIMEBASE or TCGETS
On Tue, Jun 17, 2008 at 09:30:49PM +0200, Gudjon I. Gudjonsson wrote:
> Hi
> I am fighting to get some code written 13 years ago in several
> languages to run decently on my amd64. Making it run in 64 bit mode is
> a far future dream but I'm hoping to fix a chroot. Currently I get most
> success with an etch chroot.
> The program compiles and runs in 64 bit mode but without any sensible
> output but when I run it in the chroot, I get the following output to
> strace several times and then a segmentation fault.
>
> ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xffdb6f38) = -1 ENOTTY
> (Inappropriate ioctl for device)
>
> Since it runs in 64 bit mode I guess it has something to do with the chroot.
> Has anyone seen anything similar?
Make sure /dev is bind mounted in your chroot, as well as proc and such.
--
Len Sorensen
Reply to: