Hello again,

Still having problems with this quad nic. Was doing some performance tests
with iperf for 24h and suddendly it stopped answering/forwarding packets on
quad nic interfaces.
I tried a ifconfig down, ifconfig up and still no packets.
Tried to ping from the switch after clearing the arp cache and the arp entry
is loaded but there is no response. With a tcpdump I can see arp packets
being broadcasted but no answer entering the interface.

I have enabled all debugging flags for 'em' driver and I get this:
em2: watchdog timeout -- resetting
em_init: begin
em_stop: begin
free_transmit_structures: begin
free_receive_structures: begin
em_init: pba=40K
em_hardware_init: begin
em_initialize_transmit_unit: begin
Base = 73f1000, Length = 10000

em_set_multi: begin
em_initialize_receive_unit: begin

Shouldn't this reset the nic and fix this ?

I can reproduce the problem much faster after I messed around with if_em.h,
especially this parameter:
#define EM_MAX_TXD                      4096

With 4096, the interface becomes unresponsive a few seconds after I start
iperf tests.

I have tried to apply the following patch:
http://article.gmane.org/gmane.os.openbsd.tech/14134

But still the same. It seems those resets aren't being sent to the nic or
something like that. How can I try to debug this ?
Only way to fix it is to reboot the machine... :(

Thanks,
John

Reply via email to