modprobe: WARNING: /etc/modprobe.d/dahdi.conf

The Deacon

Guru
Joined
Jan 29, 2008
Messages
296
Reaction score
14
I did another install last night using PIAF 1.7.5.5.3 and IncrediblePBX 18 on an Acer Revo 1600, but I'm still seeing a TON of these warnings on startup and shutdown:

Code:
modprobe: WARNING: /etc/modprobe.d/dahdi.conf line 4: ignoring bad line starting with 'options'
When I look in /etc/modprobe.d/dahdi.conf I see this:

Code:
#******************************************#
#* Auto-generated by FreePBX, do not edit *#
#******************************************#
options wctdm24xxp

I really shouldn't be needing that line, as I don't have any digium boards installed in my Revo... Is anyone else seeing this?

It's really just more of an annoyance and not necessarily anything to worry about; I just know that I'll probably get a call or two about it.

-Rick
 
Just comment out the offending line. It's a FreePBX bug, not ours.
 
Hi Ward,
I am finding that after installing my Sangoma UT50, that FPBX seems to undo this fix and un-comment this line again after a full reboot of the PBX. Do you know where the code that actually generates this file? I searched through the entire /usr/src/freepbx for references to dahdi.conf but found none. :confused5:
 
I found this in the dahdi source, at:

/usr/src/dahdi/tools/Makefile:
MODPROBE_FILE = /etc/modprobe.d/dahdi.conf

so there you go. Now, that's only 1/2 of the puzzle. I guess somehow FPBX has the "wctdm24xxp" value in its DB somewhere and is inserting it by calling dahdi_genconf somehow. I am not too familiar with the FPBX database structures. Does anyone have any further guidance to give?

edit: well, after more testing, I decided to approach this problem from a different angle. I attempted to resolve the bad syntax of the 'options' line rather than comment it out. What I wound up doing was ticking off a single checkbox (A-law Override) and saving:
NVr8D.png


This caused /etc/modprobe.d/dahdi.conf to now read:
options wctdm24xxp alawoverride=0

I rebooted my pbx and didn't see any more errors, so it appears this "fix" has worked. Now I can sleep soundly again. :wink5:
 
Worked like a champ!

I had many lines of garbage each boot from this. Seemed to grow with each modification I made.

Thanks.
 
This worked for me also but, I had to change the permissions on the file from this:

Code:
-rw-r--r-- 1 root root 154 Sep 12 21:14 /etc/modprobe.d/dahdi.conf
to this:

Code:
-rw-rw-rw- 1 root root 154 Sep 12 21:14 /etc/modprobe.d/dahdi.conf
otherwise FreePBX was not able to write to the file.
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top