Kernel 4.2

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

Re: Kernel 4.2

Post by xeno74 »

I released the alpha2 today. I cross compiled it from the git today.

New:
I had to create a new patch for the file probe.c because of code changes.

Code: Select all

@@ -1645,11 +1649,14 @@ static int only_one_child(struct pci_bus
 
 	if (!parent || !pci_is_pcie(parent))
 		return 0;
+	#ifndef CONFIG_PPC_PASEMI_SB600
+	// SB600 has non-zero devices on non-root bus.
 	if (pci_pcie_type(parent) == PCI_EXP_TYPE_ROOT_PORT)
 		return 1;
 	if (parent->has_secondary_link &&
 	    !pci_has_flag(PCI_SCAN_ALL_PCIE_DEVS))
 		return 1;
+	#endif
 	return 0;
 }
Download: vmlinux-4.2-alpha2-AMIGA_one_X1000.tar.bz2

PLEASE test the alpha2. Thanks in advance.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.2

Post by xeno74 »

I have bad news. The kernel developers have rewritten the PCI part of the kernel. In my point of view is that the reason why the kernel 4.2 doesn't boot.

Merge tag 'pci-v4.2-changes' 2015-06-23 20:41:24
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.2

Post by xeno74 »

Another attempt: vmlinux-4.2-alpha2-2-AMIGA_one_X1000.tar.bz2

Could you please test it again?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
musa
Posts: 712
Joined: Tue Aug 23, 2011 7:58 pm

Re: Kernel 4.2

Post by musa »

No of the 4.2 kernels work with Mate 15.04, Mate 15.10 or Debian 8
Kernel panic
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 9379
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.2

Post by xeno74 »

musa wrote:No of the 4.2 kernels work with Mate 15.04, Mate 15.10 or Debian 8
Kernel panic
OK, thank you for testing.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.2

Post by xeno74 »

All,

I compiled the kernel 4.2 from git on my A1-X1000 yesterday. Unfortunately our problem increases a bit. CFE can't boot the kernel 4.2 anymore. In my point of view there is another problem. It means there are two problems currently. First of all the problem with the new PCI code and then the new problem with booting from the CFE firmware.

Nice weekend.

Rgds,

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
Srtest
Posts: 240
Joined: Wed Jun 11, 2014 5:06 pm

Re: Kernel 4.2

Post by Srtest »

Xeno, I recently installed 15.10 development and at first I always had kernel panic, because for me at least it added a prompt in the net boot installation that says I need to choose the right kernel image which is then stored on the distribution installation. After a couple of tries I picked the correct kernel image and it booted normally notwithstanding, of course, the regular issues.
User avatar
Srtest
Posts: 240
Joined: Wed Jun 11, 2014 5:06 pm

Re: Kernel 4.2

Post by Srtest »

Srtest wrote:Xeno, I recently installed 15.10 development and at first I always had kernel panic, because for me at least it added a prompt in the net boot installation that says I need to choose the right kernel image which is then stored on the distribution installation. After a couple of tries I picked the correct kernel image and it booted normally notwithstanding, of course, the regular issues.
Disregard this, tested alpha 2 and no go.
User avatar
xeno74
Posts: 9379
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.2

Post by xeno74 »

I cross compiled the latest git version of kernel 4.2 today. Could you please test if this kernel boots?

vmlinux-git-02_July_2015.tar.bz2

Thanks in advance. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
musa
Posts: 712
Joined: Tue Aug 23, 2011 7:58 pm

Re: Kernel 4.2

Post by musa »

xeno74 wrote:I cross compiled the latest git version of kernel 4.2 today. Could you please test if this kernel boots?

vmlinux-git-02_July_2015.tar.bz2

Thanks in advance. :-)
Hi
I testet the latest vmlinux-git-02_July_2015 .
The kernel start booting but stop with: Kernel panic - not syncing : fatal exception in interrupt.
Same on ubuntu 15.04 ubuntu 15.10 and debian 8
AmigaX1000
Follow me on twitter @basjoo_dk
Post Reply