Debian Jessie

A forum for AmigaOne XE and MicroA1-C specific issues.
Post Reply
User avatar
sailorMH
Posts: 207
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Debian Jessie

Post by sailorMH »

At first, thanks to Hypex and others for Jessie installation .iso https://sourceforge.net/projects/amigao ... installer/

As I upgraded my XE to 7445 / 1400 MHz CPU, i tried install linux here. Yes, it slow on every single-core machine, but on my 1333 MHz Pegasos 2 I has linux also and it works according his power.

I have some questions about installer:
- in early Installer menu there is "D" - DMA option. Setting this option has effect on DMA only during installation process, or also in newly installed system ? And it looks like D option is only for a1ide ( I see kernel boot parameter libata.dma=1 ) and not SATA, is this right?
Because I have boot partition on a1ide CF card ( no DMA fix ) and /root partition on SATA controller with DMA.

- when I set boot partition to 1 GB ( booting CF card is large, and suprplus of space is good ), I receive during formatting this:
ERROR! A1 Boot volume filesystem must have size 128 inodes!
If I changed size to 98 MB, it works OK. As I don't understand ext2, please what is maximum partition size with inode size 128 ?

- what exactly mean: "Boot partition must be a partition after your Workbench boot partition" ?
Because my linux boot is second partition is on a1ide ( cfcard, with slbv2 ) where is first partion FFS named Boot:, only with /Kickstart direcrory and boot flag.
From this partition are loaded AmigaOS kickstart modules only and then it boots AmigaOS from System: partition on SATA disk.

- I cannot boot linux after installation.
It is clear, because on a1ide linux boot partition are only files a1boot.conf and bootorder.conf. No boot.img or kernel.
If I look in a1boot.conf there is locatin of image on SATA disk.
I can edit this file, but there is warning: "DO NOT MODIFY! USE BOOTLOADER SCRIPT TO GENERATE FILE. PUT CUSTOM ENTRIES IN /boot/a1boot/custom/a1boot.conf*"
But - where is bootloader script and what is format of custom entries? Is this yaboot ?
Micro A1-C (G3), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
sailorMH
Posts: 207
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Debian Jessie

Post by sailorMH »

I cannot boot linux. Slb2 bounds AmigaOS and linux boot partitions, in menu is shown three items: AmigaOS, linux, linux-recovery.
I even modified a1boot.conf manually ( add my line ), but all linux menus in ( autogenerated and my manual ) ends with:
Booting configuration XYZ
## Booting image at 00500000 ...
Bad Magic Number
Failed loading kernel (or kickstart) image file(s)
What is "Bad Magic Number" ?
Micro A1-C (G3), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
sailorMH
Posts: 207
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Debian Jessie

Post by sailorMH »

I finally sucseed run lixux Jessie on AmigaOne XE. Huraaaaa... ( I have to say, that Pegasos 2 users had much easier work, both with Amiga/MorphOS an linux ).

After installation is necessary to run again /amigaone/postinstall.sh - to avoid "Bad Magic Number" magic.

Still remains these questions:

- what exactly do libata.dma? It turns on/off both for SATA anf internal ATA? I need SATA DMA and ATA no-DMA...
- is possible to add temporary kernel boot parameter?
if I set it in U-Boot linux menu, it does nothing... I want to test libata.force and some others. Doing the changes via Rescue CD + postinstall.sh is very time consuming.
- And what is this Bad magic number, how the slbV2 works?
Micro A1-C (G3), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
Ghillo
Posts: 23
Joined: Sat Jun 18, 2011 12:08 am
Location: Italia

Re: Debian Jessie

Post by Ghillo »

And I had done the same as you. Unfortunately, I changed SATA HDs thinking I had a problem since it often wouldn't start and gave me problems
with AmigaOS and also with Linux , I reinstalled just AmigaOS on a new 1Tb SATA HD and it kept giving me problems .
Desperate I thought it was the AmigaOne then I changed the sata cable that came with the Sil3112 to a new SATA3 one with metal hooks and everything worked out.
I would like to reinstall Linux again but I forgot to leave space after the OS4 boot partition. i might try again by sacrificing the Swap partition which is just after that
Of the Workbench.
The Bad magic number , if I remember correctly is when you set up a device and/or boot partition that is then not found.
A curiosity , I read your article about replacing the cpu module of the XE , I would also love to upgrade mine to a G4 with higher Ghz speed.
I got lost in technical explanations , PowerMac cpu modules are any good the ones on Megarray , if I buy one and try to insert it into A1 I risk burning the motherboard.
Based on what did you make the changes to the CPU board?I'm really afraid of burning out the A1 , however I could use a lot more speed I use it a lot with Blender.
User avatar
sailorMH
Posts: 207
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Debian Jessie

Post by sailorMH »

Ghillo wrote: Thu Apr 27, 2023 10:40 pm And I had done the same as you. Unfortunately, I changed SATA HDs thinking I had a problem since it often wouldn't start and gave me problems
with AmigaOS and also with Linux , I reinstalled just AmigaOS on a new 1Tb SATA HD and it kept giving me problems .
Desperate I thought it was the AmigaOne then I changed the sata cable that came with the Sil3112 to a new SATA3 one with metal hooks and everything worked out.
I would like to reinstall Linux again but I forgot to leave space after the OS4 boot partition. i might try again by sacrificing the Swap partition which is just after that
Of the Workbench.
The Bad magic number , if I remember correctly is when you set up a device and/or boot partition that is then not found.
Finally I solved DMA problem this way:
My AmigaOne XE disk config:
internal ATA ( without DMA-fix ): CF card - 1. partition: SFS, with /kickstart directory for booting AmigaOS; 2. partition - EXT2, linux /boot/a1boot
+ CD/DVD
PCI SATA Sii3114: SSD with AmigaOS System: + Work:, AmigaOS SWAP, EXT4 linux /, linux SWAP

kernel parameter libata.dma=1 causes that harddisks ( i.e. SSd) use DMA, and CD + CFcards not used DMA. What is exactly I need.
There if also possibility for detailed DMA/PIO settings, to use kernel parameter libata.force=1:pio4,2:pio4,3:udma6 .... but in my case I am not using it.

I also found easy way how to test different booting configurations and kernel parameters:
I modified /boot/a1boot/boot/a1boot.conf ... i.e. bootconfig file on ext2 booting partition.
I leave original rows untouched, as is generated with postinstall.sh script, and I add another row(s) with my testing configuration. This way my configuration appears on booting menu, like last line(s).

And thanks for Magic number explanation - it is a little magic ;-)
A curiosity , I read your article about replacing the cpu module of the XE , I would also love to upgrade mine to a G4 with higher Ghz speed.
I got lost in technical explanations , PowerMac cpu modules are any good the ones on Megarray , if I buy one and try to insert it into A1 I risk burning the motherboard.
Based on what did you make the changes to the CPU board?I'm really afraid of burning out the A1 , however I could use a lot more speed I use it a lot with Blender.
NEVER use POWERMAC CPU MODULE in AMIGAONE !!!!
they have the same connectors, but different pinout. You risk damage of both motherboard and CPU module.

Use Powermac module only as source of fast CPUs. If you have G4 AmigaOne module, you look for Powermac module with 7455 or 7457 CPU. If you have G3 Amigaone module, there is no way.
For sure you need friend or company who is experienced in CPU with ball array soldering and reballing. I have such company nearby, I never do any soldering on motherboard, even not the easy one. I am middle-aged lady and it is too much for me.

Also you must study manual of your Powermac new CPU ( you need to find exact type ), and look for Core voltage. This Core voltage you need to setup on AmigaOne motherboard. And also setup new frequency here. VCore+frequency settings are in AmigaOne XE manual. And if you have Micro, there is different VCore settings. Improper setting of voltage is also big risk of damage.

Last thing you have to is look at CPU cooler. If you have old AmigaOne flat one ( often is blue plastic here ), you must change it. If you have later model - with copper bars ( tall one) it is OK if you set new CPU for his nominal frequency. If you want to overclock it over nominal frequency, you need better cooler.
Micro A1-C (G3), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
Ghillo
Posts: 23
Joined: Sat Jun 18, 2011 12:08 am
Location: Italia

Re: Debian Jessie

Post by Ghillo »

Thanks for the answers :D , I tried to contact ACube since I live in Italy
but unfortunately they told me that they no longer support AmigaOne XEs due to lack of components.
User avatar
sailorMH
Posts: 207
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Debian Jessie

Post by sailorMH »

Debian Jessie on XE has disabled hardware acceleration of graphics cards. Do somebody know the reason?
As I know ( from here: https://docs.voidlinux-ppc.org/configur ... phics.html )
R100 + R200 graphics chip have no shaders, thus linux drivers cannot support kernel modesetting, only fbdev. So as drivers are very probably the same, this issue is on AmigaOne XE cards too.
And if we are using in our AmigaOne XE cards like 9250 or 9000 PRO with R200 chip, acceleration is disabled.

But anybody try R300 card? Like 9800 Pro? I know, it has no hw accel in AmigaOS, but will hw accel works with linux?
It should...
Micro A1-C (G3), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
Post Reply