[Users] asterisk ztdummy problem

Dietmar Maurer dietmar at proxmox.com
Fri Dec 19 02:55:34 EST 2008


Hi all,

I just moved our asterisk installation into a container. Everything
worked well
besides the ztdummy timer device.

After some debugging it turns out that it is a 64bit/32bit problem.

My host is an amd64 debian etch (Proxmox VE).

Container: debian lenny 32bit - fails
Container: debian lenny 64bit - works

The code which fails is a simple ioctl:

int x = 160;
int fd = open("/dev/zap/timer", O_RDWR);

ioctl(fd, ZT_TIMERCONFIG, &x); // this fails on 32bit

I am out of ideas. I can't see any 32/64 bit issues in the drivers.

Any ideas?

- Dietmar




More information about the Users mailing list