[Announce] linux-2.6.30.9, linux-2.6.31.4, linux-2.6.32-rc4 for loongson

76 views
Skip to first unread message

Wu Zhangjin

unread,
Oct 12, 2009, 11:24:31 PM10/12/09
to loongson-dev, zhangfx, ya...@lemote.com, hu...@lemote.com, Zhang Le, Liu Shiwei, Thomas Gleixner, Ralf Baechle, Nicholas Mc Guire, Qingguo Zhou, zhang chuande, Erwan Lerale
Hi, all

linux-2.6.30.9, linux-2.6.31.4, linux-2.6.32-rc4 for loongson are ready
for you, welcome to upgrade.

The booting process of linux-2.6.32-rc4 is obviously faster(at least
1.5s) than the older versions, and there is an existing bug in all of
these three versions: the rtl8187b wifi driver can not survive after
resuming from Hibernation, which need to be fixed in the next version.

let's have a look at them:

1. linux-2.6.30.9

download:
git://dev.lemote.com/rt4ls.git v2.6.30.9
or
http://dev.lemote.com/cgit/rt4ls.git/snapshot/rt4ls-2.6.30.9.tar.bz2

changes:

* cpu_freq fixup (reported by Michael Heide)
* update to linux-mips

2. linux-2.6.31.4

download:
git://dev.lemote.com/rt4ls.git v2.6.31.4
or
http://dev.lemote.com/cgit/rt4ls.git/snapshot/rt4ls-2.6.31.4.tar.bz2

changes:

* config files are cleaned up
* avoid do_IRQ for perfcounter when the interrupt is from bonito
(reported by Chenjie and fixed by Hu hongbing)
* add a new machine(lynloong) support(Standby,backlight...)
* add suspend/resume support to sm712(from realtek)
* rtl8187b wifi support: migrate rfkill with new kernel API
* fix Hibernation failure with FLATMEM
* MIPS: 64-bit: Fix o32 lookup_dcookie syscall(from Hu Hongbing)
* add a pm framework for loongson2f family machines
(This framework will add basic standby support for all of the
loongson2f-based machines, you just need to add a BUTTON to send an
interrupt to loongson2f to wakeup it after standby!)
* Most of the EC modules for yeeloong2f are rewritten, and you are SAFE
to remove the fnkey tool from your machine if you are using the standard
Debian system with gnome-power-manager or kpowersave.
* upgrate to linux-mips

3. linux-2.6.32-rc4

download:
git://dev.lemote.com/rt4ls.git master

changes:
* update to linux-mips
* migrate all loongson-specific support from linux-2.6.31.4

More information are available here:

http://dev.lemote.com/code/rt4ls

Regards,
Wu Zhangjin

ri...@happyleptic.org

unread,
Oct 13, 2009, 1:44:41 PM10/13/09
to loongs...@googlegroups.com
So the prefered kernel for yeeloong is now 2.6.32-rc4 ?

Also, out of curiousity, what's a lynloong ?

Wu Zhangjin

unread,
Oct 13, 2009, 9:00:46 PM10/13/09
to loongs...@googlegroups.com
Hi,

On Tue, 2009-10-13 at 19:44 +0200, ri...@happyleptic.org wrote:
> So the prefered kernel for yeeloong is now 2.6.32-rc4 ?
>

No, -rc4(in the master branch) is not a stable one yet, you'd better try
2.6.31.4 currently, or try this stable branch which may bring the latest
update from Ralf's and Linus' git repository:

git://dev.lemote.com/rt4ls.git linux-loongson/2.6.31/stable

but you are welcome to test it :-)

git://dev.lemote.com/rt4ls.git master

> Also, out of curiousity, what's a lynloong ?
>

Sorry, I can not find an English webpage about it, but this one have a
picture of lynloong:

http://tech.163.com/09/0921/01/5JMS3RNF000915BD.html

The left one is lynloong, most of the components are integrated in,
including the display, so in Chinese, we call it 一体机(AllInOne)。

Regards,
Wu Zhangjin

刘世伟

unread,
Oct 14, 2009, 5:38:10 AM10/14/09
to loongs...@googlegroups.com
2.6.31.4 (20091014)
BUG:Bad page map in process ffplay pte:f8000000bec1879f pmd:98000000bcb00000

dmesg:
http://yz.anheng.com.cn/dmesg.txt.gz

刘世伟

unread,
Oct 14, 2009, 5:54:40 AM10/14/09
to loongs...@googlegroups.com
[ 71.240000] rtl8187: Now Radio ON!
[ 96.380000] snd-malloc: invalid device type 0
[ 96.436000] snd-malloc: invalid device type 0
[ 96.468000] snd-malloc: invalid device type 0
[ 96.500000] snd-malloc: invalid device type 0
[ 96.636000] snd-malloc: invalid device type 0
[ 96.672000] snd-malloc: invalid device type 0
[ 96.708000] snd-malloc: invalid device type 0
[ 96.744000] snd-malloc: invalid device type 0
[ 97.012000] CPU 0 Unable to handle kernel paging request at virtual
address 000000f7807596e0, epc == ffffffffc023fa3c, ra ==
ffffffff802a6f7c
[ 97.032000] Oops[#1]:
[ 97.032000] Cpu 0
[ 97.032000] $ 0 : 0000000000000000 ffffffffcfffffff
fffffffffffffffc 000000f7807596e0
[ 97.032000] $ 4 : 000000f8000000b0 00d9000000a6e800
ffffffffffffc000 98000000bce5c0a8
[ 97.032000] $ 8 : 0000000000000000 0000000000000001
0000000000000000 0000000000000006
[ 97.032000] $12 : 00000000100044e1 000000001000001e
ffffffff8031a298 000000002aab2c30
[ 97.032000] $16 : 98000000bceabd70 000000002aaf0000
98000000bcdac2e0 98000000bce5c0a8
[ 97.032000] $20 : 0000000000000001 98000000bcdac2e0
98000000bcdefdb0 0000000000000000
[ 97.032000] $24 : 00000000000002c9 000000002b4dc860
[ 97.032000] $28 : 98000000bcea8000 98000000bceabd60
0000000000000007 ffffffff802a6f7c
[ 97.032000] Hi : 0000000000000000
[ 97.032000] Lo : 00000000000012bc
[ 97.032000] epc : ffffffffc023fa3c
snd_pcm_mmap_data_fault+0x114/0x138 [snd_pcm]
[ 97.032000] Not tainted
[ 97.032000] ra : ffffffff802a6f7c __do_fault+0x7c/0x598
[ 97.032000] Status: 100044e3 KX SX UX KERNEL EXL IE
[ 97.032000] Cause : 10008008
[ 97.032000] BadVA : 000000f7807596e0
[ 97.032000] PrId : 00006303 (ICT Loongson-2)
[ 97.032000] Modules linked in: cpufreq_conservative
cpufreq_userspace cpufreq_powersave ext4 jbd2 crc16 reiserfs fuse
dm_crypt dm_mod snd_cs5535audio snd_ac97_codec ac97_bus snd_pcm_oss
snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi
snd_rawmidi snd_seq_midi_event snd_seq uvcvideo videodev snd_timer
v4l1_compat snd_seq_device v4l2_compat_ioctl32 rtl8187b rfkill
i2c_core snd soundcore snd_page_alloc
[ 97.032000] Process pulseaudio (pid: 2828,
threadinfo=98000000bcea8000, task=98000000bcda8000,
tls=000000002c34e8b0)
[ 97.032000] Stack : 98000000bcdefdb0 ffffffff802a6f7c
0000000000000001 0000000000000000
[ 97.032000] 000000002aaf0000 0000000000000000
00000000ffffffff 0000000000000001
[ 97.032000] 98000000bceabeb0 000000002aaf0000
98000000bcda8000 98000000bcdac340
[ 97.032000] 0000000000000001 98000000bcdac2e0
98000000bcdefdb0 000000002ab68000

ri...@happyleptic.org

unread,
Oct 14, 2009, 4:51:17 PM10/14/09
to loongs...@googlegroups.com
> git://dev.lemote.com/rt4ls.git master

To compile current master (right after
2c2a2faa88b7b0f6cb8901fc424dd0ba8f35c78d)
I had to include severall additionnal headers here and there :

----
diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c
index e0d0f8b..67fc1cc 100644
--- a/drivers/char/rtc.c
+++ b/drivers/char/rtc.c
@@ -79,6 +79,7 @@
#include <linux/bcd.h>
#include <linux/delay.h>
#include <linux/uaccess.h>
+#include <linux/sched.h>

#include <asm/current.h>
#include <asm/system.h>
diff --git a/include/drm/ttm/ttm_memory.h b/include/drm/ttm/ttm_memory.h
index 6983a7c..80012aa 100644
--- a/include/drm/ttm/ttm_memory.h
+++ b/include/drm/ttm/ttm_memory.h
@@ -33,6 +33,7 @@
#include <linux/wait.h>
#include <linux/errno.h>
#include <linux/kobject.h>
+#include <linux/mm_types.h>

/**
* struct ttm_mem_shrink - callback to shrink TTM memory usage.
----

> > Also, out of curiousity, what's a lynloong ?
>
> Sorry, I can not find an English webpage about it, but this one have a
> picture of lynloong:
>
> http://tech.163.com/09/0921/01/5JMS3RNF000915BD.html

Looks really nice !
What's the video system to drive such a big screen ?
Is it the same than the one on the yeeloong ?

Wu Zhangjin

unread,
Oct 14, 2009, 8:58:24 PM10/14/09
to loongs...@googlegroups.com
Hi,

Thanks very much for your report, Just checked the patches in the LKML,
The above problems have been fixed in the official linux, I will pull
the relative patches in.

> > > Also, out of curiousity, what's a lynloong ?
> >
> > Sorry, I can not find an English webpage about it, but this one have a
> > picture of lynloong:
> >
> > http://tech.163.com/09/0921/01/5JMS3RNF000915BD.html
>
> Looks really nice !
> What's the video system to drive such a big screen ?
> Is it the same than the one on the yeeloong ?
>

The video system is the same as the one on fuloong2f.

Regards,
Wu Zhangjin

Reply all
Reply to author
Forward
0 new messages