public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Jesper Krogh <jesper@krogh.cc>
Cc: Linux-Scsi <linux-scsi@vger.kernel.org>
Subject: Re: Media autochanger driver changed behavior.
Date: Wed, 09 Jul 2008 17:17:30 -0500	[thread overview]
Message-ID: <1215641850.3444.52.camel@localhost.localdomain> (raw)
In-Reply-To: <4875342B.5060702@krogh.cc>

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.

James


> > I'm afraid ch.c is a bit of an orphan so tracking down the issue,
> > particularly if it's buried way back might take a while (on the brighter
> > side, there haven't been so many commits to the driver, so they can be
> > tested one by one).
> 
> 
> 


  reply	other threads:[~2008-07-09 22:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-09 20:51 Media autochanger driver changed behavior Jesper Krogh
2008-07-09 21:51 ` James Bottomley
2008-07-09 21:56   ` Jesper Krogh
2008-07-09 22:17     ` James Bottomley [this message]
2008-07-10  5:59       ` Jesper Krogh
2008-07-10 14:00         ` James Bottomley
2008-07-11 19:15           ` Jesper Krogh
2008-09-10 11:10             ` Jesper Krogh
2008-09-10 11:37             ` Jesper Krogh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1215641850.3444.52.camel@localhost.localdomain \
    --to=james.bottomley@hansenpartnership.com \
    --cc=jesper@krogh.cc \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox