Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 5 Jan 2003 03:20:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 5 Jan 2003 03:20:17 -0500 Received: from d40.sstar.com ([209.205.179.40]:23551 "EHLO scud.asjohnson.com") by vger.kernel.org with ESMTP id ; Sun, 5 Jan 2003 03:20:16 -0500 Message-ID: <3E17ECC7.7090203@asjohnson.com> Date: Sun, 05 Jan 2003 02:28:55 -0600 From: "Andrew S. Johnson" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021209 X-Accept-Language: en-us, en MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: Re: IDE-SCSI grabs too many drives References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1571 Lines: 49 J.A. Magallon wrote: > On 2003.01.04 Andrew S. Johnson wrote: > >>I have append="hdc=ide-scsi" in my lilo.conf file, >>but when I modprobe ide-scsi, it grabs both the >>CD-RW and the DVD-ROM: >> > > > I think the correct param is "hdc=scsi", with incorrect param and no > ide-cd loaded, probably ide-scsi grabs anything it can... > Actually, I guessed on my own, and this solves it: append="hdc=ide-scsi hdd=ide-cd" in lilo.conf In rc.modules: /sbin/modprobe ide-scsi /sbin/modprobe ide-cd Gives this in dmesg: SCSI subsystem driver Revision: 1.00 scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: HP Model: CD-Writer+ 9100 Rev: 1.0c Type: CD-ROM ANSI SCSI revision: 02 hdd: ATAPI 40X DVD-ROM drive, 256kB Cache, UDMA(33) I don't actually know if the hdd=ide-cd does anything for the ide-cd module, other than keep the ide-scsi module from grabbing it. Conversely, the ide-cd module only grabs hdd even when the ide-scsi module is not loaded (making hdc free). So it appears to do something. As it turns out, the latest version of cdrtools (2.0) supports ATAPI drives directly. I tested this by burning an ISO, reading it back, and comparing the md5sums. So the whole ide-scsi exersice looks to be academic at this point. Have fun, Andy Johnson - 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/