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

Can't get embedded image on CF

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
18 Posts 6 Posters 4.3k 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.
  • D
    doktornotor Banned
    last edited by Mar 30, 2014, 4:22 PM

    @TricBox:

    And maybe I have the wrong format on my card. What format should I be using. The cards came as FAT32.

    None. You should delete any partitions (e.g., using diskpart clean) if you are still having some whacky problems with writing.

    1 Reply Last reply Reply Quote 0
    • P
      phil.davis
      last edited by Mar 30, 2014, 5:48 PM

      My instructions for this are attached, cut down from my internal installation doc. This is a Word document, but I could not attach that, or PDF. I renamed it to .txt - youwill need to rename it to .doc to read it.

      pfSense-CF-card-write.txt

      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Mar 30, 2014, 6:40 PM

        What image are you using and what hardware are you trying to boot the CF card on?
        The errors you're seeing look like what happens if you try to boot an image that has DMA enabled in a slot that doesn't support it.

        Steve

        1 Reply Last reply Reply Quote 0
        • T
          TricBox
          last edited by Mar 31, 2014, 12:09 AM

          First I want to thank phil.davis for the instructions.  I believe I had success with the right, this time the boot got stuck in the beginning. So I figured I would post my hardware per Steve's suggestion maybe that is the problem.  I'm using: Intel D845GVSR motherboard with a Celeron D 2.8 processor. I'm using a SYBA/SD-CF-IDE-DI RTL adapter (Item 22-998-003 from Newegg) with a 4G CF card from Team (item 20-313-224 from Newegg).  I suppose if I cannot get it on the card I could just use the fard drive, but I was hoping to use a CF card. Thanks for all the help.

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Mar 31, 2014, 1:03 AM Mar 31, 2014, 12:55 AM

            I can't tell from the hardware specs. Read this for a description of the possible problem:
            http://www.fccps.cz/download/adv/frr/cf.html
            If you examine the adapter you should be able to see if the dma pins are connected.
            Are you using the nano+vga image?

            Steve

            Edit: No comments in the product reviews relating to dma problems.  :-\

            1 Reply Last reply Reply Quote 0
            • T
              TricBox
              last edited by Mar 31, 2014, 12:03 PM Mar 31, 2014, 2:48 AM

              I am using the nano+VGA image. Thanks for that link on c.f. cards and adapters.
              I'm going to go over my documentation and research my equipment.

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Mar 31, 2014, 8:00 AM Mar 31, 2014, 7:51 AM

                Last time I looked at it (admittedly a while ago!) the nano+vga image has DMA enabled where as the the nano (serial console) images have it disabled.
                It's easy enough to disable DMA once you've booted by editing loader.conf file but to get there you have to interrupt the boot process and feed it a kernel line to override the DMA option. I can't actually remember the incantation off hand….

                Edit: Interrupt the boot precess to get the boot loader prompt and try typing:

                set hw.ata.ata_dma="0"
                set hw.ata.wc="0"
                boot
                

                You may not need the write cache line but it won't hurt.

                Steve

                1 Reply Last reply Reply Quote 0
                • T
                  TricBox
                  last edited by Mar 31, 2014, 12:13 PM

                  Well I looked at the documents for the adapter and it states :Supports Directly Plugged into IDE Connector on the Motherboard Without an IDE Cable and Great for Linux-based set-top boxes, routers, firewalls, diskless network clients, industrial computers and any other device requiring rugged solid-state storage. I also believe it also stated it was UDMA. So I may have another CF card at home and will try that card too because I suppose it could be my card.

                  1 Reply Last reply Reply Quote 0
                  • T
                    TricBox
                    last edited by Mar 31, 2014, 1:56 PM

                    Now this may be a dumb question, but if the image actually made it onto the card, when you put in physdiskwrite -a will it still show the full amount of the card as available? I was thinking the image actually made it onto the card, but if all of the card is still available maybe not. Or would diskpart be better to verify image is written.

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Mar 31, 2014, 6:58 PM

                      It's possible the 4GB image is larger than your '4GB' card. Manufacturers like to give you less than you paid for, 4000MB for example. Usually physdiskwrite (or any image writing software) would show an error when the media is too small. To be sure that isn't an issue you can use the 2GB or 1GB image instead.

                      To check the card you need a program that can recognise UFS slices (partitions). I don't think diskpart or any Windows software has any UFS support. I'm not sure what you could use for that. Gparted maybe?  :-\ It has some limited support for UFS (detect only).

                      Maybe this: http://ufs2tools.sourceforge.net/
                      I've not tried that.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • T
                        TricBox
                        last edited by Apr 1, 2014, 2:47 AM

                        Thanks to all! Got the card embedded and it has booted.Cards have IP addresses. Now if only I can get to the webGUI then I would be in good shape. I may have an IP conflict. It is attached to my Verizon fios router with my LAN connected to a Unmanaged switch. But I can't get to the GUI. My pc doesn't get an address.Funny thing though, if I connect my computer back to my vz router and go to
                        192.168.1.1, it pulls up the vz sign on page with pfs symbol on the tab. I thought I could run pfs behind the vz router. I have another vz router configured to be a bridge, but since my network distributes tv I have small windows when people are not using the network so I wanted to test it out first before I remove the first vz router.

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Apr 1, 2014, 7:41 AM

                          Yep, sounds like both devices are using 192.18.1.1 for their LAN.
                          Change the pfSense LAN address/subnet to something else. Perhaps 192.168.10.1/24.

                          Steve

                          1 Reply Last reply Reply Quote 0
                          18 out of 18
                          • First post
                            18/18
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received