[PATCH] qla1280.c /proc/scsi/qla1280/x reads garbage

2005-02-04 Thread Takayoshi Kochi
Hi Jes, This is a resent of the same patch I posted a month ago. In 2.6.11-rc3, reading /proc/scsi/qla1280/0 sometimes spits garbage. This is because in qla1280_proc_info() the returned pointer to the buffer isn't what the upper layer expects. This problem seems already fixed in 2.4 series (I

How to disconnect a SCSI device without crashing SLES8?

2005-02-04 Thread Eric Raskin
Hello all: I apologize in advance if this is the wrong forum for this question. Please feel free to direct me to the correct newgroup. I have a Dell 6650 running Suse Enterprise 8 (SLES8) with the 2.4.21-138-smp kernel. I have a Quantum M1500 tape library with 2 SDLT220 tape drives connected

PATCH [0/3] qla2xxx: new experimental changes...

2005-02-04 Thread Andrew Vasquez
All, Here's a set of patches which begin to strip legacy features from the qla2xxx driver. These 'features' have been superceded in functionality and simplicity by additions present (for some time) in the SCSI mid-layer. Here's the breakdown of patches being submitted: 1. Remove internal

PATCH [2/3] qla2xxx: add FC remote port support.

2005-02-04 Thread Andrew Vasquez
Add initial support for FC remote port infrastructure. Depends on patches submitted by James Smart ([Patch RFC ] Update FC transport for FC Remote Ports) o Use fc_remote_port...() registration and block/unlock functions. o Consolidate 'attribute' (fc-remote/sysfs)

Re: How to disconnect a SCSI device without crashing SLES8?

2005-02-04 Thread Christoph Hellwig
On Fri, Feb 04, 2005 at 02:12:13PM -0500, Eric Raskin wrote: In searching the web, I've found the remove-scsi-device and add-scsi-device commands that can be sent to /proc/scsi/scsi. Does anybody know if the system will stay up if I use these commands to remove all my tape library devices

RE: How to disconnect a SCSI device without crashing SLES8?

2005-02-04 Thread Eric Raskin
Thanks, Christoph. Would we use the same commands on 2.6? Eric H. Raskin Voice: 914-765-0500 Professional Advertising Systems Inc. Fax: 914-765-0503 200

Re: PATCH [0/3] qla2xxx: new experimental changes...

2005-02-04 Thread Andrew Vasquez
On Fri, 2005-02-04 at 20:35 +, Christoph Hellwig wrote: patch3 seems to not have made it to the list. I'll resend... From a quick view the first three patches look fine, except for backing out one msleep conversion and the superflous return at the end of qla2xxx_slave_destroy I'll

PATCH [3/3] qla2xxx: remove internal lun discovery...

2005-02-04 Thread Andrew Vasquez
Repost: seems as though first one didn't make it to the list. Remove internal lun discovery routines and support structures. Signed-off-by: Andrew Vasquez [EMAIL PROTECTED] drivers/scsi/qla2xxx/qla_dbg.c|5 drivers/scsi/qla2xxx/qla_def.h| 69

RE: How to disconnect a SCSI device without crashing SLES8?

2005-02-04 Thread Eric Raskin
Yes, that's true. I went ahead and used the commands on 2.4. They worked just fine this time. :-) The question about 2.6 was just for my own education -- for when I actually get around to installing SLES9 on my production server. Thanks to everyone for their help.

PATCH [3/3] qla2xxx: remove internal lun discovery...

2005-02-04 Thread Andrew Vasquez
Remove internal lun discovery routines and support structures. Signed-off-by: Andrew Vasquez [EMAIL PROTECTED] drivers/scsi/qla2xxx/qla_dbg.c|5 drivers/scsi/qla2xxx/qla_def.h| 69 drivers/scsi/qla2xxx/qla_gbl.h|6 drivers/scsi/qla2xxx/qla_init.c | 584

Re: [PATCH 3/3] MidLayer updates - extending scsi_target support

2005-02-04 Thread James Bottomley
On Sat, 2005-01-29 at 09:03 -0500, [EMAIL PROTECTED] wrote: This patch extends scsi_target support: - Allows for driver-specific data to be allocated along with the target structure and accessible via the starget-hostdata pointer. - Adds scsi target alloc/configure/destory callbacks

Re: PATCH [0/3] qla2xxx: new experimental changes...

2005-02-04 Thread Andrew Vasquez
On Fri, 2005-02-04 at 17:46 -0500, Jeff Garzik wrote: Andrew Vasquez wrote: On Fri, 2005-02-04 at 20:35 +, Christoph Hellwig wrote: patch3 seems to not have made it to the list. I'll resend... Is patch #3 rather large? I still haven't gotten it. No it's actually about a