NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-mac68k/54926: sysinst for NetBSD/mac68k 9.0_RC2 doesn't partition or newfs discs
The following reply was made to PR port-mac68k/54926; it has been noted by GNATS.
From: Brian Foley <bpfoley%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-mac68k/54926: sysinst for NetBSD/mac68k 9.0_RC2 doesn't
partition or newfs discs
Date: Mon, 3 Feb 2020 19:31:30 -0800
--000000000000a36315059db7ad29
Content-Type: text/plain; charset="UTF-8"
I have 132MB of RAM on my machine.
I went through the sysinst install wizard.
"a: Install NetBSD to hard disk"
"a: sd0 2.0GB"
"a: Use only part of the disk"
It displayed a partition table of
sd0a 96 163840 HFS MacOS (80MBtled)
sd0b 163936 4030368 Free
I modified this to be
sd0d 96 163840 HFS MacOS (80MBtled)
sd0b 163936 500000 swap
sd0a 663936 3530368 4.2BSD Root&Usr /
I confirmed the modification, and immediately after, it went to the NetBSD
distribution phase.
Dropping to /bin/sh
disklabel /dev/sd0
shows
3 partitions:
# size offset fstype
a: 163840 96 HFS
b: 4030368 163936 unknown
c: 4194304 0 unused
In other words the partitioning didn't happen.
/tmp/sysinst.log shows
executing: disklabel -r sd0
executing: /bin/mkdir -p /targetroot/etc
Making /targetroot/etc/fstab (sd0).
executing: /bin/mkdir -p /targetroot/etc
executing: /bin/mkdir -p /targetroot/kern
executing: /bin/mkdir -p /targetroot/pro
executing: /bin/mkdir -p /targetroot/dev/pts
executing: /bin/mkdir -p /targetroot/cdrom
executing: /bin/mkdir -p /targetroot/var/shm/
On Mon, 3 Feb 2020 at 11:20, Martin Husemann <martin%duskware.de@localhost> wrote:
> The following reply was made to PR port-mac68k/54926; it has been noted by
> GNATS.
>
> From: Martin Husemann <martin%duskware.de@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: port-mac68k/54926: sysinst for NetBSD/mac68k 9.0_RC2 doesn't
> partition or newfs discs
> Date: Mon, 3 Feb 2020 20:15:17 +0100
>
> On Mon, Feb 03, 2020 at 06:40:00PM +0000, bpfoley%gmail.com@localhost wrote:
> > To install 9.0, I wrote /dev/zero to the entire disc, and recreated the
> 80MB partition.
>
> Can you show the exact partitioning details it has after that?
>
> > NetBSD 9.0 RC1 and RC2 shows the same partitioning interface, but when
> I provide the same settings, it fails to re-partition the disc, and doesn't
> run newfs.
> > >How-To-Repeat:
> > 1. Boot sysinst on a disk with no NetBSD root/usr partition.
> > 2. Create swap and root/usr partitions
>
> How exactly do you create them? The defaults will depend on the ammount of
> RAM you have installed and the disk size, so please switch to "sectors" as
> size unit and note the start / size of each partition.
>
> > 3. OK the partition creation step in the user interface.
> > 4. newfs step doesn't occur, and package installation fails with an out
> of space error.
>
> This usually means the editing frontend did accept partition data that
> the backend then fails to represent (due to a bug). The failure mode
> should probably be more verbose.
>
> Martin
>
>
--000000000000a36315059db7ad29
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"lt=
r">I have 132MB of RAM on my machine.<div><br></div><div>I went through the=
sysinst install wizard.=C2=A0</div><div>"a: Install NetBSD to hard di=
sk"</div><div>"a: sd0 2.0GB"<br></div><div>"a: Use only=
part of the disk"</div><div><br></div><div>It displayed a partition t=
able of</div><div>sd0a 96 163840 HFS MacOS (80MBtled)</div><div>sd0b 163936=
4030368 Free</div><div><br></div><div>I modified this to be</div><div><div=
style=3D"color:rgb(0,0,0)">sd0d 96 163840 HFS MacOS (80MBtled)</div><div s=
tyle=3D"color:rgb(0,0,0)">sd0b 163936 500000 swap</div></div><div><div styl=
e=3D"color:rgb(0,0,0)">sd0a 663936 3530368 4.2BSD Root&Usr /</div></div=
><div style=3D"color:rgb(0,0,0)"><br></div><div style=3D"color:rgb(0,0,0)">=
I confirmed the modification, and immediately after, it went to the NetBSD =
distribution phase.</div><div style=3D"color:rgb(0,0,0)"><br></div><div sty=
le=3D"color:rgb(0,0,0)">Dropping to /bin/sh</div><div style=3D"color:rgb(0,=
0,0)"><br></div><div style=3D"color:rgb(0,0,0)">disklabel /dev/sd0</div><di=
v style=3D"color:rgb(0,0,0)"><br></div><div style=3D"color:rgb(0,0,0)">show=
s</div><div style=3D"color:rgb(0,0,0)"><br></div><div style=3D"color:rgb(0,=
0,0)">3 partitions:</div><div style=3D"color:rgb(0,0,0)"># size offset fsty=
pe</div><div style=3D"color:rgb(0,0,0)">a: 163840 96 HFS</div><div style=3D=
"color:rgb(0,0,0)">b: 4030368 163936 unknown</div><div style=3D"color:rgb(0=
,0,0)">c: 4194304 0 unused</div><div style=3D"color:rgb(0,0,0)"><br></div><=
div style=3D"color:rgb(0,0,0)">In other words the partitioning didn't h=
appen.</div><div style=3D"color:rgb(0,0,0)"><br></div><div style=3D"color:r=
gb(0,0,0)">/tmp/sysinst.log shows</div><div style=3D"color:rgb(0,0,0)"><br>=
</div><div style=3D"color:rgb(0,0,0)">executing: disklabel -r sd0</div><div=
style=3D"color:rgb(0,0,0)">executing: /bin/mkdir -p /targetroot/etc</div><=
div style=3D"color:rgb(0,0,0)">Making /targetroot/etc/fstab (sd0).</div><di=
v style=3D"color:rgb(0,0,0)">executing: /bin/mkdir -p /targetroot/etc<br></=
div>executing: /bin/mkdir -p /targetroot/kern<br>executing: /bin/mkdir -p /=
targetroot/pro<br>executing: /bin/mkdir -p /targetroot/dev/pts<br>executing=
: /bin/mkdir -p /targetroot/cdrom<br>executing: /bin/mkdir -p /targetroot/v=
ar/shm/</div><div dir=3D"ltr"><br></div><div dir=3D"ltr"><div style=3D"colo=
r:rgb(0,0,0)"><br></div></div></div></div></div></div></div></div></div></d=
iv><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On =
Mon, 3 Feb 2020 at 11:20, Martin Husemann <<a href=3D"mailto:martin@dusk=
ware.de">martin%duskware.de@localhost</a>> wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-l=
eft-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">The fo=
llowing reply was made to PR port-mac68k/54926; it has been noted by GNATS.=
<br>
<br>
From: Martin Husemann <<a href=3D"mailto:martin%duskware.de@localhost" target=3D"_=
blank">martin%duskware.de@localhost</a>><br>
To: <a href=3D"mailto:gnats-bugs%netbsd.org@localhost" target=3D"_blank">gnats-bugs@n=
etbsd.org</a><br>
Cc: <br>
Subject: Re: port-mac68k/54926: sysinst for NetBSD/mac68k 9.0_RC2 doesn'=
;t<br>
=C2=A0partition or newfs discs<br>
Date: Mon, 3 Feb 2020 20:15:17 +0100<br>
<br>
=C2=A0On Mon, Feb 03, 2020 at 06:40:00PM +0000, <a href=3D"mailto:bpfoley@g=
mail.com" target=3D"_blank">bpfoley%gmail.com@localhost</a> wrote:<br>
=C2=A0> To install 9.0, I wrote /dev/zero to the entire disc, and recrea=
ted the 80MB partition.<br>
<br>
=C2=A0Can you show the exact partitioning details it has after that?<br>
<br>
=C2=A0> NetBSD 9.0 RC1 and RC2 shows the same partitioning interface, bu=
t when I provide the same settings, it fails to re-partition the disc, and =
doesn't run newfs.<br>
=C2=A0> >How-To-Repeat:<br>
=C2=A0> 1. Boot sysinst on a disk with no NetBSD root/usr partition.<br>
=C2=A0> 2. Create swap and root/usr partitions<br>
<br>
=C2=A0How exactly do you create them? The defaults will depend on the ammou=
nt of<br>
=C2=A0RAM you have installed and the disk size, so please switch to "s=
ectors" as<br>
=C2=A0size unit and note the start / size of each partition.<br>
<br>
=C2=A0> 3. OK the partition creation step in the user interface.<br>
=C2=A0> 4. newfs step doesn't occur, and package installation fails =
with an out of space error.<br>
<br>
=C2=A0This usually means the editing frontend did accept partition data tha=
t<br>
=C2=A0the=C2=A0 backend then fails to represent (due to a bug). The failure=
mode<br>
=C2=A0should probably be more verbose.<br>
<br>
=C2=A0Martin<br>
<br>
</blockquote></div>
--000000000000a36315059db7ad29--
Home |
Main Index |
Thread Index |
Old Index