<div dir="ltr">Hey Doug, I have a question is dahdi is only if we use a USB or PCI card for a radio.. Do you need dahdi for a hub only?<div><br></div><div>Thanks, David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 27, 2015 at 12:38 AM, Bryan Fields <span dir="ltr"><<a href="mailto:Bryan@bryanfields.net" target="_blank">Bryan@bryanfields.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 1/27/15, 1:04 AM, Doug Crompton wrote:<br>
> Bryan,<br>
><br>
>  Yes you will need Dahdi source. You need to remove Zaptel stuff. I would<br>
> suggest getting it from the BBB image at <a href="http://hamvoip.org" target="_blank">hamvoip.org</a>.  It already has the<br>
> Allstar patches in it. It is located in<br>
> /usr/src/utils/dahdi-linux-complete-2.9.1.1+2.9.1     If not you need to<br>
> download that version of the code from Digium and apply the patches from the<br>
> Allstar svn site.<br>
<br>
</span>I've got Dahdi from Digium (dahdi-linux-complete-2.10.0.1+2.10.0.1) and<br>
applied the patches from ohnosec svn.  hunk 3 on patch 2 needed to be applied<br>
by hand, the rest went fine.<br>
<br>
Dahdi is compiled and installed.<br>
<br>
I have the ohnosec svn asterisk compiled as well.  Copied the sounds in place<br>
and started to configure asterisk.<br>
<br>
I've run into a bit of a problem while loading the pciradio module however.<br>
I don't know enough about kernel coding in linux to know where to begin<br>
debugging this.<br>
<br>
does your version of dahdi on the <a href="http://hamvoip.org" target="_blank">hamvoip.org</a> site work ok?  perhaps it's new<br>
bug in the Digium code, and I should go with yours in place of it.<br>
<br>
> [    4.640361] pciradio 0000:04:00.0: enabling device (0140 -> 0143)<br>
> [    4.640446] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028<br>
> [    4.641765] IP: [<ffffffff811b330e>] vsnprintf+0xbf/0x427<br>
> [    4.642498] PGD 0<br>
> [    4.642808] Oops: 0002 [#1] SMP<br>
> [    4.643307] CPU 3<br>
> [    4.643579] Modules linked in: pciradio(O+) snd_pcsp(-) coretemp dahdi(O) snd_pcm snd_page_alloc snd_timer efivars snd soundcore pcspkr crc_ccitt shpchp joydev evdev acpi_cpufreq mperf button processor ext4 crc16 jbd2 mbcache sg sd_mod crc_t10dif usbhid hid ahci libahci libata xhci_hcd igb scsi_mod usbcore i2c_algo_bit i2c_core dca thermal thermal_sys usb_common [last unloaded: scsi_wait_scan]<br>
> [    4.649576]<br>
> [    4.649703] Pid: 461, comm: modprobe Tainted: G           O 3.2.0-4-amd64 #1 Debian 3.2.65-1+deb7u1 Supermicro X9SBAA/X9SBAA<br>
> [    4.650939] RIP: 0010:[<ffffffff811b330e>]  [<ffffffff811b330e>] vsnprintf+0xbf/0x427<br>
> [    4.652029] RSP: 0018:ffff880233d53c68  EFLAGS: 00010297<br>
> [    4.652718] RAX: 0000000000000009 RBX: ffff880233d53ce0 RCX: 0000000000000009<br>
> [    4.653632] RDX: ffffffffa0264204 RSI: ffffffffa0264204 RDI: 0000000000000028<br>
> [    4.654543] RBP: 0000000000000028 R08: 0000000000000009 R09: 00000000fffffffb<br>
> [    4.655453] R10: 0000000000000000 R11: ffffea0000c17478 R12: 0000000080000027<br>
> [    4.656368] R13: 0000000000000028 R14: ffffffffa026420d R15: 000000007fffffff<br>
> [    4.657292] FS:  00007f3545dad700(0000) GS:ffff88023fd80000(0000) knlGS:0000000000000000<br>
> [    4.658338] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033<br>
> [    4.659074] CR2: 0000000000000028 CR3: 0000000235d42000 CR4: 00000000000006e0<br>
> [    4.659991] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000<br>
> [    4.661030] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400<br>
> [    4.662031] Process modprobe (pid: 461, threadinfo ffff880233d52000, task ffff880233d15140)<br>
> [    4.663103] Stack:<br>
> [    4.663376]  000000000000ffff ffffffff810ed3ca ffffffff81617d50 ffffffffa0264204<br>
> [    4.664463]  0000000000008024 0000000000000000 0000000000000100 ffff88023500c000<br>
> [    4.665575]  ffff880236fcb000 0000000000000000 0000000000000001 ffff88023500c004<br>
> [    4.666405] Call Trace:<br>
> [    4.666586]  [<ffffffff810ed3ca>] ? kmem_cache_alloc_trace+0xbe/0xce<br>
> [    4.667225]  [<ffffffff811b36bc>] ? sprintf+0x46/0x4b<br>
> [    4.667876]  [<ffffffff8102bc39>] ? x86_swiotlb_alloc_coherent+0x19/0x40<br>
> [    4.701652]  [<ffffffffa02631b3>] ? pciradio_init_one+0x286/0xa47 [pciradio]<br>
> [    4.735463]  [<ffffffff81071321>] ? arch_local_irq_save+0x11/0x17<br>
> [    4.769150]  [<ffffffff811c7daf>] ? local_pci_probe+0x39/0x68<br>
> [    4.803104]  [<ffffffff811c8858>] ? pci_device_probe+0xcd/0xfa<br>
> [    4.836102]  [<ffffffff81253451>] ? driver_probe_device+0xa8/0x138<br>
> [    4.868469]  [<ffffffff81253530>] ? __driver_attach+0x4f/0x6f<br>
> [    4.900826]  [<ffffffff812534e1>] ? driver_probe_device+0x138/0x138<br>
> [    4.933650]  [<ffffffff81252080>] ? bus_for_each_dev+0x4f/0x7a<br>
> [    4.966721]  [<ffffffff81252dea>] ? bus_add_driver+0xa5/0x1f5<br>
> [    4.999332]  [<ffffffffa0273000>] ? 0xffffffffa0272fff<br>
> [    5.032044]  [<ffffffff81253958>] ? driver_register+0x8d/0xf5<br>
> [    5.064492]  [<ffffffffa0273000>] ? 0xffffffffa0272fff<br>
> [    5.097220]  [<ffffffff811c9073>] ? __pci_register_driver+0x4d/0xb6<br>
> [    5.129685]  [<ffffffffa0273000>] ? 0xffffffffa0272fff<br>
> [    5.161706]  [<ffffffffa027301b>] ? pciradio_init+0x1b/0x1000 [pciradio]<br>
> [    5.195863]  [<ffffffff81002085>] ? do_one_initcall+0x75/0x12c<br>
> [    5.230101]  [<ffffffffa0273000>] ? 0xffffffffa0272fff<br>
> [    5.264410]  [<ffffffff81075c39>] ? sys_init_module+0x10c/0x25b<br>
> [    5.296798]  [<ffffffff81355ed2>] ? system_call_fastpath+0x16/0x1b<br>
> [    5.327170] Code: 02 00 00 40 0f b6 ce ff 24 cd 18 81 42 81 4c 39 e5 73 1a 4c 89 e1 48 63 f0 48 89 ef 48 29 e9 48 39 ce 48 89 d6 0f 4e c8 48 63 c9 <f3> a4 4c 01 c5 e9 28 03 00 00 8b 13 83 fa 30 73 0d 89 d0 83 c2<br>
> [    5.393777] RIP  [<ffffffff811b330e>] vsnprintf+0xbf/0x427<br>
> [    5.424536]  RSP <ffff880233d53c68><br>
> [    5.454821] CR2: 0000000000000028<br>
> [    5.484507] ---[ end trace 57c400f595babbfa ]---<br>
<span class="im HOEnZb"><br>
<br>
--<br>
Bryan Fields<br>
<br>
<a href="tel:727-409-1194" value="+17274091194">727-409-1194</a> - Voice<br>
<a href="tel:727-214-2508" value="+17272142508">727-214-2508</a> - Fax<br>
<a href="http://bryanfields.net" target="_blank">http://bryanfields.net</a><br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
App_rpt-users mailing list<br>
<a href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a><br>
<a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><br>
<br>
To unsubscribe from this list please visit <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"<br>
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.<br>
</div></div></blockquote></div><br></div>