Hi Tero, -<| Quoting Tero Kristo <t-kristo@xxxxxx>, on Thursday, 2016-08-04 13:40:31 |>- > I've had some issues with the crypto engine conversion lately myself also, > but I think it happened only once enabling the crypto tests from Kconfig. > Anyway, the series I just posted contains fixes for the crypto engine > registration, give it a try and see if it helps (or patch #10/11 in that > series at least.) > > https://marc.info/?l=linux-crypto-vger&m=147030669304668&w=2 thanks for the reply. I couldn’t get the entire set applied on top of 96b5852 so I picked only nos. 10 and 11. However, now I get a panic, see the boot messages below. I’d like to test the entire set, though. Where can I find the tree those patches were written against? Best, Philipp Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.7.0-phg+ (philipp@drift) (gcc version 5.3.1 20160212 (Red Hat Cross 5.3.1-2) (GCC) ) #15 SMP Thu Aug 4 13:38:59 CEST 2016 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt:Machine model: TI AM335x BeagleBone Black [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 16 MiB at 0x9ec00000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (sgx neon ) [ 0.000000] percpu: Embedded 15 pages/cpu @dfd94000 s32488 r8192 d20760 u61440 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129408 [ 0.000000] Kernel command line: ro root=UUID=7006248e-e474-4c03-ae2c-43ce55acc1a2 console=ttyO0 ,115200n8 LANG=en_US.UTF-8 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 444048K/522240K available (9216K kernel code, 1279K rwdata, 3680K rodata, 20 48K init, 9302K bss, 61808K reserved, 16384K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0208000 - 0xc0c00000 (10208 kB) [ 0.000000] .init : 0xc1000000 - 0xc1200000 (2048 kB) [ 0.000000] .data : 0xc1200000 - 0xc133fefc (1280 kB) [ 0.000000] .bss : 0xc133fefc - 0xc1c55914 (9303 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Running RCU self tests [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU lockdep checking is enabled. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1 [ 0.000000] kmemleak: Kernel memory leak detector disabled [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000042] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 796358519 49 ns [ 0.000099] OMAP clocksource: timer1 at 24000000 Hz [ 0.004301] clocksource_probe: no matching clocksources found [ 0.005530] Console: colour dummy device 80x30 [ 0.005720] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.005731] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.005741] ... MAX_LOCK_DEPTH: 48 [ 0.005751] ... MAX_LOCKDEP_KEYS: 8191 [ 0.005760] ... CLASSHASH_SIZE: 4096 [ 0.005770] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.005779] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.005788] ... CHAINHASH_SIZE: 32768 [ 0.005797] memory used by lock dependency info: 5167 kB [ 0.005807] per task-struct memory footprint: 1536 bytes [ 0.009208] Calibrating delay loop... 992.87 BogoMIPS (lpj=2482176) [ 0.033234] pid_max: default: 32768 minimum: 301 [ 0.033982] Security Framework initialized [ 0.034005] Yama: becoming mindful. [ 0.034126] SELinux: Initializing. [ 0.034975] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.034994] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.041152] CPU: Testing write buffer coherency: ok [ 0.041406] ftrace: allocating 32894 entries in 65 pages [ 0.130127] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.130215] Setting up static identity map for 0x80300000 - 0x80300098 [ 0.142183] EFI services will not be available. [ 0.144099] Brought up 1 CPUs [ 0.144125] SMP: Total of 1 processors activated (992.87 BogoMIPS). [ 0.144138] CPU: All CPU(s) started in SVC mode. [ 0.149981] devtmpfs: initialized [ 0.203111] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.204994] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 95563022 31375000 ns [ 0.214331] atomic64_test: passed [ 0.214668] pinctrl core: initialized pinctrl subsystem [ 0.223481] NET: Registered protocol family 16 [ 0.229741] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.287666] omap_hwmod: debugss: _wait_target_disable failed [ 0.363108] OMAP GPIO hardware version 0.1 [ 0.402150] No ATAGs?hw-breakpoint: debug architecture 0x4 unsupported. [ 0.402539] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.402560] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.407886] Serial: AMBA PL011 UART driver [ 0.495747] edma 49000000.edma: TI EDMA DMA engine driver [ 0.503896] vgaarb: loaded [ 0.506642] SCSI subsystem initialized [ 0.509211] usbcore: registered new interface driver usbfs [ 0.509492] usbcore: registered new interface driver hub [ 0.509876] usbcore: registered new device driver usb [ 0.510848] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210 000/pinmux@800/pinmux_i2c0_pins, deferring probe [ 0.511013] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210 000/pinmux@800/pinmux_i2c2_pins, deferring probe [ 0.519469] NetLabel: Initializing [ 0.519499] NetLabel: domain hash size = 128 [ 0.519509] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.519862] NetLabel: unlabeled traffic allowed by default [ 0.528017] DMA-API: preallocated 4096 debug entries [ 0.528043] DMA-API: debugging enabled by kernel config [ 0.529001] clocksource: Switched to clocksource timer1 [ 0.908001] VFS: Disk quotas dquot_6.6.0 [ 0.908266] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.959779] NET: Registered protocol family 2 [ 0.963497] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.963672] TCP bind hash table entries: 4096 (order: 5, 147456 bytes) [ 0.965276] TCP: Hash tables configured (established 4096 bind 4096) [ 0.965565] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.965775] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.967007] NET: Registered protocol family 1 [ 0.969869] RPC: Registered named UNIX socket transport module. [ 0.969897] RPC: Registered udp transport module. [ 0.969909] RPC: Registered tcp transport module. [ 0.969920] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.972325] Unpacking initramfs... [ 1.334294] random: fast init done [ 4.194055] Freeing initrd memory: 30384K (ce254000 - d0000000) [ 4.194935] hw perfevents: /pmu: failed to probe PMU! [ 4.194954] hw perfevents: /pmu: failed to register PMU devices! [ 4.195075] armv7-pmu: probe of pmu failed with error -22 [ 4.198164] cryptomgr_test (31) used greatest stack depth: 6664 bytes left [ 4.199731] cryptomgr_test (33) used greatest stack depth: 6472 bytes left [ 4.202765] cryptomgr_test (38) used greatest stack depth: 6432 bytes left [ 4.205045] cryptomgr_test (40) used greatest stack depth: 6336 bytes left [ 4.209655] cryptomgr_test (44) used greatest stack depth: 6056 bytes left [ 4.223091] futex hash table entries: 256 (order: 2, 16384 bytes) [ 4.223400] audit: initializing netlink subsys (disabled) [ 4.223779] audit: type=2000 audit(4.160:1): initialized [ 4.227012] Initialise system trusted keyrings [ 4.230001] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 4.280424] zbud: loaded [ 4.296934] NFS: Registering the id_resolver key type [ 4.297129] Key type id_resolver registered [ 4.297146] Key type id_legacy registered [ 4.297192] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 4.300725] Key type big_key registered [ 4.751573] cryptomgr_test (51) used greatest stack depth: 5640 bytes left [ 4.809846] cryptomgr_test (64) used greatest stack depth: 5576 bytes left [ 4.857122] cryptomgr_test (79) used greatest stack depth: 5472 bytes left [ 4.870152] NET: Registered protocol family 38 [ 4.870476] Key type asymmetric registered [ 4.870582] Asymmetric key parser 'x509' registered [ 4.871745] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 4.872870] io scheduler noop registered [ 4.872897] io scheduler deadline registered [ 4.876004] io scheduler cfq registered (default) [ 4.890622] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 4.906727] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 4.949383] Serial: AMBA driver [ 4.951836] msm_serial: driver initialized [ 4.952656] omap_uart 44e09000.serial: no wakeirq for uart0 [ 4.953826] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a OMAP UART0 [ 5.844684] console [ttyO0] enabled [ 5.861237] libphy: Fixed MDIO Bus: probed [ 5.867697] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.874732] ehci-pci: EHCI PCI platform driver [ 5.879685] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.886247] ohci-pci: OHCI PCI platform driver [ 5.891115] uhci_hcd: USB Universal Host Controller Interface driver [ 5.898813] usbcore: registered new interface driver usbserial [ 5.905118] usbcore: registered new interface driver usbserial_generic [ 5.912580] usbserial: USB Serial support registered for generic [ 5.920471] mousedev: PS/2 mouse device common for all mice [ 5.930992] Unhandled fault: external abort on non-linefetch (0x1028) at 0xf9e3e044 [ 5.939013] pgd = c0204000 [ 5.941842] [f9e3e044] *pgd=44e11452(bad) [ 5.946047] Internal error: : 1028 [#1] SMP ARM [ 5.950772] Modules linked in: [ 5.953968] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.7.0-phg+ #15 [ 5.960608] Hardware name: Generic AM33XX (Flattened Device Tree) [ 5.966971] task: de0d0000 task.stack: de0ba000 [ 5.971701] PC is at omap_hwmod_read+0x28/0x30 [ 5.976338] LR is at omap_rtc_wait_not_busy+0x24/0x4c [ 5.981604] pc : [<c03344f0>] lr : [<c0336894>] psr: 400e0093 [ 5.981604] sp : de0bbd40 ip : 00000003 fp : de1e38a0 [ 5.993591] r10: de0ba000 r9 : 00000000 r8 : c1203ed4 [ 5.999049] r7 : c1220730 r6 : c121fea8 r5 : c12a0b8c r4 : 00000032 [ 6.005864] r3 : f9e3e044 r2 : 00000000 r1 : 00000044 r0 : c121fea8 [ 6.012681] Flags: nZcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none [ 6.020226] Control: 10c5387d Table: 99098019 DAC: 00000051 [ 6.026224] Process swapper/0 (pid: 1, stack limit = 0xde0ba220) [ 6.032503] Stack: (0xde0bbd40 to 0xde0bc000) [ 6.037052] bd40: c121fea8 00000003 c12173a0 c0336914 c121fea8 c03346d4 c121fea8 00000020 [ 6.045590] bd60: c12173a0 c03348c0 c121fea8 00000003 c121fea8 00000000 c1340d50 c0334b58 [ 6.054130] bd80: c121fea8 00020001 00000000 c121fea8 c121ff08 a00e0013 c12035dc c0335170 [ 6.062677] bda0: 00000000 de204f40 00000001 c03361bc de21cc10 de21cc10 c03361e0 c03361f8 [ 6.071219] bdc0: de21cca0 de21cc10 c03361e0 c082e4e4 de21cc10 de21cc10 de1e3810 c082e57c [ 6.079756] bde0: de21cc10 c03361e0 de1e3810 c0830164 00000000 de21cca0 de21cca0 600e0013 [ 6.088301] be00: c0830318 fffffffe c1336b48 c1c34e20 00000000 de21cc10 00000004 de21cca0 [ 6.096849] be20: 600e0013 c1336b48 c1c34e20 00000000 00000000 c0830328 d90dc258 de21cc00 [ 6.105382] be40: de21cc10 fffffffe c1336b48 c092a29c de21cc00 00000001 de0bbe04 fffffdfb [ 6.113919] be60: c092a13c de21cc10 c12e8470 00000000 c1336b48 c0826728 de21cc10 c1c34e18 [ 6.122454] be80: c12e8470 c082417c c12e8470 de21cc10 de21cc10 de21cc44 c12e8470 c12d7c90 [ 6.130995] bea0: c1336a70 c133ff00 c109a858 c082449c 00000000 c12e8470 c08243bc c08222fc [ 6.139528] bec0: de0af4a4 de2062d0 c12e8470 00000000 d90db400 c0823554 c0f0bfb1 00000000 [ 6.148065] bee0: c12e8470 c1055d78 00000000 c1136a28 c133ff00 c082560c 00000006 c1055d78 [ 6.156603] bf00: 00000000 c0301c5c c1236b18 60000013 de0d05d0 00000007 00000000 c037133c [ 6.165151] bf20: dfdff5c9 dfdff5ce c0f97630 c0371460 de0d0000 00000001 c0f96230 00000006 [ 6.173694] bf40: 00000006 c0f97644 00000100 c0f97644 c109a834 00000006 c109a84c 00000006 [ 6.182234] bf60: c109a850 00000101 c1136a28 c133ff00 c133ff00 c1000eec 00000006 00000006 [ 6.190779] bf80: 00000000 c10005a8 00000000 c0b6b1ec 00000000 00000000 00000000 00000000 [ 6.199307] bfa0: 00000000 c0b6b1fc 00000000 c03080d0 00000000 00000000 00000000 00000000 [ 6.207845] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 6.216384] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 6.224937] [<c03344f0>] (omap_hwmod_read) from [<c0336894>] (omap_rtc_wait_not_busy+0x24/0x4c) [ 6.234026] [<c0336894>] (omap_rtc_wait_not_busy) from [<c0336914>] (omap_hwmod_rtc_unlock+0x20/0x54) [ 6.243644] [<c0336914>] (omap_hwmod_rtc_unlock) from [<c03346d4>] (_write_sysconfig+0x54/0x90) [ 6.252726] [<c03346d4>] (_write_sysconfig) from [<c03348c0>] (_enable_sysc+0x1b0/0x208) [ 6.261180] [<c03348c0>] (_enable_sysc) from [<c0334b58>] (_enable+0x240/0x2c8) [ 6.268815] [<c0334b58>] (_enable) from [<c0335170>] (omap_hwmod_enable+0x30/0x50) [ 6.276716] [<c0335170>] (omap_hwmod_enable) from [<c03361bc>] (omap_device_enable+0x60/0x84) [ 6.285616] [<c03361bc>] (omap_device_enable) from [<c03361f8>] (_od_runtime_resume+0x18/0x44) [ 6.294616] [<c03361f8>] (_od_runtime_resume) from [<c082e4e4>] (__rpm_callback+0x3c/0x64) [ 6.303244] [<c082e4e4>] (__rpm_callback) from [<c082e57c>] (rpm_callback+0x70/0x88) [ 6.311331] [<c082e57c>] (rpm_callback) from [<c0830164>] (rpm_resume+0x6f8/0x840) [ 6.319238] [<c0830164>] (rpm_resume) from [<c0830328>] (__pm_runtime_resume+0x7c/0x98) [ 6.327610] [<c0830328>] (__pm_runtime_resume) from [<c092a29c>] (omap_rtc_probe+0x160/0x3f8) [ 6.336520] [<c092a29c>] (omap_rtc_probe) from [<c0826728>] (platform_drv_probe+0x58/0xa8) [ 6.345149] [<c0826728>] (platform_drv_probe) from [<c082417c>] (driver_probe_device+0x1d4/0x414) [ 6.354416] [<c082417c>] (driver_probe_device) from [<c082449c>] (__driver_attach+0xe0/0x114) [ 6.363326] [<c082449c>] (__driver_attach) from [<c08222fc>] (bus_for_each_dev+0x70/0x94) [ 6.371873] [<c08222fc>] (bus_for_each_dev) from [<c0823554>] (bus_add_driver+0x11c/0x248) [ 6.380501] [<c0823554>] (bus_add_driver) from [<c082560c>] (driver_register+0xa4/0xe8) [ 6.388852] [<c082560c>] (driver_register) from [<c0301c5c>] (do_one_initcall+0xb4/0x15c) [ 6.397400] [<c0301c5c>] (do_one_initcall) from [<c1000eec>] (kernel_init_freeable+0x210/0x2dc) [ 6.406499] [<c1000eec>] (kernel_init_freeable) from [<c0b6b1fc>] (kernel_init+0x10/0x118) [ 6.415140] [<c0b6b1fc>] (kernel_init) from [<c03080d0>] (ret_from_fork+0x14/0x24) [ 6.423047] Code: 0a000002 e1d300b0 e6ff0070 e12fff1e (e5930000) [ 6.429442] ---[ end trace 241806e3ef830079 ]--- [ 6.434276] note: swapper/0[1] exited with preempt_count 1 [ 6.440339] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 6.440339] [ 6.449917] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 6.449917]
Attachment:
signature.asc
Description: PGP signature