Bug#597760: dahdi-source: Adding support for Junghanns douBRI miniPCI

Heinrich Ruthensteiner heinrich.ruthensteiner at googlemail.com
Sat Sep 25 17:27:34 UTC 2010


Hi Tzafrir, Thanks for your support

Am 2010-09-25 11:53, schrieb Tzafrir Cohen:
> Hi, Thanks for he patch,
>
> On Fri, Sep 24, 2010 at 09:05:45PM +0200, Heinrich Ruthensteiner wrote:
>> Unfortunately, this patch is no stable solution. Although it is possible
>> for a short time to work with it, but the complete machine freezes time
>> and again during phone calls over the ISDN line - without any usable
>> entries in the log file.
>
> What kernel do you use? What CPU?

# uname -a
Linux rhodos 2.6.32-5-486 #1 Sat Sep 18 01:43:00 UTC 2010 i586 GNU/Linux


The CPU is a AMD Geode LX single chip processor on a net5501-70 Board 
from Soekris

# cat /proc/cpuinfo
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 5
model		: 10
model name	: Geode(TM) Integrated Processor by AMD PCS
stepping	: 2
cpu MHz		: 499.907
cache size	: 128 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu de pse tsc msr cx8 sep pge cmov clflush mmx mmxext 3dnowext 
3dnow
bogomips	: 999.81
clflush size	: 32
cache_alignment	: 32
address sizes	: 32 bits physical, 32 bits virtual
power management:

>
> I don't see any obvious fix for that in current changelogs. Before I
> forward this upstream: How easy to reproduce are those hangs? I wonder if
> you could test for them in current SVN.

I will test it, however, it will not be possible before next Monday or 
Tuesday because I live not where Asterisk machine is running. And 
currently the ISDN cable is unplugged and one ISDN phone is connected 
directly to the operator socket. The asterisk is used currently only for 
VoIP traffic.
I have already everything prepared for the test (via remote access).

>
> Steps for loading current SVN:
>
> # Required packages: subversion linux-headers-`uname -r`
> svn checkout http://svn.asterisk.org/svn/dahdi/linux/trunk dahdi-linux
> cd dahdi-linux

I have also applied my patch, because the driver (wcb4xxp) does not know 
my ISDN card.

> make

I made also `make install` since the original kernel modules are useless 
anyway.

>
> # Fix /etc/dahdi/system.conf so it would not use OSLEC:
> mv /etc/dahdi/system.conf /etc/dahdi/system.conf.oslec
> sed -e 's/=oslec,/=mg2,/' /etc/dahdi/system.conf/oslec>/etc/dahdi/system.conf

probably:
sed -e 's/=oslec,/=mg2,/' /etc/dahdi/system.conf.oslec 
 >/etc/dahdi/system.conf

done

>
> # Steps to use that
> # to be run from that above dahdi-linux directory:
> /etc/init.d/asterisk stop
> /etc/init.d/dahdi stop
> modprobe crc_ccitt  # just in case it's not already loaded
> insmod drivers/dahdi/dahdi.ko
> insmod drivers/dahdi/wcb4xxp/wcb4xxp.ko
> insmod drivers/dahdi/wcb4xxp/dahdi_echocan_mg2.ko

probably:
insmod drivers/dahdi/dahdi_echocan_mg2.ko

(but since I made a `make install` a modprobe will also do the job)

> /etc/init.d/dahdi start # or simply: dahdi_cfg
> /etc/init.d/asterisk start
>
>
> Apart from the changes to /etc/dahdi/system.conf non of them installs
> anything. So a reboot will get rid of it.

Will not be a problem (at least as long as the ISDN-Cable and the 
ISDN-Phone are unplugged).

Some other remarks:
I use this board with this ISDN card with negligible problems for more 
than two years. With the asterisk 1.2 provided and patched by Junghanns 
himself (running on Debian Etch). Because of the laborious installation 
of security updates and because I wanted to use a newer versions of 
asterisk, I have decided to make this update. Unfortunately this system 
is a productive system (in a hostel in Vienna). Probably I will change 
the ISDN connection to a media gateway (I think on a Patton smart-node). 
The Junghanns solution will be the backup system in the future.

Best regards
Heinrich













More information about the Pkg-voip-maintainers mailing list