NetBSD Problem Report #53531

From www@NetBSD.org  Thu Aug 16 17:49:40 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 96AE27A187
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 16 Aug 2018 17:49:40 +0000 (UTC)
Message-Id: <20180816174939.63D807A25E@mollari.NetBSD.org>
Date: Thu, 16 Aug 2018 17:49:39 +0000 (UTC)
From: richard.rodman@gmail.com
Reply-To: richard.rodman@gmail.com
To: gnats-bugs@NetBSD.org
Subject: The ISO files you have for download are bad. They have a megabyte of zeros on the front.
X-Send-Pr-Version: www-1.0

>Number:         53531
>Category:       install
>Synopsis:       The ISO files you have for download are bad. They have a megabyte of zeros on the front.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 16 17:50:00 +0000 2018
>Closed-Date:    Sun Aug 19 19:04:24 +0000 2018
>Last-Modified:  Sun Aug 19 19:04:24 +0000 2018
>Originator:     Rick Rodman
>Release:        7.0 and 8.0
>Organization:
No company
>Environment:
windows (imgburn).
>Description:
Download files on this site are not usable .ISO files. They have a megabyte of zeros on the front (use od -x blah.iso | more).

>How-To-Repeat:
click on the ISO link. The file downloads pretty fast, which is good, and the size matches (around 700MB), but the file is unusable because it has a megabyte (or more) of zeros on the front of it.

I am hoping to find a disk (and I don't mind paying for a CD) which has OS images for i386 and maybe Raspberry Pi, similar to the NetBSD 
Disc I bought about 10 years ago.
>Fix:
no fix possible.

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/53531: The ISO files you have for download are bad. They
 have a megabyte of zeros on the front.
Date: Thu, 16 Aug 2018 20:49:50 +0200

 On Thu, Aug 16, 2018 at 05:50:00PM +0000, richard.rodman@gmail.com wrote:
 > click on the ISO link. The file downloads pretty fast, which is good, and the size matches (around 700MB), but the file is unusable because it has a megabyte (or more) of zeros on the front of it.

 Why do you think this is wrong?

 Here is how the (known good) original looks:

 [/pub/NetBSD/NetBSD-8.0/images] > ls -lh NetBSD-8.0-i386.iso
 -r--r--r--  2 builds  builds  677M Jul 18 00:26 NetBSD-8.0-i386.iso
 [/pub/NetBSD/NetBSD-8.0/images] > hexdump NetBSD-8.0-i386.iso | head -15
 0000000 0000 0000 0000 0000 0000 0000 0000 0000
 *
 0008000 4301 3044 3130 0001 654e 4274 4453 2020
 0008010 2020 2020 2020 2020 2020 2020 2020 2020
 0008020 2020 2020 2020 2020 454e 4254 4453 385f
 0008030 2030 2020 2020 2020 2020 2020 2020 2020
 0008040 2020 2020 2020 2020 0000 0000 0000 0000
 0008050 492e 0005 0500 2e49 0000 0000 0000 0000
 0008060 0000 0000 0000 0000 0000 0000 0000 0000
 0008070 0000 0000 0000 0000 0001 0100 0001 0100
 0008080 0800 0008 a63a 0000 0000 3aa6 0018 0000
 0008090 0000 0000 0000 2d00 0000 0000 0022 0042
 00080a0 0000 0000 4200 1000 0000 0000 0010 3337
 00080b0 3636 6133 0234 0000 0001 0100 0001 2020
 00080c0 2020 2020 2020 2020 2020 2020 2020 2020


 Have you verified the checksum of the file you downloaded?
 [/pub/NetBSD/NetBSD-8.0/images] > fgrep NetBSD-8.0-i386.iso SHA512 
 SHA512 (NetBSD-8.0-i386.iso) = b08497b71a4031538a76ce8e5289de4047f55c4733457b3d1e84b905f4371dd622edf459bea663a528787eb2ee21b3775b8e05fe1563b1f1bbf72ddccd117262


 Martin

From: Dave Huang <khym@azeotrope.org>
To: gnats-bugs@NetBSD.org
Cc: netbsd-bugs@netbsd.org
Subject: Re: install/53531: The ISO files you have for download are bad. They
 have a megabyte of zeros on the front.
Date: Thu, 16 Aug 2018 15:31:36 -0500 (CDT)

 On Thu, 16 Aug 2018, richard.rodman@gmail.com wrote:
 >> How-To-Repeat:
 > click on the ISO link. The file downloads pretty fast, which is good, and the size matches (around 700MB), but the file is unusable because it has a megabyte (or more) of zeros on the front of it.

 You don't mention which ISO link you're talking about; there are many on 
 NetBSD.org... but I tried 
 https://cdn.netbsd.org/pub/NetBSD/NetBSD-8.0/images/NetBSD-8.0-amd64.iso 
 and 
 https://cdn.netbsd.org/pub/NetBSD/NetBSD-8.0/images/NetBSD-8.0-i386.iso 
 and both look fine to me.

 >> Description:
 > Download files on this site are not usable .ISO files. They have a megabyte of zeros on the front (use od -x blah.iso | more).

 Keep in mind that od -x shows the byte offset in octal, not hexadecimal.
 I ran "od -x NetBSD-8.0-i386.iso" and got:

 0000000 0000 0000 0000 0000 0000 0000 0000 0000
 *
 0100000 4301 3044 3130 0001 654e 4274 4453 2020
 0100020 2020 2020 2020 2020 2020 2020 2020 2020
 ...

 the 0100000 means there are 32K of zeroes at the front, not a megabyte.
 And that's normal and correct for an ISO (it's the "system area", which
 is unused in ISO 9660; it may have other stuff on a hybrid CD, like a
 MacOS partition map).

 In any case, https://ftp.netbsd.org/pub/NetBSD/security/hashes/NetBSD-8.0_hashes.asc
 has hashes of all the ISOs. Check that your download matches.
 and SHA512 checksums of the ISO files (

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: install-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, richard.rodman@gmail.com
Subject: re: install/53531: The ISO files you have for download are bad. They have a megabyte of zeros on the front.
Date: Fri, 17 Aug 2018 18:14:24 +1000

 this is probably the almost 2MB of literal zeros that the
 kernel padding has.  my netbsd-8 kernel:

 0000260     0000    0000    0000    0000    0000    0000    0000    0000
 *
 10000000     010f    48f8    08a3    0000    0000    ffc0    48ff    10a1
 10000020     0000    0000    ffc0    48ff    40c7    3ff8    0000    4800

 it used to be only "1MB" until something maxv did a year or so ago?
 i've been meaning to figure out how to remove it from the binary
 while keeping the (wanted) effect, but haven't found it.


 .mrg.

From: Rick Rodman <richard.rodman@gmail.com>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: install/53531: The ISO files you have for download are bad. They have a megabyte of zeros on the front.
Date: Sat, 18 Aug 2018 16:11:51 -0400

 Hmm. I'll try burning the 8.0 image then. The 7.x image I downloaded a coupl=
 e of months ago produced only coasters, and the other iso's I looked at all h=
 ad nonzero bytes at the beginning. Thanks for replying so quickly! NetBSD th=
 e truly portable OS!

 Rick

 I have no internet, so it may be a week or more before I get back to you.

 > On Aug 16, 2018, at 2:50 PM, Martin Husemann <martin@duskware.de> wrote:
 >=20
 > The following reply was made to PR install/53531; it has been noted by GNA=
 TS.
 >=20
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@NetBSD.org
 > Cc:=20
 > Subject: Re: install/53531: The ISO files you have for download are bad. T=
 hey
 > have a megabyte of zeros on the front.
 > Date: Thu, 16 Aug 2018 20:49:50 +0200
 >=20
 >> On Thu, Aug 16, 2018 at 05:50:00PM +0000, richard.rodman@gmail.com wrote:=

 >> click on the ISO link. The file downloads pretty fast, which is good, and=
  the size matches (around 700MB), but the file is unusable because it has a m=
 egabyte (or more) of zeros on the front of it.
 >=20
 > Why do you think this is wrong?
 >=20
 > Here is how the (known good) original looks:
 >=20
 > [/pub/NetBSD/NetBSD-8.0/images] > ls -lh NetBSD-8.0-i386.iso
 > -r--r--r--  2 builds  builds  677M Jul 18 00:26 NetBSD-8.0-i386.iso
 > [/pub/NetBSD/NetBSD-8.0/images] > hexdump NetBSD-8.0-i386.iso | head -15
 > 0000000 0000 0000 0000 0000 0000 0000 0000 0000
 > *
 > 0008000 4301 3044 3130 0001 654e 4274 4453 2020
 > 0008010 2020 2020 2020 2020 2020 2020 2020 2020
 > 0008020 2020 2020 2020 2020 454e 4254 4453 385f
 > 0008030 2030 2020 2020 2020 2020 2020 2020 2020
 > 0008040 2020 2020 2020 2020 0000 0000 0000 0000
 > 0008050 492e 0005 0500 2e49 0000 0000 0000 0000
 > 0008060 0000 0000 0000 0000 0000 0000 0000 0000
 > 0008070 0000 0000 0000 0000 0001 0100 0001 0100
 > 0008080 0800 0008 a63a 0000 0000 3aa6 0018 0000
 > 0008090 0000 0000 0000 2d00 0000 0000 0022 0042
 > 00080a0 0000 0000 4200 1000 0000 0000 0010 3337
 > 00080b0 3636 6133 0234 0000 0001 0100 0001 2020
 > 00080c0 2020 2020 2020 2020 2020 2020 2020 2020
 >=20
 >=20
 > Have you verified the checksum of the file you downloaded?
 > [/pub/NetBSD/NetBSD-8.0/images] > fgrep NetBSD-8.0-i386.iso SHA512=20
 > SHA512 (NetBSD-8.0-i386.iso) =3D b08497b71a4031538a76ce8e5289de4047f55c473=
 3457b3d1e84b905f4371dd622edf459bea663a528787eb2ee21b3775b8e05fe1563b1f1bbf72=
 ddccd117262
 >=20
 >=20
 > Martin
 >=20

From: Rick Rodman <richard.rodman@gmail.com>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>,
 "gnats-admin@netbsd.org" <gnats-admin@netbsd.org>,
 "richard.rodman@gmail.com" <richard.rodman@gmail.com>,
 "netbsd-bugs@netbsd.org" <netbsd-bugs@netbsd.org>,
 "install-manager@netbsd.org" <install-manager@netbsd.org>
Cc: 
Subject: Re: install/53531: The ISO files you have for download are bad. They have a megabyte of zeros on the front.
Date: Sat, 18 Aug 2018 18:31:02 -0400

 Well! The 8.0 iso burns and works perfectly. I had just assumed that all tho=
 se zeros were a problem. The more fool me. Sorry! Good work guys!

 I have no internet, so it may be a week or more before I get back to you.

 > On Aug 18, 2018, at 4:15 PM, Rick Rodman <richard.rodman@gmail.com> wrote:=

 >=20
 > The following reply was made to PR install/53531; it has been noted by GNA=
 TS.
 >=20
 > From: Rick Rodman <richard.rodman@gmail.com>
 > To: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>
 > Cc:=20
 > Subject: Re: install/53531: The ISO files you have for download are bad. T=
 hey have a megabyte of zeros on the front.
 > Date: Sat, 18 Aug 2018 16:11:51 -0400
 >=20
 > Hmm. I'll try burning the 8.0 image then. The 7.x image I downloaded a cou=
 pl=3D
 > e of months ago produced only coasters, and the other iso's I looked at al=
 l h=3D
 > ad nonzero bytes at the beginning. Thanks for replying so quickly! NetBSD t=
 h=3D
 > e truly portable OS!
 >=20
 > Rick
 >=20
 > I have no internet, so it may be a week or more before I get back to you.
 >=20
 >> On Aug 16, 2018, at 2:50 PM, Martin Husemann <martin@duskware.de> wrote:
 >> =3D20
 >> The following reply was made to PR install/53531; it has been noted by GN=
 A=3D
 > TS.
 >> =3D20
 >> From: Martin Husemann <martin@duskware.de>
 >> To: gnats-bugs@NetBSD.org
 >> Cc:=3D20
 >> Subject: Re: install/53531: The ISO files you have for download are bad. T=
 =3D
 > hey
 >> have a megabyte of zeros on the front.
 >> Date: Thu, 16 Aug 2018 20:49:50 +0200
 >> =3D20
 >>> On Thu, Aug 16, 2018 at 05:50:00PM +0000, richard.rodman@gmail.com wrote=
 :=3D
 >=20
 >>> click on the ISO link. The file downloads pretty fast, which is good, an=
 d=3D
 >  the size matches (around 700MB), but the file is unusable because it has a=
  m=3D
 > egabyte (or more) of zeros on the front of it.
 >> =3D20
 >> Why do you think this is wrong?
 >> =3D20
 >> Here is how the (known good) original looks:
 >> =3D20
 >> [/pub/NetBSD/NetBSD-8.0/images] > ls -lh NetBSD-8.0-i386.iso
 >> -r--r--r--  2 builds  builds  677M Jul 18 00:26 NetBSD-8.0-i386.iso
 >> [/pub/NetBSD/NetBSD-8.0/images] > hexdump NetBSD-8.0-i386.iso | head -15
 >> 0000000 0000 0000 0000 0000 0000 0000 0000 0000
 >> *
 >> 0008000 4301 3044 3130 0001 654e 4274 4453 2020
 >> 0008010 2020 2020 2020 2020 2020 2020 2020 2020
 >> 0008020 2020 2020 2020 2020 454e 4254 4453 385f
 >> 0008030 2030 2020 2020 2020 2020 2020 2020 2020
 >> 0008040 2020 2020 2020 2020 0000 0000 0000 0000
 >> 0008050 492e 0005 0500 2e49 0000 0000 0000 0000
 >> 0008060 0000 0000 0000 0000 0000 0000 0000 0000
 >> 0008070 0000 0000 0000 0000 0001 0100 0001 0100
 >> 0008080 0800 0008 a63a 0000 0000 3aa6 0018 0000
 >> 0008090 0000 0000 0000 2d00 0000 0000 0022 0042
 >> 00080a0 0000 0000 4200 1000 0000 0000 0010 3337
 >> 00080b0 3636 6133 0234 0000 0001 0100 0001 2020
 >> 00080c0 2020 2020 2020 2020 2020 2020 2020 2020
 >> =3D20
 >> =3D20
 >> Have you verified the checksum of the file you downloaded?
 >> [/pub/NetBSD/NetBSD-8.0/images] > fgrep NetBSD-8.0-i386.iso SHA512=3D20
 >> SHA512 (NetBSD-8.0-i386.iso) =3D3D b08497b71a4031538a76ce8e5289de4047f55c=
 473=3D
 > 3457b3d1e84b905f4371dd622edf459bea663a528787eb2ee21b3775b8e05fe1563b1f1bbf=
 72=3D
 > ddccd117262
 >> =3D20
 >> =3D20
 >> Martin
 >> =3D20
 >=20

State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Sun, 19 Aug 2018 19:04:24 +0000
State-Changed-Why:
Closed on submitters request


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.