[loongson-dev] Re: HELP!!! Systerm Server died in native code
this is a good news, hopes it will help Zhen Xin! On 1月14日, 下午3时26分, zhangfx wrote: > 于 2012-1-13 18:34, Zhen Xin 写道:> The whole mirror takes 7.8GB so the size > does really matter. > > First, github seems free for public repositories. > Second, to reduce the size, you can just refer to other repositories for > all no-change parts. > Modified packages are related limited. Most part can directly refer to > mips's github repository > in the manifest.xml. > > > > > > > > > > > 在 2012年1月13日 上午12:19,李晖 写道: > >> No matter push to dev.lemote.com or github, only if we can pull data > >> down is ok! > > >> BTW, github will charge if the program's size is too large, who will > >> pay for it? > > >> On 1月12日, 下午6时12分, zhangfx wrote: > >>> 于 2012-1-12 11:37, Zhen Xin 写道:> If sqlite is the evil, you should be > >>> able to reproduce it by writing a > pure C program that calls the same function and dynamically linked to > /system/lib/libsqlite.so when loading. Just several lines can confirm > this. > And, well, here is my question: after inquired Google and Baidu and > several other ones I still have no idea how to clone an Android source > code repository on dev.lemote.com via the Git interface. Could someone > please point me a tutorial/example in detail or just do this for me? > Thanks... > >>> Temporary you cannot create a git repo from outside on dev.lemote.com, > >>> you can > >>> contact yanhua y...@lemote.com to help setup one for your android work. > >>> But I would like to recommend use github to host the code for better > >>> service. > >>> Our server might be extremely slow for many non-chinatelecom users. > > 在 2012年1月12日 上午12:38,李晖 写道: > > hi, all > >by further debuging, I found this problem was cased by calling > > sqlite3_open_v2(path8, &handle, sqliteFlags, NULL) function in dbopen > > of frameworks\base\core\jni\android_database_SQLiteDatabase.cpp file, > > it not crash directly in the sqlite3_open_v2 function, but died some > > where > > after calling sqlite3_open_v2, if I replaced the sqlite3_open_v2 > > function with the following code: > > for(int i=0;i<1000;i++) > >LOGI("useless code"); > > process will not die in the for loop at least, so I think the > > sqlite3_open_v2 function is the evil, but I do not know what to do > > next! > > BTW, the linux kernel is 64bit and android filesystem is 32bit, did it > > affect? > > On 1月11日, 上午12时33分, 李晖 wrote: > >> hi, all > >> I am porting android to loongson2f, when the System Server bring > >> up the > >> Account Manager > >> Service, the System Service process was terminated by signal 11, by > >> adding > >> log to the source code, > >> I found it died in the JNI C code, following is the calling stack: > >>> ServerThread:run > >>> PowerManagerService() > >>> validateAccounts() > >>> DatabaseHelper::getWritableDatabase() > >>> SQLiteOpenHelper::getWritableDatabase() > >>> ContextImpl::openOrCreateDatabase() > >>> SQLiteDatabase.openOrCreateDatabase() > >>> SQLiteDatabase.openDatabase() > >>> SQLiteDatabase() //Constructor > >>> dbopen()//JNI C code > >>> implemented > >>> in "frameworks\base\core\jni\android_database_SQLiteDatabase.cpp > >> I am sure the System Service died in the dbopen code as I called the > >> Log.i > >> function millions time > >> before the dbopen, log are all printed correctly, and I also added the > >> following the code at the > >> end of dbopen function: > >>> for(int i=0; i<1000; i++) > >>> { > >>> fprintf(fp, "dbopen %d\n", i); > >>> fflush(fp); > >>> } > >> not all logs are recored, if I removes the for loop at the end of > >> dbopen > >> function, the system will die some statement after the dbopen call, > >> so, I > >> think the system died in this function, but I don't known how to fix > >> it, > >> did it have to do with the JNI system? > >> any suggestion or tips will be appreciated! > >> thanks! > >> Best Regards > >> --- > >> --- > >> 北京航空航天大学大学嵌入式系统实验室 > >> 新主楼G座1028室 > >> 李晖 > >> MSN:lihui205...@163.com > > -- > > You received this message because you are subscribed to the Google > > Groups "loongson-dev" group. > > To post to this group, send email to loongson-dev@googlegroups.com. > > To unsubscribe from this group, send email to > > loongson-dev+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/grou
Re: [loongson-dev] Selecting an operating system for your new Lemote Yeeloong
>>> On Sun, Jan 8, 2012 at 10:07 AM, Alexandre "asm" >>> ... >>> >>> I was using the specific sense (on the Lemote Yeeloong only). Due to its >>> use of a faster ABI then most distros which still use o32 (I think all >>> except parabola and gentoo are still o32 based?), and also having a bunch >>> of loongson2f-specific tweaks in apps etc. BTW, any distro using "-mabi=64"? Is it actually possible or not? Thanks, -- Javier. -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
Re: [loongson-dev] Selecting an operating system for your new Lemote Yeeloong
On 1/15/12, Javier Vasquez wrote: On Sun, Jan 8, 2012 at 10:07 AM, Alexandre "asm" > ... I was using the specific sense (on the Lemote Yeeloong only). Due to its use of a faster ABI then most distros which still use o32 (I think all except parabola and gentoo are still o32 based?), and also having a bunch of loongson2f-specific tweaks in apps etc. > > > BTW, any distro using "-mabi=64"? Is it actually possible or not? Ups, just to clarify, that would be I believe n64. gcc also offers "-mabi=o64" but that's similar to n32, it's like 32 bits having some regs and funtion args in 64 bits... So I really was asking for what gcc offers as plain 64, or what I believe would be n64... Thanks, -- Javier. -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
Re: [loongson-dev] Selecting an operating system for your new Lemote Yeeloong
On Sun, Jan 15, 2012 at 11:30:51AM -0600, Javier Vasquez wrote: > >>> On Sun, Jan 8, 2012 at 10:07 AM, Alexandre "asm" > >>> > ... > >>> > >>> I was using the specific sense (on the Lemote Yeeloong only). Due to its > >>> use of a faster ABI then most distros which still use o32 (I think all > >>> except parabola and gentoo are still o32 based?), and also having a bunch > >>> of loongson2f-specific tweaks in apps etc. > > > BTW, any distro using "-mabi=64"? Is it actually possible or not? Nixos is n32 based too - I noticed the list of non-o32 missed it. It should be easy to try that mabi 64 on nixos, but why would you want that? -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
Re: [loongson-dev] Selecting an operating system for your new Lemote Yeeloong
On 1/15/12, Lluís Batlle i Rossell wrote: > On Sun, Jan 15, 2012 at 11:30:51AM -0600, Javier Vasquez wrote: >> >>> On Sun, Jan 8, 2012 at 10:07 AM, Alexandre "asm" >> >>> >> ... >> >>> >> >>> I was using the specific sense (on the Lemote Yeeloong only). Due to >> >>> its >> >>> use of a faster ABI then most distros which still use o32 (I think all >> >>> except parabola and gentoo are still o32 based?), and also having a >> >>> bunch >> >>> of loongson2f-specific tweaks in apps etc. >> >> >> BTW, any distro using "-mabi=64"? Is it actually possible or not? > > Nixos is n32 based too - I noticed the list of non-o32 missed it. It should > be > easy to try that mabi 64 on nixos, but why would you want that? According to this: http://www.linux-mips.org/wiki/WhatsWrongWithO32N32N64 n64 provides 64 bits "pointer", meaning addresses, whereas n32 doesn't, and that's the major difference, right? To me that means able to address bigger physical memory... But beyond that, here: http://www.linux-mips.org/wiki/TheCaseForN32 They recommend n64 and dropping n32 given there's gain in addressing space, still there's the gain in 64 bits registers as there is for n32, and there's one less ABI to support. I was just wondering, if there was then any n64 distro out there... To the extent I've look, seems not, :-) Thanks, -- Javier. -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
Re: [loongson-dev] Kernel 3.0.9 (not 3.2)
On Sun, Jan 08, 2012 at 06:38:06PM +0100, Lluís Batlle i Rossell wrote: > On Sun, Jan 08, 2012 at 06:21:49PM +0100, Lluís Batlle i Rossell wrote: > > Hello, > > > > I tried to boot a 3.2 kernel, and I can't get beyond a black screen. > > > > The previous kernel I used, 2.6.36, boots fine. > > Ouch, I was testing 3.0.9. Not 3.2. > > Do you know of any issues with 3.0.9? Also 3.2 does not boot for me. I'll diff carefully the configs of 2.6.36 and 3.2. I'm using "console=tty" at boot... and nevertheless, since I choose the boot in the pmon menu, I don't see anything in the screen until the sisfb driver gets loaded. Shouldn't I be seeing the text, before sisfb loads? Regards, Lluís. -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
Re: [loongson-dev] Selecting an operating system for your new Lemote Yeeloong
On Sun, Jan 15, 2012 at 12:04:59PM -0600, Javier Vasquez wrote: > I was just wondering, if there was then any n64 distro out there... > To the extent I've look, seems not, :-) Well, the fuloongs I have don't need more virtual addresses (1GB of RAM, I won't run programs that want 6GB virtual addresses, for example). And having the programs storing 64-bit pointers instead of 32-bit, makes them use more ram for certain data structores. If I remember correctly, I tried the memory usage of i686 vs x86_64 of the same version of firefox+libs (only the architecture in difference), and the x86_64 was taking 50% more RAM. Additionally, this year started the development for the amd32 ABI in binutils. That is x86_64 instructions and 32-bit addresses. At least me, I was waiting for this. :) I even was running for a while a 64-bit kernel with 32-bit OS where I had only some specific programs built for 64-bit - those who needed more virtual address space. Regards, Lluís. -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
Re: [loongson-dev] Kernel 3.0.9 (not 3.2)
On Sun, 15 Jan 2012 19:43:15 +0100 Lluís Batlle i Rossell wrote: > On Sun, Jan 08, 2012 at 06:38:06PM +0100, Lluís Batlle i Rossell wrote: > > On Sun, Jan 08, 2012 at 06:21:49PM +0100, Lluís Batlle i Rossell wrote: > > > Hello, > > > > > > I tried to boot a 3.2 kernel, and I can't get beyond a black screen. > > > > > > The previous kernel I used, 2.6.36, boots fine. > > > > Ouch, I was testing 3.0.9. Not 3.2. > > > > Do you know of any issues with 3.0.9? > > Also 3.2 does not boot for me. I'll diff carefully the configs of 2.6.36 and > 3.2. > > I'm using "console=tty" at boot... and nevertheless, since I choose the boot > in the pmon menu, I don't see anything in the screen until the sisfb driver > gets > loaded. > > Shouldn't I be seeing the text, before sisfb loads? Do you use the VGA output or DVI? Try with VGA. -- With respect, Roman ~~~ "Stallman had a printer, with code he could not see. So he began to tinker, and set the software free." signature.asc Description: PGP signature
Re: [loongson-dev] Kernel 3.0.9 (not 3.2)
On Mon, Jan 16, 2012 at 01:40:56AM +0600, Roman Mamedov wrote: > On Sun, 15 Jan 2012 19:43:15 +0100 > Lluís Batlle i Rossell wrote: > > Also 3.2 does not boot for me. I'll diff carefully the configs of 2.6.36 > > and 3.2. > > > > I'm using "console=tty" at boot... and nevertheless, since I choose the boot > > in the pmon menu, I don't see anything in the screen until the sisfb driver > > gets > > loaded. > > > > Shouldn't I be seeing the text, before sisfb loads? > > Do you use the VGA output or DVI? Try with VGA. I use only VGA. -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
Re: [loongson-dev] Selecting an operating system for your new Lemote Yeeloong
On Sun, Jan 15, 2012 at 12:30 PM, Javier Vasquez wrote: > BTW, any distro using "-mabi=64"? Is it actually possible or not? The Gentoo stages I'm shipping are o32/n32/n64 (n32 default), so without too much effort you could switch to n64, but n32 should be better for the vast majority of applications. -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
Re: [loongson-dev] create wiki account
Hi, Stevens Jie and Heihaier are the maintainers, they may help you on this issue, but I'm not sure if they have gone back to their home for Chinese New Year ;-) Regards, Wu Zhangjin On Mon, Jan 9, 2012 at 4:42 AM, Michael Stevens wrote: > Hi. > > I wanted to edit the wiki on dev.lemote.com, but I can't work out how to > create an account. > > Can anyone help? How do you do it? > > Michael > > -- > You received this message because you are subscribed to the Google Groups > "loongson-dev" group. > To post to this group, send email to loongson-dev@googlegroups.com. > To unsubscribe from this group, send email to > loongson-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/loongson-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
Re: [loongson-dev] Selecting an operating system for your new Lemote Yeeloong
2012/1/15 Lluís Batlle i Rossell > On Sun, Jan 15, 2012 at 12:04:59PM -0600, Javier Vasquez wrote: > > I was just wondering, if there was then any n64 distro out there... > > To the extent I've look, seems not, :-) > > Well, the fuloongs I have don't need more virtual addresses (1GB of RAM, I > won't > run programs that want 6GB virtual addresses, for example). > > I even was running for a while a 64-bit kernel with 32-bit OS where I had > only > some specific programs built for 64-bit - those who needed more virtual > address space. > Someone on Parabola Hackers (cc:ed, but please remove it when replying to avoid cross-post issues) mentioned that n64 would be good (at least to have available somewhere) so more virtual memory could be used - the use case he gave was that compiling and debugging some things requires more RAM then can be achieved with current hardware + n32-limited virtual memory. I think he actually had a chicken-and-egg scenario where he couldn't compile 64-bit binutils because of memory limits. -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
Re: [loongson-dev] Selecting an operating system for your new Lemote Yeeloong
Hi, This is a very helpful summary information for Loongson users. On Wed, Jan 4, 2012 at 6:05 PM, Daniel Clark wrote: > [..snip...] > 5. OpenBSD > > > If you prefer *BSD operating systems, take a look at > http://www.openbsd.org/loongson.html > > Just wondering if anyone has experience installing and running OpenBSD on a Loongson box. According to their project page, the hardware support is complete for most Loongson2f based systems including Fuloong and Yeeloong laptop, which I guess is even in better shape that Linux counterpart. It will be great to know more. Thanks. -- Regards, Xiyue Deng -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.