Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
yaboot not booting ppc64 PowerMac G5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Phredus
n00b
n00b


Joined: 07 Feb 2013
Posts: 47

PostPosted: Tue Jul 29, 2014 1:21 am    Post subject: yaboot not booting ppc64 PowerMac G5 Reply with quote

I am new to yaboot and Mac machines "G5".
Pleas help, thank you.

When booting this error message pops up.

Code:
Welcome to yaboot version 1.3.17
Enter "help" to get some basic usage information
boot: Linux
Please wait,   loading kernel...
/ht@0, f2000000/pci@7/k2-sata-root@c/k2-sata@1/disk@0:4,/boot/kernel-3.12.21-gentoo-r1-edv072814a: No such file or directory


Code:
File: /etc/yaboot.conf                   

## yaboot.conf generated by yabootconfig 1.0.8
##
## run: "man yaboot.conf" for details. Do not make changes unt$
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot=/dev/sda2
device=/ht@0,f2000000/pci@7/k2-sata-root@c/k2-sata@1/disk@0:
partition=4
root=/dev/sda4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-3.12.21-gentoo-r1-edv072814a
        label=Linux
        read-only


Code:
File: /etc/fstab                       
# The root filesystem should have a pass number of either 0 or$
# All other filesystems should have a pass number of 0 or grea$
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>$

# NOTE: If your BOOT partition is ReiserFS, add the notail opt$
# /dev/BOOT             /boot           ext2            noauto$
/dev/sda4               /               ext4            noatim$
/dev/sda3               none            swap            sw    $
/dev/cdrom              /mnt/cdrom      auto            noauto$
/dev/fd0                /mnt/floppy     auto            noauto$




Code:
(chroot) livecd / # lspci
0000:f0:0b.0 Host bridge: Apple Inc. U3H AGP Bridge
0000:f0:10.0 VGA compatible controller: NVIDIA Corporation NV34 [GeForce FX 5200 Ultra] (rev a1)
0001:00:00.0 Host bridge: Apple Inc. U3 HT Bridge
0001:00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] AMD-8131 PCI-X Bridge (rev 12)
0001:00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] AMD-8131 PCI-X Bridge (rev 12)
0001:00:03.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
0001:00:04.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
0001:00:05.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
0001:00:06.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
0001:00:07.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
0001:01:07.0 Unassigned class [ff00]: Apple Inc. K2 KeyLargo Mac/IO (rev 60)
0001:01:08.0 USB controller: Apple Inc. K2 KeyLargo USB
0001:01:09.0 USB controller: Apple Inc. K2 KeyLargo USB
0001:02:01.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
0001:02:0b.0 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:02:0b.1 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:02:0b.2 USB controller: NEC Corporation uPD72010x USB 2.0 Controller (rev 04)
0001:03:0d.0 Unassigned class [ff00]: Apple Inc. K2 ATA/100
0001:03:0e.0 FireWire (IEEE 1394): Apple Inc. K2 FireWire
0001:04:0f.0 Ethernet controller: Apple Inc. K2 GMAC (Sun GEM)
0001:05:0c.0 IDE interface: Broadcom K2 SATA
(chroot) livecd / #


Code:
(chroot) livecd / # lshw
livecd                   
    description: Computer
    product: PowerMac G5
    vendor: Copyright 1983-2004 Apple Computer, Inc. All Rights Reserved
    serial: QPM
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
       clock: 1GHz
       capabilities: powermac7_3 macrisc4 power_macintosh
     *-firmware
          product: OpenFirmware 4
          physical id: 0
          logical name: /proc/device-tree
          capabilities: bootinfo
     *-cpu:0
          description: CPU
          product: PPC970FX, altivec supported
          physical id: 1
          bus info: cpu@0
          version: 3.0 (pvr 003c 0300)
          size: 2GHz
          capacity: 2GHz
          clock: 1GHz
          capabilities: altivec performance-monitor cpufreq
        *-cache:0
             description: L1 Cache
             physical id: 0
             size: 32KiB
        *-cache:1
             description: L2 Cache (unified)
             physical id: 1
             size: 512KiB
             clock: 2GHz (0.5ns)
     *-cpu:1
          description: CPU
          product: PPC970FX, altivec supported
          physical id: 2
          bus info: cpu@1
          version: 3.0 (pvr 003c 0300)
          size: 2GHz
          capacity: 2GHz
          clock: 1GHz
          capabilities: altivec performance-monitor cpufreq
        *-cache:0
             description: L1 Cache
             physical id: 0
             size: 32KiB
        *-cache:1
             description: L2 Cache (unified)
             physical id: 1
             size: 512KiB
             clock: 2GHz (0.5ns)
     *-memory
          description: System memory
          physical id: 3
          size: 4854MiB
     *-pci:0
          description: Host bridge
          product: U3H AGP Bridge
          vendor: Apple Inc.
          physical id: 100
          bus info: pci@0000:f0:0b.0
          version: 00
          width: 32 bits
          clock: 66MHz
          configuration: latency=16
        *-display
             description: VGA compatible controller
             product: NV34 [GeForce FX 5200 Ultra]
             vendor: NVIDIA Corporation
             physical id: 10
             bus info: pci@0000:f0:10.0
             version: a1
             width: 32 bits
             clock: 66MHz
             capabilities: pm agp agp-3.0 vga_controller bus_master cap_list rom
             configuration: driver=nvidiafb latency=16 maxlatency=1 mingnt=5
             resources: irq:48 memory:91000000-91ffffff memory:98000000-9fffffff memory:90000000-9001ffff
     *-pci:1
          description: Host bridge
          product: U3 HT Bridge
          vendor: Apple Inc.
          physical id: 101
          bus info: pci@0001:00:00.0
          version: 00
          width: 32 bits
          clock: 33MHz
        *-pci:0
             description: PCI bridge
             product: AMD-8131 PCI-X Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 1
             bus info: pci@0001:00:01.0
             version: 12
             width: 32 bits
             clock: 66MHz
             capabilities: pci pcix ht normal_decode bus_master cap_list
        *-pci:1
             description: PCI bridge
             product: AMD-8131 PCI-X Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 2
             bus info: pci@0001:00:02.0
             version: 12
             width: 32 bits
             clock: 66MHz
             capabilities: pci pcix ht normal_decode bus_master cap_list
        *-pci:2
             description: PCI bridge
             product: K2 HT-PCI Bridge
             vendor: Apple Inc.
             physical id: 3
             bus info: pci@0001:00:03.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci ht normal_decode bus_master cap_list
             resources: memory:80000000-800fffff
           *-generic
                description: Unassigned class
                product: K2 KeyLargo Mac/IO
                vendor: Apple Inc.
                physical id: 7
                bus info: pci@0001:01:07.0
                version: 60
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master
                configuration: driver=macio latency=16
                resources: irq:0 memory:80000000-8007ffff
           *-usb:0
                description: USB controller
                product: K2 KeyLargo USB
                vendor: Apple Inc.
                physical id: 8
                bus info: pci@0001:01:08.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: ohci bus_master
                configuration: driver=ohci-pci latency=16 maxlatency=86 mingnt=3
                resources: irq:27 memory:80081000-80081fff
           *-usb:1
                description: USB controller
                product: K2 KeyLargo USB
                vendor: Apple Inc.
                physical id: 9
                bus info: pci@0001:01:09.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: ohci bus_master
                configuration: driver=ohci-pci latency=16 maxlatency=86 mingnt=3
                resources: irq:28 memory:80080000-80080fff
        *-pci:3
             description: PCI bridge
             product: K2 HT-PCI Bridge
             vendor: Apple Inc.
             physical id: 4
             bus info: pci@0001:00:04.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci ht normal_decode bus_master cap_list
             resources: memory:80100000-801fffff
           *-network
                description: Network controller
                product: BCM4306 802.11b/g Wireless LAN Controller
                vendor: Broadcom Corporation
                physical id: 1
                bus info: pci@0001:02:01.0
                version: 03
                width: 32 bits
                clock: 33MHz
                capabilities: pm bus_master cap_list
                configuration: driver=b43-pci-bridge latency=16
                resources: irq:57 memory:80104000-80105fff
           *-usb:0
                description: USB controller
                product: OHCI USB Controller
                vendor: NEC Corporation
                physical id: b
                bus info: pci@0001:02:0b.0
                version: 43
                width: 32 bits
                clock: 33MHz
                capabilities: pm ohci bus_master cap_list
                configuration: driver=ohci-pci latency=16 maxlatency=42 mingnt=1
                resources: irq:63 memory:80102000-80102fff
           *-usb:1
                description: USB controller
                product: OHCI USB Controller
                vendor: NEC Corporation
                physical id: b.1
                bus info: pci@0001:02:0b.1
                version: 43
                width: 32 bits
                clock: 33MHz
                capabilities: pm ohci bus_master cap_list
                configuration: driver=ohci-pci latency=16 maxlatency=42 mingnt=1
                resources: irq:63 memory:80101000-80101fff
           *-usb:2
                description: USB controller
                product: uPD72010x USB 2.0 Controller
                vendor: NEC Corporation
                physical id: b.2
                bus info: pci@0001:02:0b.2
                version: 04
                width: 32 bits
                clock: 33MHz
                capabilities: pm ehci bus_master cap_list
                configuration: driver=ehci-pci latency=16 maxlatency=34 mingnt=16
                resources: irq:63 memory:80100000-801000ff
        *-pci:4
             description: PCI bridge
             product: K2 HT-PCI Bridge
             vendor: Apple Inc.
             physical id: 5
             bus info: pci@0001:00:05.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci ht normal_decode bus_master cap_list
             resources: memory:80200000-802fffff
           *-generic
                description: Unassigned class
                product: K2 ATA/100
                vendor: Apple Inc.
                physical id: d
                bus info: pci@0001:03:0d.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master
                configuration: driver=ide-pmac latency=32
                resources: irq:39 memory:80204000-80207fff
              *-ide
                   description: IDE Channel 0
                   physical id: 0
                   bus info: ide@0
                   logical name: ide0
                   clock: 33MHz
                 *-cdrom
                      description: DVD writer
                      product: PIONEER DVD-RW DVR-117D
                      vendor: Pioneer
                      physical id: 0
                      bus info: ide@0.0
                      logical name: /dev/hda
                      logical name: /mnt/cdrom
                      version: B705
                      capabilities: packet atapi cdrom removable nonmagnetic dma lba iordy pm audio cd-r cd-rw dvd dvd-r
                      configuration: mode=udma4 mount.fstype=iso9660 mount.options=ro,relatime state=mounted status=ready
                    *-medium
                         physical id: 0
                         logical name: /dev/hda
                         logical name: /mnt/cdrom
                         capabilities: partitioned partitioned:mac
                         configuration: mount.fstype=iso9660 mount.options=ro,relatime state=mounted
                       *-volume:0 UNCLAIMED
                            description: Apple partition map
                            physical id: 1
                            capacity: 1KiB
                       *-volume:1 UNCLAIMED
                            description: Apple HFS
                            physical id: 2
                            size: 170MiB
                            capabilities: ro bootable hfs initialized
                            configuration: created=2014-07-13 16:11:29 filesystem=hfs label=catalyst 20140713 modified=2014-07-13 16:11:29 state=clean
           *-firewire UNCLAIMED
                description: FireWire (IEEE 1394)
                product: K2 FireWire
                vendor: Apple Inc.
                physical id: e
                bus info: pci@0001:03:0e.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm ohci cap_list
                configuration: latency=248 maxlatency=24 mingnt=12
                resources: memory:80200000-80200fff
        *-pci:5
             description: PCI bridge
             product: K2 HT-PCI Bridge
             vendor: Apple Inc.
             physical id: 6
             bus info: pci@0001:00:06.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci ht normal_decode bus_master cap_list
             resources: memory:80300000-805fffff
           *-network
                description: Ethernet interface
                product: K2 GMAC (Sun GEM)
                vendor: Apple Inc.
                physical id: f
                bus info: pci@0001:04:0f.0
                logical name: enP1p4s15f0
                version: 00
                serial: 00:0d:93:30:d9:e0
                size: 1Gbit/s
                capacity: 1Gbit/s
                width: 32 bits
                clock: 66MHz
                capabilities: bus_master rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=sungem driverversion=1.0 duplex=full ip=192.168.0.6 latency=16 link=yes maxlatency=64 mingnt=64 multicast=yes port=MII speed=1Gbit/s
                resources: irq:41 memory:80400000-805fffff memory:80300000-803fffff
        *-pci:6
             description: PCI bridge
             product: K2 HT-PCI Bridge
             vendor: Apple Inc.
             physical id: 7
             bus info: pci@0001:00:07.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci ht normal_decode bus_master cap_list
             resources: memory:80600000-806fffff
           *-ide
                description: IDE interface
                product: K2 SATA
                vendor: Broadcom
                physical id: c
                bus info: pci@0001:05:0c.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: ide bus_master
                configuration: driver=sata_svw latency=16
                resources: irq:17 memory:80600000-80601fff
     *-scsi
          physical id: 4
          logical name: scsi1
          capabilities: emulated scsi-host
          configuration: driver=sata_svw
        *-disk
             description: ATA Disk
             product: ST3160815AS
             vendor: Seagate
             physical id: 0.0.0
             bus info: scsi@1:0.0.0
             logical name: /dev/sda
             version: 3.AA
             serial: 5RX0Y73R
             size: 149GiB (160GB)
             capabilities: partitioned partitioned:mac
             configuration: ansiversion=5 sectorsize=512
           *-volume:0
                description: Apple partition map
                physical id: 1
                bus info: scsi@1:0.0.0,1
                logical name: /dev/sda1
                capacity: 31KiB
           *-volume:1
                description: Apple Bootstrap
                physical id: 2
                bus info: scsi@1:0.0.0,2
                logical name: /dev/sda2
                size: 797KiB
                capacity: 800KiB
                capabilities: bootable hfs initialized
                configuration: created=2014-07-28 04:02:19 filesystem=hfs label=bootstrap modified=2014-07-28 16:50:21 state=clean
           *-volume:2
                description: Linux swap volume
                physical id: 3
                bus info: scsi@1:0.0.0,3
                logical name: /dev/sda3
                version: 1
                serial: c5bc9de8-e259-4b02-aa45-f517ddb60213
                size: 4GiB
                capacity: 4GiB
                capabilities: swap initialized
                configuration: filesystem=swap label=swap pagesize=4096
           *-volume:3
                description: EXT4 volume
                vendor: Linux
                physical id: 4
                bus info: scsi@1:0.0.0,4
                logical name: /dev/sda4
                logical name: /
                version: 1.0
                serial: c2414377-c5ab-482f-830e-17b404084b8d
                size: 145GiB
                capacity: 145GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                configuration: created=2014-07-20 03:32:22 filesystem=ext4 lastmountpoint=/ modified=2014-07-28 14:30:42 mount.fstype=ext4 mount.options=rw,relatime,data=ordered mounted=2014-07-28 14:30:42 state=mounted
  *-scsi:0
       physical id: 1
       bus info: scsi@0
       logical name: scsi0
       capabilities: scsi-host
       configuration: driver=sata_svw
  *-scsi:1
       physical id: 2
       bus info: scsi@2
       logical name: scsi2
       capabilities: scsi-host
       configuration: driver=sata_svw
  *-scsi:2
       physical id: 3
       bus info: scsi@3
       logical name: scsi3
       capabilities: scsi-host
       configuration: driver=sata_svw
  *-network
       description: Ethernet interface
       physical id: 4
       logical name: dummy0
       serial: 1e:53:9b:22:47:eb
       capabilities: ethernet physical
       configuration: broadcast=yes
(chroot) livecd / # lshw
livecd                   
    description: Computer
    product: PowerMac G5
    vendor: Copyright 1983-2004 Apple Computer, Inc. All Rights Reserved
    serial: QPM
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
       clock: 1GHz
       capabilities: powermac7_3 macrisc4 power_macintosh
     *-firmware
          product: OpenFirmware 4
          physical id: 0
          logical name: /proc/device-tree
          capabilities: bootinfo
     *-cpu:0
          description: CPU
          product: PPC970FX, altivec supported
          physical id: 1
          bus info: cpu@0
          version: 3.0 (pvr 003c 0300)
          size: 2GHz
          capacity: 2GHz
          clock: 1GHz
          capabilities: altivec performance-monitor cpufreq
        *-cache:0
             description: L1 Cache
             physical id: 0
             size: 32KiB
        *-cache:1
             description: L2 Cache (unified)
             physical id: 1
             size: 512KiB
             clock: 2GHz (0.5ns)
     *-cpu:1
          description: CPU
          product: PPC970FX, altivec supported
          physical id: 2
          bus info: cpu@1
          version: 3.0 (pvr 003c 0300)
          size: 2GHz
          capacity: 2GHz
          clock: 1GHz
          capabilities: altivec performance-monitor cpufreq
        *-cache:0
             description: L1 Cache
             physical id: 0
             size: 32KiB
        *-cache:1
             description: L2 Cache (unified)
             physical id: 1
             size: 512KiB
             clock: 2GHz (0.5ns)
     *-memory
          description: System memory
          physical id: 3
          size: 4854MiB
     *-pci:0
          description: Host bridge
          product: U3H AGP Bridge
          vendor: Apple Inc.
          physical id: 100
          bus info: pci@0000:f0:0b.0
          version: 00
          width: 32 bits
          clock: 66MHz
          configuration: latency=16
        *-display
             description: VGA compatible controller
             product: NV34 [GeForce FX 5200 Ultra]
             vendor: NVIDIA Corporation
             physical id: 10
             bus info: pci@0000:f0:10.0
             version: a1
             width: 32 bits
             clock: 66MHz
             capabilities: pm agp agp-3.0 vga_controller bus_master cap_list rom
             configuration: driver=nvidiafb latency=16 maxlatency=1 mingnt=5
             resources: irq:48 memory:91000000-91ffffff memory:98000000-9fffffff memory:90000000-9001ffff
     *-pci:1
          description: Host bridge
          product: U3 HT Bridge
          vendor: Apple Inc.
          physical id: 101
          bus info: pci@0001:00:00.0
          version: 00
          width: 32 bits
          clock: 33MHz
        *-pci:0
             description: PCI bridge
             product: AMD-8131 PCI-X Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 1
             bus info: pci@0001:00:01.0
             version: 12
             width: 32 bits
             clock: 66MHz
             capabilities: pci pcix ht normal_decode bus_master cap_list
        *-pci:1
             description: PCI bridge
             product: AMD-8131 PCI-X Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 2
             bus info: pci@0001:00:02.0
             version: 12
             width: 32 bits
             clock: 66MHz
             capabilities: pci pcix ht normal_decode bus_master cap_list
        *-pci:2
             description: PCI bridge
             product: K2 HT-PCI Bridge
             vendor: Apple Inc.
             physical id: 3
             bus info: pci@0001:00:03.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci ht normal_decode bus_master cap_list
             resources: memory:80000000-800fffff
           *-generic
                description: Unassigned class
                product: K2 KeyLargo Mac/IO
                vendor: Apple Inc.
                physical id: 7
                bus info: pci@0001:01:07.0
                version: 60
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master
                configuration: driver=macio latency=16
                resources: irq:0 memory:80000000-8007ffff
           *-usb:0
                description: USB controller
                product: K2 KeyLargo USB
                vendor: Apple Inc.
                physical id: 8
                bus info: pci@0001:01:08.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: ohci bus_master
                configuration: driver=ohci-pci latency=16 maxlatency=86 mingnt=3
                resources: irq:27 memory:80081000-80081fff
           *-usb:1
                description: USB controller
                product: K2 KeyLargo USB
                vendor: Apple Inc.
                physical id: 9
                bus info: pci@0001:01:09.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: ohci bus_master
                configuration: driver=ohci-pci latency=16 maxlatency=86 mingnt=3
                resources: irq:28 memory:80080000-80080fff
        *-pci:3
             description: PCI bridge
             product: K2 HT-PCI Bridge
             vendor: Apple Inc.
             physical id: 4
             bus info: pci@0001:00:04.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci ht normal_decode bus_master cap_list
             resources: memory:80100000-801fffff
           *-network
                description: Network controller
                product: BCM4306 802.11b/g Wireless LAN Controller
                vendor: Broadcom Corporation
                physical id: 1
                bus info: pci@0001:02:01.0
                version: 03
                width: 32 bits
                clock: 33MHz
                capabilities: pm bus_master cap_list
                configuration: driver=b43-pci-bridge latency=16
                resources: irq:57 memory:80104000-80105fff
           *-usb:0
                description: USB controller
                product: OHCI USB Controller
                vendor: NEC Corporation
                physical id: b
                bus info: pci@0001:02:0b.0
                version: 43
                width: 32 bits
                clock: 33MHz
                capabilities: pm ohci bus_master cap_list
                configuration: driver=ohci-pci latency=16 maxlatency=42 mingnt=1
                resources: irq:63 memory:80102000-80102fff
           *-usb:1
                description: USB controller
                product: OHCI USB Controller
                vendor: NEC Corporation
                physical id: b.1
                bus info: pci@0001:02:0b.1
                version: 43
                width: 32 bits
                clock: 33MHz
                capabilities: pm ohci bus_master cap_list
                configuration: driver=ohci-pci latency=16 maxlatency=42 mingnt=1
                resources: irq:63 memory:80101000-80101fff
           *-usb:2
                description: USB controller
                product: uPD72010x USB 2.0 Controller
                vendor: NEC Corporation
                physical id: b.2
                bus info: pci@0001:02:0b.2
                version: 04
                width: 32 bits
                clock: 33MHz
                capabilities: pm ehci bus_master cap_list
                configuration: driver=ehci-pci latency=16 maxlatency=34 mingnt=16
                resources: irq:63 memory:80100000-801000ff
        *-pci:4
             description: PCI bridge
             product: K2 HT-PCI Bridge
             vendor: Apple Inc.
             physical id: 5
             bus info: pci@0001:00:05.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci ht normal_decode bus_master cap_list
             resources: memory:80200000-802fffff
           *-generic
                description: Unassigned class
                product: K2 ATA/100
                vendor: Apple Inc.
                physical id: d
                bus info: pci@0001:03:0d.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master
                configuration: driver=ide-pmac latency=32
                resources: irq:39 memory:80204000-80207fff
              *-ide
                   description: IDE Channel 0
                   physical id: 0
                   bus info: ide@0
                   logical name: ide0
                   clock: 33MHz
                 *-cdrom
                      description: DVD writer
                      product: PIONEER DVD-RW DVR-117D
                      vendor: Pioneer
                      physical id: 0
                      bus info: ide@0.0
                      logical name: /dev/hda
                      logical name: /mnt/cdrom
                      version: B705
                      capabilities: packet atapi cdrom removable nonmagnetic dma lba iordy pm audio cd-r cd-rw dvd dvd-r
                      configuration: mode=udma4 mount.fstype=iso9660 mount.options=ro,relatime state=mounted status=ready
                    *-medium
                         physical id: 0
                         logical name: /dev/hda
                         logical name: /mnt/cdrom
                         capabilities: partitioned partitioned:mac
                         configuration: mount.fstype=iso9660 mount.options=ro,relatime state=mounted
                       *-volume:0 UNCLAIMED
                            description: Apple partition map
                            physical id: 1
                            capacity: 1KiB
                       *-volume:1 UNCLAIMED
                            description: Apple HFS
                            physical id: 2
                            size: 170MiB
                            capabilities: ro bootable hfs initialized
                            configuration: created=2014-07-13 16:11:29 filesystem=hfs label=catalyst 20140713 modified=2014-07-13 16:11:29 state=clean
           *-firewire UNCLAIMED
                description: FireWire (IEEE 1394)
                product: K2 FireWire
                vendor: Apple Inc.
                physical id: e
                bus info: pci@0001:03:0e.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm ohci cap_list
                configuration: latency=248 maxlatency=24 mingnt=12
                resources: memory:80200000-80200fff
        *-pci:5
             description: PCI bridge
             product: K2 HT-PCI Bridge
             vendor: Apple Inc.
             physical id: 6
             bus info: pci@0001:00:06.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci ht normal_decode bus_master cap_list
             resources: memory:80300000-805fffff
           *-network
                description: Ethernet interface
                product: K2 GMAC (Sun GEM)
                vendor: Apple Inc.
                physical id: f
                bus info: pci@0001:04:0f.0
                logical name: enP1p4s15f0
                version: 00
                serial: 00:0d:93:30:d9:e0
                size: 1Gbit/s
                capacity: 1Gbit/s
                width: 32 bits
                clock: 66MHz
                capabilities: bus_master rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=sungem driverversion=1.0 duplex=full ip=192.168.0.6 latency=16 link=yes maxlatency=64 mingnt=64 multicast=yes port=MII speed=1Gbit/s
                resources: irq:41 memory:80400000-805fffff memory:80300000-803fffff
        *-pci:6
             description: PCI bridge
             product: K2 HT-PCI Bridge
             vendor: Apple Inc.
             physical id: 7
             bus info: pci@0001:00:07.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci ht normal_decode bus_master cap_list
             resources: memory:80600000-806fffff
           *-ide
                description: IDE interface
                product: K2 SATA
                vendor: Broadcom
                physical id: c
                bus info: pci@0001:05:0c.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: ide bus_master
                configuration: driver=sata_svw latency=16
                resources: irq:17 memory:80600000-80601fff
     *-scsi
          physical id: 4
          logical name: scsi1
          capabilities: emulated scsi-host
          configuration: driver=sata_svw
        *-disk
             description: ATA Disk
             product: ST3160815AS
             vendor: Seagate
             physical id: 0.0.0
             bus info: scsi@1:0.0.0
             logical name: /dev/sda
             version: 3.AA
             serial: 5RX0Y73R
             size: 149GiB (160GB)
             capabilities: partitioned partitioned:mac
             configuration: ansiversion=5 sectorsize=512
           *-volume:0
                description: Apple partition map
                physical id: 1
                bus info: scsi@1:0.0.0,1
                logical name: /dev/sda1
                capacity: 31KiB
           *-volume:1
                description: Apple Bootstrap
                physical id: 2
                bus info: scsi@1:0.0.0,2
                logical name: /dev/sda2
                size: 797KiB
                capacity: 800KiB
                capabilities: bootable hfs initialized
                configuration: created=2014-07-28 04:02:19 filesystem=hfs label=bootstrap modified=2014-07-28 16:50:21 state=clean
           *-volume:2
                description: Linux swap volume
                physical id: 3
                bus info: scsi@1:0.0.0,3
                logical name: /dev/sda3
                version: 1
                serial: c5bc9de8-e259-4b02-aa45-f517ddb60213
                size: 4GiB
                capacity: 4GiB
                capabilities: swap initialized
                configuration: filesystem=swap label=swap pagesize=4096
           *-volume:3
                description: EXT4 volume
                vendor: Linux
                physical id: 4
                bus info: scsi@1:0.0.0,4
                logical name: /dev/sda4
                logical name: /
                version: 1.0
                serial: c2414377-c5ab-482f-830e-17b404084b8d
                size: 145GiB
                capacity: 145GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                configuration: created=2014-07-20 03:32:22 filesystem=ext4 lastmountpoint=/ modified=2014-07-28 14:30:42 mount.fstype=ext4 mount.options=rw,relatime,data=ordered mounted=2014-07-28 14:30:42 state=mounted
  *-scsi:0
       physical id: 1
       bus info: scsi@0
       logical name: scsi0
       capabilities: scsi-host
       configuration: driver=sata_svw
  *-scsi:1
       physical id: 2
       bus info: scsi@2
       logical name: scsi2
       capabilities: scsi-host
       configuration: driver=sata_svw
  *-scsi:2
       physical id: 3
       bus info: scsi@3
       logical name: scsi3
       capabilities: scsi-host
       configuration: driver=sata_svw
  *-network
       description: Ethernet interface
       physical id: 4
       logical name: dummy0
       serial: 1e:53:9b:22:47:eb
       capabilities: ethernet physical
       configuration: broadcast=yes
