[Asterisk-Users] Newbie issue. Error in compiling source code for zaptel drivers
Frank Hoonhout
frank.hoonhout at state.or.us
Fri Mar 21 16:47:18 MST 2003
Brian
Got it working some what, recompiled the kernel.
Now I get this:
[root at asterisk sbin]# ./asterisk -c
Asterisk CVS-03/20/03-16:56:24, Copyright (C) 1999-2001 Linux Support
Services, Inc.
Written by Mark Spencer <markster at linux-support.net>
=========================================================================
[ Booting.......... -- Registered indication country 'us'
-- Registered indication country 'au'
-- Registered indication country 'fr'
-- Registered indication country 'de'
-- Registered indication country 'nl'
-- Registered indication country 'uk'
-- Setting default indication country to 'us'
...WARNING[16384]: File chan_oss.c, Line 342 (setformat): Requested 8000 Hz,
got 8018 Hz -- sound may be choppy
WARNING[98311]: File chan_oss.c, Line 228 (sound_thread): Read error on
sound device: Resource temporarily unavailable
.....WARNING[16384]: File chan_iax2.c, Line 4927 (set_config): Ignoring port
for now
..../var/spool/asterisk/outgoing
.....................................................WARNING[16384]: File
chan_zap.c, Line 6416 (load_module): Ignoring rxwink
.... ]
Asterisk Ready.
*CLI> Segmentation fault
[root at asterisk sbin]#
As you can see, it loads up, give some warning messages about the sound
card, and then dies.
Frank...
MSN messenger "fhoonhout at attbi.com"
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of
> Brian Johnson
> Sent: Friday, March 21, 2003 1:32 PM
> To: asterisk-users at lists.digium.com
> Subject: RE: [Asterisk-Users] Newbie issue. Error in
> compiling source code for zaptel drivers
>
>
> did this work for you?
>
>
> Frank Hoonhout (frank.hoonhout at state.or.us) wrote:
> >
> >After some more investigation, I think I know what I need to do.
> >
> >Taken from the kernel-how-to docs.
> >
> >3.4 The 'depmod' gives "Unresolved symbol error messages"
> >When you run depmod it gives "Unresolved symbols". A sample error
> >message is given here to demonstrate the case:
> >
> >
> >-------------------------------------------------------------
> ----------
> >-----
> >----
> >
> >bash$ su - root
> >bash# man depmod
> >bash# depmod
> >depmod: *** Unresolved symbols in
> >/lib/modules/version/kernel/drivers/md/linear.o
> >depmod: *** Unresolved symbols in
> >/lib/modules/version/kernel/drivers/md/multipath.o
> >depmod: *** Unresolved symbols in
> >/lib/modules/version/kernel/drivers/md/raid0.o
> >depmod: *** Unresolved symbols in
> >/lib/modules/version/kernel/drivers/md/raid1.o
> >depmod: *** Unresolved symbols in
> >/lib/modules/version/kernel/drivers/md/raid5.o
> >
> >
> >-------------------------------------------------------------
> ----------
> >-----
> >----
> >
> >Reason: You did not make modules and install the modules
> after building
> >the new kernel with "make bzImage".
> >
> >Solution: After you build the new kernel, you must do:
> >
> >
> >-------------------------------------------------------------
> ----------
> >-----
> >----
> >
> >bash$ su - root
> >bash# cd /usr/src/linux
> >bash# make modules
> >bash# make modules_install
> >
> >
> >Frank...
> >
> >> -----Original Message-----
> >> From: asterisk-users-admin at lists.digium.com
> >> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Frank
> >> Hoonhout
> >> Sent: Friday, March 21, 2003 8:28 AM
> >> To: asterisk-users at lists.digium.com
> >> Subject: RE: [Asterisk-Users] Newbie issue. Error in
> compiling source
> >> code for zaptel drivers
> >>
> >>
> >> Steven:
> >>
> >> Here is the output from depmod -ae
> >> I do see errors.
> >>
> >> [root at asterisk]# /sbin/depmod -ae
> >> depmod: *** Unresolved symbols in
> >> /lib/modules/2.4.18-27.8.0/misc/wcusb.o
> >> depmod: usb_control_msg_Re80c4f9a
> >> depmod: usb_submit_urb_R77d0e891
> >> depmod: usb_set_configuration_R38118f0c
> >> depmod: usb_set_interface_Rfe0b0cf8
> >> depmod: usb_deregister_Rb5c0939b
> >> depmod: usb_register_Ra6fe0a72
> >> depmod: *** Unresolved symbols in
> >> /lib/modules/2.4.18-27.8.0/misc/zaptel.o
> >> depmod: __kfree_skb_R3810042c
> >> depmod: create_proc_entry_Ra3afa0f7
> >> depmod: register_chrdev_Ref89ab9e
> >> depmod: add_wait_queue_R0cbf8a39
> >> depmod: remove_wait_queue_Rb65338b9
> >> depmod: remove_proc_entry_Rec1fb130
> >> depmod: __pollwait_Ra26a5ce8
> >> depmod: softnet_data_Rd1ee1ba1
> >> depmod: skb_over_panic_R7ac7865f
> >> depmod: proc_mkdir_R939a6693
> >> depmod: alloc_skb_Rd2becd82
> >> depmod: *** Unresolved symbols in
> >> /lib/modules/2.4.18-27.8.0/misc/ztd-eth.o
> >> depmod: __kfree_skb_R3810042c
> >> depmod: dev_remove_pack_Rbe8a66d1
> >> depmod: dev_queue_xmit_R8ac0fc82
> >> depmod: dev_add_pack_R09ed4520
> >> depmod: dev_get_by_name_R76e16b06
> >> depmod: skb_under_panic_R432fccad
> >> depmod: skb_over_panic_R7ac7865f
> >> depmod: alloc_skb_Rd2becd82
> >>
> >> But the the files are in /lib/modules/2.4.18-27.8.0/misc.
> >>
> >> [root at asterisk misc]# ls -l
> >> total 280
> >> -rw-r--r-- 1 root root 89788 Mar 20 18:32 tor2.o
> >> -rw-r--r-- 1 root root 19048 Mar 20 18:32 torisa.o
> >> -rw-r--r-- 1 root root 10828 Mar 20 18:32 wcfxo.o
> >> -rw-r--r-- 1 root root 19252 Mar 20 18:32 wcfxs.o
> >> -rw-r--r-- 1 root root 15620 Mar 20 18:32 wct1xxp.o
> >> -rw-r--r-- 1 root root 24752 Mar 20 18:32 wcusb.o
> >> -rw-r--r-- 1 root root 69324 Mar 20 18:32 zaptel.o
> >> -rw-r--r-- 1 root root 5808 Mar 20 18:32 ztd-eth.o
> >> -rw-r--r-- 1 root root 10920 Mar 20 18:32 ztdynamic.o
> >>
> >> They match the files in /usr/src/zaptel.
> >>
> >> I am not sure where to go from here.
> >>
> >> Frank...
> >>
> >>
> >> > -----Original Message-----
> >> > From: asterisk-users-admin at lists.digium.com
> >> > [mailto:asterisk-users-admin at lists.digium.com] On Behalf
> Of Steven
> >> > Critchfield
> >> > Sent: Friday, March 21, 2003 6:39 AM
> >> > To: asterisk-users at lists.digium.com
> >> > Subject: Re: [Asterisk-Users] Newbie issue. Error in compiling
> >> > source code forzaptel drivers
> >> >
> >> >
> >> > On Fri, 2003-03-21 at 08:17, Brian Johnson wrote:
> >> > > I'm going through the same troubleshooting re: similar
> >> > modprobe errors
> >> > > possibly compile/kernel related
> >> > <snip>
> >> > > I'll try an older, stock RH kernel and let you know how it goes
> >> >
> >> > With as much a I hate RH and what they do to kernels, I
> don't think
> >> > the kernel itself is the problem, nor will changing the version
> >> > solve your problems.
> >> >
> >> > use depmod -ae so you can find out what is unresolved.
> Chances are
> >> > you have module versions on the kernel, but not your zaptel
> >> > drivers. If your kernel is working for you and is seeming to be
> >> > stable, it probably is best to make the current one work.
> >> >
> >> > --
> >> > Steven Critchfield <critch at basesys.com>
> >> >
> >> > _______________________________________________
> >> > Asterisk-Users mailing list Asterisk-Users at lists.digium.com
> >> > http://lists.digium.com/mailman/listinfo/aster> isk-users
> >> >
> >>
> >> _______________________________________________
> >> Asterisk-Users mailing list
> >> Asterisk-Users at lists.digium.com
> >> http://lists.digium.com/mailman/listinfo/asterisk-users
> >>
> >
> >
> >_______________________________________________
> >Asterisk-Users mailing list
> >Asterisk-Users at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> --
> Brian Johnson
>
> This is where my witty signature line would be if I bothered
> to edit this line :)
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/aster> isk-users
>
More information about the asterisk-users
mailing list