[Home]

Summary:DAHLIN-00323: dahdi-linux-complete-2.6.3-rc1+2.6.3-rc1 release it doesn't generated system.conf according to hardware detected on system
Reporter:Mc GRATH Ricardo (mcgrathr)Labels:
Date Opened:2013-05-17 08:20:08Date Closed:2013-05-21 09:57:49
Priority:MajorRegression?
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Linux 2.6.18-348.4.1.el5 #1 i686 athlon i386 GNU/Linux pci:0000:00:0a.0 wcte12xp+ d161:8001 Wildcard TE122Attachments:
Description:I have make a new installation with dahdi-linux-complete-2.6.3-rc1+2.6.3-rc1 release, after complete installation process  and perform dahdi_genconf to generate system.conf file according to the DAHDI hardware installed, it seems system.conf it doesn't included hardware detected, it only displayed loadzone and default load zone.
It should generated system.conf according to hardware detected on system with default parameters, if it perform manually dahdi_genconf modules it doesn't included any modules.

During installation process no report error message, only I could find these message capture with putty terminal.
WARNING: could not find /usr/src/Asterisk/dahdi-linux-complete-2.6.3-rc1+2.6.3-rc1/linux/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_32.o.cmd for /usr/src/Asterisk/dahdi-linux-complete-2.6.3-rc1+2.6.3-rc1/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_32.o
I'm not sure if these message have relevant with miss configured onto system.conf on /etc/dahdi directory, my doubt is, if dahdi drivers installed  it can be used without any other problem, or in other words if the installation process  it have been completed and successfully installed without affecting to other process.

Comments:By: Russ Meyerriecks (rmeyerriecks) 2013-05-17 10:05:28.043-0500

Firstly, thank you for helping to test our release candidates! dahdi_genconf will only generate a system.conf /after/ the correct driver(s) is loaded for the card(s) in your system. Make sure to modprobe each driver you need, before running dahdi_genconf. You can ignore that compile warning you saw.

By: Mc GRATH Ricardo (mcgrathr) 2013-05-17 16:14:37.056-0500

Thanks for your response and supporting!
According to your suggestion it seems drivers are loaded on the system, because when service start isn't reporting any trouble, by the other way I manually have added onto system.conf hardware setting and it's seems working, if could help I paste lsmod information.

Module                  Size  Used by
autofs4                28741  3
hidp                   22977  2
l2cap                  29761  5 hidp
bluetooth              53797  2 hidp,l2cap
dahdi_echocan_mg2      10248  30
wcte12xp               44100  0
dahdi_voicebus         53408  1 wcte12xp
dahdi                 203208  3 dahdi_echocan_mg2,wcte12xp,dahdi_voicebus
crc_ccitt               6337  1 dahdi
lockd                  63209  0
sunrpc                149373  2 lockd
ip_conntrack_ftp       11569  0
ip_conntrack_netbios_ns     6977  0
ipt_REJECT              9537  1
xt_state                6209  3
ip_conntrack           53665  3 ip_conntrack_ftp,ip_conntrack_netbios_ns,xt_state
nfnetlink              10713  1 ip_conntrack
xt_tcpudp               7105  5
iptable_filter          7105  1
ip_tables              17029  1 iptable_filter
x_tables               17349  4 ipt_REJECT,xt_state,xt_tcpudp,ip_tables
be2iscsi               60757  0
ib_iser                35609  0
rdma_cm                39929  1 ib_iser
ib_cm                  38061  1 rdma_cm
iw_cm                  13253  1 rdma_cm
ib_sa                  40117  2 rdma_cm,ib_cm
ib_mad                 38741  2 ib_cm,ib_sa
ib_core                65985  6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr                12741  1 rdma_cm
iscsi_tcp              20041  0
bnx2i                  47325  0
cnic                   52309  1 bnx2i
ipv6                  272801  3 rdma_cm,ib_addr,cnic
xfrm_nalgo             13381  1 ipv6
crypto_api             12609  1 xfrm_nalgo
uio                    14793  1 cnic
cxgb3i                 31177  0
libcxgbi               54477  1 cxgb3i
cxgb3                 168985  1 cxgb3i
8021q                  26313  1 cxgb3
libiscsi_tcp           22213  3 iscsi_tcp,cxgb3i,libcxgbi
libiscsi2              42693  7 be2iscsi,ib_iser,iscsi_tcp,bnx2i,cxgb3i,libcxgbi,libiscsi_tcp
scsi_transport_iscsi2    37709  8 be2iscsi,ib_iser,iscsi_tcp,bnx2i,libcxgbi,libiscsi2
scsi_transport_iscsi     6085  1 scsi_transport_iscsi2
loop                   18761  0
dm_mirror              24393  0
dm_multipath           27213  0
scsi_dh                12481  1 dm_multipath
scsi_mod              144789  8 be2iscsi,ib_iser,iscsi_tcp,bnx2i,libcxgbi,libiscsi2,scsi_transport_iscsi2,scsi_dh
video                  21193  0
backlight              10049  1 video
sbs                    18533  0
power_meter            16461  0
hwmon                   7365  1 power_meter
i2c_ec                  9025  1 sbs
dell_wmi                8401  0
wmi                    12137  1 dell_wmi
button                 10705  0
battery                13637  0
asus_acpi              19289  0
ac                      9157  0
lp                     15849  0
floppy                 57125  0
snd_via82xx_modem      18377  0
snd_seq_dummy           7877  0
snd_seq_oss            32577  0
snd_seq_midi_event     11073  1 snd_seq_oss
snd_via82xx            30169  0
snd_ac97_codec         93025  2 snd_via82xx_modem,snd_via82xx
snd_seq                49585  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
ac97_bus                6337  1 snd_ac97_codec
snd_pcm_oss            42817  0
snd_mixer_oss          19009  1 snd_pcm_oss
snd_mpu401_uart        12097  1 snd_via82xx
snd_pcm                72517  4 snd_via82xx_modem,snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer              24517  2 snd_seq,snd_pcm
snd_rawmidi            26561  1 snd_mpu401_uart
parport_pc             29669  1
snd_seq_device         11725  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd                    57797  12 snd_via82xx_modem,snd_seq_oss,snd_via82xx,snd_ac97_codec,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_mpu401_uart,snd_pcm,snd_timer,snd_rawmidi,snd_seq_device
ide_cd                 40161  0
i2c_viapro             12117  0
serio_raw              10693  0
tpm_tis                16713  0
via_rhine              27469  0
cdrom                  36577  1 ide_cd
i2c_core               24897  2 i2c_ec,i2c_viapro
soundcore              11553  1 snd
snd_page_alloc         14281  3 snd_via82xx_modem,snd_via82xx,snd_pcm
parport                37513  2 lp,parport_pc
tpm                    19041  1 tpm_tis
ns558                   9025  0
tpm_bios               11073  1 tpm
mii                     9409  1 via_rhine
gameport               18505  3 snd_via82xx,ns558
pcspkr                  7105  0
dm_raid45              67272  0
dm_message              6977  1 dm_raid45
dm_region_hash         15681  1 dm_raid45
dm_log                 14785  3 dm_mirror,dm_raid45,dm_region_hash
dm_mod                 63993  4 dm_mirror,dm_multipath,dm_raid45,dm_log
dm_mem_cache            9537  1 dm_raid45
ext3                  126281  1
jbd                    57705  1 ext3
uhci_hcd               25421  0
ohci_hcd               24937  0
ehci_hcd               34509  0


By: Russ Meyerriecks (rmeyerriecks) 2013-05-17 16:47:32.435-0500

Could you paste the output of dahdi_genconf when it fails to build system.conf correctly?

By: Mc GRATH Ricardo (mcgrathr) 2013-05-18 10:16:46.141-0500

Hi! thanks.

I paste the information after completed dahdi installation and runing dahdi_genconf for generated system.conf file, by the way be advised in my case I have installed on  my system a TE122 card.

Paste output

Message after complete dahdi installation process


run 'dahdi_genconf modules' to load support for only
the DAHDI hardware installed in this system.  By
default support for all DAHDI hardware is loaded at
DAHDI start.

Default system.conf file generated by dahdi_genconf

# Autogenerated by /usr/sbin/dahdi_genconf on Thu May 16 20:04:48 2013
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Global data
loadzone        = us
defaultzone     = us


By: Russ Meyerriecks (rmeyerriecks) 2013-05-20 10:19:25.867-0500

I'm looking for the output on the command line after running 'dahdi_genconf -v'

By: Mc GRATH Ricardo (mcgrathr) 2013-05-20 19:57:38.080-0500

At first my apologize, I think I found from where problems comes on.
After perform a new installation, and get the same point, I found problems becomes from start dahdi service on otherwise, it will causes mess and miss generations of correct files according to hardware installed.
Sorry for my mistake and I hope could be useful for others, if no problem could be possible to close issue?
Thanks for your support.