/usr/lib/smbsrv/smbd prevents suspend
|Assignee:||Gordon Ross||% Done:|
From this discussion:
One gets this error when trying to suspend:
May 15 05:05:25 fileserv genunix: [ID 535284 kern.notice] System is being
May 15 05:05:55 fileserv genunix: [ID 520228 kern.warning] WARNING: Suspend
cannot stop process /usr/lib/smbsrv/smbd start (ffffff026f8e00c0:1).
May 15 05:05:55 fileserv genunix: [ID 903701 kern.warning] WARNING: Process
may be waiting for network request, please try again.
May 15 05:05:57 fileserv genunix: [ID 583038 kern.notice] System has been
This is a known bug from Solaris 11 Express that was fixed in build 156.
It's pretty easy to get around this temporarily by disabling smb
#1 Updated by Gordon Ross over 4 years ago
- Status changed from New to In Progress
- Assignee set to Gordon Ross
The problem is that the smb_server_spooldoc thread is blocked in
cv_wait and cannot be killed. (This also interferes with suspend.)
Change it to use cv_wait_sig and return EINTR.
Also EAGAIN for possible false wakeups.
#2 Updated by Gordon Ross over 4 years ago
- Status changed from In Progress to Resolved
user: Gordon Ross <firstname.lastname@example.org>
date: Fri May 27 22:06:40 2011 -0400
1039 /usr/lib/smbsrv/smbd prevents suspend
Reviewed by: Eric Schrock <email@example.com>
Reviewed by: Richard Lowe <firstname.lastname@example.org>
Approved by: Garrett D'Amore <email@example.com>
Also available in: Atom