Latest amd64 snapshot has problems with disk sizes

2015-12-07 Thread Dave Tyson
Just tried to install current using the latest AMD64  snapshot 201512071640Z 
on a blank SATA drive. Boots up off the memory stick OK and after allocating 
partitions it fails when trying to newfs the first partition rwd0a. An error:
ioctl DIOCGMEDIASIZE failed 19 appears in the log messages several times.

The first partition (rwd0a) is set to be 512M and the newfs croaks with:

/sbin/newsfs -V2 -O2 -b 8182 -f 1024 /dev/rwd0a

Newfs: size 488397168 exceeds 525168 sector filesystem size on '/dev/rwd0a'

Retrying doesn't work as the installer can no longer see the disk unless the 
install is rebooted. I haven't tried setting different partition size for wd0a 
as 512M is normally fine for root. Disk is a 232GB Western Digital. 
 
I can send-pr a bug report if required.

Cheers,
Dave

-- 
=
Phone: 07805784357
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk
=



Re: Latest amd64 snapshot has problems with disk sizes

2015-12-10 Thread Dave Tyson
This problem disappeared when a later snapshot was tried. The nightly build 
201512080650Z installed perfectly so I suspect the original was corrupt or the 
build ran during some updates which left parts inconsistent.

Dave

-- 
=
Phone: 07805784357
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk
=



Re: Latest amd64 snapshot has problems with disk sizes

2015-12-11 Thread Andreas Gustafsson
Dave Tyson wrote:
> This problem disappeared when a later snapshot was tried. The nightly build 
> 201512080650Z installed perfectly so I suspect the original was corrupt or 
> the 
> build ran during some updates which left parts inconsistent.

FWIW, the automated sysinst installs of NetBSD/sparc on
babylon5.netbsd.org were failing with "newfs: size ... exceeds
maximum file system size on `/dev/rsd0a' of ... sectors" from CVS
source date 2015.12.04.23.54.06 until 2015.12.08.01.57.13:

  
http://releng.netbsd.org/b5reports/sparc/commits-2015.12.html#2015.12.04.23.54.06

-- 
Andreas Gustafsson, g...@gson.org


Re: Latest amd64 snapshot has problems with disk sizes

2015-12-11 Thread Michael van Elst
g...@gson.org (Andreas Gustafsson) writes:

>FWIW, the automated sysinst installs of NetBSD/sparc on
>babylon5.netbsd.org were failing with "newfs: size ... exceeds
>maximum file system size on `/dev/rsd0a' of ... sectors" from CVS
>source date 2015.12.04.23.54.06 until 2015.12.08.01.57.13:

src/sys/miscfs/specfs/specfs_vnops.c

1.154 introduced the problem
1.156 fixed it

-- 
-- 
Michael van Elst
Internet: mlel...@serpens.de
"A potential Snark may lurk in every tree."