FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 05-22-2012, 10:05 PM
Sergey Manucharian
 
Default 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
 
Old 05-23-2012, 07:36 AM
Jan de Groot
 
Default is scsi hot swap broken?

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?
 
Old 05-23-2012, 12:49 PM
Sergey Manucharian
 
Default is scsi hot swap broken?

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
 

Thread Tools




All times are GMT. The time now is 10:02 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org