Re: [loongson-dev] as not work well when compile android code from mips

2011-11-04 Thread David Kuehling
> "李晖" == 李晖 writes: > the assembler just can not identify the multu.g instruction. > why the same assembler with the same march option can identify the > multu.g instruct in one file but can not in another file, did any one > knows the reason, it's so strange! Ar you sure that the file in

Re: [loongson-dev] ld error when compile the libwebcore.so

2011-11-08 Thread David Kuehling
> "李晖" == 李晖 writes: > hi all, I am porting android to loongson based on the mips android, > and the android version is froyo_r8, which can be download from > http://developer.mips.com/android/android-source-code/, my workstation > is ubuntu 9.10 in the vmware, the memory is 512M, free space

Re: [loongson-dev] xulrunner

2011-11-11 Thread David Kuehling
> "Roman" == Roman Mamedov writes: > On Fri, 11 Nov 2011 14:12:37 +0100 > Lluís Batlle i Rossell wrote: >> Hello, >> >> building firefox, I end up in this: >> ./assembler/assembler/MacroAssembler.h:46:32: fatal error: >> MacroAssemblerMIPS.h: No such file or directory >> >> Anyone with a

[loongson-dev] Fuloong FL6004 case fan

2012-01-25 Thread David Kuehling
Hi, my FL6004's fan is getting louder and louder, guess it wasn't designed to run 24/7. Anybody knows a good part to replace it? Or is it safe to just remove/unplug it? cheers, David -- GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg Fingerprint: B17A DC95 D293 657B 4205 D016

Re: [loongson-dev] Fuloong FL6004 case fan

2012-01-26 Thread David Kuehling
> "Roman" == Roman Mamedov writes: > On Thu, 26 Jan 2012 10:21:18 +0100 > Lluís Batlle i Rossell wrote: >> Yes, I noticed that web page, but "450g eCu" frightened me a bit. :) >> I can't imagine what is that. >> >> If fanless, perfect, of course. But changing a 'fan' looks like much >> les

Re: [loongson-dev] Fuloong FL6004 case fan

2012-01-26 Thread David Kuehling
>>>>> "Roman" == Roman Mamedov writes: > On Thu, 26 Jan 2012 01:15:38 +0100 > David Kuehling wrote: >> Hi, >> >> my FL6004's fan is getting louder and louder, guess it wasn't >> designed to run 24/7. Anybody knows a good part t

[loongson-dev] Replacement Cooling Fan for Fuloong 6014

2013-08-09 Thread David Kuehling
Hi, I recently decided to replace the cooler in my Fuloong 6014, which had been running almost continuously for > 2 years. The original cooler had started to make strange grinding noises and the housing was also getting quite hot recently. I successfully used this part as a replacement: http:

Re: [loongson-dev] On port boost1.53 to MIPS64(el)

2013-09-25 Thread David Kuehling
Hi YunQuiang, > "YunQiang" == YunQiang Su writes: > I am working on port Debian to mips64el platform (mips64elr2 indeed) > When working on boost1.54, it has a libboost-context now which is not > exist in boost1.49. > boost-context has some assembly code then mips64(el) is marked as > unsupp

Re: [loongson-dev] On port boost1.53 to MIPS64(el)

2013-09-27 Thread David Kuehling
> "YunQiang" == YunQiang Su writes: >>> boost-context has some assembly code then mips64(el) is marked as >>> unsupported for now. Maybe we should port it to mips64(el) >> >> Are you referring to source files >> >> ./boost_1_54_0/libs/context/src/asm/make_mips32_o32_elf_gas.S >> ./boost_1

Re: [loongson-dev] new Loongson-3A laptop, basic questions

2013-10-25 Thread David Kuehling
> "YunQiang" == YunQiang Su writes: >>> If not, I am thinking of installing that particular kernel on my >>> laptop now, then update the repositories in /etc/apt/sources... to >>> point to offical debian wheezy, then apt-get dist-upgrade. Would >>> that work? > The current debian installer d

Re: [loongson-dev] [llongson-dev] 3a/3b mini-pcs?

2013-12-04 Thread David Kuehling
Am 04.12.2013 17:39 schrieb Javier Vasquez: On Mon, Jul 22, 2013 at 10:08 PM, Fuxin Zhang wrote: 于 2013/7/21 4:39, Javier Vasquez 写道: | | 于 2013/7/19 12:11, Javier Vasquez 写道: OK, thanks, I'll be waiting... Or let me know if I need to contact someone, :-) She is already in the CC list(be

Re: [loongson-dev] [llongson-dev] 3a/3b mini-pcs?

2013-12-05 Thread David Kuehling
Am 04.12.2013 19:38 schrieb Javier Vasquez: On Wed, Dec 4, 2013 at 11:03 AM, David Kuehling wrote: I recently ordered a Loongson 3A "desktop" system by just mailing zhangm lemote . I would have preferred a bare mini-ITX board but they don't currently sell these. They sold

[loongson-dev] Loongson 3A kernel source code?

2013-12-14 Thread David Kuehling
Hi, does anybody know where I can find source code for the linux kernel with support for Loongson 3A systems? I tried looking here: http://dev.lemote.com/cgit/linux-loongson-community.git/ and downloaded: http://dev.lemote.com/cgit/linux-loongson-community.git/snapshot/linux-loongson-comm

[loongson-dev] Loongson-3A/PMON problems

2014-04-05 Thread David Kuehling
Hi, just trying to install Debian on a Xinghuo Desktop machine with Loongson 3A CPU. I built a 3.5 linux kernel that contains a minimum Debian installer as initrd. Here is the build scripts I used: http://mosquito.dyndns.tv/opensvn/free/trunk/loongson/loongson3a-debian-wheezy-installer/

Re: [loongson-dev] Loongson-3A/PMON problems

2014-04-05 Thread David Kuehling
Replying to myself: after a little trial+error I made pmon load the kernel by separating out the initrd image. I can load it from PMON via commands load (usb0,0)/installer initrd (usb0,0)/initrd g However, there seems to be some problem with the kernel: the installer runs for about one mi

Re: [loongson-dev] Loongson-3A/PMON problems

2014-04-05 Thread David Kuehling
> "Huacai" == Huacai Chen writes: > Hi, David, Could you please tell me the PMON version? And does 3.5.0-7 > works fine? Hi Huacei, entering 'vers' at the PMON prompt prints PMON2000 2.1 (Bonito) #1: 2013 [XXX]03[XXX]18[XXX]09:26:42 CST [XXX] is nonsensical ASCII garbage, maybe it's som

Re: [loongson-dev] Loongson-3A/linux kernel problems

2014-04-05 Thread David Kuehling
I'm now going to try the master branch from git://dev.lemote.com/linux-official.git . I'm wondering which source Aurelien Jarno is using for building http://temp.aurel32.net/loongson3/linux-image-3.13-1-loongson-3_3.13.4-1+loongson3+pv19_mipsel.deb , this cannot come from Linux upstream, as

Re: [loongson-dev] Loongson-3A/linux kernel problems

2014-04-06 Thread David Kuehling
> "Huacai" == Huacai Chen writes: > Hi, David, Please use "set" command in PMON and the "Version" variable > will give an exact version number. 'set Version' answers 'A1101-3.1.8' > Then, I think the pre-installed should be good, though I don't know > why it is commented. I'm pretty sure

[loongson-dev] Results for various Linux kernels on Loongson 3A/Xinghuo

2014-04-06 Thread David Kuehling
There seems to be something broken with the 'linux-official' [1] line of kernels. I now tested a lot of kernels from various sources and these are the results: * linux-official-3.5.0-7.lemote * linux-official-3.5.0-8.lemote : Loading the Debian wheezy initrd [2], I get a blank screen about

Re: [loongson-dev] Results for various Linux kernels on Loongson 3A/Xinghuo

2014-04-07 Thread David Kuehling
The v3.5 kernel included in binary form on the boot disks of the Xinghuo seems to work (file "vmlinuz3.x"). It also includes a kernel config "config-3.x". Trying to rebuild any of included kernels using Lemote's "official" source repositories with kernel config taken from the boot partition does

Re: [loongson-dev] Results for various Linux kernels on Loongson 3A/Xinghuo

2014-04-08 Thread David Kuehling
>>>>> "Aron" == Aron Xu writes: > On Tue, Apr 8, 2014 at 9:08 AM, David Kuehling wrote: >> >> This is getting frustrating. Whatever magic Lemote applied to their >> kernels doesn't seem to have made it into their repositories. >> &g

Re: [loongson-dev] Results for various Linux kernels on Loongson 3A/Xinghuo

2014-04-08 Thread David Kuehling
Hi Huacei, > "Huacai" == Huacai Chen writes: > Hi, David, Lemote's pre-installed kernel uses exactly the same source > in http://dev.lemote.com/cgit/linux-official.git/, As I wrote before: the kernel 3.5.1 repository tag lacks a copy of the radeon firmware. A difference in the firmware ma

Re: [loongson-dev] Results for various Linux kernels on Loongson 3A/Xinghuo

2014-04-13 Thread David Kuehling
Hi Huacai > Hi, David, Lemote's pre-installed kernel uses exactly the same source > in http://dev.lemote.com/cgit/linux-official.git/, the only difference > is GCC, we use the cross-compiler which can be found here: > http://dev.lemote.com/files/resource/toolchain/cross-compile/ You were right, t

Re: [loongson-dev] Results for various Linux kernels on Loongson 3A/Xinghuo

2014-04-13 Thread David Kuehling
And a few more distressing data points: * Building kernel 3.5.0-8.lemote natively on a Debian "stable" Wheezy System with Debian's default compiler gcc-4.6.3-14 results in another broken kernel (blank screen). * Building another mipsel cross-toolchain on amd64 using upstream GNU g

[loongson-dev] Errors with Lemote's 3.5.0 kernels for Loongson3A

2014-05-16 Thread David Kuehling
Hi, running a Xinghuo "Spark" 3A 6100 [4] from an encrypted root filesystem (dm_crypt+lvm), with kernels 3.5.0-8 and 3.5.0-9 [1] I get plenty of these error messages in the kernel log when doing I/O: [ 933.398437] BUG: using smp_processor_id() in preemptible [] code: kworker/2:2/2763

[loongson-dev] Lemote's kernels vulnerable to CVE-2014-0196

