From owner-freebsd-ppc@freebsd.org Tue Dec 22 15:31:18 2015 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F8F1A4F6AA for ; Tue, 22 Dec 2015 15:31:18 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1FED91948 for ; Tue, 22 Dec 2015 15:31:17 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from zeppelin.tachypleus.net ([32.210.31.157]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id tBMFVDIM005590 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 22 Dec 2015 07:31:14 -0800 Subject: Re: IBM KVM on Power 8 again - tried 11 20151217-r292413 To: Luciano Mannucci , FreeBSD PowerPC ML References: <3pPvR73fpRz1cXKx@baobab.bilink.it> From: Nathan Whitehorn Message-ID: <56796CC0.8050103@freebsd.org> Date: Tue, 22 Dec 2015 07:31:12 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <3pPvR73fpRz1cXKx@baobab.bilink.it> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVYi1DR1kGgKC2m5go1QLxjoAeYGDGgYW5HWLFy1KySdh7XmNPTQShEoglAwSZ8J6zwuBeKB/MtcMYrnk1phtAjbBUUmJXKRAXU= X-Sonic-ID: C;Wr27CMGo5RGG4v8vZz0oYQ== M;AopVCcGo5RGG4v8vZz0oYQ== X-Spam-Flag: No X-Sonic-Spam-Details: 1.6/5.0 by cerberusd X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2015 15:31:18 -0000 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 > 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: on nexus0 > xicp0: on ofwbus0 > cpulist0: on ofwbus0 > cpu0: on cpulist0 > cpu1: on cpulist0 > pcib0: on ofwbus0 > pci0: on pcib0 > pci0: at device 3.0 (no driver attached) > ohci0: mem 0xc0000000-0xc00000ff irq 4100 at device 2.0 on pci0 > usbus0 on ohci0 > re0: port 0x100-0x1ff mem 0xc0000100-0xc00001ff irq 4099 at device 1.0 on pci0 > re0: Chip rev. 0x74800000 > re0: MAC rev. 0x00000000 > miibus0: on re0 > rlphy0: 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: on ofwbus0 > vdevice0: on ofwbus0 > vscsi0: irq 16781319 on vdevice0 > vscsi0: Queue depth 22 commands > uart0: 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: at usbus0 > uhub0: on usbus0 > d0: 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: 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.