Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754107AbZAYVOc (ORCPT ); Sun, 25 Jan 2009 16:14:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753120AbZAYVNq (ORCPT ); Sun, 25 Jan 2009 16:13:46 -0500 Received: from lucidpixels.com ([75.144.35.66]:40260 "EHLO lucidpixels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752821AbZAYVNp (ORCPT ); Sun, 25 Jan 2009 16:13:45 -0500 Date: Sun, 25 Jan 2009 16:13:44 -0500 (EST) From: Justin Piszcz To: Bartlomiej Zolnierkiewicz cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org Subject: Re: Switching from (deprecated) IDE driver -> SATA (PATA support) In-Reply-To: <200901252027.43376.bzolnier@gmail.com> Message-ID: References: <200901252027.43376.bzolnier@gmail.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2463 Lines: 58 On Sun, 25 Jan 2009, Bartlomiej Zolnierkiewicz wrote: > On Sunday 25 January 2009, Justin Piszcz wrote: >> When switching (removing IDE support) in favor of the new PATA support >> under the SATA menu, is there any best practice/or method of knowing what >> the new root hdd will be upon reboot? >> >> Example: >> If I have 10 sata disks and 2 IDE disks on various cards/controllers, how >> do I know /dev/hda will become /dev/sda? In one test on a system I have >> here, /dev/hda became /dev/sdb2 after reboot, not an issue if the box is >> local, but if the box is remote, how do you cope with this? I ask now >> because some IDE drivers have been removed (nvidia I believe? in 2.6.28) >> and I cannot upgrade the kernel anymore unless I move to the >> PATA-supported SATA driver, but I have no idea what the root disk will be >> after a reboot and there is a high probability it will not come back after >> a reboot.. > > Hmmm? That's news to me and I wonder where did you hear that? > > The only driver that got removed recently was HPT34X (for very, very > old HPT controllers) which was broken for ages. In reality we are > adding new IDE host drivers and not removing them. > > In 2.6.28 we got support for TX4938 and TX4939 chipsets. 2.6.29-rc1 > contains a new driver for IT8172 and 2.6.29-final will hopefully have > drivers for AT91 and CS5536 chipsets. Moreover except CS5536 all of > above chipsets are not support in other ways under Linux... > > While we are at it 2.6.29 also got a whole bunch of updates to the core > IDE code -- this includes complete rewrite of locking scheme (which > is now superior to some other solutions), latency improvements for IRQ > handling and port of ide-cd over generic ATAPI support (not to mention > whole stack of bugfixes and cleanups). > > Thanks, > Bart > > PS as usual I encourage people to try different solutions and choose > whatever works best for them (please also remember that giving feedback > is very important if you want to see some things improved). > Correction, it was the HPT controller as you noted, broken? Was working for me in 2.6.26.3 :) CONFIG_BLK_DEV_HPT34X=y # CONFIG_HPT34X_AUTODMA is not set CONFIG_BLK_DEV_HPT366=y Justin. -- 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/