Ok,

After I applied the changes manually I was able to get past the initial invalid 
kernel problem.  I was then able to run though the installation process but 
when I tried to boot the system for the first time I kept getting stuck at 
"RAMDISK: compressed image found at block 0".  I discovered that if I 
decompressed and then recompressed the initrd file I was then able to boot 
successfully.

Any idea what is going wrong?  

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrea Righi
Sent: Friday, January 12, 2007 2:22 PM
To: sisuite-users@lists.sourceforge.net
Subject: Re: [Sisuite-users] Problems with standard kernel and uyok with HP 
xw9400?


McCarthy, John wrote:
> file /usr/share/systemimager/boot/x86_64/xw94rhws3.8scsi/kernel
> /usr/share/systemimager/boot/x86_64/xw94rhws3.8scsi/kernel: ELF 64-bit 
> LSB executable, AMD x86-64, version 1 (SYSV), statically linked, 
> stripped

Here is the problem! this is not a valid kernel file, it's an executable! 
There's a bug and I should have fixed it in the trunk... the patch is the 
following, you can apply it directly to 
/usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm.

You can also manually fix it using one of the kernels available in the /boot of 
your image.

Regards,
-Andrea

Index: lib/SystemImager/UseYourOwnKernel.pm
===================================================================
--- lib/SystemImager/UseYourOwnKernel.pm        (revision 3845)
+++ lib/SystemImager/UseYourOwnKernel.pm        (working copy)
@@ -302,10 +302,14 @@
                 my ($input) = (<INPUT>);
                 #
                 # eliminate vmlinux files on RH
-                if( $input =~ m/ELF 32-bit LSB executable,/ ) { return
undef; }
+                if( $input =~ m/ELF (32|64)-bit LSB executable,/ ) {
return undef; }
                 #
                 # eliminate compressed data (eg. ramdisk)
                 if( $input =~ m/gzip compressed data,/ ) { return undef; }
+                # eliminate cpio archives (eg. ramdisk)
+                if( $input =~ m/cpio archive/ ) { return undef; }
+                # eliminate cramfs files (eg. ramdisk)
+                if( $input =~ m/Linux Compressed ROM File System data,/
) { return undef; }
         close(INPUT);

         #

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your 
opinions on IT & business topics through brief surveys - and earn cash 
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sisuite-users mailing list
Sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users
 
--------------------------------------------------------

This email communication is intended as a private communication for the sole 
use of the primary addressee and those individuals listed for copies in the 
original message. The information contained in this email is private and 
confidential and If you are not an intended recipient you are hereby notified 
that copying, forwarding or other dissemination or distribution of this 
communication by any means is prohibited.  If you are not specifically 
authorized to receive this email and if you believe that you received it in 
error please notify the original sender immediately.  We honour similar 
requests relating to the privacy of email communications.
 
Cette communication par courrier électronique est une communication privée à 
l'usage exclusif du destinataire principal ainsi que des personnes dont les 
noms figurent en copie.  Les renseignements contenus dans ce courriel sont 
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé, par 
les présentes que toute reproduction, transfert ou autre forme de diffusion de 
cette communication par quelque moyen que ce soit est interdite.  Si vous 
n'êtes pas spécifiquement autorisé à recevoir ce courriel ou si vous croyez 
l'avoir reçu par erreur, veuillez en aviser l'expéditeur original 
immédiatement.  Nous respectons les demandes similaires qui touchent la 
confidentialité des communications par courrier électronique.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sisuite-users mailing list
Sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to