Customized kernel is modified automatically
up vote
0
down vote
favorite
I modified the ubuntu 16.04 kernel, changing MAX_ORDER from 11 to 15, and build the kernel. Because I want to allocate bigger cma buffers. After installing the kernel in Ubuntu 16.04, I found the kernel is booted when restarted and I'm able to allocate bigger buffers. However, If the computer is connected to the Internet, the kernel is somehow modified automatically that I can not do the allocation anymore. Here is the error message:
[ 1012.916510] xdma 0000:01:00.0: swiotlb buffer is full (sz: 11059200 bytes)
[ 1012.916512] swiotlb: coherent allocation failed for device 0000:01:00.0 size=11059200
[ 1012.916517] CPU: 0 PID: 1780 Comm: img_capture Tainted: G OE 4.13.0-21-generic #24~16.04.1-Ubuntu
[ 1012.916518] Hardware name: ADLINK TECHNOLOGY Inc. MXC6400/MXC6400, BIOS 2.01.10 07/12/2017
[ 1012.916520] Call Trace:
[ 1012.916531] dump_stack+0x63/0x8b
[ 1012.916537] swiotlb_alloc_coherent+0x150/0x160
[ 1012.916543] x86_swiotlb_alloc_coherent+0x43/0x50
[ 1012.916550] vb2_dc_alloc+0xc8/0x1a0 [videobuf2_dma_contig]
[ 1012.916558] __vb2_queue_alloc+0x168/0x440 [videobuf2_core]
[ 1012.916564] vb2_core_reqbufs+0x19e/0x3a0 [videobuf2_core]
[ 1012.916570] vb2_ioctl_reqbufs+0x63/0x90 [videobuf2_v4l2]
[ 1012.916582] v4l_reqbufs+0x43/0x50 [videodev]
[ 1012.916592] __video_do_ioctl+0x292/0x310 [videodev]
[ 1012.916603] video_usercopy+0x1d5/0x610 [videodev]
[ 1012.916612] ? video_ioctl2+0x20/0x20 [videodev]
[ 1012.916623] video_ioctl2+0x15/0x20 [videodev]
[ 1012.916631] v4l2_ioctl+0xbb/0xf0 [videodev]
[ 1012.916637] do_vfs_ioctl+0xa1/0x5f0
[ 1012.916640] ? putname+0x54/0x60
[ 1012.916646] ? do_sys_open+0x1b4/0x280
[ 1012.916650] SyS_ioctl+0x79/0x90
[ 1012.916656] entry_SYSCALL_64_fastpath+0x1e/0xa9
[ 1012.916659] RIP: 0033:0x7fa960c30f47
[ 1012.916661] RSP: 002b:00007ffd59aa1518 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
[ 1012.916665] RAX: ffffffffffffffda RBX: 00007fa960ef9620 RCX: 00007fa960c30f47
[ 1012.916667] RDX: 00007ffd59aa1550 RSI: ffffffffc0145608 RDI: 0000000000000004
[ 1012.916669] RBP: 00007ffd59aa1580 R08: 0000000000000000 R09: 0000000000000094
[ 1012.916671] R10: 0000000000000838 R11: 0000000000000202 R12: 0000000000402e70
[ 1012.916672] R13: 00007ffd59aa1598 R14: 0000000000000000 R15: 0000000000402e8f
[ 1012.916679] xdma 0000:01:00.0: dma_alloc_coherent of size 11059200 failed
Anyone has a idea whether the kernel is automatically updated or? I already switched off the update in fact.
16.04 kernel
New contributor
add a comment |
up vote
0
down vote
favorite
I modified the ubuntu 16.04 kernel, changing MAX_ORDER from 11 to 15, and build the kernel. Because I want to allocate bigger cma buffers. After installing the kernel in Ubuntu 16.04, I found the kernel is booted when restarted and I'm able to allocate bigger buffers. However, If the computer is connected to the Internet, the kernel is somehow modified automatically that I can not do the allocation anymore. Here is the error message:
[ 1012.916510] xdma 0000:01:00.0: swiotlb buffer is full (sz: 11059200 bytes)
[ 1012.916512] swiotlb: coherent allocation failed for device 0000:01:00.0 size=11059200
[ 1012.916517] CPU: 0 PID: 1780 Comm: img_capture Tainted: G OE 4.13.0-21-generic #24~16.04.1-Ubuntu
[ 1012.916518] Hardware name: ADLINK TECHNOLOGY Inc. MXC6400/MXC6400, BIOS 2.01.10 07/12/2017
[ 1012.916520] Call Trace:
[ 1012.916531] dump_stack+0x63/0x8b
[ 1012.916537] swiotlb_alloc_coherent+0x150/0x160
[ 1012.916543] x86_swiotlb_alloc_coherent+0x43/0x50
[ 1012.916550] vb2_dc_alloc+0xc8/0x1a0 [videobuf2_dma_contig]
[ 1012.916558] __vb2_queue_alloc+0x168/0x440 [videobuf2_core]
[ 1012.916564] vb2_core_reqbufs+0x19e/0x3a0 [videobuf2_core]
[ 1012.916570] vb2_ioctl_reqbufs+0x63/0x90 [videobuf2_v4l2]
[ 1012.916582] v4l_reqbufs+0x43/0x50 [videodev]
[ 1012.916592] __video_do_ioctl+0x292/0x310 [videodev]
[ 1012.916603] video_usercopy+0x1d5/0x610 [videodev]
[ 1012.916612] ? video_ioctl2+0x20/0x20 [videodev]
[ 1012.916623] video_ioctl2+0x15/0x20 [videodev]
[ 1012.916631] v4l2_ioctl+0xbb/0xf0 [videodev]
[ 1012.916637] do_vfs_ioctl+0xa1/0x5f0
[ 1012.916640] ? putname+0x54/0x60
[ 1012.916646] ? do_sys_open+0x1b4/0x280
[ 1012.916650] SyS_ioctl+0x79/0x90
[ 1012.916656] entry_SYSCALL_64_fastpath+0x1e/0xa9
[ 1012.916659] RIP: 0033:0x7fa960c30f47
[ 1012.916661] RSP: 002b:00007ffd59aa1518 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
[ 1012.916665] RAX: ffffffffffffffda RBX: 00007fa960ef9620 RCX: 00007fa960c30f47
[ 1012.916667] RDX: 00007ffd59aa1550 RSI: ffffffffc0145608 RDI: 0000000000000004
[ 1012.916669] RBP: 00007ffd59aa1580 R08: 0000000000000000 R09: 0000000000000094
[ 1012.916671] R10: 0000000000000838 R11: 0000000000000202 R12: 0000000000402e70
[ 1012.916672] R13: 00007ffd59aa1598 R14: 0000000000000000 R15: 0000000000402e8f
[ 1012.916679] xdma 0000:01:00.0: dma_alloc_coherent of size 11059200 failed
Anyone has a idea whether the kernel is automatically updated or? I already switched off the update in fact.
16.04 kernel
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I modified the ubuntu 16.04 kernel, changing MAX_ORDER from 11 to 15, and build the kernel. Because I want to allocate bigger cma buffers. After installing the kernel in Ubuntu 16.04, I found the kernel is booted when restarted and I'm able to allocate bigger buffers. However, If the computer is connected to the Internet, the kernel is somehow modified automatically that I can not do the allocation anymore. Here is the error message:
[ 1012.916510] xdma 0000:01:00.0: swiotlb buffer is full (sz: 11059200 bytes)
[ 1012.916512] swiotlb: coherent allocation failed for device 0000:01:00.0 size=11059200
[ 1012.916517] CPU: 0 PID: 1780 Comm: img_capture Tainted: G OE 4.13.0-21-generic #24~16.04.1-Ubuntu
[ 1012.916518] Hardware name: ADLINK TECHNOLOGY Inc. MXC6400/MXC6400, BIOS 2.01.10 07/12/2017
[ 1012.916520] Call Trace:
[ 1012.916531] dump_stack+0x63/0x8b
[ 1012.916537] swiotlb_alloc_coherent+0x150/0x160
[ 1012.916543] x86_swiotlb_alloc_coherent+0x43/0x50
[ 1012.916550] vb2_dc_alloc+0xc8/0x1a0 [videobuf2_dma_contig]
[ 1012.916558] __vb2_queue_alloc+0x168/0x440 [videobuf2_core]
[ 1012.916564] vb2_core_reqbufs+0x19e/0x3a0 [videobuf2_core]
[ 1012.916570] vb2_ioctl_reqbufs+0x63/0x90 [videobuf2_v4l2]
[ 1012.916582] v4l_reqbufs+0x43/0x50 [videodev]
[ 1012.916592] __video_do_ioctl+0x292/0x310 [videodev]
[ 1012.916603] video_usercopy+0x1d5/0x610 [videodev]
[ 1012.916612] ? video_ioctl2+0x20/0x20 [videodev]
[ 1012.916623] video_ioctl2+0x15/0x20 [videodev]
[ 1012.916631] v4l2_ioctl+0xbb/0xf0 [videodev]
[ 1012.916637] do_vfs_ioctl+0xa1/0x5f0
[ 1012.916640] ? putname+0x54/0x60
[ 1012.916646] ? do_sys_open+0x1b4/0x280
[ 1012.916650] SyS_ioctl+0x79/0x90
[ 1012.916656] entry_SYSCALL_64_fastpath+0x1e/0xa9
[ 1012.916659] RIP: 0033:0x7fa960c30f47
[ 1012.916661] RSP: 002b:00007ffd59aa1518 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
[ 1012.916665] RAX: ffffffffffffffda RBX: 00007fa960ef9620 RCX: 00007fa960c30f47
[ 1012.916667] RDX: 00007ffd59aa1550 RSI: ffffffffc0145608 RDI: 0000000000000004
[ 1012.916669] RBP: 00007ffd59aa1580 R08: 0000000000000000 R09: 0000000000000094
[ 1012.916671] R10: 0000000000000838 R11: 0000000000000202 R12: 0000000000402e70
[ 1012.916672] R13: 00007ffd59aa1598 R14: 0000000000000000 R15: 0000000000402e8f
[ 1012.916679] xdma 0000:01:00.0: dma_alloc_coherent of size 11059200 failed
Anyone has a idea whether the kernel is automatically updated or? I already switched off the update in fact.
16.04 kernel
New contributor
I modified the ubuntu 16.04 kernel, changing MAX_ORDER from 11 to 15, and build the kernel. Because I want to allocate bigger cma buffers. After installing the kernel in Ubuntu 16.04, I found the kernel is booted when restarted and I'm able to allocate bigger buffers. However, If the computer is connected to the Internet, the kernel is somehow modified automatically that I can not do the allocation anymore. Here is the error message:
[ 1012.916510] xdma 0000:01:00.0: swiotlb buffer is full (sz: 11059200 bytes)
[ 1012.916512] swiotlb: coherent allocation failed for device 0000:01:00.0 size=11059200
[ 1012.916517] CPU: 0 PID: 1780 Comm: img_capture Tainted: G OE 4.13.0-21-generic #24~16.04.1-Ubuntu
[ 1012.916518] Hardware name: ADLINK TECHNOLOGY Inc. MXC6400/MXC6400, BIOS 2.01.10 07/12/2017
[ 1012.916520] Call Trace:
[ 1012.916531] dump_stack+0x63/0x8b
[ 1012.916537] swiotlb_alloc_coherent+0x150/0x160
[ 1012.916543] x86_swiotlb_alloc_coherent+0x43/0x50
[ 1012.916550] vb2_dc_alloc+0xc8/0x1a0 [videobuf2_dma_contig]
[ 1012.916558] __vb2_queue_alloc+0x168/0x440 [videobuf2_core]
[ 1012.916564] vb2_core_reqbufs+0x19e/0x3a0 [videobuf2_core]
[ 1012.916570] vb2_ioctl_reqbufs+0x63/0x90 [videobuf2_v4l2]
[ 1012.916582] v4l_reqbufs+0x43/0x50 [videodev]
[ 1012.916592] __video_do_ioctl+0x292/0x310 [videodev]
[ 1012.916603] video_usercopy+0x1d5/0x610 [videodev]
[ 1012.916612] ? video_ioctl2+0x20/0x20 [videodev]
[ 1012.916623] video_ioctl2+0x15/0x20 [videodev]
[ 1012.916631] v4l2_ioctl+0xbb/0xf0 [videodev]
[ 1012.916637] do_vfs_ioctl+0xa1/0x5f0
[ 1012.916640] ? putname+0x54/0x60
[ 1012.916646] ? do_sys_open+0x1b4/0x280
[ 1012.916650] SyS_ioctl+0x79/0x90
[ 1012.916656] entry_SYSCALL_64_fastpath+0x1e/0xa9
[ 1012.916659] RIP: 0033:0x7fa960c30f47
[ 1012.916661] RSP: 002b:00007ffd59aa1518 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
[ 1012.916665] RAX: ffffffffffffffda RBX: 00007fa960ef9620 RCX: 00007fa960c30f47
[ 1012.916667] RDX: 00007ffd59aa1550 RSI: ffffffffc0145608 RDI: 0000000000000004
[ 1012.916669] RBP: 00007ffd59aa1580 R08: 0000000000000000 R09: 0000000000000094
[ 1012.916671] R10: 0000000000000838 R11: 0000000000000202 R12: 0000000000402e70
[ 1012.916672] R13: 00007ffd59aa1598 R14: 0000000000000000 R15: 0000000000402e8f
[ 1012.916679] xdma 0000:01:00.0: dma_alloc_coherent of size 11059200 failed
Anyone has a idea whether the kernel is automatically updated or? I already switched off the update in fact.
16.04 kernel
16.04 kernel
New contributor
New contributor
New contributor
asked 2 days ago
Edward Gao
1
1
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Edward Gao is a new contributor. Be nice, and check out our Code of Conduct.
Edward Gao is a new contributor. Be nice, and check out our Code of Conduct.
Edward Gao is a new contributor. Be nice, and check out our Code of Conduct.
Edward Gao is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094096%2fcustomized-kernel-is-modified-automatically%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown