From owner-freebsd-net Sun Feb 16 14:51:53 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B3A337B401 for ; Sun, 16 Feb 2003 14:51:52 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ED0643F75 for ; Sun, 16 Feb 2003 14:51:51 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id h1GMpk6F002505; Sun, 16 Feb 2003 14:51:46 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id h1GMpj0w002501; Sun, 16 Feb 2003 14:51:45 -0800 Date: Sun, 16 Feb 2003 14:51:45 -0800 From: Brooks Davis To: "JINMEI Tatuya / ?$B?@L@C#:H?(B" Cc: Abdul Basit , net@FreeBSD.ORG, 6bone@mailman.isi.edu Subject: Re: pim6sd crash Message-ID: <20030216145145.A30301@Odin.AC.HMC.Edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jinmei@isl.rdc.toshiba.co.jp on Sun, Feb 16, 2003 at 04:15:51PM +0900 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 16, 2003 at 04:15:51PM +0900, JINMEI Tatuya / ?$B?@L@C#:H?(B wr= ote: > >>>>> On Fri, 14 Feb 2003 17:43:57 +0000 (GMT),=20 > >>>>> Abdul Basit said: >=20 > > on freebsd 5.0-Release, pim6sd crashes if i execute > > ifconfig gifX destroy if it is running in background, > > i need to restart it manually. >=20 > > pim6sd display 'check_vif_state' Device not configured > > and exits. any workaround ? >=20 > A workaround is not to destroy an interface when pim6sd is running on > the interface. >=20 > Note that this kind of trouble is not specific to pim6sd. Dynamic > interface creation/deletion is a big architectural change to the > traditional BSD kernel, and I bet there are many other applications > affected by such an operation. The user of the destroy command of ifconfig is expected to be paying attention. This is the functionaly equivalent of yanking a NIC out of its slot. It is the case that applications that can't handle this are broken and need to be fixed becase you shouldn't count on any interfaces staying around. Virtually everything is on a bus that might be detachable these days. ISA and EISA are pretty much the only exceptions (OK, so we don't actually support hot plug PCI, but that's an implementation defect.) -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+UBX/XY6L6fI4GtQRAmn/AJ9herpxfLzngMDr0sP2ZgP6d7XmnQCg3dwI AL2VG45B7/f7LSbgWV+049Q= =NBfj -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message