Kernel 2.6.35 very stable, Kernel 3.x unstable

Started by danielei, March 01, 2013, 12:35:53 pm

Previous topic - Next topic

danielei

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 !

Fabio Estevam

Can you post the kernel log containing the crash? Does it only happen when wifi is used?

danielei

That's a good question. I will try both with and without wifi and post the logs.
Thank you !

danielei

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

Fabio Estevam

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?

danielei

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


danielei

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 !


danielei

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.