keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

opvxa1200 driver problem

15 years 4 months ago #2464 by kerry
the dmesg is :

Module 0: Installed -- AUTO FXS/DPO
Module 1: Installed -- AUTO FXS/DPO
Module 2: Installed -- AUTO FXS/DPO
Module 3: Installed -- AUTO FXS/DPO
Module 4: Installed -- AUTO FXS/DPO
Timeout waiting for calibration of module 5
BUG: soft lockup - CPU#0 stuck for 10s! [modprobe]

Pid: 3817, comm: modprobe
EIP: 0060:[<c0609a50>] CPU: 0
EIP is at _spin_unlock_irqrestore+0x8/0x9
EFLAGS: 00000286 Tainted: G (2.6.18-92.1.18.el5 #1)
EAX: f7628210 EBX: f762801f ECX: 00000286 EDX: 00000200
ESI: 00000286 EDI: f7628210 EBP: 00000060 DS: 007b ES: 007b
CR0: 8005003b CR2: b7f0f007 CR3: 3421d000 CR4: 000006d0
[<f8ca0c1f>] wctdm_getreg+0x37/0x42 [opvxa1200]
[<f8ca0e57>] wctdm_proslic_calibrate+0x5b/0xa1 [opvxa1200]
[<f8ca156a>] wctdm_init_proslic+0x30d/0x89b [opvxa1200]
[<c042651e>] vprintk+0x1e9/0x2b1
[<f8ca1cae>] wctdm_hardware_init+0x1b6/0xa07 [opvxa1200]
[<f8ca3293>] wctdm_init_one+0x58d/0x7aa [opvxa1200]
[<c054e025>] __driver_attach+0x0/0x6b
[<c04eef40>] pci_device_probe+0x36/0x57
[<c054df78>] driver_probe_device+0x42/0x92
[<c054e069>] __driver_attach+0x44/0x6b
[<c054da76>] bus_for_each_dev+0x37/0x59
[<c054dee2>] driver_attach+0x11/0x13
[<c054e025>] __driver_attach+0x0/0x6b
[<c054d77e>] bus_add_driver+0x64/0xfd
[<c04ef065>] __pci_register_driver+0x3e/0x58
[<f88c40af>] wctdm_init+0xaf/0xd7 [opvxa1200]
[<c0430cff>] blocking_notifier_call_chain+0x23/0x29
[<c043e569>] sys_init_module+0x18b5/0x1a60
[<c0405953>] reschedule_interrupt+0x1f/0x24
[<c042ac34>] __request_region+0x0/0xb0
[<c042988a>] current_kernel_time+0x9/0x38
[<c044b1e5>] audit_syscall_entry+0x14b/0x17d
[<c0404eff>] syscall_call+0x7/0xb
=======================
Timeout waiting for calibration of module 5
Proslic Failed on Second Attempt to Auto Calibrate
Init ProSlic with Manual Calibration
Proslic Failed on Second Attempt to Calibrate Manually. (Try -DNO_CALIBRATION in Makefile)
Module 5: FAILED FXS (FCC)
Module 6: Installed -- AUTO FXS/DPO
Module 7: Installed -- AUTO FXS/DPO
Module 8: Installed -- AUTO FXS/DPO
Module 9: Installed -- AUTO FXS/DPO
Module 10: Installed -- AUTO FXS/DPO
Module 11: Installed -- AUTO FXS/DPO
Found a OpenVox A1200P: Version 0.0 (11 modules)
buffer sync misseed!
buffer re-sync occur from -1 to 3

So the port 5 cann't use, why?
15 years 4 months ago #2465 by james.zhu
hello,
it can be used. it should be no problem.
regards!
James.zhu

15 years 4 months ago #2466 by miaolin
BUG: soft lockup - CPU#0 stuck for 10s! [modprobe]

You meet a linux bug report. linux will report a soft lockup if the time of loading device driver longer than 10s. to solve this issue, you have to modify a1200p.c, add a 10s delay loop before the driver init the module registers, the function is wctdm_hardware_init

static int wctdm_hardware_init(struct wctdm *wc)
{
/* Hardware stuff */
unsigned char ver;
unsigned char x,y;
int failed;
//long origjiffies; //ml.

/* Signal Reset */
//printk("before raise reset\n");
outb(0x01, wc->ioaddr + WC_CNTL);

/* Wait for 2 second */
/*
origjiffies = jiffies;

while(1)
{
if ((jiffies - origjiffies) >= (HZ*5))
break;;
}

printk("after raise reset\n");*/

open the loop after Wait for 2 second, and try to modify the HZ*5 to HZ*10 etc.
15 years 4 months ago #2467 by kerry
Module 5: FAILED FXS (FCC)

the message "failed"!
connect the pstn phone and cann't use.
15 years 4 months ago #2468 by kerry
I changed the HZ*5 to HZ*10 , but the message is still.
Timeout waiting for calibration of module 5
BUG: soft lockup - CPU#0 stuck for 10s! [modprobe]

Pid: 6237, comm: modprobe
EIP: 0060:[<c0609a50>] CPU: 0
EIP is at _spin_unlock_irqrestore+0x8/0x9
EFLAGS: 00000286 Tainted: G (2.6.18-92.1.18.el5 #1)
EAX: f41e8210 EBX: f41e801f ECX: 00000286 EDX: 00000200
ESI: 00000286 EDI: f41e8210 EBP: 00000060 DS: 007b ES: 007b
CR0: 8005003b CR2: 006544a0 CR3: 33eee000 CR4: 000006d0
[<f8ca0c1f>] wctdm_getreg+0x37/0x42 [opvxa1200]
[<f8ca0e57>] wctdm_proslic_calibrate+0x5b/0xa1 [opvxa1200]
[<f8ca156a>] wctdm_init_proslic+0x30d/0x89b [opvxa1200]
[<c042651e>] vprintk+0x1e9/0x2b1
[<f8ca1cae>] wctdm_hardware_init+0x1b6/0xa07 [opvxa1200]
[<f8ca3293>] wctdm_init_one+0x58d/0x7aa [opvxa1200]
[<c054e025>] __driver_attach+0x0/0x6b
[<c04eef40>] pci_device_probe+0x36/0x57
[<c054df78>] driver_probe_device+0x42/0x92
[<c054e069>] __driver_attach+0x44/0x6b
[<c054da76>] bus_for_each_dev+0x37/0x59
[<c054dee2>] driver_attach+0x11/0x13
[<c054e025>] __driver_attach+0x0/0x6b
[<c054d77e>] bus_add_driver+0x64/0xfd
[<c04ef065>] __pci_register_driver+0x3e/0x58
[<f88c40af>] wctdm_init+0xaf/0xd7 [opvxa1200]
[<c0430cff>] blocking_notifier_call_chain+0x23/0x29
[<c043e569>] sys_init_module+0x18b5/0x1a60
[<c042ac34>] __request_region+0x0/0xb0
[<c044b1e5>] audit_syscall_entry+0x14b/0x17d
[<c0404eff>] syscall_call+0x7/0xb
=======================
Timeout waiting for calibration of module 5
Proslic Failed on Second Attempt to Auto Calibrate
Init ProSlic with Manual Calibration
Proslic Failed on Second Attempt to Calibrate Manually. (Try -DNO_CALIBRATION in Makefile)
Module 5: FAILED FXS (FCC)

and the module 5 failed is still.
15 years 4 months ago #2469 by miaolin
/*
origjiffies = jiffies;

while(1)
{
if ((jiffies - origjiffies) >= (HZ*5))
break;;
}

printk("after raise reset\n");*/

this code were comment outed, have you deleted the /* and */ as following?

origjiffies = jiffies;

while(1)
{
if ((jiffies - origjiffies) >= (HZ*5))
break;;
}

printk("after raise reset\n");
Time to create page: 0.037 seconds
Powered by Kunena Forum