Hello all,
Just for the information;
I just tested the system with 9 spans (4 D/600SC-2E1 boards and 1
D/300SC-E1 board) with the same results as before; kernel NULL pointer
dereference.
Can this mean that the problem is not necessarily associated with the
number of spans in one system, but the number of physical boards?
Secondly,
Coincidentally I had to reinstall a system with Bayonne 1.2.13 over the
weekend, and re-downloaded the Bayonne 1.2.13 sources from Sourceforge.
After applying the patches I recently submitted to the mailing list to
the newly downloaded sources I was quite surprised to get rejects, as
the patches I made worked on vanilla sources.
This morning, fearing security issues, I managed to get hold of both
the tarballs and diff them; this is the result:
*** bayonne-1.2.13.old/drivers/globalcall/driver.h Sun Nov 14
22:26:13 2004
--- bayonne-1.2.13.new/drivers/globalcall/driver.h Mon Nov 15
13:36:00 2004
***************
*** 178,185 ****
--- 178,186 ----
bool postEvent(TrunkEvent *event);
void postError(int dev, const char *msg = "");
void postGCError(const char *msg = "");
+ void postGCError2(const char *msg = "");
void putEvent(TrunkEvent *evt);
void run(void);
void exit(void);
void trunkStep(trunkstep_t step);
One of my patches contains this difference. Hence the reject.
Below the md5sums on the files:
76e9aa46df85e7f0cef4493c7840c245 *bayonne-1.2.13.tar.gz (15-11-2004
09:26 is the timestamp on the file)
3e917b660c276c9de3ee02352847aeef *bayonne-1.2.13.tar.gz (downloaded
yesterday, 6-12-2004 15:32 is the timestamp on this file)
Just in case someone tries and sees the same problem, the sources do
not seem to be compromised. This appears to be the only difference.
Cheers,
Michel
Michel Stam wrote:
Hello
all,
I've recently compiled Bayonne 1.2.13 on a RedHat 7.2 system; I found
some compile-time errors I fixed; patches are attached:
bayonne-1.2.13.build.diff
------------------
During 'make install', if $(etc_prefix) does not exist, the install
process stops with an error. This patch (which patches
server/Makefile.am and server/Makefile.in for convenience) adds a check
for the $(etc_prefix) directory and installs it where necessary. I
added this since I use the option --sysconfdir=/etc/bayonne
I did notice that bayonne is looking for a 'scheduler.conf' while
there's only a 'bayonne.sched' installed. Has its name changed? I have
not patched this yet, since I do not use scheduler functionality at
this time. It could be that there's a reason for this difference in
names.
bayonne-1.2.13.flite.diff
-----------------
if the --with-flite option is used, the build stops in the
modules/flite directory. Reason is that (in my case) flite was
installed in /usr (/usr/include/flite, /usr/bin and /usr/lib), but the
build process assumes flite.h is in /usr/include. It is actually in
/usr/include/flite. I assume similar problems will occur when
installing flite in other directories The patch makes the flite source
file look for 'flite/flite.h' as opposed to just 'flite.h'
I used flite-1.2-release, which is the latest version to my knowledge.
bayonne-1.2.13.globalcall.diff
---------------------
The globalcall driver build breaks with an error. This is because a
function 'postGCError2' was defined and used, but not declared in the
driver.h header file. Secondly, upon load the dso loader complains
about missing symbols for 'EventError'. This function is declared and
used, but was not defined. I removed them both, because I have no idea
what the function definition should contain. I did this as a temporary
fix, only. It doesn't seem to break the driver, it may remove some
functionality though.
Secondly,
I did notice that the system I installed it on gets kernel NULL pointer
dereference errors upon starting bayonne (not during boot) if I use 5
D/600SC-2E1 ISA boards (10 E1 spans in total). This happens with both
the Dialogic and the Globalcall driver. Since Julien Chaventon seemed
to have similar problems I'm assuming this is the same problem. The
system works fine (no call tests yet) with 4 D/600SC-2E1 boards (8
spans) and the globalcall driver, mind. I'll try to see what happens if
I add a D/300SC-E1 board to the configuration (making for 9 spans), if
anyone is interested.
Another item of note is that if I use the dialogic driver the system
only detects 233 ports (regardless if I increase the voice resources,
mind). This is a non-issue for me as I intend to use globalcall.
The system I installed it on uses;
ccrtp-1.1.2
ccscript-2.5.7
commoncpp2-1.3.0
flite-1.2-release
ccaudio-1.1.2
LiS 2.16.8 (I've had some difficulty in the past with more recent
drivers, hence the old version).
Dialogic drivers 5.1 SP1
Kernel 2.4.28 (because of the RAID adapter I wish to use RedHat 7.2
with)
Cheers,
Michel
*** server/Makefile.am Sun Sep 14 17:11:04 2003
--- server/Makefile.am Thu Dec 2 13:48:45 2004
***************
*** 55,63 ****
voices:
(cd ../data ; make voices)
install-exec-local:
! if test ! -d $(ini_prefix)/sysconfig ; then mkdir $(ini_prefix)/sysconfig ; fi
if test ! -z "$(etc_suffix)" ; then cp bayonne.conf $(DESTDIR)$(etc_prefix)/bayonne.conf$(etc_suffix) ; fi
if test ! -z "$(etc_suffix)" ; then cp bayonne.sched $(DESTDIR)$(etc_prefix)/bayonne.sched$(etc_suffix) ; fi
if test ! -f $(etc_prefix)/bayonne.conf ; then cp bayonne.conf $(DESTDIR)$(etc_prefix) ; fi
if test ! -f $(etc_prefix)/bayonne.sched ; then cp bayonne.sched $(DESTDIR)$(etc_prefix) ; fi
--- 55,64 ----
voices:
(cd ../data ; make voices)
install-exec-local:
! if test ! -d $(ini_prefix)/sysconfig ; then mkdir -p $(DESTDIR)$(ini_prefix)/sysconfig ; fi
! if test ! -d $(etc_prefix) ; then mkdir -p $(DESTDIR)$(etc_prefix); fi
if test ! -z "$(etc_suffix)" ; then cp bayonne.conf $(DESTDIR)$(etc_prefix)/bayonne.conf$(etc_suffix) ; fi
if test ! -z "$(etc_suffix)" ; then cp bayonne.sched $(DESTDIR)$(etc_prefix)/bayonne.sched$(etc_suffix) ; fi
if test ! -f $(etc_prefix)/bayonne.conf ; then cp bayonne.conf $(DESTDIR)$(etc_prefix) ; fi
if test ! -f $(etc_prefix)/bayonne.sched ; then cp bayonne.sched $(DESTDIR)$(etc_prefix) ; fi
*** server/Makefile.in Sun Nov 14 15:10:02 2004
--- server/Makefile.in Thu Dec 2 13:49:01 2004
***************
*** 1,7 ****
! # Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
! # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
--- 1,7 ----
! # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
! # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
***************
*** 156,164 ****
XML_MODULE = @XML_MODULE@
ZAPATA_DRIVER = @ZAPATA_DRIVER@
AUTOMAKE_OPTIONS = no-dependencies dist-shar
! EXTRA_DIST = server.h bayonne.conf bayonne.init bayonne.conf.in bayonne.sched $(man_MANS) bayonne.in sysconfig bayonne
dsolibdir = $(libdir)/bayonne/$(VERSION)
pkgincludedir = ${includedir}/cc++
--- 156,165 ----
XML_MODULE = @XML_MODULE@
ZAPATA_DRIVER = @ZAPATA_DRIVER@
AUTOMAKE_OPTIONS = no-dependencies dist-shar
! EXTRA_DIST = server.h bayonne.conf bayonne.init bayonne.conf.in \
! bayonne.sched $(man_MANS) bayonne.in sysconfig bayonne
dsolibdir = $(libdir)/bayonne/$(VERSION)
pkgincludedir = ${includedir}/cc++
***************
*** 167,188 ****
etc_suffix = .orig
AM_CPPFLAGS = -DVERPATH=\"@address@hidden" @SERVER_FLAGS@
! SERVER = config.cpp commands.cpp trunk.cpp script.cpp fifo.cpp dso.cpp stat.cpp services.cpp protocols.cpp resolver.cpp network.cpp audio.cpp request.cpp conf.cpp image.cpp rpc.cpp
pkginclude_HEADERS = bayonne.h
dsolib_PROGRAMS = bayonne.bin policy.bin setup.bin wrapper.bin status.bin
sbin_SCRIPTS = bayonne
bayonne_bin_CXXFLAGS = -fPIC
! @address@hidden = server.cpp scheduler.cpp
! @address@hidden = server.cpp scheduler.cpp $(SERVER)
! @address@hidden = libbayonne.la
! @address@hidden = $(SERVER)
! @address@hidden = libbayonne.la @STREAM_LIBS@
! @address@hidden = -export-dynamic @STREAM_LIBS@
policy_bin_SOURCES = policy.cpp
wrapper_bin_SOURCES = wrapper.cpp
setup_bin_SOURCES = setup.cpp
--- 168,191 ----
etc_suffix = .orig
AM_CPPFLAGS = -DVERPATH=\"@address@hidden" @SERVER_FL
AGS@
! SERVER = config.cpp commands.cpp trunk.cpp script.cpp fifo.cpp \
! dso.cpp stat.cpp services.cpp protocols.cpp resolver.cpp \
! network.cpp audio.cpp request.cpp conf.cpp image.cpp rpc.cpp
pkginclude_HEADERS = bayonne.h
dsolib_PROGRAMS = bayonne.bin policy.bin setup.bin wrapper.bin status.bin
sbin_SCRIPTS = bayonne
bayonne_bin_CXXFLAGS = -fPIC
! @address@hidden = @address@hidden scheduler.cpp
! @address@hidden = @address@hidden scheduler.cpp $(SERVER)
! @address@hidden = @address@hidden
! @address@hidden = @address@hidden(SERVER)
! @address@hidden = @address@hidden @STREAM_LIBS@
! @address@hidden = @address@hidden @STREAM_LIBS@
policy_bin_SOURCES = policy.cpp
wrapper_bin_SOURCES = wrapper.cpp
setup_bin_SOURCES = setup.cpp
***************
*** 264,272 ****
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
! TAR = tar
GZIP_ENV = --best
SOURCES = $(libbayonne_la_SOURCES) $(bayonne_bin_SOURCES) $(policy_bin_SOURCES) $(setup_bin_SOURCES) $(wrapper_bin_SOURCES) $(status_bin_SOURCES) $(test_dbg_SOURCES)
OBJECTS = $(libbayonne_la_OBJECTS) $(bayonne_bin_OBJECTS) $(policy_bin_OBJECTS) $(setup_bin_OBJECTS) $(wrapper_bin_OBJECTS) $(status_bin_OBJECTS) $(test_dbg_OBJECTS)
--- 267,275 ----
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
! TAR = gtar
GZIP_ENV = --best
SOURCES = $(libbayonne_la_SOURCES) $(bayonne_bin_SOURCES) $(policy_bin_SOURCES) $(setup_bin_SOURCES) $(wrapper_bin_SOURCES) $(status_bin_SOURCES) $(test_dbg_SOURCES)
OBJECTS = $(libbayonne_la_OBJECTS) $(bayonne_bin_OBJECTS) $(policy_bin_OBJECTS) $(setup_bin_OBJECTS) $(wrapper_bin_OBJECTS) $(status_bin_OBJECTS) $(test_dbg_OBJECTS)
***************
*** 672,680 ****
voices:
(cd ../data ; make voices)
install-exec-local:
! if test ! -d $(ini_prefix)/sysconfig ; then mkdir $(ini_prefix)/sysconfig ; fi
if test ! -z "$(etc_suffix)" ; then cp bayonne.conf $(DESTDIR)$(etc_prefix)/bayonne.conf$(etc_suffix) ; fi
if test ! -z "$(etc_suffix)" ; then cp bayonne.sched $(DESTDIR)$(etc_prefix)/bayonne.sched$(etc_suffix) ; fi
if test ! -f $(etc_prefix)/bayonne.conf ; then cp bayonne.conf $(DESTDIR)$(etc_prefix) ; fi
if test ! -f $(etc_prefix)/bayonne.sched ; then cp bayonne.sched $(DESTDIR)$(etc_prefix) ; fi
--- 675,684 ----
voices:
(cd ../data ; make voices)
install-exec-local:
! if test ! -d $(ini_prefix)/sysconfig ; then mkdir -p $(DESTDIR)$(ini_prefix)/sysconfig ; fi
! if test ! -d $(etc_prefix) ; then mkdir -p $(DESTDIR)$(etc_prefix); fi
if test ! -z "$(etc_suffix)" ; then cp bayonne.conf $(DESTDIR)$(etc_prefix)/bayonne.conf$(etc_suffix) ; fi
if test ! -z "$(etc_suffix)" ; then cp bayonne.sched $(DESTDIR)$(etc_prefix)/bayonne.sched$(etc_suffix) ; fi
if test ! -f $(etc_prefix)/bayonne.conf ; then cp bayonne.conf $(DESTDIR)$(etc_prefix) ; fi
if test ! -f $(etc_prefix)/bayonne.sched ; then cp bayonne.sched $(DESTDIR)$(etc_prefix) ; fi
*** modules/flite/flite.cpp Wed Jan 15 03:12:45 2003
--- modules/flite/flite.cpp Thu Dec 2 10:43:40 2004
***************
*** 46,54 ****
#ifdef THETA_PREFIX
#include <theta.h>
#else
! #include <flite.h>
cst_voice *register_cmu_us_kal();
#endif
};
--- 46,54 ----
#ifdef THETA_PREFIX
#include <theta.h>
#else
! #include <flite/flite.h>
cst_voice *register_cmu_us_kal();
#endif
};
*** drivers/globalcall/driver.cpp Mon Nov 15 04:42:36 2004
--- drivers/globalcall/driver.cpp Thu Dec 2 14:03:02 2004
***************
*** 543,551 ****
{
case GCEV_FATALERROR:
case GCEV_TASKFAIL:
event.id = TRUNK_CALL_FAILURE;
- EventError(&metaevent);
trunk->postEvent(&event);
break;
case GCEV_BLOCKED:
trunk->getName(buffer);
--- 543,550 ----
*** drivers/globalcall/driver.h Sun Nov 14 22:26:13 2004
--- drivers/globalcall/driver.h Thu Dec 2 14:02:56 2004
***************
*** 178,185 ****
--- 178,186 ----
bool postEvent(TrunkEvent *event);
void postError(int dev, const char *msg = "");
void postGCError(const char *msg = "");
+ void postGCError2(const char *msg = "");
void putEvent(TrunkEvent *evt);
void run(void);
void exit(void);
void trunkStep(trunkstep_t step);
***************
*** 330,339 ****
else return tpt;};
DV_TPT *getRecordTPT(void)
{if(getBoardType() == DM3) return dm3tpt;
else return tpt;};
-
- void EventError(METAEVENT *a_metaeventp);
};
extern DialogicDriver dialogicivr;
--- 331,338 ----
_______________________________________________
Bayonne-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bayonne-devel
--
Michel Stam ing.
Software Development Engineer
address@hidden
Houtweg 29
1251 CS Laren
The Netherlands
t: |
+31 (0)35 548 98 58 |
f: |
+31 (0)35 531 65 61 |
www.tlogics.nl
|
|
|
|