Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965233AbXBQMqd (ORCPT ); Sat, 17 Feb 2007 07:46:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965234AbXBQMqd (ORCPT ); Sat, 17 Feb 2007 07:46:33 -0500 Received: from ug-out-1314.google.com ([66.249.92.174]:44041 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965233AbXBQMqd (ORCPT ); Sat, 17 Feb 2007 07:46:33 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=fvakrW+/ejXdlTgZyq8u+cFiZGmMXQ1kEgn0GBDDhUzjkr/L9uar4aXlCdXk/FqsxyqYsjEnScpRwipuHGG1fZb5coiM1JcDVjtQk90EPrx/Kyb+hcb9kAsPptZuZ2vLYFzpT3UfdFiGD/hL6UHqpcM5ILz1TBGgO8uPvpfuCCY= From: Bartlomiej Zolnierkiewicz To: Joel Soete Subject: Re: 2.6.20-rc6 libata PATA ATAPI CDROM is not working Date: Sat, 17 Feb 2007 13:52:09 +0100 User-Agent: KMail/1.9.5 Cc: Tejun Heo , Luming Yu , Alan Cox , Ioan Ionita , Alan , linux-kernel@vger.kernel.org, jgarzik@pobox.com References: <200702131915.12373.bzolnier@gmail.com> <45D6EFF0.2000106@scarlet.be> In-Reply-To: <45D6EFF0.2000106@scarlet.be> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702171352.09778.bzolnier@gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2212 Lines: 71 On Saturday 17 February 2007 13:07, Joel Soete wrote: > > Bartlomiej Zolnierkiewicz wrote: > > Hi, > > > > On Tuesday 13 February 2007 18:35, Joel Soete wrote: > > > >> scsi3 : ata_piix > >> ata1.00: ATA-4, max UDMA/66, 29336832 sectors: LBA > >> ata1.00: ata1: dev 0 multi count 16 > >> ata1.00: configured for UDMA/33 > > > > <...> > > > >> scsi 3:0:0:0: Direct-Access ATA QUANTUM FIREBALL A03. PQ: 0 ANSI: 5 > > > > IDE driver with CONFIG_IDEDMA_IVB=y should give you UDMA/66. > > > I didn't find this config option but most probably because I remove IDE support from my kernel to test this libata? Yes, it is the last option in the IDE config menu. > mmm btw, I still have to check how to access my floppy with libata? > > that said as far as: > # dmesg > [snip] > ata_piix 0000:00:07.1: version 2.00ac7 > ata1: PATA max UDMA/33 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14 > ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15 > scsi3 : ata_piix > [snip] > (sorry, it seems that I forgot to copy it) > > it make sense to me to limit to this bus capability? Yes, since the controller's max UDMA mode is UDMA/33. > > Could you send me output of "hdparm --Istdout /dev/sdc" command? > > > # hdparm --Istdout /dev/sdc > > /dev/sdc: > 045a 3fff 0000 0010 7e00 5332 003f 0000 > 0000 5154 3937 3330 3036 3332 3633 3937 > 2020 2020 2020 2020 0003 0344 0004 4130 > 332e 3039 3030 5155 414e 5455 4d20 4649 > 5245 4241 4c4c 6c63 7431 3020 3135 2020 > 2020 2020 2020 2020 2020 2020 2020 8010 > 0000 0f00 4000 0200 0200 0007 3fff 0010 > 003f fc10 00fb 0110 a500 01bf 0000 0007 > 0003 0078 0078 0078 0078 0000 0000 0000 > 0000 0000 0000 0000 0000 0000 0000 0000 > 001e 0011 346b 4001 4000 3468 0001 4000 > 041f 0008 0000 0000 fffe 0040 0000 0000 the word 88 == 0x041f => max UDMA mode is UDMA/66 the word 93 == 0x0040 => no 80-wire cable detected However it doesn't really matter because controller itself is limited to UDMA/33. Thanks, Bart - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/