RE: Unable to access drives via PortMultiplier and SATA/IDE bridge

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

 



Tejun-

Sorry for the delay in getting back with you - I wanted to build a clean
machine and do some more testing before I replied.

I've installed Fedora Core 9 (2.6.25-14.fc9.i686) along with a single SiI
3124-based 4 port controller.

As I mentioned in an earlier email, I'm using a JM20330 based SATA to IDE
bridge to connect an IDE solid state drive. The SSD and bridge work fine
when attached directly to a SATA port, but don't work when attached to a
port multipler (SiI 3726-based). (For reference, no problems when using
Windows XP)

After some experimentation, I found out that if I connected the port
multipler first (with no drive attached or a standard SATA drive) and then
attached the SSD/bridge drive, the drive was immediately recognized by the
kernel.

I've attached two dmesg log files:
- dmesg_one_drive_at_a_time.txt is when the PMP was attached with a standard
SATA drive on port 0 and the SSD/bridge were attached to port 1 later.
- dmesg_ssd_drive_only_after_pmp.txt is when the PMP was attached with the
SSD/bridge attached to port 0; after EH timeout, the sata cable was detached
from port 0 and then re-inserted.

I've also run cases where the PMP was attached to the computer empty (no
drives on any ports) and then attached the SSD/bridge with success (port
independent).

Let me know if you need more dmesg logs.

Thanks,
Brian


-----Original Message-----
From: Tejun Heo [mailto:htejun@xxxxxxxxx] 
Sent: Tuesday, May 13, 2008 11:41 PM
To: Brian & Chamaigne Scamman
Subject: Re: Unable to access drives via PortMultiplier and SATA/IDE bridge

Brian & Chamaigne Scamman wrote:
> If I attach a real SATA drive to port 0 of the PMP, it is recognized
> and writeable; however, IDE solid state drives attached via a JM20330
> (to ports 2 and 3) at the same time receive the SCR 2 error.

Can you please cc linux-ide@xxxxxxxxxxxxxxx when you reply?

Can you please post the log from that configuration?  So, SATA drive at 
port 0 and solid drives at port 1 and 2, right?

-- 
tejun
ata6: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xa frozen 
ata6: irq_stat 0x00b40090, PHY RDY changed 
ata6: hard resetting link 
ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 0) 
ata6.15: Port Multiplier 1.1, 0x1095:0x3726 r23, 6 ports, feat 0xl/0x9
ata6.00: hard resetting link 
ata6.00: softreset failed (timeout) 
ata6.00: hard resetting link 
ata6.15: qc timeout (cmd 0xe4) 
ata6.00: failed to read SCR 2 (Emask=0x4) 
ata6.00: failed to read SCR 2 (Emask=0x40) 
ata6.00: COMRESET failed (errno=-5) 
ata6.00: failed to read SCR 0 (Emask=0x40) 
ata6.00: reset failed, giving up 
ata6.15: hard resetting link 
ata6.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0) 
ata6.00: hard resetting link 
ata6.00: softreset failed (timeout) 
ata6.00: hard resetting link 
ata6.15: qc timeout (cmd 0xe4) 
ata6.00: failed to read SCR 2 (Emask=0x4) 
ata6.00: failed to read SCR 2 (Emask=0x40) 
ata6.00: COMRESET failed (errno=-5) 
ata6.00: failed to read SCR 0 (Emask=0x40) 
ata6.00: reset failed, giving up 
ata6.15: hard resetting link 
ata6.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0) 
ata6.00: hard resetting link 
ata6.00: softreset failed (timeout) 
ata6.00: hard resetting link 
ata6.15: qc timeout (cmd 0xe4) 
ata6.00: failed to read SCR 2 (Emask=0x4) 
ata6.00: failed to read SCR 2 (Emask=0x40) 
ata6.00: COMRESET failed (errno=-5) 
ata6.00: failed to read SCR 0 (Emask=0x40) 
ata6.00: reset failed, giving up 
ata6.00: failed to recover link after 3 tries, disabling 
ata6: failed to recover PMP, retrying in 5 secs 
ata6.15: hard resetting link 
ata6.15: SATA link up 3.0 Gbps (SStatus 123 SControl. 0) 
ata6.01: hard resetting link 
ata6.01: SATA link down (SStatus 0 SControl 320) 
ata6.02: hard resetting link 
ata6.02: SATA link down (SStatus 0 SControl 320) 
ata6.03: hard resetting link 
ata6.03: SATA link down (SStatus 0 SControl 320) 
ata6.04: hard resetting link 
ata6.04: SATA link down (SStatus 0 SControl 320) 
ata6.05: hard resetting link 
ata6.05: SATA link up 1.5 Gbps (SStatus 113 SControl 320) 
ata6: EH complete 
ata6.00: exception Emask 0x10 SAct 0x0 SErr 0x4050000 action 0xb 
ata6: SError: { PHYRdyChg CommWake DevExch } 
ata6.00: hard resetting link 
ata6.00: SATA link down (SStatus 0 SControl 320) 
ata6: EH complete 
ata6.00: exception Emask 0x10 SAct 0x0 SErr 0x4050000 action 0xb 
ata6: SError: { PHYRdyChg CommWake DevExch } 
ata6.00: hard resetting link 
ata6.00: SATA link up 1.5 Gbps (SStatus 113 SControl 320) 
ata6.00: ATA-6: Super Talent Tech, Rev 2.11, max UDMA/133 
ata6.00: 127923200 sectors, multi 1: LBA 
ata6.00: applying bridge limits 
ata6.00: configured for UDMA/100 
ata6: EH complete 
scsi 5:0:0:0: Direct-Access     ATA      Super Talent Tec Rev PQ: 0 ANSI: 5
sd 5:0:0:0: [sdc] 127923200 512-byte hardware sectors (65497 MB) 
sd 5:0:0:0: [sdc] Write Protect is off 
Sd 5:0:0:0: [sdc] Mode Sense: 00 3a 00 00
Sd 5:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn?t support DPO or FUA
sd 5:0:0:0: [sdc] 127923200 512-byte hardware sectors (65497 MB)
sd 5:0:0:0: [sdc] Write Protect is off
sd 5:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 5:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn?t support DPO or FUA
 sdc: sdc1 
