All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Valentan <R.Valentan@solid-soft.at>
To: linux-kernel@vger.kernel.org
Subject: Re: SCSI tape problems: 2.6.12, DLT 7000, Adaptec AIC7xxx
Date: Tue, 23 Aug 2005 21:07:21 +0200	[thread overview]
Message-ID: <430B73E9.7080207@solid-soft.at> (raw)

(and  Re: Linux-2.6.13-rc6: aic7xxx testers please..  )

Hi!

I have also the problem with a dlt drive HP C9264CB (with
media changer). After I have discovered, that after a

rmmod st ; modprobe st

the tape is working again, I take same "readings" in the
code of st.c.
I think, I have detect a bug. The st_buf_fragment[] should
begin after the scatterlist[]

*** st.c.orig   2005-08-23 20:43:17.304704439 +0200
--- st.c        2005-08-23 20:43:45.402087696 +0200
***************
*** 3530,3536 ****
         tb->use_sg = max_sg;
         if (segs > 0)
                 tb->b_data = page_address(tb->sg[0].page);
!       tb->frp = (struct st_buf_fragment *)(&(tb->sg[0]) + max_sg);

         tb->in_use = 1;
         tb->dma = need_dma;
--- 3530,3536 ----
         tb->use_sg = max_sg;
         if (segs > 0)
                 tb->b_data = page_address(tb->sg[0].page);
!       tb->frp = (struct st_buf_fragment *)(&(tb->sg[max_sg])); 

         tb->in_use = 1;
         tb->dma = need_dma;



I have it not tested, because the tape drive is in a datacenter
of a provider, and "killing" the kernel will not be repairable
with an ssh-connect ;-(  I can't get the tape out off the data-
center before friday..

wbr
-- 
Robert Valentan

             reply	other threads:[~2005-08-23 19:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-23 19:07 Robert Valentan [this message]
2005-09-03 14:02 ` SCSI tape problems... (solved?) Robert Valentan

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=430B73E9.7080207@solid-soft.at \
    --to=r.valentan@solid-soft.at \
    --cc=linux-kernel@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.