> sorry I missed the attachment in the original question-
> ip_select_source_v4 in the attachment is returning EADDRNOTAVAIL.
> Is "0xffffff01cde9fea8" the "ill" argument? What is the state 
> of this interface (you can find out by doing 
> "echo 0xffffff01cde9fea8::ill -v| mdb -k" and
> "echo ::ipif -v|mdb -k")

I saw it again, and have some more clues about the conditions
under which this normally appears, which are:  a machine with
multiple network interfaces, and using nwam.

Out of curiosity, I tried on another similar machine with
two NICs (nge0, nge1) where nwam is not in use, and found
no problems.  Then I did "ifconfig nge1 plumb"; again no
problem, then "ifconfig nge1 up" and _bingo_ bug!  But -
the error 128 condition only lasts for a few minutes!
I can make it come back by: ifconfig nge1 down; ... up;

If you want to try to reproduce this, just do:
  smbutil lookup anything

Assuming you want the "ill" returned by ire_nexthop_ill
just before the error 126 return, here's the data:

# mdb -k
Loading modules: [ ... ]
> 0xffffff04daa48ea8 ::ill -v
ADDR             NAME     VER TYPE       WQ               IPST             
FLAGS     
PHYINT            CNT     GROUP           
                                                                                
ffffff04daa48ea8 nge1     v4  ETHER      ffffff04d8e15640 ffffff0463618000 
MULTICAST
ffffff04b0c0cc88    5     0               
                    |
                    +-->   0 ill_refcnt         references from active threads
                           3 ill_ire_cnt        ires referencing this ill
                           1 ill_nce_cnt        nces referencing this ill
                           1 ill_ncec_cnt       ncecs referencing this ill
                           0 ill_ilm_cnt        ilms referencing this ill
> ::ipif -v
ADDR             NAME       CNT ILL              STFLAGS  
FLAGS                         
LCLADDR
BROADCAST
                                                                                
ffffff04695e8928 lo0          0 ffffff04686c7c88          
UP,ADR                        
                              |
                              +--->    0 ipif_refcnt    
 Active consistent reader cnt
127.0.0.1/8
0.0.0.0
ffffff0469a42538 nge0         0 ffffff046cedec28          
UP,ADR                        
                              |
                              +--->    0 ipif_refcnt    
 Active consistent reader cnt
192.168.1.40/24
192.168.1.255
ffffff0763f89c60 nge1         0 ffffff04daa48ea8          
UP,ADR                        
                              |
                              +--->    0 ipif_refcnt    
 Active consistent reader cnt         
0.0.0.0/8
0.0.0.0
ffffff0469a392a0 vboxnet0     0 ffffff046cede8a8          
UP,ADR                        
                              |
                              +--->    0 ipif_refcnt    
 Active consistent reader cnt
192.168.56.1/24
192.168.56.255
ffffff04695e84c8 lo0          0 ffffff04686c6788          
UP,ADR                        
                              |
                              +--->    0 ipif_refcnt    
 Active consistent reader cnt
::1/128
::
> 
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to