LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-19-2023, 05:29 AM   #1
dreadbit
LQ Newbie
 
Registered: Aug 2016
Distribution: Slackware, void
Posts: 27

Rep: Reputation: Disabled
Status of Tumbleweed PPC64 (not PPC64le) port


Hello,
is that ok with PPC64 port? I do not see the latest ISO, nor I see repos for this platform.
Did they drop it or just some delay/reconfiguration of a build system? It'd be a very sad news if they dropped it.
 
Old 10-19-2023, 05:22 PM   #2
ks23
LQ Newbie
 
Registered: Jun 2021
Posts: 3

Rep: Reputation: Disabled
Hi,

it's all there: https://download.opensuse.org/ports/ppc/tumbleweed/iso/

A friend of mine is using it on his Raptor POWER9 (no it's a Amiga X5000). With success.
https://forum.hyperion-entertainment...p=57638#p57638

I'm using Chimera Linux for instance.
https://chimera-linux.org/
 
Old 10-23-2023, 06:05 AM   #3
dreadbit
LQ Newbie
 
Registered: Aug 2016
Distribution: Slackware, void
Posts: 27

Original Poster
Rep: Reputation: Disabled
...as it was found , there ARE problems ;-(
 
Old 10-23-2023, 07:17 AM   #4
ks23
LQ Newbie
 
Registered: Jun 2021
Posts: 3

Rep: Reputation: Disabled
Big-endian distributions have a problem per se. They are a dying species. Only a few are left.

Adélie Linux
https://www.adelielinux.org/

Bedrock Linux
https://bedrocklinux.org/

CentOS 7.9 (POWER7 only)
http://ftp.bme.hu/centos-altarch/7.9.2009/isos/ppc64/

Chimera Linux
https://chimera-linux.org/

CruxPPC
https://github.com/cruxppc/

Debian sid
https://cdimage.debian.org/cdimage/ports/current/

Fienix (based on Debian sid)
https://fienixppc.blogspot.com/

Gentoo
https://www.gentoo.org/

Glasnost Linux
https://www.glasnost.org/

MintPPC (based on Debian sid)
http://mintppc.nl/

PowerEL (POWER8+ only)
https://www.powerel.org/

Ubuntu 16.04
http://ports.ubuntu.com/ubuntu-ports...rpc64/netboot/

T2 SDE
http://t2sde.org/
 
1 members found this post helpful.
Old 10-23-2023, 07:35 AM   #5
ks23
LQ Newbie
 
Registered: Jun 2021
Posts: 3

Rep: Reputation: Disabled
Big-Endian distributions have a problem per se. It's a dying species. Only a few are left.

Adélie Linux

Bedrock Linux

CentOS 7.9 (POWER7 only)

Chimera Linux

CruxPPC

Debian sid

Fienix (based on Debian sid)

Gentoo

Glasnost Linux

MintPPC (based on Debian sid)

PowerEL (POWER8+ only)

T2 SDE

Ubuntu 16.04
 
1 members found this post helpful.
Old 10-29-2023, 10:31 AM   #6
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
If someone is interested on powerpc-be status those are my tests on 9111-985 IBM Workstation (power5)

Code:
Linux Debian 8: This is one of the few working, but is outdated

Linux Debian 11: Is only for PPC64le

Adelie Linux: DON'T BOOT

Linux Debian 12 (is a port for ppc64): boot but..kernel panic.

Centos 6 ppc64: boot but is EOL

Centos 7 ppc64: kernel panic

Gentoo ppc64: Boot and hang after 1 minute with no error, probably a panic.
Ubuntu LTS 14.04 and 16.04: boot fine with this cli

Code:
boot: install-powerpc64 console=hvc0 console=tty0 console=tty1 console=ttyS0,9600n8 console=ttyS1,9600n8
Opensuse LEAP PPC64: This is one of the few which boot but cannot mount the root, probably because my Workstation dvd readers are IDE/ATAPI and as I know modern Linux distro's don't enable in the kernel the ide modules.
Trying to use the network give me those problems:
Code:
vim /etc/dhcp/dhcpd.conf

    allow bootp;
    host ibmlinux {
    hardware ethernet ***;
    fixed-address 192.168.0.10;
    filename "/core.elf";
    }
this is the /srv/tftp directory contents (i have only omitted the modules to save space)

Code:
/srv/tftp
    /srv/tftp/boot
    /srv/tftp/boot/ppc64
    /srv/tftp/boot/ppc64/grub2-ieee1275
    /srv/tftp/boot/ppc64/grub2-ieee1275/locale
    /srv/tftp/boot/ppc64/grub2-ieee1275/locale/en.mo
    /srv/tftp/boot/ppc64/grub2-ieee1275/powerpc-ieee1275
    /srv/tftp/boot/ppc64/grub2-ieee1275/powerpc-ieee1275/adler32.mod
    /srv/tftp/boot/ppc64/grub2-ieee1275/powerpc-ieee1275/affs.mod
    /srv/tftp/boot/ppc64/grub2-ieee1275/powerpc-ieee1275/afs.mod
    /srv/tftp/boot/ppc64/grub2-ieee1275/powerpc-ieee1275/afsplitter.mod
    /srv/tftp/boot/ppc64/grub2-ieee1275/powerpc-ieee1275/all_video.mod
    /srv/tftp/boot/ppc64/grub2-ieee1275/powerpc-ieee1275/appended_signature_test.mod
    /srv/tftp/boot/ppc64/grub2-ieee1275/powerpc-ieee1275/appendedsig.mod
    /srv/tftp/boot/ppc64/grub2-ieee1275/powerpc-ieee1275/archelp.mod
    /srv/tftp/boot/ppc64/grub2-ieee1275/powerpc-ieee1275/asn1.mod
    /srv/tftp/boot/ppc64/grub2-ieee1275/powerpc-ieee1275/bfs.mod
    /srv/tftp/boot/ppc64/grub2-ieee1275/powerpc-ieee1275/bitmap.mod
    .....
    /srv/tftp/boot/ppc64/grub2-ieee1275/core.elf
    /srv/tftp/boot/ppc64/grub2-ieee1275/grub.cfg
    /srv/tftp/boot/ppc64/initrd
    /srv/tftp/boot/ppc64/libyui-rest-api
    /srv/tftp/boot/ppc64/linux
    /srv/tftp/core.elf
on Openfirmware prompt I've typed

boot net and...

Code:
 0 > boot net

    BOOTP: chosen-network-type = ethernet,auto,rj45,auto
    BOOTP: server   IP =        0.0.0.0
    BOOTP: requested filename =
    BOOTP: client   IP =        0.0.0.0
    BOOTP: client   HW addr =   **********
    BOOTP: gateway  IP =        0.0.0.0
    BOOTP: device    /pci@800000020000004/pci@2,4/ethernet@1
    BOOTP: loc-code  U787F.001.DPM5MVH-P1-T5


    BOOTP: wait 60 seconds for Spanning Tree ...
    
    BOOTP R = 1 BOOTP S = 2
    FILE: /core.elf
    FINAL Packet Count = 431
    FINAL File Size = 220216 bytes.
    load-base=0x4000
    real-base=0x2000000
    
    Elapsed time since release of system processors: 3 mins 13 secs
    Calling ibm,client-architecture-support...done
    Welcome to GRUB!
    
    error: ../../grub-core/net/net.c:186:timeout: could not resolve hardware address
    .
    Entering rescue mode...
    grub rescue>

Last edited by camerabambai; 10-30-2023 at 11:48 PM.
 
Old 10-29-2023, 10:55 AM   #7
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
Trying chimera Linux and..

Booting a command list

Code:
OF stdout device is: /vdevice/vty@30000000
Preparing to boot Linux version 6.1.53-0-generic (chimera@chimera) (clang version 16.0.6, LLD 16.0.6) #1 SMP Wed Sep 13 22:57:32 UTC 2023
Detected machine type: 0000000000000101
command line: BOOT_IMAGE=/live/vmlinux boot=live init=/usr/bin/init loglevel=4
Max number of cores passed to firmware: 1024 (NR_CPUS = 2048)
Calling ibm,client-architecture-support... not implemented
    \
Elapsed time since release of system processors: 5 mins 9 secs
Welcome to GRUB!
error: unrecognized number.
The second try lead to usually kernel panic

Code:
OF stdout device is: /vdevice/vty@30000000
Preparing to boot Linux version 6.1.53-0-generic (chimera@chimera) (clang version 16.0.6, LLD 16.0.6) #1 SMP Wed Sep 13 22:57:32 UTC 2023
Detected machine type: 0000000000000101
command line: BOOT_IMAGE=/live/vmlinux boot=live init=/usr/bin/init loglevel=4
Max number of cores passed to firmware: 1024 (NR_CPUS = 2048)
Calling ibm,client-architecture-support... not implemented
memory layout at init:
  memory_limit : 0000000000000000 (16 MB aligned)
  alloc_bottom : 00000000095db000
  alloc_top    : 0000000010000000
  alloc_top_hi : 00000006d4000000
  rmo_top      : 0000000010000000
  ram_top      : 00000006d4000000
found display   : /pci@800000020000004/pci@2,2/pci@1/display@0, opening... done
instantiating rtas at 0x000000000f6a1000... done
prom_hold_cpus: skipped
copying OF device tree...
Building dt strings...
Building dt structure...
Device tree strings 0x00000000095dc000 -> 0x00000000095dd3e8
Device tree struct  0x00000000095de000 -> 0x00000000095fb000
[    0.068699] PCI: failed to find MSIs for bridge /pci@800000020000002 (domain 2)
[    0.068798] PCI: failed to find MSIs for bridge /pci@800000020000003 (domain 3)
[    0.068907] PCI: failed to find MSIs for bridge /pci@800000020000004 (domain 4)
[    0.085330] BUG: Kernel NULL pointer dereference at 0x000000c8
[    0.085341] Faulting instruction address: 0xc000000000117080
[    0.085350] Oops: Kernel access of bad area, sig: 11 [#1]
[    0.085358] BE PAGE_SIZE=4K MMU=Hash SMP NR_CPUS=2048 NUMA pSeries
[    0.085368] Modules linked in:
[    0.085374] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.1.53-0-generic #1
[    0.085384] Hardware name: IBM,9111-285 POWER5+ (gs) 0x3b0301 of:IBM,SF240_382 pSeries
[    0.085393] NIP:  c000000000117080 LR: c000000000117054 CTR: c000000000116f70
[    0.085402] REGS: c0000000022732b0 TRAP: 0380   Not tainted  (6.1.53-0-generic)
[    0.085411] MSR:  8000000000009032 <SF,EE,ME,IR,DR,RI>  CR: 28000482  XER: 20000010
[    0.085432] IRQMASK: 0 
[    0.085432] GPR00: c000000000117054 c000000002273550 c0000000012995d0 0000000000000000 
[    0.085432] GPR04: 0000000000000000 000000000000006e 000000000000006c c000000002797030 
[    0.085432] GPR08: 00000000000003d1 0000000000000000 0000000000000003 c000000001144d44 
[    0.085432] GPR12: c000000000116f70 c00000000f6a0600 c000000000012778 0000000000000000 
[    0.085432] GPR16: c0000000021d2180 0000000000000010 c00000000249e000 c0000000010c1dee 
[    0.085432] GPR20: c000000001a80418 0000000000000000 c000000001a803e0 0000000000000000 
[    0.085432] GPR24: 0000000000000001 c0000000011272b2 c0000000010afa40 c00000000111a7b0 
[    0.085432] GPR28: 0000000000000000 0000000000000000 c0000000024a4000 c000000002273550 
[    0.085545] NIP [c000000000117080] pci_dma_bus_setup_pSeriesLP+0x110/0x370
[    0.085558] LR [c000000000117054] pci_dma_bus_setup_pSeriesLP+0xe4/0x370
[    0.085569] Call Trace:
[    0.085574] [c000000002273550] [c000000000117054] pci_dma_bus_setup_pSeriesLP+0xe4/0x370 (unreliable)
[    0.085590] [c000000002273610] [c00000000007db04] pcibios_setup_bus_self+0x314/0x380
[    0.085603] [c000000002273720] [c000000000080600] __of_scan_bus+0x200/0x2c0
[    0.085615] [c000000002273810] [c00000000007f1c8] pcibios_scan_phb+0x1c8/0x3d0
[    0.085627] [c0000000022738b0] [c0000000012acb90] pcibios_init+0x88/0x11c
[    0.085640] [c000000002273930] [c000000000011f50] do_one_initcall+0xf0/0x350
[    0.085653] [c000000002273c70] [c00000000129a850] do_initcall_level+0xd8/0x17c
[    0.085666] [c000000002273cc0] [c00000000129a710] do_initcalls+0x8c/0xf4
[    0.085679] [c000000002273d50] [c00000000129a46c] kernel_init_freeable+0x194/0x230
[    0.085693] [c000000002273da0] [c0000000000127ac] kernel_init+0x3c/0x230
[    0.085705] [c000000002273e10] [c00000000000d4dc] ret_from_kernel_thread+0x5c/0x64
[    0.085717] Instruction dump:
[    0.085723] 48abde59 60000000 28230000 40820014 eb9c0068 283c0000 4082ff98 48000008 
[    0.085743] 7f97e378 3b000001 60000000 7efcbb78 <eb3c00c8> 60000000 e8790028 28230000 
[    0.085764] ---[ end trace 0000000000000000 ]---
[    0.092641] 
[    1.091114] note: swapper/0[1] exited with irqs disabled
[    1.091171] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.106458] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---

Last edited by camerabambai; 10-29-2023 at 10:58 AM.
 
Old 10-29-2023, 11:04 AM   #8
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
I run chimera Linux on a ppc VM using qemu (very slow even on a modern x86 cpu)
and checking the kernel it show the IDE support is missing, so is impossible to
read the dvd

Code:
zgrep -i ide /proc/config.gz |grep -vi video
# CONFIG_PARIDE is not set
# CONFIG_SPIDER_NET is not set
someone know if is possible to pass a command line for kernel, to read from a usb dvd-rom?
My idea is to boot from ide-dvd reader and then "pass" to usb-dvd reader, which is supported by kernel, is possible?
I have tried to pass root=/dev/sde1 (sde is the usb disk) but fail

Last edited by camerabambai; 10-29-2023 at 11:31 AM.
 
Old 10-30-2023, 02:45 AM   #9
dreadbit
LQ Newbie
 
Registered: Aug 2016
Distribution: Slackware, void
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camerabambai View Post
Opensuse LEAP PPC64: This is one of the few which boot but cannot mount the root, probably because my Workstation dvd readers are IDE/ATAPI and as I know modern Linux distro's don't enable in the kernel the ide modules.
You can install it, and transfer some your custom kernel to that.
You can take Void PPC which is just abandoned and start from here. At least that is what I do on G5 iMac. Start to boot it, edit grub in menu, append your's root= and go forth.

I've tried Chimera too, but also met a bug during grub installation (some file missing), so it installs, but does not boot. Maybe I'll try to boot it via yaboot, maybe I'll build grub from source -- several options.

Last edited by dreadbit; 10-30-2023 at 02:49 AM.
 
1 members found this post helpful.
Old 10-30-2023, 11:20 PM   #10
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
atm I'm trying Ubuntu 16.04, the installation start


Code:
boot: install-powerpc64 console=hvc0 console=tty0 console=tty1 console=ttyS0,9600,8,n,1 console=ttyS1,9600,8,n,1
will work? ... I hope

edit1: don't work, at the installer ask me select language and..console is freeze

but when I press the power button..

Code:
[  162.915602] Power off requested                                                                          
[  168.042714] reboot: Power down

Last edited by camerabambai; 10-31-2023 at 12:08 AM.
 
Old 11-01-2023, 12:09 AM   #11
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
Tried the latest kernel on Debian 12 ppc sid, using a .config from Opensuse ppc64, recompiled, installed, boot and..

Code:
 1.997653][    T1] pci 0003:00:02.3: No hypervisor support for SR-IOV on this device, IOV BARs disabled.
[    1.999354][    T1] pci 0003:00:02.4: No hypervisor support for SR-IOV on this device, IOV BARs disabled.
[    2.001036][    T1] pci 0003:00:02.2: No hypervisor support for SR-IOV on this device, IOV BARs disabled.
[    2.286654][    T1] pci 0003:00:02.6: No hypervisor support for SR-IOV on this device, IOV BARs disabled.
[    2.288346][    T1] pci 0003:00:02.0: No hypervisor support for SR-IOV on this device, IOV BARs disabled.
[    2.289591][    T1] BUG: Kernel NULL pointer dereference at 0x000000c8
[    2.289605][    T1] Faulting instruction address: 0xc00000000010e9fc
[    2.289620][    T1] Oops: Kernel access of bad area, sig: 11 [#1]
[    2.289632][    T1] BE PAGE_SIZE=64K MMU=Hash SMP NR_CPUS=2048 NUMA pSeries
[    2.289647][    T1] Modules linked in:
[    2.289660][    T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.6.0-1-default #3 301af5b5c18e8234c79bb5aeeb09530141dad898
[    2.573841][    T1] Hardware name: IBM,9111-285 POWER5+ (gs) 0x3b0301 of:IBM,SF240_382 pSeries
[    2.573856][    T1] NIP:  c00000000010e9fc LR: c00000000010e9e8 CTR: c00000000010e980
[    2.573871][    T1] REGS: c00000000343b5e0 TRAP: 0380   Not tainted  (6.6.0-1-default)
[    2.573886][    T1] MSR:  8000000000009032 <SF,EE,ME,IR,DR,RI>  CR: 28002284  XER: 20000006
[    2.573914][    T1] IRQMASK: 0 
[    2.573914][    T1] GPR00: c00000000010e9e8 c00000000343b880 c000000001a89c00 0000000000000000 
[    2.573914][    T1] GPR04: c000000001425ed0 0000000000000000 0000000000000001 fffffffffffe0000 
[    2.573914][    T1] GPR08: 0000000000000000 0000000000000000 c000000002c9e7f0 0000000000000000 
[    2.573914][    T1] GPR12: c00000000010e980 c000000002cb0000 c0000000000103a8 0000000000000000 
[    2.573914][    T1] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    2.573914][    T1] GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    2.573914][    T1] GPR24: c000000001414618 0000000000000000 c0000006d3fee490 0000000000000000 
[    2.573914][    T1] GPR28: c000000002d5b000 c000000002d5b000 c000000002d5b000 0000000000000000 
[    2.606276][    T1] NIP [c00000000010e9fc] pci_dma_bus_setup_pSeriesLP+0x7c/0x2c0
[    2.606296][    T1] LR [c00000000010e9e8] pci_dma_bus_setup_pSeriesLP+0x68/0x2c0
[    2.606315][    T1] Call Trace:
[    2.897342][    T1] [c00000000343b880] [c00000000010e9e8] pci_dma_bus_setup_pSeriesLP+0x68/0x2c0 (unreliable)
[    2.897365][    T1] [c00000000343b950] [c000000000079af0] pcibios_setup_bus_self+0x1f0/0x380
[    2.897387][    T1] [c00000000343ba30] [c00000000007b56c] __of_scan_bus+0x2cc/0x310
[    2.897407][    T1] [c00000000343bb10] [c0000000000780b0] pcibios_scan_phb+0x3d0/0x410
[    2.897426][    T1] [c00000000343bbd0] [c0000000020147cc] pcibios_init+0x94/0x134
[    2.897445][    T1] [c00000000343bc50] [c00000000000fcf0] do_one_initcall+0x60/0x390
[    2.897464][    T1] [c00000000343bd30] [c0000000020058a4] kernel_init_freeable+0x338/0x3dc
[    2.897483][    T1] [c00000000343bdf0] [c0000000000103d0] kernel_init+0x30/0x1b0
[    3.183977][    T1] [c00000000343be50] [c00000000000d394] ret_from_kernel_user_thread+0x14/0x1c
[    3.183997][    T1] --- interrupt: 0 at 0x0
[    3.184008][    T1] NIP:  0000000000000000 LR: 0000000000000000 CTR: 0000000000000000
[    3.184023][    T1] REGS: c00000000343be80 TRAP: 0000   Not tainted  (6.6.0-1-default)
[    3.184038][    T1] MSR:  0000000000000000 <>  CR: 00000000  XER: 00000000
[    3.184054][    T1] IRQMASK: 0 
[    3.184054][    T1] GPR00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    3.184054][    T1] GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    3.184054][    T1] GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    3.184054][    T1] GPR12: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    3.184054][    T1] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    3.184054][    T1] GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    3.184054][    T1] GPR24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    3.184054][    T1] GPR28: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    3.217391][    T1] NIP [0000000000000000] 0x0
[    3.217403][    T1] LR [0000000000000000] 0x0
[    3.217414][    T1] --- interrupt: 0
[    3.217424][    T1] Code: f9210068 41820220 ebfd03d0 60000000 7fe3fb78 38810068 4bffe5f5 eb210068 2c390000 7c7f1b78 4e000000 41820094 <ebdf00c8> 60000000 eb5e0028 2c3a0000 
[    3.506915][    T1] ---[ end trace 0000000000000000 ]---
[    3.513289][    T1] pstore: backend (nvram) writing error (-1)
[    3.513301][    T1] 
[    4.511775][    T1] note: swapper/0[1] exited with irqs disabled
[    4.511798][    T1] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    4.526495][    T1] Rebooting in 90 seconds..
Power5 is still officially support in kernel, but no modern Linux (Debian sid, Opensuse) will load, with custom or default kernel.
The same error message happen using the official kernel of Debian sid ppc port.
Actually the only distro which run on 9111-285 is Debian 8 (yaboot don't boot, must use grub)

Last edited by camerabambai; 11-02-2023 at 02:58 PM.
 
Old 11-02-2023, 10:38 PM   #12
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
Opensuse tumbleweed installed "from scratch"
on 9111-285, error after initrd load.


Code:
 Booting a command list

Loading Linux 6.3.9-1-default ...
Loading initial ramdisk ...
OF stdout device is: /vdevice/vty@30000000
Preparing to boot Linux version 6.3.9-1-default (geeko@buildhost) (gcc (SUSE Linux) 13.1.1 20230522 [revision dd36656ada05731c069ecd5b1878380294fb1f3e], GNU ld (GNU Binutils; openSUSE Tumbl)
Detected machine type: 0000000000000101
command line: BOOT_IMAGE=/boot/vmlinux-6.3.9-1-default root=/dev/mapper/Ibmlinux-ROOT
Max number of cores passed to firmware: 1024 (NR_CPUS = 2048)
Calling ibm,client-architecture-support... not implemented
memory layout at init:
  memory_limit : 0000000000000000 (16 MB aligned)
  alloc_bottom : 000000000fe50000
  alloc_top    : 0000000010000000
  alloc_top_hi : 00000006d4000000
  rmo_top      : 0000000010000000
  ram_top      : 00000006d4000000
found display   : /pci@800000020000004/pci@2,2/pci@1/display@0, opening... done
Could not allocate memory for RTAS

Last edited by camerabambai; 11-02-2023 at 11:25 PM.
 
Old 11-03-2023, 03:29 AM   #13
dreadbit
LQ Newbie
 
Registered: Aug 2016
Distribution: Slackware, void
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camerabambai View Post
Opensuse tumbleweed installed "from scratch"
on 9111-285, error after initrd load.
I use kernel from this this config without initrd. Found link to that on Gentoo forum.
(actually I find that noisy, it rotates fans in iMac iSight, also it has no /proc/config.gz , but that is working for me on the specified hardware).
 
1 members found this post helpful.
Old 11-04-2023, 05:17 PM   #14
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
Quote:
Originally Posted by dreadbit View Post
I use kernel from this this config without initrd. Found link to that on Gentoo forum.
(actually I find that noisy, it rotates fans in iMac iSight, also it has no /proc/config.gz , but that is working for me on the specified hardware).
Thanks I will try it asap

Last edited by camerabambai; 11-04-2023 at 05:24 PM.
 
Old 11-05-2023, 08:47 PM   #15
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
BINGO!

After one week and a lot of time I have finally boot a Linux ppc64 distro.
The distro is Debian 12/13 Sid/Trixie (in the iso appear the 12, but cat /etc/debian_version report Trixie)

This is how I did for install (you need some little skills: how create fs, know how to create a chroot, known qemu..)

I decline any responsibility in case of damage, of course. Proceed at your own risk

a)Install directly from DVD or Network is useless, go directly to a kernel panic

b)I have installed first the system (on a qemu-ppc-64 Virtual Machine, then I boot it to check if works..)
and works.

c)Now we have to create a custom kernel for the problematic 9111-285 Ibm Workstation
so I boot the vm + a USB empty disk in a X86 pc

Code:
#!/bin/bash

CDROM=/dev/sr0
DISCO=linux.qcow2
RAM=4096
BOOT=d

qemu-system-ppc64 -m $RAM \
-boot $BOOT \
-drive file=$DISCO,if=none,id=drive-virtio-disk0 \
-device virtio-scsi-pci,id=scsi \
-device scsi-hd,drive=drive-virtio-disk0 -drive file=/dev/sdd,if=virtio \
-netdev tap,id=n1,ifname=tap1,script=no,downscript=no -device virtio-net,netdev=n1 -smp 4 -cdrom $CDROM -accel tcg -nographic
d)after the system boot, we want to create a new system with a custom kernel on empty disk, so we partition the disk in this way (the system see it as /dev/vda)

Code:
fdisk -l /dev/vda
Device     Boot Start       End   Sectors   Size Id Type
/dev/vda1  *     2048     16383     14336     7M 41 PPC PReP Boot
/dev/vda2       16384 558817279 558800896 266,5G 8e Linux LVM

sfdisk -d /dev/vda
label: dos
label-id: 0xc9c164f5
device: /dev/vda
unit: sectors
sector-size: 512

/dev/vda1 : start=        2048, size=       14336, type=41, bootable
/dev/vda2 : start=       16384, size=   558800896, type=8e
e)we can format the vda2 partition in the way we want, personally I use lvm+ext4 because is safe and tested
there is no need to separate boot partition, we mount the lvm root on /mnt

Code:
pvcreate /dev/vda2
vgcreate myvg /dev/vda2
lvcreate -n root -L 50G myvg
lvcreate -n home -L 50G myvg
lvcreate -n swap -L 16G myvg
mount /dev/myvg/root /mnt
mount /dev/myvg/home /mnt/home
f)we can use debootstrap program but..
it fail

g)so I have follow this strange way I have download all this stuff (ignore missing packages) for ppc64 (site debian-packages)

Code:
adduser
apt
apt-transport-https
apt-utils
base-files
base-passwd
bash
bash-completion
bsdmainutils
bsdutils
ca-certificates
coreutils
cpio
cron
dash
debconf
debconf-i18n
debian-archive-keyring
debian-ports-archive-keyring
debianutils
diffutils
dmidecode
dmsetup
dpkg
e2fslibs
e2fsprogs
findutils
gcc-6-base
gnupg
gnupg-agent
gpgv
grep
gzip
hostname
ifupdown
init
init-system-helpers
iproute2
iptables
iputils-ping
isc-dhcp-client
isc-dhcp-common
kmod
libacl1
libapparmor1
libapt-inst2.0
libapt-pkg
libapt-pkg6.0
libassuan0
libattr1
libaudit-common
libaudit1
libblkid1
libbsd0
libbz2-1.0
libc-bin
libc6
libcap-ng0
libcap2
libcomerr2
libcrypt1
libcryptsetup4
libcurl3-gnutls
libdb5.3
libdebconfclient0
libdevmapper1.02.1
libdns-export162
libelf1
libestr0
libfastjson4
libfdisk1
libffi6
libgcc-s1
libgcc1
libgcrypt20
libgdbm3
libgmp10
libgnutls30
libgpg-error0
libgssapi-krb5-2
libhogweed4
libhogweed6
libidn11
libidn2-0
libip4tc0
libip6tc0
libiptc0
libisc-export160
libk5crypto3
libkeyutils1
libkmod2
libkrb5-3
libkrb5support0
libksba8
libldap-2.4-2
libldap-common
liblocale-gettext-perl
liblogging-stdlog0
liblognorm5
liblz4-1
liblzma5
libmd0
libmnl0
libmount1
libncurses5
libncursesw5
libnetfilter-conntrack3
libnettle6
libnettle8
libnewt0.52
libnfnetlink0
libnghttp2-14
libnpth0
libp11-kit0
libpam-modules
libpam-modules-bin
libpam-runtime
libpam0g
libpcre2-16-0
libpcre2-8-0
libpcre3
libpipeline1
libpopt0
libprocps6
libpsl5
libreadline7
librtmp1
libsasl2-2
libsasl2-modules-db
libseccomp2
libselinux1
libsemanage-common
libsemanage1
libsepol1
libslang2
libsmartcols1
libsqlite3-0
libss2
libssh2-1
libssl1.0.2
libssl1.1
libstdc++6
libsystemd0
libtasn1-6
libtext-charwidth-perl
libtext-iconv-perl
libtext-wrapi18n-perl
libtinfo5
libtinfo6
libudev1
libunistring0
libunistring5
libustr-1.0-1
libuuid1
libxapian30
libxtables12
libxxhash0
libzstd1
login
logrotate
lsb-base
mawk
mount
multiarch-support
nano
ncurses-base
ncurses-bin
netbase
openssl
passwd
perl-base
pinentry-curses
procps
readline-common
rsyslog
sed
sensible-utils
systemd
systemd-sysv
sysvinit-utils
tar
tasksel
tasksel-data
tzdata
udev
util-linux
vim-common
vim-tiny
wget
whiptail
xxd
zlib1g
zstd
and I decompress it in the "newroot" /mnt

how to do? use a script like this

Code:
vim script.sh

#!/bin/bash

set -x
ar x $1 && tar -xvf data.tar.?z && rm *z
and exec it for all .deb files downloaded (I put those in the directory /mnt/paccgh)

Code:
cd /mnt
find paccgh/ -type f -name *deb -exec ./script.sh {} \;
we do chroot /mnt..and works!

Code:
for i in dev proc sys; do mount -o bind -v /$i/ /mnt/$i;done
chroot /mnt
now in the chroot go to the directory where the list of
packages with .deb extension were and reinstall it with dpkg

Code:
cd /paccgh
dpkg -i --force-all *deb
we have now a pseudo-ready system, fix the broken packages
with this command

Code:
apt -f install
or reinstall again with dpkg this time without force

Code:
dpkg -i *deb
you are ready when dpkg -l return no packages with incomplete or broken flag

Code:
dpkg -l|grep -v ii
h)proceed with those steps

° install main packages: apparmor, systemd, login, openssh-server, iputils, cron, at, acl, passwd, fstools (lvm, mdadm, btrfs-progs, ext2utils, etc..)

Code:
apt -y install lvm mdadm ext2utils openssh-server...
° configure fstab (don't use /dev/vda* or /dev/sda use LABEL or UUID, or on reboot don't boot because the disk which now is vda, on a real machine became sda)

