<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="+1"><font face="Verdana">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:<br>
</font></font>
<ol>
<li><font size="+1"><font face="Verdana">insert the usb irda
dongle.</font></font></li>
<li><font size="+1"><font face="Verdana">run irattach irda0.</font></font></li>
<li><font size="+1"><font face="Verdana">run a quick irdadump to
make sure the system sees the dive computer.</font></font></li>
<li><font size="+1"><font face="Verdana">run smart.</font></font></li>
</ol>
<p><font size="+1"><font face="Verdana">The following lines are
output:<br>
</font></font></p>
<blockquote>
<p><small><font size="+1"><small><tt>DATETIME 2015-02-09T01:21:20Z
(1423444880)</tt><tt><br>
</tt><tt>VERSION 0.5.0-devel
(61e9847196b4e7f4e2c80e47dd6cd7070c9c4418)</tt><tt><br>
</tt><tt>uwatec_smart_device_open</tt><tt><br>
</tt><tt>INFO: Discover: address=16c40100, name=Aladin
Smart Com, charset=00, hints=8000</tt><tt><br>
</tt><tt>INFO: Connect: address=16c40100, lsap=1</tt></small></font></small><font
size="+1"><font face="Verdana"><br>
</font></font></p>
</blockquote>
<p><font size="+1" face="Verdana">A few seconds later, a system
error message pops up. The smart application never completes </font><big><font
face="Verdana">and can not be killed. The smart.log file is
created, but nothing is ever written to it.</font></big><br>
</p>
<p><big><font face="Verdana">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.<br>
</font></big></p>
<p><big><font face="Verdana">Thanks!<br>
</font></big></p>
<p><big><font face="Verdana">Nick Hardy<br>
</font></big></p>
<p><big><font face="Verdana">System log follows:<br>
</font></big></p>
<p><big><small><small><tt>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</tt><tt><br>
</tt><tt>Feb 8 18:19:21 nick-Lenovo-IdeaPad-Z410 kernel:
[184101.304370] usb 3-2: New USB device found,
idVendor=9710, idProduct=7780</tt><tt><br>
</tt><tt>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</tt><tt><br>
</tt><tt>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"</tt><tt><br>
</tt><tt>Feb 8 18:19:21 nick-Lenovo-IdeaPad-Z410 mtp-probe:
bus: 3, device: 17 was not an MTP device</tt><tt><br>
</tt><tt>Feb 8 18:19:22 nick-Lenovo-IdeaPad-Z410 irattach:
executing: '/sbin/modprobe irda0'</tt><tt><br>
</tt><tt>Feb 8 18:19:22 nick-Lenovo-IdeaPad-Z410 irattach:
+ modprobe: FATAL: Module irda0 not found.</tt><tt><br>
</tt><tt>Feb 8 18:19:22 nick-Lenovo-IdeaPad-Z410 irattach:
Trying to load module irda0 exited with status 1</tt><tt><br>
</tt><tt>Feb 8 18:19:22 nick-Lenovo-IdeaPad-Z410 irattach:
executing: 'echo nick-Lenovo-IdeaPad-Z410 >
/proc/sys/net/irda/devname'</tt><tt><br>
</tt><tt>Feb 8 18:19:22 nick-Lenovo-IdeaPad-Z410 irattach:
executing: 'echo 1 > /proc/sys/net/irda/discovery'</tt><tt><br>
</tt><tt>Feb 8 18:19:22 nick-Lenovo-IdeaPad-Z410 irattach:
Starting device irda0</tt><tt><br>
</tt><tt>Feb 8 18:20:15 nick-Lenovo-IdeaPad-Z410 irattach:
executing: '/sbin/modprobe irda0'</tt><tt><br>
</tt><tt>Feb 8 18:20:15 nick-Lenovo-IdeaPad-Z410 irattach:
+ modprobe: FATAL: Module irda0 not found.</tt><tt><br>
</tt><tt>Feb 8 18:20:15 nick-Lenovo-IdeaPad-Z410 irattach:
Trying to load module irda0 exited with status 1</tt><tt><br>
</tt><tt>Feb 8 18:20:15 nick-Lenovo-IdeaPad-Z410 irattach:
executing: 'echo nick-Lenovo-IdeaPad-Z410 >
/proc/sys/net/irda/devname'</tt><tt><br>
</tt><tt>Feb 8 18:20:15 nick-Lenovo-IdeaPad-Z410 irattach:
Starting device irda0</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.824122] BUG: unable to handle kernel NULL pointer
dereference at (null)</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.824218] IP: [< (null)>]
(null)</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.824270] PGD 189e66067 PUD 1dd796067 PMD 0 </tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.824323] Oops: 0010 [#2] SMP </tt><tt><br>
</tt><tt>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</tt><tt><br>
</tt><tt>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</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.825484] Hardware name: LENOVO 20292/VIUU4, BIOS
8DCN38WW 11/28/2013</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.825547] task: ffff880018bbbd20 ti:
ffff880158a64000 task.ti: ffff880158a64000</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.825615] RIP: 0010:[<0000000000000000>]
[< (null)>] (null)</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.825687] RSP: 0018:ffff880158a67dc8 EFLAGS:
00010206</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.825736] RAX: ffffffffc094b300 RBX:
ffff880087eb2a80 RCX: ffff880033d5df08</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.825801] RDX: ffff880033d5df08 RSI:
0000000000000002 RDI: ffff8802433e7000</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.825865] RBP: ffff880158a67e40 R08:
ffff880158a64000 R09: 0000000000000206</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.825930] R10: 0000026625c2ce74 R11:
00000000000006f7 R12: ffff880158a67e58</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.825994] R13: ffff8802433e7000 R14:
0000000000000000 R15: 0000000000000024</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] FS: 0000000000000000(0000)
GS:ffff88025f240000(0063) knlGS:00000000f757c940</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] CS: 0010 DS: 002b ES: 002b CR0:
0000000080050033</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] CR2: 0000000000000000 CR3:
0000000186023000 CR4: 00000000001407e0</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] Stack:</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] ffffffffc0943956 0000000000000000
ffffffff82347a4d ffff880087eb2a80</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] 0000000258a67e58 0000000000000000
ffff880018bbbd20 ffffffff820b9740</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] ffff880158a67e08 ffff880158a67e08
ffff880087eb2a80 0000000000000024</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] Call Trace:</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] [<ffffffffc0943956>] ?
irda_connect+0x156/0x490 [irda]</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] [<ffffffff82347a4d>] ?
aa_sk_perm.isra.4+0x6d/0x170</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] [<ffffffff820b9740>] ?
prepare_to_wait_event+0x100/0x100</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] [<ffffffff826669f7>]
SYSC_connect+0xe7/0x120</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] [<ffffffff8201195d>] ?
__switch_to+0x48d/0x5e0</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] [<ffffffff82667a5e>]
SyS_connect+0xe/0x10</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] [<ffffffff826a2f26>]
compat_SyS_socketcall+0x3d6/0x500</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] [<ffffffff8278cb5a>]
sysenter_dispatch+0x7/0x21</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] Code: Bad RIP value.</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] RIP [< (null)>]
(null)</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] RSP <ffff880158a67dc8></tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.828073] CR2: 0000000000000000</tt><tt><br>
</tt><tt>Feb 8 18:21:22 nick-Lenovo-IdeaPad-Z410 kernel:
[184222.891236] ---[ end trace 9e0b0d278edbbe8d ]---</tt></small></small><font
face="Verdana"><br>
<br>
</font></big></p>
<p><big><font face="Verdana"><br>
</font></big></p>
</body>
</html>