before start_kernel