nello martuscielli | 29 Mar 2011 02:13
Picon

Re: Building QEMU on PS3 (Gentoo/PowerPC)

maybe this is useful:
http://forums.gentoo.org/viewtopic-p-6594579.html#6594579

cheers,
Nell

--
PowerMac G4 450MHz - CRUX PPC 2.7

Johannes Geiss | 22 Mar 2011 21:50
Face
Picon

Are there any Pegasos users?

Hi here,

are there any Pegasos users using Gentoo?

Especially the hardware platform Pegasos II?

I am looking for experiences about building an own kernel for this
architecture. I compile them by myself for some years, but I think I could
be better if I find someone else who is building kernels for Pegasos
II. I am interested to exchange/talk about config files and so on.

Unfortunately Gentoo seems to have dropped kernel support for Pegasos
for some years. No installation disk contains a kernel for this
hardware.

Bye
Johannes
--

-- 

------//--------------------------------------------------------------
     //    Johannes R. Geiss       Zaurus, Pegasos, Amiga and C64 user
 \\ //          PGP at https://pegasos.dnsalias.org/~jgeiss/pgpkey.txt
--\X/-----------------------------------------------------------------
陳韋任 | 23 Feb 2011 07:31
Picon
Favicon

Building QEMU on PS3 (Gentoo/PowerPC)

Hi, folks

  I am trying to build QEMU 0.13/0.14 on a PS3 machine (Gentoo/PowerPC).
But I got a gcc internal error.

  Here is the system information:
------------------------------------------------------------------------
gcc (Gentoo 4.4.4-r2 p1.3, pie-0.4.5) 
Linux ps3 2.6.37-rc6
------------------------------------------------------------------------

  And here is the compliation error:
------------------------------------------------------------------------
  CC    i386-linux-user/translate.o
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
make[1]: *** [translate.o] Error 1
make: *** [subdir-i386-linux-user] Error 2
------------------------------------------------------------------------

  I saw that gentoo has qemu 0.14 in its protage. Do I miss something
while building qemu?

  Thanks!

Regards,
chenwj

--

-- 
(Continue reading)

Konstantin Tokarev | 2 Dec 2010 15:50
Picon
Favicon

-mabi=altivec in CFLAGS

Hi all,

AFAIK, some packages (e.g., dev-cpp/eigen) can use AltiVec vectorization
only when -mabi=altivec is specified in GCC flags.

Is it safe to use -mabi=altivec in global CFLAGS in make.conf?
Does anybody know if the system will perform better or worse in average?

--

-- 
Regards,
Konstantin

Joseph Jezak | 7 Oct 2010 21:16
Picon
Favicon

Re: yaboot has kicked my butt - 5 times?!

 On 10/07/10 14:29, Mark Knecht wrote:
> On Thu, Oct 7, 2010 at 10:34 AM, Joseph Jezak <josejx <at> gentoo.org> wrote:
>>>> Okay, so we fixed the first thing. That's good. :) Can you attach your
>>>> whole kernel config? I'm wondering if maybe udev isn't running properly
>>>> due to a misconfiguration.
>>>>
>>>> -Joe
>>> Attached unless GMail does something to it.
>>>
>>> Thanks,
>>> Mark
>> Another busy week, but I think we might have your answer.
>>
>> Disable these options in your kernel config, recompile and give it a try:
>> CONFIG_SYSFS_DEPRECATED=y
>> CONFIG_SYSFS_DEPRECATED_V2=y
>>
>> I think these options interfere with udev.
>> -Joe
> Thank you Joe. For the first time in a couple of months the machine just booted.
>
> Note that I didn't easily find  CONFIG_SYSFS_DEPRECATED in make
> menuconfig so I only disabled  CONFIG_SYSFS_DEPRECATED_V2 which was
> enough to allow it to boot.
>
> I took a quick look at the PPC install guide and frankly I don't see
> instructions there to disable this option, although I have done this
> on other machines. Is it just me or are the instructions actually not
> in the kernel config section. If they are truly missing then it would
> be great if someone could update that.
(Continue reading)

Dr John Krane | 23 Sep 2010 16:48
Favicon

Re: Unsubscribe request

You should be able to unsubscribe by sending an email to:

gentoo-powerpc-user+unsubscribe <at> lists.gentoo.org

*FROM* the email address you'd like to unsubscribe (this is how you tell
it what address you're using). If you're getting mail from other
addresses forwarded to you account, check the email header to see where
they're being sent from so you can sent it from the right address.

I do not have administrator access to the mailing lists and can't
unsubscribe you.
-Joe



NO KIDDDING!!!!   I have tried that only 30 or 40 times!   It doesn't work!  Can somebody please help me?

     - John


