Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2018 20:55:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 225182] devel/powerpc64-xtoolchain-gcc: SLOF Data Storage Exception on boot with kernel built with devel/powerpc64-xtoolchain-gcc
Message-ID:  <bug-225182-227-bWvtPPcG1w@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225182-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225182-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225182

--- Comment #27 from Kenneth Salerno <kennethsalerno@yahoo.com> ---
This issue is fixed in 11.2-BETA2 (I was able to boot a kernel built with
lang/gcc7 cross-compiled amd64->ppc64, only after installing the new boot
loader for 11.2). You may close this ticket.


Using default console: /vdevice/vty@71000000

  Welcome to Open Firmware

  Copyright (c) 2004, 2017 IBM Corporation All rights reserved.
  This program and the accompanying materials are made available
  under the terms of the BSD License available at
  http://www.opensource.org/licenses/bsd-license.php


Trying to load:  from: /vdevice/v-scsi@71000002/disk@8000000000000000 ...=
=20=20
Successfully loaded

>> FreeBSD/powerpc Open Firmware boot block
   Boot path:   /vdevice/v-scsi@71000002/disk@8000000000000000
   Boot loader: /boot/loader
   Boot volume:   /vdevice/v-scsi@71000002/disk@8000000000000000:2
Consoles: Open Firmware console

FreeBSD/powerpc64 Open Firmware loader, Revision 0.1
(Wed May 23 18:20:01 EDT 2018 root@freebsd-amd64.kpsalerno.us.ibm.com)
Memory: 4194304KB
Booted from: /vdevice/v-scsi@71000002/disk@8000000000000000

Loading /boot/defaults/loader.conf
/boot/kernel/kernel data=3D0x592198+0x2e4db0 syms=3D[0x8+0x8aeb8+0x8+0x456d=
5]
/boot/entropy size=3D0x1000
/boot/kernel/geom_label.ko text=3D0x8038 data=3D0x11a8+0x8
syms=3D[0x8+0x1260+0x8+0xbc1]
/boot/kernel/ufs.ko text=3D0x4a8b0 data=3D0x5218+0x218 syms=3D[0x8+0x62b8+0=
x8+0x2f35]
/boot/kernel/mem.ko text=3D0x2260 data=3D0x578+0x30 syms=3D[0x8+0x9c0+0x8+0=
x45e]
/boot/kernel/if_em.ko text=3D0x86c30 data=3D0x6190+0x38
syms=3D[0x8+0xa458+0x8+0x5ddc]
/boot/kernel/virtio.ko text=3D0x4b08 data=3D0xa18 syms=3D[0x8+0x1050+0x8+0x=
87a]
/boot/kernel/if_vtnet.ko text=3D0xde68 data=3D0x1128+0x38
syms=3D[0x8+0x1d70+0x8+0x11c7]
/boot/kernel/virtio_pci.ko text=3D0x6010 data=3D0x8d8+0x10
syms=3D[0x8+0x11b8+0x8+0xaf1]
/boot/kernel/virtio_blk.ko text=3D0x5890 data=3D0x958+0x10
syms=3D[0x8+0x11b8+0x8+0xa9f]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Kernel entry at 0x100160 ...
Copyright (c) 1992-2018 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.2-BETA2 #0 r334114: Wed May 23 18:38:20 EDT 2018
=20=20=20
root@freebsd-amd64.kpsalerno.us.ibm.com:/usr/obj/powerpc.powerpc64/usr/src/=
sys/SALERNO
powerpc
gcc version 7.3.0 (FreeBSD Ports Collection for powerpc64)
WARNING: Running on a broken hypervisor that does not support mandatory
H_CLEAR_MOD and H_CLEAR_REF hypercalls. Performance will be suboptimal.
cpu0: Unknown PowerPC CPU revision 0x1200, 1000.00 MHz
cpu0: Features c4000000<PPC32,PPC64,MMU>
real memory  =3D 4249464832 (4052 MB)
avail memory =3D 4091056128 (3901 MB)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0: dev=3D2c3c (BSP)
cpu8: dev=3D2984
cpu16: dev=3D26cc
cpu24: dev=3D2414
random: entropy device external interface
ofwbus0: <Open Firmware Device Tree> on nexus0
xicp0: <PAPR virtual interrupt controller> on ofwbus0
vdevice0: <POWER Hypervisor Virtual Device Root> on ofwbus0
vscsi0: <POWER Hypervisor Virtual SCSI Bus> irq 16781321 on vdevice0
vscsi0: Queue depth 22 commands
uart0: <POWER Hypervisor Virtual Serial Port> irq 16781315 on vdevice0
pcib0: <RTAS Host-PCI bridge> on ofwbus0
pci0: <POWER Hypervisor PCI bus> on pcib0
em0: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0x40-0x7f mem
0x80000000-0x8001ffff irq 4100 at device 0.0 on pci0
em0: Ethernet address: 52:54:00:12:34:56
cpulist0: <Open Firmware CPU Group> on ofwbus0
rtas0: <Run-Time Abstraction Services> on ofwbus0
rtas0: registered as a time-of-day clock, resolution 0.002000s
Timecounter "timebase" frequency 512000000 Hz quality 0
Event timer "decrementer" frequency 512000000 Hz quality 1000
Timecounters tick every 1.000 msec
cd0 at vscsi0 bus 0 scbus0 target 0 lun 8100
cd0: <QEMU QEMU CD-ROM 2.5+> Removable CD-ROM SPC-3 SCSI device
cd0: 150.000MB/s transfers
cd0: 0MB (175 2048 byte sectors)
da0 at vscsi0 bus 0 scbus0 target 0 lun 0
da0: <QEMU QEMU HARDDISK 2.5+> Fixed Direct Access SPC-3 SCSI device
da0: 150.000MB/s transfers
da0: 10240MB (20971520 512 byte sectors)
SMP: AP CPU #8 launched
SMP: AP CPU #16 launched
SMP: AP CPU #24 launched
WARNING: Running on a broken hypervisor that does not support mandatory
H_CLEAR_MOD and H_CLEAR_REF hypercalls. Performance will be suboptimal.
Trying to mount root from ufs:/dev/label/rootfs [rw,noatime,async]...
random: unblocking device.
Starting file system checks:
/dev/label/rootfs: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/label/rootfs: clean, 775575 free (7223 frags, 96044 blocks, 0.3%
fragmentation)
Setting hostuuid: bf9c298c-034d-11e8-87d6-31103780d945.
Setting hostid: 0xaedd8091.
Mounting local filesystems:.
Setting hostname: freebsd-ppc64.kpsalerno.us.ibm.com.
Setting up harvesting:
[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTA=
CH,CACHED
Feeding entropy: .
em0: link state changed to UP
Starting Network: lo0 em0.
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3D600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3D209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
        ether 52:54:00:12:34:56
        hwaddr 52:54:00:12:34:56
        inet 10.0.2.6 netmask 0xffffff00 broadcast 10.0.2.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
Starting devd.
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.0.2.2
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Mounting late filesystems:.
Performing sanity check on sshd configuration.
Starting sshd.
Starting cron.
Starting background file system checks in 60 seconds.

Thu May 24 16:52:44 EDT 2018

FreeBSD/powerpc (freebsd-ppc64.kpsalerno.us.ibm.com) (ttyu0)

login: root
Password:

May 24 16:53:15 freebsd-ppc64 login: ROOT LOGIN (root) ON ttyu0
Last login: Thu May 24 16:49:04 on ttyu0
FreeBSD 11.2-BETA2 (SALERNO) #0 r334114: Wed May 23 18:38:20 EDT 2018

Welcome to FreeBSD!

root@freebsd-ppc64# cc -v
cc -v
FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM
6.0.0)
Target: powerpc64-unknown-freebsd11.2
Thread model: posix
InstalledDir: /usr/bin
root@freebsd-ppc64#

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225182-227-bWvtPPcG1w>