lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190213081221.GB1624@localhost.localdomain>
Date:   Wed, 13 Feb 2019 16:12:21 +0800
From:   Chao Fan <fanc.fnst@...fujitsu.com>
To:     Ard Biesheuvel <ard.biesheuvel@...aro.org>
CC:     Boris Petkov <bp@...en8.de>, Guenter Roeck <linux@...ck-us.net>,
        Thomas Gleixner <tglx@...utronix.de>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
        Ingo Molnar <mingo@...hat.com>,
        "Lendacky, Thomas" <thomas.lendacky@....com>,
        Masahiro Yamada <yamada.masahiro@...ionext.com>,
        <caoj.fnst@...fujitsu.com>, Juergen Gross <jgross@...e.com>,
        Ingo Molnar <mingo@...nel.org>,
        Kees Cook <keescook@...omium.org>,
        the arch/x86 maintainers <x86@...nel.org>,
        "H. Peter Anvin" <hpa@...or.com>,
        <linux-tip-commits@...r.kernel.org>,
        Matt Fleming <matt@...eblueprint.co.uk>
Subject: Re: [tip:x86/boot] x86/boot: Early parse RSDP and save it in
 boot_params

On Wed, Feb 13, 2019 at 09:01:27AM +0100, Ard Biesheuvel wrote:
>On Wed, 13 Feb 2019 at 08:59, Chao Fan <fanc.fnst@...fujitsu.com> wrote:
>>
>> On Wed, Feb 13, 2019 at 08:36:12AM +0100, Boris Petkov wrote:
>> >On February 13, 2019 2:54:29 AM GMT+01:00, Chao Fan <fanc.fnst@...fujitsu.com> wrote:
>> >>Yes, your PATCH really works well. I tried both efi32 OVMF and efi64
>> >>OVMF, all boot.
>> >
>> >What about the real hardware you are normally testing on? Boots there too?
>>
>> I testet it in a real EFI machine, it booted, but from command:
>> > cat /sys/firmware/efi/fw_platform_size
>> 64
>>
>> We can see it's a 64-bit EFI firmware, and there is no 32-bit EFI firmware available.
>>
>
>Did you try booting 32-bit OVMF from 64-bit QEMU?

Yes, I tried the 32-bit OVMF and rootfs from Guenter.
Used as suggested by Boris:

qemu-system-x86_64 -kernel /home/cfan/code/tip/arch/x86/boot/bzImage -M q35 -cpu SandyBridge \
-no-reboot -snapshot -smp 1 \
-bios OVMF-pure-efi-32.fd \
-net nic,model=rtl8139,macaddr=12:34:56:78:12:34 \
-usb -device usb-storage,drive=d0 \
-m 1G \
-drive file=rootfs.squashfs,if=none,id=d0,format=raw \
--append 'earlycon=uart8250,io,0x3f8,9600n8 root=/dev/sda rootwait panic=-1 earlyprintk=ttyS0,115200,keep console=ttyS0,115200' \
-monitor pty \
-serial stdio

Since I used to watch the log, so I just change the "serial file:log" to
"serial stdio".

Thanks,
Chao Fan
>
>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