Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1519556
| Path | csiph.com!goblin3!goblin.stu.neva.ru!news.redatomik.org!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Gabriel C <nix.or.die@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [GIT PULL] SCSI fixes for 4.9-rc3 |
| Date | Fri, 11 Nov 2016 05:20:01 +0100 |
| Message-ID | <sCbtL-7PU-5@gated-at.bofh.it> (permalink) |
| References | <sA9mq-8rO-5@gated-at.bofh.it> <sCaR3-7k1-7@gated-at.bofh.it> |
| X-Original-To | James Bottomley <James.Bottomley@HansenPartnership.com>, Andrew Morton <akpm@linux-foundation.org>, Linus Torvalds <torvalds@linux-foundation.org> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=3v0msHBnFWHdTQHpDAZ9HJDDeNagkURMKGArYQkd79Y=; b=Hkr7wVRnHJHlfnMX/JCdgm4oc2rN2nLpXE9jviWO7qa5deDpGM2u9LJAazbrAW5i97 K7YhdB+PrYYeROWWAS4cnE9k60jBDx8g5LHZUEUbsiWPhSh9v4/nkD6nMwggw2XqObeJ uDkVt5L7Ns3uykYICmcuzjCcC1oAnd8mtwXPawAvVmi53h0WWCG5fotAR7idqwxLa9t0 Dx+16G9S2NToVBBo1z9DoSN/oiej4Pw40011vKjopdAmh88E4KlRHQ5K049d54cea6vg aN2mqLhbcgXeKHZwY4FOXDQbsiMo/dbyUfcU2+6VDZzwh6p9cQulKPFZEZzfBoiyC/Fv f2IQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=3v0msHBnFWHdTQHpDAZ9HJDDeNagkURMKGArYQkd79Y=; b=HvVaeKlOswKpr2GWzaQl9rR8fqNKsnykMdv/5k82I8m7SV64M+uurSHNAq8MI7xOQt PDQeTrRBaI3Rne/tStucH+sirUvsjIzcQJN/xmwe7qsPGbjyKOIK33pQYPXyfzhwtk6H /9fS6fotcjEIR8EJrfKCvlg0j8cdVDpAcheYMXWZBn4p9h7aPfZLmpyS+Pm8ZzN3HuAy 7K1t+v/J9m2PC+VL7UNv5nAN6TiJPNtx0vZA2WuQdJUKV/lWKBhGhF3dOOiOJVF0uDEE MHymN8EqAWvG24CLZgszVwkW76X9/uqmRU1Jotmtfu9isdelnXsTRxz+dUy5hVslekYU Zvbw== |
| X-Gm-Message-State | ABUngvdAq2x4skXN9An895mt0G/f9dQwCsgmEYSyIUC1KThUfxtibffjMRskXbn0K2bAiA== |
| X-Received | by 10.194.58.52 with SMTP id n20mr7123902wjq.110.1478837489358; Thu, 10 Nov 2016 20:11:29 -0800 (PST) |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 87 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-scsi <linux-scsi@vger.kernel.org>, linux-kernel <linux-kernel@vger.kernel.org>, stable@vger.kernel.org |
| X-Original-Date | Fri, 11 Nov 2016 05:10:05 +0100 |
| X-Original-Message-ID | <024723a1-3dec-f644-277b-4178118cc241@gmail.com> |
| X-Original-References | <1478352591.2858.5.camel@HansenPartnership.com> <1eee17da-1166-6a48-8a21-0ad5d6a0660a@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1519556 |
Show key headers only | View raw
On 11.11.2016 04:30, Gabriel C wrote:
>
> On 05.11.2016 14:29, James Bottomley wrote:
>
>
> ...
>
>> Kashyap Desai (1):
>> scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices
>>
>> diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
>> index 9ff57de..d8b1fbd 100644
>> --- a/drivers/scsi/megaraid/megaraid_sas_base.c
>> +++ b/drivers/scsi/megaraid/megaraid_sas_base.c
>> @@ -1700,16 +1700,13 @@ megasas_queue_command(struct Scsi_Host *shost, struct scsi_cmnd *scmd)
>> goto out_done;
>> }
>>
>> - switch (scmd->cmnd[0]) {
>> - case SYNCHRONIZE_CACHE:
>> - /*
>> - * FW takes care of flush cache on its own
>> - * No need to send it down
>> - */
>> + /*
>> + * FW takes care of flush cache on its own for Virtual Disk.
>> + * No need to send it down for VD. For JBOD send SYNCHRONIZE_CACHE to FW.
>> + */
>> + if ((scmd->cmnd[0] == SYNCHRONIZE_CACHE) && MEGASAS_IS_LOGICAL(scmd)) {
>> scmd->result = DID_OK << 16;
>> goto out_done;
>> - default:
>> - break;
>> }
>>
>> return instance->instancet->build_and_issue_cmd(instance, scmd);
>
> This patch breaks my box.. I'm not able to boot it anymore.
> It seems with this patch I have /dev/sda[a-z] to /dev/sdz[a-z] ?!?
>
> I'm not sure how to get an log since dracut times out and I'm dropped , after a very long time
> of probing 'ghost devices', in a emercency shell, journalctl doesn't work also..
>
> After reverting this one I can boot normal.
>
> Box is a FUJITSU PRIMERGY TX200 S5..
>
> This is from an working kernel..
>
> [ 5.119371] megaraid_sas 0000:01:00.0: FW now in Ready state
> [ 5.119418] megaraid_sas 0000:01:00.0: firmware supports msix : (0)
> [ 5.119420] megaraid_sas 0000:01:00.0: current msix/online cpus : (1/16)
> [ 5.119422] megaraid_sas 0000:01:00.0: RDPQ mode : (disabled)
> [ 5.123100] ehci-pci 0000:00:1a.7: cache line size of 32 is not supported
> [ 5.123113] ehci-pci 0000:00:1a.7: irq 18, io mem 0xb0020000
>
> ...
>
> [ 5.208063] megaraid_sas 0000:01:00.0: controller type : MR(256MB)
> [ 5.208065] megaraid_sas 0000:01:00.0: Online Controller Reset(OCR) : Enabled
> [ 5.208067] megaraid_sas 0000:01:00.0: Secure JBOD support : No
> [ 5.208070] megaraid_sas 0000:01:00.0: megasas_init_mfi: fw_support_ieee=0
> [ 5.208073] megaraid_sas 0000:01:00.0: INIT adapter done
> [ 5.208075] megaraid_sas 0000:01:00.0: Jbod map is not supported megasas_setup_jbod_map 4967
> [ 5.230163] megaraid_sas 0000:01:00.0: MR_DCMD_PD_LIST_QUERY failed/not supported by firmware
> [ 5.252080] megaraid_sas 0000:01:00.0: DCMD not supported by firmware - megasas_ld_list_query 4369
> [ 5.274086] megaraid_sas 0000:01:00.0: pci id : (0x1000)/(0x0060)/(0x1734)/(0x10f9)
> [ 5.274089] megaraid_sas 0000:01:00.0: unevenspan support : no
> [ 5.274090] megaraid_sas 0000:01:00.0: firmware crash dump : no
> [ 5.274092] megaraid_sas 0000:01:00.0: jbod sync map : no
> [ 5.274094] scsi host0: Avago SAS based MegaRAID driver
> [ 5.280022] scsi 0:0:6:0: Direct-Access ATA WDC WD5002ABYS-5 3B06 PQ: 0 ANSI: 5
> [ 5.282153] scsi 0:0:7:0: Direct-Access ATA WDC WD5002ABYS-5 3B06 PQ: 0 ANSI: 5
> [ 5.285180] scsi 0:0:10:0: Direct-Access ATA ST500NM0011 FTM6 PQ: 0 ANSI: 5
> [ 5.369885] scsi 0:2:0:0: Direct-Access LSI MegaRAID SAS RMB 1.40 PQ: 0 ANSI: 5
>
> ..
>
> Please let me know if you need more infos and/or want me to test patches.
>
>
I managed to get some parts of the broken dmesg. There it is :
http://ftp.frugalware.org/pub/other/people/crazy/kernel/broken-dmesg
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[GIT PULL] SCSI fixes for 4.9-rc3 James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-11-05 14:40 +0100
Re: [GIT PULL] SCSI fixes for 4.9-rc3 Gabriel C <nix.or.die@gmail.com> - 2016-11-11 04:40 +0100
Re: [GIT PULL] SCSI fixes for 4.9-rc3 Gabriel C <nix.or.die@gmail.com> - 2016-11-11 05:20 +0100
RE: [GIT PULL] SCSI fixes for 4.9-rc3 Kashyap Desai <kashyap.desai@broadcom.com> - 2016-11-12 02:10 +0100
Re: [GIT PULL] SCSI fixes for 4.9-rc3 Gabriel C <nix.or.die@gmail.com> - 2016-11-12 03:30 +0100
csiph-web