sd 5:0:0:0: [sdc] Attached SCSI disk 
sd 5:0:0:0: Attached scsi generic sg3 type 0 

ata6: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xa frozen 
ata6: irq_stat 0x00b40090, PHY RDY changed 
ata6: hard resetting link 
ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 0) 
ata6.15: Port Multiplier 1.1, 0x1095:0x3726 r23, 6 ports, feat 0x1/0x9 
ata6.00: hard resetting link 
ata6.00: SATA link up 1.5 Gbps (SStatus 113 SControl 320) 
ata6.01: hard resetting link 
ata6.01: SATA link down (SStatus 0 SControl 320) 
ata6.02: hard resetting link 
ata6.02: SATA link down (SStatus 0 SControl 320) 
ata6.03: hard resetting link 
ata6.03: SATA link down (SStatus 0 SControl 320) 
ata6.04: hard resetting link 
ata6.04: SATA link down (SStatus 0 SControl 320) 
ata6.05: hard resetting link 
ata6.05: SATA link up 1.5 Gbps (SStatus 113 SControl 320) 
ata6.00: ATA-7: ST910021AS, 3.04, max UDMA/133 
ata6.00: 195371568 sectors, multi 16: LBA48 NCQ (depth 31/32) 
ata6.00: configured for UDMA/100 
ata6: EH complete 
scsi 5:0:0:0: Direct-Access     ATA ST910021AS            3.04 PQ: 0 ANSI: 5 
sd 5:0:0:0: [sdc] 195371568 512-byte hardware sectors (100030 MB) 
sd 5:0:0:0: [sdc] Write Protect is off 
sd 5:0:0:0: [sdc] Mode Sense: 00 3a 00 00 
sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn?t support DPO or FUA 
sd 5:0:0:0: [sdc] 195371568 512-byte hardware sectors (100030 MB) 
sd 5:0:0:0: [sdc] Write Protect is off 
sd 5:0:0:0: [sdc] Mode Sense: 00 3a 00 00 
Sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn?t support DPO or FUA 
 sdc: unknown partition table 
sd 5:0:0:0: [sdc] Attached SCSI disk 
sd 5:0:0:0: Attached scsi generic sg3 type 0 
ata6.01: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xb 
ata6: SError: { CommWake DevExch } 
ata6.01: hard resetting link 
ata6.01: SATA link up 1.5 Gbps (SStatus 113 SControl 320) 
ata6.01: ATA-6: Super Talent Tech, Rev 2.11, max UDMA/133 
ata6.01: 127923200 sectors, multi 1: LBA 
ata6.01: applying bridge limits 
ata6.01: configured for UDMA/100 
ata6: EH complete 
scsi 5:1:0:0: Direct-Access     ATA      Super Talent Tec Rev  PQ: 0 ANSI: 5 
sd 5:1:0:0: [sde] 127923200 512-byte hardware sectors (65497 MB) 
sd 5:1:0:0: [sde] Write Protect is off 
sd 5:1:0:0: [sde] Mode Sense: 00 3a 00 00 
sd 5:1:0:0: [sde] Write cache: disabled, read cache: enabled, doesn?t support DPO or FUA 
sd 5:1:0:0: [sde] 127923200 512-byte hardware sectors (65497 MB) 
sd 5:1:0:0: [sde] Write Protect is off 
sd 5:1:0:0: [sde] Mode Sense: 00 3a 00 00 
sd 5:1:0:0: [sde] Write cache: disabled, read cache: enabled, doesn?t support DPO or FUA 
 sde: sdel 
sd 5:1:0:0: [sde] Attached SCSI disk 
sd 5:1:0:0: Attached scsi generic sg5 type 0 


[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