* [gentoo-powerpc] Re: working towards becoming a gentoo developer
[not found] ` <562F5E0D.6060600@gentoo.org>
@ 2015-10-28 5:38 ` Kevin Zhao
2015-12-07 8:37 ` Kevin Zhao
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Zhao @ 2015-10-28 5:38 UTC (permalink / raw
To: Anthony G. Basile
Cc: Leno Hou, Linda Jiang, Luca Barbato, Justin (jlec),
gentoo-powerpc
[-- Attachment #1: Type: text/plain, Size: 3380 bytes --]
OK , thanks Anthony😁
2015-10-27 19:20 GMT+08:00 Anthony G. Basile <blueness@gentoo.org>:
> On 10/27/15 4:58 AM, Kevin Zhao wrote:
>
>> Hi Folks,
>> Last week we compiling a gentoo stage3 for ppc64le and I
>> send
>> it to the google drive. The one thing I have to say is that when I
>> compiling the stage3, I use the gcc flags "-mcpu=power8 -mtune=power8".
>> After I copy the stage3 to a power7 based ppc64le machine,
>> chroot to the stage3,running "emerge --info" it shows that "illegal
>> instruction" . I guess that the stage3 built with the gcc flag
>> "-mcpu=power8 -mtune=power8".
>>
> Yes.
>
>> As we know ,our community have a power7, so it may not be
>> able
>> to test the new stage3. Leno, Linda and I have some power8 based
>> machines,
>> but these machines can not be accessed from outer network, so we could
>> afford to take some work of stage3 test. If there is a guide of file
>> system or a instruction , it could be better :-).
>> Pls feel free to let me know if you have any question~
>> Thanks~
>>
>
> There are still two other issues with that work: the CHOST name and the
> structure of the profiles. I've communicated that to the
> gentoo-powerpc@list.gentoo.org and I believe I cc'ed people. Nonetheless
> I think I can fix all these issues, but I'm waiting for the osuosl power8
> ppc64le to be made available.
>
>
>
>> 2015-10-21 13:33 GMT+08:00 Leno Hou <lenohou@gmail.com>:
>>
>> On Wed, Oct 21, 2015 at 10:53 AM, Kevin Zhao <kevin.zhaoshuai@gmail.com>
>>> wrote:
>>>
>>> Hi folks,
>>>> We have finish compiling stage3 by the catalyst. The process is
>>>> seed-stage3--> stage1 --> stage2 --> stage3.
>>>> Here is the link of stage3:
>>>>
>>>>
>>>> https://drive.google.com/file/d/0B2k84p6709AyTFlwLUF1WjlxUk0/view?usp=sharing
>>>> Also , the catalyst spec is in the accessory stage3.spec. The portage
>>>> profiles (/etc/portage)is in the accessory portage.tar.
>>>>
>>>>
>>> And the ppc64le profiles has been pushed to
>>> https://github.com/linux-on-power/gentoo
>>>
>>>
>>>
>>>
>>>>
>>>> 2015-09-29 19:47 GMT+08:00 Leno Hou <lenohou@gmail.com>:
>>>>
>>>>
>>>>> On Sat, Sep 26, 2015 at 6:58 PM, Anthony G. Basile <
>>>>> blueness@gentoo.org>
>>>>> wrote:
>>>>>
>>>>> Hi Leno, Kevin and Linda,
>>>>>>
>>>>>> Let's start working towards becoming a Gentoo developer. The first
>>>>>> step is to read the developer manual and make sure you understand all
>>>>>> aspects of how Gentoo works. Even if you don't wind up doing
>>>>>> everything in
>>>>>> Gentoo, like writing lots of ebuilds or eclasses, its important to
>>>>>> have an
>>>>>> overview. The developer's manual is at
>>>>>> https://devmanual.gentoo.org/
>>>>>> If you have questions, ask.
>>>>>>
>>>>>>
>>>>>> Hi all,
>>>>>
>>>>> Leno, Kevin and Linda will be OFF on Y2015 China National
>>>>> Holiday,
>>>>> from Oct 1 to Oct 11 :-)
>>>>>
>>>>> At this time, we'll read the developer manual and see you next
>>>>> time, thanks.
>>>>>
>>>>> -Leno Hou
>>>>>
>>>>>
>>>>>
>>>>
>
> --
> Anthony G. Basile, Ph.D.
> Gentoo Linux Developer [Hardened]
> E-Mail : blueness@gentoo.org
> GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
> GnuPG ID : F52D4BBA
>
>
[-- Attachment #2: Type: text/html, Size: 5479 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-powerpc] Re: working towards becoming a gentoo developer
2015-10-28 5:38 ` [gentoo-powerpc] Re: working towards becoming a gentoo developer Kevin Zhao
@ 2015-12-07 8:37 ` Kevin Zhao
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Zhao @ 2015-12-07 8:37 UTC (permalink / raw
To: Anthony G. Basile
Cc: Leno Hou, Linda Jiang, Luca Barbato, Justin (jlec),
gentoo-powerpc
[-- Attachment #1.1: Type: text/plain, Size: 6083 bytes --]
Hi All :
Long Time No See~Hope everything goes well:-)
Recently I am working on making ppc64le Gentoo Livecd. Now the newest
status is as below:
1 .I have followed catalyst , build--> livecd-stage1 and
livecd-stage2.
2. Replace the bootloader from yaboot to grub.
3. The grub binaries I have copyed from Rhel7.1-ppc64le
4. Change the boot_info.txt to a new one from Rhel7.1-ppc64le
5. Build a squashfs images.
6. Build a kernel and initramfs (I have check that the kernel is good
when using it replace a ubuntu-ppc64le kernel .)
7. use command "mkisofs -v -r -T -U -l -cache-inodes -chrp-boot -V {
clst_iso_volume_id} -o gentoolive.iso /path/" to generate a Livecd.
Now when loading iso to a guests, I can enter into grub, but have meet
problem when initramfs runs: The details are as belows:
The *grub.cfg* file is as below:
=============================================================================================================
set default=0
set timeout=10
echo -e "\nWelcome to the Gentoo PPC64LE!\n\n"
menuentry "Gentoo PPC64LE" {
* linux /boot/vmlinux-4.2.1-aufs root=/dev/ram0 init=/linuxrc
looptype=squashfs loop=/image.squashfs cdroot ro
*
* echo 'Loading initial ramdisk ..............'*
* initrd /boot/initramfs-genkernel-ppc64le-4.2.1-aufs*
}
menuentry 'Reboot' {
reboot
}
menuentry 'Exit to Open Firmware' {
exit
}
==============================================================================================================
I have loaded it with a guest,guest xml file is here(add two iso just
for compared,one is Gentoo and one is ubuntu ) :
https://bpaste.net/show/271874e8ca8b
But the initramfs will bolcked when mount cdrom device. The error log
Link is: https://bpaste.net/show/f029aff8e633
You can see that , mount -t auto /dev/sr0 /mnt/cdrom failed.
*Also, I enter into busybox, manally use command "mount -t iso9660
/dev/sr0 /mnt/cdrom", it shows "No such device"*
[image: 内嵌图片 1]
* ls -l /dev/ :*
* Find that there are : "/dev/sr0 /dev/sr1",but there is no
"/dev/cdrom"*
* But I 'm sure that kernel has the module "sr_mod" and "cdrom". Because
we have used this kernel and stage3 to make a workable gentoo image(running
in KVM).*
*So, *now I am thinking of asking you for some advice.I've blocked here for
about 2 weeks .Any advice will be really appreciated. Loooooooking forwards
to your reponse :-)
2015-10-28 13:38 GMT+08:00 Kevin Zhao <kevin.zhaoshuai@gmail.com>:
> OK , thanks Anthony😁
>
> 2015-10-27 19:20 GMT+08:00 Anthony G. Basile <blueness@gentoo.org>:
>
>> On 10/27/15 4:58 AM, Kevin Zhao wrote:
>>
>>> Hi Folks,
>>> Last week we compiling a gentoo stage3 for ppc64le and I
>>> send
>>> it to the google drive. The one thing I have to say is that when I
>>> compiling the stage3, I use the gcc flags "-mcpu=power8 -mtune=power8".
>>> After I copy the stage3 to a power7 based ppc64le machine,
>>> chroot to the stage3,running "emerge --info" it shows that "illegal
>>> instruction" . I guess that the stage3 built with the gcc flag
>>> "-mcpu=power8 -mtune=power8".
>>>
>> Yes.
>>
>>> As we know ,our community have a power7, so it may not be
>>> able
>>> to test the new stage3. Leno, Linda and I have some power8 based
>>> machines,
>>> but these machines can not be accessed from outer network, so we could
>>> afford to take some work of stage3 test. If there is a guide of file
>>> system or a instruction , it could be better :-).
>>> Pls feel free to let me know if you have any question~
>>> Thanks~
>>>
>>
>> There are still two other issues with that work: the CHOST name and the
>> structure of the profiles. I've communicated that to the
>> gentoo-powerpc@list.gentoo.org and I believe I cc'ed people. Nonetheless
>> I think I can fix all these issues, but I'm waiting for the osuosl power8
>> ppc64le to be made available.
>>
>>
>>
>>> 2015-10-21 13:33 GMT+08:00 Leno Hou <lenohou@gmail.com>:
>>>
>>> On Wed, Oct 21, 2015 at 10:53 AM, Kevin Zhao <kevin.zhaoshuai@gmail.com>
>>>> wrote:
>>>>
>>>> Hi folks,
>>>>> We have finish compiling stage3 by the catalyst. The process is
>>>>> seed-stage3--> stage1 --> stage2 --> stage3.
>>>>> Here is the link of stage3:
>>>>>
>>>>>
>>>>> https://drive.google.com/file/d/0B2k84p6709AyTFlwLUF1WjlxUk0/view?usp=sharing
>>>>> Also , the catalyst spec is in the accessory stage3.spec. The portage
>>>>> profiles (/etc/portage)is in the accessory portage.tar.
>>>>>
>>>>>
>>>> And the ppc64le profiles has been pushed to
>>>> https://github.com/linux-on-power/gentoo
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> 2015-09-29 19:47 GMT+08:00 Leno Hou <lenohou@gmail.com>:
>>>>>
>>>>>
>>>>>> On Sat, Sep 26, 2015 at 6:58 PM, Anthony G. Basile <
>>>>>> blueness@gentoo.org>
>>>>>> wrote:
>>>>>>
>>>>>> Hi Leno, Kevin and Linda,
>>>>>>>
>>>>>>> Let's start working towards becoming a Gentoo developer. The first
>>>>>>> step is to read the developer manual and make sure you understand all
>>>>>>> aspects of how Gentoo works. Even if you don't wind up doing
>>>>>>> everything in
>>>>>>> Gentoo, like writing lots of ebuilds or eclasses, its important to
>>>>>>> have an
>>>>>>> overview. The developer's manual is at
>>>>>>> https://devmanual.gentoo.org/
>>>>>>> If you have questions, ask.
>>>>>>>
>>>>>>>
>>>>>>> Hi all,
>>>>>>
>>>>>> Leno, Kevin and Linda will be OFF on Y2015 China National
>>>>>> Holiday,
>>>>>> from Oct 1 to Oct 11 :-)
>>>>>>
>>>>>> At this time, we'll read the developer manual and see you next
>>>>>> time, thanks.
>>>>>>
>>>>>> -Leno Hou
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>
>> --
>> Anthony G. Basile, Ph.D.
>> Gentoo Linux Developer [Hardened]
>> E-Mail : blueness@gentoo.org
>> GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
>> GnuPG ID : F52D4BBA
>>
>>
>
[-- Attachment #1.2: Type: text/html, Size: 9434 bytes --]
[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 79291 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-07 8:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <56067A63.5060708@gentoo.org>
[not found] ` <CAGQVrL8yL1hf18waiYp6tjN8bR7YsZpsD=bzrZK6ZOxUWZj=_A@mail.gmail.com>
[not found] ` <CAKe2hGB4ZWsPz19sExZcn6aw9oz+hmUfBfORYoiWrWb9k3u0vA@mail.gmail.com>
[not found] ` <CAGQVrL_63wJ5yvGPtK0pqBXbkFHF29kvgoeEPF+uufSe6_Uc5Q@mail.gmail.com>
[not found] ` <CAKe2hGA+Bqj+epS38FOsdLocsmCNELFe5r9jpWNe7oKs5Pw-fw@mail.gmail.com>
[not found] ` <562F5E0D.6060600@gentoo.org>
2015-10-28 5:38 ` [gentoo-powerpc] Re: working towards becoming a gentoo developer Kevin Zhao
2015-12-07 8:37 ` Kevin Zhao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox