[arch-general] is scsi hot swap broken?
Hi folks, Just noticed after the recent update to kernel 3.3.6, an attempt to remove a SATA HDD: # echo scsi remove-single-device 3 0 0 0 > /proc/scsi/scsi takes very long time: $ dmesg sd 3:0:0:0: [sdb] Synchronizing SCSI cache sd 3:0:0:0: timing out command, waited 360s sd 3:0:0:0: timing out command, waited 360s sd 3:0:0:0: timing out command, waited 360s sd 3:0:0:0: [sdb] Result: hostbyte=0x00 driverbyte=0x00 sd 3:0:0:0: [sdb] Stopping disk then adding an another HDD to ANY scsi channel does not work anymore. I've checked three differeent HDDs with the same result. The controller is : $ lspci | grep SATA 00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA Controller [IDE mode] (rev 01) I used to use the hot swapping frequently before, never had such a problem. Am I missing something? Thanks for advices/ideas. Sergey
On di, 2012-05-22 at 16:05 -0600, Sergey Manucharian wrote:
The controller is :
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA Controller [IDE mode] (rev 01)
IDE mode isn't supposed to support hotswap. You'll need AHCI or RAID mode for that. What driver is loaded for your SATA controller?
Excerpts from Jan de Groot's message from Wed 23-May-12 09:36:
On di, 2012-05-22 at 16:05 -0600, Sergey Manucharian wrote:
The controller is :
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA Controller [IDE mode] (rev 01)
IDE mode isn't supposed to support hotswap. You'll need AHCI or RAID mode for that. What driver is loaded for your SATA controller?
It was working for long time, the driver is "ata_piix": $ lsmod | grep ata pata_acpi 3408 0 ata_generic 3295 0 ata_piix 22296 3 libata 167515 3 pata_acpi,ata_generic,ata_piix scsi_mod 133038 3 sg,libata,sd_mod I've just installed kernel 3.4 from testing - it works perfectly. -- Cheers, Sergey
participants (2)
-
Jan de Groot
-
Sergey Manucharian