From nobody  Sat Nov 21 13:19:13 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id NAA22832;
          Sat, 21 Nov 1998 13:19:13 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199811212119.NAA22832@hub.freebsd.org>
Date: Sat, 21 Nov 1998 13:19:13 -0800 (PST)
From: dmack@uswest.net
To: freebsd-gnats-submit@freebsd.org
Subject: install process hangs while adding default gateway
X-Send-Pr-Version: www-1.0

>Number:         8787
>Category:       i386
>Synopsis:       install process hangs while adding default gateway
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    jkh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 21 13:20:01 PST 1998
>Closed-Date:    Wed Jul 21 01:11:43 PDT 1999
>Last-Modified:  Wed Jul 21 01:13:57 PDT 1999
>Originator:     Dan Mack
>Release:        3.0-RELEASE
>Organization:
>Environment:
FreeBSD coco 3.0-RELEASE FreeBSD 3.0-RELEASE #0: Fri Nov 20 14:14:37 1998
root@coco:/usr/sr/csys/compile/COCO   i386

>Description:
I noticed this problem during an ftp install.  It was the first install I
did from my home lan.  The netmask for my lan is 0xfffffff8 so during
the install phase, I entered 255.255.255.248 as the netmask.  I also entered
my gateway address.

When I clicked okay to go on to the next phase, the installer hung during the
adding default gateway phase.

From the shell, I noticed that indeed, the route command was hung doing a
'route add default gw'.  From the shell, I took at look at the output of
ifocnfig for xl0 and this exposed what I believe to be the problem.

Even though I had entered 255.255.255.248 on the form, the install program had
used a value of 0xffffffee which is clearly incorrect.

My guess is that there is something wrong with either decimal->hex conversion
or, the full screen gui-install-dialog doesn't pass the correct value to 
ifconfig.


>How-To-Repeat:
Try to do an ftp install from a subnet with a netmask of 255.255.255.248.
Enter this in the network setup dialog box and then check was your interface
gets configured with.

>Fix:
No known fix at this time other than to manually configure the interface.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: n_hibma 
State-Changed-When: Tue Jul 20 02:49:39 PDT 1999 
State-Changed-Why:  
Requested some more exact information from the submitter. 


Responsible-Changed-From-To: freebsd-bugs->jkh 
Responsible-Changed-By: n_hibma 
Responsible-Changed-When: Tue Jul 20 02:49:39 PDT 1999 
Responsible-Changed-Why:  
Installations are Jordan's baby. 

From: Nick Hibma <nick.hibma@jrc.it>
To: freebsd-gnats-submit@freebsd.org, dmack@uswest.net
Cc:  
Subject: Re: i386/8787: install process hangs while adding default gateway
Date: Tue, 20 Jul 1999 11:55:30 +0200

 Did you manage install it with a different boot floppy, like for example
 the one from 3.2-RELEASE?
 
 Nick
 -- 
 Paranoid:
    perl -e 'use strict;' -e ...
 
 ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy
 

From: Nick Hibma <nick.hibma@jrc.it>
To: freebsd-gnats-submit@freebsd.org, dmack@uswest.net
Cc:  
Subject: Re: i386/8787: install process hangs while adding default gateway
Date: Wed, 21 Jul 1999 09:02:12 +0200

 FYI:
 
 255.255.255.248 (0xfffffff8) looks a lot like
 255.255.255.238 (0xffffffee). It could be a pilot error.
 
 Nick
 -- 
 ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy
 
State-Changed-From-To: feedback->closed 
State-Changed-By: jkh 
State-Changed-When: Wed Jul 21 01:11:43 PDT 1999 
State-Changed-Why:  
This is one of those "can't happen" errors, especially since sysinstall 
does not do any special interpretation or conversion on the netmask, 
it uses exactly the string you type in.  If you saw the interface 
configured with a netmask of 0xffffffee then it's because you typed 
255.255.255.238 instead of 255.255.255.248. :-) 
>Unformatted:
