Silas Silva
2008-Jan-21 11:18 UTC
[Xen-users] Compiling linux-2.6.18.8-xen with personal modifications
Hello all. I''m trying to make xen running under Slackware 12. I downloaded xen 3.2 source and I cloned the linux-2.6.18-xen repository. When compiling xen, it compiled the linux kernel for me. I put the correct configurations in my menu.lst file: default=0 timeout=10 title Xen 3.2 - Slackware Linux 12 dom0 (kernel 2.6.18.8) kernel /boot/xen.gz dom0_mem=65536 module /boot/vmlinuz-2.6.18.8-xen root=/dev/sda1 ro console=tty0 title Slackware Linux 12 (kernel 2.6.21.5) kernel /boot/vmlinuz root=/dev/sda1 ro But it panics to the following message: ''VFS: Cannot open root device "sda1" or unknown-block''. I''m using a new SAS controller that makes RAID, so I imagined it could be that the kernel wouldn''t have the driver enabled. Strangely, I didn''t find linux-2.6.18.8-xen/.config file (though, I''m not from the Linux world and I don''t know exactly how Linux kernel configuration work), but I found buildconfigs/linux-defconfig_xen0_x86_32 and buildconfigs/linux-defconfig_xen_x86_32. I copied the first one to ../.config, changed configuration with make menuconfig (only added the four options related to the Fusion MPT support: Device Drivers -> Fusion MPT device support) and called `make` manually. It generated a vmlinux kernel, but I can''t use it neither with xen nor directly. I don''t see where initrd is necessary if my kernel has the right drivers compiled in. Questions are: 1) How is the right way to configure and compile the linux-2.6.18-xen kernel? 2) What is the differences between linux-defconfig_xen_x86_32 and linux-defconfig_xen0_x86_32? Thanks in advance. -- Silas Silva - http://www.purl.org/NET/silas/site _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users