PowerMac 7100 and Linux

speakers

Tinkerer
Nov 5, 2021
121
89
28
San Jose, CA
peak-weber.net
I was wanting a BHA machine and I acquired, from craigslist, a PM7100 in excellent condition. There was absolutely no sign of capacitor aging - including the PSU. The original 700 MB Quantum SCSI harddrive was function although it didn’t sound perfectly happy. The floppy and cdrom drives were healthy, and the onboard ethernet good. ADB was great and power/interrupt key combos worked.

I bumped RAM from 24MB (8+16) to 136MB (8+128) with easily available and economical EDO SIMMS from memorymasters.

Before deciding how to replace the internal SCSI, I plugged in an external ZuluSCSI Mini with 64GB SD card.

I first installed MacOS9.1 (requiring greater than 32MB). OS9 is not the fastest OS for this machine but it provides the comforts HFS+, good networking and System Profiler, etc. OSX was never supported on this platform.

Linux

See https://nubus-pmac.sourceforge.net (*1) and linked pages for how to run assorted Linux releases on Nubus PowerMac. There a 3 ways to boot a kernel on Nubus machines .. yaboot, etc require OFW:
  1. The MkLinux Booter
  2. BootX1.2.1 (the latter 1.2.2 version crashes) - see https://web.archive.org/web/20050207105304/http://penguinppc.org/~benh/
  3. miboot (a packaged variant of BootX)
I found miboot to be unusable for my PM7100, BootX 1.2.1 usable but fussy with kernels, and the MkLinux Booter reliable.


MkLinux

MkLinux DR3 runs fine - see https://www.mklinux.org. The 6100 was the first PPC mac that MkLinux supported. I installed a disk image taken from a previous installation from my pm7600 .. although the install procedure from cdrom image is straightforward.


YellowDog Linux

i’ve had a lot of success over the years with YDL. YDL3.0 installed cleanly in a 4GB drive on the pm7100 from MkLinux Booter kernel plus installer:
  • see “Kernel with YellowDogLinux 3.0 installer [ http ] (updated June 23, 2003)” from (*1)
using NFS mounted install images (that I happened to have stashed on a G4 MDD machine). Install images available from Internet Archive:
A BootX1.2.1 bootable kernel is 2.4.27:
  • “Stable Kernel (2.4.27) with input driver enabled (Required for Debian Woody and YDL 2.x, 3.0) [ http ] (updated August 11, 2004) for use with BootX
but it may require the kernel argument nubus_simm= since BootX fails to report complete memory configs for some nubus-pmac configs. My machine required
nubus_simm=b0:8m,b1:32m,b2:32m,b3:32m,b4:32m
Sadly, I’ve been unable to locate source for this kernel with its nubus-pmac patches.

X11 failed to find a workable configuration automatically. X11 configuration is often a tease on vintage Macs but this works with the motherboard ariel2 framebuffer video (with no HPV/AV card):
Section "Device" # no known options Identifier "Generic OF compatible" Driver "fbdev" VendorName "Generic OF compatible" BoardName "Generic OF compatible" #BusID EndSection Section "Screen" Identifier "Screen0" Device "Generic OF compatible" Monitor "Monitor0" DefaultDepth 8 Subsection "Display" Depth 8 Modes "832x624" EndSubsection EndSection

Debian Linux

Installing Debian PPC on this Nubus machine is more problematic. Initially I didn’t think it would be feasible at all. Nubus-pmac was only briefly and partially supported back in the day and was dropped as soon as OpenFirmWare machines appeared. Very little remains available on the Internet. There’s a number of issues for the PM7100:
  1. Finding a pair of kernel and ramdisk with the Installer.
  2. Being able to boot and run the Installer.
  3. Finding a cd-rom/dvd-rom/network image compatible with the Installer.
1 and 2 are affected by the booting methods, MkLinux Booter and BootX.

After some trial and error, I found this combination:
  1. “Kernel with Debian Woody installer (outdated) [ http ] (updated October 29, 2002)”
  2. MkLinux Booter launched from MacOS9.
  3. A dvd-rom image of Woody 3.0r6 from debian-30r6-dvd-powerpc-binary-1.iso placed on a ZuluSCSI Mini.
The first stage of installation - involving initialization of swap and root partitions aan installation of the Base system - was performed on a 4GB ZuluSCSI drive set up by Drive Setup from MacOS9. Swap is 256MB and the remaining space is root.

The second stage of installation configures the Base and installs packages. I used BootX to load the same 2.4.27 kernel as YDL. But the addition boot argument of
keyboard_sends_linux_keycodes=1
is required to be able to type at the console - see https://www.debian.org/ports/powerpc/keycodes for details. I installed X11 and a handful of development and network services, but this required some fussing to cope with dselect/dpkg failures. But, a little surprising, X11 (Gnome and KDE) sprang to life using the same framebuffer configuration as YDL.

HPV PDS graphics card

The pm7100 had an empty PDS slot. This machine may originally have had a 2MB PDS Video Card in this slot. I found a super cheap, $22, 761-1748 card on the net. Too good to be true, it failed to show up under OS9. Running MacTest Pro, its 1MB of onboard VRAM failed after the 512KB mark - so it looks at least the 3rd (of 8) DRAM chip is bad. I ordered a couple of replacements, so we’ll see if this can be resuscitated.
 
  • Love
  • Like
Reactions: bakkus and phunguss

lauland

Tinkerer
Dec 12, 2023
39
26
18
I have MkLinux on my 6100, which is a similar machine and it runs fine, if not speedily. Other distros are possible, as you mentioned, but likely not out of the box, and you will need to deal with many hitches and hacks, and likely need a special kernel, or some even just use the MkLinux one (but not the rest of its files).

In some cases you can swap the MkLinux kernel with a standard one, using the same binaries and even partitions, if you're careful enough with libraries/modules/etc, which I do on my Performa 6360.

NOTE: MkLinux was the first Power Mac Linux, sponsored by Apple, so it is very old. It also is a hybrid kernel, with Linux running on top of a modified version of Mach (not the same version as in MacOS X, but related). Because of this, it will typically be slower than a standard Linux kernel.
 

speakers

Tinkerer
Nov 5, 2021
121
89
28
San Jose, CA
peak-weber.net
A BootX1.2.1 bootable kernel is 2.4.27:
  • “Stable Kernel (2.4.27) with input driver enabled (Required for Debian Woody and YDL 2.x, 3.0) [ http ] (updated August 11, 2004) for use with BootX
but it may require the kernel argument nubus_simm= since BootX fails to report complete memory configs for some nubus-pmac configs. My machine required
nubus_simm=b0:8m,b1:32m,b2:32m,b3:32m,b4:32m
Sadly, I’ve been unable to locate source for this kernel with its nubus-pmac patches.
Although the original source is nowhere to be found, I have discovered a nubus patch for Debian Sarge archived at debian-nubus.diff.gz and this applies OK to a 2.4.27 source archive from kernel.org at linux-2.4.27.tar.gz

I've managed to configure and build a kernel from these sources that seems close enough to the binary from sourceforge.et. This boots both Debian 3.0 and YDL 3.0 roots on my PM7100. But not everything compiles cleanly and a judicious selection of configuration options is needed.