, done, atapi_xlat);
+ }
return rc;
}
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi ... did you try James' patch? Looks like the same problem.
Patch here:
http://marc.theaimsgroup.com/?l=linux-scsim=112585164819923w=2
Was hidden within some other thread ...
On Fri, Sep 09, 2005 at 11:17:16PM +0100, Daniel Drake wrote:
Running a simple touch /dev/scd0 on a SCSI cdrom will
to scsi_execute_req
The scsi_execute() retries argument is still not used.
How is this going to work?
For example, multiple unit attentions (power on / reset) during scanning.
We send REPORT LUN, READ CAPACITY, etc., and would not retry if we got a
unit attention.
-- Patrick Mansfield
are in it, but the scsi-misc tre is at:
http://www.kernel.org/git/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=summary
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org
Just a patch for scanning with PQ == 3 for LUN 0, only for use in testing
previous patch, don't apply.
diff -uprN -X /home/patman/dontdiff scsi-misc-2.6/drivers/scsi/scsi_debug.c
lun0-replun-scsi-misc-2.6/drivers/scsi/scsi_debug.c
--- scsi-misc-2.6/drivers/scsi/scsi_debug.c 2005-07-26
LUN 0 available for use via user
space, for compatibility it likely requires that it stay visible in the
future:
http://marc.theaimsgroup.com/?l=linux-scsim=111692497200507w=2
Hannes' patch also causes a lot of extra vSCSI devices to show up on some
platforms :)
Signed-off-by: Patrick Mansfield
);
- }
if (sdev)
scsi_device_put(sdev);
out_reap:
+ if ((lun == 0) (res == SCSI_SCAN_LUN_IGNORED))
+ scsi_scan_remove(sdev);
/* now determine if the target has any children at all
* and if not, nuke it */
scsi_target_reap(starget);
-- Patrick
On Wed, Aug 24, 2005 at 04:05:03PM -0400, Luben Tuikov wrote:
On 08/24/05 13:12, Patrick Mansfield wrote:
On Tue, Aug 23, 2005 at 07:55:37PM -0400, Luben Tuikov wrote:
Where does udev get its label?
You can call any script or program from udev and use the result
to go above 20.
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
or such under sysfs.
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Aug 22, 2005 at 03:14:27PM -0700, Patrick Mansfield wrote:
Attached is a test module, it oopsed for me with CONFIG_DEBUG_SLAB, on
ppc64. I was trying to complete testing of my hack (on current git tree,
rather than scsi-misc), but have been preempted by other work today.
The patch
;
}
And then:
void kref_get(struct kref *kref)
{
WARN_ON(!atomic_read(kref-refcount));
atomic_inc(kref-refcount);
}
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http
On Mon, Aug 22, 2005 at 09:03:03PM -0500, James Bottomley wrote:
On Mon, 2005-08-22 at 17:39 -0700, Patrick Mansfield wrote:
But, we have to pass in a struct kref, to affect put/get_device, correct?
Correct. Let me post the code mods to drivers/base/core.c so you can
see how it works.
OK
the driver in interrupt context, so the called function can't
sleep.
There is no queueing or list mechanism, so LLDD's that can only cancel one
command at a time will have problem.
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message
On Fri, Aug 19, 2005 at 04:03:15PM -0400, Luben Tuikov wrote:
On 08/19/05 15:38, Patrick Mansfield wrote:
On Fri, Aug 19, 2005 at 02:46:35PM -0400, Luben Tuikov wrote:
Using the command time out hook and the strategy routine, gives _complete_
control over host recovery, and I really do
Luben -
On Fri, Aug 19, 2005 at 04:43:41PM -0400, Luben Tuikov wrote:
On 08/19/05 16:11, Patrick Mansfield wrote:
I was changing it to wakeup the eh even while other IO is outstanding, so
the eh can wakeup and cancel individual commands while other IO is still
using the HBA.
Hmm
sdev-timeout, instead of hardcoding to the
timeout * allowed.
-- Patrick Mansfield
James
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c
--- a/drivers/scsi/advansys.c
+++ b/drivers/scsi/advansys.c
@@ -9200,8 +9200,8 @@ asc_prt_scsi_cmnd(struct scsi_cmnd *s)
(unsigned
On Tue, Aug 16, 2005 at 10:51:13PM -0700, Pete Zaitcev wrote:
On Tue, 16 Aug 2005 21:39:33 -0700, Patrick Mansfield [EMAIL PROTECTED]
wrote:
On Tue, Aug 16, 2005 at 11:01:30PM -0400, Chuck Ebbert wrote:
I just added some usb-storage devices to my system and got the below.
Why do
://marc.theaimsgroup.com/?l=linux-scsim=110848617107098w=2
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Seeing sysrq-t stack traces might help debugging.
On Sat, Jul 23, 2005 at 09:58:18PM +0200, Stefan Richter wrote:
I wrote:
Problem 1) Hot unplugging of SBP-2 hangs ieee1394's nodemgr
[...]
[unplug disk]
Jul 23 20:08:53 shuttle kernel: ieee1394: Node changed: 1-01:1023 -
1-00:1023
Jul 23
is not modified (we'll fail to scan LUNs with higher bits set).
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
rescan state vendor
bus driver ioerr_cnt queue_depth rev timeout
delete iocounterbits iorequest_cnt queue_type scsi_level type
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED
On Mon, Jul 11, 2005 at 05:20:12PM -0700, Greg KH wrote:
On Tue, Jul 05, 2005 at 05:38:50PM -0700, Patrick Mansfield wrote:
Hi Greg / Patrick -
I'm getting an oops with current (pulled today) 2.6 git, the
device_for_each_child() does not seem to be deletion safe.
We hold the klist
appear to have a realistic result, then the rest will all complete
in the neighborhood of 10 microseconds.
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org
On Fri, Apr 22, 2005 at 12:52:56AM +0200, Lars Marowsky-Bree wrote:
On 2005-04-21T15:13:16, Patrick Mansfield [EMAIL PROTECTED] wrote:
The most recent udm patchset has a patch by Jens Axboe and myself to
pass up sense data / error codes in the bio so the dm mpath module can
deal
On Thu, Apr 07, 2005 at 11:06:03AM +1000, Douglas Gilbert wrote:
Patrick Mansfield wrote:
On Wed, Apr 06, 2005 at 01:40:04PM +0200, Frederic TEMPORELLI wrote:
2/ now, how can we get the adapter module name from sysfs ?
Why do you need it?
Patrick,
lsscsi currently uses proc_name so
On Thu, Apr 07, 2005 at 08:35:16AM +0200, Frederic TEMPORELLI wrote:
Hi,
Sorry, no such driver directory in /sys/class/scsi_host/hostX/
Doug answered that.
Why do you need it?
If you answer the above you might get better/other suggestions.
-- Patrick Mansfield
-
To unsubscribe from
} module (driver) is: ${module}
done
[elm3b79 tmp]$ sh ./xx.sh
/sys/class/scsi_host/host0 module (driver) is: qla1280
/sys/class/scsi_host/host1 module (driver) is: qla1280
/sys/class/scsi_host/host2 module (driver) is: qla2300
/sys/class/scsi_host/host3 module (driver) is: qla2300
-- Patrick Mansfield
On Wed, Mar 30, 2005 at 08:32:44PM +0200, Kay Sievers wrote:
On Thu, 2005-03-17 at 09:53 -0500, James Bottomley wrote:
On Wed, 2005-03-16 at 14:45 -0800, Patrick Mansfield wrote:
Any comments on this? Should I resend these patches?
Well, the basic comment is that there are a lot
On Wed, Mar 02, 2005 at 11:46:47AM -0800, Patrick Mansfield wrote:
Use bus dev_attrs to create the default scsi_device attributes.
Note sdev_default_attrs is not a pointer to an array (like
scsi_sysfs_sdev_attrs), and so DEVICE_ATTR's can be removed, and __ATTR
used instaed.
Any comments
queue_depth or queue_type.
The attr_overridden (and post these patches, scsi_sysfs_sdev_attrs) should
someday be removed, the only attribute being overridden (versus a host
specific scsi_device attribute) today is queue_depth, and we have
shost-change_queue_depth that can be used instead.
-- Patrick
Get rid of the attr_changed_internally(), and always create queue_type and
queue_depth as read/write, and then writes fail if not supported.
Signed-off-by: Patrick Mansfield [EMAIL PROTECTED]
--- linux-2.6.11/drivers/scsi/scsi_sysfs.c 2005-03-02 02:59:50.0
-0800
+++ sattrs-linux
Use bus dev_attrs to create the default scsi_device attributes.
Note sdev_default_attrs is not a pointer to an array (like
scsi_sysfs_sdev_attrs), and so DEVICE_ATTR's can be removed, and __ATTR
used instaed.
Signed-off-by: Patrick Mansfield [EMAIL PROTECTED]
--- sattrs-linux-2.6.11/drivers
be
useful...
Probably not.
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
):
MODULE_ALIAS(scsi-type-*);
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Fri, Feb 18, 2005 at 10:41:35PM +0300, Roman Kagan wrote:
On Fri, Feb 18, 2005 at 10:33:50AM -0800, Patrick Mansfield wrote:
The block SG_IO handles the ioctls, but not devices without a SCSI upper
level driver (i.e. not tape, disk or cdrom).
Then it might make sense to explicitly list
) || !(state = check_partition(disk, bdev)))
return 0;
for (p = 1; p state-limit; p++) {
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org
HBA
drivers (the same is true for devinfo); I think this means manually
loading scsi_mod, populate the tables, then allow hotplug loading of HBA
drivers.
We still need a nice way to display and modify a list or array in sysfs (for
both the devinfo or this asc/ascq table).
-- Patrick Mansfield
On Tue, Feb 08, 2005 at 10:44:35PM -0800, Andrew Vasquez wrote:
On Tue, 08 Feb 2005, Patrick Mansfield wrote:
I'm still getting lots of BUG's for the smp_processor_id, but via the
interrupt function.
It's during the driver's init-time polling for interrupts...
Argg
the first one fix HBA removal problem with transport classes,
plus it is NOT in mainline.
I applied and no more oops (and no BUGs using _smp_processor_id()).
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More
] sys_init_module+0x111/0x270
[c0102443] syscall_call+0x7/0xb
BUG: using smp_processor_id() in preemptible [0001] code: modprobe/1362
...
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info
;
for (p = 1; p state-limit; p++) {
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Jan 31, 2005 at 11:56:02AM -0500, [EMAIL PROTECTED] wrote:
On Sat, 2005-01-29 at 11:34 -0800, Patrick Mansfield wrote:
Why not just set scmd-retries to zero in scsi_requeue_command()?
This is exactly what I was thinking would be a fairly straight-forward
approach
or make it much less likely, and is still a good idea.
And as a long term goal, losing the retry count and moving to allowing all
retries for a period of time would avoid other potential problems, and not
be tied to the speed of the system.
-- Patrick Mansfield
-
To unsubscribe from this list: send
/dev.d/scsi/*.dev script or something else.
I just tried something simple but did not get it working.
Try [EMAIL PROTECTED] list for help.
-- Patrick Mansfield
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info
7.1 2.4.2-2 kernel).
You might want to check the specs, and see if you can modify the PQ value
returned - some array devices can be configured to return different PQ
values, since different operating systems behave differently based on
the PQ.
-- Patrick Mansfield
-
To unsubscribe from this list
/21linux.html
Specifically:
http://www.qlogic.com/bbs-html/csg_web/drivers/linux/22xx/qla2x00src-4.24Beta.tgz
I had a similiar issue with the qlogicisp.c driver (per email sent
by Mike Anderson), no one answered if it was supported or not.
-- Patrick Mansfield
I know my question (about "this s
47 matches
Mail list logo