IRC log of #cubox of Thu 17 Sep 2015. All times are in CEST < Back to index

15:49 heap_ holy fuck
15:50 heap_ what does it mean if there is no ligh on my cubox?
15:50 heap_ it suddenly stopped to work
15:50 heap_ there is only light on spdif port
15:51 heap_ any idea?
15:51 heap_ why there is no main light on IR port?
15:51 heap_ red one
15:52 wbx may be sd card is not correctly inserted. try to poweroff, remove sd card, add sd card , poweron
15:52 heap_ let me try
15:52 heap_ but why there is SPIDF light on?
15:54 heap_ no because there is no light on ETH port
15:54 heap_ fucking crap device
15:54 heap_ any idea?
15:55 wbx at least it gets still power.
15:56 wbx i have no issues with my cubox-i ultra
15:57 heap_ then?
15:57 wbx fresh device? another sd card?
15:57 wbx correct power supply?
15:58 heap_ man
15:58 heap_ main power light doesnt work
15:58 heap_ there is no connection with sd card
16:03 heap_ what are these fucking devices
16:03 heap_ after 8months of run it died?
16:12 heap_ http://forum.solid-run.com/your-first-steps-beginners-corner-f17/cubox-i4pro-dead-on-arrival--t1230.html
16:12 heap_ exactly same issue
16:35 heap_ any idea?
17:38 flips Lack of red diode light could just mean missing bootloader, IIRC
18:11 heap_ flips: ah ok, but the box was running i just disconnected power
18:11 heap_ then sd card got corrupted?
18:11 heap_ or?
18:12 heap_ can i debugg using serial port?
18:13 vpeter heap_: If you connect serial port you can see bootloader messages.
18:13 vpeter If sd card is ok.
18:19 heap_ ok i can check it
18:19 heap_ gimme few mintues
18:40 heap_ nothing on serial port
18:41 heap_ port is active but i cant see anything
18:43 vpeter And I'm sure you did sd card corectly because this is not your first time?
18:47 heap_ nothing on serial console only 0001 in some square character
18:47 heap_ vpeter: not first time sure... i was using it for 1 year
18:48 heap_ so w/out sd card now ... nothing on serial port
18:48 heap_ with sd card nothing on serial port also
18:51 heap_ https://goo.gl/photos/JGLY7uV4nps46j2k7
18:51 heap_ i think its over... dead device
18:53 vpeter without card there will be nothing.
18:53 heap_ with any random sd card?
18:53 vpeter Did you set speed correctly?
18:53 heap_ yes
18:53 vpeter Yesm sd card must have corect bootloader on it.
18:53 heap_ its 115200
18:54 vpeter yes
18:54 heap_ then im desperate
18:54 heap_ what to do
18:54 heap_ spdif light is on
18:54 heap_ nothing more
18:55 vpeter my spdif is on also without card
18:55 heap_ if i insert random empty sd card
18:55 heap_ should it do something?
18:55 vpeter no
18:58 heap_ so i need proper sd card
18:59 vpeter Yes, something on it fot cubox.
18:59 heap_ ok give me second
19:01 vpeter Naybe you should try http://solid-run.com/downloads/ignition
19:08 heap_ downloading directly arch arm linux latest image
19:19 heap_ anyway just wondering is there any howto how to install only boot on sd card and rest on usb external disk?
19:22 heap_ ah it works!
19:22 heap_ thank you!
19:22 heap_ holy crap with those sd cards
19:32 wbx heap_: you remember what I said in the morning about sd card? ;)
19:38 vpeter heap_: You need at least u-boot and uEnv.txt or boot.scr on sd card and rest on usb.
19:40 heap_ but how its possible to sudenly sd card was completely wiped off?
19:40 heap_ when i inster sd card into reader there isnt even any fs
19:41 heap_ is it normal behaviour?
19:43 vpeter It is not normal.
19:43 vpeter Maybe running system from it wipe it out.
19:43 heap_ what do you mean running system from it wipe it out?
19:44 vpeter If you run arch from sd card you can wipe the card
19:44 heap_ how?
19:44 heap_ or why
19:44 vpeter But sometimes this things just happen :)
19:44 vpeter ^^^^ why
19:45 heap_ wel l
19:45 heap_ u said if u ran arch u can wipe
19:45 vpeter Now you know for next time. If system doesn't boot then make new sd card.
19:45 heap_ whats connection between that arch and sd wipe?
19:45 vpeter wipe: dd if=/dev/zero of=/dev/sdX bs=10M
19:45 heap_ but i didnt type it :)
19:45 heap_ anythhing with dd
19:45 vpeter there is no direct connection. I'm jsut saying it can be done.
19:46 heap_ do you typped manually or?
19:46 vpeter Yes.
19:46 heap_ 100% i didnt
19:46 heap_ system was runing
19:46 vpeter In your case it just happens. Not dd. Maybe power loss.
19:46 heap_ i powered it off
19:46 heap_ connected power on ...and nothing happen
19:46 vpeter Or card made some crazy thing :-)
19:47 heap_ so power loss can do it
19:47 vpeter Not usually.
19:47 vpeter But lot of things can happen.
19:48 heap_ yeah
19:48 heap_ but its weird
19:48 heap_ isnt it?
19:48 heap_ its 01 not humman body
19:51 vpeter Even in 01 nothing is 100%
19:52 heap_ ;>
19:52 heap_ crazy crap ;/
19:52 heap_ now how to restore sd card :>
19:54 vpeter restore what?
19:54 heap_ dat a
19:54 heap_ data
19:55 heap_ well i did fdisk /dev/sdcard
19:55 heap_ it says ... invalid flag of partion table 4 be corrected by w
19:55 vpeter anything important there?
19:55 heap_ well all the .confs :)
19:55 vpeter I would use some data rescue program.
20:03 heap_ testdisk found all the data on the sd card
20:03 heap_ thats crazy
20:08 heap_ ok some block on sd card must have been corupted and it destroyed FS
20:08 heap_ restoring data.. using testdisk ... almost 85% restored
20:09 vpeter Maybe only bootloader was corrupted.
20:10 heap_ question is ...can i just copy all the files on new installed sd card... and use the new installed uboot with old (copied) data?
20:11 heap_ vpeter: not only bootloader.. wholes FS... linux identified card as empty card
20:11 heap_ testdisk found correct FS + data
20:11 vpeter ok, then bootloader + mbr :)
20:12 heap_ yeah
20:12 heap_ so question is ... can i copy all the data to new working sd card
20:12 heap_ cp -avz / to new sd card
20:13 vpeter Just try and see.
20:13 vpeter But I would start from fresh.
20:13 heap_ ah ;/
20:13 heap_ too much configuration
20:13 heap_ all the services etc
20:13 heap_ dont know
20:14 vpeter Then just copy and fix if soemthing doesn't work.
20:14 vpeter And copy all the files to some safe location in case new card is destroyed. Too.
20:14 heap_ yeah
20:14 vpeter Enough for today. Hope you will fix everything.
20:15 vpeter Wondering how can you run arch if some user wrote it doesn't work :)
20:15 heap_ well i never tried that method ... cp / to new card :)
20:15 heap_ arch arm runs pretty nice on cubox
20:16 heap_ the kingston sd cards are worst pain... last time bad blocks... now mbr gone...
20:18 heap_ vpeter: anyway thank you
20:31 heap_ but is uboot dependant on kernel version?
20:31 vpeter no
21:32 heap_ and what is /boot/SPL ?
21:36 vpeter SPL (Second Program Loader) is small part of bootloader which initializes ram and loads rest of u-boot. Great to have one one bootloader for different hw.
21:37 heap_ ah so assume no dep on kernel
21:49 heap_ i need to store only loader and /boot on sd card.. rest on usb hdd