Re: ahci fails with SATA DVD drive, IDE mode works

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

 



On Thu, 26 Feb 2009 10:07:17 +0900
Tejun Heo <tj@xxxxxxxxxx> wrote:

> Hello,
> 
> Chuck Ebbert wrote:
> >> How did it go?
> > 
> > I found another machine with the same chipset and a different ATAPI SATA
> > drive; that one works okay in ahci mode.
> 
> Well, there's no way all ICH9Ms are broken, so I'm afraid 'the same
> chipset' is a tad bit too wide unless it was the same board/machine.

The other machine has what seems to be a "real" SATA DVD writer in it.
It reports udma5 as the connect speed. This one seems to be a PATA drive
with an internal SATA bridge and is connecting as mwdma2.

> > There are no messages at all between "EH complete" and the string of SCSI
> > error messages:
> ...
> > ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
> > ata2.00: cmd a0/01:00:00:00:02/00:00:00:00:00/a0 tag 0 dma 512 in
> >          cdb a1 08 2e 00 00 00 00 00  40 ec 00 00 00 00 00 00
> >          res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
> > ata2.00: status: { DRDY }
> > ata2: hard resetting link
> > ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> > ata2.00: configured for MWDMA2
> > ata2: EH complete
> 
> Here, BLANK has timed out but the device was recovered okay.
> 

I ran 'hdparm -I' here. Why would it send BLANK to the drive??
(There was a 1.4 GB DVD-RW in the drive when I did that.)

Also there is no "applying bridge limits" message here when it resets
like there is when the system boots.

> > sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
> > sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current] 
> > sr 1:0:0:0: [sr0] Add. Sense: Logical block address out of range
> > end_request: I/O error, dev sr0, sector 0
> 
> And after that, the media can't be read, so this one seems normal.
> 

The media wasn't blanked -- rebooting lets me read it again.

Also, running 'hdparm -I' with no disk in the drive outputs:

/dev/sr0:
 HDIO_DRIVE_CMD(identify) failed: Invalid exchange

And strangely enough, I get the same message with a normal DVD disk in
the drive too...
--
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