From: Nikhil Kshirsagar <nkshirsa@redhat.com>
To: Jes Sorensen <Jes.Sorensen@redhat.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: [PATCH] mdadm --detail --scan causes SIGABRT
Date: Mon, 13 Jun 2016 18:02:49 +0530 [thread overview]
Message-ID: <575EA7F1.7010307@redhat.com> (raw)
In-Reply-To: <11EABA5C-C5DA-4498-B1A0-7E1406B323B0@redhat.com>
Hi Jes,
yes those devices exist,
/dev/oczpcie_11_0_ssd: using cached size 6251381753 sectors
The devices were created by the OCZ driver.
Thanks,
Nikhil.
On 06/10/2016 11:42 PM, Nikhil Kshirsagar wrote:
> I think the sosreport should contain the info of the raid devices even though mdadm crashes so we don't see that output in there , there is proc/mdstat and other raid related info there. Let me check.
>
> If nothing else I can ask them for proc/mdstat and mdadm -detail again with the working test binary i sent them.
>
> -Nikhil.
>
>
>> On 10-Jun-2016, at 11:18 PM, Jes Sorensen <Jes.Sorensen@redhat.com> wrote:
>>
>> Nikhil Kshirsagar <nkshirsa@redhat.com> writes:
>>> Hi Jes ,
>>>
>>> Would it help to examine the core file ? It's present on the machine
>>> and location specified in the bz comments . That's how I saw the data
>>> structure that had the issue . Indeed there are other device names
>>> where the name does not overflow since they are 32 bytes (which is why
>>> I chose this value) or where the name *does* get truncated. However
>>> this truncation does not seem to happen for de->d_name which is then
>>> copied into dev->sys_name.
>>>
>>> As for allocating an appropriate size on the heap instead of a static
>>> array it does make sense and I can correct the fix to do that but
>>> there are lots of other device names which are static arrays. So which
>>> ones do we change ?
>> This is the tricky part, sys_name is used in a lot of places in
>> different ways.
>>
>> Do you know if they have a /dev/oczpcie_11_0_ssd on the system, and if
>> they do, how did that device get created?
>>
>> Cheers,
>> Jes
next prev parent reply other threads:[~2016-06-13 12:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-10 4:20 [PATCH] mdadm --detail --scan causes SIGABRT Nikhil Kshirsagar
2016-06-10 15:43 ` Nikhil Kshirsagar
2016-06-10 17:11 ` Jes Sorensen
2016-06-10 17:41 ` Nikhil Kshirsagar
2016-06-10 17:48 ` Jes Sorensen
2016-06-10 18:12 ` Nikhil Kshirsagar
2016-06-13 12:32 ` Nikhil Kshirsagar [this message]
2016-06-14 17:42 ` Jes Sorensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=575EA7F1.7010307@redhat.com \
--to=nkshirsa@redhat.com \
--cc=Jes.Sorensen@redhat.com \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).