NetBSD Problem Report #44744

From www@NetBSD.org  Sat Mar 19 18:25:58 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 2C29E63B9D5
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 19 Mar 2011 18:25:58 +0000 (UTC)
Message-Id: <20110319182557.8D58863B8A9@www.NetBSD.org>
Date: Sat, 19 Mar 2011 18:25:57 +0000 (UTC)
From: alex@bytepub.us
Reply-To: alex@bytepub.us
To: gnats-bugs@NetBSD.org
Subject: QEMU network and install
X-Send-Pr-Version: www-1.0

>Number:         44744
>Category:       install
>Synopsis:       QEMU network and install
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 19 18:30:00 +0000 2011
>Last-Modified:  Mon Jan 23 17:10:03 +0000 2012
>Originator:     Alex Conrey
>Release:        5.1
>Organization:
>Environment:
>Description:
When doing an install in NetBSD 5.1, QEMU without TAP-interface cannot use ICMP (ping) and thus assumes the network is down, when in reality it is not. There is an option to continue the install, but if not read throughly, the user may assume the network does not work at all. 
>How-To-Repeat:
Install NetBSD 5.1 on QEMU and set up the network.
Fails on pinging the host.

>Fix:
Either adjust the install to accommodate for QEMU or not use ping as a part of network detection.

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/44744
Date: Sat, 19 Mar 2011 21:33:18 +0100

 Slightly on a tangent: do you use dhcp to configure your network?

 I think a reasonable change would be to drop the ping test if we get
 the network autoconfigured, but still do it on manual setup (as a
 double check for the entered data). If the ping does not work, the user
 can thing twice and choose to ignore the ping failure - or fix the
 configuration data.

 Martin

From: Sergey Svishchev <svs@ropnet.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/44744
Date: Sun, 8 Jan 2012 01:41:18 +0400

 Which version of qemu did you run and how exactly (command arguments)?

 -- 
 Sergey Svishchev

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/44744: QEMU network and install
Date: Mon, 23 Jan 2012 01:27:40 +0000

 On Sat, Jan 07, 2012 at 10:00:07PM +0000, Sergey Svishchev wrote:
  >  Which version of qemu did you run and how exactly (command arguments)?

 Unfortunately, his mail's bouncing.

 -- 
 David A. Holland
 dholland@netbsd.org

From: Aleksey Cheusov <cheusov@tut.by>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/44744: QEMU network and install
Date: Mon, 23 Jan 2012 10:15:52 +0000

 I'm sure this is not a problem of NetBSD or qemu.
 It is a documented feature of the user mode networking of qemu
 the submitter probably used.

 http://en.wikibooks.org/wiki/QEMU/Networking#User_mode_networking

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/44744: QEMU network and install
Date: Mon, 23 Jan 2012 17:05:09 +0000

 On Mon, Jan 23, 2012 at 10:20:05AM +0000, Aleksey Cheusov wrote:
  >  I'm sure this is not a problem of NetBSD or qemu.
  >  It is a documented feature of the user mode networking of qemu
  >  the submitter probably used.
  >  
  >  http://en.wikibooks.org/wiki/QEMU/Networking#User_mode_networking

 Yes, that seems likely. All the same, I guess it's a bug for NetBSD to
 not install cleanly in an environment that can't ping.

 -- 
 David A. Holland
 dholland@netbsd.org

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.