From owner-freebsd-isdn@FreeBSD.ORG Sat Jan 6 16:17:25 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6FB8B16A40F for ; Sat, 6 Jan 2007 16:17:25 +0000 (UTC) (envelope-from maillist@ovb.ch) Received: from ovbis01.ovb.ch (ovbis01.ovb.ch [213.188.32.144]) by mx1.freebsd.org (Postfix) with ESMTP id 171AF13C45A for ; Sat, 6 Jan 2007 16:17:24 +0000 (UTC) (envelope-from maillist@ovb.ch) Received: from ovbas00.ovb.ch ([213.180.173.192] helo=[192.168.30.100]) by ovbis01.ovb.ch with esmtp (Exim 4.51) id 1H3EEU-000BHE-OG; Sat, 06 Jan 2007 17:17:22 +0100 Message-ID: <459FCB94.9080600@ovb.ch> Date: Sat, 06 Jan 2007 17:17:24 +0100 From: Oliver von Bueren User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-isdn@freebsd.org References: <459D3421.6070605@ovb.ch> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ISDN4BSD by HPS - Some more instructions needed X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2007 16:17:25 -0000 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