Solaris Hangs during Boot Due to a "route add" Command Hanging (Doc ID 1320563.1)

Last updated on AUGUST 01, 2016

Applies to:

Solaris Operating System - Version 8.0 to 11 11/11 [Release 8.0 to 11.0]
Information in this document applies to any platform.

Symptoms

1320563.1: Solaris Hangs during Boot Due to a "route add" Command Hanging Systems were hanging at boot time, with a "route add" command stuck and unkillable.

A crash dump was taken, and the stuck "route add" command had this stack:

==== user (LWP_SYS) thread: 0x300017b5420  PID: 95 ====
cmd: /sbin/route -n add default -gateway 192.168.100.254

This thread has the same stack as your problem crash dump:

genunix:cv_wait+0x38(0x60015d7db6a, 0x60015d7db58, 0x0, 0x7, 0x1)
sockfs:sowaitack+0x60(0x60015d7db38, 0x2a102ebd6a8, 0x0)
sockfs:sowaitprim+0xc(0x60015d7db38, 0x5, 0x10, 0x2c, 0x2a102ebd770, 0x0)
sockfs:do_tinfo+0xc4(0x60015d7db38)
sockfs:do_tcapability+0x17c(0x60015d7db38, 0x3)
sockfs:so_strinit+0x44(, 0x0)
sockfs:sotpi_create+0x154(0x2a102ebdad8, 0x18, 0x4, 0x0, 0x1)
sockfs:so_socket+0x268(, , 0x0)
unix:syscall_trap32+0xcc()

Further inspection revealed that the "rts" module had not been pushed onto the stream associated with the "route add" process:

SolarisCAT(vmcore.2/8U)> stream -p 0x300142d2f68
STREAM : 0x300142d2f68
+--------------- -+------------------+
| 0x300143eb928   | 0x300143eb848    |
| strwhead        | strrhead         |
|                 |                  |
| bytes = 0x0     | bytes = 0x0      |
| flg = 0x4022    | flg = 0x44032    |
+-----------------+------------------+
         |                 ^
         v                 |
+-----------------+------------------+
| 0x3001338bd98   | 0x3001338bcb8    |
| ip              | ip               |
|                 |                  |
| bytes = 0x0     | bytes = 0x0      |
| flg = 0x1242022 | flg = 0x1202032  |
+-----------------+------------------+

Changes

Investigation (pkgchk) revealed the /sbin/autopush binary had its permissions changed from the default 555 (-r-xr-xr-x) to 644 (-rw-r--r--) - removing the executable bit.     

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms