
我創建了一個 Linux 內核,並且由於某種原因總是在啟動時添加額外的驅動器。
我的硬碟被列為/dev/sdb
. /dev/sda
也已創建,大小為 8 MB。我在內核配置中找不到任何創建此內容的內容,但如果我使用不同的內核,它就不存在。內核日誌將其顯示為附加的 SCSI 設備,看起來就像我的硬碟驅動器,但只有 8 MB,並且沒有分割區表。它似乎也不是實體設備。我已經在許多不同型號的 PC 上嘗試過該內核,它始終存在。
有誰知道如何刪除它?
/dev/disk/by-id
給我:
scsi-1AMCC_U21413034D98EB000584
scsi-1AMCC_U21413034D98EB000584-part1
scsi-353333330000007d0
scsi-SATA_ST3250312AS_5VY7SH42
scsi-SATA_WDC_WD800JD-60L_WD-WMAM9Y085675
scsi-SATA_WDC_WD800JD-60L_WD-WMAM9Y085675-part1
scsi-SATA_WDC_WD800JD-60L_WD-WMAM9Y085675-part2
hdparm -i /dev/sda
給了我一個「無效的論點」。
dd if=/dev/sda of=sda.img
產生的文件沒有任何內容
sdparm results:
/dev/sda: Linux scsi_debug 0004 Device identification VPD page: Addressed logical unit: designator type: T10 vendor identification, code set: ASCII vendor id: Linux vendor specific: scsi_debug 2000 designator type: NAA, code set: Binary 0x53333330000007d0 Target port: designator type: Relative target port, code set: Binary transport: Serial Attached SCSI (SAS) Relative target port: 0x1 designator type: NAA, code set: Binary transport: Serial Attached SCSI (SAS) 0x52222220000007ce designator type: Target port group, code set: Binary transport: Serial Attached SCSI (SAS) Target port group: 0x100 Target device that contains addressed lu: designator type: NAA, code set: Binary transport: Serial Attached SCSI (SAS) 0x52222220000007cd designator type: SCSI name string, code set: UTF-8 transport: Serial Attached SCSI (SAS) SCSI name string: naa.52222220000007CD
答案1
也許您啟用了SCSI 調試設備當你創建內核時?