(chroot) livecd / #


I'm not sure what else would relevant. I have compiled 4 other kernels to see if that is the problem. I don't see what the the incorrect entry may be.

I am completely lost on this one
Back to top
View user's profile Send private message
qednet
n00b
n00b


Joined: 11 Feb 2015
Posts: 5

PostPosted: Wed Feb 11, 2015 10:10 am    Post subject: Reply with quote

I've been up to my neck with a G5 recently, maybe I can spot something. Can you capture the output of mac-fdisk on your hard drive, ie mac-fdisk /dev/sda ?
Back to top
View user's profile Send private message
sirtisimacg4
n00b
n00b


Joined: 03 Nov 2013
Posts: 46

PostPosted: Sat Feb 14, 2015 4:40 am    Post subject: Reply with quote

I have a few differences in my yaboot.conf:

where you have:
Code:

device=/ht@0,f2000000/pci@7/k2-sata-root@c/k2-sata@1/disk@0:

I have (using your device instead):
Code:

ofboot=/ht@0,f2000000/pci@7/k2-sata-root@c/k2-sata@1/disk@0:2
device=hd:

I also have:
Code:

root=/dev/sda4

After
Code:

label=Linux

And a
Code:

delay=10

After
Code:

partition=4

Also, make sure you named the boot image in /boot exactly the way you spelled in yaboot.conf
I had the same problem as you and it took a lot of trials of jiggling these commands around before I got it to work.
Back to top
View user's profile Send private message
Atha
Apprentice
Apprentice


