Olivier,

Have you updated the line "DISK_SIZE=`LC_ALL=C parted -s $DISK0 unit MB 
print | egrep '$DISK0' | awk '{print $NF}' | sed 's/MB//' `" in the 
.master script? I found it can not work in build 4.2.0-0.91svn4568 for 
redhat6.3.

I think it should be "DISK_SIZE=`parted -s $DISK0 unit MB print | egrep 
"$DISK0" | awk '{print $NF}' | sed 's/MB//' `", use "" instead of '' 
around $DISK0, so shell can translate it.
I tested this fix, it can work.

Thx.
Jing






LAHAYE Olivier <olivier.lah...@cea.fr> 
2012/12/18 17:03

To
Jing CDL Sun/China/IBM@IBMCN, 
cc
"sisuite-devel@lists.sourceforge.net" 
<sisuite-devel@lists.sourceforge.net>, 
"sisuite-us...@lists.sourceforge.net" 
<sisuite-us...@lists.sourceforge.net>
Subject
RE : RE : [Sisuite-devel] New systemimager rpms for centos6 with ext4 
support







Jing,

You're perfectly right, the ext4 problem was related to default initrd. 
The build did not enable the ext4 module. It's fixed in last build.

Cheers,

Olivier.

-- 
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR

De : Jing CDL Sun [sj...@cn.ibm.com]
Date d'envoi : mardi 18 décembre 2012 06:35
À : LAHAYE Olivier
Cc: sisuite-devel@lists.sourceforge.net; 
sisuite-us...@lists.sourceforge.net
Objet : RE : [Sisuite-devel] New systemimager rpms for centos6 with ext4 
support

Thx for the reply. 

When I used your build with 4.2.0-0.9svn4568, I did not run into this 
problem, so I'm thinking maybe this is not a missing module problem? 

When you said 4.2.0-0.91svn4568 fixed the ext4 missing problem, did you 
mean the default initrd? because it seems  4.2.0-0.9svn4568 worked fine 
for me without the ext4 issue. 

Yes, I did not use the systemimager default kernel and initrd, instead, 
I'm using my own kernel/initrd got from my golder client, it's rhel6.3, so 
I think it should work fine, right? 






LAHAYE Olivier <olivier.lah...@cea.fr> 
2012/12/17 17:16 


To
Jing CDL Sun/China/IBM@IBMCN, 
cc
"sisuite-devel@lists.sourceforge.net" 
<sisuite-devel@lists.sourceforge.net>, 
"sisuite-us...@lists.sourceforge.net" 
<sisuite-us...@lists.sourceforge.net> 
Subject
RE : [Sisuite-devel] New systemimager rpms for centos6 with ext4 support









This means that your disk is not recognized.

Did you use my install scripts (especially the pre-install).
http://olivier.lahaye1.free.fr/RPMS/extra/si_scripts.tar.bz2

It modprobs some modules in order to see disks. I don't know my the 
systemimager initrd fails to automaticaly do that (did not have time to 
look at the problem).

if you did use the script, it means that you need to modify it to have 
more modules inserted. Or, if your hardware is too recent (not supported 
by provided  default kernel), then you'll need to use your own kernel for 
the moment.

I cannot upgrade easily the kernel to 3.X as it'll require to upgrade some 
utils too and therefore, it'll break build on RHEL6 as well. Indeed, the 
build will copy missing stuffs from /lib /lib64 and other places and 
thoses version are for a 2.6.x kernel, not a 3.X kernel.
This is also the reason why build fails on CentOS5 cas the libs copied 
from system misses some symbols (too old).

In order to safely upgrade systemimager to latest kernel, we need to 
modifiy the build process so it builds everything and link everything with 
it's material which is not fully the case for now. (it still copy stuffs 
from the build system root tree (convenient ugly dirty hack)).

Hope this helps,

Cheers, 

Olivier.


-- 
  Olivier LAHAYE
  CEA DRT/LIST/DCSI/DIR 

De : Jing CDL Sun [sj...@cn.ibm.com]
Date d'envoi : lundi 17 décembre 2012 07:42
À : LAHAYE Olivier
Cc: sisuite-devel@lists.sourceforge.net; 
sisuite-us...@lists.sourceforge.net
Objet : Re: [Sisuite-devel] New systemimager rpms for centos6 with ext4 
support

Hi, 

I just tested these new rpms, but found the issues below, the install 
broken. 

Dec 17 14:42:36 x3550m4n02 logger: logger: parted -s -- /dev/sda mklabel 
gpt || shellout 
Dec 17 14:42:36 x3550m4n02 kernel:  sda: unknown partition table 


Thx. 
Jing


LAHAYE Olivier <olivier.lah...@cea.fr> 
2012/12/13 22:47 


To
"sisuite-us...@lists.sourceforge.net" 
<sisuite-us...@lists.sourceforge.net>, 
cc
"sisuite-devel@lists.sourceforge.net" 
<sisuite-devel@lists.sourceforge.net> 
Subject
[Sisuite-devel] New systemimager rpms for centos6 with ext4 support











Dear all,

Here are my fixed systemimager rpms for centos-6.3
Now, the ext4 filesystem is fixed (the module was missing in the initrd 
image)
I've tested this on recent hardware and it worked like a charm.

Thoses RPMS are for testing purpose


RPMS: http://olivier.lahaye1.free.fr/RPMS/noarch
SRPMS: 
http://olivier.lahaye1.free.fr/SRPMS/systemimager-4.2.0-0.91svn4568.el6.src.rpm


PS: Keep in mind that you need postinstall scripts (already posted here) 
to setup grub, network and other stuffs as systemconfiguratior is unable 
to handle latest linux technologies.

Best regards,

Olivier 
-- 
 Olivier LAHAYE
 CEA DRT/LIST/DCSI/DIR
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
sisuite-devel mailing list
sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
sisuite-devel mailing list
sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to