Re: [maemo-developers] Unable to create virtual memory
Hi, Jakub, Thanks for your reply. [EMAIL PROTECTED] wrote: *From:* ext Andrey Khurri [mailto:[EMAIL PROTECTED] *Sent:* 20 December, 2006 14:17 *To:* Pavelek Jakub (Nokia-M/Helsinki) *Cc:* maemo-developers@maemo.org *Subject:* Re: [maemo-developers] Unable to create virtual memory [EMAIL PROTECTED] wrote: I have Nokia 770 with OS 2006 on it. I've been trying to extend my memory card to be used as additional virtual memory. I used Control panel->Memory->Virtual (tag). When I choose either of sizes offered (from 8 MB to 32 MB in my case) and press 'OK' it displays an error window 'Unable to create virtual memory'. What might be wrong here? And also, what this built-in option actually does? It resizes or creates a file ".swap" on the memory card. Could be you have a ".swap" there already, created as a root and then it can't touch it. I checked the /media/mmc1 directory and I do not have a .swap file there. The problem is still unresolved. Andrey It is hard to tell. Best would be to describe the problem in finer detail (e.g. do you get the error message immediately or after some activity being show, etc.) In general, a bug report would be a good place to follow this: https://maemo.org/bugzilla/enter_bug.cgi?product=haf component general, assign it to me or at least notify me of the bug number ;) I think I found the root of my problem. It is my memory card which somehow does not have write access to it. It says ' Read-only file system' whenever I try to write any file to it. So, definitely it is not able to create a swap file there and extend virtual memory. Now I am wondering if formatting the card would solve the issue. I have another tablet and creating a swap file there was successful. So, I did not add a bug to bugzilla because the problem is not related to the device itself. Best Regards, Andrey ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Unable to create virtual memory
[EMAIL PROTECTED] wrote: I have Nokia 770 with OS 2006 on it. I've been trying to extend my memory card to be used as additional virtual memory. I used Control panel->Memory->Virtual (tag). When I choose either of sizes offered (from 8 MB to 32 MB in my case) and press 'OK' it displays an error window 'Unable to create virtual memory'. What might be wrong here? And also, what this built-in option actually does? It resizes or creates a file ".swap" on the memory card. Could be you have a ".swap" there already, created as a root and then it can't touch it. I checked the /media/mmc1 directory and I do not have a .swap file there. The problem is still unresolved. Andrey ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Unable to create virtual memory
Hi all, I have Nokia 770 with OS 2006 on it. I've been trying to extend my memory card to be used as additional virtual memory. I used Control panel->Memory->Virtual (tag). When I choose either of sizes offered (from 8 MB to 32 MB in my case) and press 'OK' it displays an error window 'Unable to create virtual memory'. What might be wrong here? And also, what this built-in option actually does? Is it analogical to 'swapon/swapoff' terminal command and, thus, the screenshot applet? Do I have to create manually a swap file before using control panel/screenshot applet? My memory card has the size of 64 MB. It is currently 38% used and the rest of it is free. There is only one default partition. My second question is whether to use swap file or partition? Did I understand correctly (http://maemo.org/maemowiki/HowTo_CreateSwap) that for OS 2006 there are basically NO arguments for using a swap partition rather than a swap file on the memory card? The only one I find is that a swap partition will be available when the Nokia 770 is connected via USB to a PC. Otherwise the OS 2006 automatically does swapon/swapoff upon USB connection/card ejection, so the device will not crash if we forget to do it manually. Andrey ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] compiling problems in scratchbox
Hi there, I've got a problem with compiling some stuff in Scratchbox. It seems that compiler does not understand an option '-llibrary' when linking. It works elsewhere but in Scratchbox. I tried both sbox-i686-linux-gcc and sbox-arm-linux-gcc compilers. Both are 3.4.4 version (CodeSourcery ARM 2005q3-2). Do you know if this option is supported at all by sbox compilers or should it be invoked in some other way than '-llibrary' or '-l library'? I checked that I have those libraries which I am trying to link installed so it shouldn't be a point (libraries are located under /usr/lib/ as a liblibrary.a) The help messages for sbox compilers are not that helpful and contain nothing related to '-llibrary' option. Below is an output of the error for PC target: sbox-i686-linux-gcc: -lgthread-2.0: linker input file unused because linking not done sbox-i686-linux-gcc: -lglib-2.0: linker input file unused because linking not done sbox-i686-linux-gcc: -lgobject-2.0: linker input file unused because linking not done sbox-i686-linux-gcc: -lglib-2.0: linker input file unused because linking not done sbox-i686-linux-gcc: ../libinet6/.libs/libinet6.a: linker input file unused because linking not done sbox-i686-linux-gcc: ../libhiptool/.libs/libhiptool.a: linker input file unused because linking not done cc1: error: unrecognized command line option "-lgthread-2.0" cc1: error: unrecognized command line option "-lglib-2.0" cc1: error: unrecognized command line option "-lgobject-2.0" cc1: error: unrecognized command line option "-lglib-2.0" Would appreciate your help, Andrey ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 C binaries do not run on N770
Winston Wu wrote: Hi, I'm new to the whole Maemo/Scratchbox/N770 thing. I have set up the Maemo 2.0 following this tutorial: http://www.maemo.org/platform/docs/tutorials/Maemo_tutorial.html. My goal is to write a bluetooth application in C inside Maemo/Scratchbox and send the binaries over to the N770. So I followed exactly what's on the tutorial. After the installation, I wrote a little helloworld.c with a printf statement. The binary runs in the emulation fine. But when I scp and run the binary in my N770, it doesn't. This is the error it generated. -sh: ./hello: not found So I checked the binary version by: #file hello and this is the output. hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.4.17, dynamically linked (uses shared libs), not stripped I also have a standard ARM tool chain outside of the scratchbox. I compiled the same helloworld using that tool chain and ran the binary on the N770. The binary ran. So I'm convinced my N770 is working. When I do this: #file hello2 hello2: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped I am suspecting that my N770 may be running the old 2005 OS and the Maemo is based on the new 2006 OS. Hi, you can easily check the version of OS you're running on your tablet. Using menu go to the 'Control panel', then choose 'Device' section and inside the new opened window change to the tab 'About product'. Here you are! For instance, on my tablet I have there: Nokia 770 Internet Tablet Internet Tablet OS 2006 edition (that is the final OS 2006 release) Version: 1.2006.26-8 WLAN MAC address ... Bluetooth address ... So if you still have OS 2005 then binaries compiled with maemo 2.0 would definitely not work on the tablet. Cheers, Andrey ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Re: Repositories
Michael Wiktowy wrote: On 9/5/06, Carlos Guerreiro <[EMAIL PROTECTED]> wrote: Most of these differences are not really justified anymore. The exceptions (themes,bitmaps,...) need to be handled in a controlled manner. We are working towards getting rid of the unnecessary divergence. Well ... I am one of those users caught a bit by doing an "apt-get upgrade" (more specifically I took the Red Pill and upgraded some core packages) and expecting it to "do the right thing". I didn't get the constant rebooting but I am experiencing random application crashes now. "The right thing" that I was expecting was: - Upgrade core packages with newer more stable more up to date packages with possible security fixes and functionality fixes but no great leaps in versions - any unstable, in-development packages for the next version of the OS would be in a separate repository component that would need to be specificially enabled - once a new stable branch was developed, I could use apt-get upgrade to upgrade my 770 to it after changing the repository info over I understand now that the repositories are not arranged that way for the 770 ... I just wish they were. I also have to figure out which packages to downgrade in order for my 770 to become stable again. Maybe a reflash is the simplest way. Hi, I am not sure if this would help in your case but I have upgraded my N770 to use fixed gst-plugins-farsight package from repository.maemo.org (since I used 'apt-get upgrade', then ran into a reboot cycle, then set the flag 'no-lifeguard-reset' to get rid of this) and now audio and video players can play the files again and device does not reboot even when in production mode (with cleared flag) Cheers, Andrey ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Repositories
Hi all, I am now a bit puzzled with this repositories stuff. I've been always aware of that repository.maemo.org MUST NOT be used on a host workstation or PC. This is clear. However, how should I interpret all those warnings that this repository is 'ONLY' meant for using inside Scratchbox? This 'ONLY' sounds ambiguously to me when I look at i.e. ApplicationCatalog2006 and see there lots of packages meant for Nokia 770 device and available from repository.maemo.org. Doesn't this mean that repository.maemo.org should be included in /etc/apt/sources.list on Nokia 770 in order to get those packages installed? Or is the difference that one could fetch packages from repository.maemo.org and install them on Nokia 770 BUT could NOT use this repository to upgrade tablet (like 'apt-get upgrade')? I was also thinking that any package installable inside SB environment (in an armel target) can be installed on Nokia 770? If this is right can the same repositories be used both inside SB and on N770? Someone please comment on this. Best regards, Andrey Devesh Kothari wrote: Please note the warning on http://maemo.org/downloads/download-sdk.html#Package+repository DONT USE THE maemo.org repository to upgrade your device. IT IS CURRENTLY NOT MEANT FOR THIS AN DEVICE UPGRADE HAS NEVER BEEN TESTED. UPGRADE only maemo rootstrap installed INSIDE SB development environment. Devesh ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Re: rebooting constantly after upgrading packages
Hello, It is interesting to see that a post initiated by me due to cycle reboot after upgrading has grew into such a big thread. It seems that this problem has been experienced by a lot of people and has annoyed them. This is true. I absolutely agree that either using Application Manager or apt-get tool to upgrade the system must NOT brake it at any point. As for apt-get and consumers I believe that this command tool is pretty nice to use in a Debian like system and it is meant for end users as well as any graphical package manager. Some notes on rd-mode see below... Michael Flaig wrote: Hi Sebastian, you probably got me wrong on the first part ... I agree with you. Just wanted to point out that in my opinion there is no official support for xterm + apt-get with mistral. With application installer this problem doesn´t happen, because it doesn't update system packages only apps. I also agree with you that maemo should be more debian-like and debian tools should work flawlessly... What I know of this problem and fixes, so far... 1) the problem with upgrading a running maemo-launcher seems to be fixed in sardine 2) I have not read anything new of the gstreamer issue, which seem to cause these reboot cycles, too. 3) So far no information what this gstramer module which you need to remove does You wrote that you didn´t enable rd mode: How did you apt-get then? I´m thought that apt-get is only available for root (sudo gainroot) and not for the user. becomeroot package? Do I miss anything? Using apt-get needs root privileges, that is right. However, if you are using 'sudo gainroot' you might and should disable rd-mode after editing /usr/sbin/gainroot file (in order to get 'sudo gainroot' working later without rd-mode) as HOWTO proposed http://maemo.org/maemowiki/HowDoiBecomeRoot Myself I am using 'sudo su' (the easier way to get root access) and this is working ok for me http://maemo.org/maemowiki/HowDoiBecomeRoot2 I've put the N770 in rd mode since IT2006 beta, so I could be wrong. Oh and just a hint: I installed some packages from unofficial repos (but listed in the wiki) that seemed to have broken the dpkg status file on my 770. Quickest way to fix this was making backup and reflashing :-( .o(Note to myself: You need to verify this ...) Cheers, Michael Cheers, Andrey ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Re: rebooting constantly after upgrading packages
Santtu Lakkala wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Álvaro J. Iradier wrote: Yes, basically you'll need to disable lifeguard flag, and then complete the apt-get upgrade using ssh (when updating maemo-launcher xterm will be killed). This actually depends on which version of osso-xterm is used, the one from maemo[1] repositories does not use maemo-launcher, so it is safe to use; however, the one from maemo-hackers[2] does use, and will be killed. I was using xterm from maemo-hackers so it was killed. I followed the steps suggested above and in some previous threads and set the flag 'no-lifeguard-reset'. After that my device didn't reboot anymore. I completed upgrade with 'dpkg --configure -a' and it seemed to fix the mess with my packages. However, after that I decided to try to clear that flag back hoping that tablet now does not need it. Clearing the flag resulted again in cycle reboot of my system. I was wondering whether this behavior is alright? Also as was mentioned by Johannes Eickhold in http://maemo.org/pipermail/maemo-developers/2006-August/005349.html video and audio players are not able to play files any more after this failure. With regards to this problem is flashing device the only way to fix it? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] rebooting constantly after upgrading packages
Hi, I just did 'apt-get upgrade' with my tablet. After fetching packages it started unpacking and replace them as usual. After it reached maemo-launcher and osso-sounds-ui the tablet rebooted automatically, booted back completely (ran desktop environment and so on). But at this point it worked only for about 10-15 seconds and then rebooted again. Since then it's booting, working for aforementioned time, rebooting again and so on... Any ideas how to proceed now? And what is the reason for this failure? Below is the terminal output: /home/user # apt-get upgrade Reading package lists... Done Building dependency tree... Done The following packages have been kept back: libosso-gnomevfs2-0 libosso-gnomevfs2-common The following packages will be upgraded: certs clinkc0 gst-plugins-farsight lessertunjo0 libcst libgalago1 libjinglebase0 libjinglep2p0 libtelepathy maemo-launcher osso-sounds-ui shared-mime-info 12 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Need to get 2305kB of archives. After unpacking 2426kB of additional disk space will be used. Do you want to continue [Y/n]? Y WARNING: The following packages cannot be authenticated! libcst certs clinkc0 libjinglebase0 libjinglep2p0 gst-plugins-farsight lessertunjo0 libgalago1 libtelepathy maemo-launcher osso-sounds-ui shared-mime-info Install these packages without verification [y/N]? y Get:1 http://bgran.net mistral/user shared-mime-info 0.17-0indt1 [337kB] Get:2 http://repository.maemo.org mistral/free libcst 1.6.34maemo1 [36.7kB] Get:3 http://repository.maemo.org mistral/free certs 1.5.4maemo1 [62.5kB] Get:4 http://repository.maemo.org mistral/non-free clinkc0 1.0-27.1 [56.1kB] Get:5 http://repository.maemo.org mistral/free libjinglebase0 0.3.0-0osso1.2maemo1 [107kB] Get:6 http://repository.maemo.org mistral/free libjinglep2p0 0.3.0-0osso1.2maemo1 [186kB] Get:7 http://repository.maemo.org mistral/free gst-plugins-farsight 0.10.1-0osso2maemo1 [56.5kB] Get:8 http://repository.maemo.org mistral/free lessertunjo0 0.1.2-3maemo1 [13.0kB] Get:9 http://repository.maemo.org mistral/non-free libgalago1 0.5.0-0osso3maemo1 [100kB] Get:10 http://repository.maemo.org mistral/free libtelepathy 0.0.14-0osso1maemo1 [20.8kB] Get:11 http://repository.maemo.org mistral/free maemo-launcher 0.17-1.1sdk1 [42.9kB] Get:12 http://repository.maemo.org mistral/non-free osso-sounds-ui 1.2-4sdk1 [1287kB] Fetched 2305kB in 9s (231kB/s) /bin/sh: /usr/sbin/dpkg-preconfigure: not found (Reading database ... 11081 files and directories currently installed.) Preparing to replace libcst 1.6.34 (using .../libcst_1.6.34maemo1_armel.deb) ... Unpacking replacement libcst ... Preparing to replace certs 1.5.4 (using .../certs_1.5.4maemo1_armel.deb) ... Unpacking replacement certs ... Preparing to replace clinkc0 1.0-26 (using .../clinkc0_1.0-27.1_armel.deb) ... Unpacking replacement clinkc0 ... Preparing to replace libjinglebase0 0.3.0-0osso1.2 (using .../libjinglebase0_0.3.0-0osso1.2maemo1_armel.deb) ... Unpacking replacement libjinglebase0 ... Preparing to replace libjinglep2p0 0.3.0-0osso1.2 (using .../libjinglep2p0_0.3.0-0osso1.2maemo1_armel.deb) ... Unpacking replacement libjinglep2p0 ... Preparing to replace gst-plugins-farsight 0.10.1-0osso2 (using .../gst-plugins-farsight_0.10.1-0osso2maemo1_armel.deb) ... Unpacking replacement gst-plugins-farsight ... Preparing to replace lessertunjo0 0.1.2-3 (using .../lessertunjo0_0.1.2-3maemo1_armel.deb) ... Stopping lessertunjo: lessertunjo. Unpacking replacement lessertunjo0 ... Preparing to replace libgalago1 0.5.0-0osso3 (using .../libgalago1_0.5.0-0osso3maemo1_armel.deb) ... Unpacking replacement libgalago1 ... Preparing to replace libtelepathy 0.0.14-0osso1 (using .../libtelepathy_0.0.14-0osso1maemo1_armel.deb) ... Unpacking replacement libtelepathy ... Preparing to replace maemo-launcher 0.17-1.1 (using .../maemo-launcher_0.17-1.1sdk1_armel.deb) ... Stopping Maemo Launcher: maemo-launcher. Unpacking replacement maemo-launcher ... Preparing to replace osso-sounds-ui 1.2-4 (using .../osso-sounds-ui_1.2-4sdk1_all.deb) ... Unpacking replacement osso-sounds-ui ... ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] dpkg processing error
Hi all, I am trying to install 'ncurses-bin' package from repositories but got an error as described below: Nokia770-26:~# apt-get install ncurses-bin Reading package lists... Done Building dependency tree... Done The following NEW packages will be installed: ncurses-bin 0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded. Need to get 0B/140kB of archives. After unpacking 414kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! ncurses-bin Install these packages without verification [y/N]? y /bin/sh: /usr/sbin/dpkg-preconfigure: not found (Reading database ... 10639 files and directories currently installed.) Unpacking ncurses-bin (from .../ncurses-bin_5.5-1_armel.deb) ... dpkg: error processing /var/cache/apt/archives/ncurses-bin_5.5-1_armel.deb (--unpack): trying to overwrite `/usr/bin/clear', which is also in package busybox dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/ncurses-bin_5.5-1_armel.deb E: Sub-process /usr/bin/dpkg returned an error code (1) I checked what is /usr/bin/clear and it was a symbolic link to /usr/bin/busybox. Then I tried to remove this link so there is no '/usr/bin/clear' anymore but it does not help. I get the same error as before. I would be grateful for your ideas how to fix this. Andrey ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] ipsec-tools and openssl for N770
Hi, First of all I'd like to ask if someone has got ready for use 'ipsec-tools' package for N770? I didn't find one in Application Catalog 2006. That's why I am trying to build it myself inside armel Scratchbox target. However, it has some build-depends such as libkrb5-dev and libreadline5-dev. Maemo repositories do not contain these libraries so I am not able to install them using 'apt-get install'. Trying to build from the sources inside armel target does not succeed. I got an error while configuring: configure: loading cache ../../.././config.cache checking for gcc... (cached) gcc checking for C compiler default output... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. configure: error: /bin/sh '/krb5-1.4.3/src/lib/rpc/unit-test/configure' failed for unit-test configure: error: /bin/sh '/krb5-1.4.3/src/lib/rpc/configure' failed for lib/rpc Any idea on above? Also are there some other repositories from where I can fetch needed packages for Scratchbox? I know that Scratchbox has crocodile 'repository' I even have used for installing packages for maemo 1.1. However I wasn't able to find the same for armel. My sources.list file inside armel target looks like: #maemo:essential deb http://catalogue.tableteer.nokia.com/certified/ mistral user deb http://catalogue.tableteer.nokia.com/non-certified/ mistral user deb http://repository.maemo.org/contrib/ mistral free non-free deb-src http://repository.maemo.org/contrib/ mistral free non-free deb http://repository.maemo.org/ mistral free non-free deb-src http://repository.maemo.org/ mistral free non-free Another question is that if I run 'dpkg-buildpackage -rfakeroot -d' (to override build dependencies) would the software (ipsec-tools in this case) have full functionality after installing it on the device? Meaning that if it was built without some libraries etc. I will also need openssl lib and dev headers for my tablet. I haven't tried to built it yet but any information/experience from you would be great. Thank you in advance for any help, Andrey ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] problem while configuring target compiler in scratchbox
Hi, I am upgrading my scratchbox environment and maemo sdk. Everything went smoothly except of when I configure newly created target I get the following error: [sbox-SDK_PC2: ~] > sbox-config -cc cp: cannot overwrite directory `/usr/include/asm' with non-directory Has anyone experienced the same? Andrey ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] maemo/debian packaging tutorial (Helsinki, June 16. or 19.)
Jussi Kukkonen wrote: Hello all, Lars Wirzenius is organizing a debian packaging tutorial day in Helsinki. It'll be free and open to everyone. There will probably be a theory part and hands-on training -- take a look at the slides from his last tutorial, if you want a hint of the contents: http://liw.iki.fi/liw/talks/debian-packaging-tutorial.pdf Now, this is nice already but I was thinking: Why not include some maemo packaging in the same occasion? The timing is pretty much perfect considering that the new application installer will be released Real Soon Now... I would like to take part of your event if it's going to be on June 16. What would be the location? I have been packaging for the Nokia 770, so all this is interesting to me. This is the deal: 1. If your interested in the debian packaging tutorial, let Lars ([EMAIL PROTECTED]) know ASAP, preferably by thursday -- you get to vote on the date too: friday, June 16. or monday, June 19. 2. If you're also interested in a maemo-specific addition, throw me a mail: [EMAIL PROTECTED] Note: the maemo part is _not_ organized yet, and I'm not promising anything. I will try to get someone from Nokia to talk either on the same day or maybe another day on the following week, if there is interest. (any Nokia packaging people reading this may also volunteer now ;) -- Jussi Kukkonen [EMAIL PROTECTED] 050-5637437 Best regards, Andrey -- Andrey Khurri Researcher Helsinki Institute for Information Technology (HIIT) Tel +358 50 384 1510 [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers]http://press.nokia.com:80/PR/200605/1051308_5.html
Peter Robinson wrote: >> What do you guys think? Should we try to push out the SB development >> environment early, even if the developers can test apps on real device? > > Absolutely! The API changes in particular must have time to be tested, even > if it's only in Scratchbox. Personally, I'd also like to see at least some > form of product image for beta testing (not just our apps, but the OS > as well), but that's almost certainly wishful thinking now. I second that! > Otherwise people'll get upset very quickly when they upgrade and their > favourite app doesn't work! I suggest removing the application catalog wiki page(s) when IT2006 gets released and fill them with apps that are known to work on IT2006. Or moving it to a page for Applications IT 2005 and add a new one for IT 2006. I also wouldn't remove wiki's application catalog 2005 completely. It would remain be useful for those running IT SW 2005. Peter ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers -- Andrey Khurri, Researcher Helsinki Institute for Information Technology (HIIT) Tel: +358 50 384 1510 Fax: +358 9 694 9768 [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Kernel issues on Nokia 770
Thank you for your rapid answer! Frantisek Dufka wrote: 1) Has anyone ever been making a kernel package for the Nokia 770 which can be installed there with Application Installer rather than deploying 'zImage' of new kernel onto the device? Probably not. It is not straightforward at all, maybe even imposible. You would definitely need root privileges for messing with MTD (flash) partitions. That's pity. The reason for I'd like to have a possibilty to create such a package is that I'd like to provide end users with new kernel which is needed to support our applications for the Nokia 770. Kernel compilation procedure it's not straightforward itself so that would be nice to let those people use our kernel. But as it seems to be the only way is to make 'zImage' available for them. 2) Is it accomplishable at all to have a few kernel images on the Nokia at the same time and choose one using a boot loader as it usually happens with normal Linux mashines? I think it can be done but not easily. The bootloader canot choose between multiple kernels and there is not space dedicated to multiple kernels. One solution is kexec http://www-128.ibm.com/developerworks/linux/library/l-kexec.html Will investigate it. BTW, please do not cross post to multiple list, just pick one randomly :-) It is hard to track mutliple replies going to multiple lists. You're right! Won't do it anymore. Sorry as it was done just thoughtlessly :) Frantisek -- Andrey Khurri, Researcher Helsinki Institute for Information Technology (HIIT) Tel: +358 50 384 1510 Fax: +358 9 694 9768 [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Kernel issues on Nokia 770
Hi guys, I've already tried to get help from you here on my issues but there has been no answer so I guessed that my previous message was a bit messy and contained an excess information to be posted on this mailing list. So now very concretely my questions are: 1) Has anyone ever been making a kernel package for the Nokia 770 which can be installed there with Application Installer rather than deploying 'zImage' of new kernel onto the device? 2) Is it accomplishable at all to have a few kernel images on the Nokia at the same time and choose one using a boot loader as it usually happens with normal Linux mashines? -- Andrey Khurri, Researcher Helsinki Institute for Information Technology (HIIT) Tel: +358 50 384 1510 Fax: +358 9 694 9768 [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Host Identity Protocol on Nokia 770
Dear all, I have been working on porting HIPL (Host Identity Protocol for Linux) userspace applications to my Nokia 770. The purpose of it was to try HIP protocol with a mobile device such as Linux based Nokia Tablet and more specifically to run HIP base exchange in between tablet and other devices, i.e. i386 PC. Among the others goals HIP aims at better mobility and multihoming support for the communicating peers. It introduces a new name space, the Host Identity name space while decoupling the transport layer from the internetworking layer. I won't write here a whole HIP's overview. You could find more about HIP protocol from www.infrahip.net My practical issues here are the following: I have HIPL userspace applications as a debian binary package for the Nokia 770. I have created it inside Scratchbox and installed it on the tablet using Application Installer or app-installer-tool. HIP base exchange seems to be working however I didn't experiment much on that yet. So additional tests are needed to see if it might run into a trouble. The one I got was that I was not able to add an IPv6 address on my tablet to use with an interface (i tried bnep0, wlan0). For instance, on my PC it's done simply with "ifconfig eth0 inet6 add 3ffe::1/64". Therefor I couldn't run base exchange on the tablet that would use IPv6 addresses instead of IPv4. In general HIP is implemented to support both IPv4 and IPv6. 1) So far having ready-to-use hipl debian package for Nokia 770 I would like to make it available for others. As I understand the process I should put it to Applications Catalog on maemo http://maemo.org/maemowiki/ApplicationCatalog. Is that right? What would be desired documentation for hipl usage on the device? 2) In order to run HIPL applications some modifications to the Linux kernel and patches are neccesary. With regards to this I recompiled Nokia 770 kernel as Maemo HowTo http://maemo.org/maemowiki/HowTo_KernelCompilation describes it. The question now is that what would be the most convinient way to provide end users with this new kernel? I don't think one who wants just try hipl on Nokia would like to hassle him/herself with kernel compilation. That's why I suggest I should make new kernel image available also. On Maemo.org website I only found the way of using flasher utility to deploy newly created kernel image to the device. I am wondering would it be possible to create a debian binary kernel package to install right on the device. By the way, isn't the "su-18-kernel_*.deb" we build inside the Scratchbox the needed one? The HowTo assumes to install this package inside the Scratchbox ARM target and then just use 'zImage' to deploy onto the device. You see I've got a misunderstanding here so could you please clear my mind in this aspect. Another thing I would like to ask is about feasibility to have few kernel images on the Nokia at the same time and choose one using a boot loader as it usually happens with normal Linux mashines? 3) It would be really nice to find interested people who would be keen on experimenting with hip on Nokia 770. Any questions/advices/ideas/comments/feedbacks are highly appreciated either within this maemo mailing list or individually via email. Looking forward hearing from you. Best regards, Andrey -- Andrey Khurri, Researcher Helsinki Institute for Information Technology (HIIT) Tel: +358 50 384 1510 Fax: +358 9 694 9768 [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Error compiling kernel
Andrey Khurri wrote: Hi all, I made modifications to n770_defconfig according to Maemo HowTo: http://maemo.org/maemowiki/HowTo_KernelCompilation Then after running "dpkg-buildpackage -rfakeroot -uc -us -sa -D" or "dpkg-buildpackage -rfakeroot -uc -us -sa -d" (I tried both ways) I get following error: --- a part of log including errors: * Library routines * CRC-CCITT functions (CRC_CCITT) [Y/?] y CRC32 functions (CRC32) [Y/?] y CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [N/m/y/?] n make[1]: Leaving directory `/home/akhurri/build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3' make[1]: Entering directory `/home/akhurri/build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3' CHK include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* SYMLINK include/asm-arm/arch -> include/asm-arm/arch-rpc CC arch/arm/kernel/asm-offsets.s In file included from include/asm/page.h:27, from include/asm/cpu-single.h:33, from include/asm/proc-fns.h:154, from include/asm/system.h:94, from include/asm/bitops.h:22, from include/linux/bitops.h:77, from include/linux/thread_info.h:20, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/arm/kernel/asm-offsets.c:13: include/asm/glue.h:111:2: #error Unknown data abort handler type In file included from include/asm/cpu-single.h:33, from include/asm/proc-fns.h:154, from include/asm/system.h:94, from include/asm/bitops.h:22, from include/linux/bitops.h:77, from include/linux/thread_info.h:20, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/arm/kernel/asm-offsets.c:13: include/asm/page.h:92:2: #error Unknown user operations model make[2]: *** [arch/arm/kernel/asm-offsets.s] Error 1 make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 2 make[1]: Leaving directory `/home/akhurri/build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3' make: *** [build-stamp] Error 2 --- end of log I did modifications to debian/rules exactly how HowTo suggests it, that is I commented 2 lines out. I have looked trough mailing list archive but I didn't find any similar to mine bugs. By the way, what would be the right/perfect way of modifying n770_defconfig file? I did it as follows: copied to a kernel source tree on my host PC, ran "make menuconfig" there, made modifications I need, replaced old config with new one in arch/arm/configs (of course, with the same name "n770_defconfig"). I also tried to run "make n770_defconfig" inside ../build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3 . However, it doesn't seem to be working properly. It just goes trough the config file and outputs its content up to a point but it doesn't proceed with usual graphical interface where you choose options. I am wondering if someone has experienced the same. I would appreciate any help or comments. Thanks in advance. Andrey Hi there, Just in case someone is thinking about my problem described above. I have fixed it. That was definetlu my fault. Of course I must have been doing "make menuconfig" inside my Scratchbox ARM target within kernel-source-tree but not somewhere else on my i386. So the right way is to make any modifications to n770_defconfig inside Scratchbox. Then "dpkg-buildpackage -rfakeroot -uc -us -sa -D" works fine and I get new zImage for my Tablet. Sorry if I wasted someone's time. BR, Andrey -- Andrey Khurri, Researcher Helsinki Institute for Information Technology (HIIT) Tel: +358 50 384 1510 Fax: +358 9 694 9768 [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Error compiling kernel
Hi all, I made modifications to n770_defconfig according to Maemo HowTo: http://maemo.org/maemowiki/HowTo_KernelCompilation Then after running "dpkg-buildpackage -rfakeroot -uc -us -sa -D" or "dpkg-buildpackage -rfakeroot -uc -us -sa -d" (I tried both ways) I get following error: --- a part of log including errors: * Library routines * CRC-CCITT functions (CRC_CCITT) [Y/?] y CRC32 functions (CRC32) [Y/?] y CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [N/m/y/?] n make[1]: Leaving directory `/home/akhurri/build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3' make[1]: Entering directory `/home/akhurri/build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3' CHK include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* SYMLINK include/asm-arm/arch -> include/asm-arm/arch-rpc CC arch/arm/kernel/asm-offsets.s In file included from include/asm/page.h:27, from include/asm/cpu-single.h:33, from include/asm/proc-fns.h:154, from include/asm/system.h:94, from include/asm/bitops.h:22, from include/linux/bitops.h:77, from include/linux/thread_info.h:20, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/arm/kernel/asm-offsets.c:13: include/asm/glue.h:111:2: #error Unknown data abort handler type In file included from include/asm/cpu-single.h:33, from include/asm/proc-fns.h:154, from include/asm/system.h:94, from include/asm/bitops.h:22, from include/linux/bitops.h:77, from include/linux/thread_info.h:20, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/arm/kernel/asm-offsets.c:13: include/asm/page.h:92:2: #error Unknown user operations model make[2]: *** [arch/arm/kernel/asm-offsets.s] Error 1 make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 2 make[1]: Leaving directory `/home/akhurri/build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3' make: *** [build-stamp] Error 2 --- end of log I did modifications to debian/rules exactly how HowTo suggests it, that is I commented 2 lines out. I have looked trough mailing list archive but I didn't find any similar to mine bugs. By the way, what would be the right/perfect way of modifying n770_defconfig file? I did it as follows: copied to a kernel source tree on my host PC, ran "make menuconfig" there, made modifications I need, replaced old config with new one in arch/arm/configs (of course, with the same name "n770_defconfig"). I also tried to run "make n770_defconfig" inside ../build/su-18-kernel-2.6.12.3/kernel-source-2.6.12.3 . However, it doesn't seem to be working properly. It just goes trough the config file and outputs its content up to a point but it doesn't proceed with usual graphical interface where you choose options. I am wondering if someone has experienced the same. I would appreciate any help or comments. Thanks in advance. Andrey -- Andrey Khurri, Researcher Helsinki Institute for Information Technology (HIIT) Tel: +358 50 384 1510 Fax: +358 9 694 9768 [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Kernel compilation on Nokia 770
Hi all, I need to compile certain version of kernel with some patches on my Nokia 770. Let's say version 2.6.13.1 I had a look at "HowTo KernelCompilation" on maemo.org. It uses scratchbox for that. I've got already scratchbox environment working. What is not obvious to me is how to use this algorithm in my case. Should I add an entry to /etc/apt/sources.list which would link to a repository with the needed kernel version? In the given example the kernel source they fetch is "kernel-source-2.6.12.3-osso22.tar.gz" I am not sure whether this is kind of specific kernel source for Nokia 770. If so where I can get the same but for higher version (2.6.13.1)? As well as this the content and intention of packages "kernel-package 8.083.tar.gz" and "su-18 kernel package" are not clear to me. I guess it is also feasible to put all the sources to Tablet and start compilation process there in usual way. But in that case it would be much slower and the memory size needs to be tremendous. Am I wrong? If somebody has related experience I would be glad to see any comments here or some other HowTo or links... --- Andrey ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Problems with installing scratchbox
Hi all, Most probably this question has already been pointed here but I did not find answer... May be some of you could help me. When installing scratchbox and running script ./run_me_first.sh there is an error after the last script question: --- Would you like me to create the group 'sbox' for you? [yes/no] (yes): No such group! Creating group "sbox"... /scratchbox/sbin/sbox_configure: line 20: groupadd: command not found ERROR creating group: sbox --- How can I manage it? Thanks, A. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers