Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2005 20:52:26 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-stable@freebsd.org
Cc:        Martin Minkus <diskiller@diskiller.net>
Subject:   Re: FW: 5.3-Stable network issue
Message-ID:  <200502112052.36561.max@love2party.net>
In-Reply-To: <6.2.1.2.0.20050211125717.053a5bf0@64.7.153.2>
References:  <BE3174EB.18AC8%diskiller@diskiller.net> <BE332F4F.18B93%diskiller@diskiller.net> <6.2.1.2.0.20050211125717.053a5bf0@64.7.153.2>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart4237335.cgYpkrtgYy
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Friday 11 February 2005 19:02, Mike Tancsa wrote:
> At 12:28 PM 11/02/2005, Martin Minkus wrote:
> >Is there some coincidence that rl1 is at irq 11 and is the card that has
> >problems?
> >
> >diablo:/usr/src# dmesg |grep 11
> >Timecounter "i8254" frequency 1193182 Hz quality 0
> >pci_cfgintr: 0:11 INTA BIOS irq 11
> >pci_cfgintr: 0:7 INTD routed to irq 11
> >rl1: <RealTek 8139 10/100BaseTX> port 0xe800-0xe8ff mem
> >0xd7001000-0xd70010ff irq 11 at device 11.0 on pci0
> >diablo:/usr/src#
>
> Hi,
>          There were a couple of postings about the Realtek cards having
> "slowness" problems and such. Did you try the patch that was posted ?
>
>
> Index: if_rl.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /usr/store/mlaier/fcvs/src/sys/pci/if_rl.c,v
> retrieving revision 1.145
> diff -u -r1.145 if_rl.c
> --- if_rl.c     9 Aug 2004 20:22:17 -0000       1.145
> +++ if_rl.c     30 Jan 2005 18:24:23 -0000
> @@ -964,7 +964,7 @@
>   #endif
>          ifp->if_capenable =3D ifp->if_capabilities;
>          IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
> -       ifp->if_snd.ifq_drv_maxlen =3D IFQ_MAXLEN;
> +       ifp->if_snd.ifq_drv_maxlen =3D 0;
>          IFQ_SET_READY(&ifp->if_snd);
>
>          callout_handle_init(&sc->rl_stat_ch);

This is no longer the right fix.  It was confirmed that the patch in=20
kern/61448, which I recently committed to HEAD, works (better).  Please sta=
y=20
away from the patch above as it is a hack.  If nothing else helps - however=
 -=20
please send me a HEADSUP!  There is also another rl(4) PR: kern/63190 which=
 I=20
haven't heard back from, yet.

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart4237335.cgYpkrtgYy
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCDQ0EXyyEoT62BG0RAu+9AJ4l27RhlEV2TaMED2YZ69uXB1otkgCfVBZu
Q7QlkLzPJZGK1mxwRdTP6qQ=
=VZ7l
-----END PGP SIGNATURE-----

--nextPart4237335.cgYpkrtgYy--



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