**** BEGIN LOGGING AT Wed Jun 09 02:59:57 2010 Jun 09 09:55:25 mhh... si è mezza spenta eutelia Jun 09 09:55:29 oops Jun 09 12:33:00 jzaw_pl: hi. I finally updated my uboot..it went well but I also has to reflash the kernelfs. Jun 09 12:33:44 jzaw_pl: not sure what's better or worse. but I saw some errors I didn't have during the boot so I will check them Jun 09 12:34:31 jzaw_pl: I just wanted to thank you, The link you send me with the vide convince me to go ahead even if I had no reason to do it...Now I know how to do it at least :) Jun 09 14:48:13 ppmt dont forget you can always return to the previous vers Jun 09 14:48:23 glad it didnt brick your plug Jun 09 14:50:40 jzaw_pl: how can I return to the previous version? Jun 09 14:52:16 same way you put it to the newer version, just with the old binary Jun 09 15:02:53 ah that would imply I have the old binary :) Jun 09 15:03:59 or the internet does ;D Jun 09 15:04:03 somebody has it somewhere Jun 09 15:04:21 (rule 34?) Jun 09 15:25:30 I don't know about rule 34 but let's say I can be naive sometime :) Jun 09 15:25:52 but hey if you don't break things how can you learn then ? Jun 09 16:37:14 the binary on the wiki is probably the same one as it shipped with Jun 09 18:17:56 ok I am looking a bit closer to see what happens during the reboot and I see some error related to modules..... Jun 09 18:18:51 so I guess it is because I used to be using kernel 2.6.32-00007-g56678ec where now I have 2.6.33.2-00003-g4b82fc0 Jun 09 18:19:22 yeah you just need to get the modules Jun 09 18:19:26 so I guess I have to recompile these modules? Jun 09 18:19:37 if you built the kernel yourself, make modules --install-dir=../modules Jun 09 18:19:41 and they'll all be in that dir Jun 09 18:19:59 if you didn't build it yourself, you'll have to find if somebody compiled the modules into a tarball or something Jun 09 18:20:03 where did you get your kernel from? Jun 09 18:20:11 I didn't build it my self. I downloaded it from Globascale Jun 09 18:20:54 Tootoot222: bare in mind that I proceeded out of faith so I may have done something stupid Jun 09 18:21:06 link to where you got the kernel from? Jun 09 18:21:20 just a sec Jun 09 18:22:08 actually I say globascale but may be I am worng: Jun 09 18:22:09 http://plugcomputer.org/index.php/us/resources/downloads?func=select&id=14 Jun 09 18:22:27 I downlaoded and upgraded both the uboot and the kernel Jun 09 18:24:23 so to be precise I took that uboot: http://plugcomputer.org/index.php/us/resources/downloads?func=startdown&id=71 Jun 09 18:25:00 and the kernel: http://plugcomputer.org/index.php/us/resources/downloads?func=startdown&id=66 Jun 09 18:25:26 i don't see any modules on there, but if worse comes to worse you have the linux source tarball and .config ;D all you have to do is compile the modules Jun 09 18:26:42 humm...yes. Ok. I think I am going to have to read a bit on that then Jun 09 18:27:45 so I would download the kernel source on the plug and compile from there? Jun 09 18:29:58 I have this error repeated twice: Jun 09 18:30:00 modprobe: FATAL: Could not load /lib/modules/2.6.33.2-00003-g4b82fc0/modules.dep: No such file or directory Jun 09 18:30:42 and then it also complains that : Jun 09 18:30:43 insmod: error inserting '/root/uap8xxx.ko': -1 Invalid module format Jun 09 18:30:59 which is I believe the module for Wifi Jun 09 18:36:11 ppmt: yeah, download the kernel.git.tar.bz2, and then download and put .config file into the top level directory of the kernel source (where the Makefile is) Jun 09 18:36:29 then you should just be able to do make modules; make modules_install --install-dir=../modules Jun 09 18:36:52 or i guess if you're compiling on the plug itself you don't need the --install-dir thing Jun 09 18:36:56 it'll go to / by default Jun 09 18:38:54 but if I compile on my pc...won't it compile for the wrong architecture? I have ubuntu 64 bit Jun 09 18:39:27 you'll have to get a cross-compiler, but it can be done Jun 09 18:39:48 I think I will try from the plug is there is enough room :D Jun 09 18:40:09 you can just mount a SDcard or USB or something to /mnt and do it there Jun 09 18:42:03 Tootoot222: eh eh...you are smarter than me :D I would haven't thought about it Jun 09 18:42:55 =p Jun 09 18:45:45 ok so I have downloaded and will attempt to copy it to the plug Jun 09 18:46:48 if you're using a usb, you can just copy it on your laptop/desktop onto the usb, and the plug the usb into the plug Jun 09 18:46:52 and compile Jun 09 18:47:02 same with SD, if you have a card reader Jun 09 18:48:24 yes...the thing is right now I am at work (shhut don't say it to my boss) and the plug is at home Jun 09 18:49:20 so I will have to try or wait until tonight Jun 09 18:49:28 lol Jun 09 18:49:43 anyway I just realised that I don't have gcc installed on the plug Jun 09 18:49:55 apt-get install build-essential Jun 09 18:51:10 ah you are the man...I was trying to remember the package to install Jun 09 18:51:58 I can't wait for next week. I will go and buy a microSD card. 8Gig should be nice Jun 09 19:04:41 right I will have to be install on a usb key.... just unzipping is too big for the space I have left Jun 09 19:09:23 I have taken note of what you told me so I will see. Jun 09 19:21:55 ppmt .... Jun 09 19:21:58 [22:52:39] on the site the uboot bin was last updated in May 2010 Jun 09 19:21:58 [22:52:46] note i have a sheevaplug esata multi Jun 09 19:21:58 [22:53:04] and though uboot is _nomially_ dated older ... it has a specific date and time stamp Jun 09 19:21:58 [22:53:04] I have to disconnect /...will be back Jun 09 19:21:58 [22:53:09] which is the one needed for that model Jun 09 19:22:00 [22:53:14] * ppmt has quit (Remote host closed the connection) Jun 09 19:22:02 [22:53:23] and so i shouldnt update Jun 09 19:22:06 [2 Jun 09 19:22:13 my last comment was .... dont update ;P Jun 09 19:22:28 jzaw_pl: he updated uboot secuessfully Jun 09 19:22:33 but he updated the kernel too Jun 09 19:22:38 and he doesn't have the modules for it Jun 09 19:22:56 which, i suppose he could have just gone back down to the original kernel, instead Jun 09 19:23:03 but newer = better, yes? Jun 09 19:23:14 not always eh Jun 09 19:23:57 jzaw_pl: I know I went against your advice. But I am really new to the plug and I want to learn....so for me the best way is to try and break thing (well I would prefer not but..) Jun 09 19:24:17 well ive never xcompiled either ... so thatll be an interesting learning prcatice for you :) Jun 09 19:24:29 meh, cross compiling is cake Jun 09 19:24:37 the great thing with IRC is that there are people like you and Tootoot222 that are nice enough to help Jun 09 19:24:37 aye i suppose Jun 09 19:24:40 ofc, using a pre-compiled compiler though Jun 09 19:24:53 i can't find any resources on how to make the cross compiler yourself >.> Jun 09 19:25:04 it's black magic Jun 09 19:25:11 cross compile the cross compiller? Jun 09 19:25:12 Tootoot222: cross-compiling is may be pushing it for me :D Jun 09 19:25:45 ppmt: cross compiling is the same as regular compiling, you just do CROSS_COMPILER="blah-arm-linux-" make ... Jun 09 19:26:04 oh really..nice Jun 09 19:26:23 but I read that Ubunutu no longer support ARM5.... Jun 09 19:26:27 yeah.. Jun 09 19:26:31 since 9.04 was the last one Jun 09 19:26:35 too bad Jun 09 19:26:52 so that would mean that cross-compile wouldn't work either I guess? Jun 09 19:27:27 there is always the availability to create a virtual machine with 9.04 in it Jun 09 19:27:40 no, the end of armv5 support means that the ubuntu devs don't compile packages with optimizations that are compatible with armv5 Jun 09 19:28:10 when you cross compile you'll have an option set like -march=armv5 Jun 09 19:28:17 and it'll optimize for v5 Jun 09 19:28:31 but for a headless box id always go for debian in a debian vs ubuntu question Jun 09 19:28:32 I see Jun 09 19:29:14 jzaw_pl: you are right. Ubuntu real advantage is the look of it Jun 09 19:29:17 * jzaw_pl is more of a purist in the debie and ian usage Jun 09 19:29:33 debbie * Jun 09 19:31:04 arent there ready made iso images for dl anyway ? Jun 09 19:31:15 for what? Jun 09 19:32:23 hey I found this on the wiki: Jun 09 19:32:24 http://plugcomputer.org/plugwiki/index.php/Re-building_the_kernel_and_U-Boot Jun 09 19:33:07 I just need to read a bit more...I didn't need to bother you ! Jun 09 19:34:10 heheh Jun 09 19:34:10 np Jun 09 19:34:17 http://plugcomputer.org/plugforum/index.php?topic=822.0 .... also this Jun 09 19:34:35 but seriously i bought a sheeva multi with a sd card with squeeze on it Jun 09 19:34:51 and merely duped that and fully aptitude updated and safe-upgraded it Jun 09 19:35:17 the sd card was with the sheeva was £2 cheaper than buying a bare sd card from newit anyway Jun 09 19:35:43 btw ... i then duped that to an esata disk (external) and its booting off that now too Jun 09 19:35:48 nice... I bought my plug from globascale Jun 09 19:36:08 https://blog.dzki.co.uk/?p=10 Jun 09 19:36:15 ive started a blog again Jun 09 19:37:11 ah you need to buy a guruplug...so I can continue to bother you with my question Jun 09 19:37:22 Tootoot222: what do you have yourself? Jun 09 19:38:25 jzaw_pl: are you british? Jun 09 19:39:23 yes Jun 09 19:40:10 where from if I am not too nosy Jun 09 19:43:21 manchester Jun 09 19:43:29 but my parents are .. . were polish Jun 09 19:43:38 and im in poland right now hence the _pl Jun 09 19:44:54 ah ok.. I lived in UK for about 6/7 years in Guildford Jun 09 19:46:54 lol Jun 09 19:46:54 [21:46:33] * [ppmt] wolfe.freenode.net :Manchester, England Jun 09 19:46:57 ironicallly Jun 09 19:47:04 -l Jun 09 19:51:25 but I am in Canada Jun 09 19:53:02 aye i know that Jun 09 19:53:13 [21:46:33] * [ppmt] (~ppmt@lmcprb.ericsson.ca): Philippe Jun 09 19:53:27 ppmt: i have a sheevaplug, but i've ordered a guruplug Jun 09 19:53:36 (they're both pretty close to eachother anyway) Jun 09 19:53:47 same board, different perferials Jun 09 19:54:10 though there is some question about the heat design Jun 09 19:54:22 yeah, they tried to cram too much into a small space Jun 09 19:54:27 low airflow Jun 09 19:54:44 apparently they've fixed it, i think Jun 09 19:54:48 also blowing usb ports and usb peripherals Jun 09 19:54:53 and it only happened on 220v Jun 09 19:55:05 i see Jun 09 19:58:48 shame really Jun 09 19:59:02 but its circumventable by using an external 5v 2A supply Jun 09 19:59:05 easy mod Jun 09 19:59:17 but the blowing usb peripherals is worrying Jun 09 19:59:55 jzaw_pl: reading the related threads, it doesn't actually look to be the PSU's fault Jun 09 20:00:03 heatwise? Jun 09 20:00:08 it was because the daughter board blocked the heat output Jun 09 20:00:12 tbh id prefer to have an exernal one anyway Jun 09 20:00:25 takes some of the heat out of the thing Jun 09 20:00:32 but also in the uk we plug a mains lead in directly Jun 09 20:00:40 so it makes for a heavy lead to the plug Jun 09 20:00:52 if you use an external psu it can be quite a light lead Jun 09 20:01:06 and easier to keep say on a desk or somewhere Jun 09 20:01:15 yeah if you took the power supply out and shaved the plastic that was holding it in, you could move the daughter board up and it would be a nice heat dispense Jun 09 20:01:25 aye Jun 09 20:01:38 also it might leave some room for a decent heatsink with proper fins Jun 09 20:01:58 i was wondering if it might be possible to simply have a finned heatsink poking out of the top ! Jun 09 20:02:17 lol Jun 09 20:02:24 i thought i saw one site with a sheeva modded like that Jun 09 20:02:31 stick it out the already-made vents Jun 09 20:02:33 on the sides Jun 09 20:02:44 yes ive defo seen one like that Jun 09 20:02:49 with the metal bent to a u Jun 09 20:20:09 sorry..I had to do some work :) Jun 09 20:49:29 Right time to go home and compile these modules :) Jun 09 20:49:37 I will report later Jun 10 01:49:19 Tootoot222, still around Jun 10 01:49:30 yup Jun 10 01:49:38 :) Jun 10 01:49:46 what's up? Jun 10 01:49:52 I had a go at compiling and I am confused Jun 10 01:49:56 lol Jun 10 01:50:13 what part confused you? Jun 10 01:50:16 so I copied the sources on a key Jun 10 01:50:43 the I copied the config file I downloaded and rename it .config Jun 10 01:51:00 I mounted the key on my plug in mnt Jun 10 01:51:10 I did then Jun 10 01:51:16 make modules Jun 10 01:51:23 make modules_install Jun 10 01:51:33 and all seems good but.... Jun 10 01:51:58 I can't see the same file in the newly created stuff as there is in the old one Jun 10 01:52:32 the same file where? Jun 10 01:52:43 http://pastebin.ca/1880123 Jun 10 01:53:30 the first part is the old files (that were working) Jun 10 01:53:53 the new part 2.6.33.2 is completely different Jun 10 01:54:40 what folder is that in? Jun 10 01:54:55 /lib/modules Jun 10 01:55:27 and the building of the modules didn't have any errors? Jun 10 01:55:34 nope Jun 10 01:56:37 I can try agian to be sure. Jun 10 01:56:53 it should finish instantly if they're already made Jun 10 01:56:59 (goahead and try again) Jun 10 01:57:09 I do make clean first? Jun 10 01:57:26 try without Jun 10 01:57:30 and paste the output Jun 10 01:58:19 ok Jun 10 01:59:27 http://pastebin.ca/1880127 Jun 10 01:59:44 this is the make modules Jun 10 02:00:19 have you tried rebooting after building the modules? Jun 10 02:00:23 maybe it just works Jun 10 02:00:31 even though it's different Jun 10 02:00:31 yes I did and no I had the same errors Jun 10 02:00:35 ok Jun 10 02:01:00 so now I do make modules_install Jun 10 02:01:02 ? Jun 10 02:01:26 sure Jun 10 02:01:53 http://pastebin.ca/1880128 Jun 10 02:03:19 when I reboot it is mainly complaininf about modules.dep that is missing Jun 10 02:05:30 hmm i'll try to compile the sources and see what i get Jun 10 02:05:58 do you think I need to compile the kernel first? Jun 10 02:06:25 that's what i was going to try (having a quad core and a cross compiler makes it much faster lol) Jun 10 02:06:42 indeed Jun 10 02:06:58 but you know do go over the board for me.... Jun 10 02:08:11 if we can't get this to work, what you can do is just download the latest kernel sources in the .33 line and make oldconfig your way up to the latest Jun 10 02:08:23 (with the .config that they gave on the plugcomputer site) Jun 10 02:08:54 you lost me there Jun 10 02:09:10 when there's a kernel update, you don't have to re-make your whole configuration file over again Jun 10 02:09:15 all you have to do is ``make oldconfig'' Jun 10 02:09:22 with the old .config in the new sources folder Jun 10 02:09:38 and it will ask you to set the newer settings that wern't present in the old version Jun 10 02:09:51 ah ok Jun 10 02:20:29 yeah so it looks like you have to build the whole kernel ppmt Jun 10 02:20:45 i got the same thing as you when i didn't build it, and then i got the whole thing when i did Jun 10 02:21:05 ah ah Jun 10 02:21:11 i could actually just bundle up the modules it just built and send them to you, if you like Jun 10 02:21:22 that would be cool... Jun 10 02:21:28 just a sec Jun 10 02:21:53 what kernel did you use? a 2.6.33? Jun 10 02:22:24 the same one you downloaded Jun 10 02:22:28 kernel.git.tar.bz2 Jun 10 02:22:29 ok Jun 10 02:23:28 then you copied the uImage-guruplug.config and rename it to .config Jun 10 02:24:38 yup Jun 10 02:24:41 http://uppit.com/9gdmx1fw9wa0/modules.tar.bz2 Jun 10 02:24:46 extract it as root as Jun 10 02:24:56 tar -xaf modules.tar.bz2 -C / Jun 10 02:25:10 (j can be used instead of a) Jun 10 02:27:57 my cross compiler is for gcc version 4.4.1, i don't know if that has any implications or even matters at all Jun 10 02:28:35 I see that it is 2.6.33.2 Jun 10 02:28:58 that's the kernel you have right? Jun 10 02:29:03 uname -a Jun 10 02:29:06 but when I boo it complains about 2.6.33.2-00003-g4b82fc0 Jun 10 02:29:16 which is the same a uname -a Jun 10 02:29:23 hmm Jun 10 02:29:25 so can I rename it? Jun 10 02:29:37 sure Jun 10 02:30:26 right I am going to reboot Jun 10 02:30:31 ok Jun 10 02:32:11 I think you did it! Jun 10 02:32:14 =D Jun 10 02:32:21 I no longre have error.... Jun 10 02:32:30 sweet Jun 10 02:32:36 well only one related to the wifi Jun 10 02:32:36 try lsmod Jun 10 02:32:57 does that one happen in the older kernel too? Jun 10 02:33:13 but the wifi seems to require a special module that needs to be compile separately Jun 10 02:33:21 no before it was all good Jun 10 02:33:52 hum Jun 10 02:34:20 lsmod is rather empty....actually no modules shows up Jun 10 02:36:37 yeah everything is built in to the kernel Jun 10 02:36:48 there's no initrd, so no hot module loading Jun 10 02:36:53 and the hardware doesn't change Jun 10 02:36:58 so that is all good then? Jun 10 02:37:14 as long as you didn't get a million errors while booting about missing modules, yeah Jun 10 02:37:27 and i guess you'll have to find those wifi drivers if you need that too Jun 10 02:37:38 no the only errors are related to the wifi module Jun 10 02:37:51 yes I will search the forum first.... Jun 10 02:38:17 http://pastebin.ca/1880135 Jun 10 02:38:30 this is the errors related to the wifi Jun 10 02:38:42 lol, that's another pastebin Jun 10 02:38:42 XD Jun 10 02:38:55 yes...sorry Jun 10 02:38:58 :) Jun 10 02:39:56 I reboot to get it again Jun 10 02:41:58 http://pastebin.ca/1880136 Jun 10 02:42:08 there you got the complete boot Jun 10 02:42:16 i assume you're using screen to access the serial console yes? Jun 10 02:42:16 the wifi errors are at the end Jun 10 02:42:25 minicom Jun 10 02:42:28 ah Jun 10 02:42:33 never used that Jun 10 02:42:34 =p Jun 10 02:42:40 i was going to say that screen has a scrollback buffer Jun 10 02:42:46 you can just enter that mode and copy Jun 10 02:42:51 idk if minicom has that Jun 10 02:43:05 minicom is very simple and has nothing Jun 10 02:43:21 the buffer is the one you had in the terminal that you launch it from :D Jun 10 02:43:47 I keep hearing about screen....one mor thing I need to learn! Jun 10 02:45:27 screen is very simple yet very complex Jun 10 02:46:19 hum this is not reassuring me and my poor brain Jun 10 02:46:31 at it's simplest you just use ``screen -US name'' to create a screen, control+a, d to detach the screen, and screen -Urx to reattach Jun 10 02:46:54 and you run whatever you want while the screen is attached (you get a shell) Jun 10 02:47:00 and when you detach the process keeps running Jun 10 02:47:11 really? Jun 10 02:47:15 (good for compiling things and comming back later, or reattaching from work etc) Jun 10 02:47:18 yup Jun 10 02:48:21 and you can spesify the socket file to read/write from, so you can do ``screen /dev/ttyUSB0 115200'' to attach to the sheevaplug console Jun 10 02:48:31 (115200 being the baud rate) Jun 10 02:49:44 wow!!!! Jun 10 02:50:35 when you say reconnect from work what do you mean? Jun 10 02:50:54 that is assuming I use the same computer to reconnect no? Jun 10 02:51:29 well you would ssh in, and reattach on the sheevaplug Jun 10 02:52:16 oh wow....where have you been all these years :D Jun 10 02:55:44 lol Jun 10 02:56:45 seriously...you help a lot with the modules and top top it of you make me discover screen Jun 10 02:58:41 Right It is getting late for me so I am going to go to sleep Jun 10 02:59:04 Tootoot222, thanks a lot for your help **** ENDING LOGGING AT Thu Jun 10 02:59:57 2010