6.2 Installation Fails on Soekris net5501

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

6.2 Installation Fails on Soekris net5501

Kenneth Hendrickson
Installation of OpenBSD 6.2 fails on a Soekris net5501.  (I've used OpenBSD on these boxes with similar disklabels since 3.x or 4.x)

Specifically, the Installation of base62.tgz failed.  Do I have any slices which are too small for 6.2?  Or is there some other problem?  Any advice?

What script is giving the error message "tar: Unable to remove directory ./var/tmp: Device busy" ??

Here is my disklabel:

16 partitions:
#                size           offset  fstype [fsize bsize   cpg]
  a:          2097152         97683264  4.2BSD   2048 16384 12958 # /mnt
  b:          4194304        116557632    swap                    
  c:        195371568                0  unused                    
  d:          2097152         99780416  4.2BSD   2048 16384 12958 # /mnt/altroot
  e:          4194304        101877568  4.2BSD   2048 16384 12958 # /mnt/tmp
  f:          4194304        106071872  4.2BSD   2048 16384 12958 # /mnt/var
  g:          4194304        110266176  4.2BSD   2048 16384 12958 # /mnt/var/tmp
  i:         97683201               63 unknown                    
  j:          2097152        114460480  4.2BSD   2048 16384 12958 # /mnt/root
  k:          4194304        120751936  4.2BSD   2048 16384 12958 # /mnt/var/crash
  l:          2097152        124946240  4.2BSD   2048 16384 12958 # /mnt/var/log
  m:          2097152        127043392  4.2BSD   2048 16384 12958 # /mnt/var/mail
  n:         47351552        148014912  4.2BSD   2048 16384 12958 # /mnt/usr
  o:         16777216        129140544  4.2BSD   2048 16384 12958 # /mnt/usr/obj
  p:          2097152        145917760  4.2BSD   2048 16384 12958 # /mnt/usr/local/src

And here is the part of the install that fails:

Select sets by entering a set name, a file name pattern or 'all'. De-select
sets by prepending a '-', e.g.: '-game*'. Selected sets are labelled '[X]'.
    [X] bsd           [X] comp62.tgz    [X] xbase62.tgz   [X] xserv62.tgz
    [X] bsd.rd        [X] man62.tgz     [X] xshare62.tgz
    [X] base62.tgz    [X] game62.tgz    [X] xfont62.tgz
Set name(s)? (or 'abort' or 'done') [done]
Get/Verify SHA256.sig   100% |**************************|  1974       00:00    
Signature Verified
Get/Verify bsd          100% |**************************| 11982 KB    00:04    
Get/Verify bsd.rd       100% |**************************|  8696 KB    00:03    
Get/Verify base62.tgz   100% |**************************|   138 MB    00:53    
Get/Verify comp62.tgz   100% |**************************| 71787 KB    00:26    
Get/Verify man62.tgz    100% |**************************|  7008 KB    00:02    
Get/Verify game62.tgz   100% |**************************|  2629 KB    00:00    
Get/Verify xbase62.tgz  100% |**************************| 16242 KB    00:05    
Get/Verify xshare62.tgz 100% |**************************|  4417 KB    00:01    
Get/Verify xfont62.tgz  100% |**************************| 39342 KB    00:14    
Get/Verify xserv62.tgz  100% |**************************| 11567 KB    00:04    
Installing bsd          100% |**************************| 11982 KB    00:01    
Installing bsd.rd       100% |**************************|  8696 KB    00:01    
Installing base62.tgz    99% |************************* |   138 MB    00:00 ETAtar: Unable to remove directory ./var/tmp: Device busy
Installing base62.tgz   100% |**************************|   138 MB    01:14    
Installation of base62.tgz failed. Continue anyway? [no]

Thanks,
Ken Hendrickson

Reply | Threaded
Open this post in threaded view
|

Re: 6.2 Installation Fails on Soekris net5501

Philip Guenther
On Mon, 1 Jan 2018, Kenneth Hendrickson wrote:
> Installation of OpenBSD 6.2 fails on a Soekris net5501.  (I've used
> OpenBSD on these boxes with similar disklabels since 3.x or 4.x)
>
> Specifically, the Installation of base62.tgz failed.  Do I have any
> slices which are too small for 6.2?  Or is there some other problem?  
> Any advice?

The problem is that you've created a filesystem for /var/tmp/.  OpenBSD
installation now expects to make /var/tmp a symlink to ../tmp (aka /tmp)
and does not support mounting a separate filesystem there.  The space that
you used to allocate to /var/tmp should just be combined into your /tmp.

This has been the behavior since November 2014 and the OpenBSD 5.7
release.


Philip Guenther

Reply | Threaded
Open this post in threaded view
|

Re: 6.2 Installation Fails on Soekris net5501

Kenneth Hendrickson
In reply to this post by Kenneth Hendrickson
On Tue, 1/2/18, Philip Guenther <[hidden email]> wrote:
> The problem is that you've
> created a filesystem for /var/tmp/.

Yep.  That fixes it.

Thanks.