IRC log of #cubox of Mon 28 Apr 2014. All times are in CEST < Back to index

01:57 ichthys anyone here using Debian on the cubox and know how to get wireless working
02:09 ichthys :L
06:52 _dab_ jnettlet: Is this FEC pause problem fixable (other than changing the switch) ? The problem is the negotiation, yes/no?
06:59 jnettlet _dab_, the question is who is at fault. with rmk's new code the FEC seems to be doing the proper thing.
07:00 jnettlet is that switch managed at all?
07:03 _dab_ if you mean can I change phy parameters, no. It is not only me switch, a customer of mine tried it on dozens of different popular consumer routers
07:03 _dab_ s/me/my/
07:08 jnettlet I would need to see the list. many consumer routers could use the same chipset with the same bug
07:08 jnettlet I have tested on 4 here and none of the problem.
07:08 _dab_ My customer says they are not prepared to buy a new switch/router for their many clients, just so they can use a cubox
07:10 _dab_ d-link netgear asus, belkin (I am told) have the problem
07:12 jnettlet my d-link is fine
07:13 jnettlet dir-655
07:14 _dab_ http://imx.solid-run.com/forums/viewtopic.php?f=10&t=1045#p7740
07:15 _dab_ cheaper seems to be the problem
07:19 jnettlet but if you look at the last comment you see that 3.15 and enabling flow control helped his problem a lot
07:22 _dab_ yes and it helped mine a bit, but sadly not enough. If I cant show 300Mbit iperfs to the customer, they are not interested
07:36 jnettlet _dab_, do you have ethtool installed on your box?
07:36 _dab_ yes
07:37 jnettlet try this. ethtool -A eth0 autoneg off rx off tx on
07:39 _dab_ kernel oops when I ran iperf
07:40 _dab_ ethtool -A eth0 autoneg off rx off tx on
07:40 jnettlet what compiler are you using?
07:40 _dab_ linaro
07:40 jnettlet 4.8, 4.7?
07:40 _dab_ WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:264 dev_watchdog+0x27c/0x2a0()
07:40 _dab_ NETDEV WATCHDOG: eth0 (fec): transmit queue 0 timed out
07:40 _dab_ 4.8
07:42 _dab_ http://pastebin.com/qVysQ6Jr
07:44 jnettlet oh disable CPU_IDLE for now.
07:45 jnettlet there is a patch to fix FEC with CPU_IDLE, but for now just disable it
07:45 jnettlet that is a bug in the SOC
07:46 _dab_ # CONFIG_CPU_IDLE is not set
07:47 _dab_ CPUFREQ is set
07:50 _dab_ i.e. # gzip -dc /proc/config.gz |grep CPU_IDLE
07:50 _dab_ # CONFIG_CPU_IDLE is not set
07:50 _dab_ # CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set
07:54 jnettlet hmmm, can you reboot and test again.
07:54 _dab_ yes
07:58 _dab_ repeated 4 times. first two worked, 3rd failed, 4th worked
07:59 jnettlet interesting. Can you test the performance when it succeeds.
08:00 _dab_ I get 421/135 and lots of overruns
08:03 _dab_ jnettlet: I need to go out for half hour, back shortly
08:43 _dab_ back
09:17 _dab_ jnettlet: fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
09:18 _dab_ surely we are screwed from this message onwards
09:18 _dab_ flow control is Rx, is what we wish to see yes/no? sorry if it is a dumb question
09:40 jnettlet _dab_, that is just what is negotiated with the router/switch
09:42 jnettlet the problem is that as soon as TX flow control is disabled you see a max throughput of the cubox receiving drops to around 167Mbps
09:43 _dab_ ok
09:44 _dab_ I get closer to understanding
09:49 _dab_ and my problem would be that the switch does not recognize what I set. ok
12:17 ralix morning!
12:19 rabeeh hi ralix
12:58 _505 hi, got a question on the *old* cubox (armada) which is serving as my NAS
12:59 _505 I have a failing USB hard disk, so I'm trying ddrescue
12:59 _505 I bought a new USB drive, and both are connected to the CuBox
12:59 _505 Now I started dd, but the transfer steed averages at 436kB/s (with max 720)
12:59 _505 For a 2TB drive, it would take 50 days to do a full copy
12:59 _505 Question: is this cubox hardware related, kernel, or faulty drive?
13:00 _505 it's running Debian armhf headless, with a 3.6.9 kernel found on the forum
13:02 dz0ny _505: dmesg should tell you if usb is disconnecting
13:03 dz0ny usb drives are even more problematic
13:03 dz0ny becouse if they detec faulty block
13:03 dz0ny they reset usb connection
13:03 dz0ny :D
13:21 rabeeh _505: Armada 510 USB should do ~27MB/sec on read
13:21 rabeeh i recall something > 20MB on write
13:25 _505 dz0ny: nothing really in syslog. only some messages right after dd started about read errors. but that is to be expected since the drive is corrupt
13:26 rabeeh so what's happening is that the drive is trying to recover those bad blocks
13:26 rabeeh as i recall Linux SCSI subsystem upon read error tries to narrow the read request to smaller parts to recover as much as possible data
13:27 rabeeh so a single read failure might be tried multiple times
13:27 rabeeh for the speed; if you are lucky enough then the failure is in few cylinders that once dd has passed them then the speed would become normal
13:28 _505 ddrescue is now running for about 12hrs. it recovered 21GB (of 2TB) with 245kB in errors (5 in total)
13:28 rabeeh ooh; that's not bad at all
13:28 _505 well, that is 1% of the disk in 12hrs
13:29 rabeeh yeah but 5 errors only !
13:29 rabeeh btw - why are you trying dd? can't you just mount it?
13:29 _505 I can mount, but trying to read something will lock up that command
13:29 rabeeh anything?
13:29 rabeeh i mean any read?
13:30 _505 no, only some files I guess
13:30 rabeeh just don't try reading the same file on every trial
13:30 _505 but 'ls' is even problematic sometimes
13:30 rabeeh my guess is that if you have only 5 errors in total for 21GB then you might be on a safe side just to mount and first copy the important files, then just try digging in
13:31 rabeeh oh; so it's on the root inodes then
13:31 _505 tried fsck, but that fails with error 9 (and count find the docs on error codes)
14:00 _505 mm, signal 9 means SIGKILL, probably meaning the kernel killed the process
14:00 _505 what would be considered the latest stable kernel for armada?
14:04 rabeeh 3.6.9
14:07 _505 this one, correct? --> https://github.com/rabeeh/linux
15:52 bacobart does cubox-i have european distributors?
15:52 bacobart if i order from the website, where will they ship from (do i have to pay customs for importing it...?)
15:57 Marmotte bacobart: I didn't buy a cubox-i, but I know someone who had to pay 40EUR customs
15:57 Marmotte I don't know if it's always or not
15:57 Marmotte (in France)
15:58 davorin where do you live bacobart?
15:58 davorin i usually only deliver locally to .ch and sometimes to .de
15:58 davorin but distributors are mentioned on their website
15:59 davorin http://www.solid-run.com/company/distributors-partners
15:59 bacobart i'm in .nl
15:59 bacobart yeah i found that page, but the distributor in .uk doesnt even list the latest models i think
15:59 bacobart seems outdated
16:00 davorin #define latest model?
16:00 bacobart the i4-pro
16:00 davorin what they do list instead?
16:01 Marmotte New-IT only lists Cubox and Cubox Pro :)
16:01 Marmotte not the -i
16:01 bacobart yeah
16:01 davorin ah right...
16:01 davorin https://shop.klingler.net/category.en.php?id=10015
16:02 davorin currently all models on stock here
16:02 bacobart tbh im looking for a local distributor, i'll probably have to pay custom tax when i buy it abroad
16:02 davorin depends...
16:02 bacobart i'm reading up on some dutch forum and ppl there got if from israel and they had to pay import tax
16:03 davorin i guess you won't pay taxes when ordering in .de, right?
16:03 bacobart also around 30-40e
16:03 bacobart no probably not
16:03 davorin generally within the .eu
16:03 davorin well..as i'm close to german border i sometimes drop off a dhl package for german customers
16:03 bacobart but .ch is not not part of the european union trade zone i think
16:03 bacobart you're in .ch?
16:03 bacobart ah
16:03 davorin yepp
16:04 bacobart you're a distributor :P
16:04 davorin it is mostly faster then shipping from within .ch
16:04 davorin and germans don't need to pay customs (o;
16:04 bacobart okay, so if i order from klingler i'm probably good on the customs is what you're saying?
16:05 davorin didn't ship so far from .de to another .eu country (o;
16:05 davorin have to check the dhl website if the package needs to be declared with customs numbers
16:05 bacobart hehe okay
16:05 bacobart usually orders from amazon.de come in without problems
16:05 bacobart its outside .eu that causes custom issues
16:05 davorin so doesn't pass customs?
16:05 bacobart no i dont think so
16:06 davorin and nothing declared outside of the package?
16:06 bacobart now you got me doubting:P
16:06 bacobart but last time i ordered from amazon.de i dont remember anything about customs
16:06 davorin hmm..euro 14.99 shipping costs
16:07 bacobart well thats better than a 30e custom tax :P
16:07 Lou_ hey there
16:07 bacobart well actually
16:08 bacobart $129.99 = 93e + 30 would be 123e
16:08 bacobart and CHF 159.00 = 130e
16:08 bacobart so i'm probably better of orderering from the official site then i guess
16:08 davorin yes...as you won't have to pay the customs i paid (o;
16:09 bacobart well even if i order from the official site and i do get the customs
16:09 bacobart it would be about the same then
16:09 Lou_ sry to interrupt, but does one of you know how to put my hdd to standby in geexbox? the hdparm package seems not available?
16:09 davorin i just read recently that for example the new bananapi board gets sometimes sent back to china or being destroyed at german customs (o;
16:09 bacobart hehe that would suck:P
16:10 bacobart but thats probably when you refuse to pay the customs
16:11 davorin not really...apparently due to missing ce labels on the package
16:12 davorin could be dangerous and kill german people
16:12 davori 16:12 * davorin off to post office
16:13 bacobart thanks for the info
16:42 dz0ny Marmotte: yu must pay customs if shipment is from non EU country, the only omission are postcards
16:42 dz0ny you*
16:43 midacts What OS do you guys recommend for the Cubox-i4-pro? I havent had any luck getting an OS where the wireless actually works (I've tired Ubuntu and Debian)- i couldnt get arch linux to boot
16:43 dz0ny in my country they even billed me for opening package :D
16:43 dz0ny midacts: arch :D
16:43 Marmotte dz0ny: ok :) I never bought outside EU
16:44 midacts http://imx.solid-run.com/wiki/index.php?title=ArchLinux is this the guide taht you used to install Arch?
16:46 dz0ny yep
16:46 dz0ny and this for wlan http://download.geexbox.org/snapshots/geexbox-xbmc-imx6-cuboxi/latest/binaries.cuboxi/packages/firmware-wifi-brcm80211_20140206-d7f8a7c81a3-1_armv7.opk
16:47 dz0ny someone should turn that to aur package
16:48 midacts Will i have to do anything special to install that wlan firmware?
16:53 dz0ny extract opk with tar
16:53 dz0ny move it to usr/firmware
16:53 dz0ny add config file from buildgblocks repo
17:01 mal- aloha
17:03 davorin from balboa
20:58 midacts is there a listing for all the available cubox OS images?
21:04 dz0ny midacts: on wiki
22:22 dz0ny midacts: fyi updated wiki on wifi drivers info
22:43 bartoli Hello people, got a problem
22:43 bartoli I don't get any output on the hdmi
22:44 bartoli The red led on the front is on
22:44 bartoli so the bootloader is loaded
22:44 bartoli I tried different images
22:45 bartoli Archlinux, debian, ubuntu
22:45 bartoli Geexbox
22:45 bartoli Tried different cards
22:45 bartoli sd cards that is
22:46 bartoli I get a blue screen
22:47 bartoli No network connection, the router sees nothing
22:48 bartoli Checked the hdmi cable
22:48 bartoli Any ideas?
22:49 LangeOortjes bartoli: do you have an i2ultra or i4pro?
22:50 bartoli Sorry, id4pro
22:51 bartoli I have the cubox-i4 pro
22:54 LangeOortjes alright, you should be able to connect to cubox via a serial connection, http://imx.solid-run.com/wiki/index.php?title=Serial_console, maybe that can help you diagnose the problem?
22:54 bartoli Tried that also
22:54 LangeOortjes and?
22:55 bartoli I get a sort of timeout failure
22:55 bartoli I used minicom
22:56 LangeOortjes bartoli: hopefully someone else might have an idea what could be wrong then, I am afraid I don't, sorry.
22:57 bartoli ok, toch bedankt