Bug 14706

Summary: sysinstall coredumps
Product: Base System Reporter: timj <timj>
Component: miscAssignee: jkh
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description timj 1999-11-04 14:10:00 UTC
I have installed a FreeBSD 3.3 machine, and it does not have
a localhost interface. As far as I can remember, I have done the network
configuration after installing bsd, and have played with it a little bit. 
However, I have not worked manually on the configuration files to
get this result.


There is also a second problem: when I enter the sysinstall menu, go to 
configuration/networking and select "interfaces", I get the following
question: "Running multi-user, assume that the network is already configured?"
When I answer yes, the sysinstall coredumps with a segmentation fault.
(when I answer no, everything seems to be ok and I can reconfigure the network interface - 
but after that the problems are still the same)

fizz# /sbin/ifconfig -a
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 194.176.4.34 netmask 0xfffffff8 broadcast 194.176.4.39
        ether 00:60:97:17:48:3b 
        media: 10baseT/UTP <half-duplex> (autoselect)
        supported media: autoselect 100baseTX <full-duplex> 100baseTX <half-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 10baseT/UTP <half-duplex>
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8008<LOOPBACK,MULTICAST> mtu 16384

Contents of /etc/rc.conf:
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# -- sysinstall generated deltas -- #
nfs_server_enable="YES"
nfs_client_enable="YES"
tcp_extensions="YES"
# -- sysinstall generated deltas -- #
ifconfig_xl0="inet 194.176.4.34  netmask 255.255.255.248"
defaultrouter="194.176.4.32"
network_interfaces="xl0 auto"
hostname="fizz.systembureau.com"
# -- sysinstall generated deltas -- #
ifconfig_xl0="inet 194.176.4.34  netmask 255.255.255.248"
defaultrouter="194.176.4.33"
hostname="fizz.systembureau.com"

I have edited rc.conf and corrected (at least I think so) the 
contradictions in the rc.conf, but I still dont have a 
localhost interface, and sysinstall still crashes:
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# -- sysinstall generated deltas -- #
nfs_server_enable="YES"
nfs_client_enable="YES"
tcp_extensions="YES"
# -- sysinstall generated deltas -- #
ifconfig_xl0="inet 194.176.4.34  netmask 255.255.255.248"
defaultrouter="194.176.4.33"
network_interfaces="xl0 auto"
hostname="fizz.systembureau.com"

No local host:
[fizz:~]/sbin/ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
^C
--- 127.0.0.1 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss

How-To-Repeat: I can reproduce the sysinstall crash on the machine. However, I cannot
remember what exactly I did to get a system without localhost.
Comment 1 Szilveszter Adam 1999-11-04 16:10:27 UTC
Hi!

As for the "no localhost" problem, see the Errata file on
www.freebsd.org and correct the
entry in your /etc/rc.conf which says

network_interfaces="xl0 auto" to "xl0 lo0" This is a known problem in
-RELEASE, which is fixed in -STABLE. 

After this (and a reboot) try sysinstall again. Chances are things will
get all
right again.

Cheers!

Szilveszter ADAM
-------------------------------------------------------------------------------
* Adam Szilveszter * JATE Szeged * email: sziszi@petra.hos.u-szeged.hu *
* Homepage : none * alternate email: cc@flanker.itl.net.ua *
* Finger sziszi@petra.hos.u-szeged.hu for PGP key. *
* I prefer using the door instead of Windows(tm)... *
Comment 2 ru freebsd_committer freebsd_triage 1999-11-05 07:20:00 UTC
Responsible Changed
From-To: freebsd-bugs->jkh

Patch has been sent to Jordan to fix sysinstall problem. 
Comment 3 jkh freebsd_committer freebsd_triage 2000-01-04 05:03:08 UTC
State Changed
From-To: open->closed

Fixed post 3.3.