From owner-freebsd-hardware@FreeBSD.ORG Fri Apr 4 22:59:05 2014 Return-Path: Delivered-To: freebsd-hardware@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21A56EC8; Fri, 4 Apr 2014 22:59:05 +0000 (UTC) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 99E6FD09; Fri, 4 Apr 2014 22:59:01 +0000 (UTC) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.14.2/8.14.2) with ESMTP id s34Mx0BW049683; Fri, 4 Apr 2014 16:59:00 -0600 (MDT) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id s34Mx0oT049682; Fri, 4 Apr 2014 16:59:00 -0600 (MDT) (envelope-from ken) Date: Fri, 4 Apr 2014 16:59:00 -0600 From: "Kenneth D. Merry" To: Alexander Motin Subject: Re: Are there still cd(4) changers? Message-ID: <20140404225900.GA49468@nargothrond.kdm.org> References: <533E9C8F.20005@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <533E9C8F.20005@FreeBSD.org> User-Agent: Mutt/1.4.2i Cc: FreeBSD SCSI , FreeBSD Hardware X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 22:59:05 -0000 On Fri, Apr 04, 2014 at 14:50:39 +0300, Alexander Motin wrote: > Hi. > > Does anybody still use CD changer supported by cd(4) driver in FreeBSD, > not ch(4)? Those changers have single drive, but report multiple LUNs > with one LUN per CD slot. > > One device like I have in my table is 17 year old. All devices I can > find with Google or eBay are CD, not even DVD, and are parallel ATA or > parallel SCSI. Is there anything relevant still on market? I have one, but like yours, it's very old. (It's one of the ones I used when I wrote the changer code in the late 90's.) > I am asking this because code supporting that hardware in FreeBSD is > heavily broken in head and stable/10 branches for several months now, > and fix seems to be non-trivial. So my question is: does it worth > bothering with rewrite, or we can just drop ~20KB of unused and quite > complicated code? Dropping code does not mean those devices will be > unusable, but only that _simultaneous_ access to different LUNs will > become much slower due to inefficient scheduling of disk loads/unloads. I think it is fine to take it out. Let's see if anyone who is using one actually speaks up, but I would imagine that very few people are using them. Removing the code will simplify the driver, and it is becoming more difficult to find the hardware to even run one of those devices. I doubt we'll see anyone attempt to make one of those again. It'll probably remain like it is now -- either single disk devices, or large optical changers that would use ch(4) to do the changing. Ken -- Kenneth Merry ken@FreeBSD.ORG