Baoquan Zhang | 30 Jun 02:57 2016
Picon

DIF/DIX in mpt3sas

Hi there,

Thanks for reading my email.

I am a Ph.D student of University of Minnesota, Twin Cities. Recently, I am working on a project of T10
PI-capable MD module. However, I fail to use DIX with the HBA/driver combination of LSI Logic / Symbios
Logic SAS3008 PCI-Express Fusion-MPT SAS-3 (rev 02) /mpt3sas even though I have formatted the drives
with DIF protection type 1. May I know if DIX (data integrity extension) is supported in mpt3sas driver?

Thanks,
Baoquan Zhang--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Don Brace | 27 Jun 23:40 2016

[PATCH V4 0/2] smartpqi: initial commit of Microsemi smartpqi driver

This driver is based on Linus's tree

This initial commit contains WIP of Microsemi's smartpqi module.

- add smartpqi to kernel.org
- remove PCI IDs from aacraid driver
  - Depends on adoption of smartpqi driver

Changes since V3
 - removed 'devices' and 'PQI info' sysfs attributes
   according to Hannes's review.
 - changes suggested by Hannes and Johannes Thumshirn:
   - removed statistics
 - fixed issues raised by Johannes Thumshirn
 - answers to other Johannes Thumshirn's review posted in a
   separate reply.

Changes since V2
 - Corrected make ARCH=s390 kbuild test robot issue.
 - Answers to Hannes's Review posted in a separate reply

Changes since V1
 - Corrected make ARCH=i386 kbuild test robot issue.

Changes since initial upload
 - Forgot to give correct ownership to the author.

---

Don Brace (1):
(Continue reading)

Aspire Money Loan | 26 Jun 12:24 2016
Picon

Terveisiä,


Terveisiä,
          Olen rouva Annie Ethan yksityiseltä lainanantajayhtiöllä tunnetaan Aspire Money Loan®. Tarjoamme
kaikenlaisia laina 3% korolla. Jos olet tarvitsevat lainaa ystävällisesti yhteyttä kanssa alla tiedot.
Koko nimi:
sukupuoli:
Maa:
Osoite:
Lainan määrä:
Kesto:
Puh:
Odotamme vastausta, jos olet kiinnostunut
Kiitos,
Annie Ethan
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Geza Lucz | 25 Jun 19:13 2016

megaraid_sas driver bug

I don’t know if this is the right place to report this and whether this is
more like a Centos kernel issue.

Since Centos 6.8, the megaraid_sas driver seems to be somewhat broken –
which as I understand is a backport of the up-to-date driver to their kernel
version. It is still partially usable, but as soon as I need to rebuild an
array, instead of the scan message at the end I get a bunch of kernel error
messages. There are so many of these that the kernel logger uses too much
CPU and eventually the log fills up the partition, so the server needs to be
rebooted. So technically I lose all hotplug functionality.

Probably the same thing happens when the array degrades. 

I’m sending this report here, because there is absolutely no mention of
similar problems on the internet, yet the problem is fully reproducible and
real.

I’m using Dell Perc 6i at the moment.

Thanks

Jun 25 08:49:29 ns8 kernel: [  757.358015] megaraid_sas 0000:02:00.0: DCMD
failed/not supported by firmware: megasas_get_pd_list 4115
Jun 25 08:49:29 ns8 kernel: [  757.379016] megaraid_sas 0000:02:00.0: DCMD
failed/not supported by firmware: megasas_get_pd_list 4115
Jun 25 08:49:29 ns8 kernel: [  757.400018] megaraid_sas 0000:02:00.0: DCMD
failed/not supported by firmware: megasas_get_pd_list 4115
Jun 25 08:49:29 ns8 kernel: [  757.421021] megaraid_sas 0000:02:00.0: DCMD
failed/not supported by firmware: megasas_get_pd_list 4115
Jun 25 08:49:29 ns8 kernel: [  757.442017] megaraid_sas 0000:02:00.0: DCMD
(Continue reading)

Tiezhu Yang | 25 Jun 06:35 2016

[PATCH] scsi: ufs: remove unnecessary goto label

When buff_ascii kmalloc failed, there is no need to call kfree,
it should return -ENOMEM directly, this patch fixes it.

Signed-off-by: Tiezhu Yang <kernelpatch <at> 126.com>
---
 drivers/scsi/ufs/ufshcd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index 8e8989a..f08d41a 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
 <at>  <at>  -2137,7 +2137,7  <at>  <at>  int ufshcd_read_string_desc(struct ufs_hba *hba, int desc_index, u8 *buf,
 		buff_ascii = kmalloc(ascii_len, GFP_KERNEL);
 		if (!buff_ascii) {
 			err = -ENOMEM;
-			goto out_free_buff;
+			goto out;
 		}

 		/*
 <at>  <at>  -2156,7 +2156,6  <at>  <at>  int ufshcd_read_string_desc(struct ufs_hba *hba, int desc_index, u8 *buf,
 				size - QUERY_DESC_HDR_SIZE);
 		memcpy(buf + QUERY_DESC_HDR_SIZE, buff_ascii, ascii_len);
 		buf[QUERY_DESC_LENGTH_OFFSET] = ascii_len + QUERY_DESC_HDR_SIZE;
-out_free_buff:
 		kfree(buff_ascii);
 	}
 out:
--

-- 
(Continue reading)

Alan Stern | 23 Jun 21:05 2016
Picon

[PATCH} SCSI: fix new bug in scsi_dev_info_list string matching

Commit b704f70ce200 ("SCSI: fix bug in scsi_dev_info_list matching")
changed the way vendor- and model-string matching was carried out in
the routine that looks up entries in a SCSI devinfo list.  The new
matching code failed to take into account the case of a maximum-length
string; in such cases it could end up testing for a terminating '\0'
byte beyond the end of the memory allocated to the string.  This
out-of-bounds bug was detected by UBSAN.

I don't know if anybody has actually encountered this bug.  The
symptom would be that a device entry in the blacklist might not be
matched properly if it contained an 8-character vendor name or a
16-character model name.  Such entries certainly exist in
scsi_static_device_list.

This patch fixes the problem by adding a check for a maximum-length
string before the '\0' test.

Signed-off-by: Alan Stern <stern <at> rowland.harvard.edu>
Fixes: b704f70ce200 ("SCSI: fix bug in scsi_dev_info_list matching")
Tested-by: Wilfried Klaebe <linux-kernel <at> lebenslange-mailadresse.de>
CC: <stable <at> vger.kernel.org>

---

[as1804]

 drivers/scsi/scsi_devinfo.c |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Index: usb-4.x/drivers/scsi/scsi_devinfo.c
(Continue reading)

Colin King | 23 Jun 19:12 2016

[PATCH] tcm_qla2xxx: fix spelling mistake: "seperator" -> "separator"

From: Colin Ian King <colin.king <at> canonical.com>

trivial fix to spelling mistake in pr_err message

Signed-off-by: Colin Ian King <colin.king <at> canonical.com>
---
 drivers/scsi/qla2xxx/tcm_qla2xxx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/qla2xxx/tcm_qla2xxx.c b/drivers/scsi/qla2xxx/tcm_qla2xxx.c
index 6643f6f..46fe6f4 100644
--- a/drivers/scsi/qla2xxx/tcm_qla2xxx.c
+++ b/drivers/scsi/qla2xxx/tcm_qla2xxx.c
 <at>  <at>  -1738,7 +1738,7  <at>  <at>  static struct se_wwn *tcm_qla2xxx_npiv_make_lport(

 	p = strchr(tmp, ' <at> ');
 	if (!p) {
-		pr_err("Unable to locate NPIV ' <at> ' seperator\n");
+		pr_err("Unable to locate NPIV ' <at> ' separator\n");
 		return ERR_PTR(-EINVAL);
 	}
 	*p++ = '\0';
--

-- 
2.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

bugzilla-daemon | 23 Jun 13:26 2016

[Bug 120921] New: target: Unconfiguring ib_srpt triggers kernel crash

https://bugzilla.kernel.org/show_bug.cgi?id=120921

            Bug ID: 120921
           Summary: target: Unconfiguring ib_srpt triggers kernel crash
           Product: IO/Storage
           Version: 2.5
    Kernel Version: v4.6.2
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
          Assignee: linux-scsi <at> vger.kernel.org
          Reporter: bvanassche <at> acm.org
        Regression: No

The following command triggered the kernel crash:

# rmdir /sys/kernel/config/target/srpt/*/*/acls/*
Segmentation fault

From the console:

[  957.515524] general protection fault: 0000 [#1] SMP 
[  957.515638] Modules linked in: target_core_file ib_srpt target_core_iblock
target_core_mod brd dm_service_time fuse dm_multipath scsi_dh_rdac scsi_dh_emc
scsi_dh_alua netconsole xt_CHECKSUM iptable_mangle ipt_MASQUERADE
nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4
(Continue reading)

Picon

Compensation Fund


View the attached message and contact the paying bank for your payment asap,
Attachment (From Fraud Intelligence Unit United Kingdom Office.docx): application/vnd.openxmlformats-officedocument.wordprocessingml.document, 32 KiB
Colin King | 22 Jun 20:31 2016

[PATCH] target: fix spelling mistake: "limitiation" -> "limitation"

From: Colin Ian King <colin.king <at> canonical.com>

trivial fix to spelling mistake

Signed-off-by: Colin Ian King <colin.king <at> canonical.com>
---
 drivers/target/target_core_file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/target/target_core_file.c b/drivers/target/target_core_file.c
index 75f0f08..4ebcd0a 100644
--- a/drivers/target/target_core_file.c
+++ b/drivers/target/target_core_file.c
 <at>  <at>  -523,7 +523,7  <at>  <at>  fd_execute_rw(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents,
 	 */
 	if (cmd->data_length > FD_MAX_BYTES) {
 		pr_err("FILEIO: Not able to process I/O of %u bytes due to"
-		       "FD_MAX_BYTES: %u iovec count limitiation\n",
+		       "FD_MAX_BYTES: %u iovec count limitation\n",
 			cmd->data_length, FD_MAX_BYTES);
 		return TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE;
 	}
--

-- 
2.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Arnd Bergmann | 21 Jun 11:02 2016
Picon
Gravatar

[PATCH v2] scsi: wd7000: print sector number as 64-bit

Enabling format checking in dprintk() shows that wd7000_biosparam
uses an incorrect format string for sector_t:

drivers/scsi/wd7000.c: In function 'wd7000_biosparam':
drivers/scsi/wd7000.c:1594:21: error: format '%d' expects argument of type 'int', but argument 3 has
type 'sector_t {aka long long unsigned int}' [-Werror=format=]

As sector_t can be 32-bit wide, this adds a cast to 'u64' and prints
that with the correct format. The change to use no_printk()
generally helps with finding this kind of hidden format string bug,
and I found that when building with "-Wextra", which warned about
an empty else clause in

       } else
              dprintk("ok!\n");

Signed-off-by: Arnd Bergmann <arnd <at> arndb.de>
---
v2: use %llu instead of %lld and use 'u64' instead of 's64' because
sector_t is unsigned.

 drivers/scsi/wd7000.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/wd7000.c b/drivers/scsi/wd7000.c
index 0c0f17b9a3eb..409f959845c4 100644
--- a/drivers/scsi/wd7000.c
+++ b/drivers/scsi/wd7000.c
 <at>  <at>  -192,7 +192,7  <at>  <at> 
 #ifdef WD7000_DEBUG
(Continue reading)


Gmane