Re: Help: creating a rawhide guest os

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/9/06, Ranganathan, Shobha <shobha.ranganathan@xxxxxxxxx> wrote:
You may want to build your xen sources with pae=y.
Fedora core 6 are all PAE kernels.

How do I do that ?


Additional info:

It happens that I've successfully launched my xen guest os with a
ubuntu kernel and initrd
As you can see below.

-bash-3.1# xm create xm-fc6 -c
Using config file "/etc/xen/xm-fc6".
Started domain xm-fc6
Linux version 2.6.16-xen (xenod@xxxxxxxxxxxxxxxxxxxxx) (gcc version
3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 SMP Thu Apr 13 18:46:07 BST
2006
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 000000000c800000 (usable)
0MB HIGHMEM available.
208MB LOWMEM available.
ACPI in unprivileged domain disabled
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line:  root=/dev/hda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Xen reported: 3064.486 MHz processor.
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: cd800000-fb7fe000, maxmem 33ffe000
Memory: 185088k/212992k available (2183k kernel code, 19460k reserved,
730k data, 172k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 6133.46 BogoMIPS (lpj=30667335)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Checking 'hlt' instruction... OK.
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 13486k freed
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Subsystem revision 20060127
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
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
IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx>
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
blkif_init: reqs=64, pages=704, mmap_vstart=0xc0800000
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Registering block device major 3
ide-floppy driver 0.99.newide
usbmon: debugfs is not available
usbcore: registered new driver libusual
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI No-Shortcut mode
Freeing unused kernel memory: 172k freed
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/init-premount ...
fan: no version for "struct_module" found: kernel tainted.
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Running /scripts/local-premount ...
Done.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.

 ***************************************************************
 ***************************************************************
 ** WARNING: Currently emulating unsupported memory accesses  **
 **          in /lib/tls glibc libraries. The emulation is    **
 **          slow. To ensure full performance you should      **
 **          install a 'xen-friendly' (nosegneg) version of   **
 **          the library, or disable tls support by executing **
 **          the following as root:                           **
 **          mv /lib/tls /lib/tls.disabled                    **
 ** Offending process: init (pid=1)                           **
 ***************************************************************
 ***************************************************************

Continuing...

modprobe: FATAL: Could not load /lib/modules/2.6.16-xen/modules.dep:
No such file or directory

INIT: version 2.86 booting
               Welcome to Fedora Core
               Press 'I' to enter interactive startup.
modprobe: FATAL: Could not load /lib/modules/2.6.16-xen/modules.dep:
No such file or directory

Setting clock  (localtime): Mon Oct  9 21:51:30 CEST 2006 [  OK  ]
Starting udev: [  OK  ]
Setting hostname localhost.localdomain:  [  OK  ]
modprobe: FATAL: Could not load /lib/modules/2.6.16-xen/modules.dep:
No such file or directory

modprobe: FATAL: Could not load /lib/modules/2.6.16-xen/modules.dep:
No such file or directory

raidautorun: failed to open /dev/md0: No such device or address
Checking filesystems
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/hda1
/dev/hda1 has gone 49710 days without being checked, check forced.
/dev/hda1: 50772/640000 files (0.4% non-contiguous), 310039/1280000 blocks
[  OK  ]
Remounting root filesystem in read-write mode:  [mntent]: warning: no
final newline at the end of /etc/fstab
[  OK  ]
[mntent]: warning: no final newline at the end of /etc/fstab
Mounting local filesystems:  [mntent]: warning: no final newline at
the end of /etc/fstab
[  OK  ]
Enabling local filesystem quotas:  [  OK  ]
Enabling /etc/fstab swaps:  [  OK  ]
modprobe: FATAL: Could not load /lib/modules/2.6.16-xen/modules.dep:
No such file or directory

INIT: Entering runlevel: 5
[.....]


How can I use a fedora kernel and initrd ?

I copied the kernel from my image to my /boot and
mkinitrd /boot/initrd-2.6.17-1.2630.fc6.img 2.6.17-1.2187_FC5xen0
sounds to be wrong since it:

setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

an idea ?

Chitlesh
--
http://clunixchit.blogspot.com

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux