RE: Questions about SATA hotplug in linux 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tejun:


> > Do you guys think it's normal? It not, how to make SATA hotplug work
on
> > different SATA port? Should it be supported by BIOS or hardware?
> 
> If you connect it to a different port, the original device will die
and
> new device will appear.  That's the expected behavior.  In the log, I
> only see ata3.00 is dying.  Isn't there any log from different port?

There is no other log from the different port such as the enablement of
ata2,
it's strange. I forgot to say that this case appear when the "OnChip
SATA Type"
is "Native IDE"(SATA device ID is 4390) in BIOS.

But when I set "OnChip SATA type" into "AHCI" mode(SATA device ID 4391),
the hotplug can work, and the device name will be changed from "scd0" to
"scd1"
during the hotplug. The log messages are attached at the end of this
mail.

But I need the reasonable explanation to the failure under "Native IDE"
mode.

Thanks
Shane

====== plug SATA ODD to a different SATA port under AHCI mode, can work
========
Dec 18 18:40:07 linux-i276 kernel: ata3: exception Emask 0x10 SAct 0x0
SErr 0x90200 action 0xe frozen
Dec 18 18:40:07 linux-i276 kernel: ata3: irq_stat 0x00400000 , <PHY RDY
changed> 
Dec 18 18:40:07 linux-i276 kernel: ata3: hard resetting link
Dec 18 18:40:08 linux-i276 kernel: ata3: SATA link down (SStatus 0
SControl 310)
Dec 18 18:40:08 linux-i276 kernel: ata3: failed to recover some devices,
retrying in 5 secs
Dec 18 18:40:13 linux-i276 kernel: ata3: hard resetting link
Dec 18 18:40:13 linux-i276 kernel: ata3: SATA link down (SStatus 0
SControl 310)
Dec 18 18:40:13 linux-i276 kernel: ata3.00: limiting speed to
UDMA/33:PIO2
Dec 18 18:40:13 linux-i276 kernel: ata3: failed to recover some devices,
retrying in 5 secs
Dec 18 18:40:15 linux-i276 kernel: ata2: exception Emask 0x10 SAct 0x0
SErr 0x40c0000 action 0xa frozen
Dec 18 18:40:15 linux-i276 kernel: ata2: irq_stat 0x00000040 ,
<connection status changed> 
Dec 18 18:40:16 linux-i276 kernel: ata2: soft resetting link
Dec 18 18:40:16 linux-i276 kernel: ata2: SATA link up 1.5 Gbps (SStatus
113 SControl 300)
Dec 18 18:40:16 linux-i276 kernel: ata2.00: ATAPI: TSSTcorp CDDVDW
TS-H653B, CM01, max UDMA/33
Dec 18 18:40:16 linux-i276 kernel: ata2.00: configured for UDMA/33
Dec 18 18:40:16 linux-i276 kernel: ata2: EH complete
Dec 18 18:40:16 linux-i276 kernel: scsi 1:0:0:0: CD-ROM
TSSTcorp CDDVDW TS-H653B  CM01 PQ: 0 ANSI: 5
Dec 18 18:40:16 linux-i276 kernel: sr1: scsi3-mmc drive: 40x/40x writer
dvd-ram cd/rw xa/form2 cdda tray
Dec 18 18:40:16 linux-i276 kernel: sr 1:0:0:0: Attached scsi CD-ROM sr1
Dec 18 18:40:16 linux-i276 kernel: sr 1:0:0:0: Attached scsi generic sg2
type 5
Dec 18 18:40:18 linux-i276 kernel: ata3: hard resetting link
Dec 18 18:40:19 linux-i276 kernel: ata3: SATA link down (SStatus 0
SControl 310)
Dec 18 18:40:19 linux-i276 kernel: ata3.00: disabled
Dec 18 18:40:19 linux-i276 kernel: ata3: EH complete
Dec 18 18:40:19 linux-i276 kernel: ata3.00: detaching (SCSI 2:0:0:0)
Dec 18 18:40:19 linux-i276 kernel: scsi 2:0:0:0: rejecting I/O to dead
device
Dec 18 18:40:43 linux-i276 syslog-ng[2291]: last message repeated 6
times




-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux