Kevin Zhao | 12 Jan 05:55 2016
Picon

[PATCH 2/3] Modify the mkisofs parameter of ppc64 little-endian.

ppc64 little-endian has different archtecture and new
boot parameters.Don't need the hfs and mapping files
as it in Big-endian.Also tweak the code of Big-endian.

Signed-off-by: Kevin Zhao <kevin.zhaoshuai@...>
---
 targets/support/create-iso.sh | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index b4077c3..e333921 100755
--- a/targets/support/create-iso.sh
+++ b/targets/support/create-iso.sh
 <at>  <at>  -211,8 +211,22  <at>  <at>  case ${clst_hostarch} in
 			"${clst_target_path}/ppc/bootinfo.txt"
 		fi

+		flags=( -r -U -chrproot )
 		echo ">> Running mkisofs to create iso image...."
-		run_mkisofs -r -U -chrp-boot -netatalk -hfs -probe -map "${clst_target_path}"/boot/map.hfs -part
-no-desktop -hfs-volid "${clst_iso_volume_id}" -hfs-bless "${clst_target_path}"/boot -hide-hfs
"zisofs" -hide-hfs "stages" -hide-hfs "distfiles" -hide-hfs "snapshots" -J ${mkisofs_zisofs_opts}
-V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}"/
+		if [[ ${clst_subarch} == *le ]]
+		then
+			flags+=(
+				-v -T -l -cache-inodes
+			)
+		else
+			flags+=(
(Continue reading)

covici | 12 Jan 01:46 2016

problem building installcd-stage2-minimal

Hi.  I am trying to build a installcd-stage2-minimal with some
modifications for zfs, which I found made by arantius@...  I get
all the way through  compiling the kernel and then get the following
error:
Could not copy System.map from kerncache for the kernel package!
genkernel.log has no more information -- so how do I fix such a thing --
looks like the System.map is there in 
/var/tmp/catalyst/kerncache/default/livecd-stage2-amd64-20140808.zfs/gentoo/sources/System.map

Thanks in advance for any suggestions.
--

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@...

covici | 11 Jan 05:08 2016

a couple of questions about catalyst operation

Hi.  I am new  to catalyst, and I have a few questions.

It seems that during the build, MAKEOPTS is being set to -j8 and that is
too much for my quadcore machine -- I am getting temperature warnings.
I tried to put export MAKEOPTS="-j1" in the catalystrc, but that did not
work.

Also, when genkernel was run I got * ERROR: Configure of dmraid failed!
-- I don't know why, I don't have raid on the host, would that have
anything to do with things?

Thanks in advance for any suggestions.

Kevin Zhao | 8 Jan 11:04 2016
Picon

[PATCH 3/3] Add a new bootloader file grub 2.00 and bootinfo.txt for ppc64le

The bootloader of ppc64le has changed from yaboot to grub
just as it used in Redhat and Debian.Yaboot has not been
used in Little-endian ppc64,and grub take its role.
Also the "bootinfo.txt" has also changed compared to ppc64
Big-endian.

Signed-off-by: Kevin Zhao <kevin.zhaoshuai-Re5JQEeQqe8AvxtiuMwx3w <at> public.gmane.org>
---
 livecd/cdtar/grub-2.00-cdtar.tar.bz2 | Bin 0 -> 682717 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 livecd/cdtar/grub-2.00-cdtar.tar.bz2

diff --git a/livecd/cdtar/grub-2.00-cdtar.tar.bz2 b/livecd/cdtar/grub-2.00-cdtar.tar.bz2
new file mode 100644
index 0000000000000000000000000000000000000000..32399e3af3f123dc28d39e78048b49a91d8e11fd
GIT binary patch
literal 682717
zcmafaWl$VZ7v<ot!3n`#g1fu>;O;gMoZu21f_rdx*Fl2?cO4`^a2SF+Y`$-+wsyC+
zYEM<a?)R#H+&X>h-q-h <at> Cuv|Oz#*Yer=?FoXUPMfJQei*|HD3vDgD^OZ <at> ~W!!BPO=
zwzUO-2>`SYmMlmGqZ48B6M*U+b3fyff{{cnug3woW=~*G$GVBu6)+r <at> i(2<pK;D{n
z&oLBwvIT+e-me}9oC9v5&u4zK0rkeqt2qHDSlyz}NBuDs_r5~CP~U)2 <at> 8!G&<1>B$
zfKReit)>zQbmxBszy<)&pU<`Pot97T7XiTlz^84&fDP^amG-SG?*_vy?} <at> `L3*nI)
zpliB3zPQQc9ycBydKfBYfmL#As)kcraGDH09;?I62c{Z0%t1o1%l8cPmG<cXU~aEy
z0LkI<pR*Q<(Jf-t(;j!owrC0CFSu?nbo+BKdtv}0U-d%X_m#%4R*pKyk+xe87vA1v
z*?8PVjcpYqrlzjHVV0xMFyKo0s?m+4Bpmhb>-}6Tok=$kgs=1cbO <at> +>M;EqIpZ&ic
zJRU49L-wFwkGYJGoHc~_fF20POBa|`6&LNBzyuTbk5VVb <at> *dZ-iNK5IikPSts7202
zcJYkRil4FHN<#ZbsRAe7N$AG+v|6&YUl$FeM?J0c?VwGeQ+9`$x^6%2`4;en3){*T
zxq%P(P<X~$MWg|X);{3-Z_g!nC#$uU!a={bdtvKMdI;0E+%{bo-^;;YSiPk4<UYci
zoB4j5kp12buJu!{ljj}X6~EqRD6}1tYpJ`E0Wfi{^>%YKbP~8`X1)+jDC <at> oGSzqGo
zxajFw <at> B)Dfq>Z<rKQ8Or <at> h <at> `k+u?dkY3I <at> !>ueM;pViV9oG~`-n(K0N!CyRfVZEKU
(Continue reading)

Kevin Zhao | 8 Jan 11:04 2016
Picon

[PATCH 2/3] Modify the parameter of ppc64 little-endian, because the ppc64 little-endian has different archtecture and new boot parameters.Don't need the hfs and mapping files as it in Big-endian.Also tweak the code of Big-endian.

Signed-off-by: Kevin Zhao <kevin.zhaoshuai@...>
---
 targets/support/create-iso.sh | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index b4077c3..2e604db 100755
--- a/targets/support/create-iso.sh
+++ b/targets/support/create-iso.sh
 <at>  <at>  -211,8 +211,22  <at>  <at>  case ${clst_hostarch} in
 			"${clst_target_path}/ppc/bootinfo.txt"
 		fi

+		flags=( -r -U )
 		echo ">> Running mkisofs to create iso image...."
-		run_mkisofs -r -U -chrp-boot -netatalk -hfs -probe -map "${clst_target_path}"/boot/map.hfs -part
-no-desktop -hfs-volid "${clst_iso_volume_id}" -hfs-bless "${clst_target_path}"/boot -hide-hfs
"zisofs" -hide-hfs "stages" -hide-hfs "distfiles" -hide-hfs "snapshots" -J ${mkisofs_zisofs_opts}
-V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}"/
+		if echo ${clst_subarch} | grep -qE ".+le$"
+		then
+			flags+=(
+				-v -T -l -cache-inodes -chrp-boot
+			)
+		else
+			flags+=(
+				-chrp-boot -netatalk -hfs -probe -map "${clst_target_path}"/boot/map.hfs \ 
+				-part -no-desktop -hfs-volid "${clst_iso_volume_id}" -hfs-bless "${clst_target_path}"/boot
-hide-hfs \
+				"zisofs" -hide-hfs "stages" -hide-hfs "distfiles" -hide-hfs "snapshots" -J ${mkisofs_zisofs_opts}
(Continue reading)

Kevin Zhao | 8 Jan 11:03 2016
Picon

[PATCH 1/3] Add a subarch ppc64le,is the little-endian of ppc64.Also add power7,power7le,power8le.The subarch power7 and power8 are inheriting from ppc64.Power7le and Power8le are inheriting from ppc64le.As the little-endian of ppc64, the ppc64le can be a keyword,it will be used in create iso and intergrating bootloader.

Signed-off-by: Kevin Zhao <kevin.zhaoshuai@...>
---
 catalyst/arch/powerpc.py | 37 ++++++++++++++++++++++++++++++++++---
 1 file changed, 34 insertions(+), 3 deletions(-)

diff --git a/catalyst/arch/powerpc.py b/catalyst/arch/powerpc.py
index 7f4194e..bbc8941 100644
--- a/catalyst/arch/powerpc.py
+++ b/catalyst/arch/powerpc.py
 <at>  <at>  -28,6 +28,13  <at>  <at>  class arch_ppc64(generic_ppc64):
 		self.settings["CFLAGS"]="-O2 -pipe"
 		self.settings["CHOST"]="powerpc64-unknown-linux-gnu"

+class arch_ppc64le(generic_ppc64):
+	"builder class for generic ppc64le"
+	def __init__(self,myspec):
+		generic_ppc64.__init__(self,myspec)
+		self.settings["CFLAGS"]="-O2 -pipe"
+		self.settings["CHOST"]="powerpc64le-unknown-linux-gnu"
+
 class arch_970(arch_ppc64):
 	"builder class for 970 aka G5 under ppc64"
 	def __init__(self,myspec):
 <at>  <at>  -99,12 +106,32  <at>  <at>  class arch_power6(arch_ppc64):
 		self.settings["CFLAGS"]="-O2 -pipe -mcpu=power6 -mtune=power6"
 		self.settings["HOSTUSE"]=["altivec","ibm"]

+class arch_power7(arch_ppc64):
+	"builder class for power7 under ppc64"
+	def __init__(self,myspec):
(Continue reading)

Anthony G. Basile | 2 Jan 09:13 2016
Gravatar

ppc64el patches

Hi,

I lost the original patches in my email, so I'll review from the arcvhive:

1. [gentoo-catalyst][PATCH v1 1/3] Add an subarch ppc64le,as the
little-endian of ppc64.
https://archives.gentoo.org/gentoo-catalyst/message/6ade3d1e9625a6e701f535ab80635dba

CHOST looks fine.  Are all power8's ppc64le??

2. [gentoo-catalyst][PATCH v1 2/3] Modify the create iso parameter of
ppc64le and power8
https://archives.gentoo.org/gentoo-catalyst/message/766798a56f6560176ce66db2e2243f93

looks okay.

3. [gentoo-catalyst][PATCH v1 3/3] Add a new bootloader file grub 2.00
and bootinfo.txt for ppc64le
https://archives.gentoo.org/gentoo-catalyst/message/c481860df994aebcabb969de514b017c

looks okay.

--

-- 
Anthony G. Basile, Ph. D.
Chair of Information Technology
D'Youville College
Buffalo, NY 14201
(716) 829-8197

(Continue reading)

Kevin Zhao | 16 Dec 17:41 2015
Picon

[PATCH v1 3/3] Add a new bootloader file grub 2.00 and bootinfo.txt for ppc64le

The bootloader of ppc64le has changed from yaboot to grub
just as it used in Redhat and Debian.Yaboot has not been
used in Little-endian ppc64,and grub take its role.
Also the "bootinfo.txt" has also changed compared to ppc64
Big-endian.

Signed-off-by: Kevin Zhao <kevin.zhaoshuai-Re5JQEeQqe8AvxtiuMwx3w <at> public.gmane.org>
---
 livecd/cdtar/grub-2.00-cdtar.tar.bz2 | Bin 0 -> 682717 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 livecd/cdtar/grub-2.00-cdtar.tar.bz2

diff --git a/livecd/cdtar/grub-2.00-cdtar.tar.bz2 b/livecd/cdtar/grub-2.00-cdtar.tar.bz2
new file mode 100644
index 0000000000000000000000000000000000000000..32399e3af3f123dc28d39e78048b49a91d8e11fd
GIT binary patch
literal 682717
zcmafaWl$VZ7v<ot!3n`#g1fu>;O;gMoZu21f_rdx*Fl2?cO4`^a2SF+Y`$-+wsyC+
zYEM<a?)R#H+&X>h-q-h <at> Cuv|Oz#*Yer=?FoXUPMfJQei*|HD3vDgD^OZ <at> ~W!!BPO=
zwzUO-2>`SYmMlmGqZ48B6M*U+b3fyff{{cnug3woW=~*G$GVBu6)+r <at> i(2<pK;D{n
z&oLBwvIT+e-me}9oC9v5&u4zK0rkeqt2qHDSlyz}NBuDs_r5~CP~U)2 <at> 8!G&<1>B$
zfKReit)>zQbmxBszy<)&pU<`Pot97T7XiTlz^84&fDP^amG-SG?*_vy?} <at> `L3*nI)
zpliB3zPQQc9ycBydKfBYfmL#As)kcraGDH09;?I62c{Z0%t1o1%l8cPmG<cXU~aEy
z0LkI<pR*Q<(Jf-t(;j!owrC0CFSu?nbo+BKdtv}0U-d%X_m#%4R*pKyk+xe87vA1v
z*?8PVjcpYqrlzjHVV0xMFyKo0s?m+4Bpmhb>-}6Tok=$kgs=1cbO <at> +>M;EqIpZ&ic
zJRU49L-wFwkGYJGoHc~_fF20POBa|`6&LNBzyuTbk5VVb <at> *dZ-iNK5IikPSts7202
zcJYkRil4FHN<#ZbsRAe7N$AG+v|6&YUl$FeM?J0c?VwGeQ+9`$x^6%2`4;en3){*T
zxq%P(P<X~$MWg|X);{3-Z_g!nC#$uU!a={bdtvKMdI;0E+%{bo-^;;YSiPk4<UYci
zoB4j5kp12buJu!{ljj}X6~EqRD6}1tYpJ`E0Wfi{^>%YKbP~8`X1)+jDC <at> oGSzqGo
zxajFw <at> B)Dfq>Z<rKQ8Or <at> h <at> `k+u?dkY3I <at> !>ueM;pViV9oG~`-n(K0N!CyRfVZEKU
(Continue reading)

Kevin Zhao | 16 Dec 17:41 2015
Picon

[PATCH v1 2/3] Modify the create iso parameter of ppc64le and power8

Modify the parameter of ppc64le and power8, because the
ppc64 little-endian has different archtecture and new
boot parameters.Don't need the hfs and mapping files
as it in Big-endian.

Signed-off-by: Kevin Zhao <kevin.zhaoshuai@...>
---
 targets/support/create-iso.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index b4077c3..8bdb15a 100755
--- a/targets/support/create-iso.sh
+++ b/targets/support/create-iso.sh
 <at>  <at>  -212,7 +212,12  <at>  <at>  case ${clst_hostarch} in
 		fi

 		echo ">> Running mkisofs to create iso image...."
-		run_mkisofs -r -U -chrp-boot -netatalk -hfs -probe -map "${clst_target_path}"/boot/map.hfs -part
-no-desktop -hfs-volid "${clst_iso_volume_id}" -hfs-bless "${clst_target_path}"/boot -hide-hfs
"zisofs" -hide-hfs "stages" -hide-hfs "distfiles" -hide-hfs "snapshots" -J ${mkisofs_zisofs_opts}
-V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}"/
+		if [ "${clst_subarch}" == "ppc64le" ]||[ "${clst_subarch}" == "power8" ]
+		then
+			run_mkisofs -v -r -T -U -l -cache-inodes -chrp-boot -V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}"
+		else
+			run_mkisofs -r -U -chrp-boot -netatalk -hfs -probe -map "${clst_target_path}"/boot/map.hfs
-part -no-desktop -hfs-volid "${clst_iso_volume_id}" -hfs-bless "${clst_target_path}"/boot
-hide-hfs "zisofs" -hide-hfs "stages" -hide-hfs "distfiles" -hide-hfs "snapshots" -J
${mkisofs_zisofs_opts} -V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}"/
(Continue reading)

Kevin Zhao | 16 Dec 17:40 2015
Picon

[PATCH v1 1/3] Add an subarch ppc64le,as the little-endian of ppc64.

Add a subarch ppc64le, tweak the power8 inheriting from
arch_ppc64 to arch_ppc64le.So that the ppc64le can be a
keywork,it will be used in create iso and intergrating
bootloader.

Signed-off-by: Kevin Zhao <kevin.zhaoshuai@...>
---
 catalyst/arch/powerpc.py | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/catalyst/arch/powerpc.py b/catalyst/arch/powerpc.py
index 7f4194e..a52b0d4 100644
--- a/catalyst/arch/powerpc.py
+++ b/catalyst/arch/powerpc.py
 <at>  <at>  -28,6 +28,13  <at>  <at>  class arch_ppc64(generic_ppc64):
 		self.settings["CFLAGS"]="-O2 -pipe"
 		self.settings["CHOST"]="powerpc64-unknown-linux-gnu"

+class arch_ppc64le(generic_ppc64):
+	"builder class for generic ppc64le"
+	def __init__(self,myspec):
+		generic_ppc64.__init__(self,myspec)
+		self.settings["CFLAGS"]="-O2 -pipe"
+		self.settings["CHOST"]="powerpc64le-unknown-linux-gnu"
+
 class arch_970(arch_ppc64):
 	"builder class for 970 aka G5 under ppc64"
 	def __init__(self,myspec):
 <at>  <at>  -99,10 +106,10  <at>  <at>  class arch_power6(arch_ppc64):
 		self.settings["CFLAGS"]="-O2 -pipe -mcpu=power6 -mtune=power6"
(Continue reading)

Mike Frysinger | 23 Nov 13:07 2015
Picon
Gravatar

[PATCH 1/2] main: add a --trace option

This helps a lot with debugging as you can quickly get a transcript
of the python code paths that are taken by catalyst.
---
 catalyst/main.py | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/catalyst/main.py b/catalyst/main.py
index f48293e..3550809 100644
--- a/catalyst/main.py
+++ b/catalyst/main.py
 <at>  <at>  -170,6 +170,11  <at>  <at>  $ catalyst -f stage1-specfile.spec"""
 		dest='color', action='store_false',
 		help='never colorize output all the time (default: detect)')

+	group = parser.add_argument_group('Developer options')
+	group.add_argument('--trace',
+		default=False, action='store_true',
+		help='trace program output (akin to `sh -x`)')
+
 	group = parser.add_argument_group('Temporary file management')
 	group.add_argument('-a', '--clear-autoresume',
 		default=False, action='store_true',
 <at>  <at>  -203,10 +208,54  <at>  <at>  $ catalyst -f stage1-specfile.spec"""
 	return parser

 
+def trace(func, *args, **kwargs):
+	"""Run |func| through the trace module (akin to `sh -x`)"""
+	import trace
+
(Continue reading)


Gmane