Re: fedora 28 (kernel 4.16.14-300) console hang after try to link up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/26/2018 3:04 AM, Vasiliy Tolstov wrote:
> вт, 26 июн. 2018 г. в 5:26, Jason Gunthorpe <jgg@xxxxxxxxxxxx>:
>> On Tue, Jun 26, 2018 at 03:24:00AM +0300, Vasiliy Tolstov wrote:
>>> I'm debug this and i think that this is selinux problem, after i set
>>> permissive selinux i have:
>>> type=AVC msg=audit(1529969961.770:111): avc:  denied  { access } for
>>> pid=932 comm="systemd-network" pkey=0xffff subnet_prefix=0:0:0:80fe::
>>> scontext=system_u:system_r:systemd_modules_load_t:s0
>>> tcontext=system_u:object_r:unlabeled_t:s0 tclass=infiniband_pkey
>>> permissive=0

The upstream refpolicy doesn't define systemd_modules_load_t, I think this will require an update to the fedora selinux policy to allow access to unlabeled pkeys for that type.  I've added Paul Moore, hopefully he knows how to make that happen.

>> It shouldn't hang, that seems like some other kind of bug..
>>
>> And it shouldn't print the subnet prefx in the wrong endian-ness
>> (subnet_prefix=0:0:0:80fe::)
This is a bug.

>> And the denial sure looks wrong, there should be a permission check
>> when creating a new child IPoIB netdev, but manipulating an existing
>> netdev should not require special IB permissions..
>>
> Sorry, may be systemd-networkd does not hung, but ip link set up dev ib1 - yes.
>
>
>>>> Hi. I'm use fedora 28 with default fedora kernel 4.16.14-300. When i'm
>>>> try to ip link set up dev ib1 i get hanging console and messages:
>>>> ib1: Failed to modify QP to init, ret = -13
>>>> ib1: ipoib_init_qp returned -13
>>>> ib1: Failed to open dev
>> Seems like a bunch of kernel bugs.
>>
>> Lets ask Dan..
>>
>> Jason
> My be i'm not luck... I have another server, that fails to bring up
> ipoib device up, but with message:
> Failed to join multicast group error, in opensm logs i have repeated messages:
> Jun 26 09:34:21 761821 [3D642700] 0x02 -> log_notice: Reporting
> Informational Notice "New mcast group created", MGID:ff12:601b:ffff::2
> Jun 26 09:35:35 997271 [3D642700] 0x02 -> log_notice: Reporting
> Informational Notice "Mcast group deleted", MGID:ff12:601b:ffff::2
> Jun 26 10:28:15 602614 [3D642700] 0x02 -> log_notice: Reporting
> Informational Notice "New mcast group created", MGID:ff12:601b:ffff::2
> Jun 26 10:29:45 201974 [3D642700] 0x02 -> log_notice: Reporting
> Informational Notice "Mcast group deleted", MGID:ff12:601b:ffff::2
> Jun 26 10:33:06 978627 [3D642700] 0x02 -> log_notice: Reporting
> Informational Notice "New mcast group created", MGID:ff12:601b:ffff::2
> Jun 26 10:34:30 303604 [3D642700] 0x02 -> log_notice: Reporting
> Informational Notice "Mcast group deleted", MGID:ff12:601b:ffff::2
>
>

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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux