This is a discussion on altering a kernel data structure ssd sd_lun within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Can anyone tell me if it is possible to modify a driver variable with mdb? The ssd driver module ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Can anyone tell me if it is possible to modify a driver variable with mdb? The ssd driver module has a struct for each lun and the struct has a member called un_retry_count. The default value is 0x3 and there is no user accessible method to change it for Solaris 10. I can see the current value using this command... echo "*ssd_state::walk softstate |: un_retry_count "| mdb -k OUTPUT... uint_t un_retry_count = 0x3 uint_t un_retry_count = 0x3 uint_t un_retry_count = 0x3 Is it possible to modify the value of sd_lun.un_retry_count per lun? I tried the following, but no luck... echo "*ssd_state::walk softstate |::typeset struct sd_lun un_retry_count 0x5 "| mdb -kw No error occurs but the value is not changed. I only want to change this value on a test machine for a specific test case. Thanks, Vic |