From: Douglas Gilbert <dgilbert@interlog.com>
To: Laurence Oberman <loberman@redhat.com>,
Emmanuel Florac <eflorac@intellique.com>
Cc: Laurence Oberman <oberman.l@gmail.com>,
Kai Makisara <Kai.Makisara@kolumbus.fi>,
linux-scsi@vger.kernel.org
Subject: Re: st driver doesn't seem to grok LTO partitioning
Date: Fri, 22 Jan 2016 11:17:23 +0100 [thread overview]
Message-ID: <56A201B3.6070502@interlog.com> (raw)
In-Reply-To: <1371374871.6203837.1452802373256.JavaMail.zimbra@redhat.com>
Laurence,
Shane Seymour from HP provided this useful link:
https://docs.oracle.com/cd/E21419_04/en/LTO5_Vol3_E5b/LTO5_Vol3_E5b.pdf
That documents the WRITE BUFFER command on pages 228 and 229 used
by HP LTO-5 drives. For sending new firmware it looks like you need
to use MODE 4 or 5. [That description does not look like the work of
an engineer who understands the subject matter :-)].
And it seems like HP implement the REPORT SUPPORTED OPCODES command
which means you can use the sg_opcodes utility. For the WRITE BUFFER
command, that should break out the MODE numbers that the drive
actually supports. For example, this from a SSD:
...
3b 0 10 Write buffer, combined header and data [or multiple modes]
3b 2 10 Write buffer, data
3b 4 10 Write buffer, download microcode and activate
3b 5 10 Write buffer, download microcode, save, and activate
3b 6 10 Write buffer, download microcode with offsets and activate
3b 7 10 Write buffer, download microcode with offsets, save, and activate
3b a 10 Write buffer, write data to echo buffer
...
Looking back in this thread I see you mention a Quantum Ultrium 5
tape drive; so this HP information may not apply.
Doug Gilbert
On 16-01-14 09:12 PM, Laurence Oberman wrote:
> All attempts to get my drive and changer firmware updated have failed.
> So I wont be able to add another "tested by" to this thread unless I can find another drive.
>
> Even using Doug's method fails to actually update. Seems to suck up the image and then do nothing.
> Lands up in getting hung and needs a full power reset.
>
> The image I have is the correct image.
>
> I dont want to try to many convoluted methods because I dont want to brick the changer.
>
> Its the only one I have for doing all the st driver testing here at Red Hat in the GSS team.
>
> Thanks
>
> Laurence Oberman
> Principal Software Maintenance Engineer
> Red Hat Global Support Services
>
> ----- Original Message -----
> From: "Emmanuel Florac" <eflorac@intellique.com>
> To: "Laurence Oberman" <loberman@redhat.com>
> Cc: "Laurence Oberman" <oberman.l@gmail.com>, "Kai Makisara" <Kai.Makisara@kolumbus.fi>, linux-scsi@vger.kernel.org
> Sent: Wednesday, January 6, 2016 11:07:20 AM
> Subject: Re: st driver doesn't seem to grok LTO partitioning
>
> Le Wed, 6 Jan 2016 10:23:34 -0500 (EST)
> Laurence Oberman <loberman@redhat.com> écrivait:
>
>> MaxPartitions: 0
>>
>> Drive is working fine,
>>
>> # mt -f /dev/st0 status
>> SCSI 2 tape drive:
>> File number=0, block number=0, partition=0.
>> Tape block size 512 bytes. Density code 0x58 (no translation).
>> Soft error count since last status=0
>> General status bits on (41010000):
>> BOT ONLINE IM_REP_EN
>>
>> This is what I get when I try and partition and I believe this may be
>> a firmware issue for me.
>
> Yes probably, it reports "MaxPartitions 0", should be 1 for an LTO-5
> drive. Weird.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-01-22 10:17 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20151218170644.24167419@harpe.intellique.com>
2015-12-21 12:46 ` st driver doesn't seem to grok LTO partitioning Emmanuel Florac
2015-12-21 17:25 ` "Kai Mäkisara (Kolumbus)"
[not found] ` <20151221185759.38dd21d6@harpe.intellique.com>
2015-12-21 18:57 ` "Kai Mäkisara (Kolumbus)"
2015-12-22 5:51 ` Seymour, Shane M
2015-12-22 9:59 ` Emmanuel Florac
[not found] ` <CAAzz28i5=oz_BmcoEC2ApLN9zj_F4aDmGkCXkXaS48HR_Ockew@mail.gmail.com>
2015-12-22 10:04 ` Emmanuel Florac
2015-12-22 10:31 ` Laurence Oberman
2015-12-25 15:53 ` Kai Makisara
2015-12-25 17:47 ` Emmanuel Florac
2015-12-29 16:14 ` Emmanuel Florac
2015-12-29 16:58 ` Emmanuel Florac
2015-12-29 17:46 ` "Kai Mäkisara (Kolumbus)"
2015-12-29 17:58 ` Emmanuel Florac
[not found] ` <20151229191347.2e0e5f0e@harpe.intellique.com>
2015-12-30 17:54 ` Kai Makisara
2015-12-30 18:33 ` Emmanuel Florac
2015-12-30 19:21 ` "Kai Mäkisara (Kolumbus)"
2015-12-30 21:24 ` Emmanuel Florac
2015-12-31 16:08 ` "Kai Mäkisara (Kolumbus)"
2016-01-04 10:22 ` Kai Makisara
2016-01-04 10:54 ` Emmanuel Florac
2016-01-04 11:05 ` Emmanuel Florac
2016-01-04 11:46 ` Emmanuel Florac
[not found] ` <CAAzz28gW69rB-6h2fwxtwnTj5h7HZcn2qkJdx2GTgu3Y8SDNqQ@mail.gmail.com>
2016-01-04 15:32 ` Emmanuel Florac
[not found] ` <CAAzz28iCoG-rjnL7EsjHXA7UtRJSCEXuwL3+27ZBo7fckcBAfg@mail.gmail.com>
2016-01-05 21:55 ` Laurence Oberman
2016-01-06 15:10 ` Emmanuel Florac
2016-01-06 15:23 ` Laurence Oberman
2016-01-06 15:25 ` Laurence Oberman
2016-01-06 15:32 ` Laurence Oberman
2016-01-06 15:48 ` Douglas Gilbert
2016-01-06 15:54 ` Laurence Oberman
2016-01-06 16:07 ` Emmanuel Florac
2016-01-14 20:12 ` Laurence Oberman
2016-01-15 0:21 ` Seymour, Shane M
2016-01-21 20:58 ` What partition should the MTMKPART argument specify? Was: " "Kai Mäkisara (Kolumbus)"
2016-01-21 22:06 ` Laurence Oberman
2016-01-22 2:10 ` Seymour, Shane M
2016-01-22 3:31 ` Seymour, Shane M
2016-01-22 11:24 ` Emmanuel Florac
2016-01-22 11:50 ` Emmanuel Florac
2016-01-26 23:35 ` Seymour, Shane M
2016-01-28 17:31 ` "Kai Mäkisara (Kolumbus)"
2016-01-28 17:39 ` Emmanuel Florac
2016-01-24 21:05 ` Kai Makisara
2016-01-25 10:21 ` Emmanuel Florac
2016-01-28 7:36 ` Seymour, Shane M
2016-01-28 17:04 ` "Kai Mäkisara (Kolumbus)"
2016-01-28 19:21 ` Laurence Oberman
2016-01-28 19:56 ` "Kai Mäkisara (Kolumbus)"
2016-01-28 23:12 ` Seymour, Shane M
2016-01-28 23:23 ` Laurence Oberman
2016-01-28 23:25 ` Laurence Oberman
2016-01-29 0:54 ` Seymour, Shane M
2016-01-29 17:22 ` Kai Makisara
2016-02-01 6:31 ` Seymour, Shane M
2016-02-01 18:43 ` "Kai Mäkisara (Kolumbus)"
2016-02-01 19:02 ` Laurence Oberman
2016-02-01 22:59 ` Seymour, Shane M
2016-02-03 3:40 ` Laurence Oberman
2016-02-03 2:18 ` Seymour, Shane M
2016-02-03 18:36 ` Kai Makisara
2016-02-04 1:43 ` Seymour, Shane M
2016-02-04 17:54 ` "Kai Mäkisara (Kolumbus)"
2016-02-04 18:09 ` Douglas Gilbert
2016-02-04 19:25 ` Laurence Oberman
2016-02-04 18:12 ` Emmanuel Florac
2016-01-15 11:48 ` Emmanuel Florac
2016-01-22 10:17 ` Douglas Gilbert [this message]
2016-01-06 16:10 ` Emmanuel Florac
2016-01-06 16:16 ` Emmanuel Florac
2016-01-06 16:44 ` Emmanuel Florac
2015-12-29 16:59 ` Emmanuel Florac
2015-12-29 17:18 ` "Kai Mäkisara (Kolumbus)"
[not found] ` <CAAzz28gn2zwC5ZUTtPupDOTHekGspWh0vnWHV+jvbx52c=cq2Q@mail.gmail.com>
2015-12-21 17:49 ` Emmanuel Florac
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=56A201B3.6070502@interlog.com \
--to=dgilbert@interlog.com \
--cc=Kai.Makisara@kolumbus.fi \
--cc=eflorac@intellique.com \
--cc=linux-scsi@vger.kernel.org \
--cc=loberman@redhat.com \
--cc=oberman.l@gmail.com \
/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.