NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-amd64/53113: NetBSD_8.0_BETA/amd64 fails to boot.
The following reply was made to PR port-amd64/53113; it has been noted by GNATS.
From: Utkarsh Anand <utkarsh009%yandex.com@localhost>
To: Martin Husemann <martin%duskware.de@localhost>
Cc: "gnats-bugs%netbsd.org@localhost" <gnats-bugs%netbsd.org@localhost>
Subject: Re: port-amd64/53113: NetBSD_8.0_BETA/amd64 fails to boot.
Date: Wed, 21 Mar 2018 15:06:57 +0530
21.03.2018, 14:43, "Utkarsh Anand" <utkarsh009%yandex.com@localhost>:
> 21.03.2018, 14:34, "Martin Husemann" <martin%duskware.de@localhost>:
>> Â On Wed, Mar 21, 2018 at 02:03:06PM +0530, Utkarsh Anand wrote:
>>
>>> Â Â BTW, looking at this:
>>> Â Â https://nxr.netbsd.org/xref/src/distrib/amd64/liveimage/usbimage/Makefile#5
>>> Â Â and confirming from the size of the image, it seems that
>>> Â Â ${IMAGESECTORS} must be 3145728 (1536*1024*1024/512 taken from
>>> Â Â https://nxr.netbsd.org/xref/src/distrib/common/bootimage/Makefile.bootimage#163
>>> Â Â ), and that should be the partition d: in
>>> Â Â https://nxr.netbsd.org/xref/src/distrib/common/bootimage/diskproto.noswap.mbr.in#24
>>> Â Â ). According to freebsd, it is 2867200, which should be wrong. So, any
>>> Â Â ideas on how this happened? Can anybody build an install-image, write
>>> Â Â it to a flash drive and double check the disklabel? I did not change
>>> Â Â any values, everything was set to default.
>>
>> Â I am not sure what image exactly you did use.
>
> I build 8.0_BETA myself using build.sh with `release install-image` options.
>> Â I downloaded NetBSD-8.99.14.amd64-install.img.gz from the latest
>> Â nycdn/daily/HEAD build and extracted it onto a USB stick.
>>
>> Â The disklabel looks like this:
>>
>> Â # /dev/rsd0d:
>> Â type: ESDI
>> Â disk: image
>> Â label:
>> Â flags:
>> Â bytes/sector: 512
>> Â sectors/track: 32
>> Â tracks/cylinder: 64
>> Â sectors/cylinder: 2048
>> Â cylinders: 1450
>> Â total sectors: 2969600
>> Â rpm: 3600
>> Â interleave: 1
>> Â trackskew: 0
>> Â cylinderskew: 0
>> Â headswitch: 0 # microseconds
>> Â track-to-track seek: 0 # microseconds
>> Â drivedata: 0
>>
>> Â 8 partitions:
>> Â # size offset fstype [fsize bsize cpg/sgs]
>> Â Â a: 2967552 2048 4.2BSD 1024 8192 16 # (Cyl. 1 - 1449)
>> Â Â c: 2967552 2048 unused 0 0 # (Cyl. 1 - 1449)
>> Â Â d: 2969600 0 unused 0 0 # (Cyl. 0 - 1449)
Hmm.. According to this: https://nxr.netbsd.org/xref/src/distrib/amd64/installimage/Makefile#8 , your image has the correct number of sectors as it should be, which means, there was some problem in generating my image file. Can you cross check by building 8.0_BETA? Meanwhile, I'll just check the image for any errors.
>
> Which file (and what variables) decide the size of partition d? (and thus a and c, as they are calculated from it.)
>> Â The ffs file system in partition a: fsck's cleanly and is mountable/usable.
>>
>> Â Of course (my umass stick is slightly bigger than the image) I a few logs like:
>>
>> Â sd0: 5304320 trailing sectors not covered by disklabel
>>
>> Â but that is harmless.
>>
>> Â Martin
Home |
Main Index |
Thread Index |
Old Index