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: <82af8805-3e2a-cfb3-9df6-d883b50ff460@c-s.fr>
Date:   Thu, 21 Feb 2019 07:31:36 +0100
From:   Christophe Leroy <christophe.leroy@....fr>
To:     Michael Ellerman <mpe@...erman.id.au>,
        Benjamin Herrenschmidt <benh@...nel.crashing.org>,
        Paul Mackerras <paulus@...ba.org>, j.neuschaefer@....net
Cc:     linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v3 00/16] powerpc/32: Use BATs/LTLBs for STRICT_KERNEL_RWX



Le 21/02/2019 à 02:47, Michael Ellerman a écrit :
> Christophe Leroy <christophe.leroy@....fr> writes:
> 
>> The purpose of this serie is to:
>> - use BATs with STRICT_KERNEL_RWX on book3s (See patch 13 for details.)
>> - use LTLBs with STRICT_KERNEL_RWX on 8xx (See patch 15 for a few details.)
> 
> This doesn't boot qemu-mac99 for me:
> 
>    spawn ~/src/qemu/ppc-softmmu/qemu-system-ppc -nographic -vga none -M mac99 -m 1G -kernel build/vmlinux -initrd ppc32-initrd.gz -append console=ttyPZ0 init=/bin/sh
>    >> =============================================================
>    >> OpenBIOS 1.1 [Feb 15 2019 10:05]
>    >> Configuration device id QEMU version 1 machine id 1
>    >> CPUs: 1
>    >> Memory: 1024M
>    >> UUID: 00000000-0000-0000-0000-000000000000
>    >> CPU type PowerPC,G4
>    milliseconds isn't unique.
>    Welcome to OpenBIOS v1.1 built on Feb 15 2019 10:05
>    >> [ppc] Kernel already loaded (0x01000000 + 0x00c2c338) (initrd 0x01d2d000 + 0x007e72f0)
>    >> [ppc] Kernel command line: console=ttyPZ0 init=/bin/sh
>    >> switching to new context:
>    OF stdout device is: /pci@...00000/mac-io@...scc@...00/ch-a@...20
>    Preparing to boot Linux version 5.0.0-rc2-gcc-8.2.0-00125-g4fcb83ca7936 (michael@ka4) (gcc version 8.2.0 (Buildroot 2018.11-rc2-00003-ga0787e9)) #724 Thu Feb 21 12:03:14 AEDT 2019
>    Detected machine type: 00000400
>    command line:
>    memory layout at init:
>      memory_limit : 00000000 (16 MB aligned)
>      alloc_bottom : 02515000
>      alloc_top    : 30000000
>      alloc_top_hi : 40000000
>      rmo_top      : 30000000
>      ram_top      : 40000000
>    copying OF device tree...
>    Building dt strings...
>    Building dt structure...
>    Device tree strings 0x02516000 -> 0x025150a4
>    Device tree struct  0x02517000 -> 0x3fde7eb0
>    Quiescing Open Firmware ...
>    Booting Linux via __start() @ 0x01000000 ...
>    FAIL! Booting BE pmac32
> 
> 
> That's pmac32 defconfig ish.
> I haven't had time to debug it further sorry.
> 

Ok. I boots fine without the '-m 1G'.

I'll find out why.

Christophe

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