accepting rtadv broken on 9-STABLE, re driver?

2012-01-06 Thread Mark Felder

Hi guys,

I upgraded my desktop at work just around christmas to 9-PRERELEASE builds  
and ipv6 has been broken since then. I've been too busy at work to fix it  
but today I finally had the chance to figure it out.


Currently I'm running:

12:11:15 tech304:~  uname -a
FreeBSD tech304.office.supranet.net 9.0-STABLE FreeBSD 9.0-STABLE #2  
r229703M: Fri Jan  6 11:01:58 CST 2012  
r...@tech304.office.supranet.net:/usr/obj/tank/svn/sys/GENERIC  amd64


and my ipv6 is not working. In rc.conf I have  
ipv6_enable_all_interfaces=YES which sets the link local and I had  
net.inet6.ip6.accept_rtadv=1 in sysctl.conf. I can confirm that it was  
indeed activated in sysctl, but ifconfig didn't think so:


re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500

options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
ether d0:67:e5:17:e1:32
inet6 fe80::d267:e5ff:fe17:e132%re0 prefixlen 64 scopeid 0x2
inet 192.168.93.23 netmask 0xff00 broadcast 192.168.93.255
nd6 options=23PERFORMNUD,AUTO_LINKLOCAL## Where's the  
ACCEPT_RTADV???

media: Ethernet autoselect (100baseTX full-duplex)
status: active

I have to manually do

# ifconfig re0 inet6 accept_rtadv

to get it to work. Am I missing something? Grepping /etc/rc.d/ for rtadv  
finds no clues. Is this broken for everyone, for the re driver, or am I  
just crazy?



Here's pciconf for the device -- let me know if any further info would be  
useful:


re0@pci0:4:0:0: class=0x02 card=0x04f51028 chip=0x816810ec rev=0x06  
hdr=0x00

vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
class  = network
subclass   = ethernet




Thanks,



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


Re: accepting rtadv broken on 9-STABLE, re driver?

2012-01-06 Thread Sergey Kandaurov
On 6 January 2012 22:19, Mark Felder f...@feld.me wrote:
 Hi guys,


Hi,

 I upgraded my desktop at work just around christmas to 9-PRERELEASE builds
 and ipv6 has been broken since then. I've been too busy at work to fix it
 but today I finally had the chance to figure it out.

 Currently I'm running:

 12:11:15 tech304:~  uname -a
 FreeBSD tech304.office.supranet.net 9.0-STABLE FreeBSD 9.0-STABLE #2
 r229703M: Fri Jan  6 11:01:58 CST 2012
 r...@tech304.office.supranet.net:/usr/obj/tank/svn/sys/GENERIC  amd64

 and my ipv6 is not working. In rc.conf I have
 ipv6_enable_all_interfaces=YES which sets the link local and I had

You mean ipv6_activate_all_interfaces=YES ?

 net.inet6.ip6.accept_rtadv=1 in sysctl.conf. I can confirm that it was
 indeed activated in sysctl, but ifconfig didn't think so:

 re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500

  options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
        ether d0:67:e5:17:e1:32
        inet6 fe80::d267:e5ff:fe17:e132%re0 prefixlen 64 scopeid 0x2
        inet 192.168.93.23 netmask 0xff00 broadcast 192.168.93.255
        nd6 options=23PERFORMNUD,AUTO_LINKLOCAL    ## Where's the
 ACCEPT_RTADV???
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active

 I have to manually do

 # ifconfig re0 inet6 accept_rtadv

 to get it to work. Am I missing something? Grepping /etc/rc.d/ for rtadv
 finds no clues. Is this broken for everyone, for the re driver, or am I just
 crazy?

What is in your rc.conf? Do you have inet6 accept_rtadv keyword in it?
IIRC it should be enough to specify ifconfig_re0_ipv6=inet6 accept_rtadv
without additional tweaks. Consult with rc.conf(5).

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


USENIX ATC '12 Submission Deadline Approaching

