please choosego to mobile | Continue to access the PC version
Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]
Published in 2015-12-7 13:19:22 | Show all floors
cyryllo replied at 2015-12-7 08:08
I use debian wheezy img. How can enable support for xfs, jfs ?

You should first do a google search for 'xfs arm bug' to get the idea what might happen with enabled XFS. And then it's time to rebuild the kernel:

https://github.com/loboris/Orang ... fconfig#L3085-L3086

I fear you're planning to use these settings for your 'NAS distribution'? Bad idea. Really bad idea.

4

threads

25

posts

266

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
266
Published in 2015-12-7 18:27:39 | Show all floors
bronco replied at 2015-12-7 06:19
You should first do a google search for 'xfs arm bug' to get the idea what might happen with enabl ...

Why bad idea? I do not understand why enabled xfs is a bad idea.
Thanks for the link options ;)
Published in 2015-12-7 18:39:42 | Show all floors
cyryllo replied at 2015-12-7 18:27
Why bad idea? I do not understand why enabled xfs is a bad idea.
Thanks for the link options ;)

Maybe because neither data loss nor data corruption are that great? Here's another link: http://lmgtfy.com/?q=xfs+arm+bug

Also, the ARM compiler chain is suspect - we've got evidence that gcc from 4.6 through to 4.9 miscompile various different bits of XFS code (kernel and userspace) due to a combination of bad optimisations and broken (and unfixed) kernel asm code (e.g. the do_div() implementation).

IOWs, it's not a good investment in time to be chasing ARM specific XFS corruptions until the known problems with the toolchain and platform support are fixed up first.

And now guess what? The compiler you're using is a scruffy 4.6:
  1. root@opennms:~# /var/git/H3/OrangePI-Kernel/brandy/gcc-linaro/arm-linux-gnueabi/bin/gcc --version
  2. gcc (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) 4.6.3 20120201 (prerelease)
  3. Copyright (C) 2011 Free Software Foundation, Inc.
  4. This is free software; see the source for copying conditions.  There is NO
  5. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Copy code


While choosing XFS on big iron is sometimes a good idea (when using Mainline kernel I would always prefer btrfs/zfs these days) it's a really bad choice in your environment. And since you provide an OMV distributions the data of users relying on your work is at high risk. Please stop including dangerous 'features'!

0

threads

2

posts

22

credits

Novice

Rank: 1

credits
22
Published in 2015-12-7 20:39:39 | Show all floors
I'm having a small problem here. I'm using an Arduino connected to /dev/ttyS2 so i can get some remote sensors. All works decently unless i'm actively using smbd. As this orange pi PC is doubling as a DB and my media server i'm trying to get to the bottom of this.

If the PI PC is idle uart2 works as it should (im using python to collect data). If i'm streaming something using smbd (cpu never goes higher than 0.50) uart2 just stops receiving data. I tried directly connecting to uart2 via minicom and screen and the data simply stops coming.

I tried to use one of the other ports, but are the apparently disabled in the latest kernel ?
Published in 2015-12-7 21:13:49 | Show all floors
brakeline replied at 2015-12-7 20:39
I'm having a small problem here. I'm using an Arduino connected to /dev/ttyS2 so i can get some remo ...

Maybe it's a timing problem. Without knowing your cpufreq settings and the contents of /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq when being idle and when smbd starts to work it's a bit hard to help...

4

threads

25

posts

266

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
266
Published in 2015-12-8 04:20:19 | Show all floors
bronco replied at 2015-12-7 11:39
Maybe because neither data loss nor data corruption are that great? Here's another link: http://lmg ...

Ok. Bug , bug is everywhere ;)

0

threads

6

posts

289

credits

Intermediate member

Rank: 3Rank: 3

credits
289
Published in 2015-12-11 15:46:29 | Show all floors
At first loboris thanks for your work. I finally get the Orange pi plus to work with a hdmi to dvi cable
I have a question... How i can change the resolution? There is any guide to how to change the script.bin? My monitor says that the optimal mode is 1680x1050 60 Hz.

Thanks

3

threads

23

posts

354

credits

Intermediate member

Rank: 3Rank: 3

credits
354
Published in 2015-12-12 23:52:40 from mobile | Show all floors
hi i need change the resolution script.bin likeyou gipsy

0

threads

1

posts

8

credits

Novice

Rank: 1

credits
8
Published in 2015-12-15 09:10:28 | Show all floors
It seemed Archlinux_Minimal.img.xz is lack of package "parted" and "dosfstools".So when I run "install_to_emmc", It failed.

2

threads

6

posts

49

credits

Novice

Rank: 1

credits
49
Published in 2015-12-15 14:43:59 | Show all floors
n890n replied at 2015-12-3 08:42
This Is like i see.with 720.i dont see all the screen .

I had to go to my TV's settings and turn off overscan.

My first post. Maybe you fixed it.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list