Joined: 22 Sep 2004
Posts: 229

PostPosted: Sun May 24, 2015 12:18 pm    Post subject: Reply with quote

http://gentoo-en.vfose.ru/wiki/Apple_Power_Mac_G4_Quicksilver_%28M8493%29#yaboot

Using open firmware supported aliases makes life a lot easier.
Go into open firmware (hold Option + Alt + O + F after switching your Mac on) and at the open firmware prompt enter "devalias" to see valid aliases. Normally they should be:
  • hd: or ide0:
  • ide1:
  • cd:
  • zip:


Some resources for more information:


In your case:
Code:
device=hd:

boot=/dev/sda2
ofboot=hd:2

As far as I remember boot and ofboot represent the Apple_Bootstrap partiton which is where yaboot is installed to, whereas partition= and root= are used for the /boot partition which contains the kernels and initrd images and should be formated with ext2 or another by yaboot supported file system.

I think the PPC installation guide Disks and Bootloader are not so bad…

I hope that helped.
Back to top
View user's profile Send private message
kantharos
n00b
n00b


Joined: 03 May 2005
Posts: 3
Location: Berlin

PostPosted: Mon Jun 22, 2015 6:51 pm    Post subject: Reply with quote

As I remember right, yaboot can't simply read from ext4 partitions (only ext2, ext3, and xfs; but with xfs some quirks exist, too) So use a separate boot partition formatted with ext2 or ext3.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum