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-devel

RE: [Xen-devel] mkinitrd fails on SLES10

To: "Patil, Ashwin Channabasavaraj" <Ashwin.Patil@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] mkinitrd fails on SLES10
From: "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>
Date: Mon, 16 Oct 2006 13:35:50 -0400
Delivery-date: Mon, 16 Oct 2006 10:36:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <88299102B8C1F54BB5C8E47F30B2FBE204EDEC4F@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbxCoqs6x7zlri/RMugLjDrzHsv8wAPrGxA
Thread-topic: [Xen-devel] mkinitrd fails on SLES10

I think this is what you need to do:

 

depmod 2.6.16.29-xen

mk_initrd -k /boot/vmlinuz-2.6-xen -i /boot/initrd-2.6-xen (vmlinuz-2.6-xen is a symbolic link that "make install" should have created for you)

(I am not sure if these steps are required for SLES10. I have had to do them for SLES9)

 

mv /boot/initrd-2.6-xen /boot/initrd-2.6-xen.gz

gunzip /boot/initrd-2.6-xen.gz

 

Aravindh

 


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Patil, Ashwin Channabasavaraj
Sent: Monday, October 16, 2006 6:05 AM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] mkinitrd fails on SLES10

 

Hi,

 

I compiled the Xen-unstable source using the instructions given in the README on “SLES10 GMC”. I used the following commands:

 

#make world

#make install

 

The next step was to create an initrd for Xen. I executed the following commands and got the errors.

 

#depmod 2.6.16.29-xen

#mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.16-xen.img 2.6.16-xen

Unknown option: -v

Try mkinitrd -h

 

I understand that mkinitrd under SLES10 doesn't have the -v and --with options. I added the “aacraid, sd_mod, scsi_mod” to “INITRD_MODULES” section in “/etc/sysfconfig/kernel” and executed

 

 #mkinitrd initrd-2.6.16.29-xen.img 2.6.16.29-xen

 

/sbin/mkinitrd: line 2965: initrd-2.6.16.29-xen.img/etc/fstab: No such file or directory

No '/' mountpoint specified in initrd-2.6.16.29-xen.img/etc/fstab

 

I could find two mails related to my problem but couldn’t find any solution in the archives.

 

Can anyone help me in continuing my build of initrd for Xen on SLES10 or point me in the right direction?

 

Thanks and regards,

Ashwin

 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>