From: Jesper Krogh <jesper@krogh.cc>
To: Linux-Scsi <linux-scsi@vger.kernel.org>
Subject: Media autochanger driver changed behavior.
Date: Wed, 09 Jul 2008 22:51:05 +0200 [thread overview]
Message-ID: <487524B9.7000203@krogh.cc> (raw)
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.
This process takes around 7.5 minutes in my installations.
[ 211.903066] ch0: type #1 (mt): 0x0+1 [medium transport]
[ 211.903074] ch0: type #2 (st): 0x100+94 [storage]
[ 211.903076] ch0: type #3 (ie): 0x500+6 [import/export]
[ 211.903078] ch0: type #4 (dt): 0x80+2 [data transfer]
[ 211.924873] ch0: dt 0x80: ID 2, LUN 0, name: HP Ultrium 3-SCSI
G36Z
[ 211.946835] ch0: dt 0x81: ID 2, LUN 0, name: HP Ultrium 3-SCSI
G36Z
[ 211.946844] ch0: INITIALIZE ELEMENT STATUS, may take some time ...
[ 220.610904] eth0: no IPv6 routers present
[ 270.903214] st: Version 20070203, fixed bufsize 32768, s/g segs 256
[ 270.903243] Driver 'st' needs updating - please use bus_type methods
[ 519.926380] ch0: ... finished
[ 519.926422] ch 5:0:0:0: Attached scsi changer ch0
[ 519.924693] st 5:0:2:0: Attached scsi tape st0
[ 519.924702] st 5:0:2:0: st0: try direct i/o: yes (alignment 512 B)
[ 519.924818] st 6:0:2:0: Attached scsi tape st1
[ 519.924821] st 6:0:2:0: st1: try direct i/o: yes (alignment 512 B)
[ 519.942415] st1: Block limits 1 - 16777215 bytes.
[ 520.368971] st0: Block limits 1 - 16777215 bytes.
Have I misconfigured something or has the default behavior of this
driver changed? (can I get the old one back)
Earlier the driver-load just took less than a few seconds for both st
and ch.
Jesper
--
Jesper
next reply other threads:[~2008-07-09 20:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-09 20:51 Jesper Krogh [this message]
2008-07-09 21:51 ` Media autochanger driver changed behavior James Bottomley
2008-07-09 21:56 ` Jesper Krogh
2008-07-09 22:17 ` James Bottomley
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=487524B9.7000203@krogh.cc \
--to=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.