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

    mfi0: I/O error as soon as the installation starts, need to use mrsas driver instead mfi, how to do that please?

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    12 Posts 3 Posters 1.7k Views
    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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      When it first boots pick the menu option for a loader prompt and then enter:

      set hw.mfi.mrsas_enable="1"
      

      If that works, then on the first boot post install do that again at the loader prompt, and then once it's up and running, add it into /boot/loader.conf.local:

      hw.mfi.mrsas_enable="1"
      

      See also:
      https://docs.netgate.com/pfsense/en/latest/config/advanced-tunables.html#managing-loader-tunables

      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      E 1 Reply Last reply Reply Quote 0
      • E
        Elrick75 @jimp
        last edited by

        @jimp said in mfi0: I/O error as soon as the installation starts, need to use mrsas driver instead mfi, how to do that please?:

        loader prompt

        You go too fast for me... really too fast ;)
        How to pick the menu option for a loader prompt ? what key ? does i need to select number ? when i have a prompt, how to continu the installation process ?

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          When it first boots there will be a menu with the "pf" logo and a list of numbered options. One of those is Escape to loader prompt, likely option 3.

          Before the timer expires and it continues booting, you have to press the number for that menu option to get to the loader prompt.

          N.B. you can press the space bar to pause the boot timer at the menu to give yourself more time.

          Once you get to the loader prompt, enter the following:

          set hw.mfi.mrsas_enable="1"
          boot
          

          It should boot into the installer and then continue as usual.

          If that works, on the next boot you need to do the loader menu and those commands again.

          Then once it's up and running the rest of the way you need to follow the instructions on the link in my last reply to make that setting happen automatically for future boot attempts.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          E 1 Reply Last reply Reply Quote 0
          • E
            Elrick75 @jimp
            last edited by

            @jimp Thanks... so i confirm that the command hw.mfi.mrsas_enable="1" is working to make installation
            After installation, I rebooted the hard disk and performed the same operation.
            What should I do to add it into /boot/loader.conf.local ?

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

              You can run the command:

              echo 'hw.mfi.mrsas_enable="1"' >> /boot/loader.conf.local
              
              E 1 Reply Last reply Reply Quote 0
              • E
                Elrick75 @stephenw10
                last edited by Elrick75

                @stephenw10 and @jimp
                Hi

                I add the command echo 'hw.mfi.mrsas_enable="1"' >> /boot/loader.conf.local but when i go into pfsense webinterface and try to load /boot/loader.conf.local > It answer me that the file does not exit, why ?
                i tried to install some package and i see some error message related to mfi .... i think that it doesn't take hw.mfi.mrsas_enable="1"
                How can I set this information on the first startup of pfsense after installation?
                I would like to make this change before the first startup, before accessing the management interface... to avoid any data corruption.

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

                  @Elrick75 said in mfi0: I/O error as soon as the installation starts, need to use mrsas driver instead mfi, how to do that please?:

                  I add the command

                  What did you add? Where?

                  That command I gave is something to run at the command prompt. Running it will add set hw.mfi.mrsas_enable="1" to /boot/loader.conf.local.

                  E 1 Reply Last reply Reply Quote 0
                  • E
                    Elrick75 @stephenw10
                    last edited by Elrick75

                    @stephenw10 I add the command echo 'hw.mfi.mrsas_enable="1"' >> /boot/loader.conf.local on choice number 3 (Escapte to loader prompt).
                    But when i go to web interface and i try to load the file, it doesn't exist ๐Ÿ˜•

                    23fe3f36-6613-48f4-a839-4a6cfc4c81ce-image.png

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

                      That's the loader prompt. You need to run that command at the command line once it's booted.

                      E 1 Reply Last reply Reply Quote 0
                      • E
                        Elrick75 @stephenw10
                        last edited by Elrick75

                        @stephenw10 Just to be sure to understand.
                        Here i enter only set hw.mfi.mrsas_enable="1" and boot.
                        After booting it ask to me setup VLAN etc... that's here where i enter the command echo 'hw.mfi.mrsas_enable="1"' >> /boot/loader.conf.local ?

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

                          Where it asks you about VLANs is the interfaces assign prompt. You should complete that and assign WAN and LAN. When boot completes you will see the console menu like:

                           *** Welcome to pfSense 2.7.2-RELEASE (amd64) on t70 ***
                          
                           WAN (wan)       -> igb0       -> v4/DHCP4: 172.21.16.226/24
                           LAN (lan)       -> igb1       -> v4: 192.168.226.1/24
                          
                           0) Logout (SSH only)                  9) pfTop
                           1) Assign Interfaces                 10) Filter Logs
                           2) Set interface(s) IP address       11) Restart webConfigurator
                           3) Reset webConfigurator password    12) PHP shell + pfSense tools
                           4) Reset to factory defaults         13) Update from console
                           5) Reboot system                     14) Disable Secure Shell (sshd)
                           6) Halt system                       15) Restore recent configuration
                           7) Ping host                         16) Restart PHP-FPM
                           8) Shell
                          
                          Enter an option: 
                          

                          Enter option 8 there to reach the command line. Then run the command there.

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