[SailfishDevel] Installation trouble with the SDK

Kim Foder kim at foder.dk
Thu Jan 8 23:42:40 UTC 2015


Hi

I'm still having problems installing the SDK, also with the latest
release.

I have proven the problem to be in merssh, by executing it from a cli
with the following command:

/home/kif/SailfishOS/bin/merssh generatesshkeys
'/home/kif/SailfishOS/vmshare/ssh/private_keys/engine/root'
'/home/kif/SailfishOS/vmshare/ssh/private_keys/engine/root.pub'

This never returns, but unlike the SDK installation it doesn't freeze
the desktop (it does kill the network though).

The process becomes un-killable with 0% cpu.

Because the desktop still was responsive, I could run dmesg, and found
the following message:

[ 1148.207334] ------------[ cut here ]------------
[ 1148.207353] WARNING: CPU: 1 PID: 4972
at /build/buildd/linux-3.16.0/kernel/watchdog.c:265
watchdog_overflow_callback+0x9c/0xd0()
[ 1148.207357] Watchdog detected hard LOCKUP on cpu 1
[ 1148.207360] Modules linked in:
[ 1148.207363]  hidp hid dm_crypt btusb bnep rfcomm bluetooth
6lowpan_iphc binfmt_misc uvcvideo videobuf2_vmalloc videobuf2_memops
intel_rapl videobuf2_core x86_pkg_temp_thermal intel_powerclamp
v4l2_common coretemp videodev media kvm_intel hp_wmi wl(POE)
sparse_keymap kvm snd_hda_codec_hdmi crct10dif_pclmul snd_hda_codec_idt
crc32_pclmul snd_hda_codec_generic ghash_clmulni_intel snd_hda_intel
aesni_intel snd_hda_controller aes_x86_64 snd_hda_codec lrw snd_hwdep
gf128mul glue_helper snd_pcm ablk_helper snd_seq_midi cryptd
snd_seq_midi_event snd_rawmidi joydev snd_seq cfg80211 serio_raw
snd_seq_device snd_timer snd hp_accel lis3lv02d input_polldev
tpm_infineon soundcore mei_me shpchp lpc_ich mei mac_hid cuse parport_pc
ppdev lp parport i915 psmouse ahci firewire_ohci i2c_algo_bit e1000e
libahci drm_kms_helper
[ 1148.207451]  firewire_core sdhci_pci drm sdhci crc_itu_t ptp pps_core
wmi video
[ 1148.207467] CPU: 1 PID: 4972 Comm: merssh Tainted: P           OE
3.16.0-28-generic #38-Ubuntu
[ 1148.207470] Hardware name: Hewlett-Packard HP ProBook 6560b/1619,
BIOS 68SCE Ver. F.22 12/22/2011
[ 1148.207474]  0000000000000009 ffff88013f445c10 ffffffff81781eaa
ffff88013f445c58
[ 1148.207479]  ffff88013f445c48 ffffffff8106fedd ffff880138cd8000
0000000000000000
[ 1148.207484]  ffff88013f445d70 ffff88013f445ef8 0000000000000000
ffff88013f445ca8
[ 1148.207490] Call Trace:
[ 1148.207493]  <NMI>  [<ffffffff81781eaa>] dump_stack+0x45/0x56
[ 1148.207510]  [<ffffffff8106fedd>] warn_slowpath_common+0x7d/0xa0
[ 1148.207517]  [<ffffffff8106ff4c>] warn_slowpath_fmt+0x4c/0x50
[ 1148.207524]  [<ffffffff8112222c>] watchdog_overflow_callback
+0x9c/0xd0
[ 1148.207532]  [<ffffffff8115fecd>] __perf_event_overflow+0x8d/0x2a0
[ 1148.207539]  [<ffffffff8102a11b>] ? x86_perf_event_set_period
+0xcb/0x170
[ 1148.207546]  [<ffffffff811609f4>] perf_event_overflow+0x14/0x20
[ 1148.207553]  [<ffffffff8103187d>] intel_pmu_handle_irq+0x1ed/0x3e0
[ 1148.207560]  [<ffffffff81028e7b>] perf_event_nmi_handler+0x2b/0x50
[ 1148.207565]  [<ffffffff810172b0>] nmi_handle+0x80/0x120
[ 1148.207570]  [<ffffffff8101785d>] default_do_nmi+0x4d/0x140
[ 1148.207575]  [<ffffffff810179d8>] do_nmi+0x88/0xd0
[ 1148.207581]  [<ffffffff8178c2a1>] end_repeat_nmi+0x1e/0x2e
[ 1148.207587]  [<ffffffff81789708>] ? _raw_spin_lock_irqsave+0x48/0x70
[ 1148.207593]  [<ffffffff81789708>] ? _raw_spin_lock_irqsave+0x48/0x70
[ 1148.207598]  [<ffffffff81789708>] ? _raw_spin_lock_irqsave+0x48/0x70
[ 1148.207601]  <<EOE>>  [<ffffffff810bfd76>] down+0x16/0x50
[ 1148.207675]  [<ffffffffc0a2ae49>] wl_proc_read+0x89/0xa0 [wl]
[ 1148.207683]  [<ffffffff81246d18>] proc_reg_read+0x48/0x70
[ 1148.207691]  [<ffffffff811e0f14>] vfs_read+0x94/0x180
[ 1148.207698]  [<ffffffff811e1bb6>] SyS_read+0x46/0xb0
[ 1148.207704]  [<ffffffff81789eed>] system_call_fastpath+0x1a/0x1f
[ 1148.207707] ---[ end trace 27a6d7af2f51ec6d ]--- 


