* 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, 0 replies; 8+ messages in thread
From: Matthew Dharm @ 2003-07-04 21:09 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: linux-kernel, linux-scsi, torvalds
[-- Attachment #1: Type: text/plain, Size: 732 bytes --]
On Fri, Jul 04, 2003 at 11:08:06PM +0200, Andries.Brouwer@cwi.nl wrote:
> 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.
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?
Matt
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
Type "format c:" That should fix everything.
-- Greg
User Friendly, 12/18/1997
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ 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
* Re: scsi mode sense broken again
2003-07-04 20:52 Andries.Brouwer
@ 2003-07-04 21:00 ` Matthew Dharm
0 siblings, 0 replies; 8+ messages in thread
From: Matthew Dharm @ 2003-07-04 21:00 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: linux-kernel, linux-scsi, torvalds
[-- Attachment #1: Type: text/plain, Size: 1685 bytes --]
IMM? So this is the parallel-port version?
Do you still get the proper INQUIRY from 2.5.74? What about the device
size?
Matt
On Fri, Jul 04, 2003 at 10:52:21PM +0200, Andries.Brouwer@cwi.nl wrote:
> > 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
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
Department of Justice agent. I have come to purify the flock.
-- DOJ agent
User Friendly, 5/22/1998
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* 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 0:10 ` Matthew Dharm
@ 2003-07-04 19:52 ` Matthew Dharm
0 siblings, 0 replies; 8+ messages in thread
From: Matthew Dharm @ 2003-07-04 19:52 UTC (permalink / raw)
To: Andries.Brouwer, linux-kernel, linux-scsi, torvalds
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
On Thu, Jul 03, 2003 at 05:10:53PM -0700, Matthew Dharm wrote:
> On Fri, Jul 04, 2003 at 01:06:17AM +0200, Andries.Brouwer@cwi.nl wrote:
> > 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.
>
> Really? I expected bug reports for CD-ROM, but not for Direct Access
> devices. What's going bad?
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?
Matt
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
Somebody call an exorcist!
-- Dust Puppy
User Friendly, 5/16/1998
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: scsi mode sense broken again
2003-07-03 23:06 Andries.Brouwer
@ 2003-07-04 0:10 ` Matthew Dharm
2003-07-04 19:52 ` Matthew Dharm
0 siblings, 1 reply; 8+ messages in thread
From: Matthew Dharm @ 2003-07-04 0:10 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: linux-kernel, linux-scsi, torvalds
[-- Attachment #1: Type: text/plain, Size: 846 bytes --]
On Fri, Jul 04, 2003 at 01:06:17AM +0200, Andries.Brouwer@cwi.nl wrote:
> 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.
Really? I expected bug reports for CD-ROM, but not for Direct Access
devices. What's going bad?
> (It feels as if I have to repair this area every other month.)
That's why I originally wanted to just filter all MODE_SENSE commands from
the USB layer.
Matt
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
S: Another stupid question?
G: There's no such thing as a stupid question, only stupid people.
-- Stef and Greg
User Friendly, 7/15/1998
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ 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 21:25 scsi mode sense broken again Andries.Brouwer
-- strict thread matches above, loose matches on Subject: below --
2003-07-04 21:08 Andries.Brouwer
2003-07-04 21:09 ` Matthew Dharm
2003-07-04 20:52 Andries.Brouwer
2003-07-04 21:00 ` 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).