Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263792AbTEFPGp (ORCPT ); Tue, 6 May 2003 11:06:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263796AbTEFPGp (ORCPT ); Tue, 6 May 2003 11:06:45 -0400 Received: from mail0.ewetel.de ([212.6.122.10]:42704 "EHLO mail0.ewetel.de") by vger.kernel.org with ESMTP id S263792AbTEFPGn (ORCPT ); Tue, 6 May 2003 11:06:43 -0400 Date: Tue, 6 May 2003 17:19:08 +0200 (CEST) From: Pascal Schmidt To: Jens Axboe cc: Linux Kernel Mailing List Subject: Re: [IDE] trying to make MO drive work with ide-floppy/ide-cd In-Reply-To: <20030506140751.GA25817@suse.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-CheckCompat: OK Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1095 Lines: 37 On Tue, 6 May 2003, Jens Axboe wrote: > It barfs at a lot of commands, not surprisingly. ide-cd really has no > concept of devices other than cd/dvd. I'm not complaining about those messages. ;) > You need to patch cdrom.c as well: > > if ((fp->f_mode & FMODE_WRITE) && !CDROM_CAN(CDC_DVD_RAM)) > return -EROFS; > Simply removing that test doesn't get me working write support, I still get: # mount -t ext2 /dev/hde /mnt/mo mount: block device /dev/hde is write-protected, mounting read-only The disk is not write-protected, I checked. >> What can I do to help get this drive supported under 2.5/ide-cd? > I'm tempted to say ide-scsi + sd, but that goes against my principles... > It shouldn't be too much work to make ide-cd work gracefully. Well, I'm not familiar with the code at all, so I don't know where to look. -- Ciao, Pascal - 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/