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

A few questions about stretch ( testing ) on a PowerMac G5




Dear Debian power types :

I managed to install a bare and simple stretch ( testing ) release onto a PowerMac G5 using the DVD ISO image such that my /etc/apt/sources.list says :



deb cdrom:[Debian GNU/Linux testing _Stretch_ - Official Snapshot powerpc DVD Binary-1 20161031-06:51]/ stretch main



The first of many little problems that I hit is that the nouveau driver is just terrible and all I see on the screen is a very very messed up pile of what looks like static. So there is no GUI no graphical login at all that works. I created a file in /etc/modprobe.d/ thus :

root@charon:/etc/apt# cat /etc/modprobe.d/nvidia-graphics-drivers.conf
blacklist nouveau
blacklist lbm-nouveau
blacklist nvidia-173
blacklist nvidia-96
blacklist nvidia-current
blacklist nvidia-173-updates
blacklist nvidia-96-updates
alias nvidia nvidia_current_updates
alias nouveau off
alias lbm-nouveau off

This solved the nasty graphics problem after a reboot. I now can hit CTRL-F1 and get a text login. That did not work at all before.

I was able to ssh in to the unit and did change the /etc/network/interfaces file so that I have a static ip and no more dhcp. However I am still stuck with ipv6 and thus any attempt to use a repo mirror just hangs badly for about four minutes or so before reverting to ipv4 which does work. However my /etc/resolv.conf file is wrecked and only has ipv6 entries in it and they don't work :

root@charon:/etc/apt# cat /etc/resolv.conf
nameserver 2607:f798:18:10:0:640:7125:5204
nameserver 2607:f798:18:10:0:640:7125:5198

I have no idea where that comes from but they don't work. I attempt to edit the file but it gets instantly and magically overwritten by some horrible gremlin that changes the file back to ipv6 only. I don't know why.

So question one is how do I edit the /etc/apt/sources.list to get a valid repo site somewhere for packages? Nothing I seem to enter there works at all and I only ever see ( after a lot of hang time ) this message :

root@charon:/etc/apt# cat /etc/apt/sources.list
#
#deb cdrom:[Debian GNU/Linux testing _Stretch_ - Official Snapshot powerpc DVD Binary-1 20161031-06:51]/ stretch main

deb http://ftp.ca.debian.org/debian testing main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ testing main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib

root@charon:/etc/apt# apt-get update
0% [Connecting to ftp.ca.debian.org (2607:f748:10:12::deb:1)] [Connecting to security.debian.org (2607:ea00:101:3c0b::1deb:215)]
.
.  go for a coffee ... this hangs badly for a while
.   watch the clock for ... four or five minutes .. or longer

Hit:1 http://ftp.ca.debian.org/debian testing InRelease Hit:2 http://security.debian.org stretch/updates InRelease
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-powerpc/Packages' as repository 'http://ftp.ca.debian.org/debian testing InRelease' doesn't support architecture 'powerpc' N: Skipping acquire of configured file 'contrib/binary-powerpc/Packages' as repository 'http://ftp.ca.debian.org/debian testing InRelease' doesn't support architecture 'powerpc'

So that fails, eventually.

What content do I need in the /etc/apt/sources.list file to get a repo that supports powerpc ?

some basic info here :

root@charon:~# uname -a
Linux charon 4.7.0-1-powerpc64 #1 SMP Debian 4.7.8-1 (2016-10-19) ppc64 GNU/Linux

root@charon:~# cat /proc/cpuinfo
processor       : 0
cpu             : PPC970MP, altivec supported
clock           : 2500.000000MHz
revision        : 1.1 (pvr 0044 0101)

processor       : 1
cpu             : PPC970MP, altivec supported
clock           : 2500.000000MHz
revision        : 1.1 (pvr 0044 0101)

processor       : 2
cpu             : PPC970MP, altivec supported
clock           : 2500.000000MHz
revision        : 1.1 (pvr 0044 0101)

processor       : 3
cpu             : PPC970MP, altivec supported
clock           : 2500.000000MHz
revision        : 1.1 (pvr 0044 0101)

timebase        : 33333333
platform        : PowerMac
model           : PowerMac11,2
machine         : PowerMac11,2
motherboard     : PowerMac11,2 MacRISC4 Power Macintosh
detected as     : 337 (PowerMac G5 Dual Core)
pmac flags      : 00000000
L2 cache        : 1024K unified
pmac-generation : NewWorld
root@charon:~#


So ... I am at a loss here.

Dennis


Reply to: