From nobody@FreeBSD.org  Mon Nov 12 09:46:08 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 96B9916A41B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Nov 2007 09:46:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8541F13C4BD
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Nov 2007 09:46:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lAC9jgHC013388
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Nov 2007 09:45:42 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id lAC9jgXD013387;
	Mon, 12 Nov 2007 09:45:42 GMT
	(envelope-from nobody)
Message-Id: <200711120945.lAC9jgXD013387@www.freebsd.org>
Date: Mon, 12 Nov 2007 09:45:42 GMT
From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: rtadvd doesn't work
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         117999
>Category:       bin
>Synopsis:       rtadvd(8) doesn't work
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 12 09:50:01 UTC 2007
>Closed-Date:    Sat Jan 26 09:41:39 UTC 2008
>Last-Modified:  Sat Jan 26 09:41:39 UTC 2008
>Originator:     Wojciech Puchar
>Release:        6.2p7
>Organization:
TENSOR ap
>Environment:
FreeBSD helnet.pl 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Mon Sep  3 15:59:49 CEST 2007     root@helnet.pl:/usr/src/sys/amd64/compile/helnet.pl  amd64
>Description:
rtadvd just doesn't work - i mean don't broadcast packets.
when stopped,started and in between (when it have to send packet) it says in
logs:
 rtadvd[68836]: <ra_output> sendmsg on em0: Network is down

network isn't down!

system is uptime for 40 days serving all services through em0 for local users over IPv4.

IPv6 works and is configured - but just rtadvd doesn't

tcpdump shows rtadvd doesn't send any packets


rtadvd DOES WORK on my other systems.

problem is interface (only here i have em interface) or something else dependent.


ifconfig em0:
em0: flags=88843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,STATICARP> mtu 1500
        options=4b<RXCSUM,TXCSUM,VLAN_MTU,POLLING>
        inet6 fe80::21b:21ff:fe00:9e16%em0 prefixlen 64 duplicated scopeid 0x1 
        inet 10.254.1.248 netmask 0xfffffc00 broadcast 10.254.3.255
        inet 10.254.1.232 netmask 0xfffffc00 broadcast 10.254.3.255
        inet6 2001:4070:101:1::2 prefixlen 64 
        inet6 2001:4070:101:1::3 prefixlen 64 
        inet6 2001:4070:101:1::4 prefixlen 64 
        ether 00:1b:21:00:9e:16
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active



>How-To-Repeat:
add
rtadvd_enable="YES"
rtadvd_interfaces="em0"

and /etc/rc.d/rtadvd start


>Fix:
NO IDEA! please give me a hint i need rtadvd running

>Release-Note:
>Audit-Trail:

From: Bruce Cran <bruce@cran.org.uk>
To: bug-followup@FreeBSD.org, wojtek@wojtek.tensor.gdynia.pl
Cc:  
Subject: Re: bin/117999: rtadvd(8) doesn't work
Date: Sat, 26 Jan 2008 01:14:03 +0000

 There's something about the system that rtadvd is having trouble working 
 out.  The 'duplicated' flag on the link-local address stands out as 
 being unusual.  The output of the following commands might be useful:
 
 netstat -rn
 ndp -n -a
 
 Running rtadvd manually with debugging enabled ("rtadvd -d em0") might 
 show where the problem is.
 
 --
 Bruce

From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To: Bruce Cran <bruce@cran.org.uk>
Cc: bug-followup@FreeBSD.org
Subject: Re: bin/117999: rtadvd(8) doesn't work
Date: Sat, 26 Jan 2008 09:22:55 +0100 (CET)

 > There's something about the system that rtadvd is having trouble working out. 
 > The 'duplicated' flag on the link-local address stands out as being unusual. 
 > The output of the following commands might be useful:
 >
 > netstat -rn
 > ndp -n -a
 >
 > Running rtadvd manually with debugging enabled ("rtadvd -d em0") might show 
 > where the problem is.
 >
 > --
 > Bruce
 >
 >
 indeed - something was wrong in this system but i don't know why. 2 weeks 
 after i posted this the system was restarted because of power failure, and 
 ... started to work fine.
 
 sorry for forgetting sending information about this. it is ok.
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Jan 26 09:41:28 UTC 2008 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117999 
>Unformatted:
