The newest kernel 3.4.90+ is no longer booting

Started by fab, May 24, 2014, 11:46:10 AM

Previous topic - Next topic

fab

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     

JohnS

Have you reported it to wherever you got that kernel?  (Where did you?)

John

fab

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

JohnS

OK, at least now they can put it on the To Do list.  It's optimistic to try bleeding edge...

John

rzr

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

JohnS

You could try git bisect if keen to find what happened.

John

bubi

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

bubi

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

JohnS

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

bubi

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

JohnS

Olimex provide them and you can go on linux-sunxi wiki

John

jlucius

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

bubi

Thank you very much jlucius!
That's exactly what I need!