• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Apu2 led control?

2.4 Development Snapshots
5
17
6.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X
    xbipin
    last edited by May 7, 2017, 4:00 PM

    but does zfs need 2 storage devices, i just have the msata inside it and no plans to add a second

    1 Reply Last reply Reply Quote 0
    • J
      Jailer
      last edited by May 7, 2017, 5:56 PM

      Nope.

      1 Reply Last reply Reply Quote 0
      • X
        xbipin
        last edited by May 7, 2017, 7:40 PM

        Well I don't run any package other than cron and I have the var and tmp in ram disk so what difference does it anyways make using ufs or zfs coz on power failure it isn't going to corrupt anyways right?

        For ppl using squid etc they would definitely benefit coz I had just one instance of a full install corrupting due to power failure

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by May 7, 2017, 11:03 PM

          @xbipin:

          Well I don't run any package other than cron and I have the var and tmp in ram disk so what difference does it anyways make using ufs or zfs coz on power failure it isn't going to corrupt anyways right?

          Actually, yes, it is going to corrupt. Most often corruption happens with /etc. UFS == junk.

          1 Reply Last reply Reply Quote 0
          • X
            xbipin
            last edited by May 8, 2017, 6:29 AM

            ok i formatted to ZFS now, i have the /tmp and /var in RAM disk, how do i check TRIM status? (/tmp /var shows using UFS when in RAM disk, and isnt SWAP supposed to be disabled, is this fine?)

            1 Reply Last reply Reply Quote 0
            • S
              steve_v Banned
              last edited by May 11, 2017, 9:39 AM

              2.4 running pretty smoothly on my APU2C4, with some (presumably benign) complaints from the bootloader:

              gptzfsboot: error 12 lba 32
              gptzfsboot: error 12 lba 7710712
              gptzfsboot: error 12 lba 1
              
              

              ZFS working nicely (bonus, a use for the  4GB of ECC RAM on this board), hopefully no more hosed filesystems…

              To return to the OT,  the led driver mentioned above works just fine in 2.4, as does gwled. Here's a precompiled .ko for the lazy.

              However...

              The current blinkled binary segfaults, at least for me. Anyone else getting this?

              apuled.ko.gz

              1 Reply Last reply Reply Quote 0
              • X
                xbipin
                last edited by May 11, 2017, 10:08 AM

                thanks for the info, could u kindly mention how to install this ko file or how to compile the one mentioned on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189772 as it seems perfect for the job?

                1 Reply Last reply Reply Quote 0
                • S
                  steve_v Banned
                  last edited by May 11, 2017, 11:11 AM May 11, 2017, 11:05 AM

                  @xbipin:

                  thanks for the info, could u kindly mention how to install this ko file or how to compile the one mentioned on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189772 as it seems perfect for the job?

                  Download the attached apuled.ko.gz (compiled for FreeBSD 11) and put it somewhere on your pfsense box (e.g. /root/), then:
                  Decompress```
                  gunzip apuled.ko.gz

                  Load```
                  kldload /root/apuled.ko
                  

                  You can then set the kldload command to run at startup.

                  There's probably a better way to include it in pfsense, but this lazy method works just fine. ;)

                  To compile it yourself:
                  Install FreeBSD (10 for pfsense 2.3.x, 11 for 2.4) in a VM.
                  Install the matching kernel sources.
                  Download and unpack apuled.tgz from the bug report (and optionally the updated apuled.c for APU3 support).
                  Run 'make' in the directory containing apuled.c and Makefile.
                  Rename produced 'apuled.o' to 'apuled.ko'.
                  Copy to pfsense and load as above.

                  1 Reply Last reply Reply Quote 0
                  • X
                    xbipin
                    last edited by May 11, 2017, 12:03 PM

                    for testing i copied the ko file to /boot/modules and then load it using loader.conf and it works fine.

                    i noticed the /dev/led folder has igb0-1, are those to disable the nic leds or something else?

                    1 Reply Last reply Reply Quote 0
                    • S
                      steve_v Banned
                      last edited by May 11, 2017, 12:16 PM

                      @xbipin:

                      are those to disable the nic leds

                      Control of NIC LEDs, yes. Handy as all-get-out for identifying ports.

                      1 Reply Last reply Reply Quote 0
                      • V
                        Veldkornet
                        last edited by Feb 8, 2018, 6:00 AM

                        I installed the driver, and that seems to be okay.

                        However I can’t get gwled or blinkled to start… is it just me?

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.