Все нижеперечисленное работает
- Elastix-2.4.0-7
- Asterisk 11.12.0
- Linux kernel (x86_64) 3.2.66 1.el5.elrepo
- Голосовой модем Huawei E150
- kmod-huawei-voice v0.0.1 (https://github.com/Novax/kmod-huawei-voice)
-- до тех под пока я не делаю рестарт Астериска.
Система переходит в странное состояние. Процесс астериск подвисает, ни одна программа не стартует, даже «shutdown -r». Все что было возможно — это выполнить в рутовой консоли
echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger
Есть у кого-нибудь истории успеха с данным модулем ?
Кернел-трейс
BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 IP: [<ffffffff812fda0d>] __usb_unanchor_urb+0x39/0x6b PGD 0 Oops: 0002 [#1] PREEMPT SMP CPU 1 Modules linked in: huawei_voice(O) option(O) lockd sunrpc xt_tcpudp xt_iprange ipt_REJECT iptable_mangle iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables ppp_synctty ppp_async crc_ccitt ppp_generic slhc be2iscsi iscsi_boot_sysfs ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp bnx2i cnic uio ipv6 cxgb3i libcxgbi cxgb3 mdio libiscsi_tcp libiscsi scsi_transport_iscsi dm_multipath scs i_dh sbs sbshc pci_slot battery acpi_memhotplug acpi_ipmi ipmi_msghandler ac lp sg usb_wwan usbserial video snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_seq_oss snd_seq_midi_event r8169 mii snd_seq snd_seq_d evice snd_pcm_oss snd_mixer_oss snd_pcm tpm_tis tpm iTCO_wdt tpm_bios snd_timer pcspkr button serio_raw iTCO_vendor_support snd parport_pc shpchp parport i2c_i801 i2c_core soundcore snd_page_alloc dm_snapshot dm_zero dm_mirror dm_region_hash dm_log dm_mod usb_storage pata_acpi ata_piix ata_generic libata sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd [last unloaded: huawei_voice] Pid: 17628, comm: asterisk Tainted: G O 3.2.66-1.el5.elrepo #1 Gigabyte Technology Co., Ltd. To be filled by O.E.M./H61M-S2PV REV 2.2 RIP: 0010:[<ffffffff812fda0d>] [<ffffffff812fda0d>] __usb_unanchor_urb+0x39/0x6b RSP: 0018:ffff880105b3dae8 EFLAGS: 00010096 RAX: 0000000000000000 RBX: ffff880112ebe510 RCX: ffff880112ebe500 RDX: 0000000000000000 RSI: ffff880112ebe510 RDI: ffff880112ebe4d0 RBP: ffff880105b3daf8 R08: dead000000200200 R09: dead000000100100 R10: ffff880105b3dc98 R11: 0000000300000000 R12: ffff880112ebe4d0 R13: ffff880112ebe538 R14: 0000000000000282 R15: 0000000000000000 FS: 00007f12f8995940(0000) GS:ffff88011f300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: 0000000000000008 CR3: 0000000001806000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process asterisk (pid: 17628, threadinfo ffff880105b3c000, task ffff880105bb9560) Stack: ffff880105b3daf8 ffff880112ebe510 ffff880105b3db28 ffffffff812fda83 ffff880113fe1000 ffff880112ebe480 ffff880112114240 ffff88011687c400 ffff880105b3db58 ffffffffa0233be3 ffff880113fe1008 ffff880113fe1008 Call Trace: [<ffffffff812fda83>] usb_get_from_anchor+0x44/0x5b [<ffffffffa0233be3>] usb_wwan_close+0x7d/0xdb [usb_wwan] [<ffffffffa027b146>] serial_down+0x2c/0x2e [usbserial] [<ffffffff812ac7be>] tty_port_shutdown+0x41/0x4e [<ffffffff812acfc1>] tty_port_close+0x23/0x45 [<ffffffffa027bd15>] serial_close+0x5a/0x63 [usbserial] [<ffffffff812a5d92>] tty_release+0x1fd/0x514 [<ffffffff8113d563>] __fput+0x73/0x10b [<ffffffff8113d615>] fput+0x1a/0x1c [<ffffffff8113a257>] filp_close+0x72/0x7d [<ffffffff8105994c>] close_files+0x72/0x99 [<ffffffff810599a7>] put_files_struct+0x1e/0x51 [<ffffffff81059a15>] exit_files+0x3b/0x40 [<ffffffff8105acc2>] do_exit+0x1ef/0x33b [<ffffffff81065dd0>] ? freezing+0xe/0x10 [<ffffffff81065f38>] ? recalc_sigpending+0x45/0x48 [<ffffffff8105aea7>] do_group_exit+0x99/0x99 [<ffffffff81068d7e>] get_signal_to_deliver+0x2af/0x2f6 [<ffffffff8101085e>] do_signal+0x40/0xfa [<ffffffff81086e65>] ? do_futex+0x92/0x13f [<ffffffff81086fe1>] ? sys_futex+0xcf/0x10e [<ffffffff81010940>] do_notify_resume+0x28/0x6e [<ffffffff814250d0>] int_signal+0x12/0x17 Code: 48 8d 4f 30 48 c7 47 40 00 00 00 00 48 8b 57 30 49 b9 00 01 10 00 00 00 ad de 49 b8 00 02 20 00 00 00 ad de 48 89 f3 48 8b 41 08 <48> 89 42 08 48 89 10 4c 89 41 08 4c 89 4f 30 e8 27 ff ff ff 48 RIP [<ffffffff812fda0d>] __usb_unanchor_urb+0x39/0x6b RSP <ffff880105b3dae8> CR2: 0000000000000008 ---[ end trace d9fb28a4553a572a ]--- Fixing recursive fault but reboot is needed! BUG: scheduling while atomic: asterisk/17628/0x00000002 Modules linked in: huawei_voice(O) option(O) lockd sunrpc xt_tcpudp xt_iprange ipt_REJECT iptable_mangle iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables ppp_synctty ppp_async crc_ccitt ppp_generic slhc be2iscsi iscsi_boot_sysfs ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp bnx2i cnic uio ipv6 cxgb3i libcxgbi cxgb3 mdio libiscsi_tcp libiscsi scsi_transport_iscsi dm_multipath scs i_dh sbs sbshc pci_slot battery acpi_memhotplug acpi_ipmi ipmi_msghandler ac lp sg usb_wwan usbserial video snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_seq_oss snd_seq_midi_event r8169 mii snd_seq snd_seq_d evice snd_pcm_oss snd_mixer_oss snd_pcm tpm_tis tpm iTCO_wdt tpm_bios snd_timer pcspkr button serio_raw iTCO_vendor_support snd parport_pc shpchp parport i2c_i801 i2c_core soundcore snd_page_alloc dm_snapshot dm_zero dm_mirror dm_region_hash dm_log dm_mod usb_storage pata_acpi ata_piix ata_generic libata sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd [last unloaded: huawei_voice] Pid: 17628, comm: asterisk Tainted: G D O 3.2.66-1.el5.elrepo #1 Call Trace: [<ffffffff8104f165>] ? __schedule_bug+0x61/0x65 [<ffffffff8104f193>] ? schedule_debug+0x2a/0x50 [<ffffffff8141d84e>] ? __schedule+0x60/0x186 [<ffffffff8141da4d>] ? schedule+0x1c/0x1e [<ffffffff8105ab9f>] ? do_exit+0xcc/0x33b [<ffffffff8141fc67>] ? oops_end+0xbf/0xc7 [<ffffffff8103b254>] ? no_context+0xea/0xf7 [<ffffffff8103b45b>] ? __bad_area_nosemaphore+0x133/0x140 [<ffffffff81044f7e>] ? calc_delta_fair+0x1a/0x22 [<ffffffff8103b4f2>] ? bad_area_nosemaphore+0x13/0x15 [<ffffffff81421aa0>] ? do_page_fault+0x1a2/0x33e [<ffffffff810464a1>] ? resched_task+0x48/0x71 [<ffffffff81044fbb>] ? wakeup_preempt_entity+0x1f/0x2b [<ffffffff8104f4fe>] ? check_preempt_wakeup+0xd0/0x103 [<ffffffff8104632a>] ? test_tsk_thread_flag+0xd/0xf [<ffffffff81046394>] ? test_tsk_need_resched+0xe/0x18 [<ffffffff81046529>] ? check_preempt_curr+0x5f/0x6f [<ffffffff81052105>] ? ttwu_do_wakeup+0x34/0xa9 [<ffffffff8141f305>] ? page_fault+0x25/0x30 [<ffffffff812fda0d>] ? __usb_unanchor_urb+0x39/0x6b [<ffffffff812fd8d6>] ? usb_get_urb+0x1b/0x22 [<ffffffff812fda83>] ? usb_get_from_anchor+0x44/0x5b [<ffffffffa0233be3>] ? usb_wwan_close+0x7d/0xdb [usb_wwan] [<ffffffffa027b146>] ? serial_down+0x2c/0x2e [usbserial] [<ffffffff812ac7be>] ? tty_port_shutdown+0x41/0x4e [<ffffffff812acfc1>] ? tty_port_close+0x23/0x45 [<ffffffffa027bd15>] ? serial_close+0x5a/0x63 [usbserial] [<ffffffff812a5d92>] ? tty_release+0x1fd/0x514 [<ffffffff8113d563>] ? __fput+0x73/0x10b [<ffffffff8113d615>] ? fput+0x1a/0x1c [<ffffffff8113a257>] ? filp_close+0x72/0x7d [<ffffffff8105994c>] ? close_files+0x72/0x99 [<ffffffff810599a7>] ? put_files_struct+0x1e/0x51 [<ffffffff81059a15>] ? exit_files+0x3b/0x40 [<ffffffff8105acc2>] ? do_exit+0x1ef/0x33b [<ffffffff81065dd0>] ? freezing+0xe/0x10 [<ffffffff81065f38>] ? recalc_sigpending+0x45/0x48 [<ffffffff8105aea7>] ? do_group_exit+0x99/0x99 [<ffffffff81068d7e>] ? get_signal_to_deliver+0x2af/0x2f6 [<ffffffff8101085e>] ? do_signal+0x40/0xfa [<ffffffff81086e65>] ? do_futex+0x92/0x13f [<ffffffff81086fe1>] ? sys_futex+0xcf/0x10e [<ffffffff81010940>] ? do_notify_resume+0x28/0x6e [<ffffffff814250d0>] ? int_signal+0x12/0x17