> Date: Thu, 11 Mar 2021 15:05:11 +0900 (JST)
> From: YASUOKA Masahiko
>
> On Wed, 10 Mar 2021 13:15:58 +0100 (CET)
> Mark Kettenis wrote:
> >> On Wed, 10 Mar 2021 20:35:41 +0900 (JST)
> >> YASUOKA Masahiko wrote:
> >> > efiboot cannot load the kernel properly on some machines if booted
> >> >
Hi,
I was tested attached patch on following machines and worked fine on
those machines.
- ESXi vitrual machine
- AMD TYZEN 7
- Intel corei7
--
ASOU Masato
From: YASUOKA Masahiko
Date: Thu, 11 Mar 2021 15:05:11 +0900 (JST)
> On Wed, 10 Mar 2021 13:15:58 +0100 (CET)
> Mark Kettenis
On Wed, 10 Mar 2021 13:15:58 +0100 (CET)
Mark Kettenis wrote:
>> On Wed, 10 Mar 2021 20:35:41 +0900 (JST)
>> YASUOKA Masahiko wrote:
>> > efiboot cannot load the kernel properly on some machines if booted
>> > from CD-ROM. In that case boot fails with a message like follow:
>> >
>> >
> Date: Wed, 10 Mar 2021 20:42:42 +0900 (JST)
> From: YASUOKA Masahiko
>
> Sorry for making noise, let me update the diff.
>
> > + if (ed->blkio->Media->IoAlign > 1 &&
> > + ((UINTN)buf + i_lblks * DEV_BSIZE)
> > + %
Sorry for making noise, let me update the diff.
> + if (ed->blkio->Media->IoAlign > 1 &&
> + ((UINTN)buf + i_lblks * DEV_BSIZE)
> + % ed->blkio->Media->IoAlign == 0)
first condition was reversed..
On Wed, 10 Mar 2021 20:35:41
Hi,
efiboot cannot load the kernel properly on some machines if booted
from CD-ROM. In that case boot fails with a message like follow:
booting cd0a:. [359648read symbols: Unknown error: code 255
As far as Asou and my test, this happens on hosts on VMware ESXi 6.7,
7.0 and asou's