Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2022 15:37:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 262554] [armv7] [GENERICSD] release.sh fails
Message-ID:  <bug-262554-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262554

            Bug ID: 262554
           Summary: [armv7] [GENERICSD] release.sh fails
           Product: Base System
           Version: CURRENT
          Hardware: arm
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: matteo@FreeBSD.org

I am trying to build a vanilla -CURRENT image for my beaglebone enhanced.=20

In release/arm/GENERICSD.conf, I added info about CHROOT_DIR, MAKE_CONF,
SRC_CONF (both with harmless contents, imho), and changed GENERIC to
GENERIC-NODEBUG.=20

I run sh ./release.sh -c arm/GENERICSD.conf and got the following:

--------------------------------------------------------------
>>> Kernel(s)  GENERIC-NODEBUG built in 94 seconds, ncpu: 40, make -j20
--------------------------------------------------------------
md0 created
md0s1 added
active set on md0s1
/dev/md0s1: 102264 sectors in 12783 FAT16 clusters (4096 bytes/cluster)
BytesPerSec=3D512 SecPerClust=3D8 ResSectors=3D1 FATs=3D2 RootDirEnts=3D512=
 Media=3D0xf0
FATsecs=3D50 SecPerTrack=3D63 Heads=3D255 HiddenSecs=3D0 HugeSectors=3D1024=
00
md0s2 added
md0s2 created
gpart: No partitioning scheme found on geom /dev/md0s2. Create one first us=
ing
'gpart create'.

The error is raised on line 80 of tools/arm.subr:

chroot ${CHROOTDIR} gpart add -t freebsd-ufs -a 64k /dev/${mddev}s2

It seems quite weird that it fails on this line, because there is a "gpart
create" command on line 79. The whole sequence of commands here looks corre=
ct
to me. Could it be a timing issue?=20

The building host is an amd64 running -CURRENT (from yesterday)

By the way, if I change PART_SCHEME=3D"GPT" and change the arm_install_uboo=
t_*
functions in GENERICSD.conf,  to account for the different names of partiti=
ons
in GPT vs MBR, I can successfully build a GPT image (I haven't tried bootin=
g it
yet though).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262554-7>