[Asterisk-Dev] UltraSparc hardware, Linux and X100P REVISITED
dking at pimpsoft.com
dking at pimpsoft.com
Mon Feb 21 17:34:43 MST 2005
Allot of asterisk development seems to be under gentoo, and at the
time I did that porting work I was actually running debian. I have
been thinking about switching my UltraSparc to gentoo as well since I
love it on the server I installed it on here in my R&D network/lab; I
guess I have a valid reason to do that now.
In my experience the Kernel modules and zaptel do not like to play
nice with anything non-i86 compatible. I was acutely surprised you
even got it to load, but then again its been some time since I last
looked into it so I am sure it has improved. The PCI drivers for
linux however are much older and much more stable then zaptel is, so
I am inclined to believe that the issues you experienced stem from
issues in zaptel itself. If you could work with it for a day or two
and document the bugs/issues you have, it may help future development
or provide insight.
Zaptel was actually the one thing I didn't touch when I was working
on Asterisk and the lib it required to get it compiled and working on
my UltraSparc, so I have no doubt it still needs to be ported/looked
into still. I would file a official bug report with both the asterisk
bug tracker and the gentoo bug tracker to get the ball rolling myself
as well.
Its nice to see my efforts are at least helping others at the very
least, especially with all the hate mail I got for helping the open
source community and porting it to UltraSparc in the first place,
LOL.
- D
On 21 Feb 2005 at 11:03, Robert Burcham wrote:
> 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
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list