Subject: Re: Xen3 problems
To: NetBSD/xen <port-xen@NetBSD.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: port-xen
Date: 04/24/2007 08:44:55
Sarton O'Brien wrote:

> The only time I've seen anything like that when I am sure everything is set up 
> correctly is when I missed the grub screen and it booted to generic, though, 
> I can't remember what processes can and can't start when not booting 
> hypervisor/dom0.

ROOT xen3:~> uname -a
NetBSD xen3.xxx.xxx 4.0_BETA2 NetBSD 4.0_BETA2 (XEN3_DOM0) #2: Mon Apr 23 
08:55:09 EEST 2007  root@xen3.xxx.xxx:/usr/src/sys/arch/i386/compile/XEN3_DOM0 i386

ROOT xen3:~> dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
     The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

NetBSD 4.0_BETA2 (XEN3_DOM0) #2: Mon Apr 23 08:55:09 EEST 2007
         root@xen3.nomadiclab.com:/usr/src/sys/arch/i386/compile/XEN3_DOM0
total memory = 256 MB
avail memory = 240 MB
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
mainbus0: scanning 0x9fc00 to 0x9fff0 for MP signature
mainbus0: scanning 0x9f800 to 0x9fbf0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
mainbus0: MP floating pointer found in bios at 0xfe710
mainbus0: MP config table at 0xf0000, 460 bytes long
cpu0 at mainbus0: apid 0 (boot processor)
cpu1 at mainbus0: apid 1 (application processor)
cpu2 at mainbus0: apid 2 (application processor)
cpu3 at mainbus0: apid 3 (application processor)
ioapic0 at mainbus0 apid 4 (I/O APIC)
ioapic0: pa 0xfec00000, virtual wire mode, version 20, 24 pins
ioapic0: misconfigured as apic 0
ioapic0: can't remap to apid 4
ioapic0: enabling
hypervisor0 at mainbus0
vcpu0 at hypervisor0: (uniprocessor)
vcpu0: Intel Pentium Pro, II or III (686-class), 2133.41 MHz, id 0x6f7
vcpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
vcpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
vcpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
debug virtual interrupt using event channel 1
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver

> Just out of curiosity, does 'xm dmesg' function?

ROOT xen3:~> xm dmesg
Error: Unable to connect to xend: No such file or directory. Is xend running?

I was running xenkernel 3.0.4 (I modified pkgsrc to get the latest kernel) but 
I'm getting all these errors even with xenkernel30-3.0.3 (Is there any reason 
for not having 3.0.4 in pkgsrc?)

Martti