public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Layton <jtlayton@poochiereds.net>
To: Christoph Hellwig <hch@infradead.org>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Qlogic ISP 1020
Date: Tue, 23 Mar 2004 16:00:53 -0500	[thread overview]
Message-ID: <1080075653.2457.11.camel@localhost> (raw)
In-Reply-To: <20040323062912.B29405@infradead.org>

On Tue, 2004-03-23 at 01:29, Christoph Hellwig wrote:
> https://verein.lst.de/~hch/qla1280-isp1040.diff.bz2 has my current patch.
> 
> So far I only kno it works with 1040B's on SGI Origins.   If you want to
> give it a try apply the patch and make sure you have the qla1280 but not the
> qlogicisp driver in the kernel.
> 
> I'll try to split the patch into reasoable chunk soon and feed it to Jes.
> -
> 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

I tried this out today, and the results were mixed. Here's the lspci
output for this card:

00:0f.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI
(rev 05)

When I built a patched driver and plugged it in, here's what I saw in
dmesg:

qla1280: no version magic, tainting kernel.
qla1280: QLA1040 found on PCI bus 0, dev 15
scsi(0:0): Resetting SCSI BUS
scsi0 : QLogic QLA1040 PCI to SCSI Host Adapter
       Firmware version:  7.65.00, Driver version 3.25
  Vendor: Quantum   Model: DLT4000           Rev: CD3C
  Type:   Sequential-Access                  ANSI SCSI revision: 02
scsi(0:0:2:0): Sync: period 10, offset 12
st: Version 20040213, fixed bufsize 32768, s/g segs 256
Attached scsi tape st0 at scsi0, channel 0, id 2, lun 0
st0: try direct i/o: yes, max page reachable by HBA 1048575

Looked pretty good, other than it seems to think that my card is a 1040
and not a 1020. I then tried to do some operations with my tape drive:

jtlayton@salusa:/usr/src/linux-2.6.4% sudo mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (1010000):
 ONLINE IM_REP_EN

I then tried to use tar to write a file to the tape and it failed almost
immediately:

jtlayton@salusa:~% sudo tar cvf /dev/nst0 ./wolf-linux-1.33.x86.run
./wolf-linux-1.33.x86.run
tar: /dev/nst0: Wrote only 0 of 10240 bytes
tar: Error is not recoverable: exiting now

These errors seem to cause these messages to pop up in dmesg:

st0: Error 70000 (sugg. bt 0x0, driver bt 0x0, host bt 0x7).
st0: Error 70000 (sugg. bt 0x0, driver bt 0x0, host bt 0x7).
st0: Error 70000 (sugg. bt 0x0, driver bt 0x0, host bt 0x7).

Please let me know if there's any info I can provide that might help, or
if you need me to test another patch.

Heck, I'll even offer up a case of beer (or an equivalent reward) if we
can get it working!

Thanks,
-- 
Jeff Layton <jtlayton@poochiereds.net>


  reply	other threads:[~2004-03-23 21:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23  1:19 Qlogic ISP 1020 Jeff Layton
2004-03-23  6:29 ` Christoph Hellwig
2004-03-23 21:00   ` Jeff Layton [this message]
2004-10-21  9:11     ` Christoph Hellwig
2004-10-31 21:30       ` Ingvar Hagelund
  -- strict thread matches above, loose matches on Subject: below --
2004-11-05 19:20 Bailey, Scott

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=1080075653.2457.11.camel@localhost \
    --to=jtlayton@poochiereds.net \
    --cc=hch@infradead.org \
    --cc=linux-scsi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox