Le 05/10/2015 17:20, Stéphane Glondu a écrit : >> It's not the disk encryption; I think it's IPsec. > > Indeed: the problem disappeared when I purged ipsec-tools and racoon. > The problem is back when I reinstall ipsec-tools. > >> I think the crash is late enough that it will have been logged to >> /var/log/messages, so please can you provide the full BUG/oops message >> from there? > > There are no lines from the failed boot attempts there...
I could boot with ipsec-tools installed by editing /etc/default/setkey (setting RUN_SETKEY=no). Then, running: setkey -f /etc/ipsec-tools.conf freezes the computer. But I can get a log this way (attached). Cheers, -- Stéphane
Oct 5 17:37:05 fomalhaut kernel: [ 56.291573] NET: Registered protocol family 15 Oct 5 17:37:12 fomalhaut kernel: [ 63.296175] sha512_ssse3: Using AVX optimized SHA-512 implementation Oct 5 17:37:12 fomalhaut kernel: [ 63.355176] AVX2 instructions are not detected. Oct 5 17:37:12 fomalhaut kernel: [ 63.408978] invalid opcode: 0000 [#1] SMP Oct 5 17:37:12 fomalhaut kernel: [ 63.409042] Modules linked in: camellia_aesni_avx_x86_64(+) camellia_x86_64 serpent_avx_x86_64 serpent_sse2_x86_64 xts serpent_generic lrw gf128mul glue_helper blowfish_generic blowfish_x86_64 blowfish_common cast5_avx_x86_64 cast5_generic cast_common ablk_helper des_generic cmac xcbc rmd160 sha512_ssse3 sha512_generic crypto_null af_key xfrm_algo tun ctr ccm fuse bnep binfmt_misc joydev nfsd auth_rpcgss oid_registry nfs_acl nfs lockd grace fscache sunrpc arc4 brcmsmac cordic brcmutil b43 mac80211 cfg80211 ssb rng_core pcmcia pcmcia_core snd_hda_codec_hdmi ppdev dell_wmi sparse_keymap iTCO_wdt dell_laptop iTCO_vendor_support dcdbas snd_hda_codec_idt dell_smm_hwmon snd_hda_codec_generic x86_pkg_temp_thermal intel_powerclamp btusb intel_rapl btrtl iosf_mbi btbcm btintel i915 bluetooth coretemp kvm_intel snd_hda_intel rfkill kvm snd_hda_codec snd_hda_core snd_hwdep snd_pcm_oss psmouse snd_mixer_oss evdev snd_pcm drm_kms_helper bcma serio_raw i2c_i801 snd_timer parport_pc snd sg wmi soundcore drm 8250_fintek tpm_tis parport dell_smo8800 tpm ac video battery mei_me i2c_algo_bit lpc_ich button shpchp mei mfd_core processor loop autofs4 ext4 crc16 mbcache jbd2 ecb jitterentropy_rng sha256_ssse3 sha256_generic hmac drbg ansi_cprng cbc algif_skcipher af_alg dm_crypt dm_mod sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel cryptd ahci libahci libata e1000e ehci_pci sdhci_pci ehci_hcd scsi_mod sdhci mmc_core ptp usbcore pps_core usb_common thermal thermal_sys Oct 5 17:37:12 fomalhaut kernel: [ 63.410852] CPU: 1 PID: 2957 Comm: cryptomgr_test Not tainted 4.2.0-1-amd64 #1 Debian 4.2.1-2 Oct 5 17:37:12 fomalhaut kernel: [ 63.410934] Hardware name: Dell Inc. Latitude E6220/0DV9YY, BIOS A03 09/19/2011 Oct 5 17:37:12 fomalhaut kernel: [ 63.411004] task: ffff8800c4879140 ti: ffff88011f630000 task.ti: ffff88011f630000 Oct 5 17:37:12 fomalhaut kernel: [ 63.411075] RIP: 0010:[<ffffffffa0be0156>] [<ffffffffa0be0156>] roundsm16_x0_x1_x2_x3_x4_x5_x6_x7_y0_y1_y2_y3_y4_y5_y6_y7_cd+0x156/0x370 [camellia_aesni_avx_x86_64] Oct 5 17:37:12 fomalhaut kernel: [ 63.411224] RSP: 0018:ffff88011f633920 EFLAGS: 00010206 Oct 5 17:37:12 fomalhaut kernel: [ 63.411276] RAX: ffff88009c1a7000 RBX: 0000000000000100 RCX: ffff88009c1a7080 Oct 5 17:37:12 fomalhaut kernel: [ 63.411344] RDX: ffff88009c1a7000 RSI: ffff88009c1a7000 RDI: ffff88012823f850 Oct 5 17:37:12 fomalhaut kernel: [ 63.411411] RBP: 0000000000000100 R08: ffff88011f633b70 R09: ffff88012823f860 Oct 5 17:37:12 fomalhaut kernel: [ 63.411479] R10: 0000000000000031 R11: 00000000000000dd R12: ffffffffa0be41e8 Oct 5 17:37:12 fomalhaut kernel: [ 63.411545] R13: 00000000000002f0 R14: ffff88009c1a7000 R15: ffff88009c1a7000 Oct 5 17:37:12 fomalhaut kernel: [ 63.411614] FS: 0000000000000000(0000) GS:ffff88012dc20000(0000) knlGS:0000000000000000 Oct 5 17:37:12 fomalhaut kernel: [ 63.411691] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Oct 5 17:37:12 fomalhaut kernel: [ 63.411746] CR2: 00007f7864eec000 CR3: 0000000001a0d000 CR4: 00000000000406e0 Oct 5 17:37:12 fomalhaut kernel: [ 63.411813] Stack: Oct 5 17:37:12 fomalhaut kernel: [ 63.411836] ffffffffa0be08fb ffffffffa0be257d ffffffffa0ba85f4 ffff88012823f850 Oct 5 17:37:12 fomalhaut kernel: [ 63.411920] ffffffffa0be41e8 01cbfbe200000000 ffff88011f633a20 ffffea00027069c0 Oct 5 17:37:12 fomalhaut kernel: [ 63.412003] ffff88009c1a7000 ffffea00027069c0 ffff88009c1a7000 ffff88011f633b70 Oct 5 17:37:12 fomalhaut kernel: [ 63.412087] Call Trace: Oct 5 17:37:12 fomalhaut kernel: [ 63.412120] [<ffffffffa0be08fb>] ? __camellia_enc_blk16+0x21b/0xf18 [camellia_aesni_avx_x86_64] Oct 5 17:37:12 fomalhaut kernel: [ 63.412206] [<ffffffffa0be257d>] ? camellia_ecb_enc_16way+0x7d/0xf0 [camellia_aesni_avx_x86_64] Oct 5 17:37:12 fomalhaut kernel: [ 63.412292] [<ffffffffa0ba85f4>] ? glue_ecb_crypt_128bit+0xc4/0x170 [glue_helper] Oct 5 17:37:12 fomalhaut kernel: [ 63.412369] [<ffffffffa0b77083>] ? __ablk_encrypt+0x43/0x50 [ablk_helper] Oct 5 17:37:12 fomalhaut kernel: [ 63.412458] [<ffffffff81287bf6>] ? __test_skcipher+0x276/0xb20 Oct 5 17:37:12 fomalhaut kernel: [ 63.412538] [<ffffffff8154a55f>] ? schedule+0x2f/0x70 Oct 5 17:37:12 fomalhaut kernel: [ 63.412593] [<ffffffff8109ef67>] ? enqueue_task_fair+0x387/0x1120 Oct 5 17:37:12 fomalhaut kernel: [ 63.412658] [<ffffffff8119f641>] ? __kmalloc+0x2f1/0x490 Oct 5 17:37:12 fomalhaut kernel: [ 63.412716] [<ffffffff8127ce8f>] ? __crypto_alloc_tfm+0x5f/0x130 Oct 5 17:37:12 fomalhaut kernel: [ 63.412776] [<ffffffff8127e529>] ? crypto_spawn_tfm+0x39/0x70 Oct 5 17:37:12 fomalhaut kernel: [ 63.412838] [<ffffffffa02057f3>] ? cryptd_blkcipher_init_tfm+0x23/0x40 [cryptd] Oct 5 17:37:12 fomalhaut kernel: [ 63.412912] [<ffffffff8127cf13>] ? __crypto_alloc_tfm+0xe3/0x130 Oct 5 17:37:12 fomalhaut kernel: [ 63.412974] [<ffffffff8127d62e>] ? crypto_alloc_base+0x4e/0xd0 Oct 5 17:37:12 fomalhaut kernel: [ 63.413034] [<ffffffffa020513e>] ? cryptd_alloc_ablkcipher+0x7e/0xc0 [cryptd] Oct 5 17:37:12 fomalhaut kernel: [ 63.413106] [<ffffffffa0b7723b>] ? ablk_init_common+0x1b/0x40 [ablk_helper] Oct 5 17:37:12 fomalhaut kernel: [ 63.413175] [<ffffffffa0b772aa>] ? ablk_init+0x4a/0xda0 [ablk_helper] Oct 5 17:37:12 fomalhaut kernel: [ 63.413242] [<ffffffff812884c5>] ? test_skcipher+0x25/0xb0 Oct 5 17:37:12 fomalhaut kernel: [ 63.413300] [<ffffffff81288597>] ? alg_test_skcipher+0x47/0xa0 Oct 5 17:37:12 fomalhaut kernel: [ 63.413360] [<ffffffff81286960>] ? alg_test+0x110/0x2b0 Oct 5 17:37:12 fomalhaut kernel: [ 63.413414] [<ffffffff81549f0f>] ? __schedule+0x28f/0x8b0 Oct 5 17:37:12 fomalhaut kernel: [ 63.416573] [<ffffffff81285550>] ? crypto_unregister_akcipher+0x20/0x20 Oct 5 17:37:12 fomalhaut kernel: [ 63.419623] [<ffffffff8128558d>] ? cryptomgr_test+0x3d/0x50 Oct 5 17:37:12 fomalhaut kernel: [ 63.422588] [<ffffffff8108aa11>] ? kthread+0xc1/0xe0 Oct 5 17:37:12 fomalhaut kernel: [ 63.425432] [<ffffffff8108a950>] ? kthread_create_on_node+0x170/0x170 Oct 5 17:37:12 fomalhaut kernel: [ 63.428184] [<ffffffff8154e29f>] ? ret_from_fork+0x3f/0x70 Oct 5 17:37:12 fomalhaut kernel: [ 63.430845] [<ffffffff8108a950>] ? kthread_create_on_node+0x170/0x170 Oct 5 17:37:12 fomalhaut kernel: [ 63.433416] Code: f6 c5 81 df f6 c5 c9 72 d6 04 c4 42 29 00 f6 c4 e2 21 00 f6 c4 c1 49 ef f6 c5 79 6f 04 25 80 50 be a0 c5 79 6f 0c 25 90 50 be a0 <c4> c2 79 dd c4 c4 c2 41 dd fc c4 c2 71 dd cc c4 c2 59 dd e4 c4 Oct 5 17:37:12 fomalhaut kernel: [ 63.441762] RSP <ffff88011f633920> Oct 5 17:37:12 fomalhaut kernel: [ 63.456978] ---[ end trace 0070b40bb04c98b3 ]---