Re: kern/73038: if_sk.c seems to need IFF_NEEDSGIANT on 5.3-BETA/RC1

From: Hans Lambermont <hans_at_lambermont.dyndns.org>
Date: Thu, 11 Nov 2004 14:46:10 +0100
if_sk.c problem remains

I tested the SK_LOCK(sc_if->sk_softc); / SK_UNLOCK(sc_if->sk_softc);
patch of Peter Edwards from
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern%2F73038 , it helps a
bit, but does not solve my sk0 problems.

I tested on 5.3-RELEASE, using two ASUS P4P800-E motherboards. They have:

skc0: <Marvell Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfeaf8000-0xfeafbfff irq 22 at device 5.0 on pci2
skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:11:2f:98:06:2e

I first tried with debug.mpsafenet="0" in /boot/loader.conf, this did
not help.

Then I removed debug.mpsafenet and tried Peter's patch on a stock
GENERIC kernel. Now dhclient at least gets a lease during boot, but a
big ftp transfer (700 MB) starts with ~10 MB/s, then quickly drops down
to kB/s range and eventually stalls and is unable to reconnect.

Re-enabling debug.mpsafenet lets the ftp session run a few seconds
longer at full speed, but ends with the same stalled state.

What shall I try next ?

regards,
   Hans
-- 
http://lambermont.webhop.org/ () ASCII-ribbon campaign against vCards,
                              /\ HTML-mail and proprietary formats.
Received on Thu Nov 11 2004 - 12:46:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:21 UTC