[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Powermac g5 strange colors with gui



Hi Aidan & Rick,

Aiden:    Regarding the Powermac G5 AGP (7.2) it seemed like the PMU option was required for your machine. So we are making progress!
Unfortunately, it seems that i didn't include the windfarm_pm72 driver in the kernel build.
I have corrected that in a new 4.4.0-rc7 rev2 test kernel deb package.

Rick:    In the previous 4.4.0-rc7 kernel build, i had the MD RAID driver was compiled as a module. However i have altered the kernel config and built it in the kernel monolith. Doing it this way also apparently enables the kernel to autodetect the raid array. Perhaps before it didn't load the MD module automatically and thats why it wouldn't mount your lvm2 root volume.... Just a guess. Hopefully i'm right?
I have changed the config in a new 4.4.0-rc7 rev2 test kernel deb package. Fingers crossed!

Haven't played around with a Powermac G5 (7.2) or lvm on linux before.

Thanks for the feedback.

Same deal as before, google drive link below, in the 4.4.0-rc7 folder the kernel has been rebuilt to rev2. Please provide full dmesg logs (just a reminder, i know you guys already do that if possible) :)

Good luck & thanks for trying these test kernel deb packages out.

Best Regards,
Peter

On 03/01/16 14:28, Aidan Sciortino wrote:
Hello,

The kernel works for me. I'm emailing you from the computer now. The fans unfortunately persist in their loudness, but the kernel is booting. I've attached the output of dmesg with this email.

Thanks!

Aidan

On Sat, Jan 2, 2016 at 9:12 PM, Rick Thomas <rbthomas@pobox.com> wrote:
Hi Peter,

On Jan 1, 2016, at 4:35 PM, Peter Saisanas <psaisanas@gmail.com> wrote:

>
> I have also enabled the MD RAID option so hopefully sort out Rick Thomas' issue.
>
> In the google drive link, try the 4.4.0-rc7 kernel and headers in the folder named "linux 4.4.0-rc7 kernel".
>
> Let me know how you go.
>
> Regards,
> Peter

I tried the new 4.4.0-r7 kernel.  Sadly, it failed to boot.  Jpg of screen attached.  It’s a little blurry.  Incase you have trouble reading it, the last few lines of text say:

rtc-generic rtc-generic: setting system clock to 2016-01-03 …
List of all partitions:
No filesystem could mount root, tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.4.0-rc7-powerpc64 #1
Call Trace:
   …
Rebooting in 180 seconds..

In preparation, I did
    dpkg -i linux-headers-4.4.0-rc5-powerpc64_1_powerpc.deb
    dpkg -i linux-headers-4.3.0-powerpc64_1_powerpc.deb
    update-initramfs -u
    ybin -v

I already had made an entry in /etc/yaboot.conf that loads the appropriate kernel and initramfs

The root filesystem is on an LVM2 partition on a RAID1 array

Here’s /etc/fstab:
  # <file system>                     <mount point>        <type>  <options>                    <dump>  <pass>
  /dev/mapper/bigal-root                    /               ext4    errors=remount-ro              0       1
  # /boot was on /dev/sda3 during installation
  UUID=98edd1d7-bbc9-4b56-badb-fd1fbc7be549 /boot           ext2    defaults                       0       2
  /dev/mapper/bigal-home                    /home           ext4    defaults                       0       2
  # swap was on /dev/sda4 during installation
  UUID=f27a5393-93c8-4acd-bccc-c20841d9dfe0 none            swap    sw                             0       0
  # swap was on /dev/sdb4 during installation
  UUID=668affec-5c6c-44fb-aabf-24fbf2d77f42 none            swap    sw                             0       0
  tmpfs                                     /tmp            tmpfs   defaults,size=10G,nr_inodes=1M 0       0
  /dev/sr0                                  /media/cdrom0   udf,iso9660 user,noauto                0       0

And:
  root@bigal:~# lsblk
  NAME             MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
  sda                8:0    0 931.5G  0 disk
  |-sda1             8:1    0  31.5K  0 part
  |-sda2             8:2    0   977K  0 part
  |-sda3             8:3    0 244.1M  0 part  /boot
  |-sda4             8:4    0    10G  0 part  [SWAP]
  |-sda5             8:5    0 921.3G  0 part
  | `-md0            9:0    0 921.2G  0 raid1
  |   |-bigal-root 253:0    0  18.6G  0 lvm   /
  |   `-bigal-home 253:1    0 465.7G  0 lvm   /home
  `-sda6             8:6    0  24.5K  0 part
  sdb                8:16   0 931.5G  0 disk
  |-sdb1             8:17   0  31.5K  0 part
  |-sdb2             8:18   0   977K  0 part
  |-sdb3             8:19   0 244.1M  0 part
  |-sdb4             8:20   0    10G  0 part  [SWAP]
  |-sdb5             8:21   0 921.3G  0 part
  | `-md0            9:0    0 921.2G  0 raid1
  |   |-bigal-root 253:0    0  18.6G  0 lvm   /
  |   `-bigal-home 253:1    0 465.7G  0 lvm   /home
  `-sdb6             8:22   0  24.5K  0 part
  sr0               11:0    1  1024M  0 rom

And /etc/yaboot.conf:
  boot="/dev/disk/by-id/ata-ST1000DX001-1CM162_Z1D8GBH7-part2"
  device=/ht@0,f2000000/pci@9/k2-sata-root@c/k2-sata@0/disk@0
  partition=3
  root="/dev/mapper/bigal-root"
  timeout=50
  install=/usr/lib/yaboot/yaboot
  magicboot=/usr/lib/yaboot/ofboot
  enablecdboot

  image=/vmlinux
        label=Linux
        read-only
        initrd=/initrd.img

  image=/vmlinux.old
        label=old
        read-only
        initrd=/initrd.img.old

  image=/vmlinux-4.4.0-rc7-powerpc64
        label=new
        read-only
        initrd=/vmlinux-4.4.0-rc7-powerpc64

Have I missed something?

Thanks!
Rick




--
Aidan Sciortino
Hacker, Inventor,
Dreamer, Engineer


Reply to: