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
10 crawler(s) on-line.
 95 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 RobertB:  1 hr 2 mins ago
 ruben:  1 hr 54 mins ago
 kolla:  2 hrs 35 mins ago
 yoodoo2:  3 hrs 2 mins ago
 OneTimer1:  3 hrs 4 mins ago
 eliyahu:  3 hrs 8 mins ago
 vox:  3 hrs 26 mins ago
 Kromjuice:  3 hrs 41 mins ago
 Rob:  3 hrs 58 mins ago
 NutsAboutAmiga:  4 hrs 11 mins ago

/  Forum Index
   /  Amiga PPC Linux
      /  Mac_on_Linux running on Linux kernel 2.6.8 ???
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
zErec 
Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 5-Jul-2006 21:29:35
#1 ]
Cult Member
Joined: 17-Dec-2003
Posts: 514
From: Germany

Has somebody got the Macside of our A1 running under newest Linux kernel?

@ Geri have you compiled the newest soure 0.9.70-3 of MOL or
the old version 0.9.68?

_________________
- AmigaX1Ooo with OS4.1FE // CD32/SX32Pro/SX1/CD32Shuttle
- A600-Vampire600 FPGA // A4KT/CSPPC233,144MB,PCI, AOS4.1.6FE
- MACmini 1.5GHz // Pegasos 2 1GHz // Efika
- ATARI Falcon/060/SuperVidel // ATARI Falcon MK X

 Status: Offline
Profile     Report this post  
Geri 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 6-Jul-2006 7:10:17
#2 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@zErec

Quote:
@ Geri have you compiled the newest soure 0.9.70-3 of MOL or the old version 0.9.68?


The modules are for MOL 0.9.70 (compiled from the Debian sarge MOL kernel module source package).

Edit:

I see you have 1GB RAM. Can you please remove the memory limit and test, if Linux can make use of the whole 1GB RAM? Please post the dmesg output (dmesg >dmesg.txt) and the /proc/meminfo file.

Last edited by Geri on 06-Jul-2006 at 07:18 AM.

_________________
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  
zErec 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 6-Jul-2006 11:26:46
#3 ]
Cult Member
Joined: 17-Dec-2003
Posts: 514
From: Germany

@Geri


I´ve got no working Linux installation atm.

I got a seperate HDD for Linux hanging on my sil680.

Should I first install Ross 2.4.26 Debian ISO and than change to the new kernel
2.6.8. After that do a apt-get?

greetz zErec

_________________
- AmigaX1Ooo with OS4.1FE // CD32/SX32Pro/SX1/CD32Shuttle
- A600-Vampire600 FPGA // A4KT/CSPPC233,144MB,PCI, AOS4.1.6FE
- MACmini 1.5GHz // Pegasos 2 1GHz // Efika
- ATARI Falcon/060/SuperVidel // ATARI Falcon MK X

 Status: Offline
Profile     Report this post  
Geri 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 6-Jul-2006 13:39:19
#4 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@zErec

Quote:

zErec wrote:
@Geri

I´ve got no working Linux installation atm.



Quote:

I got a seperate HDD for Linux hanging on my sil680.

Should I first install Ross 2.4.26 Debian ISO and than change to the new kernel
2.6.8. After that do a apt-get?

I would say yes. Install a minimum Debian woody system and then upgrade to Debian sarge. You can also install Debian sarge directly by booting with the old A1 Debian install CD, but that isn't so easy, because you have to select and install the packages by yourself.

_________________
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  
dauber 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 6-Jul-2006 15:01:57
#5 ]
Regular Member
Joined: 26-Dec-2004
Posts: 340
From: Chicago

@zErec

IINM, MOL won't run on the A1 under the latest kernel -- I seem to remember reading on their site that the version that runs on the 2.6 kernels will no longer be UBoot-compatible.

_________________
former µA1-C owner
Listen to my podcast, Autobiography of a Schnook (there are worse things you can do!) - schnookpodcast.com

 Status: Offline
Profile     Report this post  
Geri 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 6-Jul-2006 15:49:47
#6 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@dauber

It's true that the MOL kernel modules use "open firmware"-like functions (Is this the right term?) provided by the Linux kernel (to query properties of the machine). I had to remove all calls to these functions, as they are not available in the A1 kernel. But IIRC they are only used to search for a MAC boot rom, which doesn't exist on the A1 anyway.

Thus I think users should consider to try out MOL 0.9.70 with this kernel.

_________________
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  
Jorge 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 6-Jul-2006 16:26:36
#7 ]
Cult Member
Joined: 20-Oct-2003
Posts: 657
From: Scottsdale, AZ

@Geri

Well, I have upgrade to 0.9.70. However, because of my module lod problem, it stops while trying to load the mol.kmod. So, can't say much (i have the 'feeling' it might work, though -no mol related error message).

_________________
AmigaOne XE G3/933/VIA/FM801/R200 (fixed),
G3SE/600/Voodoo3/Sil680/RTL8139/SBLive! (noiseless!)
µA1-MK2/G3/933/R200/CMI8738
XE/G4 (broken 7450/800)

 Status: Offline
Profile     Report this post  
realize 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 6-Jul-2006 16:43:18
#8 ]
Super Member
Joined: 14-Apr-2003
Posts: 1797
From: nyc

Well guys, according to Sameul Ryhde (Sp) the author of MOL as well as BEn H of Debian PPC fame the .70 ver of MOL will NOT work with A1 or Teron boards due to .... Articia ...


realize

 Status: Offline
Profile     Report this post  
Geri 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 6-Jul-2006 16:55:25
#9 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@realize

If you are talking about the non cache coherent DMA problem, that's more or less fixed for Linux.

_________________
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  
Jorge 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 6-Jul-2006 17:41:16
#10 ]
Cult Member
Joined: 20-Oct-2003
Posts: 657
From: Scottsdale, AZ

@Jorge

To answer my own post:

This fixes the modules problem:

>apt-get install module-init-tools
>update-modules

and probably a depmod -a and a modconf afterwards (need to disable the ac97 which freezes on boot up).

In general, I might have a buggy module loaded. My machine freezes after a certain period of time (just locks down with a gfx bug). Maybe I have to disable all modules first.

mol, however, runs. At least until it tries to load a system. I have yet to re-install a MacOS. I have some trouble with the OSX (can't find a boot sector ? weird). But AFAIS, mol starts fine (0.9.70).

(And I can now mount my 100GB USB2 hd on a USB2 controller and see my picturein my el cheapo webcam I bought years ago for $25 or so - and never worked anywhere).

Last edited by Jorge on 06-Jul-2006 at 05:42 PM.

_________________
AmigaOne XE G3/933/VIA/FM801/R200 (fixed),
G3SE/600/Voodoo3/Sil680/RTL8139/SBLive! (noiseless!)
µA1-MK2/G3/933/R200/CMI8738
XE/G4 (broken 7450/800)

 Status: Offline
Profile     Report this post  
Geri 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 6-Jul-2006 20:35:44
#11 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@Jorge

Quote:
In general, I might have a buggy module loaded. My machine freezes after a certain period of time (just locks down with a gfx bug). Maybe I have to disable all modules first.


If it freezes right after the X server has loaded, then you may have to disable the dri and glx modules of the X server.
I know that there is still a bug in the kernel, but please also check CPU cooling. Linux seems to be much more pickier about inadequate cooling than OS4!

Quote:
mol, however, runs. At least until it tries to load a system. I have yet to re-install a MacOS. I have some trouble with the OSX (can't find a boot sector ? weird). But AFAIS, mol starts fine (0.9.70).


Is there a MOL log file? Can you post it here?

Quote:
(And I can now mount my 100GB USB2 hd on a USB2 controller and see my picturein my el cheapo webcam I bought years ago for $25 or so - and never worked anywhere).


Good to know that something is working! Can you test, if there are any data transmission errors due to DMA? (with MD5sum - well, it shouldn't report wrong checksums, but it's better to test it)

_________________
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  
Jorge 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 6-Jul-2006 22:34:35
#12 ]
Cult Member
Joined: 20-Oct-2003
Posts: 657
From: Scottsdale, AZ

@Geri

Quote:
If it freezes right after the X server has loaded, then you may have to disable the dri and glx modules of the X server.


X works fine. I can work with the machine, lets say between 2 and 4 minutes. Then, all of a sudden, it freezes. I have disabled all fency stuff in the xserver already (seems that DRM is loaded as a module, which I didn't have before and I also cannot disable).

The machine runs stable with the 2.4 kernel and OS4, though. It, however, could also be the RAM. I will try that out. But, also, before I did the module update, these locks did not happen with the 2.6 kernel (no modules loaded).

I figure, for example, if I connect my webcam to the USB2 card and use e.g. GnomeNetMeeting, the machine locks up pretty quick. Connected the same cam to the VIA USB works good, and I am pretty sure, the locks do not come from the USB or webcam.

I also have a SB Live! and a SCSI controller in the system. I have removed them temporarily, and tried Mozilla only for a couple of minutes. Still, machines locks. I have changed the Radeon7000 against a 9000. Same thing.

I think the locks have something to do with the radeon (or x) driver. I'll try a voodoo to check out if that is somehow related. You mentioned DRI. Does the kernel enable DRI ? Does that mean, we might get HW 3D anytime soon ?

Quote:
Is there a MOL log file? Can you post it here?


I wanted to post some info here, but don't have access to my machine ATM. MOL/OSX reported something like "could not load drivers/osx. Not an ELF file" or something (have to look that up).
OS9 takes forever to boot from CD and I have interrupted the boot process (I tried console mode video instead of X because of the other troubles mentioned above). My X display changes to weird colors (like line shifts or so) when the MOL window opens on an X screen (both, Radeon7000 & 9000).

Quote:
Can you test, if there are any data transmission errors due to DMA?


Yes, I can try to make some tests. Somehow, the automounter mounts my USB HD read only. I'm courios why that is ?

Last edited by Jorge on 06-Jul-2006 at 10:38 PM.

_________________
AmigaOne XE G3/933/VIA/FM801/R200 (fixed),
G3SE/600/Voodoo3/Sil680/RTL8139/SBLive! (noiseless!)
µA1-MK2/G3/933/R200/CMI8738
XE/G4 (broken 7450/800)

 Status: Offline
Profile     Report this post  
spotUP 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 6-Jul-2006 23:39:30
#13 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

@Geri

any chanse of an updated a1 linux install cd with this new kernel?

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
Geri 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 7-Jul-2006 6:39:24
#14 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@Jorge

Quote:

Jorge wrote:
X works fine. I can work with the machine, lets say between 2 and 4 minutes. Then, all of a sudden, it freezes. I have disabled all fency stuff in the xserver already (seems that DRM is loaded as a module, which I didn't have before and I also cannot disable).

The machine runs stable with the 2.4 kernel and OS4, though. It, however, could also be the RAM. I will try that out. But, also, before I did the module update, these locks did not happen with the 2.6 kernel (no modules loaded).

I figure, for example, if I connect my webcam to the USB2 card and use e.g. GnomeNetMeeting, the machine locks up pretty quick. Connected the same cam to the VIA USB works good, and I am pretty sure, the locks do not come from the USB or webcam.

I also have a SB Live! and a SCSI controller in the system. I have removed them temporarily, and tried Mozilla only for a couple of minutes. Still, machines locks. I have changed the Radeon7000 against a 9000. Same thing.


Can you clock down the CPU? I still think that this may have to do something with a bug in the CPU. The workaround for this bug had to be removed in the A1 kernel (otherwise the kernel won't boot). I'm not sure, if I can resolve this problem.

Quote:
I think the locks have something to do with the radeon (or x) driver. I'll try a voodoo to check out if that is somehow related. You mentioned DRI. Does the kernel enable DRI ? Does that mean, we might get HW 3D anytime soon ?


The kernel containes DRI graphics drivers for radeon and voodoo cards (forgot to disable them in the kernel config), but then the machine would already freeze when loading the X server.

DRI (PCIGART/AGPGART) support for the ArticiaS is not going to happen. I was working on AGPGART support for a long time, but couldn't get it working. As soon as AGP is enabled, the X server locks up.

Quote:
I wanted to post some info here, but don't have access to my machine ATM. MOL/OSX reported something like "could not load drivers/osx. Not an ELF file" or something (have to look that up).


Maybe I have to compile some other modules too!? I have to take a look at this.

Quote:
Yes, I can try to make some tests. Somehow, the automounter mounts my USB HD read only. I'm courios why that is ?


I guess I have compiled in "USB mass storage write protection", but I don't think that's the problem.

_________________
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: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 7-Jul-2006 6:58:13
#15 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@spotUP

Short answer: no

Long answer: I don't have the time to build a new install CD and I don't even know how to do it.

Plan is to fix the most critical bugs/flaws in the A1 Linux kernel and then get it integrated in the official kernel source (or at least get support for it in Debian).

This is the TODO list:
- non cache coherent DMA support (almost done, waiting for the ALSA developers to rewrite their code, could be a hurdle for official support)
- fix G4 CPU bug for A1 kernel
- adapt the A1 specific code for the new powerpc platform (needs a new u-boot version)
- write nvram driver
- port floppy driver to newer kernel versions
- fix serial and parallel port detection (low prio)

Too much work...

_________________
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  
zErec 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 7-Jul-2006 11:41:29
#16 ]
Cult Member
Joined: 17-Dec-2003
Posts: 514
From: Germany

@Geri

Keep on the good work...

I'll try Linux coming weekend.

greetz zErec

_________________
- AmigaX1Ooo with OS4.1FE // CD32/SX32Pro/SX1/CD32Shuttle
- A600-Vampire600 FPGA // A4KT/CSPPC233,144MB,PCI, AOS4.1.6FE
- MACmini 1.5GHz // Pegasos 2 1GHz // Efika
- ATARI Falcon/060/SuperVidel // ATARI Falcon MK X

 Status: Offline
Profile     Report this post  
Jorge 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 7-Jul-2006 22:31:25
#17 ]
Cult Member
Joined: 20-Oct-2003
Posts: 657
From: Scottsdale, AZ

@Geri

Quote:
Can you clock down the CPU?


You think so ? To what freq ? The reg 800? I run it on a G3Fx, not a G4. Why's that ? Will this be fixed in a later version ?

Quote:
As soon as AGP is enabled, the X server locks up.


I heard about this before, that's why I was wondering.

BTW: Are your sources available somewhere, so one can recompile the kernel ?

I have a weekend ahead. I try to collect more data then when I have more time.

thx for all your help.

_________________
AmigaOne XE G3/933/VIA/FM801/R200 (fixed),
G3SE/600/Voodoo3/Sil680/RTL8139/SBLive! (noiseless!)
µA1-MK2/G3/933/R200/CMI8738
XE/G4 (broken 7450/800)

 Status: Offline
Profile     Report this post  
Geri 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 7-Jul-2006 23:57:33
#18 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@Jorge

Quote:
Jorge wrote:
You think so ? To what freq ? The reg 800? I run it on a G3Fx, not a G4. Why's that ? Will this be fixed in a later version ?


Oops! I thought you have a G4.
Well, clock it down to 800 Mhz (for example) just to check, if it runs without any lockups. I didn't have the time to check, if there are any problems with G3 CPUs.

Quote:
BTW: Are your sources available somewhere, so one can recompile the kernel ?

Not yet. Give me some time. Maybe in two or three weeks.

_________________
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  
Jorge 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 8-Jul-2006 1:55:59
#19 ]
Cult Member
Joined: 20-Oct-2003
Posts: 657
From: Scottsdale, AZ

@Geri

I just saw. That XE I run Linux on runs on a 100MHz mem +900MHz CPU clock (G3) and 2x128MB RAM. I heard that using both mem slots can cause trouble, can that be. I changed that to a 1x256 right now and will make more tests. I will try to clock it back at 133MHz (the 256SDR should run at 133).

BTW: That is the OSX boot error message



CD /dev/cdrom CD-ROM ------ BOOT1
Disk /dev/hda5 14314 MB BOOT


Can't read Elf32 image header
Fatal error: drivers/bootx is not an ELF image

cleaning up...
Terminating threads...
DONE


Maybe that helps.

Until now, machine runs. I see some pixel trash on the screen here and there, though.

_________________
AmigaOne XE G3/933/VIA/FM801/R200 (fixed),
G3SE/600/Voodoo3/Sil680/RTL8139/SBLive! (noiseless!)
µA1-MK2/G3/933/R200/CMI8738
XE/G4 (broken 7450/800)

 Status: Offline
Profile     Report this post  
tomazkid 
Re: Mac_on_Linux running on Linux kernel 2.6.8 ???
Posted on 8-Jul-2006 1:59:33
#20 ]
Team Member
Joined: 31-Jul-2003
Posts: 11694
From: Kristianstad, Sweden

@Jorge

Quote:
X works fine. I can work with the machine, lets say between 2 and 4 minutes. Then, all of a sudden, it freezes.


and your memory is 100% ok?

Why I'm asking, is that I had that symptom a few years back with my old memory-dimm.

_________________
Site admins are people too..pooff!

 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