{"action":"created","issue":{"url":"https://api.github.com/repos/r0m30/msed/issues/44","labels_url":"https://api.github.com/repos/r0m30/msed/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/r0m30/msed/issues/44/comments","events_url":"https://api.github.com/repos/r0m30/msed/issues/44/events","html_url":"https://github.com/r0m30/msed/issues/44","id":111983051,"number":44,"title":"Occasional lags/ BSOD/Disk Corruption","user":{"login":"lellis1936","id":15078535,"avatar_url":"https://avatars.githubusercontent.com/u/15078535?v=3","gravatar_id":"","url":"https://api.github.com/users/lellis1936","html_url":"https://github.com/lellis1936","followers_url":"https://api.github.com/users/lellis1936/followers","following_url":"https://api.github.com/users/lellis1936/following{/other_user}","gists_url":"https://api.github.com/users/lellis1936/gists{/gist_id}","starred_url":"https://api.github.com/users/lellis1936/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lellis1936/subscriptions","organizations_url":"https://api.github.com/users/lellis1936/orgs","repos_url":"https://api.github.com/users/lellis1936/repos","events_url":"https://api.github.com/users/lellis1936/events{/privacy}","received_events_url":"https://api.github.com/users/lellis1936/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-17T20:23:29Z","updated_at":"2015-10-21T18:41:46Z","closed_at":null,"body":"I seem to have experienced a few weird behaviors in Windows 7 Ultimate after issuing the following two commands:\r\n\r\nmsed --setMBREnable on <password> \\\\.\\physicaldrive0\r\nmsed --enableLockingRange 0 <password> \\\\.\\physicaldrive0\r\n\r\nI am not blaming your software but felt it my duty to report it.\r\n\r\nI frequently run these two commands because I often swap between locked and unlocked mode.\r\n\r\nI always do a cold shutdown immediately after running them, but on some occasions the OS has hung shutting down, BSOD, or reported \"chkdsk needed\" on restart and I have seen some NTFS corruption as well.\r\n\r\nShould these two commands always be completely safe while Windows is running?  I typically run Samsung's RAPID mode which may or may not complicate matters, though I have *never* seen it cause a problem.\r\n\r\nFinally, my system is generally solid as a rock in every respect which is why I thought I should post this.  My SSD has never reported any errors in SMART (Samsung EVO 250 Pro).\r\n\r\nAt this point I think I will avoid toggling much between locked and unlocked mode.  I am wondering whether the switch might be triggering some odd/buggy behavior in the drive's firmware.\r\n\r\nThank you for this great software, it's really working well for me in all other respects.\r\n"},"comment":{"url":"https://api.github.com/repos/r0m30/msed/issues/comments/149989292","html_url":"https://github.com/r0m30/msed/issues/44#issuecomment-149989292","issue_url":"https://api.github.com/repos/r0m30/msed/issues/44","id":149989292,"user":{"login":"brendanhoar","id":8979139,"avatar_url":"https://avatars.githubusercontent.com/u/8979139?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanhoar","html_url":"https://github.com/brendanhoar","followers_url":"https://api.github.com/users/brendanhoar/followers","following_url":"https://api.github.com/users/brendanhoar/following{/other_user}","gists_url":"https://api.github.com/users/brendanhoar/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanhoar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanhoar/subscriptions","organizations_url":"https://api.github.com/users/brendanhoar/orgs","repos_url":"https://api.github.com/users/brendanhoar/repos","events_url":"https://api.github.com/users/brendanhoar/events{/privacy}","received_events_url":"https://api.github.com/users/brendanhoar/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T18:41:46Z","updated_at":"2015-10-21T18:41:46Z","body":"On Wed, Oct 21, 2015 at 1:59 PM, lellis1936 <notifications@github.com>\nwrote:\n>\n> I guess I just can't see a case where you would enable MBR and not also\n> want MBRDone in a running Windows system (or probably a Linux system\n> either) since it seems that it can only result in an unstable system until\n> a reboot occurs. And even an immediate shutdown attempt can then fail, as\n> has happened to me a number of times. So you might consider refusing to\n> setMBREnable on unless MDRDone is also on (issuing an appropriate error\n> message if an attempt is made).\n>\n\nThis instability issue is true for system/boot drives using the primitives\noriginally specified.\n\nHowever, this may not necessarily be true of secondary drives, where one\nwould (should?) dismount the active volumes first (and therefore flush the\ncache and mark the volume closed) before performing OPAL operations. If a\ncontemporary OS is on the ball, it should be able to handle any locked\nstate changes, read vs. read/write capabilities, or altered geometries that\noccur after OPAL commands on drives that contain no mounted volumes.\n\nThat would lead me (just a user) to suggest that the updating the docs to\nissue the existing primitives in the correct order is probably the best\napproach.\n\nBrendan\n"}}