From owner-freebsd-sun4v@FreeBSD.ORG Fri May 16 03:05:02 2008 Return-Path: Delivered-To: freebsd-sun4v@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 459C61065674 for ; Fri, 16 May 2008 03:05:02 +0000 (UTC) (envelope-from peter.jeremy@alcatel-lucent.com.au) Received: from audl951.usa.alcatel.com (audl951.usa.alcatel.com [143.209.238.161]) by mx1.freebsd.org (Postfix) with ESMTP id 0F36E8FC1B for ; Fri, 16 May 2008 03:05:01 +0000 (UTC) (envelope-from peter.jeremy@alcatel-lucent.com.au) Received: from pjdesk.au.alcatel-lucent.com (pjdesk.au.alcatel-lucent.com [139.188.112.16]) by audl951.usa.alcatel.com (ALCANET) with ESMTP id m4G2kdaD030413 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 15 May 2008 21:46:42 -0500 Received: from pjdesk.au.alcatel-lucent.com (localhost [127.0.0.1]) by pjdesk.au.alcatel-lucent.com (8.14.2/8.14.2) with ESMTP id m4G2kbl0013717 for ; Fri, 16 May 2008 12:46:37 +1000 (EST) (envelope-from peter.jeremy@alcatel-lucent.com.au) Received: (from pjeremy@localhost) by pjdesk.au.alcatel-lucent.com (8.14.2/8.14.2/Submit) id m4G2kVBU013716 for freebsd-sun4v@freebsd.org; Fri, 16 May 2008 12:46:31 +1000 (EST) (envelope-from peter.jeremy@alcatel-lucent.com.au) Date: Fri, 16 May 2008 12:46:31 +1000 From: Peter Jeremy To: freebsd-sun4v@freebsd.org Message-ID: <20080516024631.GA13677@pjdesk.au.alcatel-lucent.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) X-Scanned-By: MIMEDefang 2.51 on 143.209.238.34 Subject: Running FreeBSD as a sun4v guest X-BeenThere: freebsd-sun4v@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the sun4v List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 03:05:02 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've tried booting the sun4v snapshot in a sun4v guest and it looks like FreeBSD doesn't support either the virtual disk or virtual network. I would be interested in getting this going but the entire sun4v port seems to have stalled. I've noticed that the netboot is not very reliable but I'm need to study network traces to work out whether the fault is with the FreeBSD loader(8) or the Sun I'm using as a boot server. FWIW, the boot looks like: {0} ok boot net Sun Fire T200, No Keyboard Copyright 2008 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.28.1, 896 MB memory available, Serial #66631397. Ethernet address 0:14:4f:f8:b6:e5, Host ID: 83f8b6e5. Boot device: /virtual-devices@100/channel-devices@200/network@0 File and a= rgs: Requesting Internet Address for 0:14:4f:f9:f2:93 Consoles: Open Firmware console Booting with sun4v support. FreeBSD/sparc64 bootstrap loader, Revision 1.0 (root@freebsd9.cimlogic.com.au, Fri Nov 10 04:56:06 UTC 2006) bootpath=3D"/virtual-devices@100/channel-devices@200/network@0" boot: ethernet address: 00:14:4f:f9:f2:93 net_open: server addr: 139.188.91.249 net_open: server path: /in/OS_discs/CD_FreeBSD7 Loading /boot/defaults/loader.conf Warning: unable to open file /boot/loader.conf.local /boot/kernel/kernel data=3D0x3eac08+0x68be8 syms=3D[0x8+0x582f0+0x8+0x4a707] mfsroot...ok Hit [Enter] to boot immediately, or any other key for command prompt. Type '?' for a list of commands, 'help' for more detailed help. OK show boot.netif.gateway=3D0.0.0.0 boot.netif.hwaddr=3D00:14:4f:f9:f2:93 boot.netif.ip=3D139.188.91.178 boot.netif.netmask=3D255.255.255.0 boot.nfsroot.nfshandle=3DX0154001e00000002000a0000000ef5f5621c993f000a00000= 000427c12a2b37cX boot.nfsroot.path=3D/in/OS_discs/CD_FreeBSD7 boot.nfsroot.server=3D139.188.91.249 boot_verbose=3D bootfile=3Dkernel console=3Dofw currdev=3D/virtual-devices@100/channel-devices@200/network@0 interpret=3DOK kernel=3Dkernel kernel_options=3D kernelname=3D/boot/kernel/kernel loaddev=3D/virtual-devices@100/channel-devices@200/network@0 mac_ifoff=3DNO module_path=3D/boot/kernel;/boot/modules prompt=3D${interpret} OK boot -v nothing to autoload yet. jumping to kernel entry at 0xc0050000. tick_freq=3D1200000000 hz=3D100 tick_increment=3D12000000 cpu0: UltraSparc T1 Processor (1200.00 MHz CPU) KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2006 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 7.0-CURRENT #11: Sun Nov 12 12:40:48 EST 2006 root@freebsd9.cimlogic.com.au:/usr/obj/usr/src/sys/GENERIC /usr/src/sys/vm/vm_init.c(117): /usr/src/sys/vm/vm_init.c(119): Using 32 colors for the VM-PQ tuning (3072, 12) /usr/src/sys/vm/vm_page.c(257): /usr/src/sys/vm/vm_page.c(264): /usr/src/sys/vm/vm_page.c(267): /usr/src/sys/vm/vm_page.c(269): /usr/src/sys/vm/vm_page.c(271): /usr/src/sys/vm/vm_page.c(297): nblocks 2 /usr/src/sys/vm/vm_page.c(303): npages 108367 /usr/src/sys/vm/vm_page.c(332): clear all page structures /usr/src/sys/vm/vm_page.c(360): construct the free queues: /usr/src/sys/vm/vm_page.c(364): 0x902c000 - 0x3d2ca000 /usr/src/sys/vm/vm_page.c(364): 0x3f000000 - 0x3fc00000 /usr/src/sys/vm/vm_page.c(375): /usr/src/sys/vm/vm_page.c(377): /usr/src/sys/vm/vm_init.c(121): /usr/src/sys/vm/vm_init.c(126): /usr/src/sys/vm/vm_init.c(128): /usr/src/sys/vm/vm_init.c(130): /usr/src/sys/vm/vm_init.c(132): /usr/src/sys/vm/vm_init.c(134): /usr/src/sys/vm/vm_init.c(136): Preloaded elf kernel "/boot/kernel/kernel" at 0xc08fa000. Preloaded mfs_root "/boot/mfsroot" at 0xc08fa140. Timecounter "tick" frequency 1200000000 Hz quality 1000 real memory =3D 939524096 (896 MB) avail memory =3D 882475008 (841 MB) machine: SUNW,Sun-Fire-T200 4 cpus: UltraSparc T1 Processor (1200.00 MHz CPU) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: mem: nfslock: pseudo-device null: openfirm: nexus0: vnex0: irq 17,33,34,35,36,37,38,39 on nexus0 vnex0: type unknown (no driver attached) vnex0: type unknown (no driver attached) hvcn0: on vnex0 hvcn0: couldn't set up irq device_attach: hvcn0 attach returned 2 vnex0: type network (no driver attached) vnex0: type network (no driver attached) vnex0: type network (no driver attached) vnex0: type network (no driver attached) vnex0: type block (no driver attached) procfs registered initalizing intr_countp Timecounters tick every 10.000 msec lo0: bpf attached nfs_diskless: no interface mp_ncpus=3D4 curcpu 3 trap_trace_entry 0xc0374a00 TRAP_TRACE_ENTRIES 256 AP: #3 curcpu 2 trap_trace_entry 0xc0370a00 TRAP_TRACE_ENTRIES 256 AP: #2 curcpu 1 trap_trace_entry 0xc036ca00 TRAP_TRACE_ENTRIES 256 AP: #1 md0: Preloaded image 4194304 bytes at 0xc04f61f8 Trying to mount root from ufs:/dev/md0 warning: no time-of-day clock registered, system time will not be set accur= ately start_init: trying /sbin/init start_init: trying /sbin/oinit start_init: trying /sbin/init.bak start_init: trying /rescue/init start_init: trying /stand/sysinstall /stand/sysinstall running as init on serial console These are the predefined terminal types available to sysinstall when running stand-alone. Please choose the closest match for your particular terminal. 1 ...................... Standard ANSI terminal. 2 ...................... VT100 or compatible terminal. 3 ...................... FreeBSD system console (color). 4 ...................... FreeBSD system console (monochrome). 5 ...................... xterm terminal emulator. Your choice: (1-5) --=20 Peter Jeremy --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkgs9YcACgkQ/opHv/APuIeskgCdEPdc4qW0EAXSFexhxCrnVFPI iDMAoMOPztQ8A/nT1re3loYRW5dbV6sv =DntH -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--