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

Alix2d3 - can't upgrade from 2.1_RC0 to RC1

Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
33 Posts 8 Posters 6.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.
  • L
    louis-m
    last edited by Aug 4, 2013, 10:06 PM

    For some strange reason, I can't update from 2.1 RC0 to 2.1 RC1 4g nano

    I've got all sorts going on. DHCP & NTP service keep failing with out of swap space.
    The upgrade just fails complaining "something went wrong with fstab"

    I rebooted after trying an upgrade and it failed so I had to switch slices.
    Copying the good slice back to the failed slice results in:
    Warning: file_put_contents(/tmp/pfsense1/etc/fstab): failed to open stream: No such file or directory in /etc/inc/pfsense-utils.inc on line 2132

    which again is something related to an entry in fstab.

    anybody any idea?

    1 Reply Last reply Reply Quote 0
    • D
      doktornotor Banned
      last edited by Aug 4, 2013, 10:50 PM

      Bad CF card?

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by Aug 5, 2013, 12:04 AM

        I have upgraded about 10 of these, and all are working on a recent 2.1-RC1 snapshot. It does sound like a CF card issue.

        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
        • L
          louis-m
          last edited by Aug 5, 2013, 5:23 AM

          not sure about that. it's an industrial cf card that's in it and only had about 2 years worth of use.
          is there any way to check?

          1 Reply Last reply Reply Quote 0
          • L
            louis-m
            last edited by Aug 5, 2013, 4:40 PM

            can i run fsck on the card?

            1 Reply Last reply Reply Quote 0
            • W
              wallabybob
              last edited by Aug 6, 2013, 5:27 AM

              I suggest you execute the following shell command on the pfSense console:```
              dd if=/dev/ad0 of=/dev/null

              1 Reply Last reply Reply Quote 0
              • L
                louis-m
                last edited by Aug 6, 2013, 6:30 AM

                ok. did that and it comes back with:

                8211168+0 records in
                8211168+0 records out
                4204118016 bytes transferred in 2223.790851 secs (1890519 bytes/sec)

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by Aug 6, 2013, 6:36 AM

                  The really great thing about this little flash drives is they are so cheap that when one crashes you can toss it and replace it with no great financial burden.

                  1 Reply Last reply Reply Quote 0
                  • W
                    wallabybob
                    last edited by Aug 6, 2013, 8:15 AM

                    @louis-m:

                    ok. did that and it comes back with:

                    If there were no errors reported on the console or in the system log the flash card is probably ok and I would guess you were probably hit by a file system error which is now lost because the slice was overwritten.

                    1 Reply Last reply Reply Quote 0
                    • L
                      louis-m
                      last edited by Aug 6, 2013, 2:28 PM

                      Does that mean I can duplicate the good slice I'm currently on to the one that didn't boot before and then try another upgrade?

                      1 Reply Last reply Reply Quote 0
                      • D
                        doktornotor Banned
                        last edited by Aug 6, 2013, 2:35 PM

                        Try and see for yourself? Otherwise, don't get me wrong, but a new CF card costs $16.

                        1 Reply Last reply Reply Quote 0
                        • K
                          kejianshi
                          last edited by Aug 6, 2013, 2:45 PM Aug 6, 2013, 2:44 PM

                          $16 is really abit pricey…

                          On E-Bay you can get them for anywhere between $(We will actually pay you to take our stuff) - $6

                          Apparently, somewhere in China there is a factory where the workers actually must pay for the honour of making CF cards to give away....

                          1 Reply Last reply Reply Quote 0
                          • D
                            doktornotor Banned
                            last edited by Aug 6, 2013, 3:01 PM

                            @kejianshi:

                            $16 is really abit pricey…

                            I'd rather get the "abit pricey" original CF card which is tested to work with the board, notably with UDMA-100, rather that getting random fake crap from eBay. Not really worth saving the price of 1-2 Big Macs.

                            1 Reply Last reply Reply Quote 0
                            • K
                              kejianshi
                              last edited by Aug 6, 2013, 3:09 PM

                              Ummmm.  Burgers.  OK.  $16

                              1 Reply Last reply Reply Quote 0
                              • L
                                louis-m
                                last edited by Aug 6, 2013, 4:12 PM

                                an industrial grade 4gb cf card ain't that cheap.

                                1 Reply Last reply Reply Quote 0
                                • K
                                  kejianshi
                                  last edited by Aug 6, 2013, 4:30 PM

                                  "Industrial Grade" isn't a spec, although sellers like you to think it is.

                                  I would look at actual specs like MTTF, read rate, write rate, number of rewrite cycles it will endure, operating temp etc and go by things like that.
                                  You might come out cheaper and just as reliable.

                                  I've never ever, not even once had a flash media actually fail me EXCEPT when I didn't realize the problem with running journaling file systems on a NAND media and so crashed 2 with frequent writes.  I also quickly learned that once you have screwed a flash drive, toss it.  You can't trust it any more.

                                  I'd buy a new one.

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    louis-m
                                    last edited by Aug 6, 2013, 4:40 PM

                                    And here is the error I get when duplicating the slice:

                                    Warning: file_put_contents(/tmp/pfsense1/etc/fstab): failed to open stream: No such file or directory in /etc/inc/pfsense-utils.inc on line 2132

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      doktornotor Banned
                                      last edited by Aug 6, 2013, 4:42 PM

                                      Well… then you clearly cannot duplicate the slice. Time to move on, don't you think?

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jimp Rebel Alliance Developer Netgate
                                        last edited by Aug 6, 2013, 7:36 PM

                                        There is likely more to the errors farther inside of the upgrade log.

                                        try to upgrade again, then go to Diag > NanoBSD and view the full upgrade log, and post it.

                                        You'll also see errors like that when your CF is perfectly good but it was imaged with an "-upgrade" .img initially rather than an actual full NanoBSD .img file.

                                        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!

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          edmund
                                          last edited by Aug 6, 2013, 7:39 PM

                                          Have you tried removing all the packages from the installation?  I assume that the V2 release is much larger than the older V1 release because I've found that AVAHI will not build under 2.0 and the traffic shaper crashes under 2.0.  If 2.1 doesn't fix these issues then it's probably time to toss the nano version.

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