Re: SNDCTL_TMR_TIMEBASE or TCGETS

2008-06-19 Thread Gudjon I. Gudjonsson
Hi again Thanks for the advice. The problem is a tcl problem. I could get the program running by setting up a sarge i386 chroot. Then I compiled tcl-8.2 for that system and then the program runs happily. The solution is more amd64 specific than the problem :) The function TclX_EvalRCFile

Re: SNDCTL_TMR_TIMEBASE or TCGETS

2008-06-18 Thread Lennart Sorensen
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

Re: SNDCTL_TMR_TIMEBASE or TCGETS

2008-06-18 Thread Stephen Olander-Waters
, 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. Is this some sort

Re: SNDCTL_TMR_TIMEBASE or TCGETS

2008-06-18 Thread Lennart Sorensen
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

Re: SNDCTL_TMR_TIMEBASE or TCGETS

2008-06-18 Thread Gabor Gombas
, SNDCTL_TMR_TIMEBASE or TCGETS, 0xffdb6f38) = -1 ENOTTY (Inappropriate ioctl for device) Depending on what exactly is the application trying to do this can be harmless or not. What is descriptor 5? If it really is a TTY, then it may be that the application tries to set options that the Linux terminal emulator does

SNDCTL_TMR_TIMEBASE or TCGETS

2008-06-17 Thread Gudjon I. Gudjonsson
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