Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
8 crawler(s) on-line.
 140 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 A1200:  1 hr 5 mins ago
 michalsc:  1 hr 9 mins ago
 amigakit:  1 hr 46 mins ago
 OlafS25:  2 hrs 8 mins ago
 clint:  2 hrs 13 mins ago
 amigang:  3 hrs 23 mins ago
 Tpod:  4 hrs 3 mins ago
 pixie:  4 hrs 8 mins ago
 Birbo:  4 hrs 23 mins ago
 Hammer:  4 hrs 30 mins ago

/  Forum Index
   /  Amiga PPC Linux
      /  modern linux kernel for Pegasos1 G3
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
ppc_addon 
modern linux kernel for Pegasos1 G3
Posted on 22-Aug-2010 23:56:31
#1 ]
Regular Member
Joined: 2-Nov-2007
Posts: 101
From: Roma Caput Mundi

hi,

i'm looking for some tips to use a modern linux kernel on my Pegasos1 G3.
The last working one is 2.6.16 with arch=ppc.
As reference i found only this link:
http://www.powerdeveloper.org/forums/viewtopic.php?t=1756

Is someone able to help me?

TIA,
nel

_________________
My Blog: http://linuxpowerpc.blogspot.com/
***
Linux PPC user!
IBM Intellistation POWER 275 - CRUX PPC (64bit) 3.0

 Status: Offline
Profile     Report this post  
ppc_addon 
Re: modern linux kernel for Pegasos1 G3
Posted on 23-Aug-2010 1: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 01:11 AM.

_________________
My Blog: http://linuxpowerpc.blogspot.com/
***
Linux PPC user!
IBM Intellistation POWER 275 - CRUX PPC (64bit) 3.0

 Status: Offline
Profile     Report this post  
Geri 
Re: modern linux kernel for Pegasos1 G3
Posted on 23-Aug-2010 8: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
Profile     Report this post  
jPV 
Re: modern linux kernel for Pegasos1 G3
Posted on 23-Aug-2010 10:44:33
#4 ]
Cult Member
Joined: 11-Apr-2005
Posts: 812
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
Profile     Report this post  
Hypex 
Re: modern linux kernel for Pegasos1 G3
Posted on 23-Aug-2010 11:04:02
#5 ]
Elite Member
Joined: 6-May-2007
Posts: 11204
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
Profile     Report this post  
Chain-Q 
Re: modern linux kernel for Pegasos1 G3
Posted on 23-Aug-2010 15: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
Profile     Report this post  
Chain-Q 
Re: modern linux kernel for Pegasos1 G3
Posted on 23-Aug-2010 15: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
Profile     Report this post  
Hypex 
Re: modern linux kernel for Pegasos1 G3
Posted on 23-Aug-2010 15:10:49
#8 ]
Elite Member
Joined: 6-May-2007
Posts: 11204
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
Profile     Report this post  
Geri 
Re: modern linux kernel for Pegasos1 G3
Posted on 24-Aug-2010 7:21:52
#9 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@Chain-Q

Quote:
Chain-Q wrote:
@Geri

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.

Ouch, that hurts! Maybe someone should port U-boot to the Pegasos1!?

_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB

- A1 Linux support -

 Status: Offline
Profile     Report this post  
Hypex 
Re: modern linux kernel for Pegasos1 G3
Posted on 24-Aug-2010 14:05:11
#10 ]
Elite Member
Joined: 6-May-2007
Posts: 11204
From: Greensborough, Australia

@Geri

 Status: Offline
Profile     Report this post  
Geri 
Re: modern linux kernel for Pegasos1 G3
Posted on 26-Aug-2010 8: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
Profile     Report this post  
ppc_addon 
Re: modern linux kernel for Pegasos1 G3
Posted on 26-Aug-2010 10: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 10:26 AM.

_________________
My Blog: http://linuxpowerpc.blogspot.com/
***
Linux PPC user!
IBM Intellistation POWER 275 - CRUX PPC (64bit) 3.0

 Status: Offline
Profile     Report this post  
ppc_addon 
Re: modern linux kernel for Pegasos1 G3
Posted on 26-Aug-2010 10: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 10:31 AM.

_________________
My Blog: http://linuxpowerpc.blogspot.com/
***
Linux PPC user!
IBM Intellistation POWER 275 - CRUX PPC (64bit) 3.0

 Status: Offline
Profile     Report this post  
Geri 
Re: modern linux kernel for Pegasos1 G3
Posted on 27-Aug-2010 21: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
Profile     Report this post  
Geri 
Re: modern linux kernel for Pegasos1 G3
Posted on 27-Aug-2010 21: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
Profile     Report this post  
Chain-Q 
Re: modern linux kernel for Pegasos1 G3
Posted on 27-Aug-2010 22: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
Profile     Report this post  
realize 
Re: modern linux kernel for Pegasos1 G3
Posted on 28-Aug-2010 0:14:26
#17 ]
Super Member
Joined: 14-Apr-2003
Posts: 1797
From: nyc

@Geri

Please dont with the Uboat on us..

 Status: Offline
Profile     Report this post  
Geri 
Re: modern linux kernel for Pegasos1 G3
Posted on 28-Aug-2010 18: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 06: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
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  
Goto page ( 1 | 2 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle