Bug 148220 - sysinstall(8): 9.0-current gets "Cannot resolv hostname ftp.freebsd.org" during install [regression]
Summary: sysinstall(8): 9.0-current gets "Cannot resolv hostname ftp.freebsd.org" duri...
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-sysinstall (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 21:20 UTC by Gerd Truschinski
Modified: 2015-11-10 09:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerd Truschinski 2010-06-28 21:20:03 UTC
I tried to install 9.0-current with the bootonly ISO but I get a "Cannot resolv hostname ftp.freebsd.org" error.

So I am not able to install 9.0-current on any of my machines (AMD and Intel-CPUs, but both quad-cores).

/gT/

How-To-Repeat: I have tried ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201005/FreeBSD-9.0-CURRENT-201006-amd64-bootonly.iso and all the other 9.0-current ISOs from 201001, 201002, 201004 and 201005.

This is what I have done:
- Booting from CD
- Select Region Germany
- Select german keyboard
- Select "Begin a custom installation"
- Select "View/Set various installation options"
- Select "Media Type"
- Select "Install from a FTP server"
- Select "ftp.freebsd.org"
- Select ra0 (my first LAN device)
- Select NO, i.e. no IPv6
- Select YES, i.e. DHCP
--- I get an IP-address from the DHCP-Server, also a  IPv4 gateway and a  nameserver
!!! but instead of going back to the menu I get an error message "Cannot resolv hostname ftp.freebsd.org"

Wen I try this with FreeBSD-8.0-STABLE or FreeBSD-8.1-PRERELEASE-201006-amd64-bootonly.iso I get _no_ error message and all went fine.

The problem is the same with the i386 ISOs.
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2010-07-13 14:36:18 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-sysinstall

Over to maintainer(s)
Comment 2 Garrett Cooper 2010-07-13 16:32:16 UTC
Could you please cat /etc/resolv.conf and call netstat -nr on the holo
shell after the failure occurs?
Thanks,
-Garrett
Comment 3 Bruce Cran freebsd_committer freebsd_triage 2010-07-17 21:38:25 UTC
State Changed
From-To: open->feedback

Note that feedback was requested.
Comment 4 Gerd Truschinski 2011-01-06 22:32:57 UTC
Sorry for being late, but I thought that I could write this to 
sysinstall@...

That is what I wrote, 6 Month ago:

The /etc/resolv.conf is empty.


netstat -nr:

Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire

Internet6:
Destination                       Gateway                       
Flags      Netif Expire
fe80::%nfe0/64                    link#1                        
U          nfe0
fe80::201:2eff:fe23:1263%nfe0     link#1                        
UHS         lo0
ff01:1::/32                       fe80::201:2eff:fe23:1263%nfe0 
U          nfe0
ff02::%nfe0/32                    fe80::201:2eff:fe23:1263%nfe0 
U          nfe0



On the ALT-F2 screen i get the following lines (I copied the lines by 
hand):

DHCPDISCOVER on nfe0 to 255.255.255.255 port 67 interval 8
nfe0: link state changed to UP
nfe0: link state changed to DOWN
nfe0: link state changed to UP
DHCPOFFER from 192.168.10.1
DHCPREQUEST on nfe0 to 255.255.255.255 port 67
DHCPACK from 192.168.10.1
bound to 192.168.10.108 -- renewal in 3600 seconds
    -- the following lines appear after I close the "network-screen"  just
    -- before I get the "Cannot resolv hostname ftp.freebsd.org" message

DEBUG: Shutdown called for network device nfe0
DEBUG: ifconfig nfe0 down
DEBUG: Deleting default route
delete net default


I tried the same in a VMware machine at work and got the same result.

I have tried the last snapshot:
 
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201008/FreeBSD-9.0-CURRENT-201008-amd64-bootonly.iso 

and I got the same results.

The same with the FreeBSD-9.0-CURRENT-201101-amd64-bootonly.iso.

/gT/
Comment 5 Enji Cooper freebsd_committer freebsd_triage 2015-11-10 09:08:10 UTC
sysinstall has been replaced by bsdinstall in FreeBSD 9.x. Closing.