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

    Zotac CI323 Installation - Controller Failures

    Hardware
    13
    25
    10.4k
    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.
    • G
      grokdesigns
      last edited by

      @duren:

      Just tried the latest beta of pfSense 2.4 / FreeBSD 11 and the timeouts have gotten worse.

      Instead of there being 4, it's more like 10 now before it continues booting

      I was hoping with 2.4, they would have disappeared :/

      Not to resurrect an older thread, but I finally came across a solution that fixed this on 2.4 and wanted to document it here since this thread comes up when Googling this issue. Adding hw.sdhci.enable_msi=0 to /boot/loader.conf and hint.sdhci_pci.0.disabled="1" to /boot/device.hints got rid of the controller timeouts on boot in 2.4. I didn't try these directives one at a time, so you may not need both (another user said the line in device.hints didn't work, so maybe you only need the loader.conf one), but having both doesn't seem to cause any problems.

      Edit: After applying an update, my device.hints file got reset and the timeouts came back, so that's definitely the one that needs to be added.

      1 Reply Last reply Reply Quote 1
      • M
        Making_sense_of_pfSense
        last edited by

        @grokdesigns:

        […] Adding […] hint.sdhci_pci.0.disabled="1" to /boot/device.hints got rid of the controller timeouts on boot in 2.4.

        Thank you, you just helped me fix the same problem on my Zotac CI323 box!

        Running pfSense Community Edition 2.7.2 on a Qotom Mini PC.

        1 Reply Last reply Reply Quote 0
        • I
          IggyB
          last edited by

          Thanks
          I can confirm this fix works on 2.3.4

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Either of those files could be overwritten. Custom loader settings like that should go in /boot/loader.conf.local, create it if it doesn't exist.

            I can see no reason why both those setting wouldn't work in that file but it would be good to hear from someone with access to this hardware to confirm it.

            Steve

            1 Reply Last reply Reply Quote 0
            • D
              dlm274
              last edited by

              just to document, because i found this thread on google searching for the same problem:

              create the file /boot/loader.conf.local with following content:

              
              hw.sdhci.enable_msi=0
              hint.sdhci_pci.0.disabled=1
              hint.sdhci_pci.1.disabled=1
              
              

              That's update safe (tested on my own machine from today) and the second hint.sdhci is needed for the ZBOX CI327.

              Now everything works like a charm on the pfsense with this little beast. Tested with 500MBit uplink and OpenVPN (AES CPU-Hardwareaccellerator enabled) - no limitations.

              73 dlm274

              O 1 Reply Last reply Reply Quote 1
              • M
                mukpfsense
                last edited by

                @dlm274 said in Zotac CI323 Installation - Controller Failures:

                hw.sdhci.enable_msi=0
                hint.sdhci_pci.0.disabled=1
                hint.sdhci_pci.1.disabled=1

                Well, I tried setting these at option 3 at pfsense boot (ESC ) to loader prompt. No change. It still hangs at the same spot.

                1 Reply Last reply Reply Quote 0
                • M
                  mukpfsense
                  last edited by

                  @dlm274 said in Zotac CI323 Installation - Controller Failures:

                  just to document, because i found this thread on google searching for the same problem:
                  create the file /boot/loader.conf.local with following content:

                  hw.sdhci.enable_msi=0
                  hint.sdhci_pci.0.disabled=1
                  hint.sdhci_pci.1.disabled=1

                  Also probably important, this is happening on a MINIX NEO Z83-4

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    @ac0hen said in Zotac CI323 Installation - Controller Failures:

                    bsdlabel -B -r -w ada0s1 auto" command, it stops at 77% (every time).  Then a "ahcich1" Timeout on slot 21 port 0" and "(ada0:ahcich1:0:0:0):  CAM status: Command timeout

                    With that same error?

                    1 Reply Last reply Reply Quote 0
                    • D
                      drzow
                      last edited by

                      I am having the same issue on initial boot on a Minis / Besstar Z83-F, which is another one of these tiny Intel Cherry Trail boxes. Trying to do an initial install, I am using a memstick, option 3 to launch the boot loader, then I type in:

                      set hw.sdhci.enable_msi=0
                      set hint.sdhci_pci.0.disabled=1
                      set hint.sdhci_pci.1.disabled=1
                      boot
                      

                      and the kernel goes on its merry way, but I still end up hanging after the ppc0: cannot reserve I/O port range -- never actually get to the installer. Am I doing something wrong with setting the parameters?
                      Thanks!
                      Terry

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        The ppc0 (parallel port) error is common on many systems and should not prevent it booting.

                        What error are you seeing that makes you think you need to disable sdhci?

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • D
                          drzow
                          last edited by

                          Thanks Steve! Agreed that the ppc0 error isn't the actual problem, but rather the hang after it, which you thought was sdhci related in this other thread. It seems to be endemic to these Cherry Trail boards. Some other forums also indicated that it's the eMMC, which if memory serves is the same thing as sdhci.
                          Thanks!
                          Terry

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by stephenw10

                            Hmm, I thought there was a thread for the UP board here. It's probably worth looking through that if you have not already.

                            Edit: This maybe? https://forum.netgate.com/post/743676

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • D
                              drzow
                              last edited by

                              Ah-ha! Gave that a shot, but the Z83-F BIOS is just different enough from the UP boards that I couldn't get it to work. I was, however, able to uncover another lead that led me to this FreeBSD forum post, where it discusses the UARTs being the problem, so I:

                              set hint.uart.0.disabled="1"
                              set hint.uart.1.disabled="1"
                              

                              and the kernel now boots and the installer is running!!!

                              I really appreciate your persistence on this Steve!

                              Terry

                              1 Reply Last reply Reply Quote 2
                              • O
                                Orbixx @dlm274
                                last edited by

                                @dlm274 said in Zotac CI323 Installation - Controller Failures:

                                just to document, because i found this thread on google searching for the same problem:

                                create the file /boot/loader.conf.local with following content:

                                
                                hw.sdhci.enable_msi=0
                                hint.sdhci_pci.0.disabled=1
                                hint.sdhci_pci.1.disabled=1
                                
                                

                                That's update safe (tested on my own machine from today) and the second hint.sdhci is needed for the ZBOX CI327.

                                Now everything works like a charm on the pfsense with this little beast. Tested with 500MBit uplink and OpenVPN (AES CPU-Hardwareaccellerator enabled) - no limitations.

                                73 dlm274

                                Reviving the topic again one year later!

                                I was installing on a new Fitlet 2 recently as my old home pfSense device started powering off when it hit around the 45 degree Celsius temperature mark. I encountered the same problem with the SD card causing command timeouts and the above boot params solved the problem.

                                Netgate, do the contents of /boot/loader.conf.local get processed in the pfSense config backup/restore function? Or would I have to reconfigure this again manually if say my disk died and I had to replace it?

                                I assume the root cause of this issue would have to be handled upstream in FreeBSD? Doesn't seem specific to pfSense. Did anybody submit a bug report?

                                N 1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  The contents of loader.conf.local do not get added to the config file which is the only thing that is backed up by backup restore.
                                  I thought there was a bug open for this already....

                                  Steve

                                  O 1 Reply Last reply Reply Quote 0
                                  • N
                                    noconnor @Orbixx
                                    last edited by

                                    Thanks for mentioning the Fitlet, @Orbixx. I was just setting one up today and I'm optimistic this will be the solution to my issue too.

                                    1 Reply Last reply Reply Quote 1
                                    • O
                                      Orbixx @stephenw10
                                      last edited by

                                      @stephenw10 Upstream or within pfSense? I can't find a bug report specific to this in either place.

                                      I wonder if this will be fixed in 2.5 with the upgrade to FreeBSD 12.

                                      @noconnor Any luck?

                                      N 1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        I thought there was a single upstream eMMC controller bug in FreeBSD 11 that was triggering mist of these issues but I can't find it now. It may well be fixed in 12. Try a 2.5 snapshot and find out if you can.

                                        Steve

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          noconnor @Orbixx
                                          last edited by noconnor

                                          @Orbixx said in Zotac CI323 Installation - Controller Failures:

                                          @noconnor Any luck?

                                          I added those entries to /boot/loader.conf.local and that has definitely bypassed the boot issues. I did try adding those elements to System > Advanced > System Tunables (for config backup) but couldn't get that to work. I'm pretty sure that was a just me entering them wrong.

                                          I haven't tried moving over to a 2.5 version yet to see if that makes a difference.

                                          edit:
                                          Actually, reading the docs for System Tunables, it looks like I was mistaken and those values (Loader Tunables) are not applicable to System Tunables.

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S stephenw10 referenced this topic on
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.