public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Media autochanger driver changed behavior.
@ 2008-07-09 20:51 Jesper Krogh
  2008-07-09 21:51 ` James Bottomley
  0 siblings, 1 reply; 9+ messages in thread
From: Jesper Krogh @ 2008-07-09 20:51 UTC (permalink / raw)
  To: Linux-Scsi

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-09-10 11:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox