Jump to content

Jens Bauer

Members
  • Posts

    208
  • Joined

  • Last visited

Everything posted by Jens Bauer

  1. That's good news, this means it is likely only be the EspressoBin is 'affected'. I just double-checked that it's not a "local error" (eg. my own stuipidity), the boot environment variables on the EspressoBin download page does load boot.scr to ${scriptaddr} and Focal's boot.scr does load armbianEnv.txt to ${scriptaddr}. ... So I'll need to try and make an armbianEnv.txt, which is large enough to overwrite the memory where the boot-script is located. Unfortunately, I currently can't get my board to boot from /dev/sda12 correctly; It keeps loading 'version 237' (from /dev/sda11) where it's supposed to load 'version 245.x'. It's driving me nuts and I'll probably have to rewrite the boot-sequence in order to get it to boot Focal. That again would probably mean I might not succeed in making the test.
  2. ... Looks very similar to espressobin; I once had a setup using 'loadaddr' (not load_addr), where loadaddr was used for both loading boot.scr and armbianEnv.txt as well.
  3. I just came across this line: -Is this correct ? scriptaddr is where the boot.scr is loaded, as far as I understand, it overwrites itself by loading armbianEnv.txt to the same address. So wouldn't it be better to load armbianEnv.txt to kernel_addr, initrd_addr or fdt_addr, since armbianEnv.txt is only used for a short time ? I have not tried making an armbianEnv.txt, which is larger than boot.scr, but it looks like it would stop the board from booting if it's just long enough to overwrite the 'env import' line.
  4. After running Bionic for quite a while, I decided to move on to Focal. Focal's RESET (reboot command) seem to be very robust, it has not failed me at all. So I bet the problem no longer exists with Focal and would like to recommend upgrading.
  5. Thank you for your advice, I'll take it with lots of appreciation! :) I'm currently in the process of restoring my server, so I'll have to wait a few days, but I will try with a fresh installation of the most recent image from the download page. Unfortunately I only have one ZXSP drive, so I can't test with several drives of this type - it could have been very useful to know if it really depends on this drive type. Just in case someone reading this should be tempted: I think it's a bad idea to use BLUE (desktop drives) for a server - RED are much more stable.
  6. I just experienced this old problem with Focal: WD drives inaccessible starting with kernel 4.13 -As the topic is now closed, I'd like to add some information. My drive is a 2.5" 1TB WD10SPZX (WD BLUE). It was connected via a Startech.com port-multiplier. Normally I use only WD RED, but I had to move some large files, so I attached it temporarily. Here's stack-trace #1... Stack-trace #2: I tried reading a large tar-file several times from the drive, but Focal kept crashing. After that, I tried switching to a WD BLUE (Slim) I had some data on already, and the copy from the tar archive completed without crashing. Here's a list of 3 different types of drives (connected via the same port multiplier): The tar-archive I was reading from, is very large (around 300 GB) and the file I was reading was around 2.3GB. 2.3GB would be a negative number as a 32-bit integer, but I don't think there would be any problem regarding this. All the partitions I work with are BTRFS partitions, but this shouldn't matter, since the problem seems to be in the driver. Oh, I used dist-upgrade from Bionic to get to Focal. Please let me know if there's any further useful information I could supply.
  7. Fairly understandable. Cortex-A73 is by design (eg. ARM) using lower power and produces lower heat than Cortex-A72. Cortex-A75 even lower power and quicker than Cortex-A73. -So it will likely pay to choose the latter implementation over the former, even if the price of the CPU is higher. For build-farms and quick data-processing, it's interesting having high-speed CPU cores and high speed network (this can be spread out on several GbE ports or just a single 10GbE port). 2GB or 4GB LPDDR4 would also be attractive for this kind of configuration. Native 6G SATA would be a huge advantage here as well. For storage (eg. NAS), one could likely go with the old Cortex-A7, native 6G SATA support and 1GB to 2GB RAM (still 4GB will be interesting when you're using RAID configurations a'la FreeNAS, where each 1TB storage space requires 1GB RAM). Again as many (independent, full speed) GbE ports will be attractive for this configuration. If the CPU you choose have PCIe, you can basically do anything you want; just please don't waste the PCIe on USB3. Adding PCIe switches would be interesting too. As I've mentioned earlier, it's not easy to find an affordable board that has both native 6G SATA, GbE network and PCIe. I picked the EspressoBIN due to the low price and that it "technically" would cover my needs, but I've had many problems with it for several years. It still has problems when I make software-reboots (sometimes hangs), so that's a board I will not recommend. Some boards also have problems with the RAM being affected by EMI due to bad board design. The EspressoBIN was an empty promise; it can't be used as a router/firewall unless you add an external USB3-to-Ethernet adapter. The speed on the 3 ports is limited to 1Gbit for all three [eg. they share 1Gbps!], so I fail to see why they even bothered making the board more expensive by adding the Topaz switch. (Perhaps so that other board designers, such as you, can learn from their mistakes?)
  8. Please add native SATA to the list. :) -I think it would not hurt to change the x4 PCIe3 to a four x1 PCIe3 or even four x1 PCIe2. -That way you can easily add cheap SATA host controllers or GbE adapters (with four GbE connectors per card). The 8040 is expensive, but I'd rather purchase one working board with extreme specs than 3 or 4 almost-working boards. -So for me, it takes time to save up for the MacchiatoBIN, but it's definitely worth it; and I want two DoubleShot boards!
  9. A while back, I noticed that Armbian was compatible with this Ugreen GbE adapter. As I purchase on eBay rather than Amazon, I found the above one plus this adapter, which has the same AX88179 chipset plus a built-in 3-port USB3-Hub. So I decided to try it and see if it worked with Armbian and report back here. (I'm using the EspressoBIN for this and Ubuntu Bionic 4.19.56). These are my results: Straight out-of-the-box, I can see it using LSUSB, but it does not plug-and-play-work. After struggling and attempting to get the network manager to do something about it, I added this line to /etc/udev/rules.d/70-persistent-net.rules: SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0e:c6:a3:d0:c6", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="usbnet0" It now shows up as usbnet0 when I type ... ip a networkctl -a networkctl status usbnet0 ... I've successfully been able to set its MAC-Address (just to confirm that I can make a /etc/systemd/network/10-usbnet0.network file: [Match] Name=usbnet0 [Network] #DHCP=ipv4 DHCP=no Address=10.0.1.5/8 Gateway=10.0.0.1 DNS=208.67.222.222,208.67.220.220,10.0.0.1 [Link] MACAddress=defa.cebe.ef08 However, If I type ... ip link | grep -A 1 'usbnet0' ... I get ... 7: usbnet0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000 link/ether de:fa:ce:be:ef:08 brd ff:ff:ff:ff:ff:ff Notice "state DOWN" networkctl -a shows this line: 7 usbnet0 ether no-carrier configuring (which is a little more than when not having the udev rule) nmcli device shows this line: usbnet0 ethernet unavailable -- The command ... dmesg | egrep 'eth|usbnet0|ax88179|link.*ready' ... shows ... [ 0.000000] psci: probing for conduit method from DT. [ 4.281896] mvneta d0030000.ethernet eth0: Using device tree mac address de:fa:ce:fa:ca:de [ 17.785161] mvneta d0030000.ethernet eth0: configuring for fixed/rgmii-id link mode [ 17.785225] mvneta d0030000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 17.797420] device eth0 entered promiscuous mode [ 18.480286] ax88179_178a 3-1.1:1.0 eth1: register 'ax88179_178a' at usb-d0058000.usb-1.1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:0e:c6:a3:d0:c6 [ 18.480614] usbcore: registered new interface driver ax88179_178a [ 20.583008] IPv6: ADDRCONF(NETDEV_UP): br0: link is not ready [ 20.889613] ax88179_178a 3-1.1:1.0 usbnet0: renamed from eth1 [ 21.366583] IPv6: ADDRCONF(NETDEV_UP): usbnet0: link is not ready [ 21.369227] IPv6: ADDRCONF(NETDEV_CHANGE): br0: link becomes ready [ 31.927910] IPv6: ADDRCONF(NETDEV_UP): usbnet0: link is not ready [ 146.550026] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready ... So as far as I can tell, it does not seem to work right out-of-the-box, and currently, I seem to have used up all my ideas on how it could be brought up. The USB3-hub seems to be detected. If I insert a USB2 SD/MMC card reader, the device shows up as /dev/sd?, so the USB3 hub seems to work just fine. The question is whether the USB3 hub might confuse the driver in Armbian, because as I understand it, the adapter without the USB3 hub work out-of-the-box (please confirm).
  10. Mini-PCIe is good a thing, you've got this one right! -But the specs need to be better on a SBC today. RockPro64 is doing things the right way; they pack the SBC with good specs while keeping the price as low as they can, resulting in a board with great specs, for a slightly higher price than the average boards (but it'll pay for the end-user to get this board rather than the lower priced ones). My personal priority list: PCIe2.0 or PCIe3.0 (x4 or more if possible). CPU-native 6G SATA (at least one port, but 3 ports would be very attractive) Low power consumption. GbE or faster (2.5GbE, 5GbE or even 10GbE) Choice of 1GB, 2GB or 4GB LPDDR3 or LPDDR4. Cortex-A57 or Cortex-A72 (or higher). HDMI 2.0a output (or better). Most casual users would expect to be able to use a SBC to play back video in very good quality.
  11. Sadly it's not affordable for me. I'll still have to wait at least 3 months until I can purchase one. -But as you might have read elsewhere, I do plan on getting a couple of MacchiatoBIN boards. Even if the CPU is 3 years old, it's still very capable, compared to those we get on other SBCs today. But for me, the hardware is just as important; high speed networking, lots of quick RAM, native SATA ports and PCIe 3.0 is something I very much need. The board is a robust high-quality board and I'd expect it to last longer than any of my current boards. I will need to get/create some electrical protection, as lightning is very frequent where I am located, in addition to the high > 260V spikes on the AC-net. (A CubieBoard2+PSU and a switch have already been fried recently, unfortunately I still have my server on the same fuse as the water heater and fridge and it'll have to stay there for a few more months).
  12. I guess I'm lucky to have two 1GB models, because they're likely faster than both the 2GB and 4GB models. I wonder why they didn't equip the 4GB model with heatsinks or cooling fans, so that we could see the max. speed (which is kinda what it's about). Some of us live on the south pole, some of us live on the equator; running the same benchmark in different locations will give different results unless making some basic temperature control...
  13. And that was exactly what I was missing! Now it seems my worst problem has passed. Thank you very much, @ebin-dev!
  14. Sorry, I was sloppy when I wrote the comment. What I meant was to cut them "inside" the adapter -eg. between the plugs. Thus I bet it should be possible to keep for instance CC1 and then put a 5K1 pull-down resistor on CC2 "inside" the adapter and then not connect CC2 to male-plug (which would connect to the RPi4).
  15. Yep. They have acknowledged it and said that they're fixing the problem for next revision which should be out in "less than two months" (they've probably already fixed the schematics and PCB-layout, but I guess actual production slow down things). As a workaround, wouldn't it be possible to disconnect CC1 or CC2 or both and then add the resistor inside an adapter-cable [USB-C female-to-male] ?
  16. Uhm, I might be wrong, but I was under the impression that you can configure the x1 PCIe slots as normal PCIe slots and then use a bunch of cheap dual or quad GbE or SATA cards on each of those ports. Is this not possible ? The Mining Expert board is supposed to be 'low power' (not that it's easy to get a PC to use very little power like under 5W), so the board itself shouldn't impact the electricity bill too much. (Yeh, we need a board based upon the BCM5871X, I think - a board using the CPU's full potential).
  17. I bought two EspressoBIN boards, hoping to use them as a router. But I'm quite disappointed with them. The worst thing about them is that they have 3 "GbE ports", which all share ONE GbE connection to the CPU. These 3 interfaces are all on a Topaz switch (eg. they're on the same port, and the board starts up in bridged mode until uboot changes the configuration. That's a problem if your board starts up and crashes before uboot is executed, then your network is open for attacks. What you want in a router is TWO separate GbE ports. You don't need a whole bunch of network ports. One way to achieve this with a board that already has one or more GbE connections is to use a USB3 GbE adapter (such as the Ugreen adapter already tested with Armbian). If you have the money, go for the MacchiatoBIN or the Clearfog products from Solid-Run. They're high quality products and quite capable! (I'm still saving up for the MacchiatoBIN myself). There are more interesting Marvell-based boards from Solid-Run; so you may not need to pull out the big wallet in order to get a real good router, which can also handle other tasks. Recently I purchased a TP-Link Archer C7 v5. On this wireless router, you can easily write OpenWRT onto it. It has a USB-host interface (forgot if it's USB2 or USB3), which is mainly thought of for connecting a printer, so the router also can act as a print-server. As far as I understand, one can also connect a harddisk via USB, but that's something I'd rather avoid. This is my personal opinion and experience: USB is too fragile for storage use. On the other hand, if you don't mind using an intel-processor, you could always go for a Mining Expert board and decorate it with a Pentium or Core-i3 in order to keep the power usage fairly down. Then you could freely choose between OpenWRT, Linux or pfSense... The Mining Expert board is around $45 I think.
  18. The DeLock products seem to be EOL, but on IOI's web-site it looks like they're still being manufactured. (The "Show/Hide More Phased out Products" button at the bottom of their page is a little misleading; it just lets you to view EOL products too).
  19. Just looked outside eBay; there seem to exist some, but I have not found any prices yet; I expect prices of those to be high, though. Update: It seems that DeLock already branded the IOI products, still no prices. EPCIE4XE1X40 (Bare PCB) EDH-4XE1X40 (High Profile) EDLP-4XE1X40 (Low Profile) I think this one might be a x4-to-two-x2 variant that you could use.
  20. That's very nice. Marvell's 923x is definitely what I'd go for myself, since it has built-in RAID support. -But I might consider moving to JMS591, because it supports FIS-based port multipliers, so one could go insane if needed... For me, the balance would probably be one x1 for network (4Gbps + 1 SBC-built-in GbE) and 3 for SATA. Additional GbE could still be attached via USB3 to get an additional max. 375MB/sec. I've also been thinking about using a 10GbE card, but two lanes are not much for 6G SATA. Half a year ago, I discarded the idea about purchasing a miner-motherboard for NAS purposes. The total power consumption is way too high for me (that's the real reason for me to use SBCs). A miner-motherboard setup could work just fine for those who do not care about the electricity bill, but then again why not just buy a SAN.
  21. Most of those I've seen (especially on eBay) are just single-lane (and have nothing to do with USB, other than using a USB-cable - so noone reading this should even attempt to connect a USB device to such a card - or you'll probably fry something - I wouldn't be surprised if the chinese also "invented" a "240VAC-to-USB converter adapter"...) I have not tried any of the miner-cards yet; If I do it, I'll likely get one of those that fans out to 3 or 4 full-size PCIe slots, but converting from Mini-PCIe to multiple full-size PCIe slots might require more Mickey Mousing. -I've actually been considering it for a while. =) My idea would be to take the earlier mentioned Mini-PCIe-to-fullsize-PCIe adapter card and then connect this single lane to a card like the one you mentioned. -Anyway, I think that some PCIe capable CPUs may allow you to pull out the lanes individually (this is only a guess). This guess is based upon that the CPU allows you to change the configuration between 1x4, 2x2 or 4x1. -If that's the case, I think you might not need the PCIe switch, but if the configuration is fixed as a x4, then you'd need the switch. As far as I understand, the RK3399 "Pro" has a fixed configuration, so a switch would be necessary. On the BCM5871X, it's possible to configure the PCIe to "whatever you wish", which is why I think a switch would not be necessary there. On eBay, so far I've only found PCIe x1-to-two-x1 or PCIe x1-to-four-x1. Those cards are both under the duty-free limit for Denmark. There's another x1-to-four-x1, but still kinda useless for us. I'm pretty sure these use PCIe switches to make this stuff work, I just wish they'd make a PCIe x4 variant. -Most miner boards only have a bunch of x1 slots, which is why all those only support x1. I have no idea if these x1 boards will be useful on a SBC. Maybe if you're only using one peripheral at a time. I'll try and ask ComputerSalg if they know of a x4-to-four-x1 card - they'd likely know if such a card exists.
  22. I was asking for the board (version) because there's difference between the first boards and the latest. As far as I understand, they fixed some of the erratic RAM behaviours, but the RAM may still be prone to EMI, so you may want to drop the board inside some metal-box to help stabilize it a little. That said, if your problem happened at the same point always, it's likely not some random EMI that causes it. I did have some problems with Xenial and in the beginning also Bionic, but now I seem to have a stable Bionic (the 5.75 image; eg. 4.19.20). Also make sure if you use SATA, that you do not use a cheap SATA-cable (eg. those that come with port multipliers). That's one point you certainly don't want to save a few bucks. 'reboot' seem to be more stable in Bionic, but it seems that after the board restarts, I sometimes still have to interrupt the boot at the timout-prompt and type 'reset' in order to get a proper hardware initialization. -Not much helpful information on your issue, but it's important to know the board version as it may make a big difference. =)
  23. I've had my eyes on that one too. Unfortunately, it'll probably take a couple of years before we have it in a SBC. The Raspberry Pi developers, they target mainstream. That means "VHS is better than Betamax", "Windows is an operating system and it's better than Unix", etc, etc. -They have the customers now and just like cellphones, people want to upgrade to the newest top-of-the-pop. [Had a few typos and thought it a shame wasting them: pos, poop]. -On the bright side, they still have four Cortex-A72 cores running at 1.5 GHz; so they should be able to do some work - and the GbE is also (at last) full speed; thus compared to EspressoBIN, it'd be quicker to use the RPi for building, except from that it does not have direct access to the harddisk array. I'd like to see a SBC with the BCM5871X, even though it's only Cortex-A57 and not Cortex-A76. It's very versatile, so perfect for a server rack - but it's likely also much more expensive than those CPUs we're used to. If we wait a little, maybe some chinese developers will mass produce a cheap PCB that can do it. Just like with the JMB321 and 575 port multipliers. Just found another interesting item; I don't know if I'll purchase those, but they seem to be real nice heatsinks for 2.5" drives. I'll likely go for 3 cages you mentioned earlier, then stuff with 15 Chieftec ATM-13225-RD in RAID1 configuration so I can make a RAID10 using BTRFS for the RAID0.
  24. Bummer. I've seen that Asmedia makes PCIe switches, but I don't know when someone will make a real affordable splitter (Linus Tech Tips did show one once, but it was expensive). The Raspberry Pi 4 B (1GB) cost £35 each, including shipping from the UK. The RockPro64 (4GB is what I want, so comparison isn't really fair) cost $80 + $12 shipping = $92 (around £72). Now multiply by 1.25 and [update: add DKK 160 (£19)], now you'll get around £109. -In my case, I had further discount on the RPi, so I paid only £33.25 each. In my case, I need both some storage-capable devices and some compute-power (build-farms). The Raspi 3B+ and 4 can netboot without any firmware modfication, which makes them quite neat for build-farms. I can make a power-controller, so they can be turned on when needed too. I just realized that I got way off-topic for this thread (sorry to everyone reading it; I hope that you'll benefit from our conversation anyway).
  25. Those power cables are much better than the 4-pin Molex! BTW, you probably got me hooked on those cages. I found a slightly lower price here. The sad thing about purchasing a RockPro64, is that I can get three Raspberry Pi 4B for the same price I would pay for the RockPro64. -But at some point, I will get a RockPro64 - I just wish it had a couple of native 6G SATA ports, but maybe I'll be able to split the PCIe into four x1 ports - do you know if that will actually work ? Uhm, wait a sec, that USB-C; does it work as a full USB3 in addition to the second USB3 ? -If so, then there are two USB3 ports, which could likely give me a total of 6 GbE in addition to the built-in GbE (resulting in up to 834 MB/sec throughput - let's say 800MB/sec). The PCIe2 x4 could then hold a SATA or SAS controller giving a max. raw throughput of 1.9GB/sec. This beats the EspressoBIN by several lengths (besides, RockPro64 is a much better design).
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines