linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: scsi mode sense broken again
@ 2003-07-04 20:52 Andries.Brouwer
  2003-07-04 21:00 ` Matthew Dharm
  0 siblings, 1 reply; 8+ messages in thread
From: Andries.Brouwer @ 2003-07-04 20:52 UTC (permalink / raw)
  To: Andries.Brouwer, linux-kernel, linux-scsi, mdharm-kernel, torvalds

> I just did some re-testing, and my self-powered Zip250 and Zip750 work.
> The 750 takes a few seconds to initialize, but nothing really bad.
> What Zip do you have that doesn't work?

2.5.72 or patched 2.5.74:

<4>imm: Version 2.05 (for Linux 2.4.0)
<4>imm: Found device at ID 6, Attempting to use EPP 32 bit
<4>imm: Found device at ID 6, Attempting to use SPP
<4>imm: Communication established at 0x378 with ID 6 using SPP
<6>scsi1 : Iomega VPI2 (imm) interface
<5>  Vendor: IOMEGA    Model: ZIP 100           Rev: P.05
<5>  Type:   Direct-Access                      ANSI SCSI revision: 02
<5>SCSI device sda: 196608 512-byte hdwr sectors (101 MB)
<5>sda: Write Protect is off
<5>sda: cache data unavailable
<6> sda: sda4
<5>Attached scsi removable disk sda at scsi1, channel 0, id 6, lun 0

An unpatched 2.5.74 says

<4>IMM: returned SCSI status b8
<4>sda: test WP failed, assume Write Enabled
<3>sda: asking for cache data failed
<5>sda : READ CAPACITY failed.
<4>sda: test WP failed, assume Write Enabled
<3>Buffer I/O error on device sda, logical block 0
<6> sda: unable to read partition table

and no I/O is possible.

Andries


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: scsi mode sense broken again
@ 2003-07-04 21:25 Andries.Brouwer
  0 siblings, 0 replies; 8+ messages in thread
From: Andries.Brouwer @ 2003-07-04 21:25 UTC (permalink / raw)
  To: Andries.Brouwer, mdharm-kernel; +Cc: linux-kernel, linux-scsi, torvalds

    From mdharm@ziggy.one-eyed-alien.net  Fri Jul  4 23:09:37 2003

    Okay, so the question as I see it is this:
    Do we go back to use_10_for_ms = 0 for the default,
    or do we make the IMM driver set it to 0 in the
    slave_configure() function?

I agree completely - that is the question.
The answer I gave is

  -       sdev->use_10_for_ms = 1;
  +       sdev->use_10_for_ms = 0;
 
  It is possible to have use_10_for_ms == 1 as the default, but then
  all drivers that cannot handle that must change that setting privately.
  Maybe that is the future, but for today I would prefer
  the known working version.

Andries

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: scsi mode sense broken again
@ 2003-07-04 21:08 Andries.Brouwer
  2003-07-04 21:09 ` Matthew Dharm
  0 siblings, 1 reply; 8+ messages in thread
From: Andries.Brouwer @ 2003-07-04 21:08 UTC (permalink / raw)
  To: Andries.Brouwer, mdharm-kernel; +Cc: linux-kernel, linux-scsi, torvalds

	From mdharm@ziggy.one-eyed-alien.net  Fri Jul  4 23:00:41 2003

	Do you still get the proper INQUIRY from 2.5.74?

Yes. But there is no need for you to worry.
This device just needs use_10_for_ms = 0.
When that is set all is well.

Andries

^ permalink raw reply	[flat|nested] 8+ messages in thread
* scsi mode sense broken again
@ 2003-07-03 23:06 Andries.Brouwer
  2003-07-04  0:10 ` Matthew Dharm
  0 siblings, 1 reply; 8+ messages in thread
From: Andries.Brouwer @ 2003-07-03 23:06 UTC (permalink / raw)
  To: linux-kernel, linux-scsi, torvalds

For me 2.5.72 works, 2.5.74 does not - no working ZIP drive.
The cause is the recent fiddling of use_10 / do_mode_sense.
If this is known and has a patch on the way all is well.
Otherwise I can send a patch.

Andries

(It feels as if I have to repair this area every other month.)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-07-04 21:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-04 20:52 scsi mode sense broken again Andries.Brouwer
2003-07-04 21:00 ` Matthew Dharm
  -- strict thread matches above, loose matches on Subject: below --
2003-07-04 21:25 Andries.Brouwer
2003-07-04 21:08 Andries.Brouwer
2003-07-04 21:09 ` Matthew Dharm
2003-07-03 23:06 Andries.Brouwer
2003-07-04  0:10 ` Matthew Dharm
2003-07-04 19:52   ` Matthew Dharm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).