OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: pjdouillard on February 26, 2019, 03:04:03 am

Title: [Solved] Opnsense 19.1 on Pc Engine APU4C4 fails on mSata but works on SD card
Post by: pjdouillard on February 26, 2019, 03:04:03 am
I am trying to install Opnsense 19.1 on my Pc Engine APU but it failed while copying the file on the 60GB mSATA drive.
At first I thought the mSATA was bad - I had issues with pfSense too last year - and replaced it with a newer 120GB SanDisk today. Same result. 

Here's the error I get:
BSD Installer started                                                    ▒
  │ [Thu Nov 30 01:37:12 2017]                                               ▒
  │ DFUI connection on npipe:installer successfully established              ▒
  │ ,- opened pty to '/sbin/sysctl -n hw.physmem'                            ▒
  │ < 4239560704                                                             ▒
  │ `- closed pty to '/sbin/sysctl -n hw.physmem'                            ▒
  │ `/sbin/sysctl -n hw.physmem` returned: 4239560704                        ▒
  │ ,- opened pty to '/sbin/sysctl -n kern.disks'                            ▒
  │ < da0 ada0                                                               ▒
  │ `- closed pty to '/sbin/sysctl -n kern.disks'                            ▒
  │ `/sbin/sysctl -n kern.disks` returned: da0 ada0                          ▒
  │ Testing da0                                                              ▒
  │ Invoking survey for da0                                                  ▒
  │ Surveying Disk: da0 ...                                                  ▒
  │ ,- opened pty to '/sbin/fdisk da0'                                       ▒
  │ < ******* Working on device /dev/da0 *******                             ▒
  │ < parameters extracted from in-core disklabel are:                       ▒
  │ < cylinders=1881 heads=255 sectors/track=63 (16065 blks/cyl)             ▒
  │ <                                                                        ▒
  │ < Figures below won't work with BIOS for partitions not in cyl 1         ▒
  │ < parameters to be used for BIOS calculations are:               
`->>> Exit status: 0                                                     ▒
  │ ,-<<< Executing `/bin/mkdir -p /mnt/usr/'                                ▒
  │ `->>> Exit status: 0                                                     ▒
  │ ,-<<< Executing `/bin/mkdir -p /mnt/usr/'                                ▒
  │ `->>> Exit status: 0                                                     ▒
  │ ,-<<< Executing `/usr/local/bin/cpdup -vvv -o /usr/libdata               ▒
  │ /mnt/usr/libdata'                                                        ▒
  │ `->>> Exit status: 0                                                     ▒
  │ ,-<<< Executing `/bin/mkdir -p /mnt/usr/'                                ▒
  │ `->>> Exit status: 0                                                     ▒
  │ ,-<<< Executing `/usr/local/bin/cpdup -vvv -o /usr/libexec               ▒
  │ /mnt/usr/libexec'                                                        ▒
  │ `->>> Exit status: 0                                                     ▒
  │ ,-<<< Executing `/bin/mkdir -p /mnt/usr/'                                ▒
  │ `->>> Exit status: 0                                                     ▒
  │ ,-<<< Executing `/usr/local/bin/cpdup -vvv -o /usr/local                 ▒
  │ /mnt/usr/local'                                                          ▒
  │ [Thu Nov 30 01:56:02 2017]                                               ▒
  │ `->>> Exit status: 1                   

Strangely, when I switch to a SD card instead of a mSATA, the installation completes and I can configure and do everything with the firewall and it works like a charm.

But I would prefer to use the mSATA.

Can anyone help?

Thx
P.J
Title: Re: Installation of 19.1 on Pc Engine APU4C4 fails on mSata but works on SD card
Post by: newsense on February 26, 2019, 03:48:19 am
Are you using the correct slot on the board ? It must be the one labeled mSata - it's written on the board.

Also, I'd highly recommend you upgrade the BIOS on the board, check out the intructions I posted the the APU 1-5 thread in the Hardware subforum.
Title: Re: Installation of 19.1 on Pc Engine APU4C4 fails on mSata but works on SD card
Post by: pjdouillard on February 26, 2019, 04:15:46 am
Are you using the correct slot on the board ? It must be the one labeled mSata - it's written on the board.

Also, I'd highly recommend you upgrade the BIOS on the board, check out the intructions I posted the the APU 1-5 thread in the Hardware subforum.

Yes I am using the mSATA slot, the 2 others are mPCIe only.

I will update my BIOS and comment back.

Thx
P.J
Title: Re: Installation of 19.1 on Pc Engine APU4C4 fails on mSata but works on SD card
Post by: pjdouillard on February 26, 2019, 06:11:29 am
BIOS update (v4.9.0.2) did the trick.  The installation went smoothly and I now have Opnsense 19.1 running.

Thx for the pointers!

P.J
Title: Re: Installation of 19.1 on Pc Engine APU4C4 fails on mSata but works on SD card
Post by: newsense on February 26, 2019, 06:36:38 am
Glad it all worked out. Please prepend [Solved] to the thread name as it would likely help others and it's a good filter when looking at a bunch of different threads.