2014-05-16 Thread David Kuehling
Hi, the 3.5.0-* kernels from lemote [1] are vulnerable to CVE-2014-0196 [2], which makes them somewhat unusable on multi-user systems (if you don't trust all of your users). AFAIU this patch [3] should fix the issue for 3.5.0. I just put a debian package with a fixed kernel here [4] (only 3.5.0-

[loongson-dev] Lemote's kernel master branch not currently working on Xinghuo

2014-05-17 Thread David Kuehling
Hi, trying to build the master branch from [1] (5014fb051394) does not produce any kernels that run on Xinghuo 3A 6100. The screen just stays blank when loading them from the boot menu (or when boot from PMON prompt, the screen continues to show the PMON console). I tried two configurations: the

Re: [loongson-dev] Errors with Lemote's 3.5.0 kernels for Loongson3A

2014-05-17 Thread David Kuehling
>>>>> "David" == David Kuehling writes: > running a Xinghuo "Spark" 3A 6100 [4] from an encrypted root > filesystem (dm_crypt+lvm), with kernels 3.5.0-8 and 3.5.0-9 [1] I get > plenty of these error messages in the kernel log when doing I/O: > &g

Re: [loongson-dev] Errors with Lemote's 3.5.0 kernels for Loongson3A

2014-05-17 Thread David Kuehling
>>>>> "David" == David Kuehling writes: > running a Xinghuo "Spark" 3A 6100 [4] from an encrypted root > filesystem (dm_crypt+lvm), with kernels 3.5.0-8 and 3.5.0-9 [1] I get > plenty of these error messages in the kernel log when doing I/O: >

Re: [loongson-dev] Errors with Lemote's 3.5.0 kernels for Loongson3A

2014-05-18 Thread David Kuehling
> "Huacai" == Huacai Chen writes: > If it is really autoplug's bug, why the message reports error in > crypt_convert()? I'm confusing. I'm somewhat confused, too, but looking at he code, there is not a single call to smp_processor_id() in crypt_convert(). Then do_autoplug_timer() runs from

Re: [loongson-dev] Errors with Lemote's 3.5.0 kernels for Loongson3A

2014-05-20 Thread David Kuehling
> "Huacai" == Huacai Chen writes: > You can try to remove this line in > arch/mips/loongson/loongson-3/loongson3_cpuautoplug.c > BUG_ON(smp_processor_id() != 0); Just removed that line, recompiled, and the kernel log still shows the BUG: messages [ 458.898437] BUG: using smp_proc

Re: [loongson-dev] Re: Lemote's kernel master branch not currently working on Xinghuo

2014-05-20 Thread David Kuehling
> "Huacai" == Huacai Chen writes: > You can try the master branch again, I have updated the code. Just tried with 7a7d4e7770a (based on 3.15-rc5), and it seems to work (I accidentally configured with CONFIG_SMP disabled, will have to check another time whether SMP works). Unfortunately it d

Re: [loongson-dev] Re: Lemote's kernel master branch not currently working on Xinghuo

2014-05-21 Thread David Kuehling
> "Huacai" == Huacai Chen writes: > master branch need a new version of PMON, you can use this one: > http://dev.lemote.com/files/upload/lm/kernel/testing/pmon-A1101-4.0.1.bin Same upgrade method as for Fuloong? Googeling around I only find chinese documentation for Xinghuo pmon upgrade, lo

Re: [loongson-dev] Re: Lemote's kernel master branch not currently working on Xinghuo

2014-05-21 Thread David Kuehling
> "Huacai" == Huacai Chen writes: > master branch need a new version of PMON, you can use this one: > http://dev.lemote.com/files/upload/lm/kernel/testing/pmon-A1101-4.0.1.bin Sorry to be nitpicking, but I can't find any source code that corresponds to recent PMON versions. Last commit in p

[loongson-dev] lemote's 3.15-rc5 kernel reports "page allocation failure"

2014-05-21 Thread David Kuehling
Hi, compiling a Loongson3a kernel with CONFIG_SMP=y on lemote's official kernel (branch master, 7a7d4e7770) shows error messages during boot up and in kernel log: [ 24.253906] modprobe: page allocation failure: order:0, mode:0x2000d1 [ 24.402343] CPU: 3 PID: 135 Comm: modprobe Not tainted 3.1

Re: [loongson-dev] Re: Recover bricked bios

2014-09-20 Thread David Kuehling
> "Lluís" == Lluís Batlle i Rossell writes: > On Sat, Sep 20, 2014 at 05:19:16AM -0700, stig atle steffensen wrote: >> I booted it back up now, It does show the first 'boot' picture, and >> the text. It's a Lemote Yeeloong 8089_B notebook. But no matter how >> much I press delete or tab not

Re: [loongson-dev] Possibility to get dual socket motherboard with 3b cpu

2014-11-26 Thread David Kuehling
> "Matt" == Matt Turner writes: > On Thu, Nov 20, 2014 at 7:57 AM, Alexey Shvetsov wrote: >> Is that somehow possible to get dual socket motherboard with 3b cpu? > As far as I can tell, no. I tried without success for a long time. > They (loongson.cn) would go for months without responding

Re: [loongson-dev] Possibility to get dual socket motherboard with 3b cpu

2014-12-14 Thread David Kuehling
>>>>> "public" == public writes: > 26.11.2014, 18:31, "David Kuehling" : >> Did you try asking lemote.com?  They are now listing a 3B based >> server system (not sure whether it is dual-socket, though): >> > Hello. How do you communi

[loongson-dev] Using latest Debian Loongson-3 kernels on a XingHuo 3A "Spark"

2016-01-15 Thread David Kuehling
Hi, I'm running a Xinghuo 3A Desktop machine, currently with a kernel 3.5.0-9 built from Lemote's sources. I stopped upgrading to newer kernels, as these seemed to require a Bios upgrade which I feared to brick my machine. Now Debian Jessie also has a 3.16 kernel for Loongson-3A in its package r

Re: [loongson-dev] Using latest Debian Loongson-3 kernels on a XingHuo 3A "Spark"

2016-01-17 Thread David Kuehling
Hi Fuxin, > "张福新" == 张福新 writes: > I think a safe way to try is use a ram version pmon(make tgt=ram) > first. The ram version can be loaded from disk or network at old pmon > command line. If the functionality is ok, the updating of pmon itself > is quite safe. Thanks for the reply. "make

Re: [loongson-dev] Using latest Debian Loongson-3 kernels on a XingHuo 3A "Spark"

2016-01-20 Thread David Kuehling
> "Unknown" == Unknown writes: >> > I think a safe way to try is use a ram version pmon(make tgt=ram) > >> first. The ram version can be loaded from disk or network at old > >> pmon > command line. If the functionality is ok, the updating of pmon >> > itself > is quite safe. >> >> Thanks fo

[loongson-dev] Loongson3A mini-itx chipset cooler repacements?

2016-01-20 Thread David Kuehling
Hi, the Loogson3A 6100 mini-ITX based system comes with two fans installed on the main-board: a 50 x 50 mm fan on the CPU, plus a 30x30 mm fan on the chipset. Both fans have a 3-pin connector. Is it safe to assume that these are 12 V fans and the 3rd pin is a "standard" RPM monitoring pin? Wo