Hi Jack,

check rc.conf. There is the section called "ISDN Configuration". Here
just add one line like this:

ISDN_MODPROBE="MISDN"

Save it, type "service asterisk start" or "/etc/init.d/asterisk start".

Make sure when you save stuff, that you have created a keydisk first
(either a USB stick or another partion on your CF).

If you don't have either currently, you can remount the / partition rw,
make your change and go back to readonly.

mount -t ext2 -o rw,remount /
mount -t ext2 -o ro,remount /

In any case, you should definitely have keydisk! (my opinion)

Quick explanation why asterisk fails loading chan_misdn (assuming mISDN
support has been built properly):

The asterisk startup script looks for the variable ISDN_MODPROBE set to
MISDN. If this is not the case, it doesn't start the mISDN subsystem.
However it tries running asterisk. By default Asterisk tries to load
(almost) all modules. Once it hits chan_misdn, it fails because
chan_misdn requires the misdn subsystem.

You can also manually start the misdn subsystem by

/usr/sbin/misdn-init config
/usr/sbin/misdn-init start

Hope that helps.

cheers, Ingmar


Jack wrote:
> Hi,
> 
> Back again, after lots of struggling I managed to managed to MAKE the
> default build with the standard config ;-)
> After that I was only adding all the packages needed for Misdn which
> also in the end worked out fine. A great feeling.
> Now everything is on my CF-card and it start perfectly but in the end
> asterisk won't start because it says: Loading module chan_misdn.so failed.
> 
> I edited the modules.conf to load the module, it recognizes my card and
> everything seems to start?
> 
> ; You will need to comment this and modprobe
> ; AT LEAST mISDN_core on startup for ISDN.
> load => res_features.so
> load => chan_misdn.so
> 
> [global]
> res_features.so = yes
> ;chan_modem.so=yes
> chan_misdn.so = yes
> 
> Could this still be a build error or do i have to configure something I
> did not know yet?
> 
> Regards,
> 
> Jack
> 
> 
> 2006/9/26, Roel Cuppen < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
> 
>     Jack,
> 
>     Thats exactly the way i do.
>     Sometimes when i add a package , another one fails.
>     Currently i've used default config With packages like
>     - misdn queue and chan
>     - python
>     - pcmcia
>     - usbutils (add this one for 'misdn-init config', its scans usb
>     'modems')
>     - various others
> 
>     Sometimes , i dont know the current status, buildroot packages are
>     to old.
>     These are the mostly unused packages. You can check this on
>     www.buildroot.org <http://www.buildroot.org> (downloads)
>     I've had this with pcmcia. At this moment its up to date.
> 
>     Grts Roel
> 
>     > Roel,
>     >
>     > I lost track of packages added so I will first start with a
>     default config
>     > Build system, if that works out ok, I will only add the packages
>     that are
>     > needed to build with mqueue-isdn.
>     > After that, it will take some time ;-( I will post what happened.
>     >
>     > Regards,
>     >
>     > Jack
>     >
>     > 2006/9/26, Roel Cuppen <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
>     >>
>     >> Jack,
>     >>
>     >> Thank you for trying again with a clean enviroment.
>     >> What packages did you add , on the default config ?
>     >> e.g. mqueue-isdn.
>     >>
>     >> Grts Roel
>     >>
>     >> > Hi all,
>     >> >
>     >> > I red your advices, thx for that and setup a complete fresh CentOs
>     >> under
>     >> > VMware and started from scratch again ;-)
>     >> > As a Linux newbie, I have to say that this is exciting addictive
>     >> stuff,
>     >> > lots
>     >> > of joy, reading, fixing etc etc.
>     >> > Good news is I came further than ever before, I passed the
>     Misdn error
>     >> > stuff
>     >> > without any problem this time ;-)
>     >> > But now I am stuck in some other stuff, tried googling on it but I
>     >> have
>     >> no
>     >> > idea where to exactly look for.
>     >> > I am hoping that someone can help me a bit more.
>     >> > And yes Ingmar you are right about not running it as Root but
>     at the
>     >> > moment
>     >> > I am just playing around, I promise the finale MAKE build I
>     will do as
>     >> a
>     >> > normal user.
>     >> > Ok here is the output:
>     >> >
>     >> > In file included from
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../.
> 
>     >> > ./../i586-linux-uclibc/sys-include/linux/joystick.h:33,
>     >> >                  from joy.c:26:
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:801: error: parse error before
>     >> "kernel_ulong_t"
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:805: error: parse error before "evbit"
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:805: error: `BITS_PER_LONG'
>     undeclared here
>     >> > (not
>     >> > in a function)
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:806: error: parse error before "keybit"
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:807: error: parse error before "relbit"
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:808: error: parse error before "absbit"
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:809: error: parse error before "mscbit"
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:810: error: parse error before "ledbit"
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:811: error: parse error before "sndbit"
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:812: error: parse error before "ffbit"
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:813: error: parse error before "swbit"
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:815: error: parse error before
>     >> "driver_info"
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:805: error: storage size of `evbit'
>     isn't
>     >> known
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:806: error: storage size of `keybit'
>     isn't
>     >> > known
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:807: error: storage size of `relbit'
>     isn't
>     >> > known
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:808: error: storage size of `absbit'
>     isn't
>     >> > known
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:809: error: storage size of `mscbit'
>     isn't
>     >> > known
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:810: error: storage size of `ledbit'
>     isn't
>     >> > known
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:811: error: storage size of `sndbit'
>     isn't
>     >> > known
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:812: error: storage size of `ffbit'
>     isn't
>     >> known
>     >> >
>     >>
>     
> /root/newast/astlinux/trunk/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/3.4.2/../../../../i586-linux-uclibc
> 
>     >> > /sys-include/linux/input.h:813: error: storage size of `swbit'
>     isn't
>     >> known
>     >> > make[4]: *** [joy.o] Error 1
>     >> > make[4]: Leaving directory
>     >> > `/root/newast/astlinux/trunk/build_i586/lcdproc-
>     >> > 0.5.0/server/drivers'
>     >> > make[3]: *** [all-recursive] Error 1
>     >> > make[3]: Leaving directory
>     >> > `/root/newast/astlinux/trunk/build_i586/lcdproc-
>     >> > 0.5.0/server'
>     >> > make[2]: *** [all-recursive] Error 1
>     >> > make[2]: Leaving directory
>     >> > `/root/newast/astlinux/trunk/build_i586/lcdproc-
>     >> > 0.5.0'
>     >> > make[1]: *** [all] Error 2
>     >> > make[1]: Leaving directory
>     >> > `/root/newast/astlinux/trunk/build_i586/lcdproc-
>     >> > 0.5.0'
>     >> >
>     >> > Thx in advance,
>     >> >
>     >> > Jack
>     >> >
>     >> > 2006/9/26, Roel Cuppen <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>>:
>     >> >>
>     >> >> Hi,
>     >> >>
>     >> >> I agree with Ingmar.
>     >> >> I'm no developer, but i've build many custon astlinux builds
>     with the
>     >> >> development enviroment.
>     >> >> Always with misdn included.
>     >> >> I use an PCI HFC isdn card and an USB HFC-S isdn adapter.
>     >> >> Both working.
>     >> >>
>     >> >> When youre complete unsure , start an aditional devel. enviro on
>     >> another
>     >> >> directory on your dele machine.
>     >> >>
>     >> >> Grts Roel
>     >> >>
>     >> >>
>     >> >> > Hello Jack,
>     >> >> >
>     >> >> > I checked it and everything's still fine.
>     >> >> >
>     >> >> > When did you do the last time "svn update" in your Astlinux
>     >> directory?
>     >> >> >
>     >> >> > We always fetch the latest mISDN code from the CVS server
>     where the
>     >> >> > mISDN code is maintained. If you are running a not up-2-date svn
>     >> >> version
>     >> >> > of the Astlinux build environment, your build will fail
>     because the
>     >> >> > patches for mISDN have changed some time ago.
>     >> >> >
>     >> >> > So, do an "svn update" and then try again. Maybe you need to
>     clean
>     >> the
>     >> >> > relevant directories first. The easiest way to clean the
>     >> directories
>     >> >> is
>     >> >> > to remove the build_i586 directory (you still keep
>     everything your
>     >> >> > system has downloaded in ./dl and the toolchain remains as
>     well).
>     >> >> >
>     >> >> > Last but not least, it looks like you are building as user
>     "root".
>     >> You
>     >> >> > should not do that for security reasons.
>     >> >> >
>     >> >> > Please also read
>     >> >> >
>     >> >> >
>     http://www.voip-info.org/wiki/view/AstLinux+Development+Environment
>     <http://www.voip-info.org/wiki/view/AstLinux+Development+Environment>
>     >> >> >
>     >> >> > regards,
>     >> >> >
>     >> >> > Ingmar
>     >> >> >
>     >> >> > Jack wrote:
>     >> >> >> hi all,
>     >> >> >>
>     >> >> >> Can anyone help me with this error when I try to do MAKE.
>     >> >> >> I overcame so many errors already but with this one I really
>     >> haven't
>     >> >> got
>     >> >> >> a clue.
>     >> >> >>
>     >> >> >>
>     >> >> >>
>     AY@/$M/;s/@VERSION@/pciutils-2.1.11/;[EMAIL PROTECTED]@#/usr/local/share#"
>     >> >> >> make[1]: Leaving directory
>     >> >> `/root/astlinux/build_i586/pciutils-2.1.11'
>     >> >> >> touch /root/astlinux/build_i586/pciutils-2.1.11/.compiled
>     >> >> >> install -c /root/astlinux/build_i586/pciutils- 2.1.11/setpci
>     >> >> >> /root/astlinux/build_i586/root/sbin/setpci
>     >> >> >> install -c /root/astlinux/build_i586/pciutils-2.1.11/lspci
>     >> >> >> /root/astlinux/build_i586/root/sbin/lspci
>     >> >> >> install -Dc /root/astlinux/build_i586/pciutils-2.1.11/pci.ids
>     >> >> >> /root/astlinux/build_i586/root/usr/share/misc/pci.ids
>     >> >> >> cp -a /root/astlinux/dl/mqueue-isdn /root/astlinux/build_i586
>     >> >> >> touch /root/astlinux/build_i586/mqueue-isdn/.unpacked
>     >> >> >>
>     toolchain/patch-kernel.sh/root/astlinux/build_i586/mqueue-isdn/mISDN
>     >> >> >> package/mqueue-isdn/ mqueue-isdn\*.patch
>     >> >> >>
>     >> >> >> Applying mqueue-isdn-init.patch using plaintext:
>     >> >> >> patching file misdn-init
>     >> >> >> Hunk #1 succeeded at 87 with fuzz 1 (offset 20 lines).
>     >> >> >>
>     >> >> >> Applying mqueue-isdn-make.patch using plaintext:
>     >> >> >> patching file Makefile
>     >> >> >> Hunk #2 succeeded at 40 with fuzz 2 (offset 2 lines).
>     >> >> >> Hunk #3 FAILED at 52.
>     >> >> >> Hunk #4 succeeded at 85 (offset 5 lines).
>     >> >> >> 1 out of 4 hunks FAILED -- saving rejects to file Makefile.rej
>     >> >> >> Patch failed!  Please fix mqueue-isdn-make.patch!
>     >> >> >> make: *** [/root/astlinux/build_i586/mqueue-isdn/.configured]
>     >> Error
>     >> 1
>     >> >> >>
>     >> >> >>
>     >> >> >>
>     >> >>
>     >>
>     ------------------------------------------------------------------------
>     >> >> >>
>     >> >> >> _______________________________________________
>     >> >> >> Astlinux-users mailing list
>     >> >> >> [email protected]
>     <mailto:[email protected]>
>     >> >> >> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
>     >> >> >>
>     >> >> >> Donations to support AstLinux are graciously accepted via
>     PayPal
>     >> to
>     >> >> >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>.
>     >> >> > _______________________________________________
>     >> >> > Astlinux-users mailing list
>     >> >> > [email protected]
>     <mailto:[email protected]>
>     >> >> > http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
>     >> >> >
>     >> >> > Donations to support AstLinux are graciously accepted via
>     PayPal to
>     >> >> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>.
>     >> >> >
>     >> >>
>     >> >>
>     >> >> _______________________________________________
>     >> >> Astlinux-users mailing list
>     >> >> [email protected]
>     <mailto:[email protected]>
>     >> >> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
>     >> >>
>     >> >> Donations to support AstLinux are graciously accepted via
>     PayPal to
>     >> >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>.
>     >> >>
>     >> > _______________________________________________
>     >> > Astlinux-users mailing list
>     >> > [email protected]
>     <mailto:[email protected]>
>     >> > http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
>     <http://lists.kriscompanies.com/mailman/listinfo/astlinux-users>
>     >> >
>     >> > Donations to support AstLinux are graciously accepted via PayPal to
>     >> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>.
>     >>
>     >>
>     >> _______________________________________________
>     >> Astlinux-users mailing list
>     >> [email protected]
>     <mailto:[email protected]>
>     >> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
>     >>
>     >> Donations to support AstLinux are graciously accepted via PayPal to
>     >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>.
>     >>
>     > _______________________________________________
>     > Astlinux-users mailing list
>     > [email protected]
>     <mailto:[email protected]>
>     > http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
>     >
>     > Donations to support AstLinux are graciously accepted via PayPal to
>     > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>.
> 
> 
>     _______________________________________________
>     Astlinux-users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
> 
>     Donations to support AstLinux are graciously accepted via PayPal to
>     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
> PROTECTED]
_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to