Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Nov 2018 10:25:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 232483] loader crashes on "lsdev" command
Message-ID:  <bug-232483-227-3fWSythHNx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-232483-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-232483-227@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #5 from Toomas Soome <tsoome@freebsd.org> ---
Ok, I am in trouble there, I got:

=3D>      63  41942977  da2  MBR  (20G)
        63         1       - free -  (512B)
        64   1060864    1  freebsd  (518M)
   1060928   1060864    2  freebsd  (518M)
   2121792     16384    3  freebsd  (8.0M)
   2138176   8388608    4  freebsd  (4.0G)
  10526784  31416256       - free -  (15G)

=3D>      0  1060864  da2s1  BSD  (518M)
        0  1060864         - free -  (518M)

=3D>      0  1060864  da2s2  BSD  (518M)
        0  1060864         - free -  (518M)


so, how do I create the entries:=20
=3D>      0  1060232  da0s1  BSD  (518M)
        0       16         - free -  (8.0K)
       16  1060216      1  !0  (518M)

That is partition 1 inside freebsd slice 1 and 2. Note, those *should* appe=
ar
in lsdev output (for you) as: disk0s1p1 and disk0s2p1, but they are complet=
ely
missing.

It seems to me, the best option there is to build loader with PART_DEBUG
defined (you can set it in the stand/common/part.c, then check out what deb=
ug
messages we will get and then we can see what kind of issue we are stepping=
 on
there.

--=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-232483-227-3fWSythHNx>