tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

scsipi: physio split the request



Hello

A few years ago I made a failed attempt at running LTFS on a LTO 6 drive. 
I resumed the effort, and once I got the LTFS code ported, running 
a command like mkltfs fails with kernel console saying:
st0(mpii0:0:2:0): physio split the request.. cannot proceed

This is netbsd-current from yesterday.

I understand this is about tape block size larger than usual 512. 
src/sys/dev/st.c seems to have provision for that, with drive specific
quirks like below. Do I read it correctly?
        {{T_SEQUENTIAL, T_REMOV,
         "TANDBERG", " TDC 3600       ", ""},     {0, 12, {
                {0, 0, 0},                              /* minor 0-3 */
                {ST_Q_FORCE_BLKSIZE, 0, QIC_525},       /* minor 4-7 */
                {0, 0, QIC_150},                        /* minor 8-11 */
                {0, 0, QIC_120}                         /* minor 12-15 */
        }}},
        {{T_SEQUENTIAL, T_REMOV,
         "TANDBERG", " TDC 3800       ", ""},     {0, 0, {
                {ST_Q_FORCE_BLKSIZE, 512, 0},           /* minor 0-3 */
                {0, 0, QIC_525},                        /* minor 4-7 */
                {0, 0, QIC_150},                        /* minor 8-11 */
                {0, 0, QIC_120}                         /* minor 12-15 */
        }}},

Mine is detected as:
  st0 at scsibus0 target 2 lun 0: <TANDBERG, LTO-6 HH, 3319> tape removable
  st0: density code 90, variable blocks, write-enabled
  st0: tagged queueing

Is it just that I need quirks for this specific drive? If this is the
case, where the appropriate information can be found? Looking in Linux
kernel code, I can only find stuff about TANDBERG TDC 3600, with nothing
about block size.


-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index