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

Alix 1.2.3 nanobsd-4 to 2.0-upgrade failed

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
9 Posts 3 Posters 4.5k 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.
  • U
    UnderCover
    last edited by Mar 19, 2011, 10:04 PM Mar 19, 2011, 9:09 PM

    I tried upgrading my 1.2.3 nanobsd image (4gb) on my alix box and after a while the upgrade failed and returned this in the upgrade log

    Misc log:

    mount: /dev/ufs/pfsense1 : Operation not permitted
    cp: /tmp/pfsense1/etc/fstab: No such file or directory
    sed: /tmp/pfsense1/etc/fstab: No such file or directory
    umount: /tmp/pfsense1: not a file system root directory

    fdisk/bsdlabel log:

    i used the following image to upgrade pfSense-2.0-RC1-4g-i386-20110226-1633-nanobsd-upgrade.img

    UPDATED:

    I am going to try the following image to see if it makes any difference: pfSense-2.0-RC1-4g-i386-20110226-1633-nanobsd.img.gz

    1 Reply Last reply Reply Quote 0
    • U
      UnderCover
      last edited by Mar 20, 2011, 3:52 AM

      the full update did not work either nor did the most recent snapshot

      1 Reply Last reply Reply Quote 0
      • U
        UnderCover
        last edited by Mar 20, 2011, 5:38 PM

        i tried a console upgrade and it just keeps displaying …. on the screen

        1 Reply Last reply Reply Quote 0
        • P
          psgandalf
          last edited by Mar 20, 2011, 7:59 PM

          I had the same problem. I did a backup and installed the non upgrade to the CF. Start, skip wizard and restore.
          With the RC1 I am able to invoke auto upgrade. I have done two upgrades to  latest snapshot without any
          problem.

          1 Reply Last reply Reply Quote 0
          • U
            UnderCover
            last edited by Mar 20, 2011, 8:55 PM

            I do not have physical access to the box

            Any other suggestions?

            1 Reply Last reply Reply Quote 0
            • U
              UnderCover
              last edited by Mar 24, 2011, 1:29 PM

              posted a ticket about this

              http://redmine.pfsense.org/issues/1377

              1 Reply Last reply Reply Quote 0
              • U
                UnderCover
                last edited by Mar 26, 2011, 2:40 AM Mar 26, 2011, 2:24 AM

                ran the following command in the console and tried upgrading to the 2.0 nanobsd 4gb rc1

                tail -f /cf/conf/upgrade_log.txt

                results:

                
                NanoBSD Firmware upgrade in progress...
                
                Broadcast Message from root@[hidden]
                        (no tty) at 22:19 EDT...
                
                NanoBSD Firmware upgrade in progress...
                
                Installing /root/firmware.tgz.
                
                Broadcast Message from root@[hidden]
                        (no tty) at 22:19 EDT...
                
                Installing /root/firmware.tgz.
                
                SLICE 2
                OLDSLICE 1
                TOFLASH ad0s2
                COMPLETE_PATH ad0s2a
                GLABEL_SLICE pfsense1
                Fri Mar 25 22:19:26 EDT 2011
                
                total 7
                dr-xr-xr-x   7 root   wheel          512 Feb 18 11:30 .
                drwxr-xr-x  23 root   wheel          512 Feb 18 11:30 ..
                crw-r-----   1 root   operator    0,  63 Feb 18 11:33 ad0
                crw-r-----   1 root   operator    0,  65 Feb 18 11:33 ad0s1
                crw-r-----   1 root   operator    0,  68 Feb 18 11:33 ad0s1a
                crw-r-----   1 root   operator    0,  69 Feb 18 11:33 ad0s1c
                crw-r-----   1 root   operator    0,  66 Mar 21 17:13 ad0s2
                crw-r-----   1 root   operator    0, 123 Mar 21 17:13 ad0s2a
                crw-r-----   1 root   operator    0, 124 Feb 18 11:33 ad0s2c
                crw-r-----   1 root   operator    0,  67 Feb 18 11:33 ad0s3
                crw-------   1 root   operator    0,  25 Feb 18 11:33 ata
                crw-------   1 root   wheel       0,  72 Feb 18 11:30 bpf0
                crw-------   1 root   wheel       0,  74 Feb 18 11:30 bpf1
                crw-------   1 root   wheel       0,  83 Feb 18 11:33 bpf2
                crw-------   1 root   wheel       0,  88 Mar 25 20:25 bpf3
                crw-------   1 root   tty         0,  10 Mar 25 22:19 console
                crw-rw-rw-   1 root   wheel       0,  51 Feb 18 11:30 crypto
                crw-rw-rw-   1 root   wheel       0,  11 Feb 18 11:33 ctty
                crw-rw----   1 uucp   dialer      0,  41 Feb 18 11:33 cuad0
                crw-rw----   1 uucp   dialer      0,  42 Feb 18 11:33 cuad0.init
                crw-rw----   1 uucp   dialer      0,  43 Feb 18 11:33 cuad0.lock
                crw-rw----   1 uucp   dialer      0,  47 Feb 18 11:33 cuad1
                crw-rw----   1 uucp   dialer      0,  48 Feb 18 11:33 cuad1.init
                crw-rw----   1 uucp   dialer      0,  49 Feb 18 11:33 cuad1.lock
                crw-------   1 root   wheel       0,   5 Feb 18 11:33 devctl
                cr--------   1 root   wheel       0,  62 Feb 18 11:33 devstat
                dr-xr-xr-x   2 root   wheel          512 Feb 18 11:33 fd
                crw-------   1 root   wheel       0,  12 Feb 18 11:33 fido
                crw-r-----   1 root   operator    0,   4 Feb 18 11:33 geom.ctl
                crw-------   1 root   wheel       0,  22 Feb 18 11:33 io
                crw-------   1 root   wheel       0,   7 Feb 18 11:33 klog
                crw-r-----   1 root   kmem        0,  21 Feb 18 11:33 kmem
                dr-xr-xr-x   2 root   wheel          512 Feb 18 11:33 led
                crw-r-----   1 root   operator    0,  81 Feb 18 11:30 md0
                crw-r-----   1 root   operator    0,  82 Feb 18 11:30 md1
                crw-------   1 root   wheel       0,  61 Feb 18 11:33 mdctl
                crw-r-----   1 root   kmem        0,  20 Feb 18 11:30 mem
                dr-xr-xr-x   2 root   wheel          512 Feb 18 11:33 net
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net1 -> net/vr0
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net10 -> net/ng2
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net11 -> net/ng3
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net12 -> net/ng4
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net13 -> net/ng5
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net14 -> net/ng6
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net15 -> net/ng7
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net16 -> net/ng8
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net17 -> net/ng9
                lrwxr-xr-x   1 root   wheel            8 Feb 18 11:33 net18 -> net/ng10
                lrwxr-xr-x   1 root   wheel            8 Feb 18 11:33 net19 -> net/ng11
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net2 -> net/vr1
                lrwxr-xr-x   1 root   wheel            8 Feb 18 11:33 net20 -> net/ng12
                lrwxr-xr-x   1 root   wheel            8 Feb 18 11:33 net21 -> net/ng13
                lrwxr-xr-x   1 root   wheel            8 Feb 18 11:33 net22 -> net/ng14
                lrwxr-xr-x   1 root   wheel            8 Feb 18 11:33 net23 -> net/ng15
                lrwxr-xr-x   1 root   wheel            8 Feb 18 11:33 net24 -> net/ng16
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net3 -> net/vr2
                lrwxr-xr-x   1 root   wheel            8 Feb 18 11:33 net4 -> net/enc0
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net5 -> net/lo0
                lrwxr-xr-x   1 root   wheel           11 Feb 18 11:33 net6 -> net/pfsync0
                lrwxr-xr-x   1 root   wheel           10 Feb 18 11:33 net7 -> net/pflog0
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net8 -> net/ng0
                lrwxr-xr-x   1 root   wheel            7 Feb 18 11:33 net9 -> net/ng1
                crw-------   1 root   wheel       0,   3 Feb 18 11:33 network
                crw-------   1 root   wheel       0,  50 Feb 18 11:33 nfs4
                crw-------   1 root   kmem        0,  13 Feb 18 11:33 nfslock
                crw-rw-rw-   1 root   wheel       0,  23 Mar 25 22:19 null
                crw-r--r--   1 root   wheel       0,   6 Feb 18 11:33 pci
                crw-rw----   1 proxy  proxy       0,  52 Feb 18 11:33 pf
                crw-rw-rw-   1 root   wheel       0, 126 Mar 25 22:09 ptyp0
                crw-rw-rw-   1 root   wheel       0,   8 Feb 18 11:30 random
                lrwxr-xr-x   1 root   wheel            4 Feb 18 11:33 stderr -> fd/2
                lrwxr-xr-x   1 root   wheel            4 Feb 18 11:33 stdin -> fd/0
                lrwxr-xr-x   1 root   wheel            4 Feb 18 11:33 stdout -> fd/1
                crw-------   1 root   wheel       0,  38 Feb 18 11:33 ttyd0
                crw-------   1 root   wheel       0,  39 Feb 18 11:33 ttyd0.init
                crw-------   1 root   wheel       0,  40 Feb 18 11:33 ttyd0.lock
                crw-------   1 root   wheel       0,  44 Feb 18 11:33 ttyd1
                crw-------   1 root   wheel       0,  45 Feb 18 11:33 ttyd1.init
                crw-------   1 root   wheel       0,  46 Feb 18 11:33 ttyd1.lock
                crw-rw-rw-   1 root   wheel       0, 127 Mar 25 22:08 ttyp0
                dr-xr-xr-x   2 root   wheel          512 Feb 18 11:33 ufs
                dr-xr-xr-x   2 root   wheel          512 Feb 18 11:33 ufsid
                lrwxr-xr-x   1 root   wheel            6 Feb 18 11:33 urandom -> random
                crw-rw----   1 root   operator    0,  36 Feb 18 11:33 usb
                crw-rw----   1 root   operator    0,  35 Feb 18 11:33 usb0
                crw-rw----   1 root   operator    0,  37 Feb 18 11:33 usb1
                crw-------   1 root   operator    0,  64 Feb 18 11:33 xpt0
                crw-rw-rw-   1 root   wheel       0,  24 Feb 18 11:33 zero
                
                -rw-------  1 root  wheel    66M Mar 25 22:18 /root/firmware.tgz
                
                MD5 (/root/firmware.tgz) = b16d11dec26a2c308b3ff48553ee6982
                
                /dev/ufs/pfsense1 on / (ufs, local)
                devfs on /dev (devfs, local)
                /dev/md0 on /var/tmp (ufs, local)
                /dev/md1 on /var (ufs, local)
                /dev/ufs/cf on /cf (ufs, local)
                devfs on /var/dhcpd/dev (devfs, local)
                
                last pid: 58161;  load averages:  1.92,  0.98,  0.49  up 35+09:46:44    22:19:30
                40 processes:  1 running, 37 sleeping, 2 zombie
                
                Mem: 64M Active, 108M Inact, 30M Wired, 5008K Cache, 34M Buf, 31M Free
                Swap:
                
                  PID USERNAME  THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
                 1371 root        1   8   20  8612K  6424K wait   401:28  0.00% sh
                17265 nobody      1  44    0  3156K  1320K select  38:27  0.00% dnsmasq
                  482 root        1  44    0  3268K  1036K select  13:07  0.00% syslogd
                  711 root        1   4    0 23692K 21692K kqread   7:31  0.00% lighttpd
                  507 root        1  -8    0  3156K   696K piperd   5:13  0.00% logger
                  506 root        1 -58    0  8788K  6064K bpf      4:30  0.00% tcpdump
                28795 root        1  44    0  7140K  5480K select   3:13  0.00% bsnmpd
                15519 root        1  44    0  5736K  3120K select   1:39  0.00% racoon
                 1148 root        1  44    0  3188K  1080K select   1:27  0.00% miniupnpd
                17290 dhcpd       1  44    0  3156K  2120K select   0:52  0.00% dhcpd
                  379 _dhcp       1  44    0  3156K  1228K select   0:38  0.00% dhclient
                  729 root        1   4    0 45832K 15512K sbwait   0:34  0.00% php
                  460 _dhcp       1  44    0  3156K  1228K select   0:30  0.00% dhclient
                  719 root        1   4    0 43784K 13512K accept   0:29  0.00% php
                  598 root        1  44    0  3268K  1344K select   0:29  0.00% inetd
                46507 _ntp        1  44    0  3156K  1180K select   0:28  0.00% ntpd
                 1154 root        1   8    0  3240K  1228K nanslp   0:21  0.00% cron
                  388 root        1  44    0  5064K  2312K select   0:15  0.00% sshd
                
                NanoBSD upgrade starting
                
                dd if=/dev/zero of=/dev/ad0s2 bs=1m count=1
                1+0 records in
                1+0 records out
                1048576 bytes transferred in 0.470123 secs (2230430 bytes/sec)
                
                /usr/bin/gzip -dc /root/firmware.tgz | /bin/dd of=/dev/ad0s2 obs=64k
                
                3860985+1049 records in
                30168+1 records out
                1977131520 bytes transferred in 909.923640 secs (2172854 bytes/sec)
                After upgrade fdisk/bsdlabel
                
                /sbin/fsck_ufs -y /dev/ad0s2a
                ** /dev/ad0s2a
                ** Last Mounted on /tmp/builder/_.mnt
                ** Phase 1 - Check Blocks and Sizes
                ** Phase 2 - Check Pathnames
                ** Phase 3 - Check Connectivity
                ** Phase 4 - Check Reference Counts
                ** Phase 5 - Check Cyl groups
                5912 files, 279205 used, 3517959 free (639 frags, 439665 blocks, 0.0% fragmentation)
                
                /sbin/tunefs -L pfsense1 /dev/ad0s2a
                
                
                1 Reply Last reply Reply Quote 0
                • I
                  Itwerx
                  last edited by Mar 27, 2011, 8:48 PM

                  Looks like it just hangs at tune2fs then?  Or was the log cut off?  (Or was it successful?  Enquiring minds want to know!  :)  - Thx!

                  1 Reply Last reply Reply Quote 0
                  • U
                    UnderCover
                    last edited by Mar 27, 2011, 10:53 PM

                    that is far as it gets then the upgrade fails

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