[Asterisk-Dev] UltraSparc hardware, Linux and X100P REVISITED

Robert Burcham rob_burcham at yahoo.com
Mon Feb 21 12:03:16 MST 2005


Please forgive the crosspost from asterisk-users... I
only recently realized that this list was the proper
place to start this thread, after discovering dking's
thread of last September.

I was studying the asterisk-users list archives
to learn if anyone has had success with an X100P on a
sparc. I noticed some postings on the subject.  I am
wondering if anyone has learned anything new?

I have an Ultra-60 running Gentoo with 2.6.10 and
udev. I built * 1.0.5 and have been enjoying
various SIP configurations, with 2 sipura phones and 2
UIP200 phones in my home, bridging in FWD and now
Voiptalk too.

I bought 2 X100P clones via ebay, and put one in my
U60. I can see it with lspci:

0001:00:02.0 Communication controller: Tiger Jet
Network Inc. Tiger3XX Modem/ISDN interface

I successfully built zaptel, and can modprobe zaptel
and wcfxo:

# lsmod
Module                  Size  Used by
wcfxo                  14680  0
zaptel                195424  1 wcfxo
crc_ccitt               2752  1 zaptel

However I can't ztcfg with any success:

# ztcfg -v

Zaptel Configuration
======================


1 channels configured.

ZT_CHANCONFIG failed on channel 1: Invalid argument
(22)
Did you forget that FXS interfaces are configured with
FXO signalling and that FXO interfaces use FXS
signalling?


In fact dmesg never shows wcfxo completely setting
up the card:

# dmesg
<snip>
Zapata Telephony Interface Registered on major 196
wcfxo: DAA mode is 'FCC'
Found a Wildcard FXO: Generic Clone
PCI Target abort
PCI Target abort
PCI Target abort

I have to think that the PCI driver does not get along
with the wcfxo driver for the X100P clone. Also,
strange things happen while the driver is loaded
too... consoles dropping, etc.

Some other system details:

# emerge info
Portage 2.0.51-r15
(default-linux/sparc/sparc64/2004.3, gcc-3.3.5,
glibc-2.3.3.20040420-r2, 2.6.10-gentoo-r6 sparc64)
=================================================================
System uname: 2.6.10-gentoo-r6 sparc64 sun4u
Gentoo Base System version 1.6.9
Python:             
dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1
[2.3.4 (#1, Feb  7 2005, 13:51:33)]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.4_p6,
1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.4.23
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -O3 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo
/etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks
sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc apache2 arts avi berkdb bitmap-fonts crypt
dlloader encode esd f77 fam fbcon font-server
foomaticdb fortran gcc64 gdbm gif gtk2 guile imap
imlib java jpeg junit libwww mad mcal mikmod motif
mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib
perl png postgres python readline sdl slang spell ssl
tcltk tcpd tiff truetype truetype-fonts type1-fonts
xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL,
LDFLAGS, PORTDIR_OVERLAY


As for pure SIP related functions, * 1.0.5 on sparc
has performed very well, with all functions (moh, vm,
xfer, call park, etc) working admirably.

Has anyone been able to get any farther with zaptel on
an ultrasparc?

Rob



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250



More information about the asterisk-dev mailing list