Formoso, Travis
2007-Jun-21 20:03 UTC
[Fedora-xen] Problem installing xen guest on Fedora Core 7
All, I am trying to do a guest install using virt-install on Fedora Core 7. This is a fresh install of 7. Here is what I am getting when I try to do the install: What is the name of your virtual machine? www How much RAM should be allocated (in megabytes)? 256 What would you like to use as the disk (path)? /xen/www How large would you like the disk (/xen/www) to be (in gigabytes)? 40 Would you like to enable graphics support? (yes or no) no What is the install location? nfs:172.20.1.138:/data/network-install/RPM Starting install... libvir: Xen Daemon error : GET operation failed: libvir: Xen Daemon error : GET operation failed: Creating storage file... 100% |=========================| 40 GB 00:00 Creating domain... 0 B 00:00 Linux version 2.6.20-2925.9.fc7xen (kojibuilder@xenbuilder4.fedora.phx.redhat.com) (gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)) #1 SMP Tue May 22 08:53:03 EDT 2007 BIOS-provided physical RAM map: sanitize start sanitize bail 0 copy_e820_map() start: 0000000000000000 size: 0000000010800000 end: 0000000010800000 type: 1 Xen: 0000000000000000 - 0000000010800000 (usable) 0MB HIGHMEM available. 264MB LOWMEM available. Using x86 segment limits to approximate NX protection Zone PFN ranges: DMA 0 -> 67584 Normal 67584 -> 67584 HighMem 67584 -> 67584 early_node_map[1] active PFN ranges 0: 0 -> 67584 ACPI in unprivileged domain disabled Built 1 zonelists. Total pages: 67056 Kernel command line: method=nfs:172.20.1.138:/data/network-install/RPM Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 CPU 0 irqstacks, hard=c135f000 soft=c133f000 PID hash table entries: 2048 (order: 11, 8192 bytes) Xen reported: 2800.092 MHz processor. Console: colour dummy device 80x25 Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar ... MAX_LOCKDEP_SUBCLASSES: 8 ... MAX_LOCK_DEPTH: 30 ... MAX_LOCKDEP_KEYS: 2048 ... CLASSHASH_SIZE: 1024 ... MAX_LOCKDEP_ENTRIES: 8192 ... MAX_LOCKDEP_CHAINS: 16384 ... CHAINHASH_SIZE: 8192 memory used by lock dependency info: 1064 kB per task-struct memory footprint: 1200 bytes 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: 245120k/270336k available (2030k kernel code, 16724k reserved, 1079k data, 180k init, 0k highmem) virtual kernel memory layout: fixmap : 0xf5315000 - 0xf57fe000 (5028 kB) pkmap : 0xf5000000 - 0xf5200000 (2048 kB) vmalloc : 0xd1000000 - 0xf4ffe000 ( 575 MB) lowmem : 0xc0000000 - 0xd0800000 ( 264 MB) .init : 0xc130e000 - 0xc133b000 ( 180 kB) .data : 0xc11fb8b9 - 0xc1309714 (1079 kB) .text : 0xc1000000 - 0xc11fb8b9 (2030 kB) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 7007.88 BogoMIPS (lpj=14015769) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K Checking ''hlt'' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 11k freed Brought up 1 CPUs Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: Fatal: No config space access function found PCI: setting up Xen PCI frontend stub Setting up standard PCI resources 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 interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb 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: 7, 524288 bytes) TCP bind hash table entries: 8192 (order: 6, 262144 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered checking if image is initramfs... it is Freeing initrd memory: 7264k freed IA-32 Microcode Update Driver: v1.14-xen <tigran@veritas.com> audit: initializing netlink socket (disabled) audit(1182440856.653:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SELinux: Registering netfilter hooks 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 input: Macintosh mouse button emulation as /class/input/input0 Xen virtual console successfully installed as xvc0 Event-channel device installed. usbcore: registered new interface driver libusual usbcore: registered new interface driver hiddev usbcore: registered new interface 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 TCP bic registered Initializing XFRM netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vbd/51712 XENBUS: Device with no driver: device/vif/0 Freeing unused kernel memory: 180k freed Write protecting the kernel read-only data: 762k After the Write protecting it jams up and does not go any further. Anyone else run into this problem? Thanks ________________________________ Travis Formoso | Blue Slate Solutions Infrastructure Specialist | www.blueslate.net |518.810.0377| travis.formoso@blueslate.net . This e-mail and any files transmitted with it are for the sole use of Blue Slate Solutions and the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.
Hi Travis, It *is* working. It''s just that the console has gone graphical at that point.>From a recent response I gave to someone with the same problem:Hi Alex, It *is* working. I ran into this myself with F7, and it took me a bit to figure out what was going on. Your console has been redirected to the graphical console from the serial console at that point in the guest boot process. Here''s what to do: 1) Fire up virt-manager in dom-0. You''ll see your guest running (xm and virsh will show it as blocked). From the ''view'' menu, select the graphical console and you''ll get your guest''s login screen. 2) In order to have the output of your guest appear in both consoles, add the following to your guest''s kernel line in grub.conf: console=tty console=xvc0,9600n8 Now you''ll see all the output in both the text and the graphical console. Note that you''ll also need to edit /etc/securetty and add ''xvc0'', and check /etc/inittab and make sure you have a line like: co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav as well. Good luck. Mike
Phil Rhoades
2007-Jun-26 19:07 UTC
Re: [Fedora-xen] Problem installing xen guest on Fedora Core 7
Mike, On Thu, 2007-06-21 at 16:29 -0700, Mike wrote:> Hi Travis, > > It *is* working. It''s just that the console has gone graphical at that > point. > > >From a recent response I gave to someone with the same problem: > > Hi Alex, > > It *is* working. I ran into this myself with F7, and it took me a bit to > figure out what was going on. Your console has been redirected to the > graphical console from the serial console at that point in the guest > boot process. Here''s what to do: > > 1) Fire up virt-manager in dom-0. You''ll see your guest running (xm and > virsh will show it as blocked).Correct so far.> From the ''view'' menu, select the > graphical console and you''ll get your guest''s login screen.I get: "The console is currently unavailable" The serial console just shows a black screen with the cursor flashing in the top-left corner . . So I can''t get to the stuff below . . Thanks, Phil.> 2) In order to have the output of your guest appear in both consoles, > add the following to your guest''s kernel line in grub.conf: > > console=tty console=xvc0,9600n8 > > Now you''ll see all the output in both the text and the graphical console. > > Note that you''ll also need to edit /etc/securetty and add ''xvc0'', and > check /etc/inittab and make sure you have a line like: > > co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav > > as well. > > Good luck. > > Mike > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen >-- Philip Rhoades Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Box 3411 Sydney NSW 2001 Australia Fax: +61:(0)2-8221-9599 E-mail: phil@pricom.com.au