Why Am I Getting An Error When Trying to Use update_drv -f ? (Doc ID 1003567.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System
All Platforms

Goal

Running the update_drv command in Solaris[TM] 9 Operating System on a driver that isn't loaded because there are no devices that use that driver produces one type of error. And on a driver that is in use and can not be unloaded because it is busy produces a different error. In both cases the .conf file is re-read.


# update_drv -f sd
devfsadm: driver failed to attach: sd
Warning: Driver (sd) successfully added to system but failed to attach

# update_drv -f ssd
Cannot unload module: ssd
Will be unloaded upon reboot.
Forcing update of ssd.conf

According to the manpage the update_drv command is used to inform the system about attribute changes to an installed device driver. By default, the system rereads the driver.conf(4) file and reloads the driver binary module. The -f option will force the system to reread the driver.conf file even if the driver module cannot be unloaded. How can we tell if it is busy before running the update_drv command?

Solution

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