Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2015 07:31:12 -0800
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Luciano Mannucci <luciano@vespaperitivo.it>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: IBM KVM on Power 8 again - tried 11 20151217-r292413
Message-ID:  <56796CC0.8050103@freebsd.org>
In-Reply-To: <3pPvR73fpRz1cXKx@baobab.bilink.it>
References:  <3pPvR73fpRz1cXKx@baobab.bilink.it>

next in thread | previous in thread | raw e-mail | index | archive | help
That's quite odd. Maybe that particular kernel had a regression? I just 
successfully installed the 20151130 snapshot. Have you tried that one?
-Nathan

On 12/22/15 02:36, Luciano Mannucci wrote:
> I'm still trying to install a freebsd on my Power 8 under quemu. The
> last snapshot gives me:
>
>         SCSI: Looking for devices
>            8001000000000000 CD-ROM   : "QEMU     QEMU CD-ROM      2.3."
>            8000000000000000 DISK     : "QEMU     QEMU HARDDISK    2.3."
> Populating /vdevice/vty@30000000
> Populating /vdevice/nvram@71000000
> Populating /pci@800000020000000
>                       00 1800 (D) : 1af4 1002    unknown-legacy-device*
>                       00 1000 (D) : 106b 003f    serial bus [ usb-ohci ]
>                       00 0800 (D) : 10ec 8139    network [ ethernet ]
> No NVRAM common partition, re-initializing...
> Scanning USB
>    OHCI: initializing
>      USB Keyboard
>      USB mouse
> Using default console: /vdevice/vty@30000000
>       
>    Welcome to Open Firmware
>
>    Copyright (c) 2004, 2011 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@2000/disk@8001000000000000 ...   Successfully loaded
> Consoles: Open Firmware console
>
> FreeBSD/powerpc64 Open Firmware loader, Revision 0.1
> (root@releng2.nyi.freebsd.org, Fri Dec 18 03:58:11 UTC 2015)
> Memory: 1048576KB
> Booted from: /vdevice/v-scsi@2000/disk@8001000000000000
>
> Loading /boot/defaults/loader.conf
> /boot/kernel/kernel data=0xe49048+0x41ab78 syms=[0x8+0x143700+0x8+0x1402cb]
> \
> Hit [Enter] to boot immediately, or any other key for command prompt.
> Booting [/boot/kernel/kernel]...
> Kernel entry at 0x102590 ...
> KDB: debugger backends: ddb
> KDB: current backend: ddb
> Copyright (c) 1992-2015 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.0-CURRENT #0 r292413: Fri Dec 18 04:07:25 UTC 2015
>      root@releng2.nyi.freebsd.org:/usr/obj/powerpc.powerpc64/usr/src/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 dc000080<PPC32,PPC64,ALTIVEC,FPU,MMU,VSX>
> real memory  = 1036713984 (988 MB)
> avail memory = 945573888 (901 MB)
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> cpu0: dev=3e5e0070 (BSP)
> random: entropy device external interface
> kbd0 at kbdmux0
> ofwbus0: <Open Firmware Device Tree> on nexus0
> xicp0: <PAPR virtual interrupt controller> on ofwbus0
> cpulist0: <Open Firmware CPU Group> on ofwbus0
> cpu0: <Open Firmware CPU> on cpulist0
> cpu1: <Open Firmware CPU> on cpulist0
> pcib0: <RTAS Host-PCI bridge> on ofwbus0
> pci0: <POWER Hypervisor PCI bus> on pcib0
> pci0: <old> at device 3.0 (no driver attached)
> ohci0: <Apple KeyLargo/Intrepid USB controller> mem 0xc0000000-0xc00000ff irq 4100 at device 2.0 on pci0
> usbus0 on ohci0
> re0: <RealTek 8139C+ 10/100BaseTX> port 0x100-0x1ff mem 0xc0000100-0xc00001ff irq 4099 at device 1.0 on pci0
> re0: Chip rev. 0x74800000
> re0: MAC rev. 0x00000000
> miibus0: <MII bus> on re0
> rlphy0: <RealTek internal media interface> PHY 0 on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
> re0: Using defaults for TSO: 65518/35/2048
> re0: Ethernet address: 52:54:00:b7:48:dc
> rtas0: <Run-Time Abstraction Services> on ofwbus0
> vdevice0: <POWER Hypervisor Virtual Device Root> on ofwbus0
> vscsi0: <POWER Hypervisor Virtual SCSI Bus> irq 16781319 on vdevice0
> vscsi0: Queue depth 22 commands
> uart0: <POWER Hypervisor Virtual Serial Port> irq 16781320 on vdevice0
> Timecounter "timebase" frequency 512000000 Hz quality 0
> Event timer "decrementer" frequency 512000000 Hz quality 1000
> Timecounters tick every 1.000 msec
> usbus0: 12Mbps Full Speed USB v1.0
> cd0 at vscsi0 bus 0 scbus0 target 0 lun 1
> cugen0.1: <Apple> at usbus0
> uhub0: <Apple OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
> d0: <QEMU QEMU CD-ROM 2.3.> Removable CD-ROM SPC-3 SCSI device
> cd0: 150.000MB/s transfers
> cd0: 643MB (329505 2048 byte sectors)
> da0 at vscsi0 bus 0 scbus0 target 0 lun 0
> da0: <QEMU QEMU HARDDISK 2.3.> Fixed Direct Access SPC-3 SCSI device
> da0: 150.000MB/s transfers
> da0: 20480MB (41943040 512 byte sectors)
> SMP: AP CPU #8 launched
> WARNING: WITNESS option enabled, expect reduced performance.
> Trying to mount root from cd9660:/dev/iso9660/11_0_CURRENT_POWERPC64_CD [ro]...
> lock order reversal:
>   1st 0xc000000000055e40 bufwait (bufwait) @ /usr/src/sys/vm/vm_pager.c:380
>   2nd 0x47139a0 isofs (isofs) @ /usr/src/sys/kern/imgact_elf.c:877
> stack backtrace:
> #0 0x5c5f10 at ??+0
> #1 0x529784 at ??+0
> #2 0x617264 at ??+0
> #3 0x8a968c at ??+0
> #4 0x63e3c8 at ??+0
> #5 0x4df950 at ??+0
> #6 0x50b810 at ??+0
> #7 0x50c900 at ??+0
> #8 0x4e499c at ??+0
> #9 0x510be4 at ??+0
> #10 0x88c650 at ??+0
> #11 0x88c524 at ??+0
> userret: returning with the following locks held:
> exclusive lockmgr bufwait (bufwait) r = 0 (0xc0000000000557b0) locked @ /usr/src/sys/vm/vm_pager.c:380
> exclusive lockmgr bufwait (bufwait) r = 0 (0xc0000000000559e0) locked @ /usr/src/sys/vm/vm_pager.c:380
> exclusive lockmgr bufwait (bufwait) r =uhub0: 3 ports with 3 removable, self powered
>   0 (0xc000000000055c10) locked @ /usr/src/sys/vm/vm_pager.c:380
> exclusive lockmgr bufwait (bufwait) r = 0 (0xc000000000055e40) locked @ /usr/src/sys/vm/vm_pager.c:380
> timeout stopping cpus
> panic: witness_warn
> cpuid = 0
> KDB: stack backtrace:
> 0xc00000002458b110: at .kdb_backtrace+0x5c
> 0xc00000002458b240: at .vpanic+0x190
> 0xc00000002458b300: at .kassert_panic+0x8c
> 0xc00000002458b3a0: at .witness_warn+0x25c
> 0xc00000002458b470: at .userret+0xe8
> 0xc00000002458b500: at .trap+0xe70
> 0xc00000002458b770: at .powerpc_interrupt+0x1e0
> 0xc00000002458b810: user DSI read trap @ 0x1011c810 by 0x100001f0: srr1=0x800000000000d032
>              r1=0xffffffffffffddb0 cr=0 xer=0 ctr=0 r2=0x10124810 sr=0x40000000
> KDB: enter: panic
> [ thread pid 1 tid 100002 ]
> Stopped at      .kdb_enter+0x60:        ld      r2, r1, 0x28,
> db>
>
> Where am I wrong?
>
> Thanks to everybody,
>
> Luciano.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56796CC0.8050103>