ubuntu MATE 16.04.1 Live DVD

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
AlfredOne
Beta Tester
Beta Tester
Posts: 126
Joined: Wed Dec 22, 2010 11:45 pm
Location: Terlizzi (BA) , Italy
Contact:

Re: ubuntu MATE 16.04.1 Live DVD

Post by AlfredOne »

xeno74 wrote:
AlfredOne wrote: Both graphics card installed:
1st PCI-e slot: Radeon HIS4670
2nd PCI-e slot: Radeon R9-280X
Boot starts with HIS4670, then switches to R9-280X during Linux start-up.

The command failed and generated the attached log file:
The attachment Xorg.0.log.tar.gz is no longer available
Hi AlfredOne,

Thank you for posting the Xorg.0.log. Could you please post the output of the command lspci -vv?

Thanks,
Christian
Output attached:
lspci.log.tgz
Output lspci -vv
(2.67 KiB) Downloaded 199 times
Amiga500 Kickstart1.3
AmigaONE XE G4 833MHz - 2GB RAM - Radeon9200 256MB
AmigaONE X1000 - 2GB RAM - Radeon R9-280X 3GB + Radeon HIS4670 1GB DDR3 - AmigaOS4.1
My site: http://project4a.webs.com
User avatar
xeno74
Posts: 6330
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 Live DVD

Post by xeno74 »

Hi AlfredOne,

I've found:

Code: Select all

[  1171.543] (!!) More than one possible primary device found.  Using first one seen.
[  1171.543] (--) PCI:*(0:1:0:0) 1002:6798:1043:3006 rev 0, Mem @ 0x90000000/268435456, 0xa0000000/262144, I/O @ 0x00002000/256, BIOS @ 0x????????/131072
[  1171.543] (--) PCI: (0:3:0:0) 1002:9490:1787:2009 rev 0, Mem @ 0xb0000000/268435456, 0xc0020000/65536, I/O @ 0x00003000/256, BIOS @ 0x????????/131072

Code: Select all

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Tahiti XTL [Radeon R9 280X DirectCU II TOP]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 48
	Region 0: Memory at 90000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at a0000000 (64-bit, non-prefetchable) [size=256K]
	Region 4: I/O ports at 2000 [size=256]
	Expansion ROM at a0040000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV730 XT [Radeon HD 4670] (prog-if 00 [VGA controller])
	Subsystem: Hightech Information System Ltd. RV730 XT [Radeon HD 4670]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 50
	Region 0: Memory at b0000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at c0020000 (64-bit, non-prefetchable) [size=64K]
	Region 4: I/O ports at 3000 [size=256]
	Expansion ROM at c0000000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
Your both graphics cards work with the RADEON kernel driver. I have found instructions to configure Xorg for both graphics cards.

Link: http://askubuntu.com

Please try it.

Cheers,
Christian

Edit: You need sudo service lightdm stop instead of sudo stop gdm. Please post your xorg.conf.new.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
AlfredOne
Beta Tester
Beta Tester
Posts: 126
Joined: Wed Dec 22, 2010 11:45 pm
Location: Terlizzi (BA) , Italy
Contact:

Re: ubuntu MATE 16.04.1 Live DVD

Post by AlfredOne »

xeno74 wrote:Hi AlfredOne,

I've found:

Code: Select all

[  1171.543] (!!) More than one possible primary device found.  Using first one seen.
[  1171.543] (--) PCI:*(0:1:0:0) 1002:6798:1043:3006 rev 0, Mem @ 0x90000000/268435456, 0xa0000000/262144, I/O @ 0x00002000/256, BIOS @ 0x????????/131072
[  1171.543] (--) PCI: (0:3:0:0) 1002:9490:1787:2009 rev 0, Mem @ 0xb0000000/268435456, 0xc0020000/65536, I/O @ 0x00003000/256, BIOS @ 0x????????/131072

Code: Select all

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Tahiti XTL [Radeon R9 280X DirectCU II TOP]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 48
	Region 0: Memory at 90000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at a0000000 (64-bit, non-prefetchable) [size=256K]
	Region 4: I/O ports at 2000 [size=256]
	Expansion ROM at a0040000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV730 XT [Radeon HD 4670] (prog-if 00 [VGA controller])
	Subsystem: Hightech Information System Ltd. RV730 XT [Radeon HD 4670]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 50
	Region 0: Memory at b0000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at c0020000 (64-bit, non-prefetchable) [size=64K]
	Region 4: I/O ports at 3000 [size=256]
	Expansion ROM at c0000000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
Your both graphics cards work with the RADEON kernel driver. I have found instructions to configure Xorg for both graphics cards.

Link: http://askubuntu.com

Please try it.

Cheers,
Christian

Edit: You need sudo service lightdm stop instead of sudo stop gdm. Please post your xorg.conf.new.
Hi Christian.
I modified xorg.conf manually by changing driver Fields from "fbdev" To "radeon".
Moreover i had To change PCI address for The 2nd card
To 3.0.0.( It was erroneusly The same as The 1st card )
With these changes i managed To have two screens And accelerated graphic on The second card.

'Xorg -configure' doesnt work, It tell me that doesnt find devices To configure.

p.s.: i have Big problems in booting linux because My Sata HDs (two AmigaOs4 hds) Very rarely are recognized during Linux boot and logical name of linux boot partition shifts from /dev/sdc3 To /dev/sda3.
I can't understand why!!!
If i change bootargs To match /dev/sda3, Linux mount The boot partition and start to boot But crashes.
It seems like it Can boot only if The boot partition Name (/dev/sdc3) matches The Name It had when was installed from cd.
Amiga500 Kickstart1.3
AmigaONE XE G4 833MHz - 2GB RAM - Radeon9200 256MB
AmigaONE X1000 - 2GB RAM - Radeon R9-280X 3GB + Radeon HIS4670 1GB DDR3 - AmigaOS4.1
My site: http://project4a.webs.com
User avatar
xeno74
Posts: 6330
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 Live DVD

Post by xeno74 »

AlfredOne wrote: Hi Christian.
I modified xorg.conf manually by changing driver Fields from "fbdev" To "radeon".
Moreover i had To change PCI address for The 2nd card
To 3.0.0.( It was erroneusly The same as The 1st card )
With these changes i managed To have two screens And accelerated graphic on The second card.
Hi AlfredOne,

That's fantastic! Well done! Does it mean, that you can use hardware 3D acceleration on OS4.1 and Linux?
AlfredOne wrote: p.s.: i have Big problems in booting linux because My Sata HDs (two AmigaOs4 hds) Very rarely are recognized during Linux boot and logical name of linux boot partition shifts from /dev/sdc3 To /dev/sda3.
I can't understand why!!!
If i change bootargs To match /dev/sda3, Linux mount The boot partition and start to boot But crashes.
It seems like it Can boot only if The boot partition Name (/dev/sdc3) matches The Name It had when was installed from cd.
You can boot with the unique UUID of your partition if you like.

First, you have to find out the UUID of your partition with blkid. After that you have to set up your bootargs in the CFE.

For example:

Code: Select all

CFE> setenv bootargs "root=UUID=ae875d31-cc84-4349-95d7-01a82ad76d61  quiet ro splash"
If your partition has a LABEL (name) then you can also boot your Linux with this LABEL. For example:

Code: Select all

CFE> setenv bootargs "root=LABEL=Ubuntu quiet ro splash"
You can find out the LABEL with blkid as well.

Good luck!

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
AlfredOne
Beta Tester
Beta Tester
Posts: 126
Joined: Wed Dec 22, 2010 11:45 pm
Location: Terlizzi (BA) , Italy
Contact:

Re: ubuntu MATE 16.04.1 Live DVD

Post by AlfredOne »

xeno74 wrote:
AlfredOne wrote: Hi Christian.
I modified xorg.conf manually by changing driver Fields from "fbdev" To "radeon".
Moreover i had To change PCI address for The 2nd card
To 3.0.0.( It was erroneusly The same as The 1st card )
With these changes i managed To have two screens And accelerated graphic on The second card.
Hi AlfredOne,

That's fantastic! Well done! Does it mean, that you can use hardware 3D acceleration on OS4.1 and Linux?
AlfredOne wrote: p.s.: i have Big problems in booting linux because My Sata HDs (two AmigaOs4 hds) Very rarely are recognized during Linux boot and logical name of linux boot partition shifts from /dev/sdc3 To /dev/sda3.
I can't understand why!!!
If i change bootargs To match /dev/sda3, Linux mount The boot partition and start to boot But crashes.
It seems like it Can boot only if The boot partition Name (/dev/sdc3) matches The Name It had when was installed from cd.
You can boot with the unique UUID of your partition if you like.

First, you have to find out the UUID of your partition with blkid. After that you have to set up your bootargs in the CFE.

For example:

Code: Select all

CFE> setenv bootargs "root=UUID=ae875d31-cc84-4349-95d7-01a82ad76d61  quiet ro splash"
If your partition has a LABEL (name) then you can also boot your Linux with this LABEL. For example:

Code: Select all

CFE> setenv bootargs "root=LABEL=Ubuntu quiet ro splash"
You can find out the LABEL with blkid as well.

Good luck!

Cheers,
Christian
Hi Christian,
LABEL option doesn't work.

The problem seems some initialization timing issue with kernel of live DVD.
Is it my mistake booting with kernel of live DVD?

I'm trying different kernels and discovered that the stable kernel 4.8.12 with 'rootdelay=5' doesn't suffer this problem.

These are my tests with the kernel stable 4.8.12-radeon:
[OK] setenv bootargs = "root/dev/sdc3 rootdelay=5"
[NOT OK] setenv bootargs = "root/dev/sdc3 quiet ro splash"
[OK] setenv bootargs = "root/dev/sdc3 quiet ro splash rootdelay=5"
Last edited by AlfredOne on Fri Dec 09, 2016 7:48 pm, edited 1 time in total.
Amiga500 Kickstart1.3
AmigaONE XE G4 833MHz - 2GB RAM - Radeon9200 256MB
AmigaONE X1000 - 2GB RAM - Radeon R9-280X 3GB + Radeon HIS4670 1GB DDR3 - AmigaOS4.1
My site: http://project4a.webs.com
User avatar
xeno74
Posts: 6330
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 Live DVD

Post by xeno74 »

AlfredOne wrote: Hi Christian,
LABEL option doesn't work.

The problem seems some initialization timing issue with kernel of live DVD.
Is it my mistake booting with kernel of live DVD?

I'm trying different kernels and discovered that the stable kernel 4.8.12 with 'rootdelay=5' doesn't suffer this problem.

These are my tests with the kernel stable 4.8.12-radeon:
[OK] setenv bootargs = "root0/dev/sdc3 rootdelay=5"
[NOT OK] setenv bootargs = "root0/dev/sdc3 quiet ro splash"
[OK] setenv bootargs = "root0/dev/sdc3 quiet ro splash rootdelay=5"
Hi AlfredOne,

You have a typo in your boot arguments. Please try root=/dev/sdc3 instead of root0/dev/sdc3.

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
AlfredOne
Beta Tester
Beta Tester
Posts: 126
Joined: Wed Dec 22, 2010 11:45 pm
Location: Terlizzi (BA) , Italy
Contact:

Re: ubuntu MATE 16.04.1 Live DVD

Post by AlfredOne »

xeno74 wrote:
Hi AlfredOne,

You have a typo in your boot arguments. Please try root=/dev/sdc3 instead of root0/dev/sdc3.

Cheers,
Christian
I'm sorry! It was my error in typing the post with my phone.
I use the right boot arguments on the X1000.
Amiga500 Kickstart1.3
AmigaONE XE G4 833MHz - 2GB RAM - Radeon9200 256MB
AmigaONE X1000 - 2GB RAM - Radeon R9-280X 3GB + Radeon HIS4670 1GB DDR3 - AmigaOS4.1
My site: http://project4a.webs.com
User avatar
xeno74
Posts: 6330
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 Live DVD

Post by xeno74 »

AlfredOne wrote: I'm sorry! It was my error in typing the post with my phone.
I use the right boot arguments on the X1000.
OK :-)
AlfredOne wrote: I'm trying different kernels and discovered that the stable kernel 4.8.12 with 'rootdelay=5' doesn't suffer this problem.
Fantastic! Good to know. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
AlfredOne
Beta Tester
Beta Tester
Posts: 126
Joined: Wed Dec 22, 2010 11:45 pm
Location: Terlizzi (BA) , Italy
Contact:

Re: ubuntu MATE 16.04.1 Live DVD

Post by AlfredOne »

xeno74 wrote:
AlfredOne wrote: I'm sorry! It was my error in typing the post with my phone.
I use the right boot arguments on the X1000.
OK :-)
AlfredOne wrote: I'm trying different kernels and discovered that the stable kernel 4.8.12 with 'rootdelay=5' doesn't suffer this problem.
Fantastic! Good to know. :-)
Sorry ,forget it!!!
Today i wasn't able to boot 4.8.12 too. Then i booted Live DVD , and then rebooted.
After the first boot with Live DVD, now i can boot both kernel 4.8.12 and 4.9.RC8-2.
It seems to me that booting the live DVD solves the problem of detecting SATA HDDs.

This thing makes any sense?
Amiga500 Kickstart1.3
AmigaONE XE G4 833MHz - 2GB RAM - Radeon9200 256MB
AmigaONE X1000 - 2GB RAM - Radeon R9-280X 3GB + Radeon HIS4670 1GB DDR3 - AmigaOS4.1
My site: http://project4a.webs.com
User avatar
xeno74
Posts: 6330
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 Live DVD

Post by xeno74 »

AlfredOne wrote:Sorry ,forget it!!!
Today i wasn't able to boot 4.8.12 too. Then i booted Live DVD , and then rebooted.
After the first boot with Live DVD, now i can boot both kernel 4.8.12 and 4.9.RC8-2.
It seems to me that booting the live DVD solves the problem of detecting SATA HDDs.

This thing makes any sense?
That's strange. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply