Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C2S baremetal machine: kernel panic with Ubuntu kernel #4

Open
reisei opened this issue Feb 23, 2019 · 1 comment
Open

C2S baremetal machine: kernel panic with Ubuntu kernel #4

reisei opened this issue Feb 23, 2019 · 1 comment

Comments

@reisei
Copy link

reisei commented Feb 23, 2019

Hello!
I followed your README, but unfortunately got kernel panic on Ubuntu new kernel's boot, here is the logs:

>>> Verbose mode enabled
>>> Checking user input for debug shell...
>>> Initializing 'local' root file system...
>>> Attaching nbd0...
>>> Executing: @xnb[   21.744289] random: fast init done
d-client --blocksize 512 --retry=900 10.1.136.177 4224 /dev/nbd0
>>> Executing: sh -ec echo -1000 > /proc/805/oom_score_adj
>>> Executing: mkdir -p /run/sendsigs.omit.d
>>> Executing: sh -ec echo 805 > /run/sendsigs.omit.d/nbd0.pid
>>> Checking metadata in case we skip to wait for secondary volumes to be ready...

>>> Retrieving NBD devices info...
>>> - nbd0: l_ssd 50G

>>> Found partitions on /dev/nbd0
>>> Mounting  as root filesystem...
>>> Mounting /newroot...
>>> Executing: mount /newroot
>>> 'mount /newroot' failed
sed: can't create temp file '/newroot/etc/fstabxoLfuZ': No such file or directory

df: /newroot: can't find mount point
>>> Usage on /:     

>>> Running i[   22.678682] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[   22.678682] 
n a kexec
   22.798049] CPU: 3 PID: 1 Comm: switch_root Not tainted 4.10.3-041003-generic #201703142331
[   22.915110] Hardware name: Online Labs SR/SR, BIOS 00.00.00.0012 01/17/2018
6m>>> Checki[   22.998756] Call Trace:
ng metadata for [   23.044711]  dump_stack+0x63/0x81
[   23.101203]  panic+0xe4/0x22d
debug shell...
[   23.136812]  do_exit+0xb09/0xb10
1;36m>>> C   23.192158]  do_group_exit+0x43/0xb0
he[cking metadata   23.251787]  SyS_exit_group+0x14/0x20
 for debug sshd [   23.312461]  entry_SYSCALL_64_fastpath+0x1e/0xad
[   23.384618] RIP: 0033:0x45a7b9
(dropbear)...
21272] RSP: 002b:00007ffef871da08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[   23.528832] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 000000000045a7b9
[0;90m>>> Execut[   23.614566] RDX: 0000000000000008 RSI: 0000000000000001 RDI: 0000000000000001
[   23.716907] RBP: 00000000007ddf80 R08: 000000000000003c R09: 00000000000000e7
ing: mkdir -p /n[   23.802641] R10: ffffffffffffffe0 R11: 0000000000000246 R12: 0000000000000001
[   23.904979] R13: 00000000007de500 R14: 00007ffef871dd48 R15: 0000000000000000
[   23.990725] Kernel Offset: 0x8600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xfff)
[   24.138651] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[   24.138651] 
[   24.257808] ------------[ cut here ]------------
[   24.313264] WARNING: CPU: 3 PID: 1 at /home/kernel/COD/linux/arch/x86/kernel/smp.c:127 native_smp_send_r0
[   24.447030] Modules linked in: igb ptp pps_core i2c_algo_bit dca nbd virtio_blk virtio_net
[   24.546349] CPU: 3 PID: 1 Comm: switch_root Not tainted 4.10.3-041003-generic #201703142331
[   24.646703] Hardware name: Online Labs SR/SR, BIOS 00.00.00.0012 01/17/2018
[   24.730349] Call Trace:
[   24.759694]  <IRQ>
[   24.783818]  dump_stack+0x63/0x81
[   24.823605]  __warn+0xcb/0xf0
[   24.859214]  warn_slowpath_null+0x1d/0x20
[   24.907355]  native_smp_send_reschedule+0x3a/0x40
[   24.963851]  trigger_load_balance+0x132/0x230
[   25.016169]  scheduler_tick+0xa3/0xd0
[   25.060135]  ? tick_sched_handle.isra.15+0x60/0x60
[   25.117673]  update_process_times+0x47/0x60
[   25.167903]  tick_sched_handle.isra.15+0x25/0x60
[   25.223354]  tick_sched_timer+0x3d/0x70
[   25.269407]  __hrtimer_run_queues+0xf3/0x270
[   25.320681]  hrtimer_interrupt+0xa3/0x1e0
[   25.368823]  local_apic_timer_interrupt+0x38/0x60
[   25.425317]  smp_apic_timer_interrupt+0x38/0x50
[   25.479724]  apic_timer_interrupt+0x89/0x90
[   25.529954] RIP: 0010:panic+0x1ed/0x22d
[   25.576005] RSP: 0018:ffffaab1c0c57e18 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10
[   25.666962] RAX: 0000000000000051 RBX: ffff96e03593aa00 RCX: ffffffff8a45f2e8
[   25.752696] RDX: 0000000000000000 RSI: 0000000000000046 RDI: 0000000000000046
[   25.838432] RBP: ffffaab1c0c57e90 R08: 0000000000000003 R09: 00000000000001ee
[   25.924167] R10: 0000000000000040 R11: ffffffff8a84584d R12: 0000000000000000
[   26.009903] R13: 0000000000000000 R14: 00007ffef871dd01 R15: ffff96e03594d008
[   26.095636]  </IRQ>
[   26.120806]  ? panic+0x1e6/0x22d
[   26.159549]  do_exit+0xb09/0xb10
[   26.198291]  do_group_exit+0x43/0xb0
[   26.241210]  SyS_exit_group+0x14/0x20
[   26.285175]  entry_SYSCALL_64_fastpath+0x1e/0xad
[   26.340624] RIP: 0033:0x45a7b9
[   26.377278] RSP: 002b:00007ffef871da08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[   26.468235] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 000000000045a7b9
[   26.553970] RDX: 0000000000000008 RSI: 0000000000000001 RDI: 0000000000000001
[   26.639706] RBP: 00000000007ddf80 R08: 000000000000003c R09: 00000000000000e7
[   26.725440] R10: ffffffffffffffe0 R11: 0000000000000246 R12: 0000000000000001
[   26.811175] R13: 00000000007de500 R14: 00007ffef871dd48 R15: 0000000000000000
[   26.896912] ---[ end trace c7b7adcda7508673 ]---
ewroot/run /newrAn error has occured
@reisei
Copy link
Author

reisei commented Feb 23, 2019

What can be the reason?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant