我想發送信任的發送/信任接收到我的硬盤驅動器。我發現這個網頁: ATA Trusted commands in Linux。 (謝謝你ephemient和德米特里奧布霍夫)。ATA值得信賴的命令 - 如何設置libata allow_tpm
現在,我的麻煩是如何設置libata allow_tpm = 1. 我使用的是Ubuntu 13.10。我的代碼是一樣的梅德奧布霍夫(這完全適用於識別和其他所有的命令,而不是可信的命令)
在尋找另一側之後,這些都是我做的事:
- In BIOS, set AHCI mode.
在終端:
- sudo dmesg -c:
[ 0.157207] SCSI subsystem initialized.
[ 0.157209] ACPI: bus type ATA registered.
[ 0.157236] libata version 3.00 loaded.
[ 0.878999] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6
Gbps 0x3 impl SATA mode.
[ 0.887125] ata1: SATA max UDMA/133 abar [email protected] port
0xf7c16100 irq 41.
[ 0.887127] ata2: SATA max UDMA/133 abar [email protected] port
0xf7c16180 irq 41.
[ 1.205449] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl
300).
[ 1.205477] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl
300).
[ 1.206127] ata2.00: supports DRM functions and may not be fully
accessible.
[ 1.206131] ata2.00: ATA-8: ST500LT025-1A5142, 0001SDM7, max
UDMA/133.
[ 1.206133] ata2.00: 976773168 sectors, multi 1: LBA48 NCQ (depth
31/32).
[ 1.206159] ata1.00: supports DRM functions and may not be fully
accessible.
[ 1.206163] ata1.00: ATA-8: ST500LT025-1A5142, 0001SDM7, max
UDMA/133.
[ 1.206165] ata1.00: 976773168 sectors, multi 1: LBA48 NCQ (depth
31/32).
- systool -a -v -m libata
Module = "libata"
Attributes:
uevent = <store method only>
version = "3.00"
Parameters:
acpi_gtf_filter = "7"
allow_tpm = "0"
ata_probe_timeout = "0"
atapi_an = "0"
atapi_dmadir = "0"
atapi_enabled = "1"
atapi_passthru16 = "1"
dma = "7"
fua = "0"
ignore_hpa = "0"
noacpi = "0"
zpodd_poweroff_delay= "30"
- sudo nano /etc/modprobe.d/local.conf.
Add this line: options libata allow_tpm=1
- sudo nano /boot/grub/menu.lst.
Add this line: combined_mode=libata
- sudo update-initramfs -u&& sudo update-grub2
重啓後,我再次運行systool -a -v -m libata
,與allow_tpm
沒有什麼變化。我應該怎麼做才能改變allow_tpm
?
我試圖修改並保存這個文件時發生錯誤(是的,有root權限)。如果失敗,請嘗試/ etc/default/grub方法。 –