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

    How to: Install 1.2.2 on ALIX with IDE HDD (obsolete)

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    30 Posts 18 Posters 32.0k 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.
    • M
      martin42
      last edited by

      Can you create a small "how to" to patch the pfSense kernel ?

      Here is a generic version for FreeBSD.  I've never tried rebuilding pfSense!

      cd /usr/src/sys/dev/ata

      fetch the patch, see http://www.freebsd.org/cgi/query-pr.cgi?pr=123980&cat=kern

      this version is for FreeBSD 7.1-RELEASE only!

      fetch http://net42.co.uk/downloads/ata-all.c.patch
      cp ata-all.c ata-all.c.original
      patch ata-all.c ata-all.c.patch
      cd /usr/src
      make KERNCONF=your_config buildkernel && make KERNCONF=your_config installkernel
      reboot

      where your_config is your favourite kernel config file in /usr/src/sys/i386/conf/your_config.  If you don't have your own favourite kernel config file, just miss out KERNCONF= completely, and the system will use /usr/src/sys/i386/conf/GENERIC as the config file.

      As for the rest of it…. I haven't completely followed the thread, but ad0 is the first PATA hard disk, and da0 is the first SATA or SCSI hard disk.  On some motherboards, SATA drives show as ad0 because the chipset emulates PATA anyway.

      If you're seeing da0 then most likely you have SATA, and so you might not need to slow down the DMA anyway, I don't know.  Certainly on my Soekris NET5501 boxes, the SATA works fine with default settings, and it's only PATA drives that have problems.

      Good luck!

      • Martin
      1 Reply Last reply Reply Quote 0
      • W
        wphyer
        last edited by

        @gfernandez:

        No way you can place a 2.5" hard drive inside a PC Engines enclosure (like the one i have), but you can in other enclosures like http://www.applianceshop.eu/index.php/alix-parts/parts/deciso-tiny-enclosure-1.html
        I don't think temperature could be an issue if you use the case as a heat sink.
        I will check the 4gb partition issue as soon a i get one of those 44 pin IDE cables.

        Yes way… I drilled and tapered the holes on the top cover. Picked up some M3 0.55mm tapered head screws. The screws sit flush, the drive mounts underneath the top cover. The drive fits perfectly inside. It doesn't touch anything. As for heat, there's hardly any. I would describe the drive as cool/warm to the touch.

        Check the photo... It can (and has) been done.

        -William

        alix_hdd.jpg
        alix_hdd.jpg_thumb

        1 Reply Last reply Reply Quote 0
        • AhnHELA
          AhnHEL
          last edited by

          I ran this HOW TO to install a IDE HD on my 2c2 with great success.  I recently bought a 2D3 and cant seem to get it to run using the same instructions and using a recent 1.2.3 snapshot from July.  Has something been changed in the recent snaps that would alter these instructions.  With the current instructions I get a spinning | after the Alix BIos text and then it just stops there.  ALIX Bios is .99h.  Using an older snapshot works on installing to the IDE drive but then I get boot errors once I upgrade to a recent snap.

          I was assuming that maybe since embedded kernels arent used anymore, since nanobsd seems to be the future of pfsense on embedded devices, that that's the reason why these instructions do not apply anymore.  Just looking for some kind of confirmation or explanation to my scenario.  Thanks in advance.

          AhnHEL (Angel)

          1 Reply Last reply Reply Quote 0
          • F
            FalconV
            last edited by

            This is a great walkthrough!  I followed it step-by-step for installing pfSense 1.2.3 RC1 onto a Seagate ST1 5GB MicroDrive in an Alix.2d3.  Problem is it doesn't work :/

            I don't know what's wrong :(  I followed MoBo's guide, and after I plug in the drive and boot up the Alix, it boots up to the point where it displays "Default: F1" and sits there.  I had a 4GB slice and installed pfSense to that (partitioned with * for / and 512MB for SWAP), and a 1GB slice formatted FreeBSD and left empty.

            Does anyone know what I'm doing wrong?  Or what else I should be checking?  I checked the BIOS and I'm pretty sure UDMA was disabled (it had (U) instead of U I'm pretty sure that means it's disabled).  I'll try 1.2.2 to see if it works, maybe like the previous poster suggested 1.2.3 RC1 won't work.

            1 Reply Last reply Reply Quote 0
            • J
              jaginus
              last edited by

              Hi,

              First of all, THANK YOU MoBo for the explanation. I just installed pfsense in my brand-new ALIX with HDD in a couple of hours (including cable soldering)…

              About FalconV problem, try to make ALIX "wait" for the HDD to get ready (setting W parameter on BIOS). Here is my BIOS config. pressing "S" while booting:

              PC Engines ALIX.2 v0.99h
              640 KB Base Memory

              261120 KB Extended Memory
              Waiting for HDD ...                <–- Try this

              01F0 Master 045A FUJITSU MHV2080AT                     
              Phys C/H/S 16383/16/63 Log C/H/S 9729/255/63 LBA

              BIOS setup:

              9 9600 baud (2) 19200 baud (3) 38400 baud (5) 57600 baud (1) 115200 baud
              C CHS mode (L) LBA mode W HDD wait (V) HDD slave (U) UDMA enable  <–- Configuring it HERE
              (M) MFGPT workaround
              (P) late PCI init
              R Serial console enable
              (E) PXE boot enable
              (X) Xmodem upload
              (Q) Quit

              Hope it helps.

              Jose

              1 Reply Last reply Reply Quote 0
              • F
                FalconV
                last edited by

                @jaginus:

                try to make ALIX "wait" for the HDD to get ready (setting W parameter on BIOS). Here is my BIOS config. pressing "S" while booting

                Thank you for the suggestion, Jose.  I did try this and it still hung at Default: F1

                I wanted to try 1.2.2 but I haven't been able to yet (family in town).  I'll give it a shot tomorrow.  If that doesn't work I'll dig up a 2.5" HDD and try it instead of the Micro Drive.

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

                  Hello,

                  I have another one to setup and will check my how to.
                  If you have any problem, will be the good time to ask ;o)

                  1 Reply Last reply Reply Quote 0
                  • C
                    ChacalCH
                    last edited by

                    I did everything as described, but it always shows the message "01F0 - no drive found !"
                    any idea?

                    i used the last RC, could this be the problem (installed on the 2.5'' HD with VMware)

                    kind regards

                    ChacalCH

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

                      @FalconV

                      The microdrive configuration is not the same as the HDD since the controller don't have the same… name ;o)

                      WHAT - on VMWare        - on ALIX
                      HDD - SCSI -> da0 - ad0  <- IDE

                      No idea about the controller name for microdrive… but I guess you will find it easily.
                      Try the same one as the original embedded version (flashcard) !

                      Don't forget to provide us a feedback ;o)

                      1 Reply Last reply Reply Quote 0
                      • O
                        ozanus
                        last edited by

                        Hello ,
                        I read all documant and use step by step .
                        I encountered error the following.

                        • http://www.cehturkiye.com/hpdiskerror.bmp

                        • http://www.cehturkiye.com/hperrordisk2.bmp

                        • http://www.cehturkiye.com/error.txt

                        What should I do for booting  ???

                        error.txt

                        1 Reply Last reply Reply Quote 0
                        • N
                          NoValidTitle
                          last edited by

                          @MoBO:

                          @FalconV

                          The microdrive configuration is not the same as the HDD since the controller don't have the same… name ;o)

                          WHAT - on VMWare        - on ALIX
                          HDD - SCSI -> da0 - ad0  <- IDE

                          No idea about the controller name for microdrive… but I guess you will find it easily.
                          Try the same one as the original embedded version (flashcard) !

                          Don't forget to provide us a feedback ;o)

                          I've been attempting what Falcon was doing so I will try and pick up where he left off and see what I can get going.

                          My ultimate goal is to get a full pfsense install running on an alix with a microdrive.

                          I've read of people having boot issues with microdrives in the CF slot but I honestly don't think it's related to the Microdrive itself and this is why I believe that… Before I bought the microdrive on ebay I was trying to get a full install running on a 256MB CF card (I'm aware that it could kill it, this was just testing to see if I COULD do it) I tried and tried but I couldn't get it to boot.

                          -The flash card boots the embedded image just fine.

                          -The flash card would NOT boot the full image on the Alix no matter what I tried. It would get hung at the Boot F1 prompt and just every second or 2 a # would pop up, if I pressed any key while consoled in it would just add a # for every keystroke.

                          -I used the VMWare method to install to the CF card.

                          -VMWare would boot both the embedded and full version when installed to the CF card but the Alix would only boot the embedded.

                          -I did edit the fstab to reflect the proper device on the alix which is ad0 even for the CF slot.

                          -When using the microdrive plugged into a CF reader on my PC VMWare boots it fine.

                          -Microdrive in the CF slot on the Alix with full pf install hangs at the Boot F1 just as the flash media does.

                          Ok so that's what I've done so far. The one thing I haven't tried, but will try tonight, is to install the embedded onto the microdrive just for grins and giggles to see if it boots. I don't believe this is an issue related to microdrives in general because I'm experiencing the same issue on a flash card.

                          1 Reply Last reply Reply Quote 0
                          • N
                            NoValidTitle
                            last edited by

                            Fail… the bios needed to be updated. Did that and it booted but now I'm getting stuck at the Trying to mount root deal. Time to do some searching!

                            1 Reply Last reply Reply Quote 0
                            • dotdashD
                              dotdash
                              last edited by

                              Some observations:
                              a) This thread is about installing 1.2.2, and the instructions work. Perhaps some of this discussion belongs elsewhere.
                              b) The embedded kernel output to serial by default, it is no longer available as an option in 1.2.3rcX. The standard kernel outputs to VGA. Have y'all tried enabling the serial console before putting the drive in the Alix?
                              c) The functionality of nano would seem to make this endeavor less rewarding than it may have been in the past.

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

                                @dotdash:

                                Some observations:
                                a) This thread is about installing 1.2.2, and the instructions work. Perhaps some of this discussion belongs elsewhere.
                                b) The embedded kernel output to serial by default, it is no longer available as an option in 1.2.3rcX. The standard kernel outputs to VGA. Have y'all tried enabling the serial console before putting the drive in the Alix?
                                c) The functionality of nano would seem to make this endeavor less rewarding than it may have been in the past.

                                Hmmm… strange since I'm on 1.2.3RC3 !
                                Actually I don't remember the version I installed but I did an "upgrade" since.
                                Maybe this a turn around.

                                My pfSense is working fine.
                                I will need to build a new one next week.  Will try and report the results.

                                1 Reply Last reply Reply Quote 0
                                • dotdashD
                                  dotdash
                                  last edited by

                                  @dotdash:

                                  b) The embedded kernel output to serial by default, it is no longer available as an option in 1.2.3rcX.

                                  I just saw from another thread, that strangely, the embedded kernel can be installed from the easy install, but not from the custom install. I missed that, as I haven't tried an easy install in some time. Perhaps it will get added back to the custom install.

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