WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] I've exhausted my brain trying to get xen to boot...please h

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] I've exhausted my brain trying to get xen to boot...please help
From: "Lionel Kernux" <lionel.kernux@xxxxxxxxx>
Date: Fri, 11 Jan 2008 16:18:21 -0500
Delivery-date: Fri, 11 Jan 2008 13:20:01 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=4pQrjFHmPT1BguD+nOVkCeTxubwG+O/fT88HAIUTm/c=; b=iARwFYL9hA1tEuPzFm6cUt/XdY5JAXkcJU2p655Sxr0Qvh8WrWlm2vMIWHyOfGe+qzGdXSseuB/XE8iuD0vo7A3ogj3Q2GVsq8tfBHZ139UCP+AFvJ2sGkim39yQKAVyCLfKSDOo+wMWiVfcFyaPi05hNmsyzsgm1ib7tGGWhKE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Y6volN6vb8fyl9m80Kar0pyYX72IAZurtqYnFaxDuQPmHJtKt7kuSW+wKEPSMNpYFeaVrv0/uqGBBV73Y8gtvtHPQ1a7myBL8lJwgfslJSiaAhJLt/EVU9rt9wgrpDO5J10E/DrDk2Bn92vSnNyASwMdKxwSj5O/L5B08ESw/IE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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