Re: linux-next: x86_64 does not boot in Qemu

From: Mike Travis
Date: Thu May 01 2008 - 07:35:47 EST


Hi Dmitri,

There are 3 "fix" patches after this one (sorry about that).

http://marc.info/?l=linux-kernel&m=120941725114635&w=4
http://marc.info/?l=linux-kernel&m=120949583029044&w=4
http://marc.info/?l=linux-kernel&m=120956778620842&w=4

Checking out the "latest" sched/latest it appears though that the
entire patchset has been removed. I'll wait for Ingo's feedback
on what's up.

I will also try out your example test.

Thanks,
Mike

Dmitri Vorobiev wrote:
> Hi Stephen, Mike, Ingo,
>
> Starting from
>
>
> [dmitri.vorobiev@amber linux-2.6]$ git bisect good
> 66c38e394e8c178c806266bb213f1087cd182701 is first bad commit
> commit 66c38e394e8c178c806266bb213f1087cd182701
> Author: Mike Travis <travis@xxxxxxx>
> Date: Mon Apr 28 14:09:07 2008 -0700
>
> x86: remove static boot_cpu_pda array v2
>
> * Remove the boot_cpu_pda array and pointer table from the data section.
> Allocate the pointer table and array during init. do_boot_cpu()
> will reallocate the pda in node local memory and if the cpu is being
> brought up before the bootmem array is released (after_bootmem = 0),
> then it will free the initial pda. This will happen for all cpus
> present at system startup.
>
> This removes 512k + 32k bytes from the data section.
>
> For inclusion into sched-devel/latest tree.
>
> Based on:
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> + sched-devel/latest .../mingo/linux-2.6-sched-devel.git
>
> Signed-off-by: Mike Travis <travis@xxxxxxx>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
>
> <<<<
>
> the x86_64 kernel stopped booting for me. The symptom is that no output
> whatsoever is produced after the following command:
>
>
> qemu-0.9.1/bin/qemu-system-x86_64 image_64.raw \
> -kernel src/linux-2.6/arch/x86/boot/bzImage \
> -append "console=ttyS0 root=/dev/hda1 ro" -nographic \
> -redir tcp:2222::22 -m 512
>
> <<<<
>
> Qemu just hangs seemingly doing nothing. Normally, the usual boot log is
> displayed.
>
> Bisection on linux-next leads to the commit given above. Config attached.
>
> Thanks,
> Dmitri
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/