ccp-project / ccp-kernel

A Linux Kernel module implementing support for CCP congestion control algorithms
https://ccp-project.github.io/
MIT License
21 stars 8 forks source link

char dev test hangs on virtual machines #8

Closed fcangialosi closed 6 years ago

fcangialosi commented 6 years ago

example trace from an azure vm

Jun  5 16:23:03 akshayVM kernel: [  466.878318] nltest: loading out-of-tree module taints kernel.
Jun  5 16:23:03 akshayVM kernel: [  466.878356] nltest: module verification failed: signature and/or required key missing - tainting kernel
Jun  5 16:23:07 akshayVM kernel: [  466.880601] nltest: Sending initial message
Jun  5 16:23:07 akshayVM kernel: [  471.257503] ipc = chardev
Jun  5 16:23:07 akshayVM kernel: [  471.257506] ccp-kpipe: device (243) created successfully
Jun  5 16:23:07 akshayVM kernel: [  471.257789] init ccp: 32
Jun  5 16:23:07 akshayVM kernel: [  471.280448] ccp-kpipe: init lfq
Jun  5 16:23:07 akshayVM kernel: [  471.280459] ccp-kpipe: got lock, getting id
Jun  5 16:23:07 akshayVM kernel: [  471.280459] ccp-kpipe: init done
Jun  5 16:23:07 akshayVM kernel: [  471.280504] ccp-kpipe: [writer 0] acquired free block at 0 (head=1, tail=1023)
Jun  5 16:23:07 akshayVM kernel: [  471.280507] BUG: unable to handle kernel paging request at 00007f75e2a1e200
Jun  5 16:23:07 akshayVM kernel: [  471.284380] IP: memcpy_erms+0x6/0x10
Jun  5 16:23:07 akshayVM kernel: [  471.284394] PGD 8000002052e73067
Jun  5 16:23:07 akshayVM kernel: [  471.284394] P4D 8000002052e73067
Jun  5 16:23:07 akshayVM kernel: [  471.284394] PUD 2071ea2067
Jun  5 16:23:07 akshayVM kernel: [  471.284394] PMD 20740d2067
Jun  5 16:23:07 akshayVM kernel: [  471.284394] PTE 8000002036463867
Jun  5 16:23:07 akshayVM kernel: [  471.284394]
Jun  5 16:23:07 akshayVM kernel: [  471.284394] Oops: 0001 [#1] SMP PTI
Jun  5 16:23:07 akshayVM kernel: [  471.284394] Modules linked in: ccp(OE) nf_conntrack_ipv4 nf_defrag_ipv4 xt_owner xt_conntrack nf_conntrack iptable_security nls_iso8859_1 sb_edac kvm_intel kvm irqbypass intel_rapl_perf i2c_piix4 input_leds serio_raw hv_balloon joydev mac_hid ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic crct10dif_pclmul crc32_pclmul ghash_clmulni_intel hid_hyperv hv_utils pcbc hv_storvsc ptp aesni_intel hv_netvsc aes_x86_64 pps_core hid hyperv_keyboard scsi_transport_fc crypto_simd glue_helper cryptd hyperv_fb psmouse pata_acpi floppy hv_vmbus [last unloaded: nltest]
Jun  5 16:23:07 akshayVM kernel: [  471.284394] CPU: 30 PID: 3809 Comm: kptest Tainted: G           OE   4.13.0-43-generic #48-Ubuntu
Jun  5 16:23:07 akshayVM kernel: [  471.284394] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090007  06/02/2017
Jun  5 16:23:07 akshayVM kernel: [  471.284394] task: ffffa0b611f52e80 task.stack: ffffb9225300c000
Jun  5 16:23:07 akshayVM kernel: [  471.284394] RIP: 0010:memcpy_erms+0x6/0x10
Jun  5 16:23:07 akshayVM kernel: [  471.284394] RSP: 0018:ffffb9225300fe70 EFLAGS: 00010286
Jun  5 16:23:07 akshayVM kernel: [  471.284394] RAX: ffffa0b5f1500000 RBX: ffffa0b62884e788 RCX: 0000000000000015
Jun  5 16:23:07 akshayVM kernel: [  471.284394] RDX: 0000000000000015 RSI: 00007f75e2a1e200 RDI: ffffa0b5f1500000
Jun  5 16:23:07 akshayVM kernel: [  471.284394] RBP: ffffb9225300fea8 R08: 0000000000000001 R09: 000000000000024a
Jun  5 16:23:07 akshayVM kernel: [  471.284394] R10: ffffa0b612cbb238 R11: 0000000000000000 R12: 0000000000000000
Jun  5 16:23:07 akshayVM kernel: [  471.284394] R13: ffffa0b5f1500000 R14: 00007f75e2a1e200 R15: 0000000000000000
Jun  5 16:23:07 akshayVM kernel: [  471.284394] FS:  00007f75e3d87380(0000) GS:ffffa0b63dd80000(0000) knlGS:0000000000000000
Jun  5 16:23:07 akshayVM kernel: [  471.284394] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun  5 16:23:07 akshayVM kernel: [  471.284394] CR2: 00007f75e2a1e200 CR3: 0000002051e74000 CR4: 00000000003406e0
Jun  5 16:23:07 akshayVM kernel: [  471.284394] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jun  5 16:23:07 akshayVM kernel: [  471.284394] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Jun  5 16:23:07 akshayVM kernel: [  471.284394] Call Trace:
Jun  5 16:23:07 akshayVM kernel: [  471.284394]  ? lfq_write+0x61/0x109 [ccp]
Jun  5 16:23:07 akshayVM kernel: [  471.284394]  ccpkp_user_write+0x1e/0x20 [ccp]
Jun  5 16:23:07 akshayVM kernel: [  471.284394]  __vfs_write+0x1b/0x40
Jun  5 16:23:07 akshayVM kernel: [  471.284394]  vfs_write+0xb1/0x1a0
Jun  5 16:23:07 akshayVM kernel: [  471.284394]  SyS_write+0x55/0xc0
Jun  5 16:23:07 akshayVM kernel: [  471.284394]  entry_SYSCALL_64_fastpath+0x24/0xab
Jun  5 16:23:07 akshayVM kernel: [  471.284394] RIP: 0033:0x7f75e3551cc0
Jun  5 16:23:07 akshayVM kernel: [  471.284394] RSP: 002b:00007fff5b2d73d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
Jun  5 16:23:07 akshayVM kernel: [  471.284394] RAX: ffffffffffffffda RBX: 00007fff5b2d97a8 RCX: 00007f75e3551cc0
Jun  5 16:23:07 akshayVM kernel: [  471.284394] RDX: 0000000000000015 RSI: 00007f75e2a1e200 RDI: 0000000000000003
Jun  5 16:23:07 akshayVM kernel: [  471.284394] RBP: 00007fff5b2d6340 R08: 0000000000000000 R09: 00007f75e2a1f2b0
Jun  5 16:23:07 akshayVM kernel: [  471.284394] R10: 00007fff5b2d7368 R11: 0000000000000293 R12: 00005643f18910e0
Jun  5 16:23:07 akshayVM kernel: [  471.284394] R13: 00007fff5b2d9960 R14: 00007fff5b2d97d0 R15: 0000000000000001
Jun  5 16:23:07 akshayVM kernel: [  471.284394] Code: 78 ff ff ff 90 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 <f3> a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38
Jun  5 16:23:07 akshayVM kernel: [  471.284394] RIP: memcpy_erms+0x6/0x10 RSP: ffffb9225300fe70
Jun  5 16:23:07 akshayVM kernel: [  471.284394] CR2: 00007f75e2a1e200
Jun  5 16:23:07 akshayVM kernel: [  471.284394] ---[ end trace d2532dafbc45eeef ]---