[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lightdm (testing): Long waiting time after login



On 19/05/18 09:59, Ben Caradoc-Davies wrote:
I can reproduce the hang in a VM with a testing system installed from the 14 May weekly testing iso. I will try using a custom kernel with a printk in getrandom to confirm the guilty process, as I did for #897572.

The cause is xfce4-session. I will file a bug report.

Test kernel:
Linux getrandom-testing 4.16.0-1-amd64 #1 SMP Debian 4.16.5-1+getrandom+printk+dump+stack (2018-05-08) x86_64 GNU/Linux

This kernel is 4.16.5-1 plus these two patches (against torvalds/linux master but they apply cleanly against the stable tree):
https://github.com/bencaradocdavies/linux/commit/f0dfb0b7b72e38093aeaa67fe1116b409c1db3dc
https://github.com/bencaradocdavies/linux/commit/19e47d7049c6ca94b98cf8c00bbeb2384a9c43b9
https://github.com/bencaradocdavies/linux/tree/getrandom-printk-dump-stack

The evidence seen in the journalctl when booting with "debug" and not "quiet" on the kernel command line:

May 19 11:09:39 getrandom-testing kernel: random: xfce4-session: getrandom without GRND_NONBLOCK while crng not ready May 19 11:09:39 getrandom-testing kernel: CPU: 0 PID: 587 Comm: xfce4-session Not tainted 4.16.0-1-amd64 #1 Debian 4.16.5-1+getrandom+printk+dump+stack May 19 11:09:39 getrandom-testing kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.1-1 04/01/2014
May 19 11:09:39 getrandom-testing kernel: Call Trace:
May 19 11:09:39 getrandom-testing kernel:  dump_stack+0x5c/0x85
May 19 11:09:39 getrandom-testing kernel:  SyS_getrandom+0xab/0xc0
May 19 11:09:39 getrandom-testing kernel:  do_syscall_64+0x6c/0x130
May 19 11:09:39 getrandom-testing kernel: entry_SYSCALL_64_after_hwframe+0x3d/0xa2
May 19 11:09:39 getrandom-testing kernel: RIP: 0033:0x7fdb3e1038f9
May 19 11:09:39 getrandom-testing kernel: RSP: 002b:00007ffd434e7ba8 EFLAGS: 00000246 ORIG_RAX: 000000000000013e May 19 11:09:39 getrandom-testing kernel: RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007fdb3e1038f9 May 19 11:09:39 getrandom-testing kernel: RDX: 0000000000000000 RSI: 0000000000000028 RDI: 00007ffd434e7cb0 May 19 11:09:39 getrandom-testing kernel: RBP: 00007fdb41e02a00 R08: 0000000000000000 R09: 0000000000000000 May 19 11:09:39 getrandom-testing kernel: R10: 00007fdb3d4f0140 R11: 0000000000000246 R12: 00007ffd434e7cb0 May 19 11:09:39 getrandom-testing kernel: R13: 0000000000000002 R14: 0000000000000010 R15: 0000558569895400

Kind regards,

--
Ben Caradoc-Davies <ben@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand


Reply to: