Bug 16026

Summary: /stand/sysinstall segmentation fault when invoking Distributions
Product: Base System Reporter: support <support>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description support 2000-01-10 15:00:01 UTC
Starting with a minimum installation, I invoked /stand/sysinstall then Configure, then Distributions. Core dumped with segmentation fault. Also able to enter additional commands but no echo.

How-To-Repeat: Trying a different route, Index> Dists, Basic, gave the same result. Also Index> Dists, User, went as far as the Install Ports? screen and looped back to Index, regardless if yes or no is selected.
Comment 1 robert.martin-legene 2000-01-11 09:20:32 UTC
I got the same yesterday trying to install 3.4 an old Pentium. The =
machine
used to be a windows machine so maybe it's still trying to recover from
that...

But anyway, I spent 4 hours trying to debug this but had to give up. I
installed several times and managed to get a minimal system running =
without
entering the Distributions. Running sysinstall over and over again =
yielded
the same result.

ktrace/kdump doesn't show too much really. After going there it just =
seems
to get a SIGSEGV out of the blue... but sysinstall is stripped (and =
some
other good excuses) so gdb didn't tell me anything.

The problem you have with the shell not echoing your commands is =
because the
tty has been told not to. "stty sane" bring this back to normal.

> -- Robert Martin-Leg=E8ne
>    The opinions expressed herein is solely my own and not Intel's.. =
etcetc
>=20
Comment 2 ugh 2000-01-28 10:46:12 UTC
Same symptoms but it also locks my cdrom drive.
Comment 3 jaracom 2000-02-10 16:08:20 UTC
Jepp, same symptoms here. Also via "custom install" --> Distribs
-->Custom.
Workaround: make a "freebsd" directory, copy the distributions
directories
you want to install there. In sysinstall, do "custom install" -->
distributions, and
chose one of the "predetermined" kits that should contain what you want
to install.
(i.e. "user" or "kernel-developer" or simply "all"). Then select media
type (filesystem
and your "freebsd" directory!). Finalise with "commit...". You'll get
some error messages for distribs it wont find, but it WILL install those
you copied!

Sunny greetings from Dominican Republic! /Gunnar
Comment 4 Jeroen Ruigrok/Asmodai 2000-04-30 16:49:22 UTC
First, read this:

http://www.freebsd.org/releases/3.4R/errata.html

Then realise that sysinstall is the same code as what goes on the
install disks, so that code is broken, but fixed in STABLE.

Which effectively means to cvsup to 3-STABLE, make world, and then cd
/usr/src/release/sysinstall

make obj
make depend
make
make install

And you can use /stand/sysinstall without problems.

I'll set the PR to feedback, since this should fix all you reported.

-- 
Jeroen Ruigrok vd Werven/Asmodai    asmodai@[wxs.nl|bart.nl|freebsd.org]
Documentation nutter/C-rated Coder BSD: Technical excellence at its best  
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>
Who looks under the surface does so at his own risk...
Comment 5 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2000-04-30 16:49:27 UTC
State Changed
From-To: open->feedback

See my mail on the subject. 

Comment 6 hoek freebsd_committer freebsd_triage 2000-05-16 17:21:59 UTC
State Changed
From-To: feedback->closed

Presumably fixed as stated in ERRATA by asmodai