12:31 | metalraiden | Hi guys, i trying to configure my cubox i4, by adding ignition on it, but when i boot the red light doesnt come up, i did : dd if=/dev/zero of=/dev/sdb1 bs=1M count=4 to format then dd if=/home/guilhem/Downloads/ignition.img of=/dev/sdb1 bs=16M to put the ignition img on the sd card, then i put the sd card to the cubox but nothing happend :s , any ideas ? |
12:32 | metalraiden | i just wanted to have linux on the cubox |
12:44 | metalraiden | damn on windows the procedure worked : |
12:49 | humpelst1lzchen | metalraiden: why do you dd to the first partition? |
12:53 | em|biketron | Hi there as i saw in Mainline, you configured different values for SATA in the DT. Currently iam running into some trouble with another board and would like to ask you how you determined them? |
12:59 | metalraiden | Humpelst1lzchen, then do you know what will be the right command ? |
12:59 | metalraiden | i tried to follow some tutorial |
13:03 | humpelst1lzchen | metalraiden: Usually images are dd to the whole disk |
13:36 | alex952 | ist nicht lvwas? |
13:39 | alex952 | I used "mount" to see the name of "/" it is "dev/mmcblk0p3".. now how to extend it? |
13:40 | humpelst1lzchen | alex952: you resized the partition and now you want to resize the fs? |
13:40 | humpelst1lzchen | or what is the problem you want to fix? |
13:41 | alex952 | I just got my cubox and installed fedora now the guide says to update yum -y update but this throws "need more space" |
13:42 | alex952 | I just found that "fdisk" can resice mmcblk0p3 |
13:42 | humpelst1lzchen | sounds like you want resize2fs |
13:45 | alex952 | Why can't I just resize mmcblk0p3 I mean it doesn't have any partition underneath |
13:46 | humpelst1lzchen | ? |
13:46 | alex952 | or what exactly is this mmcblk0p3.. If I check tutorials they all have sda sdb and stuff |
13:46 | humpelst1lzchen | mmcblkX is for mmc cards, sdX is scsi/sata |
13:47 | alex952 | ah got it :) thanks |
13:48 | alex952 | now this tutorial says I have to unmount and delete the partition: |
13:48 | alex952 | http://geekpeek.net/resize-filesystem-fdisk-resize2fs/ |
13:49 | alex952 | Can I just delete the partition that is "/" |
13:49 | alex952 | I mean wouldn't it break everything if I delete it |
14:01 | alex952 | ah now I got it.. I want to extend dev/root |
14:04 | alex952 | fuck why is this so complicated? why isn't there just 1 commant to extend something |
14:04 | alex952 | command* |
14:11 | alex952 | What do I put instead of "KDE Software Compilation" in sudo yum groupinstall "KDE Software Compilation"? A link to what and where do I find it? |
14:16 | humpelst1lzchen | alex952: there are commands... |
14:16 | humpelst1lzchen | like parted |
14:18 | alex952 | yes but I just don't know what to do to achieve my goal. I want to install different packages and don't have enought space |
14:20 | alex952 | that's all I know so far. now I need to extend something but it's all too new for me |
14:22 | alex952 | step by step 1. which partition do I have to extend to make enough space to download packages? |
14:41 | alex660 | ok I'm here |
14:41 | catwich | great |
14:42 | catwich | so I guess you tried resizing from inside your cubox-i |
14:42 | alex660 | exactly |
14:42 | catwich | obviously the disk is in use and cant be unmounted |
14:42 | catwich | easiest solution: stick the sdcard into your pc |
14:42 | catwich | and do the procedure there |
14:42 | alex660 | My PC runs windows |
14:42 | alex660 | would it still work? |
14:42 | catwich | argh |
14:42 | alex660 | yea |
14:42 | catwich | you are in trouble! |
14:43 | alex660 | obviously :D |
14:43 | catwich | it can be done so-called "online", too |
14:43 | catwich | omit the umount |
14:43 | catwich | use fdisk on the disk |
14:43 | catwich | drop partition |
14:43 | catwich | recretae it (make sure start sector stays the same as it was, check using fdisk p command) |
14:44 | catwich | if you do it wrong |
14:44 | catwich | you burn your partition table/filesystem/bootloader |
14:44 | catwich | make your pick |
14:44 | alex660 | ? |
14:44 | alex660 | like I have a choice |
14:46 | alex660 | maybe you can be a bit more precise concerning the steps? I know that you might be busy and stuff but it would be great |
14:46 | catwich | use your tutorial |
14:46 | catwich | I am not that into explaining fdisk |
14:46 | catwich | just, your disk is called mmxblk0, not sdX |
14:46 | catwich | you dount mount/umount |
14:46 | alex660 | so instead of step one I just drop the partition? |
14:46 | catwich | and you dont fsck -f |
14:46 | catwich | yeah |
14:47 | catwich | the system wont mind the partition table as long as it stays running |
14:47 | alex660 | and the weirdest thing that can happen is that I have to install fedora again? |
14:48 | catwich | yep |
14:48 | alex660 | that sounds not so bad.. one more question, some guy says that expanding is easier if you formatted the disk with LVM ? |
14:49 | catwich | ummm |
14:49 | catwich | yeah, sure, if you set up LVM first |
14:49 | catwich | feel up to it? |
14:49 | catwich | meanwhile making sure the bootloader will accept it |
14:49 | catwich | ? |
14:49 | alex660 | sure.. |
14:50 | catwich | I personally never used lvm, so no clue |
14:50 | alex660 | I'll check that |
14:50 | bencoh | uboot+lvm ? |
14:50 | catwich | you dont want to |
14:50 | bencoh | definitely :-) |
14:50 | bencoh | you can do it with an initrd though |
14:50 | alex660 | oh :( |
14:51 | catwich | bencoh, I found that its okay to hust reboot in midway if required |
14:51 | bencoh | hm ? |
14:51 | catwich | modern distros shouldnt require the reboot though |
14:51 | catwich | or you mean lvm + initrd? |
14:51 | bencoh | lvm+initrd |
14:51 | catwich | I was still on the resize track |
14:51 | bencoh | oh, nevermind :) |
14:52 | bencoh | I was talking about general case (fresh install) |
14:52 | alex660 | my install is fresh |
14:52 | alex660 | fresh as can be |
14:52 | bencoh | you can resize but you need to make the kernel reread the partition table ... and it wont do it on a used device afaict |
14:52 | catwich | but its already done |
14:53 | bencoh | which is why you need to reboot |
14:53 | bencoh | (or umount all the partitions ... but for that you need some rootfs in ram :) |
14:53 | catwich | bencoh: run partprobe |
14:53 | catwich | it usually forces teh reload |
14:53 | alex660 | oh good lord I can hardly follow your thoughts |
14:53 | catwich | but on some distros it wont,. and you need to reboot |
14:53 | catwich | alex660: just follow your howto |
14:53 | bencoh | Catwich: afaik it doesnt if the device is used |
14:53 | catwich | until it is done with fdisk |
14:53 | catwich | reboot |
14:54 | catwich | and contine |
14:54 | catwich | continue* |
14:54 | bencoh | (and as far as I can tell from my latest tests) |
14:54 | catwich | bencoh: it does |
14:54 | catwich | doing it on jessie |
14:54 | catwich | but on wheezy it doesnt |
14:54 | alex660 | by the way.. would you reccomend fedora? |
14:54 | catwich | I? no. |
14:55 | catwich | but I am biased |
14:55 | catwich | so dont ask me |
14:55 | alex660 | maybe I should pick debian? I concidered it but fedora kde plasma gui looked so nice |
14:55 | catwich | actually |
14:55 | catwich | chances are high plasma wouldnt work |
14:55 | catwich | this is ARM |
14:55 | catwich | embedded gpu |
14:55 | alex660 | :o |
14:55 | catwich | you get performance issues |
14:55 | catwich | driver issues |
14:55 | catwich | ram issues |
14:55 | catwich | and space issues |
14:55 | bencoh | Catwich: oh ... I'll check that on a more recent kernel then |
14:56 | catwich | 3.14.14 is fine |
14:56 | catwich | alex660: I can tell you that I am working on a desktop image of debian wheezy |
14:56 | catwich | soon to be released |
14:56 | alex660 | with windows 4*1.2Ghz and 2GB ram are totally enough for everything |
14:56 | alex660 | and I've read that linux needs even less resources |
14:57 | catwich | arm != x86 |
14:57 | catwich | especially arm != arm |
14:57 | alex660 | hahaha |
14:57 | alex660 | oh I am really frustrated now |
14:57 | catwich | I do plan to get a system out there in the future with KDE running well |
14:57 | catwich | but I have yet to see if it is possible |
14:58 | catwich | havent succeeded yet |
14:58 | catwich | but there is always the future |
14:58 | alex660 | okay.. let me put my question another way: |
14:58 | alex660 | I just want to run some bot clients using wine 24/7, 1. is that even possible and 2. what setup is best |
14:59 | catwich | ARGH |
14:59 | catwich | you are so going to do a few UNIX classes first |
14:59 | alex660 | so I can throw my cubox into the bin? |
14:59 | catwich | and take an embedded one too for good measure |
14:59 | catwich | wine + arm + x86 windows apps |
14:59 | catwich | is something that some wine developers are indeed trying to do |
14:59 | catwich | and I think a commercial product doing this exists already |
15:00 | catwich | but dont expect any performance when you need to emulate another instruction set (such as x86) |
15:01 | catwich | however using wine on arm is something I would not recommend any beginner to attempt |
15:01 | alex660 | another thing I'd like to know is whether I can run a game client from a terminal so without any gui |
15:01 | catwich | you can run *anything* from your terminal |
15:01 | catwich | if you can |
15:01 | alex660 | ._. |
15:02 | catwich | as for games |
15:02 | catwich | well, they obviously need to be open-source and/or available for arm |
15:03 | catwich | though |
15:03 | catwich | if the game is really old |
15:03 | catwich | qemu might be okay |
15:03 | alex660 | what would you reccomend me to do now to achieve my goal |
15:04 | catwich | no idea |
15:04 | alex660 | nice |
15:04 | catwich | I dont even understand your goal completely |
15:04 | catwich | but even then |
15:04 | catwich | from a developers perspective you got the world to choose from |
15:04 | alex660 | I just want to run a client for 24/7 without having my computer on |
15:04 | alex660 | because the cubox has so low power consumption and makes no noise |
15:04 | catwich | if it runs on arm |
15:04 | catwich | just run it |
15:05 | catwich | but you say its windows-only |
15:05 | catwich | so |
15:05 | alex660 | Okay, my second goal would be to have this: |
15:06 | catwich | KDE |
15:07 | catwich | you want a full-blown desktop |
15:07 | catwich | ........ |
15:07 | catwich | it might be possible |
15:07 | alex660 | yea that's what I expected when I bought the cubox |
15:07 | catwich | technically it is possible |
15:07 | catwich | hardware-wise |
15:07 | catwich | and its a goal I have been working towards for several months now |
15:07 | alex660 | I mean come on 4* 1.2Ghz 2GB ddr3 ram |
15:08 | catwich | if thats any hint to you |
15:08 | catwich | its about software problems |
15:08 | alex660 | bad coded? |
15:08 | alex660 | or just not made for this use on cubox |
15:08 | catwich | not exactly |
15:08 | catwich | you have software made for x86 |
15:08 | catwich | and desktop-grade hardware |
15:09 | catwich | aka broad memory buses |
15:09 | catwich | fast GPUs |
15:09 | catwich | and CPUs |
15:09 | catwich | now on the embedded side |
15:09 | catwich | things are fairly limited |
15:09 | catwich | embedded opengl |
15:09 | catwich | e.g. |
15:10 | catwich | the requirement to use special hardware for tasks such as video playpack to not stutter |
15:10 | catwich | many things need to be adapted to make use of the specialities of every arm board |
15:11 | alex660 | okay.. so what exactly are you doing all the months to get it working? |
15:11 | catwich | fight the gpu drivers |
15:11 | catwich | find out why the system freezes |
15:11 | catwich | figure dependencies to other packages in debian e.g., or opensuse |
15:11 | catwich | patch packages |
15:11 | alex660 | on what device are you trying to run it? cubox? |
15:12 | catwich | research environment variables required for certian pieces of software to use gles |
15:12 | catwich | sure |
15:12 | alex660 | and how is the success so far |
15:12 | catwich | and, like I said an image will be out soon |
15:12 | catwich | with a fairly simple desktop but a working browser including multimedia |
15:12 | catwich | working opengl-es |
15:12 | alex660 | sounds great |
15:12 | catwich | debian wheezy |
15:13 | catwich | you know, wheezy is kinda old already |
15:13 | catwich | so work shifts to jessie |
15:13 | catwich | with new issues |
15:13 | catwich | software too new for the drivers e.g. |
15:13 | catwich | or new drivers crashing |
15:13 | catwich | its a pain |
15:13 | alex660 | can I follow you anywhere? |
15:14 | alex660 | I'd like to be updated about your work |
15:15 | marmotte | Catwich: does that work on the old cubox ? or only cubox-i ? |
15:15 | catwich | my work is -i |
15:15 | marmotte | ok |
16:15 | alex660 | anybody here familiar with parted? |
16:21 | alex660 | guide says: mkpart primary 6,127,57 1946,198,43 then you get an error that you ignore and as a result the partition has a file system and no flags, when I try to di this mkpart primary 67,176,18 500,0,0 he just does it with no error and as a result I get a partition with no file system but Flag: lba |
16:27 | catwich | no clue |
16:27 | catwich | wonder why the guide chose these magic numbers |
16:27 | vpeter | I'm using plain fdisk for partition work. |
16:27 | catwich | same here |
16:29 | vpeter | alex660: do you understand what those number mean? |
16:30 | alex660 | yea |
16:30 | alex660 | The number I chose doesn't exceed the total on my mmc |
16:31 | alex660 | which is 9xx.x.x |
16:32 | vpeter | Good. I though you just copy/paste them :-) |
16:38 | alex660 | ah just like I thought.. there was an argument missing for mkpart in the tutorial |
16:38 | alex660 | i think I'll pick another one now ._. |
17:06 | humpelst1lzchen | alex660: get a linux live cd (grml, knoppix whatever) boot it, insert the SD-Card and run gparted |
17:21 | alex660 | okay |
17:22 | alex660 | I almost have it though.. The partition is already 1gig larger but the system still doesn't recognize it I'll just search the web for a solution |
17:34 | catwich | alex660: 2 things to do |
17:34 | catwich | reboot |
17:34 | catwich | and |
17:34 | catwich | run |
17:34 | catwich | resize2fs /dev/mmcblk0p1 |
17:34 | catwich | that should be it |
17:47 | alex660 | yeay |
17:49 | alex660 | can't believe it worked thanks :) |