All of lore.kernel.org
 help / color / mirror / Atom feed
From: Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Roland Dreier <roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Erez Shitrit <erezsh-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: Eli Cohen <eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	Jack Morgenstein
	<jackm-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>,
	"linux-rdma
	(linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Yevgeny Petrilin
	<yevgenyp-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH] mlx4_core: Fix crash on uninitialized priv->cmd.slave_sem
Date: Thu, 27 Sep 2012 10:22:21 +0200	[thread overview]
Message-ID: <50640CBD.4060904@mellanox.com> (raw)
In-Reply-To: <CAG4TOxPCVuyEUMO01PCUyav+18vMDqN85iSAKc3NWnS3L4PnyQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 27/09/2012 10:17, Roland Dreier wrote:
> I think I had it cabled up directly to another HCA, and that HCA was in a
> system that was either off or at least didn't have the driver loaded.  So the
> port was in the physically DOWN state...
>
> However, I just tried it and even with that other HCA enabled (and running
> opensm), I still see
>
>      mlx4_core 0000:05:00.0: Unknown command:0x4d accepted from slave:0
>      mlx4_core 0000:05:00.0: Sense command failed for port: 1
>
> before init_hca finishes, so I think I would have crashed without my patch
> still.  Not sure I understand how you guys miss hitting this fatal call to
> SENSE_PORT during init (or what the intention for SENSE_PORT is
> since right now in SR-IOV mode it always fails due to no wrapper).
>
> I'm not doing anything funny with the port type, I have a one-port CX3
> running FW built with the exact default .ini file, except for enabling SR-IOV.
> And the only mlx4_core module parameter I'm passing in is "num_vfs=1".
>

Thanks for the further details, sounds like something/s is indeed broken 
here, in the code and/or
in the regression testing of it. We'll do our best to provide deeper 
reasoning of what's going on today,
and if not, by Tuesday when Jack is back. This way (your patch) or 
another (some other direction suggested
by the team or Jack) seems we're safe for the merge window.

Or.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2012-09-27  8:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-26  4:42 [PATCH] mlx4_core: Fix crash on uninitialized priv->cmd.slave_sem Roland Dreier
     [not found] ` <1348634552-21047-1-git-send-email-roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2012-09-26  4:46   ` Roland Dreier
     [not found]     ` <CAL1RGDUm4Zxnoby5O2RkoahbPUtYBL5UPxAFiwDnNNv4pdy7vA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-26 17:01       ` Roland Dreier
2012-09-26 21:51   ` Or Gerlitz
     [not found]     ` <CAJZOPZKoMorYPBqUPbmUcsw1GcXOYo8oE-u2gA6HB6sb3eo1iw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-27  6:46       ` Roland Dreier
     [not found]         ` <CAG4TOxPBOMQW1XeB-CNjq+RHix3Rk-ZqfB_6d5YscMQKDOumtA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-27  7:57           ` Or Gerlitz
     [not found]             ` <CAG4TOxPCVuyEUMO01PCUyav+18vMDqN85iSAKc3NWnS3L4PnyQ@mail.gmail.com>
     [not found]               ` <CAG4TOxPCVuyEUMO01PCUyav+18vMDqN85iSAKc3NWnS3L4PnyQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-27  8:22                 ` Or Gerlitz [this message]
2012-09-27 12:35           ` Or Gerlitz
2012-10-02  8:51   ` Jack Morgenstein

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=50640CBD.4060904@mellanox.com \
    --to=ogerlitz-vpraknaxozvwk0htik3j/w@public.gmane.org \
    --cc=eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=erezsh-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=jackm-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=yevgenyp-VPRAkNaXOzVWk0Htik3J/w@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.