Code:
UUID=1234..... swap             swap        defaults         		0   0
UUID=2345..... /                ext4        defaults,acl     		1   1
UUID=4585..... /home            ext4        defaults,acl      		1   2
you can obtain uuid using blkid

° configure users and set a password for root

Code:
adduser youruser
echo -e 'yourpassword\nyourpassword\n'|passwd root
echo -e 'yourpassword\nyourpassword\n'|passwd youruser
i)now the most important thing, the custom kernel, personally I follow this way, I have downloaded the latest LTS from kernel.org, I decompress it in /usr/src and I create the Debian packages using this way

Code:
apt -y install build-essential linux-source bc kmod cpio flex libncurses5-dev libelf-dev libssl-dev dwarves bison
Code:
cd /usr/src/linux-4.14.328
for the .config I copied the old config for Debian 8 kernel (the latest system which install on 9111-285 without panic) and I did "make old config", for the new "answers" I have copied from the Gentoo kernel some messages above and
from my Slackware kernel configuration, this is the finally .config ready for use.
After did this do

Code:
nice make -j`nproc` bindeb-pkg
after 6-9 hours the kernel is ready..but I don't know why it create a powerpc package instead of ppc64, we can install it with force-all

Code:
dpkg -i --force-all /usr/src/linux*deb
l)now we miss only the grub package

