Subject: Re: sysinst segfaults near end of installation
To: None <netbsd-bugs@netbsd.org>
From: jon <TYR124840@tyler.net>
List: netbsd-bugs
Date: 04/07/2002 13:56:17
----- Original Message -----
From: "Manuel Bouyer" <bouyer@antioche.eu.org>
To: "jon" <TYR124840@tyler.net>
Cc: <netbsd-bugs@netbsd.org>
Sent: Sunday, April 07, 2002 9:17 AM
Subject: Re: sysinst segfaults near end of installation


> On Fri, Apr 05, 2002 at 08:48:23PM -0600, jon wrote:
> > im installing from cd, 1.5.2 release iso, pretty routine setup with a
custom
> > install of everything but games and X related packages
> >
> > everything works fine until after devices are made, before addition
> > configuration - of timezone, i believe
> >
> > the program closes and reports a problem with UID 0 on /, file system
full
> >
> > since / in this case is a cd im not quite sure what its trying to do
>
>
> it's trying to dump core.
>

Oops, / is a ramdisk, wd0a. Silly me. =/

> >
> >
> >
> > also, during configuration of the MBR partition table and the disklabel,
> > sysinst reports weird offsets
> >
> > for instance, my partition 1 (second one) i made with win2k install
tools,
> > its type C
> >
> > im setting up partition 0 for netbsd and entering offset 0, and size
9999;
>
> What units ?

MB

>
> > upon exiting, i find that it reports 10000 - its increased apparently by
one
>
> Probably to round it to cylinder boundary.

Don't think so - like I said the values are ALWAYS off by one, not just in
some instances, and the exact same off-by-one situation occurs also with
cylinders.

>
> >
> > by the way, i can duplicate the above for any size value, its ALWAYS
> > increased by one when reported later
> >
> > then during configuration of the disklabel, the size of the netbsd part
of
> > the disk (/dev/wd0c) is reported as 9998, instead of 9999
>
> This may also be a rounding problem. What do the sectors number looks like
?

Making my NetBSD partition, I choose 0 as the offset since it's the first on
my disk, and that should automatically reserve track 1. But it reports the
offset as 63, not 64. Then, for size, I enter -1, so that it should end at
the beginning of my second partition, which is of type 0C. But the size of
the NetBSD partition is reported 20582812 and the end 20582875, which is the
same sector as my next partition begins on.

During disklabel config though, the size is still reported 20582812, but the
end this time is reported 20582874, not ...75.

>
> >
> > again, the above i can duplicate
> >
> > then, when i then enter 0 as the offset for /dev/wd0a and 9999 as the
size,
> > i end up with 9998
>
> You make wd0a the whole NetBSD partition, so you don't have any swap
> partition ?
> This may be because of this sysinst dumps core.

Like I said, I've got a gig of ram, so I really don't think I have much need
of swap. I'm thinking this would be a bug with sysinst...

Possibly I could circumvent it in the short term by enlarging my ramdisk,
but I don't know how to do that unfortunately.

Thanks for your reply.

>
> --
> Manuel Bouyer <bouyer@antioche.eu.org>
> --