FW: 5.3-Stable network issue

Max Laier max at love2party.net
Fri Feb 11 11:52:43 PST 2005


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
> ===================================================================
> 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 = ifp->if_capabilities;
>          IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
> -       ifp->if_snd.ifq_drv_maxlen = IFQ_MAXLEN;
> +       ifp->if_snd.ifq_drv_maxlen = 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 
kern/61448, which I recently committed to HEAD, works (better).  Please stay 
away from the patch above as it is a hack.  If nothing else helps - however - 
please send me a HEADSUP!  There is also another rl(4) PR: kern/63190 which I 
haven't heard back from, yet.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050211/0f86b7da/attachment.bin


More information about the freebsd-stable mailing list