Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2003 14:51:45 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        "JINMEI Tatuya / ?$B?@L@C#:H?(B" <jinmei@isl.rdc.toshiba.co.jp>
Cc:        Abdul Basit <basit@basit.cc>, net@FreeBSD.ORG, 6bone@mailman.isi.edu
Subject:   Re: pim6sd crash
Message-ID:  <20030216145145.A30301@Odin.AC.HMC.Edu>
In-Reply-To: <y7vlm0gy9ug.wl@ocean.jinmei.org>; from jinmei@isl.rdc.toshiba.co.jp on Sun, Feb 16, 2003 at 04:15:51PM %2B0900
References:  <Pine.BSF.4.53.0302141741490.18936@wireless.cs.twsu.edu> <y7vlm0gy9ug.wl@ocean.jinmei.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <basit@basit.cc> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030216145145.A30301>