Date: Wed, 03 Jan 2018 21:59:28 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ppc@FreeBSD.org Subject: [Bug 224841] Power64 regression: Machine does not boot anymore Message-ID: <bug-224841-21-BVDEGDbh0K@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-224841-21@https.bugs.freebsd.org/bugzilla/> References: <bug-224841-21@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=3D224841 Gustavo Romero <gromero@br.ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gromero@br.ibm.com --- Comment #9 from Gustavo Romero <gromero@br.ibm.com> --- Hi,=20 Boot on POWER8 also got stuck after: "Trying to mount root from ufs:/dev/da0s2a [rw]..." Enabling rc.d debug option did not show anything more, so probably it got s= tuck on kernelspace. Reverting commit 9e4c7607a7c39325daea1d92ade15787adad72b2 ('Enhance the CHRP/pSeries platform layer') solves the issue and POWER8 boot works fine. Applying Breno's draft did not solved the issue. I'm wondering if mapping between new contiguous cpu ID's and '{pc,cr}_hwref' are correct since previously 'dev' was a very high number:=20 cpu0: dev=3D7e72a3a0 (BSP) cpu8: dev=3D7e72ac20 cpu16: dev=3D7e72b4a0 cpu24: dev=3D7e72bd20 cpu32: dev=3D7e72c5a0 cpu40: dev=3D7e72ce20 cpu48: dev=3D7e72d6a0 cpu56: dev=3D7e72df20 and now: cpu0: dev=3D0 (BSP) cpu1: dev=3D8 cpu2: dev=3D10 cpu3: dev=3D18 cpu4: dev=3D20 cpu5: dev=3D28 cpu6: dev=3D30 cpu7: dev=3D38 For the records, here is the full boot log that halts after "Trying to mount...": >> FreeBSD/powerpc Open Firmware boot block Boot path: /vdevice/v-scsi@2000/disk@8000000000000000 Boot loader: /boot/loader Boot volume: /vdevice/v-scsi@2000/disk@8000000000000000:2 Consoles: Open Firmware console=20=20 FreeBSD/powerpc64 Open Firmware loader, Revision 0.1 (Wed Jan 3 14:26:49 -02 2018 root@gromero31) Memory: 8388608KB Booted from: /vdevice/v-scsi@2000/disk@8000000000000000 Loading /boot/defaults/loader.conf /boot/kernel/kernel data=3D0xf1d038+0x4a6a08 syms=3D[0x8+0x155a78+0x8+0x154= aac] /boot/entropy size=3D0x1000 Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]...=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 Kernel entry at 0x102620 ... KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2017 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 12.0-CURRENT #3 9e4c7607a7c(HEAD): Wed Jan 3 17:21:09 -02 2018 root@gromero31:/usr/obj/root/git/freebsd/powerpc.powerpc64/sys/GENERIC64 powerpc gcc version 4.2.1 20070831 patched [FreeBSD] WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. cpu0: IBM POWER8E revision 2.1, 3425.00 MHz cpu0: Features dc005180<PPC32,PPC64,ALTIVEC,FPU,MMU,SMT,ARCH205,ARCH206,VSX> cpu0: Features2 ca000000<ARCH207,HTM,ISEL,VCRYPTO> real memory =3D 8552837120 (8156 MB) avail memory =3D 8264536064 (7881 MB) FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs random: unblocking device. random: entropy device external interface kbd0 at kbdmux0 ofwbus0: <Open Firmware Device Tree> on nexus0 xicp0: <PAPR virtual interrupt controller> on ofwbus0 rtas0: <Run-Time Abstraction Services> on ofwbus0 rtas0: registered as a time-of-day clock, resolution 0.002000s cpulist0: <Open Firmware CPU Group> on ofwbus0 pcib0: <RTAS Host-PCI bridge> on ofwbus0 pci0: <POWER Hypervisor PCI bus> on pcib0 pcib1: <OFW PCI-PCI bridge> mem 0x90100000-0x901000ff irq 4099 at device 1.= 0 on pci0 pci1: <POWER Hypervisor PCI bus> on pcib1 pci0: <serial bus, USB> at device 2.0 (no driver attached) pci0: <old> at device 4.0 (no driver attached) vdevice0: <POWER Hypervisor Virtual Device Root> on ofwbus0 llan0: <POWER Hypervisor Virtual Ethernet> irq 16781320 on vdevice0 llan0: Ethernet address: 00:1f:36:04:00:00 vscsi0: <POWER Hypervisor Virtual SCSI Bus> irq 16781319 on vdevice0 vscsi0: Queue depth 22 commands uart0: <POWER Hypervisor Virtual Serial Port> irq 16781321 on vdevice0 Timecounter "timebase" frequency 512000000 Hz quality 0 Event timer "decrementer" frequency 512000000 Hz quality 1000 Timecounters tick every 1.000 msec llan0: link state changed to UP usb_needs_explore_all: no devclass cd0 at vscsi0 bus 0 scbus0 target 0 lun 1 cd0: <QEMU QEMU CD-ROM 2.5+> Removable CD-ROM SPC-3 SCSI device cd0: 150.000MB/s transfers cd0: 878MB (449960 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: 153600MB (314572800 512 byte sectors) SMP: AP CPU #4 launched SMP: AP CPU #7 launched SMP: AP CPU #1 launched SMP: AP CPU #2 launched SMP: AP CPU #3 launched SMP: AP CPU #6 launched SMP: AP CPU #5 launched WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/da0s2a [rw]... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224841-21-BVDEGDbh0K>