ch huang
2009-Oct-14 00:10 UTC
[Xen-users] when i install the xen domain-U use full virtual mode, i get an error,but when i add option -p it''s ok,why?
hi,all
i also checked ,my cpu is support the full virtual mode ,when i add -p
option ,it''s ok.i do not know why?
virt-install -n SN244_Test_Test44 -r 8192 --vcpus=16 -f /dev/vg01/44root -f
/dev/vg01/44swap -f /dev/vg01/44var -f /dev/vg01/44data -m 00:16:3e:61:63:63
-b xenbr0 --nographics --accelerate --os-type=linux -l
http://172.16.2.45/64/5.3 -x
"kshttp://172.16.1.111/myinstall/new/newd1.ks.cfg"
Would you like a fully virtualized guest (yes or no)? This will allow you
to run unmodified operating systems. yes
Starting install...
Retrieving file
.treeinfo...
| 417 B 00:00
Retrieving file
.treeinfo...
| 417 B 00:00
Retrieving file
.treeinfo...
| 417 B 00:00
Retrieving file
.treeinfo...
| 417 B 00:00
Retrieving file
.treeinfo...
| 417 B 00:00
Retrieving file
.treeinfo...
| 417 B 00:00
Retrieving file
boot.iso...
| 8.7 MB 00:00
virDomainCreateLinux() failed POST operation failed: (xend.err ''Error
creating domain: Unable to find number for device (None)'')
Domain installation may not have been
successful. If it was, you can restart your domain
by running ''virsh start SN244_Test_Test44''; otherwise, please
restart your installation.
Wed, 14 Oct 2009 07:54:25 ERROR virDomainCreateLinux() failed POST
operation failed: (xend.err ''Error creating domain: Unable to find
number
for device (None)'')
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 560, in ?
main()
File "/usr/sbin/virt-install", line 492, in main
dom = guest.start_install(conscb, progresscb, wait=(not wait))
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 822,
in
start_install
return self._do_install(consolecb, meter, wait)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 843,
in
_do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 573, in
createLinux
if ret is None:raise libvirtError(''virDomainCreateLinux()
failed'',
conn=self)
libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err
''Error creating domain: Unable to find number for device
(None)'')
the following info produced by para-vitual install
Bootdata ok (command line is kshttp://172.16.1.111/myinstall/new/newd1.ks.cfg
methodhttp://172.16.2.45/64/5.3)
Linux version 2.6.18-128.el5xen (mockbuild@builder10.centos.org) (gcc
version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Wed Jan 21 11:12:42 EST
2009
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000200800000 (usable)
No mptable found.
Built 1 zonelists. Total pages: 2099200
Kernel command line:
ks=http://172.16.1.111/myinstall/new/newd1.ks.cfgmethodhttp://172.16.2.45/64/5.3
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2261.000 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Software IO TLB disabled
Memory: 8201332k/8396800k available (2447k kernel code, 186632k reserved,
1366k data, 180k init)
Calibrating delay using timer specific routine.. 5654.29 BogoMIPS
(lpj=11308594)
Security Framework v1.0.0 initialized
SELinux: Initializing.
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 256K
CPU: L3 cache: 8192K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
(SMP-)alternatives turned off
Brought up 1 CPUs
checking if image is initramfs... it is
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 10A17A0 could not
acquire Mutex [2] [20060707]
No dock devices found.
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 10A17A0 could not
acquire Mutex [2] [20060707]
Initializing CPU#1
migration_cost=52
migration_cost=Initializing CPU#2
52
Initializing CPU#3
migration_cost=52
migration_cost=Initializing CPU#4
52
Initializing CPU#5
migration_cost=52
Initializing CPU#6
migration_cost=52
Initializing CPU#7
migration_cost=52
Initializing CPU#8
migration_cost=52
Initializing CPU#9
migration_cost=52
Initializing CPU#10
migration_cost=52
Initializing CPU#11
migration_cost=52
Initializing CPU#12
migration_cost=52
Initializing CPU#13
migration_cost=52
Initializing CPU#14
migration_cost=52
Initializing CPU#15
migration_cost=52
Brought up 16 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 524288 (order: 10, 4194304 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
type=2000 audit(1255478305.226:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
alg: No test for crc32c (crc32c-generic)
ksign: Installing public key data
Loading keyring
- Added public key 75ED35FE9471DC0E
- User ID: CentOS (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
Xen virtual console successfully installed as xvc0
Bootdata ok (command line is kshttp://172.16.1.111/myinstall/new/newd1.ks.cfg
methodhttp://172.16.2.45/64/5.3)
Linux version 2.6.18-128.el5xen (mockbuild@builder10.centos.org) (gcc
version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Wed Jan 21 11:12:42 EST
2009
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000200800000 (usable)
No mptable found.
Built 1 zonelists. Total pages: 2099200
Kernel command line:
ks=http://172.16.1.111/myinstall/new/newd1.ks.cfgmethodhttp://172.16.2.45/64/5.3
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2261.000 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Software IO TLB disabled
Memory: 8201332k/8396800k available (2447k kernel code, 186632k reserved,
1366k data, 180k init)
Calibrating delay using timer specific routine.. 5654.29 BogoMIPS
(lpj=11308594)
Security Framework v1.0.0 initialized
SELinux: Initializing.
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 256K
CPU: L3 cache: 8192K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
(SMP-)alternatives turned off
Brought up 1 CPUs
checking if image is initramfs... it is
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 10A17A0 could not
acquire Mutex [2] [20060707]
No dock devices found.
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 10A17A0 could not
acquire Mutex [2] [20060707]
Initializing CPU#1
migration_cost=52
migration_cost=Initializing CPU#2
52
Initializing CPU#3
migration_cost=52
migration_cost=Initializing CPU#4
52
Initializing CPU#5
migration_cost=52
Initializing CPU#6
migration_cost=52
Initializing CPU#7
migration_cost=52
Initializing CPU#8
migration_cost=52
Initializing CPU#9
migration_cost=52
Initializing CPU#10
migration_cost=52
Initializing CPU#11
migration_cost=52
Initializing CPU#12
migration_cost=52
Initializing CPU#13
migration_cost=52
Initializing CPU#14
migration_cost=52
Initializing CPU#15
migration_cost=52
Brought up 16 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 524288 (order: 10, 4194304 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
type=2000 audit(1255478305.226:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
alg: No test for crc32c (crc32c-generic)
ksign: Installing public key data
Loading keyring
- Added public key 75ED35FE9471DC0E
- User ID: CentOS (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
Xen virtual console successfully installed as xvc0
Event-channel device installed.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
Welcome to CentOS
and ,here is the log output,i think the reason is xen can not find the
/dev/None,but i do not understand when i use -p option,it''s ok?
(''vbd'', [''vbd'', [''dev'',
''None:disk''], [''uname'',
''phy:/dev/vg01/44data'']
[2009-10-14 07:54:23 xend 3468] DEBUG (blkif:27) exception looking up device
number for None: [Errno 2] No such file or directory:
''/dev/None''
Traceback (most recent call last):
File
"/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
205, in create
vm.initDomain()
File
"/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1541, in initDomain
self.createDevices()
File
"/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1750, in createDevices
self.createDevice(n, c)
File
"/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1202, in createDevice
return self.getDeviceController(deviceClass).createDevice(devconfig)
File
"/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py",
line
80, in createDevice
(devid, back, front) = self.getDeviceDetails(config)
File "/usr/lib64/python2.4/site-packages/xen/xend/server/blkif.py",
line
90, in getDeviceDetails
raise VmError(''Unable to find number for device (%s)'' %
(dev))
VmError: Unable to find number for device (None)
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users