Re: ISDN4BSD by HPS - Some more instructions needed

Oliver von Bueren <[email protected]>
Newsgroups gmane.os.freebsd.devel.isdn
Message-ID <[email protected]>
Hi Hans Petter

That worked great, after getting the newest version by svn and doing a 
make help I've seen that you point that out there as well.
Thanks!

For others who perhaps have the same issue, here is the short form of 
what I did:

0. svn ... svn://svn.turbocat.net/i4b    # Get the newest version of i4b 
by HPS (into a new directory)
1. portupgrade -R asterisk    # Update asterisk for a newer version if 
needed
2. make deinstall    # Uninstall (old version of) i4b by HPS with:
3. /usr/src> make update  # Update FreeBSD, in my case to 6.1-RELEASE-p11
4. make buildworld / .... # FreeBSD update process as usual, but without 
a reboot yet!
5. i4b/trunk/i4b/FreeBSD.i4b> make S=../src package
6. i4b/trunk/i4b/FreeBSD.i4b> make install
7. i4b/trunk/chan_capi> gmake all install
8. /usr/src> make buildkernel KERNCONF=....   # build the kernel with 
i4b configured
9. /usr/src> make installkernel KERNCONF=...   # install kernel
10. reboot
11. /usr/src> make installworld  

This is the long run with rebuilding world. If no FreeBSD update is 
done, but only i4b, the following should do: 0, 2, 5, 6, 7, 8, 9, 10

For anyone not familiar with buildworld please consult the FreeBSD 
manual for a more detailed version of it. And for the compile options to 
reduce time for re-building the kernel after just a i4b update, see the 
help files by HPS.

Oliver

Hans Petter wrote:
> Hi Oliver,
>
> On Thu, 04 Jan 2007 18:06:41 +0100
> Oliver von Bueren wrote:
> > Hi to all.
> >
> > I'm running a FreeBSD 6.10-RELEASE-p10 at the moment and
> >have a few small questions with the handling of the
> >ISDN4BSD package from
> >http://www.turbocat.net/~hselasky/isdn4bsd/ by Hans
> >Petter Selasky (short HPS:-)).
> >
> >First of all, it looks like this is the only available
> >option to run passive ISDN cards with Asterisk on
> >FreeBSD.I've got that combination up and running with
> >some issues (call is dropped by i4b/asterisk/??? after
> >about 30 secs). As there have been changes to the source
> >by HPS since 1.6.1 I'm currently installing subversion to
> >update i4b. And now the questions start.
> >
>
> If you get calls dropped, try running the tool "isdndecode" given the 
> parameter "-u 0" where "0" is the controller number you wish to log. 
> Then record the standard output and put it somewhere or mail it to me, 
> and I will have a look.
>
> > - How is i4b by HPS supposed to be updated? Is it
> >correct to do a "make deinstall" of the 1.6.1 and then a
> >"make install" of the new one?
>
> The correct is to "make deinstall" the old one and then "make install" 
> the new one.
>
> > - About the same "issue" with updating the base system
> >to get to the next patch release or release of FreeBSD.
> >Is it required to make a deinstall of i4b by HPS followed
> >by a /usr/src>make update / buildworld-Process and then
> >re-installing it all?
>
> It might be a good idea to CVSUP your FreeBSD kernel and userland 
> sources before you install the I4B driver. Depending on how much has 
> changed in the kernel sources you should consider to "make a new 
> world", to reduce problems with incompatible kernel ioctls.
>
> > - And to make this hole thing complete, just another
> >humble opinion about i4b in general. I've been using i4b
> >since a 4.x version of FreeBSD for some small
> >applications. That time it was good and "new". Nowadays
> >the built-in version of i4b has some deficits, namely no
> >CAPI for passive cards. So what do YOU (meaning users of
> >i4b) think about the idea, that the "new" i4b by HPS
> >should be integrated into the base FreeBSD. My opinion
> >is, that this would enhance the functionality of FreeBSD
> >in that area and all the FreeBSD users would benefit.
> >
>
> --HPS
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isdn
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.