SATA-HDD @ SATA-Controller is shown as "SCSI removable disk"
by Arnulf from LinuxQuestions.org on (#6HNEJ)
A SATA-HDD connected to an onboard SATA-Controller is shown as "SCSI removable disk". How can it be toggled to "SCSI disk" (not "removable")?
Mainboard Asus P8H77-M PRO provides to SATA controllers. "Intel H77 Express" chipset integrated SATA controller provides two 6.0GB/s ports (SATA6G_1 & SATA6G_2) and four 3.0GB/s ports (SATA3G_1 i SATA3G_4). Marvell PCIe SATA Controller provides one eSATA 6.0GB/s port and one SATA 6.0GB/s port (SATA6G_E1).
Following drives are connected to SATA controllers:
Crucial CT500MX500SSD1 SATA6G_1
Seagate ST2000VX008-2E3164 SATA6G_2
HL-DT-ST DVDRAM GH24NSD5 SATA3G_1
Seagate ST2000VX008-2E3164 SATA6G_E1
Both SATA controllers are running in AHCI mode. Linux kernel is 6.1.70.
SATA related dmesg output:
Code:[ 0.202796] SCSI subsystem initialized
[ 0.202803] libata version 3.00 loaded.
[ 2.898056] ahci 0000:00:1f.2: version 3.0
[ 2.898249] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x7 impl SATA mode
[ 2.898265] ahci 0000:00:1f.2: flags: 64bit ncq led clo pio slum part ems apst
[ 2.917415] scsi host0: ahci
[ 2.917510] scsi host1: ahci
[ 2.917587] scsi host2: ahci
[ 2.917670] scsi host3: ahci
[ 2.917748] scsi host4: ahci
[ 2.917814] scsi host5: ahci
[ 2.917844] ata1: SATA max UDMA/133 abar m2048@0xf7f16000 port 0xf7f16100 irq 27
[ 2.917857] ata2: SATA max UDMA/133 abar m2048@0xf7f16000 port 0xf7f16180 irq 27
[ 2.917870] ata3: SATA max UDMA/133 abar m2048@0xf7f16000 port 0xf7f16200 irq 27
[ 2.917881] ata4: DUMMY
[ 2.917886] ata5: DUMMY
[ 2.917891] ata6: DUMMY
[ 2.918056] ahci 0000:04:00.0: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[ 2.918072] ahci 0000:04:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 2.918228] scsi host6: ahci
[ 2.918293] scsi host7: ahci
[ 2.918323] ata7: SATA max UDMA/133 abar m512@0xf7c10000 port 0xf7c10100 irq 36
[ 2.918336] ata8: SATA max UDMA/133 abar m512@0xf7c10000 port 0xf7c10180 irq 36
[ 3.230051] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3.230075] ata7: SATA link down (SStatus 0 SControl 300)
[ 3.230135] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3.230142] ata8: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3.230174] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 3.231188] ata8.00: ATA-8: ST2000VX000-1CU164, CV22, max UDMA/133
[ 3.231971] ata8.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 32), AA
[ 3.233460] ata8.00: configured for UDMA/133
[ 3.235713] ata1.00: supports DRM functions and may not be fully accessible
[ 3.236514] ata1.00: ATA-10: CT500MX500SSD1, M3CR023, max UDMA/133
[ 3.238767] ata3.00: ATAPI: HL-DT-ST DVDRAM GH24NSD5, LV00, max UDMA/133
[ 3.239426] ata2.00: ATA-9: ST2000VX000-1ES164, CV26, max UDMA/133
[ 3.240069] ata1.00: 976773168 sectors, multi 1: LBA48 NCQ (depth 32), AA
[ 3.240697] ata2.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[ 3.242793] ata3.00: configured for UDMA/133
[ 3.245642] ata1.00: Features: Trust Dev-Sleep
[ 3.246492] ata2.00: configured for UDMA/133
[ 3.248730] ata1.00: supports DRM functions and may not be fully accessible
[ 3.250383] ata1.00: configured for UDMA/133
[ 3.251227] scsi 0:0:0:0: Direct-Access ATA CT500MX500SSD1 023 PQ: 0 ANSI: 5
[ 3.252353] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.252357] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 3.253158] scsi 1:0:0:0: Direct-Access ATA ST2000VX000-1ES1 CV26 PQ: 0 ANSI: 5
[ 3.253732] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 3.254587] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 3.254607] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 3.254609] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[ 3.254620] sd 1:0:0:0: [sdb] Write Protect is off
[ 3.254622] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 3.254635] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.254653] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[ 3.255173] sd 0:0:0:0: [sda] Write Protect is off
[ 3.256689] scsi 2:0:0:0: CD-ROM HL-DT-ST DVDRAM GH24NSD5 LV00 PQ: 0 ANSI: 5
[ 3.257222] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3.260781] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.261527] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[ 3.263486] sda: sda1
[ 3.264278] sd 0:0:0:0: [sda] Attached SCSI disk
[ 3.302311] sdb: sdb1
[ 3.303138] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 3.353320] sr 2:0:0:0: [sr0] scsi3-mmc drive: 48x/12x writer dvd-ram cd/rw xa/form2 cdda tray
[ 3.354092] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 3.390868] sr 2:0:0:0: Attached scsi CD-ROM sr0
[ 3.390933] sr 2:0:0:0: Attached scsi generic sg2 type 5
[ 3.391902] scsi 7:0:0:0: Direct-Access ATA ST2000VX000-1CU1 CV22 PQ: 0 ANSI: 5
[ 3.392827] sd 7:0:0:0: Attached scsi generic sg3 type 0
[ 3.392903] sd 7:0:0:0: [sdc] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 3.394385] sd 7:0:0:0: [sdc] 4096-byte physical blocks
[ 3.395185] sd 7:0:0:0: [sdc] Write Protect is off
[ 3.395956] sd 7:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 3.396023] sd 7:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.396877] sd 7:0:0:0: [sdc] Preferred minimum I/O size 4096 bytes
[ 3.447743] sdc: sdc1
[ 3.448671] sd 7:0:0:0: [sdc] Attached SCSI removable diskSeemingly Marvell PCIe SATA controller handles both ports hot pluggable. This is annoying if an internal SATA HDD or SSD is connected to internal SATA6G_E1 port like in this case.
Mainboard Asus P8H77-M PRO provides to SATA controllers. "Intel H77 Express" chipset integrated SATA controller provides two 6.0GB/s ports (SATA6G_1 & SATA6G_2) and four 3.0GB/s ports (SATA3G_1 i SATA3G_4). Marvell PCIe SATA Controller provides one eSATA 6.0GB/s port and one SATA 6.0GB/s port (SATA6G_E1).
Following drives are connected to SATA controllers:
Crucial CT500MX500SSD1 SATA6G_1
Seagate ST2000VX008-2E3164 SATA6G_2
HL-DT-ST DVDRAM GH24NSD5 SATA3G_1
Seagate ST2000VX008-2E3164 SATA6G_E1
Both SATA controllers are running in AHCI mode. Linux kernel is 6.1.70.
SATA related dmesg output:
Code:[ 0.202796] SCSI subsystem initialized
[ 0.202803] libata version 3.00 loaded.
[ 2.898056] ahci 0000:00:1f.2: version 3.0
[ 2.898249] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x7 impl SATA mode
[ 2.898265] ahci 0000:00:1f.2: flags: 64bit ncq led clo pio slum part ems apst
[ 2.917415] scsi host0: ahci
[ 2.917510] scsi host1: ahci
[ 2.917587] scsi host2: ahci
[ 2.917670] scsi host3: ahci
[ 2.917748] scsi host4: ahci
[ 2.917814] scsi host5: ahci
[ 2.917844] ata1: SATA max UDMA/133 abar m2048@0xf7f16000 port 0xf7f16100 irq 27
[ 2.917857] ata2: SATA max UDMA/133 abar m2048@0xf7f16000 port 0xf7f16180 irq 27
[ 2.917870] ata3: SATA max UDMA/133 abar m2048@0xf7f16000 port 0xf7f16200 irq 27
[ 2.917881] ata4: DUMMY
[ 2.917886] ata5: DUMMY
[ 2.917891] ata6: DUMMY
[ 2.918056] ahci 0000:04:00.0: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[ 2.918072] ahci 0000:04:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 2.918228] scsi host6: ahci
[ 2.918293] scsi host7: ahci
[ 2.918323] ata7: SATA max UDMA/133 abar m512@0xf7c10000 port 0xf7c10100 irq 36
[ 2.918336] ata8: SATA max UDMA/133 abar m512@0xf7c10000 port 0xf7c10180 irq 36
[ 3.230051] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3.230075] ata7: SATA link down (SStatus 0 SControl 300)
[ 3.230135] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3.230142] ata8: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3.230174] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 3.231188] ata8.00: ATA-8: ST2000VX000-1CU164, CV22, max UDMA/133
[ 3.231971] ata8.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 32), AA
[ 3.233460] ata8.00: configured for UDMA/133
[ 3.235713] ata1.00: supports DRM functions and may not be fully accessible
[ 3.236514] ata1.00: ATA-10: CT500MX500SSD1, M3CR023, max UDMA/133
[ 3.238767] ata3.00: ATAPI: HL-DT-ST DVDRAM GH24NSD5, LV00, max UDMA/133
[ 3.239426] ata2.00: ATA-9: ST2000VX000-1ES164, CV26, max UDMA/133
[ 3.240069] ata1.00: 976773168 sectors, multi 1: LBA48 NCQ (depth 32), AA
[ 3.240697] ata2.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[ 3.242793] ata3.00: configured for UDMA/133
[ 3.245642] ata1.00: Features: Trust Dev-Sleep
[ 3.246492] ata2.00: configured for UDMA/133
[ 3.248730] ata1.00: supports DRM functions and may not be fully accessible
[ 3.250383] ata1.00: configured for UDMA/133
[ 3.251227] scsi 0:0:0:0: Direct-Access ATA CT500MX500SSD1 023 PQ: 0 ANSI: 5
[ 3.252353] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.252357] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 3.253158] scsi 1:0:0:0: Direct-Access ATA ST2000VX000-1ES1 CV26 PQ: 0 ANSI: 5
[ 3.253732] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 3.254587] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 3.254607] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 3.254609] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[ 3.254620] sd 1:0:0:0: [sdb] Write Protect is off
[ 3.254622] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 3.254635] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.254653] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[ 3.255173] sd 0:0:0:0: [sda] Write Protect is off
[ 3.256689] scsi 2:0:0:0: CD-ROM HL-DT-ST DVDRAM GH24NSD5 LV00 PQ: 0 ANSI: 5
[ 3.257222] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3.260781] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.261527] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[ 3.263486] sda: sda1
[ 3.264278] sd 0:0:0:0: [sda] Attached SCSI disk
[ 3.302311] sdb: sdb1
[ 3.303138] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 3.353320] sr 2:0:0:0: [sr0] scsi3-mmc drive: 48x/12x writer dvd-ram cd/rw xa/form2 cdda tray
[ 3.354092] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 3.390868] sr 2:0:0:0: Attached scsi CD-ROM sr0
[ 3.390933] sr 2:0:0:0: Attached scsi generic sg2 type 5
[ 3.391902] scsi 7:0:0:0: Direct-Access ATA ST2000VX000-1CU1 CV22 PQ: 0 ANSI: 5
[ 3.392827] sd 7:0:0:0: Attached scsi generic sg3 type 0
[ 3.392903] sd 7:0:0:0: [sdc] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 3.394385] sd 7:0:0:0: [sdc] 4096-byte physical blocks
[ 3.395185] sd 7:0:0:0: [sdc] Write Protect is off
[ 3.395956] sd 7:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 3.396023] sd 7:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.396877] sd 7:0:0:0: [sdc] Preferred minimum I/O size 4096 bytes
[ 3.447743] sdc: sdc1
[ 3.448671] sd 7:0:0:0: [sdc] Attached SCSI removable diskSeemingly Marvell PCIe SATA controller handles both ports hot pluggable. This is annoying if an internal SATA HDD or SSD is connected to internal SATA6G_E1 port like in this case.