and a short while later a lot of the following:


[ 1185.312162] INFO: rcu_sched detected stalls on CPUs/tasks: { 1}
(detected by 0, t=15009 jiffies, g=66782, c=66781, q=0)
[ 1185.312181] sending NMI to all CPUs:
[ 1185.312193] NMI backtrace for cpu 0
[ 1185.312202] CPU: 0 PID: 1785 Comm: Xorg Tainted: P        W  OE
3.16.0-28-generic #38-Ubuntu
[ 1185.312215] Hardware name: Hewlett-Packard HP ProBook 6560b/1619,
BIOS 68SCE Ver. F.22 12/22/2011
[ 1185.312218] task: ffff8800b5a228c0 ti: ffff8801385f0000 task.ti:
ffff8801385f0000
[ 1185.312220] RIP: 0010:[<ffffffff813a7e52>]  [<ffffffff813a7e52>]
__const_udelay+0x12/0x30
[ 1185.312228] RSP: 0018:ffff88013f403de0  EFLAGS: 00000046
[ 1185.312230] RAX: 0000000001062560 RBX: 0000000000002710 RCX:
0000000000000004
[ 1185.312233] RDX: 00000000008c1328 RSI: 0000000000000100 RDI:
0000000000418958
[ 1185.312235] RBP: ffff88013f403df8 R08: 0000000000000004 R09:
0000000000000086
[ 1185.312237] R10: 0000027dc00eb52b R11: 000000000000039b R12:
ffffffff81c589c0
[ 1185.312239] R13: ffffffff81d212a0 R14: ffffffff81c589c0 R15:
0000000000000000
[ 1185.312242] FS:  00007fa940fbe9c0(0000) GS:ffff88013f400000(0000)
knlGS:0000000000000000
[ 1185.312245] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1185.312247] CR2: 00007f51a60fcea4 CR3: 0000000035579000 CR4:
00000000000407f0
[ 1185.312249] Stack:
[ 1185.312251]  ffff88013f403df8 ffffffff81049a1a ffff88013f40d7c0
ffff88013f403e50
[ 1185.312255]  ffffffff810dbc06 ffffffff81c589c0 ffffffff00000001
0000000000000000
[ 1185.312258]  0000000000000001 ffff8800b5a228c0 0000000000000000
0000000000000000
[ 1185.312262] Call Trace:
[ 1185.312264]  <IRQ> 

[ 1185.312272]  [<ffffffff81049a1a>] ? arch_trigger_all_cpu_backtrace
+0x8a/0x120
[ 1185.312276]  [<ffffffff810dbc06>] rcu_check_callbacks+0x6d6/0x700
[ 1185.312282]  [<ffffffff8107ee07>] update_process_times+0x47/0x70
[ 1185.312286]  [<ffffffff810e72b5>] tick_sched_handle.isra.18+0x25/0x60
[ 1185.312290]  [<ffffffff810e7331>] tick_sched_timer+0x41/0x60
[ 1185.312294]  [<ffffffff81098517>] __run_hrtimer+0x77/0x1d0
[ 1185.312297]  [<ffffffff810e72f0>] ? tick_sched_handle.isra.18
+0x60/0x60
[ 1185.312302]  [<ffffffff8109891f>] hrtimer_interrupt+0xff/0x240
[ 1185.312306]  [<ffffffff81047c2a>] local_apic_timer_interrupt
+0x3a/0x60
[ 1185.312311]  [<ffffffff8178cd8f>] smp_apic_timer_interrupt+0x3f/0x50
[ 1185.312315]  [<ffffffff8178ae7d>] apic_timer_interrupt+0x6d/0x80
[ 1185.312317]  <EOI> 

[ 1185.312321]  [<ffffffff81097e30>] ? hrtimer_get_res+0x50/0x50
[ 1185.312325]  [<ffffffff811fee4c>] ? __fget+0x3c/0x90
[ 1185.312329]  [<ffffffff811ff385>] __fget_light+0x25/0x70
[ 1185.312332]  [<ffffffff811ff3e3>] __fdget+0x13/0x20
[ 1185.312336]  [<ffffffff811f6306>] do_select+0x2d6/0x7c0
[ 1185.312341]  [<ffffffff811f5d80>] ? poll_select_copy_remaining
+0x130/0x130
[ 1185.312345]  [<ffffffff811f5d80>] ? poll_select_copy_remaining
+0x130/0x130
[ 1185.312349]  [<ffffffff811f5d80>] ? poll_select_copy_remaining
+0x130/0x130
[ 1185.312352]  [<ffffffff811f5d80>] ? poll_select_copy_remaining
+0x130/0x130
[ 1185.312356]  [<ffffffff811f5d80>] ? poll_select_copy_remaining
+0x130/0x130
[ 1185.312360]  [<ffffffff811f5d80>] ? poll_select_copy_remaining
+0x130/0x130
[ 1185.312364]  [<ffffffff811f5d80>] ? poll_select_copy_remaining
+0x130/0x130
[ 1185.312368]  [<ffffffff811f5d80>] ? poll_select_copy_remaining
+0x130/0x130
[ 1185.312371]  [<ffffffff811f5d80>] ? poll_select_copy_remaining
+0x130/0x130
[ 1185.312375]  [<ffffffff811f69b7>] core_sys_select+0x1c7/0x2f0
[ 1185.312381]  [<ffffffff8101c319>] ? read_tsc+0x9/0x20
[ 1185.312385]  [<ffffffff810de768>] ? ktime_get_ts+0x48/0xf0
[ 1185.312389]  [<ffffffff811f6b8b>] SyS_select+0xab/0x100
[ 1185.312393]  [<ffffffff81789eed>] system_call_fastpath+0x1a/0x1f
[ 1185.312395] Code: 89 e5 ff 15 a9 86 8f 00 5d c3 66 66 66 66 66 66 2e
0f 1f 84 00 00 00 00 00 55 48 8d 04 bd 00 00 00 00 65 48 8b 14 25 e0 2f
01 00 <48> 8d 0c 12 48 c1 e2 06 48 89 e5 48 29 ca f7 e2 48 8d 7a 01 ff 
[ 1185.312433] NMI backtrace for cpu 1
[ 1185.312438] CPU: 1 PID: 4972 Comm: merssh Tainted: P        W  OE
3.16.0-28-generic #38-Ubuntu
[ 1185.312440] Hardware name: Hewlett-Packard HP ProBook 6560b/1619,
BIOS 68SCE Ver. F.22 12/22/2011
[ 1185.312442] task: ffff8800856bd180 ti: ffff8800b6524000 task.ti:
ffff8800b6524000
[ 1185.312444] RIP: 0010:[<ffffffff81789714>]  [<ffffffff81789714>]
_raw_spin_lock_irqsave+0x54/0x70
[ 1185.312450] RSP: 0018:ffff8800b6527e98  EFLAGS: 00000087
[ 1185.312452] RAX: 0000000000000292 RBX: ffff8800b6527f78 RCX:
00000000000000a6
[ 1185.312454] RDX: 000000000000157f RSI: 00000000000000a6 RDI:
ffff8800b6527f78
[ 1185.312456] RBP: ffff8800b6527e98 R08: 0000000000004110 R09:
0000000000000292
[ 1185.312459] R10: ffff8801376f31d4 R11: 0000000000000246 R12:
0000000000a56b60
[ 1185.312461] R13: ffff8800b6527f50 R14: 0000000000001000 R15:
0000000000a64668
[ 1185.312464] FS:  00007ff760f45780(0000) GS:ffff88013f440000(0000)
knlGS:0000000000000000
[ 1185.312466] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1185.312468] CR2: 0000000000a67000 CR3: 00000000b5991000 CR4:
00000000000407e0
[ 1185.312470] Stack:
[ 1185.312472]  ffff8800b6527eb8 ffffffff810bfd76 0000000000a64668
ffff8800b6527f50
[ 1185.312475]  ffff8800b6527ee0 ffffffffc0a2ae49 ffff880074c6c700
ffff8801376f3180
[ 1185.312479]  fffffffffffffffb ffff8800b6527f00 ffffffff81246d18
ffff880074c6c700
[ 1185.312483] Call Trace:
[ 1185.312488]  [<ffffffff810bfd76>] down+0x16/0x50
[ 1185.312533]  [<ffffffffc0a2ae49>] wl_proc_read+0x89/0xa0 [wl]
[ 1185.312538]  [<ffffffff81246d18>] proc_reg_read+0x48/0x70
[ 1185.312543]  [<ffffffff811e0f14>] vfs_read+0x94/0x180
[ 1185.312547]  [<ffffffff811e1bb6>] SyS_read+0x46/0xb0
[ 1185.312551]  [<ffffffff81789eed>] system_call_fastpath+0x1a/0x1f
[ 1185.312553] Code: 39 d1 75 0b 4c 89 c8 5d c3 66 0f 1f 44 00 00 83 e1
fe 0f b7 f1 ba 00 80 00 00 0f 1f 44 00 00 44 0f b7 07 66 44 39 c1 74 db
f3 90 <83> ea 01 75 ef 66 66 66 90 66 66 90 eb dc 66 66 66 66 66 2e 0f 
[ 1185.312592] NMI backtrace for cpu 3
[ 1185.312598] CPU: 3 PID: 0 Comm: swapper/3 Tainted: P        W  OE
3.16.0-28-generic #38-Ubuntu
[ 1185.312600] Hardware name: Hewlett-Packard HP ProBook 6560b/1619,
BIOS 68SCE Ver. F.22 12/22/2011
[ 1185.312603] task: ffff880138c1a8c0 ti: ffff880138c30000 task.ti:
ffff880138c30000
[ 1185.312606] RIP: 0010:[<ffffffff81425117>]  [<ffffffff81425117>]
intel_idle+0xd7/0x160
[ 1185.312613] RSP: 0018:ffff880138c33e58  EFLAGS: 00000046
[ 1185.312615] RAX: 0000000000000030 RBX: 0000000000000010 RCX:
0000000000000001
[ 1185.312617] RDX: 0000000000000000 RSI: ffffffff81ca6b40 RDI:
0000000001c13000
[ 1185.312619] RBP: ffff880138c33e80 R08: 0000000000758638 R09:
0000000004901658
[ 1185.312622] R10: 0000027dbe6a8510 R11: 0000000000001a06 R12:
0000000000000030
[ 1185.312624] R13: 0000000000000004 R14: 0000000000000005 R15:
0000000000000005
[ 1185.312627] FS:  0000000000000000(0000) GS:ffff88013f4c0000(0000)
knlGS:0000000000000000
[ 1185.312629] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1185.312631] CR2: 00007f3500224a08 CR3: 0000000001c13000 CR4:
00000000000407e0
[ 1185.312633] Stack:
[ 1185.312635]  00000003810de39b ffff88013f4da900 ffffffff81ca6b40
0000011414f59cd2
[ 1185.312639]  0000000000000005 ffff880138c33eb0 ffffffff8161aefa
ffffffff81d21280
[ 1185.312643]  ffff88013f4da900 ffffffff81ca6b40 000000000c004000
ffff880138c33ec0
[ 1185.312646] Call Trace:
[ 1185.312653]  [<ffffffff8161aefa>] cpuidle_enter_state+0x3a/0xc0
[ 1185.312657]  [<ffffffff8161b067>] cpuidle_enter+0x17/0x20
[ 1185.312662]  [<ffffffff810b9cf7>] cpu_startup_entry+0x347/0x480
[ 1185.312666]  [<ffffffff81045b20>] start_secondary+0x230/0x2c0
[ 1185.312669] Code: b8 00 00 48 89 d1 48 2d c8 3f 00 00 0f 01 c8 65 48
8b 04 25 88 b8 00 00 48 8b 80 38 c0 ff ff a8 08 75 08 b1 01 4c 89 e0 0f
01 c9 <65> 48 8b 04 25 88 b8 00 00 f0 80 a0 3a c0 ff ff df 0f ae f0 65 
[ 1185.312707] NMI backtrace for cpu 2
[ 1185.312711] CPU: 2 PID: 0 Comm: swapper/2 Tainted: P        W  OE
3.16.0-28-generic #38-Ubuntu
[ 1185.312713] Hardware name: Hewlett-Packard HP ProBook 6560b/1619,
BIOS 68SCE Ver. F.22 12/22/2011
[ 1185.312716] task: ffff880138c19e90 ti: ffff880138c2c000 task.ti:
ffff880138c2c000
[ 1185.312718] RIP: 0010:[<ffffffff81425117>]  [<ffffffff81425117>]
intel_idle+0xd7/0x160
[ 1185.312723] RSP: 0018:ffff880138c2fe58  EFLAGS: 00000046
[ 1185.312729] RAX: 0000000000000030 RBX: 0000000000000010 RCX:
0000000000000001
[ 1185.312734] RDX: 0000000000000000 RSI: ffffffff81ca6b40 RDI:
0000000001c13000
[ 1185.312740] RBP: ffff880138c2fe80 R08: 0000000000a20514 R09:
0000000004901658
[ 1185.312746] R10: 0000027db74db49b R11: 0000000000000afb R12:
0000000000000030
[ 1185.312751] R13: 0000000000000004 R14: 0000000000000005 R15:
0000000000000005
[ 1185.312758] FS:  0000000000000000(0000) GS:ffff88013f480000(0000)
knlGS:0000000000000000
[ 1185.312763] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1185.312770] CR2: 00000000021d79a8 CR3: 0000000001c13000 CR4:
00000000000407e0
[ 1185.312775] Stack:
[ 1185.312781]  00000002810de39b ffff88013f49a900 ffffffff81ca6b40
0000011411ef7984
[ 1185.312804]  0000000000000005 ffff880138c2feb0 ffffffff8161aefa
ffffffff81d21280
[ 1185.312824]  ffff88013f49a900 ffffffff81ca6b40 000000000c004000
ffff880138c2fec0
[ 1185.312845] Call Trace:
[ 1185.312855]  [<ffffffff8161aefa>] cpuidle_enter_state+0x3a/0xc0
[ 1185.312866]  [<ffffffff8161b067>] cpuidle_enter+0x17/0x20
[ 1185.312876]  [<ffffffff810b9cf7>] cpu_startup_entry+0x347/0x480
[ 1185.312879]  [<ffffffff81045b20>] start_secondary+0x230/0x2c0
[ 1185.312880] Code: b8 00 00 48 89 d1 48 2d c8 3f 00 00 0f 01 c8 65 48
8b 04 25 88 b8 00 00 48 8b 80 38 c0 ff ff a8 08 75 08 b1 01 4c 89 e0 0f
01 c9 <65> 48 8b 04 25 88 b8 00 00 f0 80 a0 3a c0 ff ff df 0f ae f0 65 

... and so on.

Someone pointed me to an ubuntu bugpage with a somewhat similar problem,
caused by the overlay scrollbar, and even though it should have been
solved, I have tried un-installing the overlay scrollbar, without any
success :(

Any ideas how to proceed from here ?

Kim



More information about the Devel mailing list