2012-01-06 Thread Lionel Garth Jones
We're writing to remind you that the submission deadline for the 2012
USENIX Annual Technical Conference (USENIX ATC '12) is approaching.
Please register your paper titles and abstracts by Tuesday, January 10,
2012. Complete papers are due Tuesday, January 17, 2012.

http://www.usenix.org/atc12/cfpb/

We seek high-quality submissions that further the knowledge and
understanding of modern computing systems, with an emphasis on
implementations and experimental results. We encourage papers that break
new ground, present insightful results based on practical experience
with computer systems, or are important, independent
reproductions/refutations of the experimental results of prior work.

USENIX ATC has a broad scope, and specific topics of interest include
but are not limited to:

* Architectural interaction
* Cloud computing
* Deployment experience
* Distributed and parallel systems
* Embedded systems
* Energy/power management
* File and storage systems
* Mobile, wireless, and sensor systems
* Networking and network services
* Operating systems
* Reliability, availability, and scalability
* Security, privacy, and trust
* System and network management and troubleshooting
* Usage studies and workload characterization
* Virtualization

For more details on the submission process, please see the complete
Call for Papers at http://www.usenix.org/atc12/cfpb/

We look forward to your submissions.

Gernot Heiser, NICTA and University of New South Wales
Wilson Hsieh, Google
USENIX ATC '12 Program Co-Chairs
atc12cha...@usenix.org

---
Call for Papers
2012 USENIX Annual Technical Conference
June 13-15, 2012, Boston, MA
http://www.usenix.org/atc12/cfpb/
Paper titles and abstracts due: January 10, 2012, 11:59 p.m. EST
Complete paper submissions due: January 17, 2012, 11:59 p.m. EST
---
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: accepting rtadv broken on 9-STABLE, re driver?

2012-01-06 Thread Mark Felder
On Fri, 06 Jan 2012 12:49:45 -0600, Sergey Kandaurov pluk...@gmail.com  
wrote:




You mean ipv6_activate_all_interfaces=YES ?

Yes... Unfortunately that's what I get for typing it manually and being  
distracted at the time. :-)



What is in your rc.conf? Do you have inet6 accept_rtadv keyword in it?
IIRC it should be enough to specify ifconfig_re0_ipv6=inet6  
accept_rtadv

without additional tweaks. Consult with rc.conf(5).



I figured I would end up putting that in rc.conf as a temporary fix, but  
maybe that's just the long term solution. It seems so odd to me that the  
sysctl change doesn't automatically cause the ACCEPT_RTADV option to show  
up for re0, but it does for vboxnet0. Perhaps there should be a cleaner  
way to do this in rc.conf like how we do ifconfig_re0=DHCP ?



Thanks,


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


Re: accepting rtadv broken on 9-STABLE, re driver?

2012-01-06 Thread Doug Barton
Looping in hrs@ because he's the author of those changes.

On 01/06/2012 11:35, Mark Felder wrote:
 On Fri, 06 Jan 2012 12:49:45 -0600, Sergey Kandaurov pluk...@gmail.com
 wrote:
 

 You mean ipv6_activate_all_interfaces=YES ?

 Yes... Unfortunately that's what I get for typing it manually and being
 distracted at the time. :-)
 
 What is in your rc.conf? Do you have inet6 accept_rtadv keyword in it?
 IIRC it should be enough to specify ifconfig_re0_ipv6=inet6
 accept_rtadv
 without additional tweaks. Consult with rc.conf(5).

 
 I figured I would end up putting that in rc.conf as a temporary fix, but
 maybe that's just the long term solution. It seems so odd to me that the
 sysctl change doesn't automatically cause the ACCEPT_RTADV option to
 show up for re0, but it does for vboxnet0. Perhaps there should be a
 cleaner way to do this in rc.conf like how we do ifconfig_re0=DHCP ?




-- 

You can observe a lot just by watching. -- Yogi Berra

Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price.  :)  http://SupersetSolutions.com/

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