Poster | Thread |
ppc_addon
|  |
modern linux kernel for Pegasos1 G3 Posted on 22-Aug-2010 22:56:31
| | [ #1 ] |
|
|
 |
Regular Member  |
Joined: 2-Nov-2007 Posts: 101
From: Roma Caput Mundi | | |
|
| |
Status: Offline |
|
|
ppc_addon
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 23-Aug-2010 0:10:47
| | [ #2 ] |
|
|
 |
Regular Member  |
Joined: 2-Nov-2007 Posts: 101
From: Roma Caput Mundi | | |
|
| my (nice) machine: Pegasos1 G3 600MHz 2x 512MB PC133 Reg. ECC Unbuffered ATI Radeon 9200SE 128MB PCI/USB2 NEC Last edited by ppc_addon on 23-Aug-2010 at 12:11 AM.
_________________ My Blog: http://linuxpowerpc.blogspot.com/ *** Linux PPC user! IBM Intellistation POWER 275 - CRUX PPC (64bit) 3.0 |
|
Status: Offline |
|
|
Geri
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 23-Aug-2010 7:06:29
| | [ #3 ] |
|
|
 |
Elite Member  |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @ppc_addon
If you tried to boot a newer kernel without success, then the best is to write a bug report to the Linux PowerPC development mailinglist (linuxppc-dev@lists.ozlabs.org). Maybe someone can find out which specific kernel patch made it stop working (git bisect is the right tool for this) on the Pegasos1.
Or could this be a firmware related problem, that was fixed in a later firmware version? Last edited by Geri on 08-Feb-2011 at 07:37 PM.
_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
jPV
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 23-Aug-2010 9:44:33
| | [ #4 ] |
|
|
 |
Cult Member  |
Joined: 11-Apr-2005 Posts: 834
From: .fi | | |
|
| Didn't OF limit the kernel size around 4MB? Newer kernels have maybe grown much bigger, but if you could compile it youself and try to get it under that limit etc.
I have older Debian installation still on my Peg1, but haven't booted to it for couple of years... _________________ - The wiki based MorphOS Library - Your starting point for MorphOS - Software made by jPV^RNO |
|
Status: Offline |
|
|
Hypex
 |  |
Re: modern linux kernel for Pegasos1 G3 Posted on 23-Aug-2010 10:04:02
| | [ #5 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @ppc_addon
Have you tried to boot a modern Debian distro such as Lenny PPC? IIRC Ubuntu PPC also has Pegasos support left in.
If it doesn't work then I suspect that a bug is in the Pegaasos files as I examnined the boot scripts and the files looked all wrong to me. They referenced files in directories that didn't exist or had been moved. Looks like no one tested it or was too lazy to fix it.  |
|
Status: Offline |
|
|
Chain-Q
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 23-Aug-2010 14:01:59
| | [ #6 ] |
|
|
 |
Cult Member  |
Joined: 31-Jan-2005 Posts: 824
From: Budapest, Hungary | | |
|
| @Geri Quote:
Or could this be a firmware related problem, that was fixed in a later firmware version? |
There were really no firmware updates for the Pegasos 1, after bPlan moved to the Pegasos 2 project. Pegasos 1 firmwares never moved out of beta stage, and later Pegasos 2 firmwares doesn't work on the Pegasos 1._________________ MorphOS, classic Amiga, demoscene, and stuff "When a bridge is not enough, build a Viaduct!" "Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle) |
|
Status: Offline |
|
|
Chain-Q
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 23-Aug-2010 14:06:42
| | [ #7 ] |
|
|
 |
Cult Member  |
Joined: 31-Jan-2005 Posts: 824
From: Budapest, Hungary | | |
|
| @Hypex Quote:
Have you tried to boot a modern Debian distro such as Lenny PPC? IIRC Ubuntu PPC also has Pegasos support left in. |
Neither of these work on a Pegasos 1, but only on a Pegasos 2. Unfortunately, Debian Installer team even broke the Pegasos 2 support recently, and they refuse to fix or apply a patch, but you can still install Debian on a Pegasos 2 with some manual tweaking._________________ MorphOS, classic Amiga, demoscene, and stuff "When a bridge is not enough, build a Viaduct!" "Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle) |
|
Status: Offline |
|
|
Hypex
 |  |
Re: modern linux kernel for Pegasos1 G3 Posted on 23-Aug-2010 14:10:49
| | [ #8 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @Chain-Q
Why do they refuse to fix it if they still keep it in the distro? Your telling me they too lazy to even remove the files!? Gee can I really trust the rest of this free software if that's the attitude? |
|
Status: Offline |
|
|
Geri
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 24-Aug-2010 6:21:52
| | [ #9 ] |
|
|
 |
Elite Member  |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| |
Status: Offline |
|
|
Hypex
 |  |
Re: modern linux kernel for Pegasos1 G3 Posted on 24-Aug-2010 13:05:11
| | [ #10 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @Geri
 |
|
Status: Offline |
|
|
Geri
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 26-Aug-2010 7:24:59
| | [ #11 ] |
|
|
 |
Elite Member  |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @Chain-Q
Quote:
Chain-Q wrote: @Hypex
Neither of these work on a Pegasos 1, but only on a Pegasos 2. Unfortunately, Debian Installer team even broke the Pegasos 2 support recently, and they refuse to fix or apply a patch, but you can still install Debian on a Pegasos 2 with some manual tweaking. |
Just out of interest: is there a Debian bug report for this problem?Last edited by Geri on 08-Feb-2011 at 07:38 PM.
_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
ppc_addon
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 26-Aug-2010 9:26:18
| | [ #12 ] |
|
|
 |
Regular Member  |
Joined: 2-Nov-2007 Posts: 101
From: Roma Caput Mundi | | |
|
| @Geri
i didn't submitt a bug report to linuxppc-devel 'cause , i suppose, nobody is still interested to support this old, bugged and rare machine. Last edited by ppc_addon on 26-Aug-2010 at 09:26 AM.
_________________ My Blog: http://linuxpowerpc.blogspot.com/ *** Linux PPC user! IBM Intellistation POWER 275 - CRUX PPC (64bit) 3.0 |
|
Status: Offline |
|
|
ppc_addon
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 26-Aug-2010 9:28:00
| | [ #13 ] |
|
|
 |
Regular Member  |
Joined: 2-Nov-2007 Posts: 101
From: Roma Caput Mundi | | |
|
| @jPV
4MB limit? mmh, i must give another try with a smaller kernel but as i remember it was already small enough.. I already tried to load it in a different memory address too.
I think the bug is here: http://lxr.linux.no/linux+v2.6.16/arch/ppc/syslib/prom_init.c#L856
[code] /* Pegasos 1 has a broken translate method in the OF, * and furthermore the BATs are mapped 1:1 so the phys * address calculated above is correct, so let's use * it directly. */ [/code]
that was never ported during ppc->powerpc arch switch-off.
Last edited by ppc_addon on 26-Aug-2010 at 09:31 AM.
_________________ My Blog: http://linuxpowerpc.blogspot.com/ *** Linux PPC user! IBM Intellistation POWER 275 - CRUX PPC (64bit) 3.0 |
|
Status: Offline |
|
|
Geri
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 27-Aug-2010 20:20:42
| | [ #14 ] |
|
|
 |
Elite Member  |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @ppc_addon
Quote:
ppc_addon wrote: @Geri
i didn't submitt a bug report to linuxppc-devel 'cause , i suppose, nobody is still interested to support this old, bugged and rare machine. |
Well, normally you're on your own, if you want support for rare old hardware in the Linux kernel. Thus I strongly suggest you to send a bug report. Maybe someone from Genesi still follows the linuxppc-dev mailing list and can provide a patch. Otherwise we have to find a workaround._________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
Geri
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 27-Aug-2010 20:31:12
| | [ #15 ] |
|
|
 |
Elite Member  |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @ppc_addon
Quote:
ppc_addon wrote: @jPV
4MB limit? mmh, i must give another try with a smaller kernel but as i remember it was already small enough.. I already tried to load it in a different memory address too.
|
Huh, I thought the Linux kernel itself setups a 16MB BAT mapping for the kernel!? Or is this BAT setup for the RTAS interface? No wait, doesn't RTAS work in direct access mode? 
Quote:
I think the bug is here: http://lxr.linux.no/linux+v2.6.16/arch/ppc/syslib/prom_init.c#L856
[code] /* Pegasos 1 has a broken translate method in the OF, * and furthermore the BATs are mapped 1:1 so the phys * address calculated above is correct, so let's use * it directly. */ [/code]
that was never ported during ppc->powerpc arch switch-off. |
Okay, I'm not sure, but I think the prom_init code is shared between different architectures (powerpc, microblaze, sparc) now (I didn't closely track the kernel development in the last months). However I remember that the powermac platform also needs some workarounds for their OF implementation. Maybe the fix can be done in a similiar way._________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
Chain-Q
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 27-Aug-2010 21:01:06
| | [ #16 ] |
|
|
 |
Cult Member  |
Joined: 31-Jan-2005 Posts: 824
From: Budapest, Hungary | | |
|
| @Geri The "Genesi Linux Support" guy, Sven Luther left the scene long ago. Also, Genesi stopped supporting Pegasos 1, roughly after the "Pegasos 2 Exchange Program" was done, and most of the active Pegasos 1 owners (formerly betatesters) went to the offered Pegasos 2 upgrade route. _________________ MorphOS, classic Amiga, demoscene, and stuff "When a bridge is not enough, build a Viaduct!" "Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle) |
|
Status: Offline |
|
|
realize
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 27-Aug-2010 23:14:26
| | [ #17 ] |
|
|
 |
Super Member  |
Joined: 14-Apr-2003 Posts: 1797
From: nyc | | |
|
| @Geri
Please dont with the Uboat on us.. |
|
Status: Offline |
|
|
Geri
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 28-Aug-2010 17:03:44
| | [ #18 ] |
|
|
 |
Elite Member  |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @Chain-Q
Quote:
Chain-Q wrote: @Geri The "Genesi Linux Support" guy, Sven Luther left the scene long ago. |
Yes, it's also a sad story that Sven Luther isn't working on the Debian PPC Port anymore. But actually I was more thinking about Matt Sealy. I think he did most of the Linux kernel work for Genesi, right?
@realize
Quote:
realize wrote: @Geri
Please dont with the Uboat on us.. |
Last edited by Geri on 28-Aug-2010 at 05:05 PM.
_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
ppc_addon
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 8-Feb-2011 0:18:42
| | [ #19 ] |
|
|
 |
Regular Member  |
Joined: 2-Nov-2007 Posts: 101
From: Roma Caput Mundi | | |
|
| @Geri
[IMG]http://i52.tinypic.com/33uzgc8.jpg[/IMG]

that's what happens when i try to boot with a modern kernel _________________ My Blog: http://linuxpowerpc.blogspot.com/ *** Linux PPC user! IBM Intellistation POWER 275 - CRUX PPC (64bit) 3.0 |
|
Status: Offline |
|
|
realize
|  |
Re: modern linux kernel for Pegasos1 G3 Posted on 8-Feb-2011 0:28:25
| | [ #20 ] |
|
|
 |
Super Member  |
Joined: 14-Apr-2003 Posts: 1797
From: nyc | | |
|
| @Geri
Quote:
Yes, it's also a sad story that Sven Luther isn't working on the Debian PPC Port anymore. But actually I was more thinking about Matt Sealy. I think he did most of the Linux kernel work for Genesi, right? |
No, Sven did all the kernel work and maintence. Matt did many other things but it was mostly Sven doing it. Sven was also the Amiga PPC debian maintainer! |
|
Status: Offline |
|
|