NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/51296: gpt migrate test assumes x86-like environment



The following reply was made to PR bin/51296; it has been noted by GNATS.

From: John Nemeth <jnemeth%cue.bc.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/51296: gpt migrate test assumes x86-like environment
Date: Wed, 29 Jun 2016 14:38:22 -0700

 On Jun 29,  2:55pm, martin%NetBSD.org@localhost wrote:
 }
 } >Number:         51296
 } >Category:       bin
 } >Synopsis:       gpt migrate test assumes x86-like environment
 } >Arrival-Date:   Wed Jun 29 14:55:00 +0000 2016
 } >Originator:     Martin Husemann
 } >Release:        NetBSD 7.99.32
 } >Organization:
 } The NetBSD Foundation, Inc.
 } >Environment:
 } System: NetBSD space-truckin.duskware.de 7.99.32 NetBSD 7.99.32 (CUBIETRUCK) #266: Wed Jun 29 12:43:39 CEST 2016 martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/evbarm/compile/CUBIETRUCK evbarm
 } Architecture: earmv7hfeb
 } Machine: evbarm
 } >Description:
 } 
 } The gpt migrate test case (part of /usr/tests/sbin/gpt) fails on various
 } machines because it assumes a MBR/x86'ish environment.
 } 
 } It creates a disk image from a template that is made for RAW_PART=3 (i.e. 'd')
 } machines like this:
 } 
 } dd conv=notrunc msgfmt=quiet if=/dev/zero of=gpt.disk seek=10240 count=1
 
      Just a note that this appears to be an off-by-1 error.  This
 command creates a disk that is exactly 5MB + 1 sector.  It should
 probably be "seek=10239".
 
 }-- End of excerpt from martin%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index