Re: if_re losinbg ability to communicate, even with latest patches

2008-02-29 Thread Christoph Schug
On Thu, Feb 28, 2008, Pete French wrote:

 yesterday I had my first experience of an if_re interface simply stopping
 responding. I ma running 7.0-RELEASE on the machine, but with
 the lates files taken from here:
 
   http://people.freebsd.org/~yongari/re/7.0R/if_re.c
   http://people.freebsd.org/~yongari/re/7.0R/if_rlreg.h

Just wondering whether you disabled any hardware offloadings. I'm
running a RELENG_7/amd64 as of 2008-Feb-22 with the re(4) driver from
the URLs above. As a precaution, I disabled all kinds of hardware
offloadings.

| # grep ^ifconfig_re.= /etc/rc.conf 
| ifconfig_re0=inet x.x.x.x netmask 255.255.255.224 media auto -rxcsum -txcsum 
-tso -lro -vlanhwtag

| # ifconfig re0
| re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
| options=88VLAN_MTU,VLAN_HWCSUM
| ether 00:1d:92:x:x:x
| inet6 fe80::21d:92ff:fexx:%re0 prefixlen 64 scopeid 0x1 
| inet x.x.x.x netmask 0xffe0 broadcast 78.46.41.63
| inet x.x.x.x netmask 0xfff8 broadcast 78.47.124.7
| inet x.x.x.x netmask 0xfff8 broadcast 78.47.124.7
| inet x.x.x.x netmask 0xfff8 broadcast 78.47.124.7
| inet x.x.x.x netmask 0xfff8 broadcast 78.47.124.7
| inet x.x.x.x netmask 0xfff8 broadcast 78.47.124.7
| inet x.x.x.x netmask 0xfff8 broadcast 78.47.124.7
| media: Ethernet autoselect (100baseTX full-duplex)
| status: active

| # pciconf -lv
[...]
| [EMAIL PROTECTED]:2:0:0: class=0x02 card=0x368c1462 chip=0x816810ec 
rev=0x01 hdr=0x00
| vendor = 'Realtek Semiconductor'
| device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
| class  = network
| subclass   = ethernet
[...]

After almost one week uptime, the machine is still stable. Before it
started lossing packets after very few hours uptime. I'm wondering if
this is related to the options I disabled, so I'm interested in your
settings.

-cs

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_re losinbg ability to communicate, even with latest patches

2008-02-29 Thread Pete French
 running a RELENG_7/amd64 as of 2008-Feb-22 with the re(4) driver from
 the URLs above. As a precaution, I disabled all kinds of hardware
 offloadings.

...and it is stable for you ? I will defintely go and turn these off in
that case! Also, I note your are runnign RELENG_7 and not RELENG_7_0 - any
idea what changes there might have been in that ?

One of the things I thought about trying was enabling polling, and also
possibly turning off MSI and going back to regular interrupts. But
these are just wild stabs in the dark as I am assuming that it is losing
connectivity due to it losing signaling back to the kernel somehow. WHich
is a total guess.

 After almost one week uptime, the machine is still stable. Before it
 started lossing packets after very few hours uptime. I'm wondering if
 this is related to the options I disabled, so I'm interested in your
 settings.

This is extermely interesting! I have applied those settings by hand just
now, and will see if it helps. Not quite sure how to get them
into rc.conf yet - I am using ipv4_addrs_re0=195.144.8.6/28 195.144.8.4/28
and am not sure how an ifconfig_re0 line might interact with it as yet. 
I dont want to edit rc.conf in case it reboots...

-pete.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_re losinbg ability to communicate, even with latest patches

2008-02-29 Thread Christoph Schug
On Fri, Feb 29, 2008, Pete French wrote:

 ...and it is stable for you ? I will defintely go and turn these off in
 that case! Also, I note your are runnign RELENG_7 and not RELENG_7_0 - any
 idea what changes there might have been in that ?

Up to I haven't encountered a real show stopper beside the re(4) issues
which seem to be fixed at least for my configuration. Nevertheless all
those minor glitches which come with a new major release will hopefully
be fixed sooner in RELENG_7 than RELENG_7_0. That's the reasone why I
don't track RELENG_7_0, but up to now there should be much difference
anyway. I think I will track RELENG_7 til RELENG_7_1 will be branched.

 This is extermely interesting! I have applied those settings by hand just
 now, and will see if it helps. Not quite sure how to get them
 into rc.conf yet - I am using ipv4_addrs_re0=195.144.8.6/28 195.144.8.4/28
 and am not sure how an ifconfig_re0 line might interact with it as yet. 
 I dont want to edit rc.conf in case it reboots...

Should be oka, to put your primary IP address and the interface options
in an 'ifconfig_re0' line and to add additional IPs to the interface
using a 'ipv4_addrs_re0' line. At least I've tested it on a VMware and
it seems to work just fine.

-cs

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


if_re losinbg ability to communicate, even with latest patches

2008-02-28 Thread Pete French
yesterday I had my first experience of an if_re interface simply stopping
responding. I ma running 7.0-RELEASE on the machine, but with
the lates files taken from here:

http://people.freebsd.org/~yongari/re/7.0R/if_re.c
http://people.freebsd.org/~yongari/re/7.0R/if_rlreg.h

Luckily I had worried about tis and have set the machine up to reboot
if it suspects that it';s netowkring is down, so twelve hours later it
did so and I can login again. Is there anythign useful I can get out
of the logs to try and work out what the problem is though ? A I see
lots of messages in the log like this:

error sending response: not enough free resources

but I am assuming that this is due to the ether stall, not the cause of
it. Would enabling polling on the interface help ? (i.e. is this possiblky
a lost interrupt issue?).

All advice welcome...

-pete.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_re losinbg ability to communicate, even with latest patches

2008-02-28 Thread Pyun YongHyeon
On Thu, Feb 28, 2008 at 02:34:01PM +, Pete French wrote:
  yesterday I had my first experience of an if_re interface simply stopping
  responding. I ma running 7.0-RELEASE on the machine, but with
  the lates files taken from here:
  
   http://people.freebsd.org/~yongari/re/7.0R/if_re.c
   http://people.freebsd.org/~yongari/re/7.0R/if_rlreg.h
  
  Luckily I had worried about tis and have set the machine up to reboot
  if it suspects that it';s netowkring is down, so twelve hours later it
  did so and I can login again. Is there anythign useful I can get out
  of the logs to try and work out what the problem is though ? A I see
  lots of messages in the log like this:
  
  error sending response: not enough free resources
  
  but I am assuming that this is due to the ether stall, not the cause of
  it. Would enabling polling on the interface help ? (i.e. is this possiblky
  a lost interrupt issue?).
  

Any other console messages printed from re(4)?

Show me both verbosed boot messages related with re(4) and
'vmstat -i' output.

  All advice welcome...
  
  -pete.

-- 
Regards,
Pyun YongHyeon
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]