Code:
apt -y install grub-ieee1275
install it on disk

Code:
grub-install /dev/vda1
update initramfs

Code:
update-initramfs -cv -k all
update grub

Code:
update-grub2
l)we are ready, exit from chroot, umount it and poweroff the vm

Code:
exit
umount /mnt/dev/pts
umount /mnt/proc
umount /mnt/sys
shutdown -h now
m)Now the big problem...our disk is SATA, and the 9111-285 use scsi or ide disks
we can solve using a docking station like this one (usb2!) insert the disk and boot the workstation to SMS menu (you need a serial connection), do not use usb key/flash/pen because don't work.

n)the system cannot boot from the "usb" disk, you have to boot from Debian 8 dvd ppc64, use rescue, then select console and copy with dd from usb-sata disk to scsi disk the two partitions: prep boot and lvm

Last edited by camerabambai; 11-06-2023 at 11:44 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSuse 13.1 PPC64 Port - Slow boot with error messages, and low color-depth madsovenielsen Linux - Hardware 1 10-24-2014 06:21 PM
YDL Installation - /dev/sr0:/ppc/ppc64/vmlinux-ps3: not found rsxrsx Linux - General 5 11-15-2008 02:05 PM
mplayer/xine gentoo PS3 PPC64 32ul puntjuh Linux - Software 4 06-28-2007 10:11 AM
howto gentoo ppc64 java win32codecs puntjuh Linux - Software 1 05-06-2007 01:07 PM
Linux version 2.6.9-42.EL ppc64 running on a LPAR dambro01 Red Hat 0 12-16-2006 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration