Skip to contentSkip to conversation

FC4 SMP domU ?

DISCUSSION Ted Kaczmarek 3 participants 5 messages Sep 29, 2005

lore
Share & tools
lore
#0 lore raw

Is anyone running FC4 SMP domU's?

I don't recall if I tested this before and yesetrday I noticed that I can only bring up FC4 domU's as UP even though vcpus = 2.

xm list and /proc/cpuinfo are in agreement :-)

My other guests centos 4.1, debian 3.1, gentoo-2005 and slackware 10.2 all work as SMP.

Tried user list with no response so far.

Regards,
Ted

#1 lore raw
Quoted 1 line · Ted Kaczmarek

Is anyone running FC4 SMP domU's?

do you have CONFIG_SMP turned on in your domU kernel config?

Signature · 5 lines
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
[email protected]
#2 lore raw
Quoted 5 lines · Ryan Harper
Quoted 1 line · Ted Kaczmarek

Is anyone running FC4 SMP domU's?

do you have CONFIG_SMP turned on in your domU kernel config?

grep SMP config-2.6.12-xenU
CONFIG_SMP=y
# CONFIG_SMP_ALTERNATIVES is not set
CONFIG_X86_SMP=y

The same domU kernel is being used for all guests, only the FC4 guests are having an issue.

Regards,
Ted

#3 lore raw
In reply to Ted Kaczmarek
Quoted 2 lines · Ted Kaczmarek

Is anyone running FC4 SMP domU's?

I am. I have an FC4 SOM domU that's currently running with vcpus = 2. Top shows Cpu0 and Cpu1.
Testing with Changeset 7124.

Quoted 19 lines

I don't recall if I tested this before and yesetrday I noticed that I can only bring up FC4 domU's as UP even though vcpus = 2.

xm list and /proc/cpuinfo are in agreement :-)

My other guests centos 4.1, debian 3.1, gentoo-2005 and slackware 10.2 all work as SMP.

Tried user list with no response so far.

Regards,
Ted

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 8 lines
Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                        Euripides
#4 lore raw
Quoted 6 lines · David F Barrera
Quoted 2 lines · Ted Kaczmarek

Is anyone running FC4 SMP domU's?

I am. I have an FC4 SOM domU that's currently running with vcpus = 2. Top shows Cpu0 and Cpu1.
Testing with Changeset 7124.

changeset:   7121:f069a06e650f
tag:         tip
user:        [email protected]
date:        Wed Sep 28 17:18:30 2005 +0100
summary:     Fix fixed-point long multiplication used in time delta

Ok, I found a log file I had showing that I did indeed have SMP working on a FC4 domU, wish I stuffed changeset info in it :-(

I tool the cpu = designation out of the config for kicks, no change.

I attached the xend log of one of the domU's in question. Nothing jumps out at me here.

Is their anything in the image itself that could cause such an issue? With my limited knowledge I would think not.

Seeing this with recent changesets.

All the domU's should be smp listed below.

[root@inyoureyes ~]# xm list

Name              Id  Mem(MB)  CPU VCPU(s)  State  Time(s)
Domain-0           0      129    -      2   r-----   2226.9
debian            47       84    -      2   -b----     20.3
gentoo            44       91    -      2   -b----    146.7
gentoo-1          29       91    -      2   -b----    130.2
inyoureyes-domain1  45      638    -      2   r-----    946.3
inyoureyes-domain2  33       95    0      1   -b----    202.8
inyoureyes-domain3  48       95    1      1   -b----     19.2
inyoureyes-domain4  31      787    -      2   ------   2447.8

Looks like some newer changsets are in, will give that a whirtl.

But being as no one else is seeing this I am a tad perplexed to say the least.

The irony of this is the domU is FC4 :-)

Regards,
Ted

[2005-09-29 15:33:55 xend] DEBUG (XendDomainInfo:164) XendDomainInfo.create(...)
[2005-09-29 15:33:55 xend] DEBUG (XendDomainInfo:250) parseConfig: config is ['vm', ['name', 'inyoureyes-domain3'], ['memory', '96'], ['ssidref', '0'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['ip', 'off:1.2.3.4::::eth0:off'], ['root', '/dev/sda1'], ['args', 'ro selinux=0 3'], ['vcpus', '2'], ['vcpus', '2'], ['boot', 'c'], ['display', 'localhost:14.0']]], ['device', ['vbd', ['uname', 'phy:hda3'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:sdc11'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['mac', 'AA:BB:BB:33:33:33']]]]
[2005-09-29 15:33:55 xend] DEBUG (XendDomainInfo:285) parseConfig: result is {'ssidref': 0, 'name': 'inyoureyes-domain3', 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['ip', 'off:1.2.3.4::::eth0:off'], ['root', '/dev/sda1'], ['args', 'ro selinux=0 3'], ['vcpus', '2'], ['vcpus', '2'], ['boot', 'c'], ['display', 'localhost:14.0']], 'memory': 96, 'maxmem_kb': None, 'backend': [], 'vcpus': 2, 'cpu_weight': None, 'mem_kb': None, 'device': [('vbd', ['vbd', ['uname', 'phy:hda3'], ['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'phy:sdc11'], ['dev', 'sda2'], ['mode', 'w']]), ('vif', ['vif', ['mac', 'AA:BB:BB:33:33:33']])], 'restart_mode': None, 'bootloader': None, 'cpu': None, 'maxmem': None} [2005-09-29 15:33:55 xend] DEBUG (XendDomainInfo:875) XendDomainInfo.construct: None 0
[2005-09-29 15:33:55 xend] DEBUG (XendDomainInfo:901) XendDomainInfo.initDomain: 48 98304 1.0
[2005-09-29 15:33:55 xend] DEBUG (XendDomainInfo:926) init_domain> Created domain=48 name=inyoureyes-domain3 memory=98304
[2005-09-29 15:33:55 xend] INFO (image:134) buildDomain os=linux dom=48 vcpus=2

[2005-09-29 15:33:55 xend] DEBUG (image:179) dom            = 48
[2005-09-29 15:33:55 xend] DEBUG (image:180) image          = /boot/vmlinuz-2.6.12-xenU
[2005-09-29 15:33:55 xend] DEBUG (image:181) store_evtchn   = 1
[2005-09-29 15:33:55 xend] DEBUG (image:182) console_evtchn = 2
[2005-09-29 15:33:55 xend] DEBUG (image:183) cmdline        =  ip=off:1.2.3.4::::eth0:off root=/dev/sda1 ro selinux=0 3
[2005-09-29 15:33:55 xend] DEBUG (image:184) ramdisk        =
[2005-09-29 15:33:55 xend] DEBUG (image:185) flags          = 0
[2005-09-29 15:33:55 xend] DEBUG (image:186) vcpus          = 2

[2005-09-29 15:33:55 xend] DEBUG (XendDomainInfo:501) Storing {'memory_KiB': '98304', 'name': 'inyoureyes-domain3', 'start_time': '1128022435.05', 'maxmem_KiB': '98304', 'memory/target': '98304', 'domid': '48', 'vcpus': '2', 'xend/restart_mode': 'onreboot', 'cpu_weight': '1.0', 'device': "[('vbd', ['vbd', ['uname', 'phy:hda3'], ['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'phy:sdc11'], ['dev', 'sda2'], ['mode', 'w']]), ('vif', ['vif', ['mac', 'AA:BB:BB:33:33:33']])]", 'restart_mode': 'onreboot', 'cpumap': '[1]', 'image': "(linux (kernel /boot/vmlinuz-2.6.12-xenU) (ip off:1.2.3.4::::eth0:off) (root /dev/sda1) (args 'ro selinux=0 3') (vcpus 2) (vcpus 2) (boot c) (display localhost:14.0))", 'uuid': '06eca7c5-1e3a-40ee-b242-b3b85a312687'} [2005-09-29 15:33:55 xend] DEBUG (DevController:189) DevController: writing {'virtual-device': '2049', 'backend-id': '0', 'backend': '/domain/9adc52f3-3cd8-4407-a91a-423e0e174e76/backend/vbd/06eca7c5-1e3a-40ee-b242-b3b85a312687/2049'} to /domain/06eca7c5-1e3a-40ee-b242-b3b85a312687/device/vbd/2049.
[2005-09-29 15:33:55 xend] DEBUG (DevController:191) DevController: writing {'params': 'hda3', 'domain': 'inyoureyes-domain3', 'type': 'phy', 'frontend': '/domain/06eca7c5-1e3a-40ee-b242-b3b85a312687/device/vbd/2049', 'frontend-id': '48'} to /domain/9adc52f3-3cd8-4407-a91a-423e0e174e76/backend/vbd/06eca7c5-1e3a-40ee-b242-b3b85a312687/2049.
[2005-09-29 15:33:55 xend] DEBUG (DevController:189) DevController: writing {'virtual-device': '2050', 'backend-id': '0', 'backend': '/domain/9adc52f3-3cd8-4407-a91a-423e0e174e76/backend/vbd/06eca7c5-1e3a-40ee-b242-b3b85a312687/2050'} to /domain/06eca7c5-1e3a-40ee-b242-b3b85a312687/device/vbd/2050.
[2005-09-29 15:33:55 xend] DEBUG (DevController:191) DevController: writing {'params': 'sdc11', 'domain': 'inyoureyes-domain3', 'type': 'phy', 'frontend': '/domain/06eca7c5-1e3a-40ee-b242-b3b85a312687/device/vbd/2050', 'frontend-id': '48'} to /domain/9adc52f3-3cd8-4407-a91a-423e0e174e76/backend/vbd/06eca7c5-1e3a-40ee-b242-b3b85a312687/2050.
[2005-09-29 15:33:55 xend] DEBUG (DevController:189) DevController: writing {'backend-id': '0', 'mac': 'AA:BB:BB:33:33:33', 'handle': '1', 'backend': '/domain/9adc52f3-3cd8-4407-a91a-423e0e174e76/backend/vif/06eca7c5-1e3a-40ee-b242-b3b85a312687/1'} to /domain/06eca7c5-1e3a-40ee-b242-b3b85a312687/device/vif/1.
[2005-09-29 15:33:55 xend] DEBUG (DevController:191) DevController: writing {'bridge': 'xen-br0', 'mac': 'AA:BB:BB:33:33:33', 'handle': '1', 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '48', 'domain': 'inyoureyes-domain3', 'frontend': '/domain/06eca7c5-1e3a-40ee-b242-b3b85a312687/device/vif/1'} to /domain/9adc52f3-3cd8-4407-a91a-423e0e174e76/backend/vif/06eca7c5-1e3a-40ee-b242-b3b85a312687/1.
[2005-09-29 15:33:55 xend] DEBUG (XendDomainInfo:501) Storing {'memory_KiB': '98304', 'name': 'inyoureyes-domain3', 'start_time': '1128022435.05', 'maxmem_KiB': '98304', 'memory/target': '98304', 'domid': '48', 'vcpus': '2', 'xend/restart_mode': 'onreboot', 'cpu_weight': '1.0', 'device': "[('vbd', ['vbd', ['uname', 'phy:hda3'], ['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'phy:sdc11'], ['dev', 'sda2'], ['mode', 'w']]), ('vif', ['vif', ['mac', 'AA:BB:BB:33:33:33']])]", 'restart_mode': 'onreboot', 'cpumap': '[1]', 'image': "(linux (kernel /boot/vmlinuz-2.6.12-xenU) (ip off:1.2.3.4::::eth0:off) (root /dev/sda1) (args 'ro selinux=0 3') (vcpus 2) (vcpus 2) (boot c) (display localhost:14.0))", 'uuid': '06eca7c5-1e3a-40ee-b242-b3b85a312687'} [2005-09-29 15:33:55 xend] DEBUG (XendDomainInfo:501) Storing {'memory_KiB': '98304', 'name': 'inyoureyes-domain3', 'start_time': '1128022435.05', 'maxmem_KiB': '98304', 'memory/target': '98304', 'domid': '48', 'vcpus': '2', 'xend/restart_mode': 'onreboot', 'cpu_weight': '1.0', 'device': "[('vbd', ['vbd', ['uname', 'phy:hda3'], ['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'phy:sdc11'], ['dev', 'sda2'], ['mode', 'w']]), ('vif', ['vif', ['mac', 'AA:BB:BB:33:33:33']])]", 'restart_mode': 'onreboot', 'cpumap': '[1]', 'image': "(linux (kernel /boot/vmlinuz-2.6.12-xenU) (ip off:1.2.3.4::::eth0:off) (root /dev/sda1) (args 'ro selinux=0 3') (vcpus 2) (vcpus 2) (boot c) (display localhost:14.0))", 'uuid': '06eca7c5-1e3a-40ee-b242-b3b85a312687'} [2005-09-29 15:33:55 xend] INFO (XendRoot:141) EVENT> xend.domain.create ['inyoureyes-domain3', 48]
[2005-09-29 15:33:55 xend] INFO (XendRoot:141) EVENT> xend.domain.unpause ['inyoureyes-domain3', 48]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel