public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Schulman <andrex@alumni.utexas.net>
To: linux-scsi@vger.kernel.org
Subject: dc395x: CD writer causes endless "sg_to_virt failed" loop
Date: Sat, 27 Mar 2004 09:57:39 -0500	[thread overview]
Message-ID: <c444p3$b3v$1@sea.gmane.org> (raw)

I have a Tekram DC395UW card, running in Debian with kernel 2.6.3 and the
dc395x driver from the kernel source.  Attached to the card are a Seagate
Travan NS20 tape drive, and an HP 9200i CD writer:

Mar 27 09:50:53 helium kernel: dc395x: Tekram DC395(U/UW/F), DC315(U) - ASIC TRM-S1040 v2.04, 2003/05/19
Mar 27 09:50:53 helium kernel: dc395x: Used settings: AdapterID=07, Speed=0(20.0MHz), dev_mode=0x77
Mar 27 09:50:53 helium kernel: dc395x:                AdaptMode=0x0f, Tags=4(16), DelayReset=1s
Mar 27 09:50:53 helium kernel: dc395x: (Wide) Connectors: int50  Termination: Auto Low High
Mar 27 09:50:53 helium kernel: dc395x: Performing initial SCSI bus reset
Mar 27 09:50:53 helium kernel: scsi2 : Tekram DC395(U/UW/F), DC315(U) - ASIC TRM-S1040 v2.04, 2003/05/19
Mar 27 09:50:55 helium kernel: dc395x: Target 02:  Sync: 100ns Offset 15 (10.0 MB/s)
Mar 27 09:50:55 helium kernel:   Vendor: Seagate   Model: STT20000N         Rev: 7A61
Mar 27 09:50:55 helium kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02
Mar 27 09:50:55 helium scsi.agent[2072]: tape at /devices/pci0000:00/0000:00:1e.0/0000:02:04.0/host2/2:0:2:0
Mar 27 09:50:55 helium kernel: st: Version 20040122, fixed bufsize 32768, s/g segs 256
Mar 27 09:50:55 helium kernel: Attached scsi tape st0 at scsi2, channel 0, id 2, lun 0
Mar 27 09:50:55 helium kernel: st0: try direct i/o: yes, max page reachable by HBA 1048575
Mar 27 09:50:56 helium kernel: dc395x: Target 06:  Sync: 100ns Offset 15 (10.0 MB/s)
Mar 27 09:50:56 helium kernel:   Vendor: HP        Model: CD-Writer+ 9200   Rev: 1.0e
Mar 27 09:50:56 helium kernel:   Type:   CD-ROM                             ANSI SCSI revision: 04
Mar 27 09:50:56 helium scsi.agent[2085]: cdrom at /devices/pci0000:00/0000:00:1e.0/0000:02:04.0/host2/2:0:6:0
Mar 27 09:51:03 helium kernel: sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray

The tape drive works normally.  But as soon as I try to use the CD drive--
by, for example, trying to mount or burn a CD-- my console and syslog
begin to fill up with "dc395x: sg_to_virt failed!" messages-- several
hundred per second.  I can't unload the driver, and my system becomes
sluggish.  Once this starts I've often had to force a case reboot in order
to restore normal operation.  As you can imagine, I'm not happy about
that.

I'm frustrated by this problem because the drive worked fine with earlier
kernels.  It definitely worked fine with 2.6.0-test4 and -test9.  I don't
want to go back to an earlier kernel, because of other security and
hardware issues.  My 2.6.3 kernel works perfectly, except that now my CD
writer is broken.

Any help would be much appreciated.  I'm willing to try any patches or
diagnostics.

Thanks,
Andrew.



             reply	other threads:[~2004-03-27 15:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-27 14:57 Andrew Schulman [this message]
2004-03-27 16:10 ` dc395x: CD writer causes endless "sg_to_virt failed" loop Jamie Lenehan
2004-03-29  4:03   ` Andrew Schulman
2004-03-30  3:51     ` Jamie Lenehan
2004-03-31  8:29       ` Andrew Schulman
     [not found]   ` <200403271759.08361.andrex@alumni.utexas.net>
2004-04-05  5:20     ` Andrew Schulman
2004-04-06 14:01       ` Jamie Lenehan
2004-04-06 16:06         ` Andrew Schulman

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='c444p3$b3v$1@sea.gmane.org' \
    --to=andrex@alumni.utexas.net \
    --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