From: James Bottomley Subject: Re: Media autochanger driver changed behavior. Date: Thu, 10 Jul 2008 09:00:21 -0500 Message-ID: <1215698421.3353.15.camel@localhost.localdomain> References: <487524B9.7000203@krogh.cc> <1215640274.3444.42.camel@localhost.localdomain> <4875342B.5060702@krogh.cc> <1215641850.3444.52.camel@localhost.localdomain> <4875A53E.4030909@krogh.cc> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from accolon.hansenpartnership.com ([76.243.235.52]:53770 "EHLO accolon.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754649AbYGJOA1 (ORCPT ); Thu, 10 Jul 2008 10:00:27 -0400 In-Reply-To: <4875A53E.4030909@krogh.cc> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Jesper Krogh Cc: Linux-Scsi On Thu, 2008-07-10 at 07:59 +0200, Jesper Krogh wrote: > James Bottomley wrote: > > On Wed, 2008-07-09 at 23:56 +0200, Jesper Krogh wrote: > >> James Bottomley wrote: > >>> On Wed, 2008-07-09 at 22:51 +0200, Jesper Krogh wrote: > >>>> Hi. > >>>> > >>>> Upgrading the OS from an quite old kernel to a newer (2.6.24) changed > >>>> the behavior of the "ch" driver. Now it does a inventory to the changer > >>>> on load. This command makes the barcode-reader scan the entire library > >>>> at driver load time. > >>> Do I take it from this that your old kernel simply didn't auto load the > >>> ch driver? or that something has changed in the way the driver now > >>> works? > >> It sure did load the driver and it worked just fine. It just didnt make > >> the library unit force scan the barcodes. (the library do that on bootup > >> by itself, but it can be forced with mtx over the changer device). > >> > >> mtx -f /dev/changer inventory => Force scans barcodes > >> mtx -f /dev/changer status => Reads out the barcodes labels and slots > >> from the changer device without forcing the library to scan. > >> (note I dont know if it is library specific). > > > > OK, so it's not the autoloading code which I thought it might be. > > > > Which is the latest version of the kernel that works? ... that will at > > least give me the set of changes to look at. > > I cant give you that, since I havent testet all, but I'm quite sure > 2.6.20 worked, > completely sure that 2.6.15 was Ok. > > I know this is a large timespan, sorry. It would be enormously helpful if you could boot 2.6.20 and confirm. There are 3 changes to ch between 2.6.20 and 2.6.24. There are 8 between 2.6.15 and 2.6.24. Thanks, James