OpenSolaris

Printable Version Enter a New Search
Bug ID 6317254
Synopsis missing lock_dev()/unlock_dev() in devfsadm event_handler()
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:devfs
Keywords onnv_triage
Responsible Engineer Chris Horne
Reported Against snv_22
Duplicate Of
Introduced In solaris_10
Commit to Fix snv_25
Fixed In snv_25
Release Fixed solaris_nevada(snv_25)
Related Bugs
Submit Date 29-August-2005
Last Update Date 7-July-2008
Description
Code inspection shows that there may be a missing
lock_dev()/unlock_dev() in around the last
build_and_log_event call in cmd/devfsadm/devfsadm.c:event_handler().

> I believe there should be a lock, since we are accessing the devlink_cache
> and that is initialized by this code. 
> -Vikram

It looks like this could cause lookup_disk_dev_name
failures, and DEV_NAME_LOOKUP_FAILED "failed to lookup dev name for"
messages from devfsadm.
Work Around
N/A
Comments
N/A