Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: please try out -current
On 8/13/11 1:44 PM, Cherry G. Mathew wrote:
"Cherry" == Cherry G Mathew<cherry%zyx.in@localhost> writes:
As a follow on to this, if you could try this patch:
ftp://ftp.netbsd.org/pub/NetBSD/misc/cherry/tmp/port-xen/breakout1/xen-pae-mp-pmap.diff
over my last commit on -current:
http://mail-index.netbsd.org/source-changes/2011/08/13/msg025813.html
Probably best to do this via:
$ cvs update -D "Sat, 13 Aug 2011 20:24:20 +0000"
and then apply the patch.
That should get you MP on XEN3PAE_DOM0 and DOMU
(the domU kernel needs "options MULTIPROCESSOR" added in order to enable MP)
I'd be keen to know how that goes.
I've successfully booted a XEN3PAE_DOMU kernel (i386), and it comes up.
There are some issues; I've attached dmesg to the end of this email,
too. One CPU 100% idle, the other three 0% idle, as shown by top(1).
specifically what you get via:
# cpuctl list
# cpuctl list
Num HwId Unbound LWPs Interrupts Last change #Intr
---- ---- ------------ ---------- ------------------------ -----
0 0 online intr Sat Aug 13 14:25:45 2011 0
cpuctl: IOC_CPU_MAPID: No such process
and
# vmstat -e
# vmstat -e
event total rate type
vmcmd kills 239 1 misc
vmcmd calls 861 3 misc
cpu0 runqueue push 40 0 misc
cpu0 runqueue stay 3385 14 misc
cpu0 runqueue localize 303 1 misc
softint net/0 1 0 misc
softint bio/0 1198 5 misc
softint clk/0 3206 14 misc
softint ser/0 1 0 misc
crosscall unicast 2 0 misc
namecache entries collected 28 0 misc
namecache under scan target 229 1 misc
vcpu0 xencons 228 0 intr
vcpu0 clock 23633 103 intr
vcpu0 xenbus 406 1 intr
vcpu0 xbd0 1212 5 intr
vcpu0 xbd1 4 0 intr
vcpu0 xbd2 4 0 intr
A top(1) snapshot would be good too.
load averages: 0.00, 0.00, 0.00; up 0+00:04:38
14:29:53
11 processes: 1 runnable, 9 sleeping, 1 on CPU
CPU0 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt,
100% idle
CPU1 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt,
0.0% idle
CPU2 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt,
0.0% idle
CPU3 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt,
0.0% idle
Memory: 13M Act, 6808K Wired, 3808K Exec, 7004K File, 474M Free
Swap: 512M Total, 512M Free
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
366 root 43 0 3244K 1332K CPU/0 0:00 0.00% 0.00% top
0 root 127 0 0K 12M RUN/3 0:00 0.00% 0.00% [system]
344 root 85 0 6340K 2484K wait/0 0:00 0.00% 0.00% login
151 root 85 0 5156K 1592K kqueue/0 0:00 0.00% 0.00% syslogd
350 root 85 0 3176K 1384K wait/0 0:00 0.00% 0.00% sh
330 root 85 0 3212K 1104K nanosl/0 0:00 0.00% 0.00% getty
351 root 85 0 3212K 1104K nanosl/0 0:00 0.00% 0.00% getty
341 root 85 0 3212K 1104K nanosl/0 0:00 0.00% 0.00% getty
331 root 85 0 3156K 1100K nanosl/0 0:00 0.00% 0.00% cron
1 root 85 0 3084K 1076K wait/0 0:00 0.00% 0.00% init
316 root 85 0 3132K 996K kqueue/0 0:00 0.00% 0.00% inetd
Thanks again for your work on this. Great progress!
+j
# dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011
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 5.99.55 (XEN3PAE_DOMU) #5: Sat Aug 13 14:25:33 PDT 2011
riz%hack.lan@localhost:/Users/riz/Documents/code/netbsd/obj.i386/sys/arch/i386/compile/XEN3PAE_DOMU
total memory = 512 MB
avail memory = 497 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
hypervisor0 at mainbus0: Xen version 3.3
vcpu0 at hypervisor0: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, id 0x206a7
vcpu1 at hypervisor0: context initialisation failed. errno = -22
vcpu2 at hypervisor0: context initialisation failed. errno = -22
vcpu3 at hypervisor0: context initialisation failed. errno = -22
debug virtual interrupt using event channel 4
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
xencons0: console major 143, unit 0
xencons0: using event channel 2
npx0 at hypervisor0: using exception 16
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Xen clock: using event channel 5
timecounter: Timecounter "xen_system_time" frequency 1000000000 Hz
quality 10000
xenbus0: using event channel 1
pmap_kenter_pa: mapping already present
pmap_kenter_pa: mapping already present
pmap_kenter_pa: mapping already present
pmap_kenter_pa: mapping already present
xbd0 at xenbus0 id 1: Xen Virtual Block Device Interface
xbd0: using event channel 6
xbd1 at xenbus0 id 6: Xen Virtual Block Device Interface
xbd1: using event channel 7
xbd2 at xenbus0 id 8: Xen Virtual Block Device Interface
xbd2: using event channel 8
xennet0 at xenbus0 id 0: Xen Virtual Network Interface
xennet0: MAC address 02:02:02:69:01:02
xennet0: using event channel 9
balloon0 at xenbus0 id 0: Xen Balloon driver
balloon0: current reservation: 524288 KiB
xbd0: 5120 MB, 512 bytes/sect x 10485760 sectors
xbd1: 5120 MB, 512 bytes/sect x 10485760 sectors
xbd2: 5120 MB, 512 bytes/sect x 10485760 sectors
Kernelized RAIDframe activated
xennet0: using RX copy mode
balloon0: current reservation: 131072 pages => target: 131072 pages
boot device: xbd0
root on xbd0a dumps on xbd0b
mountroot: trying smbfs...
mountroot: trying ntfs...
mountroot: trying nilfs...
mountroot: trying nfs...
mountroot: trying msdos...
mountroot: trying lfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
pmap_kenter_pa: mapping already present
Home |
Main Index |
Thread Index |
Old Index