{"action":"closed","issue":{"url":"https://api.github.com/repos/r0m30/msed/issues/9","labels_url":"https://api.github.com/repos/r0m30/msed/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/r0m30/msed/issues/9/comments","events_url":"https://api.github.com/repos/r0m30/msed/issues/9/events","html_url":"https://github.com/r0m30/msed/issues/9","id":57861321,"number":9,"title":"pba image doesn't seem to unlock drive","user":{"login":"jmccarv","id":11036516,"avatar_url":"https://avatars.githubusercontent.com/u/11036516?v=3","gravatar_id":"","url":"https://api.github.com/users/jmccarv","html_url":"https://github.com/jmccarv","followers_url":"https://api.github.com/users/jmccarv/followers","following_url":"https://api.github.com/users/jmccarv/following{/other_user}","gists_url":"https://api.github.com/users/jmccarv/gists{/gist_id}","starred_url":"https://api.github.com/users/jmccarv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmccarv/subscriptions","organizations_url":"https://api.github.com/users/jmccarv/orgs","repos_url":"https://api.github.com/users/jmccarv/repos","events_url":"https://api.github.com/users/jmccarv/events{/privacy}","received_events_url":"https://api.github.com/users/jmccarv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-16T22:58:36Z","updated_at":"2015-02-20T09:55:52Z","closed_at":"2015-02-20T09:55:52Z","body":"First I want to thank you for working on this project, it looks very promising!\r\n\r\nHopefully I'm just missing something stupid here since I have no prior experience with OPAL / msed.\r\n\r\nI am trying to use msed on a Dell Optiplex 7020 with a Samsung 840 EVO 250GB drive.  I am using version 0.20beta.  I followed the instructions listed on your web site and everything appeard to be working as expected.  The problem comes when I reboot the drive and the PBA image runs and prompts me for the password to unlock the drive.  Whether I put in the correct password or an incorrect one it does the same thing, it tries to chain-boot hd0,0 and then it appears to boot right back to the PBA and prompts me again for the password; almost like it's not unlocking the drive and so when it chain loads, it loads the PBA again.\r\n\r\nI am able to follow your directions to remove OPAL (using --revertnoerase followed by reverttper) and the drive will boot as you would expect.  The same is true if I turn off locking and the PBA via --disableLockingRange 0 and --setMBREnable off.\r\n\r\nHere's how I set it up:\r\n```\r\nit-jmccarv Release_x86_64 # ./msed --initialsetup password /dev/sda\r\n- 16:19:53.142 INFO: takeownership complete\r\n- 16:19:53.530 INFO: Locking SP Activate Complete\r\n- 16:19:54.507 INFO: LockingRange0 disabled \r\n- 16:19:55.450 INFO: LockingRange0 set to RW\r\n- 16:19:55.924 INFO: MBRDone set on \r\n- 16:19:56.393 INFO: MBREnable set on \r\n- 16:19:56.393 INFO: Initial setup of TPer complete on /dev/sda\r\nit-jmccarv Release_x86_64 # ./msed --loadPBAimage password ~/msed/biospba-0.20beta.img /dev/sda\r\n- 16:20:40.861 INFO: Writing PBA to /dev/sda\r\n | [*********************]\r\n- 16:21:57.095 INFO: PBA image  /root/msed/biospba-0.20beta.img written to /dev/sda\r\nit-jmccarv Release_x86_64 # ./msed --setMBREnable on password /dev/sda\r\n- 16:22:11.199 INFO: MBREnable set on \r\nit-jmccarv Release_x86_64 # ./msed --query /dev/sda\r\n\r\n/dev/sda ATA Samsung SSD 840 EVO 250GB                EXT0CB6Q S1DBNSAFC17239D     \r\nTPer function (0x0001)\r\n    ACKNAK = N, ASYNC = N. BufferManagement = N, comIDManagement  = N, Streaming = Y, SYNC = Y\r\nLocking function (0x0002)\r\n    Locked = N, LockingEnabled = Y, LockingSupported = Y, MBRDone = Y, MBREnabled = Y, MediaEncrypt = Y\r\nGeometry function (0x0003)\r\n    Align = N, Alignment Granularity = 1 (512), Logical Block size = 512, Lowest Aligned LBA = 0\r\nOpal V1.0 function (0x0200)\r\nBase comID = 0x1004, comIDs = 1\r\nDataStore function (0x0202)\r\n    Max Tables = 9, Max Size Tables = 10485760, Table size alignment = 1\r\nOPAL 2.0 function (0x0203)\r\n    Base comID = 0x1004, Initial PIN = 0x0, Reverted PIN = 0x0, comIDs = 1\r\n    Locking Admins = 4, Locking Users = 9, Range Crossing = N\r\n\r\nTPer Properties: \r\n  MaxComPacketSize = 66048  MaxResponseComPacketSize = 66048\r\n  MaxPacketSize = 66028  MaxIndTokenSize = 65992  MaxPackets = 1\r\n  MaxSubpackets = 1  MaxMethods = 1  MaxAuthentications = 5\r\n  MaxSessions = 1  MaxTransactionLimit = 1  DefSessionTimeout = 0\r\n\r\nHost Properties: \r\n  MaxComPacketSize = 2048  MaxResponseComPacketSize = 2048\r\n  MaxPacketSize = 2028  MaxIndTokenSize = 1992  MaxPackets = 1\r\n  MaxSubpackets = 1  MaxMethods = 1\r\n\r\nit-jmccarv Release_x86_64 # lsblk\r\nNAME                 MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT\r\nsda                    8:0    0 232.9G  0 disk \r\n|-sda1                 8:1    0   256M  0 part \r\n`-sda2                 8:2    0 232.7G  0 part \r\n  |-vg_sys-ccache    253:0    0   2.5G  0 lvm  /var/ccache\r\n  |-vg_sys-distfiles 253:1    0     3G  0 lvm  /usr/portage/distfiles\r\n  |-vg_sys-home_copy 253:2    0   100G  0 lvm  /home\r\n  |-vg_sys-opt       253:3    0    11G  0 lvm  /opt\r\n  |-vg_sys-site      253:4    0     2G  0 lvm  /site\r\n  |-vg_sys-src       253:5    0     3G  0 lvm  /usr/src\r\n  |-vg_sys-tmp       253:6    0     2G  0 lvm  /tmp\r\n  |-vg_sys-usr       253:7    0     7G  0 lvm  /usr\r\n  |-vg_sys-var       253:8    0     3G  0 lvm  /var\r\n  |-vg_sys-vartmp    253:9    0     8G  0 lvm  /var/tmp\r\n  |-vg_sys-swap      253:10   0     8G  0 lvm  \r\n  `-vg_sys-root      253:11   0     3G  0 lvm  /\r\nsr0                   11:0    1  1024M  0 rom\r\n```\r\n\r\n![20150216_162708_resized](https://cloud.githubusercontent.com/assets/11036516/6220363/0fe0cf8a-b5fb-11e4-9a54-37d1edde722b.jpg)\r\n"}}