[Bug 225182] devel/powerpc64-xtoolchain-gcc: SLOF Data Storage Exception on boot with kernel built with devel/powerpc64-xtoolchain-gcc

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 24 20:55:35 UTC 2018


--- Comment #27 from Kenneth Salerno <kennethsalerno at 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 at 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

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

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

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

Loading /boot/defaults/loader.conf
/boot/kernel/kernel data=0x592198+0x2e4db0 syms=[0x8+0x8aeb8+0x8+0x456d5]
/boot/entropy size=0x1000
/boot/kernel/geom_label.ko text=0x8038 data=0x11a8+0x8
/boot/kernel/ufs.ko text=0x4a8b0 data=0x5218+0x218 syms=[0x8+0x62b8+0x8+0x2f35]
/boot/kernel/mem.ko text=0x2260 data=0x578+0x30 syms=[0x8+0x9c0+0x8+0x45e]
/boot/kernel/if_em.ko text=0x86c30 data=0x6190+0x38
/boot/kernel/virtio.ko text=0x4b08 data=0xa18 syms=[0x8+0x1050+0x8+0x87a]
/boot/kernel/if_vtnet.ko text=0xde68 data=0x1128+0x38
/boot/kernel/virtio_pci.ko text=0x6010 data=0x8d8+0x10
/boot/kernel/virtio_blk.ko text=0x5890 data=0x958+0x10

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
root at freebsd-amd64.kpsalerno.us.ibm.com:/usr/obj/powerpc.powerpc64/usr/src/sys/SALERNO
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  = 4249464832 (4052 MB)
avail memory = 4091056128 (3901 MB)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0: dev=2c3c (BSP)
cpu8: dev=2984
cpu16: dev=26cc
cpu24: dev=2414
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: clean, 775575 free (7223 frags, 96044 blocks, 0.3%
Setting hostuuid: bf9c298c-034d-11e8-87d6-31103780d945.
Setting hostid: 0xaedd8091.
Mounting local filesystems:.
Setting hostname: freebsd-ppc64.kpsalerno.us.ibm.com.
Setting up harvesting:
Feeding entropy: .
em0: link state changed to UP
Starting Network: lo0 em0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet netmask 0xff000000
        groups: lo
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 52:54:00:12:34:56
        hwaddr 52:54:00:12:34:56
        inet netmask 0xffffff00 broadcast
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
Starting devd.
add host gateway lo0 fib 0: route already in table
add net default: gateway
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

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 at freebsd-ppc64# cc -v
cc -v
FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM
Target: powerpc64-unknown-freebsd11.2
Thread model: posix
InstalledDir: /usr/bin
root at freebsd-ppc64#

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

More information about the freebsd-bugs mailing list