[Fedora-xen] command line kernel parameters

Chris McKeever techjedi at gmail.com
Tue Jul 18 15:35:21 UTC 2006


I am trying to set some networking options via the kernel command line --
I have recompiled the kernel to support IP_PNP (IP: kernel level
autoconfiguration)
but I dont even think I have gotten to the need of that part, xm
create doesn't even seem to pass the arguements to the kernel:

xen 3.0.2 source compile
FC5

conf:
kernel="/boot/vmlinuz-2.6.16-xen"
memory=128
name="fedora.fc4"
vif = [ 'ip=192.168.1.61, mac=00:16:3E:3E:30:C8' ]
disk=['file:/xen/fc4/image,sda1,w', 'file:/xen/fc4/swap,sda2,w']
#dhcp = "dhcp"   <-- tried as commented out and "off"
netmask="255.255.255.0"
gateway="192.168.1.1"
hostname="ds-1"
root="/dev/sda1 ro"

# xm create -n conf
Using config file "conf".
(vm
    (name fedora.fc4)
    (memory 128)
    (vcpus 1)
    (image (linux (kernel /boot/vmlinuz-2.6.16-xen) (root '/dev/sda1 ro')))
    (device (vbd (uname file:/xen/fc4/image) (dev sda1) (mode w)))
    (device (vbd (uname file:/xen/fc4/swap) (dev sda2) (mode w)))
    (device (vif (ip 192.168.1.61) (mac 00:16:3E:3E:30:C8)))
)

from the console:
# dmesg | grep command
Kernel command line:  root=/dev/sda1 ro

so - it seems the command line isnt being passed what aI *think* it
should be passed - any ideas??


-- 
----------------------------------
please respond to the list .. if you need to contact me direct
cgmckeever is the account
prupref.com is the domain

<A href="http://www.prupref.com">Simply Chicago Real Estate</A>




More information about the Fedora-xen mailing list