Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: danielei on March 01, 2013, 12:35:53 PM

Title: Kernel 2.6.35 very stable, Kernel 3.x unstable
Post by: danielei on March 01, 2013, 12:35:53 PM
Hi,

I got the olinuxino-micro 2 days ago and I love it !

I had tried Kernel 2.6.35-8-ARCH+ from the link:
MX233-OLinuXino ARCH Linux SD image with WIFI support - Linux Kernel 2.6.35 and completely support for all board features https://docs.google.com/open?id=0B-bAEPML8fwlYUUxaUtsNkZrRk0

it works great, however the USB wifi that I use: TL-WN722N (ath9k_htc) is not supported.
are there any instructions on how to build the image above ? so I can add support for ath9k_htc ?
or even better is there any 2.6.35 image that supports the ath9k_htc driver ?

there are a lot of instructions on how to build kernel 3.x on the web. however I find kernel 3.x highly unstable and it OOPs constantly. I had it working with my USB wifi. but after 10-15 minutes the Kernel crashes ...

bottom line I want to run Kernel 2.6.35 with ath9k_htc support :-)


Thanks !
Title: Re: Kernel 2.6.35 very stable, Kernel 3.x unstable
Post by: Fabio Estevam on March 01, 2013, 01:22:44 PM
Can you post the kernel log containing the crash? Does it only happen when wifi is used?
Title: Re: Kernel 2.6.35 very stable, Kernel 3.x unstable
Post by: danielei on March 01, 2013, 05:59:26 PM
That's a good question. I will try both with and without wifi and post the logs.
Thank you !
Title: Re: Kernel 2.6.35 very stable, Kernel 3.x unstable
Post by: danielei on March 02, 2013, 08:22:07 PM
guys,
i'm using Jann's version from here: http://sourceforge.net/projects/janncc/files/olinuxino/kernel/3.7.6_EMI_96M/
and I removed the R17 resistor. now it works much better, no oops so far.
I did notice however that the filesystem is very fragile.
i'm kind of newbee, but I think jffs2 is better file system for Flash memory than ext3.
is it possible to install the version on jffs2 ?

Thanks,
Daniel
Title: Re: Kernel 2.6.35 very stable, Kernel 3.x unstable
Post by: Fabio Estevam on March 02, 2013, 08:25:41 PM
JFFS2 is used for rootfs stored in NAND flashes. For SD cards we use ext3 or ext4.

What do you exactly mean by: "I did notice however that the filesystem is very fragile" ?

Does ext4 work better?
Title: Re: Kernel 2.6.35 very stable, Kernel 3.x unstable
Post by: danielei on March 02, 2013, 08:37:13 PM
Hi,
that's it, crashed, not oops, but after running pacman -Syu:

:: Retrieving packages from core...
filesystem-2013.01-...     5.9 KiB   183K/s 00:00 [######################] 100%
glibc-2.17-3-arm           7.3 MiB   609K/s 00:12 [######################] 100%
binutils-2.23.1-3-arm      3.1 MiB   826K/s 00:04 [######################] 100%
gmp-5.1.1-1-arm          395.6 KiB   903K/s 00:00 [######################] 100%
coreutils-8.21-1-arm    2005.6 KiB  1046K/s 00:02 [######################] 100%
device-mapper-2.02....   150.2 KiB  1271K/s 00:00 [######################] 100%
cryptsetup-1.6.0-1-arm   169.5 KiB   503K/s 00:00 [######################] 100%
error: failed retrieving file 'perl-5.16.2-3-arm.pkg.tar.xz' from mirror.archlinuxarm.org : Failed writing body (7811 != 16384)
warning: failed to retrieve some files from core
warning: failed to retrieve some files from core
warning: failed to retrieve some files from core
.
.
.
1969 Dec 31 18:55:19 Linux-test [ 3280.260000] journal commit I/O error
1969 Dec 31 18:55:22 Linux-test [ 3280.260000] journal commit I/O error
1969 Dec 31 18:55:22 Linux-test [ 3280.260000] journal commit I/O error
1969 Dec 31 18:55:22 Linux-test [ 3280.290000] journal commit I/O error
1969 Dec 31 18:55:22 Linux-test [ 3280.290000] journal commit I/O error
1969 Dec 31 18:55:22 Linux-test [ 3280.290000] journal commit I/O error
1969 Dec 31 18:55:22 Linux-test [ 3280.320000] journal commit I/O error
1969 Dec 31 18:55:22 Linux-test [ 3280.320000] journal commit I/O error
1969 Dec 31 18:55:22 Linux-test [ 3280.320000] journal commit I/O error
1970 Jan  1 00:55:23 Linux-test [ 3280.350000] journal commit I/O error
1970 Jan  1 00:55:23 Linux-test [ 3280.350000] journal commit I/O error
.
.
.
now when I try ls:[root@Linux-test etc]# ls
-bash: /usr/bin/ls: No such file or directory
[root@Linux-test etc]# 1970 Jan  1 00:55:41 Linux-test [ 3280.690000] journal commit I/O error

Title: Re: Kernel 2.6.35 very stable, Kernel 3.x unstable
Post by: danielei on March 02, 2013, 08:42:02 PM
Hi Fabio,
waoo that was fast response, thank you !
the above is what I mean fragile ...
I flash the image again. start working, installed lighttpd and a few more things, then it crashes, doesn't even recognize ls

thanks !
Title: Re: Kernel 2.6.35 very stable, Kernel 3.x unstable
Post by: Fabio Estevam on March 02, 2013, 08:47:11 PM
Can you try booting from U-boot mainline with the patch below applied?
http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/154495
Title: Re: Kernel 2.6.35 very stable, Kernel 3.x unstable
Post by: danielei on March 02, 2013, 08:54:55 PM
Hi Fabio,
i'm very new at this. I just download an image and run. is there an image somewhere I can download that includes that fix ?

Thanks.