Steffen Koepf
2003-Nov-19 03:55 UTC
[Asterisk-Users] E100P driver overwrites memory used bye linux-kernel
Hi, we have a Digium E100P in use with asterisk and the driver of the E100P overwrites important memory locations of the kernel. The side-effects are malloc-errors when simple shell commands are used, unable to compile anything (internal compiler errors), files that are edited are in the state as before editing. The memory is ok, tested this with memtest86 and no problems occur if the driver is not loaded. System: - CPU: Athlon XP 2600+ - RAM: 1 GB DDR400 RAM - BRD: EPOX 8KRA2i KT600 Kernel 2.4.21 (4GB) High Memory Support [*] HIGHMEM I/O support [*] MTRR (Memory Type Range Register) support [*] Local APIC support on uniprocessors [*] IO-APIC support on uniprocessors can the highmem i/o support be the cause of the problems? Has anyone had this problem, too? cu, Steffen Koepf
Steffen Koepf
2003-Nov-21 03:22 UTC
[Asterisk-Users] Re: E100P driver overwrites memory used bye linux-kernel
Hi, i did some tests. If the kernel modules are loaded Module Size Used by Not tainted wct1xxp 11488 31 zaptel 176256 64 [wct1xxp] ppp_generic 19068 0 [zaptel] slhc 5392 0 [ppp_generic] and the E1 is connected to the PBX, everything is ok. Then i started asterisk, it opens the D-Channel and everything is still ok. I left the system in this state and it survived one night without problems. But immediately after the first call (B-Channel) the system memory is overwritten and bad things happen. I looked through the wct1xxp.c and it looks like the D-Channel (HDLC) is handled between hardware and driver like the B-Channels (no HDLC decoding in hardware), right? That would mean that it is probably software problem. Is there a way to do some test calls without asterisk? cu, Steffen