Re: New F11-for-XO1 build is available and needs testing
On Fri, Jul 31, 2009 at 5:20 PM, Steven M. Parrishsmparr...@gmail.com wrote: I have taken over creating builds for the XO1 from Daniel, and have created a new build of F11 for the XO1. Thanks! I updated http://wiki.laptop.org/go/F11_for_XO-1 and some other pages to reflect that Mr. Drake's possibility is reality. Installation instructions: use copy-nand to install os3.img with os3.crc. I see you also created an os3.iso. Might that work with Fedora LiveUSB Creator? (I'm on Kubuntu, I guess I'll try Ubuntu's usb-creator.) Can you see if anything from http://wiki.laptop.org/go/Rawhide-XO is still relevant and if so copy it over (or let me know). I think that page can then be marked {{dated}} since http://dev.laptop.org/~cjb/rawhide-xo/ isn't getting new builds. Thanks again, -- =S Page ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New F11-for-XO1 build is available and needs testing
On Sat, Aug 1, 2009 at 22:23, Mikus Grinbergsmi...@bga.com wrote: This build OS3 includes the pretty boot animations, and also replaces olpcsound with csound. I would apprectiate testing and feedback. Disclaimer: perhaps off-topic Usability report : Was running Firefox 3.5 (*not* the Activity). Noticed two things: * The font size (for things like the Menu Bar) was too large, with the result that various dropdowns (and settings windows) ran off the bottom edge of my XO-1 screen -- so I could not click on any buttons located at the bottom. I wonder if this has anything to do with the font size in Journal View also being too large. Some if the info here may help? https://dev.laptop.org/ticket/9324 * The following error was logged several times: Obtaining the module object from Python failed Traceback: can't import cStringIO type 'exceptions.ImportError': /usr/lib/python2.6/lib-dynaload/timemodule,so: undefined symbol: PyExc_ValueError Explaining where that message was logged and including the full logs may help. Regards, Tomeu mikus p.s. Pretty boot has awkward interval before/after rotating dots. For me, sound works with OS3 on XO-1 (though perhaps not as loud as with other builds). ___ Fedora-olpc-list mailing list fedora-olpc-l...@redhat.com https://www.redhat.com/mailman/listinfo/fedora-olpc-list ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
kernel debugging
Hi! Recently I have started porting Android-x86 to the XO-1 and unfortunately hit a wall. I know that it can be done since somebody already booted it but the hard drive crashed in his laptop and he had no backups... The porting progresses a little bit slowly because I know almost nothing about Linux but at least it is some motivation to learn it. My problem is that I cannot debug the kernel nor see its debug output because the XO-1 does not have a standard serial port. 1. I have read this page: http://wiki.laptop.org/go/Serial_adapters What is not clear to me is whether I should buy the converter which is on the picture (I did not get one in my XO's box) or shall I fabricate one or shall I request one from OLPC? Will it be good for XO-1.5? What is another option would be buying one of these: http://wiki.laptop.org/go/Serial_adapters#Third_Party_Adapters What is not clear that how will I fabricate a cable which connects those adapters to the XO? 2. I looked into using the USB port with gadget support. I am attaching the kernel config if you are interested in. I have compiled amd5536udc.ko, g_serial.ko and g_android.ko as modules (so I can look at error messages while doing an insmod). (Kernel 2.6.29, g_android.ko would enable debugging via USB with the adb - Android debugging bridge.) If I do not insmod amd5536udc.ko, then both g_android.ko and g_serial.ko bark me about missing usb_gadget_register_driver symbol. If I do insmod amd5536udc.ko then both modules bark about (No such device) error. What is not clear whether this amd5536udc.ko is usable at all because I am booting the XO-1 from an USB stick so can the AMD southbridge be used for both host and device at the same time? What device does it need? 3. It happened that one of the hardware in my room had a FTDI usb to serial converted. I pluggeg it into the XO-1 and insmod usbserial.ko then insmod ftdi_sio.ko and both worked. However I do not have a /dev/ttyUSB... entry. It can be that because the system does not run udev or similar it does not automatically create /dev entries? If so then how can I do this? (I see that the init srcript uses mdev -s) Another issue is that this serial stuff will be loaded much later than kernel start so if I define console=/dev/ttyUSB0 in the kernel parameters and the device will be created later then will Linux pick up the device at that time? 4. Of course the 3. point will not work that easily since I have only one serial cable and that has a plug and a receiver so it cannot link the two receivers on the ends. Will I have to use a null-modem cable or what? It also turned out that my new computer does not even have a serial port outside so I will have to buy a serial adapter anyway. What would be much simpler if I could just somehow make the USB connection work. What I think that there is no standard cable which has 2 Type A plugs at both ends but it seems that if I tear down the surrounding metal ring from the Type A receiver then it can be plugged into the Type A receiver on the XO-1 and it has the correct wires in the correct position (since the connector has to be flipped to fit into the receiver). Is it correct? Can somebody help me with any solution? (One would be enough...) I have attached the files if somebody wants to look at them. I use make iso_img TARGET_PRODUCT=xo1 TARGET_BUILD_TYPE=debug to build files then copy from out/debug/target/product/xo1 the files initrd.img, ramdisk.img, kernel and system.img into /boot in the usb drive (also olpc.fth). It uses the source from: http://code.google.com/p/android-x86/wiki/GetSourceCode android-xo1.tar.gz Description: application/gzip ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New F11-for-XO1 build is available and needs testing
I copied both files to a usb drive then booted with holding the esc key. Then 'copy-nand u:\os3.img' then it copied and I got back the firmware prompt. It did not bark about wrong crc or something like that. Then I switched the XO-1 off then switched on and all I can get is a Boot failed error message. Reimaging with 802 works so it is not a hardware fault. How could others run this stuff? Steven M. Parrish wrote: I have taken over creating builds for the XO1 from Daniel, and have created a new build of F11 for the XO1. This build OS3 includes the pretty boot animations, and also replaces olpcsound with csound. I would apprectiate testing and feedback. I will have another build out early next week as well. Builds can be downloaded from http://dev.laptop.org/~smparrish/xo-1/builds/ The usual cautions apply: this is development code, there will be bugs. Installation instructions: use copy-nand to install os3.img with os3.crc. Steven = Steven M. Parrish - gpg fingerprint: 4B6C 8357 059E B7ED 8095 0FD6 1F4B EDA0 A9A6 13C0 http://tuxbrewr.fedorapeople.org/ irc.freenode.net: SMParrish @ #fedora-kde, #fedora-devel, #fedora-olpc, #sugar ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New F11-for-XO1 build is available and needs testing
Tomeu, I have great difficulty in dealing with your responses to the posts I make. What I had written was a reply to Steven Parrish asking I would appreciate testing and feedback. It was my intent to provide feedback on system-related matters that in my opinion deserved being brought to the notice of system-related developers. You either trust what I report, or you don't. I am a volunteer, not under any contract to delve into the causes of problems. If the descriptions I give are not enough for you to recognize a problem -- fine -- let my concern lie until someone more important than me encounters it (or let the matter die if noone else sees it). If you thought I was asking for your help to solve a problem for __me__, you were wrong. I mentioned what was my concern in order to alert developers that there may be something that might affect the perception of the __product__ (if it were delivered as is). Some if the info here may help? https://dev.laptop.org/ticket/9324 No, it didn't. There are too many references to other tickets and to other facilities such as GTK, for me to understand what's what. In any case, when running the OS3 build, there is no change in the text size of the Journal View entries, nor in the text size of the Menu Bar in firefox, when I change the value in .Xresources Explaining where that message was logged and including the full logs may help I really do not understand why you are asking this, unless by simply questioning the *way* I said something, you intend to reject *what* I said. I started firefox by typing in its name at the command line in Terminal. The message subsequently appeared on the screen in that Terminal session. [The message also appeared within the output of the 'Error Console' in firefox, when I explicitly looked at that.] Including full logs may help -- I am unaware of any full logs written by firefox. And the only other logs I can think of - those in /var/log - in my opinion contain nothing about running firefox. mikus ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Fedora List fedora-olpc-l...@redhat.com
I copied both files to a usb drive then booted with holding the esc key. Then 'copy-nand u:\os3.img' then it copied and I got back the firmware prompt. It did not bark about wrong crc or something like that. Then I switched the XO-1 off then switched on and all I can get is a Boot failed error message. Reimaging with 802 works so it is not a hardware fault. How could others run this stuff? The problem is simple - the copy-nand erased *all* of nand - including the /security/develop.sig file you had stored there. Then the firmware determined that you were trying to boot an unsecured build onto (what it now thought was) a secure XO - and gave you the error. One thing you might do is to place a /security directory on an usb drive (even the one with the image), then copy your develop.sig to that directory, and have that drive present when you try the boot. Once you are able to get to the firmware 'ok' prompt again, you might enter 'disable-security' (without quotes). That will, independently of the nand contents, mark your XO as not needing security verification by the firmware. The way to minimize the chance of what you experienced is, when the 'copy-nand' finishes, to __not__ switch the XO off, but to rather just enter 'boot' at the firmware prompt. That ought to allow the new build to come up (giving you a chance to again copy your developer key into the XO nand). mikus ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New F11-for-XO1 build is available and needs testing
Yioryos posted a list of package differences between os2 and os3. I don't know how authoritative this list is -- but if those are *all* the differences, I myself would not have needed to migrate my os2 XO-1s to os3 -- by explicitly having applied the individual package upgrades in that list, I already had my (initially os2) systems at os3 level. [In fact, except for me being too lazy to upgrade the kernel, because of regular upgrading my devxo-1 XO-1s are *also* at the package level listed by Yioryos for os3 !] mikus ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Is using the datastore.find() function reliable and safe?
Hello all, I want to save files from my activity so that I can retrieve them from the future instances of my activity and also want them to be visible in the journal. So, I am planning to save them in the datastore. And is planning to retrieve them using the datastore.find() function in the future instances of my activity. However, the following link mentions -- http://wiki.sugarlabs.org/go/Development_Team/Almanac/sugar.datastore.datastore that using the function is not very reliable except with the activity_id key. As, I want to access all such files with a special property which I saved from the previous versions of the activity, I can't just rely on the activity_id thing. So, what can be a good solution for it. Would using the find function be fine. Kindly give your suggestions. Just repeating my requirements- 1. The files should be visible in the journal. 2. They should be accessible from within the future instances of the activity. Regards, sumit ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Disk layout for XO-1.5
On Tue, Jul 28, 2009 at 2:34 PM, Paul Foxp...@laptop.org wrote: sascha wrote: good stuff about LVM thank you. i was aware of LVM, but didn't realize it would accomplish quite what i was proposing. Having used LVM, I am less that enthusiastic about it. It definitely requires a lot of cooperation from the filesystem, the process is cumbersome, and data-loss prone. Maybe things have gotten wildly better. Maybe I am just a fool that can't use software. But my experience has been less than rosy with it. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New F11-for-XO1 build is available and needs testing
What would be the simplest way to run os3 from USB flash drive? Ubuntu usb-creator does not recognize os3.iso as desktop install CD. Thanks, Sergey ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New F11-for-XO1 build is available and needs testing
--- On Sat, 8/1/09, James Cameron qu...@laptop.org wrote: From: James Cameron qu...@laptop.org Subject: Re: New F11-for-XO1 build is available and needs testing To: Steven M. Parrish smparr...@gmail.com Cc: OLPC Devel devel@lists.laptop.org, Fedora List fedora-olpc-l...@redhat.com Date: Saturday, August 1, 2009, 6:18 AM Can this build be updated to using olpc-update in order to only fetch the changes via rsync? 1+ I downloaded twice and still can not install (crc/img discrepancies at different points) -- James Cameron http://quozl.linux.org.au/ ___ Fedora-olpc-list mailing list fedora-olpc-l...@redhat.com https://www.redhat.com/mailman/listinfo/fedora-olpc-list ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New F11-for-XO1 build is available and needs testing
--- On Fri, 7/31/09, Steven M. Parrish smparr...@gmail.com wrote: I have taken over creating builds for the XO1 from Daniel, and have created a new build of F11 for the XO1. This build OS3 includes the pretty boot animations, and also replaces olpcsound with csound. I believe that csound was ysed is os2 too. As of package lists, the differences between os2 and 3 are (to also address my previous request...:): 8c8 anacron-2.3-76.fc11.i586 --- anacron-2.3-78.fc11.i586 22c22 bash-4.0-6.fc11.i586 --- bash-4.0-7.fc11.i586 24,26c24,26 bind-libs-9.6.1-3.fc11.i586 bind-utils-9.6.1-3.fc11.i586 binutils-2.19.51.0.2-18.fc11.i586 --- bind-libs-9.6.1-4.P1.fc11.i586 bind-utils-9.6.1-4.P1.fc11.i586 binutils-2.19.51.0.14-1.fc11.i586 41,42c41,42 control-center-2.26.0-6.fc11.i586 control-center-filesystem-2.26.0-6.fc11.i586 --- control-center-2.26.0-10.fc11.i586 control-center-filesystem-2.26.0-10.fc11.i586 54c54 cups-libs-1.4-0.b2.18.fc11.i586 --- cups-libs-1.4-0.rc1.10.fc11.i586 75,76c75,76 device-mapper-1.02.33-1.fc11.i586 device-mapper-libs-1.02.33-1.fc11.i586 --- device-mapper-1.02.33-2.fc11.i586 device-mapper-libs-1.02.33-2.fc11.i586 94c94 elfutils-libelf-0.141-1.fc11.i586 --- elfutils-libelf-0.142-1.fc11.i586 127c127 freetype-2.3.9-3.fc11.i586 --- freetype-2.3.9-5.fc11.i586 193c193 gtk-nodoka-engine-0.7.2-4.fc11.i586 --- gtk-nodoka-engine-0.7.2-5.fc11.i586 225,226c225,226 kernel-2.6.30_xo1-20090720.1835.1.olpc.16a9546.i586 kernel-firmware-2.6.30_xo1-20090720.1835.1.olpc.16a9546.i586 --- kernel-2.6.30_xo1-20090724.1605.1.olpc.d56ad9b.i586 kernel-firmware-2.6.30_xo1-20090724.1605.1.olpc.d56ad9b.i586 378c378,380 lvm2-2.02.48-1.fc11.i586 --- lvm2-2.02.48-2.fc11.i586 lzma-4.32.7-2.fc11.i586 lzma-libs-4.32.7-2.fc11.i586 412c414 nfs-utils-1.2.0-3.fc11.i586 --- nfs-utils-1.2.0-4.fc11.i586 512,514c514,516 rpm-4.7.0-2.fc11.i586 rpm-libs-4.7.0-2.fc11.i586 rpm-python-4.7.0-2.fc11.i586 --- rpm-4.7.1-1.fc11.i586 rpm-libs-4.7.1-1.fc11.i586 rpm-python-4.7.1-1.fc11.i586 530c532 sos-1.8-13.fc11.noarch --- sos-1.8-14.fc11.noarch 611c613 xorg-x11-server-common-1.6.2-2.fc11.i586 --- xorg-x11-server-common-1.6.2-3.fc11.i586 613c615 xorg-x11-server-Xorg-1.6.2-2.fc11.i586 --- xorg-x11-server-Xorg-1.6.2-3.fc11.i586 620d621 xz-4.999.8-0.7.beta.fc11.i586 622d622 xz-lzma-compat-4.999.8-0.7.beta.fc11.i586 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New F11-for-XO1 build is available and needs testing
--- On Sun, 8/2/09, Mikus Grinbergs mi...@bga.com wrote: From: Mikus Grinbergs mi...@bga.com Subject: Re: New F11-for-XO1 build is available and needs testing To: OLPC Devel devel@lists.laptop.org Cc: Fedora List fedora-olpc-l...@redhat.com Date: Sunday, August 2, 2009, 2:03 PM Yioryos posted a list of package differences between os2 and os3. I don't know how authoritative this list is It is certainly not authoritative and is accurate to the extend that the packages lists posted with the respective builds are accurate. I just run a 'diff' on the 2 files :) -- but if those are *all* the differences, I myself would not have needed to migrate my os2 XO-1s to os3 -- by explicitly having applied the individual package upgrades in that list, I already had my (initially os2) systems at os3 level. [In fact, except for me being too lazy to upgrade the kernel, because of regular upgrading my devxo-1 XO-1s are *also* at the package level listed by Yioryos for os3 !] mikus ___ Fedora-olpc-list mailing list fedora-olpc-l...@redhat.com https://www.redhat.com/mailman/listinfo/fedora-olpc-list ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel