NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/42068: fxp address adding or removing causes link changes
The following reply was made to PR kern/42068; it has been noted by GNATS.
From: Gergely =?iso-8859-2?q?G=E1bor?= <elentirmo.gilgalad%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/42068: fxp address adding or removing causes link changes
Date: Wed, 23 Sep 2009 13:02:25 +0200
--nextPart1614143.Zgs0uhzQfL
Content-Type: Text/Plain;
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
Greetings!
I added the code to the apropriate line, noticed, that fxp_init() is hit=20
everytime address is addedor removed. In other words: when the dropping of =
a=20
connection or obtaining of an address happens, i got a nice green kernel=20
message line stating that the code as in the apropriate section.
G=E1bor.
On Tuesday 15 September 2009 18.40.05 Martin Husemann wrote:
> The following reply was made to PR kern/42068; it has been noted by GNATS.
>=20
> From: Martin Husemann <martin%duskware.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
> netbsd-bugs%netbsd.org@localhost
> Subject: Re: kern/42068: fxp address adding or removing causes link chang=
es
> Date: Tue, 15 Sep 2009 18:35:44 +0200
>=20
> On Tue, Sep 15, 2009 at 04:25:00PM +0000,
> elentirmo.gilgalad%gmail.com@localhost=20
wrote:
> > Probably the fxp driver needs to be checked and corrected.
>=20
> Can you please add a printf to the ioctl code in src/sys/dev/ic/i82557.c
> line 221 (at least in -current, maybe slightly offset in netbsd-5) and
> see if it hits the fxp_init() in this block:
>=20
> if (cmd !=3D SIOCADDMULTI && cmd !=3D SIOCDELMULTI)
> ;
> else if (ifp->if_flags & IFF_RUNNING) {
> /*
> * Multicast list has changed; set the
> * hardware filter accordingly.
> */
> while (sc->sc_txpending) {
> sc->sc_flags |=3D FXPF_WANTINIT;
> tsleep(sc, PSOCK, "fxp_init", 0);
> }
> error =3D fxp_init(ifp);
> }
> break;
>=20
> ?
>=20
>=20
> Thanks,
>=20
> Martin
>=20
--nextPart1614143.Zgs0uhzQfL
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (NetBSD)
iEYEABECAAYFAkq6AEEACgkQlZGsj+xzT3mTrQCgnkua7afi29gn+gp1Xqxo6vZb
6VwAoLGsSFKyMoAHQKbTl5U0hCBW8HO+
=h63c
-----END PGP SIGNATURE-----
--nextPart1614143.Zgs0uhzQfL--
Home |
Main Index |
Thread Index |
Old Index