On 6/30/05, Daniel Veillard <veillard(a)redhat.com> wrote:
On Thu, Jun 30, 2005 at 04:01:46PM +0100, Dan Track wrote:
> Thanks for the reply.
> I've been banging my head againstg this for two days now.
> I'm using FC4 kernel: 2.6.11-1.1369_FC4xen0
> rhel3 is the standard kernel available on redhat. I had all this
> working under fc4_test1 without any problems. When FC4 came out I
> couldn't get it to work. I've tried all of the MAKEDEV commands but it
> still doesn't work.
> The strange thing is that rhel4 does work under FC4 as a domU.
> Any ideas. I'm really desparate for some.
RHEL3 uses a 2.4 kernel. You're trying to boot it up with a 2.6 kernel,
so yeah having troubles is not surprizing. On the other hand RHEL4/FC4
use 2.6, the gap between expected kernel and the one provided by Xen is
small in comparison, and that just works.
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
| Rpmfind RPM search engine http://rpmfind.net/
Many Thanks for your reply.
I'm kind of new to this area, so I'm trying to get my head round a few things.
I think the issue lies in me needing a initrd, I need to supply that
with the xenu to boot the rhel 3 distro. I ran the following:
mkinitrd /boot/initrd-2.6.11-1.1369_FC4xenU.img 2.6.11-1.1369_FC4xenU
I then put this ramdisk in the rhel-3-es xen file
ramdisk = "/boot/initrd-2.6.11-1.1369_FC4xenU.img"
memory = 260
name = "rhel-3-es"
nics = 1
disk = ['phy:hda3,sda1,w']
root = "/dev/sda1 ro"
But when booting up rhel-3-es doesn't, it gives the following message:
xm create -c rhel-3-es
Using config file "/etc/xen/rhel-3-es".
Started domain rhel-3-es, console on port 9601
************ REMOTE CONSOLE: CTRL-] TO QUIT ********
Linux version 2.6.11-1.1369_FC4xenU
(bhcompile(a)decompose.build.redhat.com) (gcc version 4.0.0 20050525
(Red Hat 4.0.0-9)) #1 SMP Thu Jun 2 23:33:51 EDT 2005
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000010400000 (usable)
260MB LOWMEM available.
Using x86 segment limits to approximate NX protection
DMI not present.
IRQ lockup detection disabled
Allocating PCI resources starting at 10400000 (gap: 10400000:efc00000)
Built 1 zonelists
Kernel command line: root=/dev/sda1 ro
PID hash table entries: 2048 (order: 11, 32768 bytes)
Xen reported: 598.075 MHz processor.
Using tsc for high-res timesource
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 257024k/266240k available (1785k kernel code, 8956k reserved,
506k data, 156k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Security Framework v1.0.0 initialized
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... disabled
CPU0: Intel(R) Pentium(R) M processor 1600MHz stepping 05
per-CPU timeslice cutoff: 2925.79 usecs.
task migration cache decay timeout: 3 msecs.
SMP motherboard not detected.
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 2033k freed
softlockup thread 0 started up.
NET: Registered protocol family 16
xen_mem: Initialising balloon driver.
Grant table initialized
audit: initializing netlink socket (disabled)
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
- Added public key 42BD35A990375F72
- 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
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
Blkif frontend is using grant tables.
xen_blk: Initialising virtual block device driver
xen_net: Initialising virtual ethernet driver.
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 156k freed
Red Hat nash version 4.2.15 starting
Mounted /proc filesystem
echo: cannot open /proc/sys/kernel/hotplug for write: 2
Creating root device
Mounting root filesystem
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Switching to new root
unmounting old /proc
unmounting old /sys
And then it just hangs. I'm pretty sure its to do with using a 2.6
kernel image having troubles with booting a 2.4 kernel. Which is
exactly what you said Daniel. The problem is I don't know how to make
an initrd that will work under rhel-3-es or any other 2.4 kernel
distro. I would be really grateful if someone could show me how to do
I know this may be basic for you guys on the list, but I'm really
stumped for ideas.
I appreciate your help.