All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.22 precedes 0.9.9 in module-init-tools of course
@ 2003-09-04 19:05 Pat LaVarre
  0 siblings, 0 replies; 2+ messages in thread
From: Pat LaVarre @ 2003-09-04 19:05 UTC (permalink / raw)
  To: linux-kernel

> From: linux-2.6.0-test4/Documentation/Changes
> o  module-init-tools      0.9.9                   # depmod -V

Newbie me, I was slow to imagine that depmod -V could be helpfully
reporting two independent series of version numbers, the older prefaced
with "depmod version ", the newer prefaced with "module-init-tools ".

I wrongly thought that 2.4.22 was 0.9.9 or better, even when I saw the
modprobe complaint:
QM_MODULES: Function not implemented

Therefore I propose the following patch.

Pat LaVarre

--- linux-2.6.0-test4/Documentation/Changes	2003-08-22 18:00:12.000000000 -0600
+++ linux/Documentation/Changes	2003-09-03 15:18:30.691529216 -0600
@@ -65,6 +65,9 @@
 o  procps                 2.0.9                   # ps --version
 o  oprofile               0.5.3                   # oprofiled --version
 
+Also upgrade your module-init-tools if your depmod -V gives you a
+"depmod version" rather than a "module-init-tools" version.
+
 Kernel compilation
 ==================
 




^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: [linux-usb-devel] [2.6-test] Bug in usb-storage or scsi?
@ 2003-09-11 20:05 Alan Stern
  2003-09-11 20:42 ` Pat LaVarre
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Stern @ 2003-09-11 20:05 UTC (permalink / raw)
  To: Patrick Mansfield; +Cc: Matthew Dharm, USB Storage List, SCSI development list

On Wed, 10 Sep 2003, Patrick Mansfield wrote:

> On Wed, Sep 10, 2003 at 12:23:43PM -0400, Alan Stern wrote:
> 
> > Is there any feeling about how to handle these ongoing problems with the 
> > mode-sense cache page?  There doesn't seem to be any general solution that 
> > can work with all USB storage devices.  Some hang when asked to read the 
> > entire page; some hang when asked to read just part of the page; some hang 
> > when asked to read just the page header.
> > 
> > What do the SCSI folk have to say about it?

> I don't like per-host (or transport) flags or filters that cannot be
> modified. They make some sense for hosts that process the scsi commands
> (like a RAID card). If you moved a device from one transport to another,
> the commands sent to the device should not change: for example, you move
> an iSCSI attached device onto your local system via SPI.
> 
> IMO we ought to go with two new BFLAGS, one to block the MODE SENSE page 8
> (for the cache), and one to block the MODE SENSE page 0x3f (to check the
> write protect). 
> 
> A per host bflags could be added, and overwritten by per device (devinfo)
> settings. I'd rather we black list the broken ones but that does not
> appear to be practical. usb-storage could then set the per-host bflag to
> include the two new flags.

What do people think of just having per-device flags that the host driver
could set during the slave_configure() callback?  The point of these flags
is not to prevent bad commands from being sent to the device --
user-generated commands sent via sg should always be allowed.  Rather, the
point is to prevent sd.c from generating these commands in the first
place.  (Apparently the commands don't present a problem for sr.c.)

So for example, usb-storage could set the BFLAG to block MODE-SENSE page 8
for any disk-type device.  This isn't a perfect solution; consider an
iSCSI-attached device that is actually a usb-storage disk on some server.  
Nevertheless, this might take care of the majority of the problems we see.  
(I haven't seen any MODE-SENSE page 0x3f problems, but others have.)

Alan Stern


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

end of thread, other threads:[~2003-09-11 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-04 19:05 [PATCH] 2.4.22 precedes 0.9.9 in module-init-tools of course Pat LaVarre
  -- strict thread matches above, loose matches on Subject: below --
2003-09-11 20:05 [linux-usb-devel] [2.6-test] Bug in usb-storage or scsi? Alan Stern
2003-09-11 20:42 ` Pat LaVarre
2003-09-11 23:18   ` [PATCH] 2.4.22 precedes 0.9.9 in module-init-tools of course Pat LaVarre

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.