From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: No IDE drivers loaded for Toshiba Satellite 320 CDS Date: Mon, 14 Apr 2008 14:56:07 +0100 Message-ID: <20080414145607.3ae98a6f@core> References: <200804021524.27222.elendil@planet.nl> <200804031947.07674.elendil@planet.nl> <48017248.4030600@gmail.com> <200804131559.21664.elendil@planet.nl> <20080414135214.GC7385@csclub.uwaterloo.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:49837 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750808AbYDNOAS (ORCPT ); Mon, 14 Apr 2008 10:00:18 -0400 In-Reply-To: <20080414135214.GC7385@csclub.uwaterloo.ca> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Lennart Sorensen Cc: Frans Pop , Tejun Heo , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz > > 1) ide-generic is only loaded _after_ any otherwise detected modules That is the correct approach, as with libata and ata_generic/pata_legacy > > 2) it is only loaded if an ISA bus is present All PC class systems have an ISA bus, it may be on the main board and called LPC but it is there. > > 3) it is only included in the initrd for the installed system if loading it > > in the installer resulted in additional block devices appearing > > OK, great for x86 perhaps, what about other systems? Should be valid for all sane ISA bus systems. The IDE legacy code as per arch probe rules. > > I would unload ide-generic in the installer if no additional block devices > > appear, but unfortunately that's not possible as it is marked "permanent". Yes - old IDE doesn't do hotplugging, libata can so your approach would work there. Alan From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759988AbYDNOA3 (ORCPT ); Mon, 14 Apr 2008 10:00:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754548AbYDNOAU (ORCPT ); Mon, 14 Apr 2008 10:00:20 -0400 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:49837 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750808AbYDNOAS (ORCPT ); Mon, 14 Apr 2008 10:00:18 -0400 Date: Mon, 14 Apr 2008 14:56:07 +0100 From: Alan Cox To: lsorense@csclub.uwaterloo.ca (Lennart Sorensen) Cc: Frans Pop , Tejun Heo , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz Subject: Re: No IDE drivers loaded for Toshiba Satellite 320 CDS Message-ID: <20080414145607.3ae98a6f@core> In-Reply-To: <20080414135214.GC7385@csclub.uwaterloo.ca> References: <200804021524.27222.elendil@planet.nl> <200804031947.07674.elendil@planet.nl> <48017248.4030600@gmail.com> <200804131559.21664.elendil@planet.nl> <20080414135214.GC7385@csclub.uwaterloo.ca> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > 1) ide-generic is only loaded _after_ any otherwise detected modules That is the correct approach, as with libata and ata_generic/pata_legacy > > 2) it is only loaded if an ISA bus is present All PC class systems have an ISA bus, it may be on the main board and called LPC but it is there. > > 3) it is only included in the initrd for the installed system if loading it > > in the installer resulted in additional block devices appearing > > OK, great for x86 perhaps, what about other systems? Should be valid for all sane ISA bus systems. The IDE legacy code as per arch probe rules. > > I would unload ide-generic in the installer if no additional block devices > > appear, but unfortunately that's not possible as it is marked "permanent". Yes - old IDE doesn't do hotplugging, libata can so your approach would work there. Alan