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]
Date:	Sat, 12 Nov 2011 18:07:01 -0600
From:	Rob Landley <rob@...dley.net>
To:	Aboriginal Linux <aboriginal@...ts.landley.net>,
	linux-kernel@...r.kernel.org, davem@...emloft.net, tytso@....edu,
	sparclinux@...r.kernel.org
Subject: Re: Sparc-32 doesn't work in 3.1.

On 11/12/2011 11:22 AM, Rob Landley wrote:
> Still trying to ship an Aboriginal Linux release with the 3.1 kernel,
> but the sparc target broke, as in QEMU's OpenBios goes:
> 
>   Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@...ra.linux.cz).
>   Patching kernel for srmmu[Fujitsu TurboSparc]/iommu
>   Fixup i f029ddfc doesn't refer to a valid instruction at
>   f00de648[95eea000]
>   halt, power off

If anyone would like a reproduction sequence for this, the toolchain I use
(which compiles commit 9933fc0ac1ac14b^1 just fine) is at:

  http://landley.net/aboriginal/downloads/binaries/cross-compiler-sparc.tar.bz2

I configure using the attached miniconfig, ala:

  make allnoconfig KCONFIG_ALLCONFIG=miniconfig.sparc ARCH=sparc

And then:

  PATH=/path/to/cross-compiler-sparc/bin:$PATH make ARCH=sparc \
    CROSS_COMPILE=sparc- -j 3

I then grab the file arch/sparc/boot/image out of the build and run:

  qemu-system-sparc -nographic -no-reboot -kernel image -hda /dev/null -m 256 \
    -append "root=/dev/sda rw init=/sbin/init.sh panic=1 PATH=/bin:/sbin console=ttyS0 HOST=sparc"

If you'd like a working system for comparison (built with the same
toolchain), download:

  http://landley.net/aboriginal/downloads/binaries/system-image-sparc.tar.bz2

And run-emulator.sh out of that.

Rob

View attachment "miniconfig.sparc" of type "text/plain" (1060 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