IRC log of #cubox of Sun 29 Dec 2013. All times are in CET < Back to index

12:25 niteye what a good day
12:28 _rmk_ niteye: what are the errors?
12:33 sickness morning all :)
12:41 niteye i fixed it somehow
12:41 niteye i started from scratch, make clean, blahblah, added the things i want, now iptables works
12:42 niteye now i have an issue with fuse, but more on that after lunch ,brb
12:49 rabeeh niteye: what is the issue with fuse?
12:49 rabeeh which kernel are you using?
13:06 niteye kernel 3.6.9, as suggested from the wiki, there may be something wrong with my modules but when i modprobe fuse i get:
13:06 niteye ERROR: could not insert 'fuse': Exec format error
13:08 niteye also unrelated, i use the cubox as NAS with an external hdd attached to it with esata; modern hdd's spin-down when inactive though i wonder whether the kernel with cubox_defconfig supports this and if not, which options i should look into to get it enabled
13:09 _rmk_ niteye: and what are the last few lines of dmesg ?
13:09 rabeeh niteye: if the drive spins down by itself; then any I/O should wake it up
13:10 rabeeh typical SCSI timeout is > 15 seconds; which is more than enough for the drive to spin up back again
13:10 rabeeh in general if you keep spinning down and up the drive all the time then you might kill the drive sooner than you think
13:10 _rmk_ niteye: HD spindown is something that's been supported for a long time, even back to the days of PATA. It needs enabling via hdparm.
13:10 niteye ah yeah there it is i think, since recompiling the kernel (for iptables) the random numbers after the kernel number changed, and i just renamed the folder with the modules but apparently that doesnt fly well with the modules themselves
13:11 _rmk_ niteye: the "random numbers" are probably the short git commit ID, so you built a different kernel
13:11 _rmk_ but as you're not giving actual information in the form of examples, it's hard for us to be sure
13:12 niteye well the numbers are the same but now it looks for the same path but with "-dirty" appended to it
13:12 niteye 3.6.9-36966-g1be2c76-dirty
13:12 niteye fuse: version magic '3.6.9-36966-g1be2c76 preempt mod_unload ARMv7 p2v8 ' should be '3.6.9-36966-g1be2c76-dirty preempt mod_unload ARMv7 p2v8
13:12 _rmk_ -dirty means the source tree was modified (Eg, a patch was applied which isn't committed)
13:12 _rmk_ yep. your fuse module was built for a different kernel to the one you're trying to insert it into
13:13 _rmk_ your running kernel had some source code modification
13:13 niteye weird, i have no recollection of getting another kernel, i suppose i better go and redownload it and recompile from scratch
13:13 _rmk_ your fuse module was built for a kernel without that modification
13:14 niteye okay thanks!
13:16 _rmk_ the best thing to do is: if you rebuild the kernel, make sure the modules have also been rebuilt, and always install both the kernel and modules at the same time.
13:17 _rmk_ if you build with 'make zImage' or 'make uImage' the modules won't automatically be rebuilt.
13:17 niteye yep i figured, but there arent that many modules i use apparently, iptables is built-in the kernel, and everything i want seems to work and lsmod shows zero entries (at the exception of fuse which i now know how to fix)
13:19 niteye i like how easy it is to swap kernels, delete the old, replace with the new uImage and reboot and presto, windows would nag you to death that the file is in use and cant be deleted
13:20 _rmk_ you missed ... new uImage "and modules" and reboot
13:21 niteye yep :-) seems like until i tried fuse im not using any modules at all heh
13:31 niteye does rabeeh work for solidrun?
13:32 jnettlet yep
13:36 niteye ah i think i somehow got a kernel from kernel.org and the same version from rabeeh's git while experimenting and thats how i ended up with same versions but different patches
13:39 niteye is support for jumbo frames necessary? transfer speed seems to already match maximum disk write speed anyways
15:01 rabeeh niteye: what are the speeds you have?
15:03 MikeSeth rabeeh: I got a mail saying my cubox will be shipped on 3th
15:04 MikeSeth can't waaaaaait
15:04 rabeeh MikeSeth: great :)
15:04 MikeSeth http://www.spiegel.de/international/world/catalog-reveals-nsa-has-back-doors-for-numerous-devices-a-940994.html
15:04 rabeeh remind me which model?
15:04 MikeSeth Your market just became 10 times bigger
15:04 MikeSeth rabeeh: the basic one
15:04 rabeeh i1?
15:04 MikeSeth I also ordered an sd card
15:04 MikeSeth yeah
15:04 MikeSeth i'll play with it a bit and then probably grab a bunch more to hack on and hand out as gifts
15:05 MikeSeth looking for a HDMI KVM already :P
15:05 rabeeh ?
15:05 rabeeh VDI?
15:06 rabeeh xfreerdp already have neon optimization
15:06 MikeSeth no, a physical switch
15:07 MikeSeth though yeah I guess VDI could work
15:18 niteye i have a 1gbit network, without jumbo frames already seems fast enough (comparable to my 'real' computers)
15:19 niteye raspberry pi is the cubox for poor people
15:19 sickness niteye: eheh
15:28 rabeeh niteye: cubox-i is 45$ !!!
15:28 rabeeh cubox-i1
15:29 niteye what is the difference with the basic model?
15:29 niteye or is it the basic model that went down in price?
15:32 niteye when i got my cubox, i needed a small low-power thing to use as homeserver and looked into raspberry pi (the only one i knew of at the time)
15:33 niteye but it didnt even have a housing, and biggest dealbreaker, only 100mbit network max, cubox was a bit more expensive but solved both my problems at once
15:34 sickness to me the selling point of the cuboxpro over all the rest was the 2Gb ram, that's a really useful edge over other similar devices =_)
15:38 niteye thats the amount i have on my laptop, i never manage to exceed it anyways despite watching movies etc, only virtual machines suck up lots of ram with me :)
15:39 niteye and the virtual machines themselves dont really use much ,its just that the program claims the whole amount the virtual machine has "isntalled"
15:39 niteye so im getting to an age where i dont understand anymore why a regular pleb buys a laptop with 8 gigs of ram in it
15:40 MarcusVinter Only for gaming I would imagine.
15:42 niteye all my games are still 32bit so i can put in all the rams i want, it wont help :-(
15:43 MarcusVinter Lol age of empires.
15:45 sickness well some mothern games are 64bit and do use ram *a lot*, for example BF3
15:46 MarcusVinter Yeah. I think even Minecraft can use >2GB
15:46 MarcusVinter lol
15:46 MarcusVinter with far render distances.
15:47 MarcusVinter Solid run could make minecraft block shaped devices that are didicated minecraft clients. Probably make a bit of cash off that.
15:47 MarcusVinter dedicated*
15:49 niteye the most modern game i have are GTA4 and sims3, (2008 and 2009), both are 32bit executables
15:50 niteye well making minecraft block shaped devices is something theyve already covered rofl
15:50 niteye just needs some texture
15:51 MarcusVinter I know, but they'd need to have right angled corners not rounded. lol
15:51 MarcusVinter Thats about it.
15:51 MarcusVinter I really think people would buy them as a dedicated minecraft client they can play in their living room. Minecraft has a huge community with a lot of cash.
15:52 MarcusVinter With java and minecraft preinstalled.
16:14 MikeSeth which reminds me
16:15 MikeSeth is the wifi module something that can be added to a wifiless cubox later?
16:15 MarcusVinter Anyone got any advice? I wrote a u-boot-cubox-i2u.imx file that jon gave me onto the sd card with dd but its still not booting on my i2u...
16:15 MarcusVinter Any ideas why?
16:16 MarcusVinter The geexbox image worked.
16:28 rabeeh MarcusVinter: which u-boot are you using?
16:28 rabeeh sources?
16:29 MarcusVinter One jnettlet built and gave me,.
16:30 rabeeh you can build yours from github
16:30 rabeeh there is a script that builds all variants
16:31 MarcusVinter Oh nice. cheers.
16:31 MarcusVinter Strange... I just built geexbox to test it and the cubox didnt boot.
16:31 MarcusVinter And it worked previously..
16:32 MarcusVinter The front light doesnt come on.
16:32 MarcusVinter But some dimmer light is on inside.
16:32 rabeeh no front light means no u-boot
16:32 MarcusVinter Ah...
16:32 rabeeh how do you flash your u-boot?
16:32 MarcusVinter with dd
16:32 rabeeh how?
16:33 rabeeh http://imx.solid-run.com/wiki/index.php?title=Building_the_kernel_and_u-boot_for_the_CuBox-i_and_the_HummingBoard#U-Boot
16:33 rabeeh sudo dd if=u-boot.imx of=/dev/sdX bs=512 seek=2
16:33 rabeeh like that?
16:33 MarcusVinter dd if=uboot.imx of=/dev/sdb bs=512 seek=2 conv=vsync
16:33 MarcusVinter But i wrote this on from the geexbox image that i for from here http://cubox-i.com/install-os-on-micro-sd-flash-card/ with win32diskimg
16:33 MarcusVinter Yeah, like that.
16:34 MarcusVinter but run logged in a root so no sudo.
16:34 rabeeh hmm... i wonder
16:34 rabeeh want to try my u-boot?
16:34 MarcusVinter Yes please!
16:35 rabeeh http://dl.dropboxusercontent.com/u/72661517/tbr/u-boot_mx6_cubox-i2ultra.imx
16:35 rabeeh soon we will get rid of the four u-boots for the different machines.
16:36 MarcusVinter All in one?
16:36 rabeeh yes
16:36 rabeeh like the kernel
16:36 rabeeh there is one kernel for all
16:36 MarcusVinter Oh nice. that will be a lot easier.
16:36 MarcusVinter You going to include c1 in that?
16:38 MarcusVinter Oh I think my sd might be corrupt. That could be why.
16:38 MarcusVinter dmesg spewed out some errors.
16:39 MarcusVinter I hope its nothing to do with me writing /dev/zero to the whole thing.
16:48 _unreal_ I'm trying to figure out how to get my cubox updated
16:48 _unreal_ I dont know if I want to run the ubuntu, geexbox, or fedora builds
16:48 _unreal_ I have a cubox developers platform
16:53 niteye personally i'm against ubuntu
16:55 MarcusVinter How come?
16:57 niteye the UI changes too often, its impossible to really learn and be proficient at it like windows or linux commandline (or simpler gui's), also in my exerience ubuntu users are the linux version of apple worshippers, trying to convert everyone to "try linux" and only know ubuntu because it was the most user friendly but dont know other distros also have caught up in terms of user friendliness
16:58 niteye but the biggest dealbreaker for me is that for a long time, the default ubuntu desktop background looked like a macro-image of brown fecal matter
16:59 niteye then in the next update, it was more runny brown matter
16:59 niteye and then they finally made it purple and orange, but the image is still burned in my memor
17:14 MarcusVinter I know what you mean there. But it is one of the best maintained so its a bit of a toss-up/.
17:37 niteye cloning from github is so slow
17:37 _unreal_ ubuntu I dont mind but I dont use it mainly. I prefer fedora
17:37 _unreal_ or I modify ubuntu to have a fedora style gnome gui
17:39 niteye time for my bath
17:39 MarcusVinter anual bath
17:40 niteye something like that, if it were regular i wouldnt bother announcing it :D
17:40 MarcusVinter Thats what I thought. hahaha.
19:18 MarcusVinter Thanks Rabeeh. That u-boot version worked.
19:18 rabeeh great
19:21 MarcusVinter does the I2 still have self powered USB to serial port RS-232 controller?
19:21 MarcusVinter Because I connected it via usb to my laptop and its not detected?
19:22 rabeeh i2 doesn't have usb to rs-232
19:22 MarcusVinter is there any way to debug on it?
19:27 MarcusVinter Oh sorry. found the drivers now.
19:35 MarcusVinter There must be something wrong with my cable, its not detected as hardware when i plug it in.
20:09 niteye the next cubox should have a casing made of lead. when i put it on my desk the mere weight of the cable can pull the cubox off the desk, i have to put something heavy on it
20:32 niteye are there any differences between using the latest official kernel and rabeeh's git?
20:34 niteye http://www.solid-run.com/mw/index.php/Debian_ArmHardFloatPort_on_CuBox#1GB_Ram the 1GB_Ram entry seems to be gone from this page on the wiki, how come? is adjusting defconfig no longer the recommended way of disabling the framebuffer ?