OpenSolaris

Printable Version Enter a New Search
Bug ID 6812512
Synopsis namespace collision for sockfs kstats
State 11-Closed:Verified (Closed)
Category:Subcategory kernel:sockfs
Keywords cst-multinet-s11
Responsible Engineer Anders Persson
Reported Against snv_110
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_111
Fixed In snv_111
Release Fixed solaris_nevada(snv_111)
Related Bugs 6662959
Submit Date 3-March-2009
Last Update Date 24-June-2009
Description
Upon first reboot after system upgrade the following warning messages can
be reported:

Configuring devices.
WARNING: kstat_create('sockfs', 0, 'socket_2_2_0'): namespace collision
WARNING: kstat_create('sockfs', 0, 'socket_2_1_0'): namespace collision
WARNING: kstat_create('sockfs', 0, 'socket_26_1_0'): namespace collision
WARNING: kstat_create('sockfs', 0, 'socket_24_4_0'): namespace collision

Which is a result of duplicate sockparams being created (the entries are
detected to be duplicates at install time, i.e., after being created, at
which point they are discarded).

The reason why we see duplicates is because the 'devices-local' svc
method attempts to flush all sockparams entries and later reinstall them.
However, when the flush takes place, some of the sockparams are being used
and cannot be removed. The method does not keep track of which sockparams
were successfully removed and so it tries to reinstall all entries. When
the duplicate entries are created, the above message gets printed.
I saw this after doing a new install of snv_110 on an x86 test machine:

SunOS Release 5.11 Version snv_110 64-bit                                       
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.                
Use is subject to license terms.                                               
Broadcom Gb Ethernet v1.02
Hostname: line2-colfax2
Configuring devices.
WARNING: kstat_create('sockfs', 0, 'socket_2_2_0'): namespace collision
WARNING: kstat_create('sockfs', 0, 'socket_2_1_0'): namespace collision
WARNING: kstat_create('sockfs', 0, 'socket_26_1_0'): namespace collision
WARNING: kstat_create('sockfs', 0, 'socket_24_4_0'): namespace collision
Loading smf(5) service descriptions: 216/216
svccfg import warnings. See /var/svc/log/system-manifest-import:default.log .
NIS domain name is sunsoft.eng.sun.com
Reading ZFS config: done.
USB keyboard
Creating new rsa public/private host key pair
Creating new dsa public/private host key pair

line2-colfax2 console login: Mar 12 12:54:44 line2-colfax2 mDNSResponder: Unable to parse DNS server list. Unicast DNS-SD unavailable
Mar 12 12:54:54 line2-colfax2 automount[1375]: nis map auto_master: read OK.
Work Around
N/A
Comments
N/A