Ssh Logins Fail Intermittently . (Doc ID 1403740.1)

Last updated on AUGUST 17, 2016

Applies to:

Solaris SPARC Operating System - Version 10 3/05 HW1 and later
Information in this document applies to any platform.

Symptoms

ssh connections can not be killed and customer will need to reboot.  This is because then hung thread is in an infinite loop in the function n2cp_find_best_cwg.


The kernel threadlist collected by the explorer data collector in sysconfig/threadlist.out will show stack traces similar to the following (for the hanging sshd):

000002a10258a861 n2cp_find_best_cwq+0xec()
000002a10258a911 n2cp_start+0x84()
000002a10258a9e1 block_start+0xa54()
000002a10258aaa1 n2cp_blockupdate+0x228()
000002a10258ab51 n2cp_decrypt_update+0x68()
000002a10258ac01 common_submit_request+0x904()
000002a10258ace1 process_req_hwp+0xcc()
000002a10258ad91 kcf_submit_request+0xbc()
000002a10258ae41 crypto_decrypt_update+0x190()
000002a10258af81 cipher_update+0x218()
000002a10258b0e1 fop_ioctl+0x20()
000002a10258b191 ioctl+0x184()
000002a10258b2e1 syscall_trap32+0xcc()


Note that n2cp_find_best_cwq is not always on top of the stack but you should always see n2cp functions here.

Changes

Problem started with S10_u8 or if Patch 139555-08 and 141899-03 are installed. 

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