Gerald Dachs
2005-Nov-07 15:06 UTC
[Asterisk-Users] zaphfc not generally compatible with kernels >= 2.6.13
Hi, I am very new to asterisk so forgive me if I tell something stupid. I am investigating currently a problem with zaphfc. I get only very few interrupts, they don't get lost, the interrupt count increases only very slowly. I really don't know where to look for the problem, so I looked here and there and found the following line in zaphfc.c from bristuff-0.2.0-RC8o: schedule_timeout((30 * HZ) / 1000); // wait 30 ms IIRC the default HZ in 2.6.13 (or was it 2.6.14?) is 250. In our kernel HZ is 100. So the wait gets too short, should the driver not check that CONFIG_HZ_1000 is set? I am not sure that this is the reason for my problem, but I build currently a new kernel and will test it. Gerald
Gerald Dachs
2005-Nov-07 15:44 UTC
[Asterisk-Users] zaphfc not generally compatible with kernels >= 2.6.13
On Mon, 7 Nov 2005 23:06:24 +0100 Gerald Dachs <gda@gmx.de> wrote:> Hi, > > I am very new to asterisk so forgive me if I tell something stupid.It has happend, my post was stupid> I am investigating currently a problem with zaphfc. I get only very few interrupts, > they don't get lost, the interrupt count increases only very slowly. > > I really don't know where to look for the problem, so I looked here and there and found > the following line in zaphfc.c from bristuff-0.2.0-RC8o: > schedule_timeout((30 * HZ) / 1000); // wait 30 msschedule_timeout is a kernel call that gets ticks as arg and not ms. Gerald