Running FreeBSD as a sun4v guest
Peter Jeremy
peter.jeremy at alcatel-lucent.com.au
Fri May 16 03:05:02 UTC 2008
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 at 100/channel-devices at 200/network at 0 File and args:
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 at freebsd9.cimlogic.com.au, Fri Nov 10 04:56:06 UTC 2006)
bootpath="/virtual-devices at 100/channel-devices at 200/network at 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=0x3eac08+0x68be8 syms=[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=0.0.0.0
boot.netif.hwaddr=00:14:4f:f9:f2:93
boot.netif.ip=139.188.91.178
boot.netif.netmask=255.255.255.0
boot.nfsroot.nfshandle=X0154001e00000002000a0000000ef5f5621c993f000a00000000427c12a2b37cX
boot.nfsroot.path=/in/OS_discs/CD_FreeBSD7
boot.nfsroot.server=139.188.91.249
boot_verbose=
bootfile=kernel
console=ofw
currdev=/virtual-devices at 100/channel-devices at 200/network at 0
interpret=OK
kernel=kernel
kernel_options=
kernelname=/boot/kernel/kernel
loaddev=/virtual-devices at 100/channel-devices at 200/network at 0
mac_ifoff=NO
module_path=/boot/kernel;/boot/modules
prompt=${interpret}
OK boot -v
nothing to autoload yet.
jumping to kernel entry at 0xc0050000.
tick_freq=1200000000 hz=100 tick_increment=12000000
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 at 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 = 939524096 (896 MB)
avail memory = 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: <entropy source, Software, Yarrow>
mem: <memory>
nfslock: pseudo-device
null: <null device, zero device>
openfirm: <Open Firmware control device>
nexus0: <Open Firmware Nexus device>
vnex0: <virtual nexus device> irq 17,33,34,35,36,37,38,39 on nexus0
vnex0: <flashprom> type unknown (no driver attached)
vnex0: <ncp> type unknown (no driver attached)
hvcn0: <sun4v virtual console> on vnex0
hvcn0: couldn't set up irq
device_attach: hvcn0 attach returned 2
vnex0: <network> type network (no driver attached)
vnex0: <network> type network (no driver attached)
vnex0: <network> type network (no driver attached)
vnex0: <network> type network (no driver attached)
vnex0: <disk> 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=4
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 </boot/mfsroot> 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 accurately
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)
--
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-sun4v/attachments/20080516/fb28b9c2/attachment.pgp
More information about the freebsd-sun4v
mailing list