Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2017 21:59:00 +0300
From:      Toomas Soome <tsoome@me.com>
To:        "O. Hartmann" <o.hartmann@walstatt.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: r316677:EFI boot failure: Can't load kernel
Message-ID:  <AC12F921-A8BE-496A-A482-31A24913B0B6@me.com>
In-Reply-To: <20170410200440.5e70c172@thor.intern.walstatt.dynvpn.de>
References:  <20170410145846.73d4350a@hermann> <C72648F4-086A-45E5-AB3A-101DFA888E26@me.com> <20170410200440.5e70c172@thor.intern.walstatt.dynvpn.de>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 10. apr 2017, at 21:04, O. Hartmann <o.hartmann@walstatt.org> =
wrote:
>=20
> Am Mon, 10 Apr 2017 16:14:21 +0300
> Toomas Soome <tsoome@me.com> schrieb:
>=20
>>> On 10. apr 2017, at 15:58, Hartmann, O. <ohartmann@walstatt.org> =
wrote:
>>>=20
>>> After today's update to r316677, some UEFI boxes (Fujitsu Celsius =
M740
>>> XEON) reject to boot properly. They die immediately after
>>> loading /boot/loader.efi and jump into loader prompt:
>>>=20
>>> [...]
>>> \
>>> can't load 'kernel'
>>>=20
>>>=20
>>> I had to investigate with an USB flashdrive the filesystem, but
>>> everything seems to be properly in place and installed.
>>>=20
>>> I need advice how to revive the system after this.
>>>=20
>>=20
>>=20
>> hm, this implies that r316676 was ok? If so, the only logical =
conclusion is that it
>> hast to do about the kernel size and if there is enough space in UEFI =
memory to place
>> the kernel.
>>=20
>> You can fetch the current memory map from loader OK prompt with =
memmap command, I hope
>> this will help to identify the issue.
>>=20
>> rgds,
>> toomas
>=20
>=20
> And?
>=20
> Regrads,
>=20
> oh
>=20

Well, the memory needed is starting from the:

#define KERNEL_PHYSICAL_BASE (2*1024*1024)

and it should be large enough for kernel. But it feels a bit like =
barking under the random tree; the problem is that the error is not =
telling us anything why it did happen:(

This message you get is coming from sys/boot/common/boot.c, as part of =
the autoload sequence; did you try to load kernel manually with load =
command? also if you have old kernel around, does old kernel get loaded?

rgds,
toomas







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC12F921-A8BE-496A-A482-31A24913B0B6>