Hi, Andrea:
I tried to fix the problem I mentioned below. and I found the zImage that I used mkzimage to build is too big, it is almost 18M.
so I tried to reduce the size of zImage. I do the work below:
1. It seems that SIS have copied all modules into the initrd, but only the ones in file INSMOD_COMMAND are useful, so I deleted
the others except the ones in INSMOD_COMMAND.
(then I make the new initrd and the new zImage, but it still seems a little bigger.)
2. I deleted /lib/bittorrent, because we will not this function so far.
(but I do not know if this is correct, just have a try.:))
for this time ,it works well!!
but, during installation, there is a confusing error:
tart_syslogd
get_boel_binaries_tarball
rsync -av 172.20.3.35::boot/ppc64/standard/boel_binaries.tar.gz /tmp/boel_binaries
receiving file list ... done
boel_binaries.tar.gz
sent 121 bytes received 5476461 bytes 10953164.00 bytes/sec
total size is 5475666 speedup is 1.00
echo: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
[: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
echo: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
[: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
echo: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
[: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
echo: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
I have checked the new initrd ,and actually there is libc.so.6 in it, i do not know why?
Best Regards,
-----------------------------
Sun jing(孙靖)
IBM China Software Development Laboratory
Tel: (86-10) 82782244 ext.3625 E-mail: [EMAIL PROTECTED]
Address:8/F, Power Creative Building,No. 1, East Road, ShangDi, Beijing 100085, P.R.China.
Jing CDL Sun/China/[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED] 2006-10-20 15:35 |
|
Andrea:
Thank you a lot!!!! I have built out the rpm packages for ppc64 finally, thank you for your patience and patches.
I will continue to verify the use of these rpms on ppc64.
I have installed the rpms on my machines, they can run si_prepareclient and si_getimage correctly,
but still one problem while installation.
BOOTP R = 1 BOOTP S = 2
FILE: /sis/ppc64/img1/ks4-QU4-ppc64-zImage.initrd_172.20.3.35
FINAL File Size = 12566528 bytes.
load-base=0x4000
real-base=0xc00000
CLAIM failed
Call History
------------
throw - c3903c
$call-method - c46c48
(poplocals) - c3a738
(init-program) - c7ee60
boot - c7fb4c
evaluate - c4a538
invalid pointer - de8045
invalid pointer - 7
invalid pointer - 7
quit - c4abac
quit - c4a9e0
My Fix Pt Regs:
00 0000000000000000 0000000000000000 00000000deadbeef 0000000000c46c44
04 0000000000c3fcd8 0000000000000007 0000000000c11f60 0000000000c03010
08 0000000008000000 0000000000000000 8000000000000000 e000040000000060
0c 80000000f0000000 0000000000000000 0000000000c18000 0000000001cc7398
10 0000000000e6527c 0000000000e64f80 0000000000c46c40 0000000000c46c48
14 fffffffffffffffe 0000000000004000 0000000000000000 0000000000000000
18 0000000000c13000 0000000000c38000 0000000000c14fc0 0000000000c16fc0
1c 0000000000c20000 0000000000c3fce0 0000000000c11fa8 0000000000c10ff8
Special Regs:
%IV: 00000900 %CR: 48808004 %XER: 2000001c %DSISR: 00000000
%SRR0: 0000000000c3a890 %SRR1: 800000000000b002
%LR: 0000000000c45d10 %CTR: 0000000000000001
%DAR: 0000000000000000
For this error, I have not any ideas or workaround method, could you help me? thank you.
Best Regards,
-----------------------------
Sun jing(孙靖)
IBM China Software Development Laboratory
Tel: (86-10) 82782244 ext.3625 E-mail: [EMAIL PROTECTED]
Address:8/F, Power Creative Building,No. 1, East Road, ShangDi, Beijing 100085, P.R.China.
![Inactive hide details for Andrea Righi <[EMAIL PROTECTED]>](gifOvAWP0vHEE.gif)
2006-10-19 22:55
|
|
OK, I think the problem is in the _build_arch builtin variable in
systemimager.spec. Try with the following patch.
Cheers,
-Andrea
Index: systemimager.spec
===================================================================
--- systemimager.spec (revision 3775)
+++ systemimager.spec (working copy)
@@ -23,7 +23,12 @@
# prevent RPM from stripping files (eg. bittorrent binaries)
%define __spec_install_post /usr/lib/rpm/brp-compress
%define is_suse %(test -f /etc/SuSE-release && echo 1 || echo 0)
+%define is_ppc64 %([ "`uname -m`" = "ppc64" ] && echo 1 || echo 0)
+%if %is_ppc64
+%define _build_arch ppc64
+%endif
+
Summary: Software that automates Linux installs, software distribution, and production deployment.
Name: %name
Version: %ver
Jing CDL Sun wrote:
> Hi, Andrea:
>
> the output of "uname -m" is ppc64
> [EMAIL PROTECTED] ~]# uname -m
> ppc64
> [EMAIL PROTECTED] ~]#
>
> I have tried with the following patch, and it seems not work:(.
>
> This is the rpmbuild log, I think it may be helpful for you.
>
> /(See attached file: log.1)/
>
> By the way, can SIS extract the zImage from golden-client on ppc64 or
> kernel and initrd.img separately?
> do user need to combine the kernel and initrd.img into zImage themselves
> manually?

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Sisuite-devel mailing list Sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel