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
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html