OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » networking » discuss

Thread: snv_111 - no network, network/routing/ndp:default doesn't start

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 9 - Last Post: Apr 22, 2009 9:14 AM by: gwr
gwr

Posts: 192
From: US

Registered: 7/7/06
snv_111 - no network, network/routing/ndp:default doesn't start
Posted: Apr 9, 2009 5:14 AM
To: Communities » networking » discuss
  Click to reply to this thread Reply

About a week ago, I upgraded to snv_111. Suddenly yesterday and today,
the machine does not bring up a network at boot. I'm using nwam.

# svcs -vx
svc:/network/routing/ndp:default (in.ndpd IPv6 neighbour discovery daemon)
State: maintenance since ...

And in the log file:
Executing start method ("/lib/svc/method/svc-ndp)
Method or service exit timed out. Killing contract 100
Method "start" failed due to signal KILL

ifconfig -a shows me three interfaces: iwk0, bge0, vboxnet0
The latter two show inet6 addresses.

I don't remember enabling IPv6 on this machine,
but apparentl it is now, and it ain't work'in!

Help!

Thanks,
Gordon

gwr

Posts: 192
From: US

Registered: 7/7/06
Re: snv_111 - no network, network/routing/ndp:default doesn't start
Posted: Apr 9, 2009 5:57 AM   in response to: gwr
To: Communities » networking » discuss
  Click to reply to this thread Reply

I did manage to get past this with:
routeadm -d ipv6-routing
routeadm -d ipv4-routing
routeadm -u
svcadm disable svc:/network/routing/ndp:default
svcadm restart svc:/network/physical:nwam

I'll report if this happens again after my next reboot.

gwr

Posts: 192
From: US

Registered: 7/7/06
Re: snv_111 - no network, network/routing/ndp:default doesn't start
Posted: Apr 16, 2009 7:40 AM   in response to: gwr
To: Communities » networking » discuss
  Click to reply to this thread Reply

I'm still have no network after every reboot. Here's what I see:

gwr@dell6300gwr$ svcs -vx
svc:/network/routing/ndp:default (in.ndpd IPv6 neighbour discovery daemon)
State: maintenance since Thu Apr 16 10:14:16 2009
Reason: Start method failed repeatedly, last died on Killed (9).
See: http://sun.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 1M in.ndpd
See: /var/svc/log/network-routing-ndp:default.log
Impact: This service is not running.

gwr@dell6300gwr$ routeadm
Configuration Current Current
Option Configuration System State
---------------------------------------------------------------
IPv4 routing disabled disabled
IPv6 routing disabled disabled
IPv4 forwarding disabled disabled
IPv6 forwarding disabled disabled

Routing services "route:default ripng:default"

Routing daemons:

STATE FMRI
disabled svc:/network/routing/legacy-routing:ipv4
disabled svc:/network/routing/legacy-routing:ipv6
maintenance svc:/network/routing/ndp:default
disabled svc:/network/routing/rdisc:default
disabled svc:/network/routing/ripng:default
disabled svc:/network/routing/route:default


Here's what I did to get it working:
root@dell6300gwr# svcadm disable svc:/network/routing/ndp:default
root@dell6300gwr# svcadm restart nwam
(still no network...)
root@dell6300gwr# svcs -vx
svc:/network/physical:nwam (physical network interface autoconfiguration)
State: maintenance since Thu Apr 16 10:20:53 2009
Reason: Method failed.
See: http://sun.com/msg/SMF-8000-8Q
See: man -M /usr/share/man -s 1M nwamd
See: http://opensolaris.org/os/projects/nwam/
See: http://opensolaris.org/os/projects/nwam/phase0/
See: /var/svc/log/network-physical:nwam.log
Impact: This service is not running.

Here's the end of the nwam log:
[ Apr 16 10:10:41 Enabled. ]
[ Apr 16 10:10:45 Executing start method ("/lib/svc/method/net-nwam start"). ]
svcprop: Couldn't find property group `system' for instance `svc:/system/svc/restarter:default'.
[ Apr 16 10:10:45 Method "start" exited with status 0. ]
ifconfig: vboxnet0: interface not in appropriate state for command
[ Apr 16 10:11:14 Rereading configuration. ]
[ Apr 16 10:11:14 Executing refresh method ("/lib/svc/method/net-nwam refresh"). ]
[ Apr 16 10:11:14 Method "refresh" exited with status 0. ]
[ Apr 16 10:19:52 Stopping because service restarting. ]
[ Apr 16 10:19:52 Executing stop method ("/lib/svc/method/net-nwam stop"). ]
[ Apr 16 10:19:52 Method "stop" exited with status 0. ]
[ Apr 16 10:20:53 Method or service exit timed out. Killing contract 11. ]

OK, trying to fix nwam:
root@dell6300gwr# svcadm clear svc:/network/physical:nwam

Yea! I have a network again.

Now, I wish I didn't have to go through this after every reboot.
Anyone have any ideas how to fix this permanently?
I'll hazard a guess that VirtualBox 2.2.0 is involved.
(See the nwam complaint about the "vboxnet0")

Thanks,
Gordon

jklimov

Posts: 198
From: RU

Registered: 12/4/07
Re: snv_111 - no network, network/routing/ndp:default doesn't start
Posted: Apr 16, 2009 9:25 AM   in response to: gwr
To: Communities » networking » discuss
  Click to reply to this thread Reply

Did you try tracing what happens when your network does not start? Try
# /bin/sh -x /lib/svc/method/net-nwam start

This should echo the SMF script line-by-line as it is executed.
Perhaps that will point you to what's broken...

Also you might try to compare your current net-nwam with the one from your
previous Solaris version. If there's some change leading to regressio you'd find it.

HTH, Jim

gwr

Posts: 192
From: US

Registered: 7/7/06
Re: [networking-discuss] snv_111 - no network, network/routing/ndp:default doesn't start
Posted: Apr 16, 2009 6:45 PM   in response to: gwr

  Click to reply to this thread Reply

I'm still having this problem after every reboot.
Here's some more information. During starup, this svc fails:
svc:/network/routing/ndp:default

The start method eventually gets killed by SMF for
taking so long to complete. It's running:
/usr/lib/inet/in.ndpd

I tried running that by hand, with the -d option,
and I observe that it seems to be trying to do an
IPv6 DHCP on my wired interface, and just waits...
(I'll send the log once I get that machine back up)

After this service goes into maintenance,
nwam doesn't start either. (a dependent?)

I haven't a clue what's going on here.
Any suggestions?



On Apr 9, 2009, at 8:14 AM, OpenSolaris Forums wrote:

> About a week ago, I upgraded to snv_111. Suddenly yesterday and
> today,
> the machine does not bring up a network at boot. I'm using nwam.
>
> # svcs -vx
> svc:/network/routing/ndp:default (in.ndpd IPv6 neighbour discovery
> daemon)
> State: maintenance since ...
>
> And in the log file:
> Executing start method ("/lib/svc/method/svc-ndp)
> Method or service exit timed out. Killing contract 100
> Method "start" failed due to signal KILL
>
> ifconfig -a shows me three interfaces: iwk0, bge0, vboxnet0
> The latter two show inet6 addresses.
>
> I don't remember enabling IPv6 on this machine,
> but apparentl it is now, and it ain't work'in!
>
> Help!
>
> Thanks,
> Gordon
> --
> This message posted from opensolaris.org
> _______________________________________________
> networking-discuss mailing list
> networking-discuss at opensolaris dot org

_______________________________________________
networking-discuss mailing list
networking-discuss at opensolaris dot org


meem

Posts: 3,083
From: US

Registered: 3/9/05
Re: [networking-discuss] snv_111 - no network, network/routing/ndp:default doesn't start
Posted: Apr 16, 2009 7:33 PM   in response to: gwr

  Click to reply to this thread Reply


> I'm still having this problem after every reboot.
> Here's some more information. During starup, this svc fails:
> svc:/network/routing/ndp:default
>
> The start method eventually gets killed by SMF for
> taking so long to complete. It's running:
> /usr/lib/inet/in.ndpd

Strange; in.ndpd daemonizes pretty early, which should cause that command
to return quickly.

> I tried running that by hand, with the -d option,
> and I observe that it seems to be trying to do an
> IPv6 DHCP on my wired interface, and just waits...
> (I'll send the log once I get that machine back up)

in.ndpd won't do DHCP. At most, it will kick dhcpagent to do DHCP via
start_dhcp(). To explore whether this is part of the problem, you can
turn this off via "StatefulAddrConf false" in /etc/inet/ndpd.conf.

--
meem
_______________________________________________
networking-discuss mailing list
networking-discuss at opensolaris dot org


okie

Posts: 409
From: US

Registered: 3/9/05
Re: [networking-discuss] snv_111 - no network, network/routing/ndp:default doesn't start
Posted: Apr 17, 2009 10:09 AM   in response to: gwr

  Click to reply to this thread Reply

On Thu, Apr 16, 2009 at 09:45:10PM -0400, Gordon Ross wrote:
> I'm still having this problem after every reboot.
> Here's some more information. During starup, this svc fails:
> svc:/network/routing/ndp:default
>
> The start method eventually gets killed by SMF for
> taking so long to complete. It's running:
> /usr/lib/inet/in.ndpd
>
> I tried running that by hand, with the -d option,
> and I observe that it seems to be trying to do an
> IPv6 DHCP on my wired interface, and just waits...
> (I'll send the log once I get that machine back up)
>
> After this service goes into maintenance,
> nwam doesn't start either. (a dependent?)

What do you mean by "nwam doesn't start"? Is the service in
maintenance? Enabled but offline?

network/physical:nwam does not depend on ndp; rather, ndp
(indirectly) depends on network/physical (either the default
or nwam instance will satisfy the dependency). That is, ndp
depends on milestone/network, which depends on network/physical.

So if nwam is in a funky state, that could be contributing to
the ndp weirdness (though I would expect more than just ndp to
be unhappy in that case). Or maybe something else is making both
serices unhappy.

If it seems that nwam has run amok, enabling debugging and getting
a log of what it does on boot would be helpful. Please refer to
http://opensolaris.org/os/project/nwam/picea/troubleshooting/; the
last note on that page ("None of the above") describes how to enable
debugging.

Thanks,
renee

> I haven't a clue what's going on here.
> Any suggestions?
>
>
>
> On Apr 9, 2009, at 8:14 AM, OpenSolaris Forums wrote:
>
>> About a week ago, I upgraded to snv_111. Suddenly yesterday and
>> today,
>> the machine does not bring up a network at boot. I'm using nwam.
>>
>> # svcs -vx
>> svc:/network/routing/ndp:default (in.ndpd IPv6 neighbour discovery
>> daemon)
>> State: maintenance since ...
>>
>> And in the log file:
>> Executing start method ("/lib/svc/method/svc-ndp)
>> Method or service exit timed out. Killing contract 100
>> Method "start" failed due to signal KILL
>>
>> ifconfig -a shows me three interfaces: iwk0, bge0, vboxnet0
>> The latter two show inet6 addresses.
>>
>> I don't remember enabling IPv6 on this machine,
>> but apparentl it is now, and it ain't work'in!
>>
>> Help!
>>
>> Thanks,
>> Gordon
>> --
>> This message posted from opensolaris.org
>> _______________________________________________
>> networking-discuss mailing list
>> networking-discuss at opensolaris dot org
>
> _______________________________________________
> networking-discuss mailing list
> networking-discuss at opensolaris dot org
_______________________________________________
networking-discuss mailing list
networking-discuss at opensolaris dot org


gwr

Posts: 192
From: US

Registered: 7/7/06
Re: [networking-discuss] snv_111 - no network, network/routing/ndp:default doesn't start
Posted: Apr 21, 2009 10:28 AM   in response to: okie

  Click to reply to this thread Reply


> What do you mean by "nwam doesn't start"? Is the service in
> maintenance? Enabled but offline?

Here's what the failure looks like, initially:
svc:/network/routing/ndp:default (in.ndpd IPv6 neighbour discovery daemon)
State: offline since Tue Apr 21 12:57:54 2009
Reason: Start method is running.
See: http://sun.com/msg/SMF-8000-C4
See: man -M /usr/share/man -s 1M in.ndpd
See: /var/svc/log/network-routing-ndp:default.log
Impact: This service is not running.

Then after the start method finishes (a few minutes)
it goes into state "maintenance".

> network/physical:nwam does not depend on ndp; rather, ndp
> (indirectly) depends on network/physical [... nwam debug log]

Thanks for that tip. I've attached a debug log to this message.

It does appear that this problem has to do with nwam not getting
along with the new "vboxnet0" interface. I went ahead and created
a virtualbox ticket: http://www.virtualbox.org/ticket/3754
They suggested this work around which does avoid the problem:
Change the vboxnet0 line in /etc/nwam/llp to look like:
vboxnet0 static 1.1.1.1
This also works:
vboxnet0 static 0.0.0.0

I'm not sure what vboxnet0 is for, apparently "host-only" networks?
The one clue I see the log for vboxnet0 is:

Anyway, thanks for the tips.
Gordon

_______________________________________________
networking-discuss mailing list
networking-discuss at opensolaris dot org


gwr

Posts: 192
From: US

Registered: 7/7/06
Re: [networking-discuss] snv_111 - no network, network/routing/ndp:default doesn't start
Posted: Apr 21, 2009 2:02 PM   in response to: gwr
To: Communities » networking » discuss
  Click to reply to this thread Reply

Oops: that "clue" in the previous was missing. This was in /var/adm/messages

Apr 21 12:36:09 dell6300gwr nwamd[1250]: [ID 903261 daemon.error] get_ifflags: icfg_get_flags iwk0 af 2: No such device or address
Apr 21 12:36:09 dell6300gwr nwamd[1250]: [ID 903261 daemon.error] get_ifflags: icfg_get_flags vboxnet0 af 2: No such device or address

Hope that helps someone fix this.

gwr

Posts: 192
From: US

Registered: 7/7/06
Re: [networking-discuss] snv_111 - no network, network/routing/ndp:default doesn't start
Posted: Apr 22, 2009 9:14 AM   in response to: gwr
To: Communities » networking » discuss
  Click to reply to this thread Reply

Oops, posted too soon on this:
> This also works:
> vboxnet0 static 0.0.0.0
It has to be non-zero, or nwam still tries to do dhcp on the i/f.




Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2010, Oracle Corporation and/or its affiliates

Oracle