My system is RHEL5u1 server x86_64, and I use this command install a
RHEL5U1 server i386 in Xen kernel:
virt-install -n rhel5u1_srv_32 -r 256 -s 6 --vcpus=1 -f
/xen/rhel5u1_srv_32 --nographics -p -d -l
"http://192.168.20.2/linux/rhel5u1_srv_32/"
The 32 bit system cannot install into the xen of 64 bit system?
The output is :
Starting install...
Wed, 09 Jan 2008 18:48:50 DEBUG Fetching URI
http://192.168.20.2/linux/rhel5u1_srv_32//Fedora
Wed, 09 Jan 2008 18:48:50 DEBUG Cannot find file Fedora
Wed, 09 Jan 2008 18:48:50 DEBUG Fetching URI
http://192.168.20.2/linux/rhel5u1_srv_32//Server
Wed, 09 Jan 2008 18:48:50 DEBUG Saved file to
/var/lib/xen/virtinst-Server.ORBZyt
Retrieving Server... 494 kB 00:00
Wed, 09 Jan 2008 18:48:50 DEBUG Detected a RHEL 5 Server distro
Wed, 09 Jan 2008 18:48:50 DEBUG Fetching URI
http://192.168.20.2/linux/rhel5u1_srv_32//images/xen/vmlinuz
Wed, 09 Jan 2008 18:48:51 DEBUG Saved file to
/var/lib/xen/virtinst-vmlinuz.5gY32z
Retrieving vmlinuz... 100% |=========================| 2.0 MB 00:00
Wed, 09 Jan 2008 18:48:51 DEBUG Fetching URI
http://192.168.20.2/linux/rhel5u1_srv_32//images/xen/initrd.img
Retrieving initrd.img... 64% |================ | 3.2 MB
00:00 ETA Wed, 09 Jan 2008 18:48:51 DEBUG Saved file to
/var/lib/xen/virtinst-initrd.img.ZlWinW
Retrieving initrd.img... 100% |=========================| 5.0 MB 00:00
Creating storage file... 100% |=========================| 6.0 GB 00:00
Wed, 09 Jan 2008 18:48:51 DEBUG Creating guest from '<domain type='xen'>
<name>rhel5u1_srv_32</name>
<currentMemory>262144</currentMemory>
<memory>262144</memory>
<uuid>15dab9c2-f88a-b399-dd9e-5a89cd650b42</uuid>
<os>
<type>linux</type>
<kernel>/var/lib/xen/virtinst-vmlinuz.5gY32z</kernel>
<initrd>/var/lib/xen/virtinst-initrd.img.ZlWinW</initrd>
<cmdline> method=http://192.168.20.2/linux/rhel5u1_srv_32/</cmdline>
</os>
<on_poweroff>destroy</on_poweroff>
<on_reboot>destroy</on_reboot>
<on_crash>destroy</on_crash>
<vcpu>1</vcpu>
<devices>
<disk type='file' device='disk'>
<driver name='tap'/>
<source file='/xen/rhel5u1_srv_32'/>
<target dev='xvda'/>
</disk>
<interface type='bridge'>
<source bridge='xenbr0'/>
<mac address='00:16:3e:1d:00:5d'/>
</interface>
</devices>
</domain>
'
Creating domain... 0 B 00:01
Wed, 09 Jan 2008 18:48:53 DEBUG Created guest, looking to see if it
is running
Wed, 09 Jan 2008 18:48:53 DEBUG Launching console callback
Wed, 09 Jan 2008 18:48:54 DEBUG Saving XML boot config '<domain type='xen'>
<name>rhel5u1_srv_32</name>
<currentMemory>262144</currentMemory>
<memory>262144</memory>
<uuid>15dab9c2-f88a-b399-dd9e-5a89cd650b42</uuid>
<bootloader>/usr/bin/pygrub</bootloader>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<vcpu>1</vcpu>
<devices>
<disk type='file' device='disk'>
<driver name='tap'/>
<source file='/xen/rhel5u1_srv_32'/>
<target dev='xvda'/>
</disk>
<interface type='bridge'>
<source bridge='xenbr0'/>
<mac address='00:16:3e:1d:00:5d'/>
</interface>
</devices>
</domain>
'
Linux version 2.6.18-53.el5xen
(brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 20070626
(Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 17:06:12 EDT 2007
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000010800000 (usable)
0MB HIGHMEM available.
264MB LOWMEM available.
NX (Execute Disable) protection: active
ACPI in unprivileged domain disabled
Built 1 zonelists. Total pages: 67584
Kernel command line: method=http://192.168.20.2/linux/rhel5u1_srv_32/
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c0727000 soft=c0707000
PID hash table entries: 2048 (order: 11, 8192 bytes)
Xen reported: 2109.592 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Software IO TLB disabled
vmalloc area: d1000000-f4ffe000, maxmem 2d7fe000
Memory: 247808k/270336k available (2049k kernel code, 14068k reserved,
844k data, 168k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5275.61 BogoMIPS (lpj=10551220)
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: 512
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 6848k freed
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 could
not acquire Mutex [2] [20060707]
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 could
not acquire Mutex [2] [20060707]
Brought up 1 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: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1199875726.450:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key FF48355AC6B12D27
- User ID: Red Hat, Inc. (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
Linux version 2.6.18-53.el5xen
(brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 20070626
(Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 17:06:12 EDT 2007
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000010800000 (usable)
0MB HIGHMEM available.
264MB LOWMEM available.
NX (Execute Disable) protection: active
ACPI in unprivileged domain disabled
Built 1 zonelists. Total pages: 67584
Kernel command line: method=http://192.168.20.2/linux/rhel5u1_srv_32/
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c0727000 soft=c0707000
PID hash table entries: 2048 (order: 11, 8192 bytes)
Xen reported: 2109.592 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Software IO TLB disabled
vmalloc area: d1000000-f4ffe000, maxmem 2d7fe000
Memory: 247808k/270336k available (2049k kernel code, 14068k reserved,
844k data, 168k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5275.61 BogoMIPS (lpj=10551220)
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: 512
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 6848k freed
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 could
not acquire Mutex [2] [20060707]
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 could
not acquire Mutex [2] [20060707]
Brought up 1 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: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1199875726.450:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Welcome to Red Hat Enterprise Linux Server
Welcome to Red Hat Enterprise Linux Server
+------------------+ Package Installation +------------------+
| |
| Name : libgfortran-4.1.2-14.el5-i386 |
| Size : 507k |
| Summary: Fortran 95 runtime |
| |
| |
| Status: |
| |
| 100% |
| |
| Packages Bytes Time |
| Total : 862 2084M 0:22:31 |
| Completed: 107 200M 0:02:10 |
| Remaining: 755 1884M 0:20:21 |
| |
| 9%
Oops: 0002 [#1]
SMP | |
last sysfs file: /block/ram0/dev--------------------------------------+
Modules linked in: dm_emc dm_round_robin dm_multipath dm_snapshot
dm_mirror dm_zero dm_mod lock_nolock gfs2 ext3 jbd msdos raid456 xor
raid1 raid0 xenblk xennet iscsi_tcp libiscsi scsi_transport_iscsi
sr_mod sd_mod scsi_mod ide_cd cdrom ipv6 squashfs pcspkr loop nfs
nfs_acl fscache lockd sunrpc vfat fat cramfsF2> Group Details |
<F12> next screen
CPU: 0
EIP: 0061:[<c045617b>] Not tainted VLI
EFLAGS: 00010202 (2.6.18-53.el5xen #1)
EIP is at copy_page_range+0x602/0x6f4
eax: cfd8d000 ebx: 6623d045 ecx: 02ff5000 edx: c2258e40
esi: 0000638f edi: 6623d045 ebp: 80000000 esp: cfd8be7c
ds: 007b es: 007b ss: 0069
Process anaconda (pid: 387, ti=cfd8b000 task=cfd8d000 task.ti=cfd8b000)
Stack: cd91838c c07003c0 c2258e40 6623d045 80000000 cd4ad000 ca7c3000 0e0a7000
0d600000 0e0a7000 00000000 c638f000 02ff5000 00000000 c2258e88 c0700408
c1000000 cd4ae350 c4ba8350 58c7c001 00000000 2144c027 00000000 6623e067
Call Trace:
[<c041b767>] copy_process+0xb37/0x1167
[<c041bdd8>] do_fork+0x41/0x130
[<c0425146>] sigprocmask+0xcc/0xd2
[<c04031c1>] sys_clone+0x28/0x2d
[<c040534f>] syscall_call+0x7/0xb
=======================
Code: ff ff 8b 00 3b 90 84 00 00 00 74 08 81 fa 00 e1 65 c0 75 13 31
f6 8b 5c 24 7c 89 f9 89 ea e8 4d b0 fa ff 85 c0 74 09 8b 4c 24 30 <89>
69 04 89 39 83 44 24 34 08 81 44 24 7c 00 10 00 00 8b 5c 24
EIP: [<c045617b>] copy_page_range+0x602/0x6f4 SS:ESP 0069:cfd8be7c
<0>Kernel panic - not syncing: Fatal exception
Wed, 09 Jan 2008 18:58:29 DEBUG Removing
/var/lib/xen/virtinst-vmlinuz.5gY32z
Wed, 09 Jan 2008 18:58:29 DEBUG Removing
/var/lib/xen/virtinst-initrd.img.ZlWinW
Guest installation complete... restarting guest.
libvir: Xen Daemon error : POST operation failed: (xend.err "Error
creating domain: Boot loader didn't return any data!")
exception was: virDomainCreate() failed POST operation failed:
(xend.err "Error creating domain: Boot loader didn't return any
data!")
Domain installation may not have been
successful. If it was, you can restart your domain
by running 'virsh start rhel5u1_srv_32'; otherwise, please
restart your installation.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|