Re: IPv6 regression on 8.x

2009-09-02 Thread Hiroki Sato
"Li, Qing"  wrote
  in 
:

qi> Hi Hiroki,
qi>
qi> >
qi> >  2) Issue of subnet-router anycast address with a global address
qi> >
qi> >  Thanks for the fixes!  With the two patches 1) and 3) are gone, but
qi> >  2) still remains.  Is there something I can help to narrow down it?
qi> >
qi>
qi> Hmm... I tried multiple test cases and all seem to work as expected.
qi> I also tried the exact configuration sequence as you outlined in your
qi> original bug report email, and that case worked, too.
qi>
qi> The only difference I can see from the given information, is I have
qi> 3 em interfaces, whereas you have 2 em interfaces and 1 re, but I
qi> don't see how that would make a difference.

 I think reproduction of the case 2) needs two boxes.  One has two
 NICs and another has one NIC, and the three NICs are connected with a
 subnet independent from each other.

 Anyway, I will try the a-box-with-three-NICs case when I return home
 today.  I didn't try it.

qi> Would it be possible for you to email me your system configuration
qi> produced from "ifconfig" and "netstat" privately ?

 Sure.  I will send them to you later.

-- Hiroki


pgphMskZ7sQJy.pgp
Description: PGP signature


Re: ath0: ath_rx_proc: no mbuf!

2009-09-02 Thread Stef Walter
Stef Walter wrote:
> A short while ago (perhaps due to a change in traffic), every few hours,
> the wireless interface becomes unresponsive, and I started seeing
> thousands of lines like this in:
> 
> ath0: ath_rx_proc: no mbuf!
> ath0: ath_rx_proc: no mbuf!
> ath0: ath_rx_proc: no mbuf!
> ath0: ath_rx_proc: no mbuf!
> ath0: ath_rx_proc: no mbuf!

For the record. It was a hardware problem.

Cheers,

Stef

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


toggle short / long preamble with hostapd

2009-09-02 Thread Sin
Hello,


Does anyone know how to enable short preamble in 7-STABLE ?

I'm using ath with hostapd in ap mode.  It seems there was an option in 
hostapd.conf, but this is not in FreeBSD's 
/usr/share/examples/hostapd/hostapd.conf


The missing hostapd.conf option was found in google:

# Short Preamble
# This parameter can be used to enable optional use of short preamble for
# frames sent at 2 Mbps, 5.5 Mbps, and 11 Mbps to improve network performance.
# This applies only to IEEE 802.11b-compatible networks and this should only be
# enabled if the local hardware supports use of short preamble. If any of the
# associated STAs do not support short preamble, use of short preamble will be
# disabled (and enabled when such STAs disassociate) dynamically.
# 0 = do not allow use of short preamble (default)
# 1 = allow use of short preamble
#preamble=1


my version of hostapd is " v0.5.10 " - I was not able to set this option


hostapd.conf:

interface=ath0
#preamble=1
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=private
wpa=1
wpa_passphrase=apassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP



rc.conf:

hostapd_enable="YES"
ifconfig_ath0="mode 11g hidessid mediaopt hostap"



ifconfig ath0:

ath0: flags=8943 metric 0 mtu 
1500
ether 00:17:9a:4c:e7:83
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g 
status: associated
ssid private channel 1 (2412 Mhz 11g) bssid 00:17:9a:4c:e7:83
authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit TKIP 3:128-bit
txpower 31.5 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
roam:rssi11g 7 roam:rate11g 5 protmode CTS burst hidessid dtimperiod 1
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: toggle short / long preamble with hostapd

2009-09-02 Thread Sam Leffler

Sin wrote:

Hello,


Does anyone know how to enable short preamble in 7-STABLE ?

I'm using ath with hostapd in ap mode.  It seems there was an option in 
hostapd.conf, but this is not in FreeBSD's 
/usr/share/examples/hostapd/hostapd.conf


The missing hostapd.conf option was found in google:

# Short Preamble
# This parameter can be used to enable optional use of short preamble for
# frames sent at 2 Mbps, 5.5 Mbps, and 11 Mbps to improve network performance.
# This applies only to IEEE 802.11b-compatible networks and this should only be
# enabled if the local hardware supports use of short preamble. If any of the
# associated STAs do not support short preamble, use of short preamble will be
# disabled (and enabled when such STAs disassociate) dynamically.
# 0 = do not allow use of short preamble (default)
# 1 = allow use of short preamble
#preamble=1


my version of hostapd is " v0.5.10 " - I was not able to set this option


On freebsd hostapd is _purely_ an authenticator; to configure 802.11 
parameters you use ifconfig.





hostapd.conf:

interface=ath0
#preamble=1
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=private
wpa=1
wpa_passphrase=apassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP



rc.conf:

hostapd_enable="YES"
ifconfig_ath0="mode 11g hidessid mediaopt hostap"



ifconfig ath0:

ath0: flags=8943 metric 0 mtu 
1500
ether 00:17:9a:4c:e7:83
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g 
status: associated
ssid private channel 1 (2412 Mhz 11g) bssid 00:17:9a:4c:e7:83
authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit TKIP 3:128-bit
txpower 31.5 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
roam:rssi11g 7 roam:rate11g 5 protmode CTS burst hidessid dtimperiod 1


In ap mode you should not manually configure preamble; it should be 
selected according to the associated stations.  What are you trying to 
accomplish?


Sam
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: toggle short / long preamble with hostapd

2009-09-02 Thread Sin

Sam,

Basically I have a dlink WBR-1310 thats in bridge mode connected to my 
current BSD router ( 6.3)  I'm trying to replace this 1310 product with 
FreeBSD 7.   The last problem i'm dealing with is poor preformance.   When I 
use my current BSD 7 setup it works, but ping times from client to another 
or even to the access point are bad.  100 - 400ms round trip.I had this 
exact problem with the 1310.  The fix was to change from long to short 
preable.   Been fine ever since.


I used three computers to prove this before emailing.   Just swapping the 
1310 for the 7-STABLE corrects this.   The 1310 uses g only mode with short 
preamble getting less then 5ms ping times to each client and host and 
vice-versa


I realize that hostapd.conf is just for the encryption.  However ifconfig 
and ath man pages do not talk about this setting.



- Original Message - 
From: "Sam Leffler" 

To: "Sin" 
Cc: 
Sent: Wednesday, September 02, 2009 11:16 AM
Subject: Re: toggle short / long preamble with hostapd



Sin wrote:

Hello,


Does anyone know how to enable short preamble in 7-STABLE ?

I'm using ath with hostapd in ap mode.  It seems there was an option in 
hostapd.conf, but this is not in FreeBSD's 
/usr/share/examples/hostapd/hostapd.conf



The missing hostapd.conf option was found in google:

# Short Preamble
# This parameter can be used to enable optional use of short preamble for
# frames sent at 2 Mbps, 5.5 Mbps, and 11 Mbps to improve network 
performance.
# This applies only to IEEE 802.11b-compatible networks and this should 
only be
# enabled if the local hardware supports use of short preamble. If any of 
the
# associated STAs do not support short preamble, use of short preamble 
will be

# disabled (and enabled when such STAs disassociate) dynamically.
# 0 = do not allow use of short preamble (default)
# 1 = allow use of short preamble
#preamble=1


my version of hostapd is " v0.5.10 " - I was not able to set this option


On freebsd hostapd is _purely_ an authenticator; to configure 802.11 
parameters you use ifconfig.





hostapd.conf:

interface=ath0
#preamble=1
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=private
wpa=1
wpa_passphrase=apassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP



rc.conf:

hostapd_enable="YES"
ifconfig_ath0="mode 11g hidessid mediaopt hostap"



ifconfig ath0:

ath0: flags=8943 metric 0 
mtu 1500

ether 00:17:9a:4c:e7:83
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g 
status: associated
ssid private channel 1 (2412 Mhz 11g) bssid 00:17:9a:4c:e7:83
authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit TKIP 
3:128-bit

txpower 31.5 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
roam:rssi11g 7 roam:rate11g 5 protmode CTS burst hidessid 
dtimperiod 1


In ap mode you should not manually configure preamble; it should be 
selected according to the associated stations.  What are you trying to 
accomplish?


Sam



___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: IPv6 regression on 8.x

2009-09-02 Thread Hiroki Sato
Hiroki Sato  wrote
  in <20090902.155958.08019398@allbsd.org>:

hr>  Anyway, I will try the a-box-with-three-NICs case when I return home
hr>  today.  I didn't try it.

 Okay, I tried the case of all of NICs on a host and confirmed it
 works fine.

hr>
hr> qi> Would it be possible for you to email me your system configuration
hr> qi> produced from "ifconfig" and "netstat" privately ?
hr>
hr>  Sure.  I will send them to you later.

The results of ifconfig and netstat are the following.  These are by
another configuration from one I sent in the previous email, but the
symptom is still reproducible:

box-A (RELENG_7):

re0: flags=8843 metric 0 mtu 1500
ether 00:26:18:41:64:1a
inet6 fe80::226:18ff:fe41:641a%re0 prefixlen 64 scopeid 0x2
inet6 2001:db8:1::6 prefixlen 64

Destination   Gateway   Flags  
Netif Expire
::/96 ::1   UGRSlo0 
=>
default   fe80::21a:6dff:feb9:fd1b%ng1  UGS ng1
::1   ::1   UHL lo0
:::0.0.0.0/96 ::1   UGRSlo0
2001:db8:1::  00:13:a9:ff:63:e6 UHLWre0 
=>
2001:db8:1::/64   link#2UC  re0
2001:db8:1::1 00:13:a9:ff:63:e6 UHLWre0
2001:db8:1::6 00:26:18:41:64:1a UHL lo0

box-B (CURRENT):

msk0: flags=8843 metric 0 mtu 1500
ether 00:13:a9:ff:63:e6
inet6 fe80::213:a9ff:feff:63e6%msk0 prefixlen 64 scopeid 0x1
inet6 2001:db8:1:: prefixlen 64 anycast

gif0: flags=8011 metric 0 mtu 1280
inet6 2001:db8:2::1 prefixlen 64
inet6 fe80::213:a9ff:feff:63e6%gif0 prefixlen 64 scopeid 0x7

Destination   Gateway   Flags  
Netif Expire
::/96 ::1   UGRSlo0 
=>
default   fe80::214:1bff:fe39:281a%msk0 UG msk0
::1   ::1   UH  lo0
:::0.0.0.0/96 ::1   UGRSlo0
2001:db8:1::  link#5UHS lo0 
=>
2001:db8:1::/64   link#1U  msk0
2001:db8:2::/64   link#7U  gif0
2001:db8:2::1 link#5UHS lo0
fe80::/10 ::1   UGRSlo0
fe80::%msk0/64link#1U  msk0
fe80::213:a9ff:feff:63e6%msk0 link#5UHS lo0
fe80::%lo0/64 link#5U   lo0
fe80::%gif0/64link#7U  gif0
fe80::213:a9ff:feff:63e6%gif0 link#5UHS lo0
ff01:1::/32   fe80::213:a9ff:feff:63e6%msk0 U  msk0
ff01:5::/32   ::1   U   lo0
ff01:7::/32   2001:db8:2::1 U  gif0
ff02::/16 ::1   UGRSlo0
ff02::%msk0/32fe80::213:a9ff:feff:63e6%msk0 U  msk0
ff02::%lo0/32 ::1   U   lo0
ff02::%gif0/322001:db8:2::1 U  gif0

 When doing "ping6 2001:db8:1::" from box-A, the source address becomes
 2001:db8:1::6 (this is correct) and a link-local address on msk0 on
 box-B replies.

-- Hiroki


pgpGaUieY3pFu.pgp
Description: PGP signature


Re: kern/134658: [bce] bce driver fails on PowerEdge m610 blade.

2009-09-02 Thread Steven Hartland

Any news on the driver update for 5709S yet Dave?

   Regards
   Steve
- Original Message - 
From: "Steven Hartland" 



Thanks for the update David, if there is anything we can do
to help let us know.

   Regards
   Steve

- Original Message - 
From: "David Christensen" 


Anyone point me in the right direction on how to add the phy 
to support these machine?


Seems like its just a matter of adding the PHY details to 
miidevs but how do I find out the specifics of that?


Sorry, this is the 5709S and I haven't had an opportunity to
implement this PHY yet.  Unfortunately it's more than just a
change to miidevs since the SerDes is actually an IEEE clause
45 compliant device (instead of the more common Clause 22 
devices found in 1GbE controllers).  The registers are 
diffrerent so the effort is more substantial.  No estimate
yet on when I can get to it.  


Dave



This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"