Debian 8 install

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Debian 8 install

Post by xeno74 »

mechanic wrote:That is good advice, but I'm not done tinkering yet.

Today I installed only the base system and it works. Then the xorg packages and it still booted and I could do normal terminal things. When I installed xfce or gnome is when everything went to hell, and that is before starting X.

I should have gone for a bike ride.
Please install the following packages via SSH with dpkg -i as root:

xserver-xorg-core_1.12.4-6+deb7u6_powerpc.deb

xserver-xorg-video-radeon_6.14.4-8_powerpc.deb

xserver-xorg-video-ati_6.14.4-8_powerpc.deb
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Debian 8 install

Post by xeno74 »

Hi All,

I successfully tested some old Debian Xorg packages with Debian 8. I created a downgrade package including the tested Xorg packages and the unofficial Mesa today.

Download: Xorg_and_unofficial_Mesa_for_Debian_8.x_AmigaONE_X1000.tar.bz2

README:
After the update of Debian 8 you have to install some old Xorg packages to get a working X11.

1. su

2. dpkg -i xserver-xorg-core_1.14.5-1_powerpc.deb

3. dpkg -i xserver-xorg-video-radeon_7.3.0-1_powerpc.deb

4. dpkg -i xserver-xorg-video-ati_7.3.0-1_powerpc.deb

5. Reboot your AmigaONE X1000

If you need 3D acceleration then you have to install the unofficial Mesa.

1. Extract MesaLib-10.0.4-powerpc-unofficial.tar.bz2

2. Rename the original r600_dri.so to r600_dri.so.bak: mv /usr/lib/powerpc-linux-gnu/dri/r600_dri.so /usr/lib/powerpc-linux-gnu/dri/r600_dri.so.bak

3. Copy the patched r600_dri.so to /usr/lib/powerpc-linux-gnu/dri: cp mesa-10.0.4/lib/dri/r600_dri.so /usr/lib/powerpc-linux-gnu/dri

4. You can test it with glxgears: vblank_mode=0 glxgears

Tip: You can install the packages above via SSH if you like ;-)
PLEASE test the downgrade package.

Cheers,

Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: Debian 8 install

Post by mechanic »

I tried both methods above. First, thanks for your hard work.

In either method X will not start. The error stopping it is;

(EE) module ABI major version (18) dosen't match the server's version (14)

Perhaps some thinking time is needed, at least for me.

@nbache
If you want to give Deb 7.9 a try I can say it installs without problems. When this X11 problem is worked out you should be able to do a distribution upgrade to Deb 8.
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Debian 8 install

Post by xeno74 »

mechanic wrote:I tried both methods above. First, thanks for your hard work.

In either method X will not start. The error stopping it is;

(EE) module ABI major version (18) dosen't match the server's version (14)

Perhaps some thinking time is needed, at least for me.

@nbache
If you want to give Deb 7.9 a try I can say it installs without problems. When this X11 problem is worked out you should be able to do a distribution upgrade to Deb 8.
Hi Mechanic,

Thanks a lot for testing. :-) Would you mind doing an upgrade via SSH to Debian 9 Stretch (development version)? I created some upgrade instructions for ubuntu MATE.

Link: (X)(L)ubuntu (MATE) 16.04 LTS

Maybe this instructions could a little bit help you.

Have a nice weekend!

Cheers,

Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: Debian 8 install

Post by mechanic »

@xeno74

No luck. Keep getting (EE) messages or just a blinking cursor on a black screen. :(

Trying to get Deb 8 up and running has been very distracting from my hobby time. The only reason I wished to try it is that my Texas Instruments embedded boards are presently using Deb 8 and staying with the same distro is kind of nice, but not necessary. I would rather wait until Deb 8 is functional on the X1000 then wind up with a very bastardized collection of various system software that may require a complete re-install at a nearby future date.

That said, there are some other kernel things I would like to address.

Presently my focus is on the 3.18 kernel and was wondering if it would be possible to add the byte swap code to that kernel as a patch. The base I'm using is 3.18.26 from kernel.org. There are a few other things, but I will start a new thread about them.

It's all fun.
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Debian 8 install

Post by xeno74 »

mechanic wrote:@xeno74

No luck. Keep getting (EE) messages or just a blinking cursor on a black screen. :(

Trying to get Deb 8 up and running has been very distracting from my hobby time. The only reason I wished to try it is that my Texas Instruments embedded boards are presently using Deb 8 and staying with the same distro is kind of nice, but not necessary. I would rather wait until Deb 8 is functional on the X1000 then wind up with a very bastardized collection of various system software that may require a complete re-install at a nearby future date.

That said, there are some other kernel things I would like to address.

Presently my focus is on the 3.18 kernel and was wondering if it would be possible to add the byte swap code to that kernel as a patch. The base I'm using is 3.18.26 from kernel.org. There are a few other things, but I will start a new thread about them.

It's all fun.
Thanks for trying out. :-) Does the kernel 3.18 need the byte swap code? The stable longterm kernel 4.1 doesn't need this patch.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: Debian 8 install

Post by mechanic »

Don't know. I would think it would have been back-ported, but how do I check?
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1714
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Debian 8 install

Post by nbache »

mechanic wrote:@nbache
If you want to give Deb 7.9 a try I can say it installs without problems. When this X11 problem is worked out you should be able to do a distribution upgrade to Deb 8.
Yes, I suppose I should keep that in mind as an option.

I did have a Wheezy installation running a couple of years ago, but used it too rarely, and one day I had upgraded my graphics card to something which wasn't supported in that old version. And I haven't really had time to do much about it since. But I'd much prefer to get Jessie on the X1000 too, as that is what I'm running on the x64 machines - just like your reason described above, in fact.

Anyway, it's still somewhat low on my priority list right now, just high enough to notice when others are gathering experience which could be useful later - so thanks for sharing that :-).

Best regards,

Niels
Post Reply