Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: fab on May 24, 2014, 11:46:10 AM

Title: The newest kernel 3.4.90+ is no longer booting
Post by: fab on May 24, 2014, 11:46:10 AM
Hi,

I tried to build the newest kernel 3.4.90+, and got this error when booting the A20:
(Seems to be an error related to the cedar module...).
So I reverted back to 3.4.79+ which is working well.

Fab


[   21.487811] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready               
<7>wlan0: associated                                                           
[   21.495724] wlan0: associated                                               
<d>------------[ cut here ]------------                                         
[   21.514270] ------------[ cut here ]------------                             
<2>kernel BUG at kernel/workqueue.c:1055!                                       
[   21.522653] kernel BUG at kernel/workqueue.c:1055!                           
<0>Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM                           
[   21.532224] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM               
<d>Modules linked in:[   21.539888] Modules linked in: sunxi_cedar_mod sunxi_ce1
                                                                               
CPU: 0    Not tainted  (3.4.90+ #4)                                             
[   21.559050] CPU: 0    Not tainted  (3.4.90+ #4)                             
PC is at __queue_work+0x258/0x34c                                               
[   21.566643] PC is at __queue_work+0x258/0x34c                               
LR is at __queue_work+0x60/0x34c                                               
[   21.573961] LR is at __queue_work+0x60/0x34c     
Title: Re: The newest kernel 3.4.90+ is no longer booting
Post by: JohnS on May 24, 2014, 11:52:01 AM
Have you reported it to wherever you got that kernel?  (Where did you?)

John
Title: Re: The newest kernel 3.4.90+ is no longer booting
Post by: fab on May 24, 2014, 03:19:34 PM
Quote
Have you reported it to wherever you got that kernel?  (Where did you?)

John

Yes this issue was reported back to the linux-sunxi on the google groups.
The kernel was cloned from the sunxi git hub.

Fab
Title: Re: The newest kernel 3.4.90+ is no longer booting
Post by: JohnS on May 24, 2014, 03:24:35 PM
OK, at least now they can put it on the To Do list.  It's optimistic to try bleeding edge...

John
Title: Re: The newest kernel 3.4.90+ is no longer booting
Post by: rzr on May 25, 2014, 10:50:11 AM
Thanks for sharing

Is there any bug to track ?

Is there any commit to revert temporally

I am also looking for static .config file for sun7i-a20-olinuxino-micro
(builtin features no modules) ...

will share it if needed

Regards
Title: Re: The newest kernel 3.4.90+ is no longer booting
Post by: JohnS on May 25, 2014, 05:13:52 PM
You could try git bisect if keen to find what happened.

John
Title: Re: The newest kernel 3.4.90+ is no longer booting
Post by: bubi on June 05, 2014, 05:36:49 PM
Hello,

with git clone https://github.com/linux-sunxi/linux-sunxi.git I took the 3.4.90+ kernel, that's don't boot (as reported by Fab).

But I don't understand how to obtain the "old" 3.4.79+ version (I have it on my home PC), but not at workplace...

In http://linux-sunxi.org/Linux_Kernel is not reported
using
git clone -b sunxi-3.4.79 --depth 1 https://github.com/linux-sunxi/linux-sunxi.git

give
Cloning into 'linux-sunxi'...
warning: Could not find remote branch sunxi-3.4.79 to clone.
fatal: Remote branch sunxi-3.4.79 not found in upstream origin
Unexpected end of command stream


Any idea?

Thanks in advance

Best regards
Title: Re: The newest kernel 3.4.90+ is no longer booting
Post by: bubi on June 05, 2014, 05:47:30 PM
Sorry, my bad

kernel 3.4.90+ boots
I used USBcom debug and I'm able to connect with the board.

I made some compilation error  :(

Nevertheless,  is there a way to obtain older kernel version?

Thanks and sorry again
Title: Re: The newest kernel 3.4.90+ is no longer booting
Post by: JohnS on June 05, 2014, 06:31:17 PM
Quite a few pre-built are on Olimex site / this wiki / linked from them.

You can download and build any version over the last many years if you wish, too.

John
Title: Re: The newest kernel 3.4.90+ is no longer booting
Post by: bubi on June 06, 2014, 12:19:24 PM
Thanks for your reply John.

I know I can download a20 image from Olimex a20 wiki, but I need the kernel sources.

Could you please provide a link?
I'm searching on github but without success.

Thanks
Title: Re: The newest kernel 3.4.90+ is no longer booting
Post by: JohnS on June 06, 2014, 01:33:06 PM
Olimex provide them and you can go on linux-sunxi wiki

John
Title: Re: The newest kernel 3.4.90+ is no longer booting
Post by: jlucius on June 06, 2014, 06:02:22 PM
Quote from: bubi on June 06, 2014, 12:19:24 PM
Thanks for your reply John.

I know I can download a20 image from Olimex a20 wiki, but I need the kernel sources.

Could you please provide a link?
I'm searching on github but without success.

Thanks

You need to get a specific revision in the github. All minor versions are in the same branch 3.4

For a list see here:

https://github.com/linux-sunxi/linux-sunxi/releases
Title: Re: The newest kernel 3.4.90+ is no longer booting
Post by: bubi on June 07, 2014, 12:33:28 AM
Thank you very much jlucius!
That's exactly what I need!