Mark Knecht | 23 Sep 2010 00:59
Picon

yaboot has kicked my butt - 5 times?!

Hi,
  OK, I'm dead tired. I admit it - yaboot has kicked my butt this
time around. Can anyone help? I did post this problem here 2-3 weeks
ago but still haven't been able to solve the problem so I'm back to
the well for another drink.

  The machine is the original 80GB PPC Mac Mini. I used to run Gentoo
on it and it ran great for years so I know at one time yaboot worked
just fine. For various reasons I hadn't updated it in a long, long
time (2 years) and instead of trying to go through the Gentoo update
process which is difficult after that much time I decided to just do a
new install. I saved copies of my kernel config and etc/make.conf but
unfortunately, being primarily an x86 guy didn't think to save
yaboot.conf and fstab. I've now done 5 complete Gentoo installs,
starting over from scratch in case something I was doing was messing
things up but so far I cannot get the machine to boot. Every time, no
matter what I do at install time, I get a message

"Can't check if filesystem is mounted due to a missing mtab file"

A somewhat out of focus screen shot is shown here:

http://www.flickr.com/photos/29328985 <at> N03/5014227831

Generally speaking I'm following the Gentoo PPC install guide located here:

http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1&chap=10

I've tried both the yabootconfig method as well as manual route.
Nothing works for me so far. THey both fail the same way.

It's not in the photo but all the way through the boot the kernel
calls the hard drives /dev/hda so I'm assuming that's correct in
fstab.

The kernel is 2.6.34-gentoo-r2 and the kernel config file is attached.
ext3 is built into the kernel so that shouldn't be a problem. I built
the kernel using the older 2.6.31 kernel config I saved.

As a _hardware_ test I reinstalled the old OS X that came with the
machine and it boots fine. I blew it away and installed Ubuntu 10.04
for the PPC and it boots fine, but Ubuntu uses and initrc which I've
never used before with Gentoo. (And why on this machine as the
hardware is fixed has kernel drivers.)

I'm a long time Gentoo user. The main Gentoo install seems to work
fine on this machine. As best I can tell it's only the yaboot stuff
not booting that's holding me up from using this little machine again.

Can anyone see what I've done wrong?

Thanks,
Mark

livecd ~ # mount /dev/hda4 /mnt/gentoo
livecd ~ # mount -t proc none /mnt/gentoo/proc
livecd ~ # mount -o bind /dev /mnt/gentoo/dev
livecd ~ # mount -o bind /sys /mnt/gentoo/sys
livecd ~ # chroot /mnt/gentoo /bin/bash
livecd / # env-update
>>> Regenerating /etc/ld.so.cache...
livecd / # source /etc/profile
livecd / # export PS1="(chroot) $PS1"
(chroot) livecd / # cat /etc/yaboot.conf

boot=/dev/hda2
#device=/pci <at> f4000000/ata-6 <at> d/disk <at> 0:
device=hd:
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-2.6.34-gentoo-r1
       label=Gentoo-2.6.34-r1
       partition=4
       root=/dev/hda4
       read-only
(chroot) livecd / # mac-fdisk -l /dev/hda
/dev/hda
       #                    type name                  length   base
   ( size )  system
/dev/hda1     Apple_partition_map Apple                     63  <at>  1
   ( 31.5k)  Partition map
/dev/hda2         Apple_Bootstrap bootstrap               1600  <at>  64
   (800.0k)  NewWorld bootblock
/dev/hda3         Apple_UNIX_SVR2 swap                 2097152  <at>  1664
   (  1.0G)  Linux swap
/dev/hda4         Apple_UNIX_SVR2 root               154202672  <at> 
2098816   ( 73.5G)  Linux native

Block size=512, Number of Blocks=156301488
DeviceType=0x0, DeviceId=0x0

(chroot) livecd / # cat /etc/fstab
/dev/hda4   /            ext3    noatime              0 1
/dev/hda3   none         swap    sw                   0 0

/dev/cdrom  /mnt/cdrom   auto    noauto,user          0 0

proc        /proc        proc    defaults             0 0
shm         /dev/shm     tmpfs   nodev,nosuid,noexec  0 0
(chroot) livecd / # ybin -v
ybin: Finding OpenFirmware device path to `/dev/hda2'...
ybin: Installing first stage bootstrap /usr/lib/yaboot/ofboot onto /dev/hda2...
ybin: Installing primary bootstrap /usr/lib/yaboot/yaboot onto /dev/hda2...
ybin: Installing /etc/yaboot.conf onto /dev/hda2...
ybin: Setting attributes on ofboot...
ybin: Setting attributes on yaboot...
ybin: Setting attributes on yaboot.conf...
ybin: Blessing /dev/hda2 with Holy Penguin Pee...
ybin: Updating OpenFirmware boot-device variable in nvram...
(chroot) livecd / # ls -al /boot/kernel*
-rwxr-xr-x 1 root root 5547992 Sep 22 11:06 /boot/kernel-2.6.34-gentoo-r1
(chroot) livecd / # exit
exit
livecd ~ # umount /mnt/gentoo/proc /mnt/gentoo/dev /mnt/gentoo/sys /mnt/gentoo
livecd ~ #
livecd ~ #
Attachment (MacMini.config): application/octet-stream, 54 KiB
Mark Knecht | 12 Sep 2010 18:53
Picon

What should I copy from Ubuntu

Hi,
   Sorry for a semi-cross post between the yaboot list and
Gentoo-ppc-users. I'm hoping to get this worked out today.

   I had trouble a week ago getting a new Gentoo PPC install to boot
on my Mac Mini so for kicks I tried Ubuntu which booted fine. I'd like
to get back to running Gentoo and I'm wondering what information I
should retain from my Ubuntu installation. The new Gentoo install is
back on the Mac Mini and completely up to date, so if I can work out
the booting issue I should be good to go. I have not emerge yaboot as
of yet as I don't want to break Ubuntu until the last moment if
possible.

   To boot do I need anything beyond the info contained in the Ubuntu
yaboot.conf, the hard drive partitioning and fstab to get Gentoo
working? That's should be enough to somehow construct things correctly
in Gentoo, correct?

   Also, the Ubuntu install used an initrd. I presume this is because
their one-size-fits-all approach probably requires drivers to boot a
lot of different machines. Previously when I had this Mac Mini running
Gentoo I didn't use one. I don't need to, correct? (Assuming I can
find and build in the right drivers?) Is there anything about yaboot
vs grub that makes it prefer an initrd? For now I used the Ubuntu
.config for my Gentoo kernel and figured I'd trim it down later after
I get the machine at least booting.

Thanks,
Mark

mark <at> MacMini:~$ cat /etc/yaboot.conf
## yaboot.conf generated by the Ubuntu installer
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
## see also: /usr/share/doc/yaboot/examples for example configurations.
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot=/dev/hda2
device=/pci <at> f4000000/ata-6 <at> d/disk <at> 0:
partition=3
root=/dev/hda3
timeout=50
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot

image=/boot/vmlinux
       label=Linux
       read-only
       initrd=/boot/initrd.img
       append="quiet splash"

image=/boot/vmlinux.old
       label=old
       read-only
       initrd=/boot/initrd.img.old
       append="quiet splash"
mark <at> MacMini:~$

mark <at> MacMini:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/hda3 during installation
UUID=3d688258-e950-4dd7-87cb-48fa887bb493 /               ext4
errors=remount-ro 0       1
# swap was on /dev/hda4 during installation
UUID=a56e05b7-6e4a-4239-83a2-df7e7115a9e8 none            swap    sw
          0       0

/dev/sda1       /media/USB1/video       ext2    rw      0       0
mark <at> MacMini:~$

mark <at> MacMini:~$ sudo mac-fdisk /dev/hda
/dev/hda
Command (? for help): p
/dev/hda
       #                    type name                  length   base
   ( size )  system
/dev/hda1     Apple_partition_map Apple                     63  <at>  1
   ( 31.5k)  Partition map
/dev/hda2         Apple_Bootstrap untitled                2048  <at>  2048
   (  1.0M)  NewWorld bootblock
/dev/hda3         Apple_UNIX_SVR2 untitled            39061504  <at>  4096
   ( 18.6G)  Linux native
/dev/hda4         Apple_UNIX_SVR2 swap                 3905536  <at> 
39065600  (  1.9G)  Linux swap
/dev/hda5              Apple_Free Extra                   1984  <at>  64
   (992.0k)  Free space
/dev/hda6         Apple_UNIX_SVR2 gentoo              41943040  <at> 
42971136  ( 20.0G)  Linux native
/dev/hda7              Apple_Free Extra               71387312  <at> 
84914176  ( 34.0G)  Free space

Block size=512, Number of Blocks=156301488
DeviceType=0x0, DeviceId=0x0

Command (? for help):

Mark Knecht | 31 Aug 2010 21:07
Picon

New install - Unable to get my ppc Mac Mini to boot the root partition

Hi all,
   I have a Mac Mini that I've used for the last couple of years. I
was trying to get it up to date but at some point it failed with a
message about the main root partition not being an ext2 filesystem. I
took the opportunity to rebuild the machine from scratch, at this
point twice, but I continue to get the same message. I'm trying to
determine if something about the machine is completely hosed and the
machine will never work again or if it's just some problem I'm having.

   In these rebuiilds I went the direction of completely wiping the
hard drive and starting from scratch. I used mac-fdisk, hit 'i', had
only the Apple partition map, and then created the next 3 partitions
as per the install guide. The installs (both of them) went cleanly and
I didn't seem to have any problems running yabootconfig as far as I
can tell. No complaints from the software except for my typing a path
to the kernel incorrectly a couple of times. Once I got that right it
seemed to finish and created the yaboot.conf file below.

   When I attempt to boot the system finds the kernel, does all the
early boot stuff, says it finds /dev/hda and /dev/hda, then it starts
the init stuff with the green '*' and [OK] on the right until it wants
to mount the root partition. At that point it tells me the partition
is wrong, not ext2, and quits.

   I don't understand how the partition can be incorrect if it's good
enough to find the kernel to boot.

   Can someone set me right on what I might be doing incorrectly here.
If the info below isn't enough let me know what you need.

Thanks,
Mark

livecd ~ # mac-fdisk /dev/hda
/dev/hda
Command (? for help): p
/dev/hda
        #                    type name                  length   base
    ( size )  system
/dev/hda1     Apple_partition_map Apple                     63  <at>  1
    ( 31.5k)  Partition map
/dev/hda2         Apple_Bootstrap bootstrap               1600  <at>  64
    (800.0k)  NewWorld bootblock
/dev/hda3         Apple_UNIX_SVR2 swap                 2097152  <at>  1664
    (  1.0G)  Linux swap
/dev/hda4         Apple_UNIX_SVR2 root               154202672  <at> 
2098816   ( 73.5G)  Linux native

Block size=512, Number of Blocks=156301488
DeviceType=0x0, DeviceId=0x0

Command (? for help): q
livecd ~ #

livecd ~ # mount /dev/hda4 /mnt/gentoo/
livecd ~ # mount -t proc none /mnt/gentoo/proc
livecd ~ # mount -o bind /dev /mnt/gentoo/dev
livecd ~ # chroot /mnt/gentoo /bin/bash
livecd / # env-update
>>> Regenerating /etc/ld.so.cache...
livecd / # source /etc/profile
livecd / # export PS1="(chroot) $PS1"
(chroot) livecd / # ls -al /boot/
total 5064
drwxr-xr-x  2 root root    4096 Aug 28 16:51 .
drwxr-xr-x 19 root root    4096 Aug 31 10:17 ..
-rw-r--r--  1 root root       0 Aug 22 03:50 .keep
lrwxrwxrwx  1 root root       1 Aug 28 15:23 boot -> .
-rwxr-xr-x  1 root root 5195929 Aug 31 09:31 kernel-2.6.34-gentoo-r1
(chroot) livecd / #

(chroot) livecd / # cat /etc/yaboot.conf
## yaboot.conf generated by yabootconfig 1.0.8
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot=/dev/hda2
device=/pci <at> f4000000/ata-6 <at> d/disk <at> 0:
partition=4
root=/dev/hda4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-2.6.34-gentoo-r1
        label=Linux
        read-only
(chroot) livecd / #

Mark Knecht | 26 Aug 2010 02:31
Picon

Gentoo ppc - still supported?

I was going to download a new iso today. My old PowerPC Mac Mini needs
to be rebuilt and it's so far out of date I figured I'd just do it
from scratch. Anyway, it seems that all the other architectures have
fairly recent iso image dates while the PowerPC seems to be a year
old.

http://mirrors.kernel.org/gentoo/releases/ppc/autobuilds/current-iso/

Or maybe this is just a date problem on the files or something.

- Mark

John Crittall | 5 May 2010 17:46
Picon
Picon

ppc install / bootloader problem.


Dear list,
Would like to enlist some assistance with an install on an IBM 9112-265 Intellistation.
Have followed the liveCD install without many problems.
Have gotten to the yaboot configuration and attempted to configure and have dd'd the kernel file rev 32r7 to the sda1 1meg partition.
Upon reboot the system fails to find the kernel file and boot.

When I have rebooted on the liveCD again and recieved the prompt to work with i have attempted to try and mount the sda3 root partition from the original install. I presume because there is only the LiveCD /etc/fstab with tempfs entries in it  i cannot mount my real root partition and the system knows nothing of the original parttitioned disk from the install.

Could someone direct me on what action to take to mount the original partitions such that i can edit the yaboot config file and achieve a successful boot from scsi disk.
or
can someone please instruct on how to set up yaboot config correctly such that i can reinstall the lot and get the bootloader correct.

Thanks in advance.

JCrittall

Gmane