Summary: | ASTERISK-05096: ztdummy throwing error on kernel 2.6.13.1 | ||
Reporter: | Denis Voitenko (denis) | Labels: | |
Date Opened: | 2005-09-15 15:04:19 | Date Closed: | 2008-06-07 11:07:52 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) README.diff | |
Description: | on a box running kernel 2.6.13.1 zaptel is installed as follows: cd zaptel make clean make linux26 make install depmod -a modprobe zaptel modprobe ztdummy FATAL: Error inserting ztdummy (/lib/modules/2.6.13.1/misc/ztdummy.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error running install command for ztdummy | ||
Comments: | By: Denis Voitenko (denis) 2005-09-15 15:04:55 /var/log/dmesg shows the exact error: FATAL: Error inserting ztdummy (/lib/modules/2.6.13.1/misc/ztdummy.ko): Unknown symbol in module, or unknown parameter By: Kevin P. Fleming (kpfleming) 2005-09-15 16:47:18 I just upgraded one of my test systems to 2.6.13.1 and rebuilt Zaptel from CVS HEAD. ztdummy loads without a problem. By: Denis Voitenko (denis) 2005-09-18 15:40:37 Just upgraded my test machine to kernel 2.6.13.2 and tried to compile zaptel head dated 09/18/05 and received the same problem. FATAL: Error inserting zaptel (/lib/modules/2.6.13.2/misc/zaptel.ko): Unknown symbol in module, or unknown parameter. By: Denis Voitenko (denis) 2005-09-18 15:54:55 If neccessary I'd be willing to provide access to the machine in question to help debugging this. By: xrobau (xrobau) 2005-09-21 06:50:56 Works for me here. Denis, I suggest you jump on #asterisk on irc.freenode.net (using your favourite IRC client) and ask for help there. By: Mark Spencer (markster) 2005-09-25 00:09:43 If you type dmesg, what is the symbol / parameter that is not known? By: Matt O'Gorman (mogorman) 2005-10-04 12:16:12 Is this still an issue for you or can we resolve this bug denis. Matt By: Denis Voitenko (denis) 2005-10-04 16:34:30 My appologies for posting the entire dmesg. I am new to this. Here are the related zaptel and ztdummy errors. zaptel: Unknown symbol crc_cc_itt_table zaptel: Unknown symbol crc_cc_itt_table ztdummy: Uknown symbol rtc_register ztdummy: Uknown symbol zt_receive ztdummy: Uknown symbol zt_transmit ztdummy: Uknown symbol rtc_unregister ztdummy: Uknown symbol zt_unregister ztdummy: Uknown symbol rtc_control By: Kevin P. Fleming (kpfleming) 2005-10-04 18:42:33 Please don't send large amounts of text as bug notes; they should be uploaded as attachments. For the reason why, look at your note: it's cut off long before any Zaptel modules get loaded. We also don't need the entire dmesg log, just the part containing the loading error for Zaptel. By: Denis Voitenko (denis) 2005-10-05 14:24:35 To add to this, this is is a Slackware 10.2 install that originally came with a 2.4 kernel and I have upgraded it to 2.6.13.3. I have /usr/src/linux-2.6.13.3 symlinked to /usr/src/linux When I am running make linux26 I do see it compiling against the right headers: make -C /usr/lib/2.6.13.3/build SUBDIRS=/usr/src/zaptel modules By: Denis Voitenko (denis) 2005-10-10 18:39:16 Apparently this error is caused by CONFIG_CRC_CCITT not being set to Yes in the kernel. This requires the kernel to be recompiled. I am not sure how possible it is to check for this during the make process but it would have been nice to see some sort of a warning. By: Denis Voitenko (denis) 2005-10-10 18:50:14 I attached a diff of zaptel/README that describes the problem and provives a quick guideline to fixing it. By: grooby (grooby) 2005-10-11 10:16:58 I am running 2.6.13-gentoo-r3 and I am still having this problem after enabling the CONGIF_CRC_CCITT. After goofing around and googling more, I realize I need to enable RTC in my kernel. By: Olle Johansson (oej) 2005-10-25 09:41:15 The documentation patch is ready for cvs. After that, let's close this bug report. Do we need a disclaimer for this patch? Denis, do you have a disclaimer on file? Thank you, denis! /O By: Kevin P. Fleming (kpfleming) 2005-10-31 17:36:18.000-0600 Committed to CVS HEAD, thanks! By: Digium Subversion (svnbot) 2008-06-07 11:07:52 Repository: dahdi Revision: 802 U trunk/README ------------------------------------------------------------------------ r802 | kpfleming | 2008-06-07 11:07:51 -0500 (Sat, 07 Jun 2008) | 2 lines add documentation about kernel compilation requiring CRC-CCITT support (issue ASTERISK-5096) ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=802 |