I am trying to download dives from my Uwatec Smart Com on Ubuntu 14.10. I have tried to eliminate as much complexity and have downloaded the smart test app to gather info about the problem. In the below system log, I have captured the following actions:
1. insert the usb irda dongle. 2. run irattach irda0. 3. run a quick irdadump to make sure the system sees the dive computer. 4. run smart.
The following lines are output:
DATETIME 2015-02-09T01:21:20Z (1423444880) VERSION 0.5.0-devel (61e9847196b4e7f4e2c80e47dd6cd7070c9c4418) uwatec_smart_device_open INFO: Discover: address=16c40100, name=Aladin Smart Com, charset=00, hints=8000 INFO: Connect: address=16c40100, lsap=1
A few seconds later, a system error message pops up. The smart application never completes and can not be killed. The smart.log file is created, but nothing is ever written to it.
I have cloned the current git tree and compiled the app successfully but it generates the same error. I'm happy to help debug if you'd like.
Thanks!
Nick Hardy
System log follows:
Feb 8 18:19:21 nick-Lenovo-IdeaPad-Z410 kernel: [184101.176165] usb 3-2: new full-speed USB device number 17 using xhci_hcd Feb 8 18:19:21 nick-Lenovo-IdeaPad-Z410 kernel: [184101.304370] usb 3-2: New USB device found, idVendor=9710, idProduct=7780 Feb 8 18:19:21 nick-Lenovo-IdeaPad-Z410 kernel: [184101.304373] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Feb 8 18:19:21 nick-Lenovo-IdeaPad-Z410 mtp-probe: checking bus 3, device 17: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2" Feb 8 18:19:21 nick-Lenovo-IdeaPad-Z410 mtp-probe: bus: 3, device: 17 was not an MTP device Feb 8 18:19:22 nick-Lenovo-IdeaPad-Z410 irattach: executing: '/sbin/modprobe irda0' Feb 8 18:19:22 nick-Lenovo-IdeaPad-Z410 irattach: + modprobe: FATAL: Module irda0 not found. Feb 8 18:19:22 nick-Lenovo-IdeaPad-Z410 irattach: Trying to load module irda0 exited with status 1 Feb 8 18:19:22 nick-Lenovo-IdeaPad-Z410 irattach: executing: 'echo nick-Lenovo-IdeaPad-Z410 > /proc/sys/net/irda/devname' Feb 8 18:19:22 nick-Lenovo-IdeaPad-Z410 irattach: executing: 'echo 1 > /proc/sys/net/irda/discovery' Feb 8 18:19:22 nick-Lenovo-IdeaPad-Z410 irattach: Starting device irda0 Feb 8 18:20:15 nick-Lenovo-IdeaPad-Z410 irattach: executing: '/sbin/modprobe irda0' Feb 8 18:20:15 nick-Lenovo-IdeaPad-Z410 irattach: + modprobe: FATAL: Module irda0 not found. Feb 8 18:20:15 nick-Lenovo-IdeaPad-Z410 irattach: Trying to load module irda0 exited with status 1 Feb 8 18:20:15 nick-Lenovo-IdeaPad-Z410 irattach: executing: 'echo nick-Lenovo-IdeaPad-Z410 > /proc/sys/net/irda/devname' Feb 8 18:20:15 nick-Lenovo-IdeaPad-Z410 irattach: Starting device irda0 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.824122] BUG: unable to handle kernel NULL pointer dereference at (null) Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.824218] IP: [< (null)>] (null) Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.824270] PGD 189e66067 PUD 1dd796067 PMD 0 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.824323] Oops: 0010 [#2] SMP Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.824360] Modules linked in: ctr ccm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm bnep mcs7780 uvcvideo irda crc_ccitt videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common uas videodev usb_storage media ath3k btusb bluetooth binfmt_misc 6lowpan_iphc nls_iso8859_1 arc4 ath9k ath9k_common ath9k_hw ath mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp cfg80211 coretemp kvm_intel kvm snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic crct10dif_pclmul crc32_pclmul snd_hda_intel snd_hda_controller snd_hda_codec ghash_clmulni_intel aesni_intel aes_x86_64 snd_hwdep snd_pcm lrw snd_seq_midi gf128mul glue_helper snd_seq_midi_event snd_rawmidi ablk_helper snd_seq i915 cryptd snd_seq_device snd_timer mei_me snd soundcore mei drm_kms_helper drm i2c_algo_bit ideapad_laptop lpc_ich shpchp joydev video sparse_keymap serio_raw mac_hid parport_pc ppdev lp parport hid_generic usbhid hid psmouse ahci r8169 libahci mii Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.825401] CPU: 1 PID: 26737 Comm: smart Tainted: G D OE 3.16.0-30-generic #40-Ubuntu Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.825484] Hardware name: LENOVO 20292/VIUU4, BIOS 8DCN38WW 11/28/2013 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.825547] task: ffff880018bbbd20 ti: ffff880158a64000 task.ti: ffff880158a64000 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.825615] RIP: 0010:[<0000000000000000>] [< (null)>] (null) Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.825687] RSP: 0018:ffff880158a67dc8 EFLAGS: 00010206 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.825736] RAX: ffffffffc094b300 RBX: ffff880087eb2a80 RCX: ffff880033d5df08 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.825801] RDX: ffff880033d5df08 RSI: 0000000000000002 RDI: ffff8802433e7000 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.825865] RBP: ffff880158a67e40 R08: ffff880158a64000 R09: 0000000000000206 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.825930] R10: 0000026625c2ce74 R11: 00000000000006f7 R12: ffff880158a67e58 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.825994] R13: ffff8802433e7000 R14: 0000000000000000 R15: 0000000000000024 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] FS: 0000000000000000(0000) GS:ffff88025f240000(0063) knlGS:00000000f757c940 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] CR2: 0000000000000000 CR3: 0000000186023000 CR4: 00000000001407e0 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] Stack: Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] ffffffffc0943956 0000000000000000 ffffffff82347a4d ffff880087eb2a80 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] 0000000258a67e58 0000000000000000 ffff880018bbbd20 ffffffff820b9740 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] ffff880158a67e08 ffff880158a67e08 ffff880087eb2a80 0000000000000024 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] Call Trace: Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] [<ffffffffc0943956>] ? irda_connect+0x156/0x490 [irda] Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] [<ffffffff82347a4d>] ? aa_sk_perm.isra.4+0x6d/0x170 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] [<ffffffff820b9740>] ? prepare_to_wait_event+0x100/0x100 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] [<ffffffff826669f7>] SYSC_connect+0xe7/0x120 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] [<ffffffff8201195d>] ? __switch_to+0x48d/0x5e0 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] [<ffffffff82667a5e>] SyS_connect+0xe/0x10 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] [<ffffffff826a2f26>] compat_SyS_socketcall+0x3d6/0x500 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] [<ffffffff8278cb5a>] sysenter_dispatch+0x7/0x21 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] Code: Bad RIP value. Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] RIP [< (null)>] (null) Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] RSP <ffff880158a67dc8> Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.828073] CR2: 0000000000000000 Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel: [184222.891236] ---[ end trace 9e0b0d278edbbe8d ]---