Re: Latest kernel doesn't boot

Previous thread: ipw3945: not only it periodically dies, it also BUG()s by Pavel Machek on Tuesday, February 5, 2008 - 5:44 pm. (10 messages)

Next thread: [PATCH] stop c_p_a corrupting the pds by Hugh Dickins on Tuesday, February 5, 2008 - 6:26 pm. (5 messages)
To: <linux-kernel@...>
Date: Tuesday, February 5, 2008 - 6:15 pm

The latest linux kernel doesn't boot on my computer
(h=21511abd0a248a3f225d3b611cfabb93124605a7).

elilo hangs while booting this kernel. 2.6.24 works.

--

To: <thomas@...>
Cc: <linux-kernel@...>
Date: Tuesday, February 5, 2008 - 6:33 pm

Wow, so we know it's affected with EFI, since you're using elilo.

You gave absolutely zero other information about your system or what
"doesn't boot" mean.

-hpa
--

To: H. Peter Anvin <hpa@...>
Cc: <linux-kernel@...>
Date: Wednesday, February 6, 2008 - 4:18 pm

Here is an older bisection try:
$ git bisect log

git-bisect start
# bad: [dd430ca20c40ecccd6954a7efd13d4398f507728] Merge
git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86
git-bisect bad dd430ca20c40ecccd6954a7efd13d4398f507728
# good: [49914084e797530d9baaf51df9eda77babc98fa8] Linux 2.6.24
git-bisect good 49914084e797530d9baaf51df9eda77babc98fa8
# good: [f4d900a2cae94256f56be7769734100c7054bf00] [NETLINK]: Mark
attribute construction exception unlikely
git-bisect good f4d900a2cae94256f56be7769734100c7054bf00
# good: [85040bcb4643cba578839e953f25e2d1965d83d0] [IPV6] ADDRLABEL: Fix
double free on label deletion.
git-bisect good 85040bcb4643cba578839e953f25e2d1965d83d0
# good: [70fd93c9d9e07dd2ea4465df76a0ddd414fd21ac] x86: export cpu_gdt_descr
git-bisect good 70fd93c9d9e07dd2ea4465df76a0ddd414fd21ac
# bad: [306c142f99caef5a30a0d61a39a956c069941b63] x86: pat: e820 cleanup
git-bisect bad 306c142f99caef5a30a0d61a39a956c069941b63
# bad: [7271339347653f6d652bb47aaee1f57d936002f6] x86:
arch/x86/kernel/cpu/mcheck/k7.c checkpatch fixes
git-bisect bad 7271339347653f6d652bb47aaee1f57d936002f6
# bad: [7818a1e0294debee02d5135e17b89f28b8871887] x86: provide 64-bit
with a load_sp0 function.
git-bisect bad 7818a1e0294debee02d5135e17b89f28b8871887
# bad: [2215e69d2cf5024647f9a034807990590d25dd4e] x86 boot: use E820
memory map on EFI 32 platform
git-bisect bad 2215e69d2cf5024647f9a034807990590d25dd4e
# good: [26048d75e8d6c840742468667f4a7ab8c2df74c9] x86: use the same
data type for tls_array.
git-bisect good 26048d75e8d6c840742468667f4a7ab8c2df74c9
# good: [341d8854d38fe6e7655f7748babae5c25a51aa70] x86: remove fastcall
from include/asm-x86
git-bisect good 341d8854d38fe6e7655f7748babae5c25a51aa70
# good: [8c8b8859b64baf6d7c33900e8720c7bafe775b2c] mcheck mce_64:
mce_read_sem to mutex
git-bisect good 8c8b8859b64baf6d7c33900e8720c7bafe775b2c
# good: [de18c850af701ac9512b7239e88fa45e4c168771] x86: EFI runtime
service support: EFI runtime services
git-bisect good de18c850af...

To: Thomas Meyer <thomas@...>
Cc: <linux-kernel@...>
Date: Wednesday, February 6, 2008 - 5:02 pm

ELILO is expected to convert the memory map from EFI to e820 format.

EFI32 is likely to be poorly supported, since Apple is likely to be the
only platform to *ever* ship EFI32 in mass production, and it has a BIOS
emulation layer available.

-hpa
--

To: H. Peter Anvin <hpa@...>
Cc: <linux-kernel@...>
Date: Wednesday, February 6, 2008 - 5:27 pm

I'm using elilo-3.6-ia32.efi provided at the elilo homepage. i wasn't
able to create a working efi toolchain :-(

mfg
thomas
--

To: Thomas Meyer <thomas@...>
Cc: <linux-kernel@...>, Huang, Ying <ying.huang@...>
Date: Wednesday, February 6, 2008 - 5:45 pm

I'm saying that in my opinion support for EFI32 is likely to be
unreliable and never make it out of "experimental" status. EFI is
enough of a heap of junk on the 64-bit side.

Ying, do you have any insights?

-hpa
--

To: H. Peter Anvin <hpa@...>
Cc: <linux-kernel@...>, Huang, Ying <ying.huang@...>, <jason.fleischli@...>
Date: Saturday, February 9, 2008 - 2:39 pm

3.6 doesn't do the mapping in ia32/system.c create_boot_params().
3.8 does.

The problem is, that i wasn't able to produce a working elilo.efi files
with my gentoo toolchain. the files elilo-3.8.efi provided by the elilo
project also doesn't work (gives a load error from the efi runtime).

So i guess i'm stuck here.

It should be noted somewhere that with Huangs patches, elilo version 3.8
is needed.

--

To: Thomas Meyer <thomas@...>
Cc: H. Peter Anvin <hpa@...>, <linux-kernel@...>, <jason.fleischli@...>
Date: Tuesday, February 12, 2008 - 10:01 pm

Yes. I will add this.

Best Regards,
Huang Ying

--

To: Thomas Meyer <thomas@...>
Cc: H. Peter Anvin <hpa@...>, <linux-kernel@...>, Huang, Ying <ying.huang@...>
Date: Monday, February 11, 2008 - 1:42 pm

The release notes with elilo3.7 beta (first integration of Intel EFI 2
patches) does cover this, as well as the toolchain changes required to
build it. fyi

-Jason

--

To: H. Peter Anvin <hpa@...>
Cc: <linux-kernel@...>
Date: Tuesday, February 5, 2008 - 7:57 pm

It's a macbook pro with a core duo processor (the one with only 32bits).

Doesn't boot means: i enter the name of the kernel image i want to boot in elilo
and press enter and nothing happens, it just hangs.

i need to press the power button for a few seconds to power off.

--

Previous thread: ipw3945: not only it periodically dies, it also BUG()s by Pavel Machek on Tuesday, February 5, 2008 - 5:44 pm. (10 messages)

Next thread: [PATCH] stop c_p_a corrupting the pds by Hugh Dickins on Tuesday, February 5, 2008 - 6:26 pm. (5 messages)