[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] I've exhausted my brain trying to get xen toboot...please help
Miguel, It sounds like you might be getting a kernel panic. To prevent the machine from rebooting after the error message displays, you can try specifying that Xen not reboot by appending 'noreboot' to Xen's entry in grub.conf (See section 10.3 of the xen manual). Earlier this week, I also thought I was not compiling the correct drivers in to the kernel, but it turns out that the drivers in 2.6.18 did not support my hardware (Intel's ICH9 chipset). I had to patch a few source files and recompile. What does the output of 'lspci' and 'lspci -n' look like? The build instructions you listed are for building a custom dom0 kernel. To build just the Xen hypervisor, I believe you have to do 'make install-xen' from the root xen directory. -Ryan > -----Original Message----- > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of > Lionel Kernux > Sent: Friday, January 11, 2008 4:18 PM > To: xen-users@xxxxxxxxxxxxxxxxxxx > Subject: [Xen-users] I've exhausted my brain trying to get > xen toboot...please help > > Hi, > > I'm running slackware12 and followed the directions in the > README file in the xen source tree. > > I installed grub and made sure it is working properly. > > I did: > > make world > make install > > and added the correct stanza to the grub.conf > > then I rebooted and selected my xen kernel > > BUT > > xen boots to a certain point and then emits an error and > reboots. The error is difficult to see because the reboot > happens almost immediately after the error is displayed. From > what I can see, the error is "no /sbin/init found or not mounted". > > I suspected that this might be due to a lack of scsi/sata > drivers in the xen kernel....so I followed the README > instructions to build a custom kernel: > > 5. To rebuild a kernel with a modified config: > > # make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) > # make linux-2.6-xen-build > # make linux-2.6-xen-install > > Depending on your config, you may need to use 'mkinitrd' to create > an initial ram disk, just like a native system e.g. > # depmod 2.6.16-xen > # mkinitrd -v -f --with=aacraid --with=sd_mod > --with=scsi_mod initrd-2.6.16-xen.img 2.6.16-xen > > I made sure that ALL of the SATA/SCSI drivers are built-in so > there should be no need for initrd > > But after running make linux-2.6-xen-install some stuff is > installed to /boot but NOT the xen-3.2.0.gz that grub needs to load. > > ls -la /boot > > lrwxrwxrwx 1 root root 37 2007-12-20 04:27 README.initrd -> > /usr/doc/mkinitrd-1.1.2/README.initrd > lrwxrwxrwx 1 root root 20 2007-12-21 11:36 System.map -> > System.map.2.6.23.12 > -rw-rw-r-- 1 root root 1043384 2008-01-11 15:53 System.map-2.6.18-xen > -rw-r--r-- 1 root root 795880 2007-06-19 16:18 > System.map-generic-2.6.21.5 > -rw-r--r-- 1 root root 813610 2007-06-19 15:53 > System.map-generic-smp-2.6.21.5-smp > -rw-r--r-- 1 root root 1232918 2007-06-19 16:23 > System.map-huge-2.6.21.5 > -rw-r--r-- 1 root root 1252098 2007-06-19 15:58 > System.map-huge-smp-2.6.21.5-smp > -rw-r--r-- 1 root root 1060243 2007-12-21 12:35 System.map.2.6.23.12 > -rw-r--r-- 1 root root 512 2007-12-20 04:51 boot.0800 > lrwxrwxrwx 1 root root 16 2007-12-21 11:37 config -> > config.2.6.23.12 > -rw-rw-r-- 1 root root 65742 2008-01-11 15:53 config-2.6.18-xen > -rw-r--r-- 1 root root 72738 2007-06-19 16:18 > config-generic-2.6.21.5 > -rw-r--r-- 1 root root 72764 2007-06-19 15:53 > config-generic-smp-2.6.21.5-smp > -rw-r--r-- 1 root root 72643 2007-06-19 16:23 config-huge-2.6.21.5 > -rw-r--r-- 1 root root 72669 2007-06-19 15:58 > config-huge-smp-2.6.21.5-smp > -rw-r--r-- 1 root root 56904 2007-12-21 12:34 config.2.6.23.12 > -rw-r--r-- 1 root root 5040 2007-06-10 02:09 diag1.img > lrwxrwxrwx 1 root root 15 2007-12-21 11:37 latest_smp > -> linux-2.6.23.12 > -rw-r--r-- 1 root root 2743736 2007-12-21 12:34 linux-2.6.23.12 > -rw------- 1 root root 118272 2008-01-10 15:22 map > -rw-r--r-- 1 root root 2751320 2008-01-04 14:41 ndiskernel > -rw-r--r-- 1 root root 7526897 2008-01-11 15:53 > vmlinux-syms-2.6.18-xen > lrwxrwxrwx 1 root root 29 2007-12-20 04:43 vmlinuz -> > vmlinuz-huge-smp-2.6.21.5-smp > lrwxrwxrwx 1 root root 18 2008-01-11 15:53 vmlinuz-2.6-xen -> > vmlinuz-2.6.18-xen > -rw-r--r-- 1 root root 3001674 2008-01-11 15:53 vmlinuz-2.6.18-xen > -rw-r--r-- 1 root root 1937944 2007-06-19 16:18 > vmlinuz-generic-2.6.21.5 > -rw-r--r-- 1 root root 2087960 2007-06-19 15:53 > vmlinuz-generic-smp-2.6.21.5-smp > -rw-r--r-- 1 root root 4097784 2007-06-19 16:23 vmlinuz-huge-2.6.21.5 > -rw-r--r-- 1 root root 4417112 2007-06-19 15:58 > vmlinuz-huge-smp-2.6.21.5-smp > > > So....please... > > Any Help???/ > > Thanks > > Miguel > > _______________________________________________ > Xen-users mailing list > Xen-users@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-users > _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |