Dahdi and pciradio

Hello

I try to get my pciradio interface card to work with asterisk 1.6/dahdi 2.4/kernel 2.6.27
and always getting nearly same result.
i have tested this with kernel 2.6.27.[54,56,57] and with
asterisk 1.6.2.[13,15]

if pciradio is blaclisted in modprobe i can boot the system up as normal.
but manual “modprobe pciradio” makes the same result.

way or another, “lsmod” says the pciradio is loaded
but dahdi_cfg cant find any channels to configure.

Is this a bug or am i missing something?

Regards Tomi
:neutral_face:
[ 8.620256] input: PC Speaker as /class/input/input3
[ 9.149815] dahdi: Telephony Interface Registered on major 196
[ 9.149820] dahdi: Version: 2.4.0
[ 9.179556] pciradio 0000:01:02.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 9.179586] BUG: unable to handle kernel NULL pointer dereference at 00000004
[ 9.179701] IP: [] vsnprintf+0x7d/0x43d
[ 9.179780] *pde = 00000000
[ 9.179785] Oops: 0002 [#1] SMP
[ 9.179890] Modules linked in: pciradio(+) dahdi snd_ac97_codec ac97_bus crc_ccitt snd_pcm snd_seq snd_timer snd_seq_device psmouse snd serio_raw pcspkr soundcore snd_page_alloc i2c_i801 i2c_core rng_core shpchp pci_hotplug parport_pc parport button intel_agp agpgart evdev ext2 mbcache sd_mod ide_pci_generic piix ide_core ata_piix ata_generic libata e100 mii scsi_mod dock uhci_hcd ehci_hcd usbcore thermal processor fan thermal_sys [last unloaded: scsi_wait_scan]
[ 9.180102]
[ 9.180102] Pid: 1302, comm: modprobe Not tainted (2.6.27.57-lila #1)
[ 9.180102] EIP: 0060:[] EFLAGS: 00010a83 CPU: 0
[ 9.180102] EIP is at vsnprintf+0x7d/0x43d
[ 9.180102] EAX: 80000050 EBX: 00000000 ECX: f8a50559 EDX: 7fffffff
[ 9.180102] ESI: 00000004 EDI: f7a2fe94 EBP: f8a50559 ESP: f7a2fd78
[ 9.180102] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 9.180102] Process modprobe (pid: 1302, ti=f7a2e000 task=f77c0d20 task.ti=f7a2e000)
[ 9.180102] Stack: 7fffffff 00000004 80000003 00000000 00000002 ffffffff ffffffff 00000292
[ 9.180102] 00000000 f7a2fdf0 f7a2fdec c037ce80 c01607ba 00000001 00000246 00000000
[ 9.180102] 00000000 00000000 00000040 c03d34e4 00000001 00000000 00000000 00020020
[ 9.180102] Call Trace:
[ 9.180102] [] get_page_from_freelist+0x104/0x412
[ 9.180102] [] __alloc_pages_internal+0x98/0x393
[ 9.180102] [] _spin_lock+0x5/0x7
[ 9.180102] [] cache_alloc_refill+0x1a4/0x45f
[ 9.180102] [] dma_alloc_coherent+0xd8/0x221
[ 9.180102] [] sprintf+0x17/0x19
[ 9.180102] [] pciradio_init_one+0x1e3/0x8f9 [pciradio]
[ 9.180102] [] kobject_get+0xf/0x13
[ 9.180102] [] pci_device_probe+0x36/0x55
[ 9.180102] [] driver_probe_device+0x9d/0x12f
[ 9.180102] [] __driver_attach+0x37/0x55
[ 9.180102] [] bus_for_each_dev+0x35/0x5c
[ 9.180102] [] driver_attach+0x11/0x13
[ 9.180102] [] __driver_attach+0x0/0x55
[ 9.180102] [] bus_add_driver+0x91/0x1a4
[ 9.180102] [] pciradio_init+0x0/0x1f [pciradio]
[ 9.180102] [] driver_register+0x7d/0xd6
[ 9.180102] [] pciradio_init+0x0/0x1f [pciradio]
[ 9.180102] [] __pci_register_driver+0x3c/0x6a
[ 9.180102] [] pciradio_init+0x14/0x1f [pciradio]
[ 9.180102] [] _stext+0x37/0x10c
[ 9.180102] [] sys_init_module+0x87/0x174
[ 9.180102] [] syscall_call+0x7/0xb
[ 9.180102] =======================
[ 9.180102] Code: 44 24 04 c7 44 24 08 ff ff ff ff f7 d0 89 04 24 8b 74 24 04 e9 9d 03 00 00 3c 25 c7 44 24 0c 00 00 00 00 74 0e 3b 74 24 08 73 02 <88> 06 46 e9 82 03 00 00 45 8a 55 00 80 fa 2b 74 21 7f 0c 80 fa
[ 9.180102] EIP: [] vsnprintf+0x7d/0x43d SS:ESP 0068:f7a2fd78
[ 9.187597] —[ end trace 33b4d5f69dd83adf ]—
[ 9.795410] input: PS/2 Generic Mouse as /class/input/input4

Howdy,

Yuck.

Best to try Jim Dixon (jim@lambdatel.com) directly, as he wrote the kernel module for that card.

Cheers.