RE: ATAPI devices in AHCI mode not working

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

 



>-----Original Message-----
>From: Alan Cox [mailto:alan@xxxxxxxxxxxxxxxxxxx]
>Sent: Monday, October 29, 2007 1:30 PM
>To: Gaston, Jason D
>Cc: linux-ide@xxxxxxxxxxxxxxx
>Subject: Re: ATAPI devices in AHCI mode not working
>
>> ata1.00: ATAPI: TSSTcorpCD/DVDW SH-S183L, SB01, max UDMA/33, ATAPI AN
>
>Everyones favourite vendor right now
>
>> ata1.00: applying bridge limits
>> ata1.00: configured for UDMA/33
>
>It seems to be seeing a SATA/PATA bridge here ? This is a PATA device
on
>a SATA bridge ? If not something is very very broken as we are seeing a
>SATA cable type and a device not indentifying itself as SATA.
>
>> ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
>> ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
>>          res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
>> ata1.00: status: { DRDY }
>
>We try and talk to it, it ends up stuck busy.
>
>> ata1: soft resetting link
>> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
>> ata1.00: configured for UDMA/33
>> ata1: EH complete
>
>Kick it, back it comes
>> sr0: scsi3-mmc drive: 32x/40x writer dvd-ram cd/rw xa/form2 cdda tray
>> Uniform CD-ROM driver Revision: 3.20
>> sr 0:0:0:0: Attached scsi CD-ROM sr0
>
>Fails again
>> ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
>> ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
>>          res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
>> ata1.00: status: { DRDY }
>> ata1: soft resetting link
>
>Repeat
>
>> ata1: SATA link down (SStatus 11 SControl 300)
>> ata1: failed to recover some devices, retrying in 5 secs
>> ata1: hard resetting link
>> ata1: SATA link down (SStatus 0 SControl 300)
>> ata1: limiting SATA link speed to 1.5 Gbps
>
>Try again at 1.5Gbit
>
>> ata1: hard resetting link
>> ata1: SATA link down (SStatus 0 SControl 310)
>> ata1.00: disabled
>> ata1: EH complete
>
>We give up on it.
>
>
>First guess would be to replace the TSST drive with another vendors
>device and see what occurs. If that does the same thing it eliminates
>drive firmware.
>
>If that doesn't help then need to know more about the bridge etc
>
>
>Alan

I have tried a Plextor and a couple of Lite-On DVD drives with the same
behavior.  Dmesg below for the Lite-On using the 2.6.24-rc1 kernel.  The
other weird thing, is that when the ATAPI drive is attached and I am
seeing this issue, USB also does not work (USB mice and flashdrives).
If I reboot with the ATAPI drive disconnected then the USB device work
fine.  What other information can I give you?

Thanks,

Jason

...
libata version 3.00 loaded.
ahci 0000:00:1f.2: version 3.0
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA
mode
ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck stag pm led clo pio slum
part 
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi0 : ahci
scsi1 : ahci
ata1: SATA max UDMA/133 abar m1024@0xd9101000 port 0xd9101100 irq 216
ata2: SATA max UDMA/133 abar m1024@0xd9101000 port 0xd9101180 irq 216
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATAPI: ATAPI   DVD D  DH16D2S, EP52, max UDMA/100
ata1.00: configured for UDMA/100
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7: WDC WD1600JS-61MHB1, 10.02E01, max UDMA/133
ata2.00: 312581808 sectors, multi 0: LBA48 
ata2.00: configured for UDMA/133
scsi 0:0:0:0: CD-ROM            ATAPI    DVD D  DH16D2S   EP52 PQ: 0
ANSI: 5
scsi 1:0:0:0: Direct-Access     ATA      WDC WD1600JS-61M 10.0 PQ: 0
ANSI: 5
sd 1:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sd 1:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
 sda: sda1 sda2
sd 1:0:0:0: [sda] Attached SCSI disk
sr 0:0:0:0: Attached scsi generic sg0 type 5
sd 1:0:0:0: Attached scsi generic sg1 type 0
ACPI: Processor [CPU1] (supports 8 throttling states)
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 
         res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 
         res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
ReiserFS: sda2: found reiserfs format "3.6" with standard journal
ReiserFS: sda2: using ordered data mode
ReiserFS: sda2: journal params: device sda2, size 8192, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: sda2: checking transaction log (sda2)
ReiserFS: sda2: Using r5 hash to sort names
Adding 2104472k swap on
/dev/disk/by-id/scsi-SATA_WDC_WD1600JS-61_WD-WCANMC345198-part1.
Priority:-1 extents:1 across:2104472k
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 
         res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
ata1: limiting SATA link speed to 1.5 Gbps
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 
         res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: hard resetting link
ata1: port is slow to respond, please be patient (Status 0x80)
ata1: COMRESET failed (errno=-16)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/100
ata1: EH complete
loop: module loaded
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ip6_tables: (C) 2000-2006 Netfilter Core Team
ip_tables: (C) 2000-2006 Netfilter Core Team
input: Power Button (FF) as /class/input/input3
ACPI: Power Button (FF) [PWRF]
input: Sleep Button (CM) as /class/input/input4
ACPI: Sleep Button (CM) [SLPB]
input: Power Button (CM) as /class/input/input5
ACPI: Power Button (CM) [PWRB]
BIOS EDD facility v0.16 2004-Jun-25, 6 devices found
audit(1192800900.159:2): audit_pid=1702 old=0 by auid=4294967295
powernow: This module only works with AMD K7 CPUs
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd a0/01:00:00:80:00/00:00:00:00:00/a0 tag 0 cdb 0x5a data 128
in
         res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/100
ata1: EH complete
sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
-
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