Re: [Sugar-devel] [PATCH olpc-netutils] Change mode of "logtemp" files to be able to remove them OLPC #11851
On Sun, May 13, 2012 at 4:41 PM, Manuel Kaufmann wrote: > This is a workaround to be able to remove the files copied by > "olpc-log" to a temporal directory. Thanks! Applied, added the BZ# to the inline comment, pushed, cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect - OLPC - 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: os-9 testing
> Tested the os9 build for a few basic tests, reports below: ... > ? Pippy > ? warnings in the terminal console before any example related text > appears (annoying) ... See http://bugs.sugarlabs.org/ticket/3492 Pippy -import pippy produces warnings Tony ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
os-9 testing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Tested the os9 build for a few basic tests, reports below: 12.1.0 os-9 testing on a XO-1.5 HS ? Does not suspend on lid close ? Hangs while shutdown (at the ul-warning screen) ? Journal detects /run/media/olpc/OLPCRoot as a mount and shows the files present in it ? Journal view -> invoke journal icon palette -> shows free space (is wrong IMO) Since we now have the documents directory the 'free space' shown is applicable to both the documents AND journal ? Write to journal feature -> Mouse icon for 'typing cursor' icon too small ? Too small in browse ? Okay in memorize ? Perhaps it has got to do something with gtk2/gtk3 toolkit versions? ? TTS - seems to work okay ? Connecting to jabber.sl.o shows many peers. Collab not tested Activities ? Speak ? starts stops fine, basic operations fine ? Pippy ? warnings in the terminal console before any example related text appears (annoying) ? Measure ? Start/stop okay ? Basic operations okay ? Write ? Start/stop okay ? Basic operations okay ? Record ? Start/stop okay ? Record video/picture okay ? Line at bottom of video (seems a XO-1.5 specific issue) ? Paint ? Start/stop okay ? Basic operations okay ? Moon ? Start/stop okay ? Basic operations okay ? Help ? Fails to start ? Clock ? Start/stop okay ? The clock is cut off from the bottom (about 10%) ? Chat ? Start/stop okay ? Chatting not tested ? Physics ? Rough handling (too many objects) crashed the activity ? Ruler ? Start/stop okay ? Basic operations okay ? Maze ? Start/stop okay ? Basic operations okay ? Calculator ? Start/stop okay ? Basic operations okay - -- Anish -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPsBrlAAoJEBoxUdDHDZVptvUH/3jdZyqsXCZWN4eeRRZBbZVW +0VeDUJefu5x2w2fKVH71HR9DunTAWEg2t5HvwJav6t/CSJWuhLvfOhCAPbYZEm6 omf7scBHhiesRY9aPdhCzS8C5YTmPoeUQLROLlTj/qSmrAJnLaT9xVCK3wRaPR4X VGInV7kriiu/avoLZqUin2X9tSV5Kp0iEd4ZFDtIxGhCuNqo8EBy0YFFNR+nlbhy w5lpnRybXDrlJisgxlL1sCu3sn2dgTMbYlvXQ+e0eOaZMC9DeybK9IZj4UKv0jMn lN0LBf02G/C0bK/6oZ3HGLDSBpReCmow4Q5m/YKOjmlKXzHtlRqUMX1MxUZ3D9Q= =tTM9 -END PGP SIGNATURE- ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] Wanting to know a bit of (NetworkManager) workflow upon resume-from-suspend
On Sat, May 12, 2012 at 5:40 PM, Jerry Vonau wrote: > Don't think OOB is used to generate the initramfs, from the kernel spec > file: You are correct as to current state of play. It _used_ to be generated during the OOB run. Now it is build during the kernel build. This makes things rather tricky -- currently to get a kernel driver param such as this one you need to install it _on the machine where you build your kernel rpm_. This is at best awkward -- the kernel build environment better be a chroot :-/ So currently Ajay will need to rebuild the kernel rpm in a chroot where he has installed that libertas.conf he desires. Luckily, we don' t mess with this too much. At some point however, I hope that hacking in the initrd gets a bit more practical. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect - OLPC - 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: legousbtower kernel module
On 13.05.2012, at 17:08, Bert Freudenberg wrote: > Yay, copying over from /boot was all that's needed :) > > And plugging in the Lego tower loads the module, and creates a > /dev/usb/legousbtower0 entry. (this appears to be something else than nqc's > udev rule expects, but I don't want to use nqc anyway) > > So, one step closer :) And it works! The only thing left to get lejos working was adjusting the dev permissions (would be good to add a general udev rule I guess) and installing java. My son just made the RCX display "Hello world" :) Thanks all, and particularly Paul! - Bert - ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] Wanting to know a bit of (NetworkManager) workflow upon resume-from-suspend
Thanks Martin and Jerry. I followed the following steps :: a) Listed "lsinitrd /boot/initrd.img". It did not show any "/etc/modprobe.d/libertas.conf". b) Extracted "/boot/initrd.img" into a temporary folder. Obviously, no "/etc/modprobe.d/libertas.conf" was seen. c) Generated the required "/etc/modprobe.d/libertas.conf" with the content "options libertas libertas_disablemesh=1" in the tmp folder. d) Re-compressed the temp-folder to "/boot/initrd.img". e) Listed "lsinitrd /boot/initrd.img". This time, "/etc/modprobe.d/libertas.conf" was listed. f) Rebooted XO-1. g) Mesh-icons were still observed :( h) Note that I did this, without OOB (i.e. I was just wanting to test that whether this would work at all). I guess that there is something else we might be missing. So, I think that the only solution left now, is to put the "rmmod/modprobe" hack in olpc-configure. Would it be an acceptable upstream solution (the change in olpc-utils) ? Martin (Langhoff) / Daniel (Drake) ? Looking forward to comments and replies. Thanks and Regards, Ajay On Sun, May 13, 2012 at 3:10 AM, Jerry Vonau wrote: > On Sat, 2012-05-12 at 15:20 -0400, Martin Langhoff wrote: > > On Sat, May 12, 2012 at 4:38 AM, Ajay Garg > wrote: > > > I tried the "rmmod/modprobe" hack in "olpc-configure", and it worked > > > (obviously because, this time the "/etc.modprobe.d/libertas.conf" > could be > > > fetched/read from persistent storage). Mesh-icons were no more visible > in > > > the neighborhood-view (both during reboot, and resume-from-suspend). > > > > > > But I too felt that this is more of a hack, and not a clean solution. > > > > Well, as you pointed out in later emails, the initramfs generation > > will pick it up from there. I'd forgotten about that -- sorry. > > > > So what you want to do is get libertas.conf into some package > > (olpc-utils) or install it from an OOB module -- the xo1 module is a > > good candidate. > > > > In fact I'm liking the OOB module option. I think we would accept a > > patch to OOB's xo1 module, where based on an option it creates this > > file. Just have to make sure it's created before dracut is used to > > generate the initramfs. > > > > Hi Martin: > > Don't think OOB is used to generate the initramfs, from the kernel spec > file: > > # set to 1 to build the initramfs during kernel-build time > # set to 0 to build the initramfs during %post on the host > %define buildinitramfs 1 > > Doesn't that mean the kernel rpm provides pre-build initrd.img > and actrd.img? Doesn't OOB just sign what is in the kernel rpm? > > Think you would need to re-create initrd.img as needed then place the > revised initrd.img into the image via OOB, to be signed by OOB. > > Jerry > > > ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: legousbtower kernel module
On 13.05.2012, at 02:37, Paul Fox wrote: > bert wrote: >> On 07.05.2012, at 19:05, Paul Fox wrote: >> >>> bert wrote: On 07.05.2012, at 18:19, Paul Fox wrote: > bert wrote: >> Hi, >> >> I'm trying to connect a LEGO RCX via the RCX 2.0 USB Tower. When >> plugging it >> in, it gets listed with name and vendor in the messages log. >> >> However, /dev/usb/lego0 is not created. The corresponding udev rule is >> installed by Fedora's "nqc" rpm, but it relies on the "legousbtower" >> kernel >> module. >> >> AFAICT, it does not work because legousbtower.ko is missing. >> >> This is both on an XO-1.5 (11.3.0) and a 1.75 (11.3.1). The latter at >> least >> creates an entry in /dev while plugged in, but it's a generic usb one. >> On the >> former I don't see any dev node created when plugging in. >> >> Am I doing something wrong, or is it really just that the OLPC kernel is >> missing that module? If so, where can I get it? Or do I have to try compiling >> myself? > > i think the kernel is really missing that module. i'd never heard > of it until just now. > > i'll see if we can get an rpm built for 11.3.0 and 11.3.1. (and 12.1.0) > > paul Awesome! But the driver is in the regular kernel sources, right? Just not configured to be built? >>> >>> yes. >>> >>> paul >>> =- >>> paul fox, p...@laptop.org >> >> I installed (rpm -Uvh) this kernel on top of 883: >> >> http://rpmdropbox.laptop.org/f14-xo1.5/kernel-2.6.35.13_xo1.5-20120508.1139.olpc.eb0c7a8.i586.rpm >> >> It booted fine, but the touchpad does not work, keyboard does, network does >> not, lego tower does not. >> >> Should I have done this differently? Any advice how to diagnose this, and >> get the machine working correctly again? >> >> Thanks! > > did you "cp -a /boot/* /bootpart/boot/" ? our kernel rpms still > have this "feature" where not quite all the right pieces are put > in place. that might nor might not be the entire problem -- i hope > so. > > (you might try "uname -a" and see if the kernel you ended up booting > matches the above rpm.) > > i won't be able to test myself until monday, so you if you simply > want a working machine, go to /bootpart/boot and redirect the vmlinuz > symlink back to the original kernel, and reboot. > > paul > =- > paul fox, p...@laptop.org Yay, copying over from /boot was all that's needed :) And plugging in the Lego tower loads the module, and creates a /dev/usb/legousbtower0 entry. (this appears to be something else than nqc's udev rule expects, but I don't want to use nqc anyway) So, one step closer :) Thanks! - Bert - ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel