Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716178 - linux-5.4.8 on s390 - fcntl(fd, F_NOTIFY, DN_MULTISHOT) fails with EINVAL
Summary: linux-5.4.8 on s390 - fcntl(fd, F_NOTIFY, DN_MULTISHOT) fails with EINVAL
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: s390 Linux
: Normal normal (vote)
Assignee: s390 team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-04 13:33 UTC by Agostino Sarubbo
Modified: 2021-02-09 15:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,253.88 KB, text/plain)
2020-04-04 13:33 UTC, Agostino Sarubbo
Details
test program (test-fcntl.c,487 bytes, text/plain)
2020-04-04 18:05 UTC, Mike Gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-04-04 13:33:01 UTC
This is an auto-filled bug because dev-lang/python fails to compile on s390. Feel free to adjust the summary to clarify the exact issue. Attached build log and emerge --info
Comment 1 Agostino Sarubbo gentoo-dev 2020-04-04 13:33:07 UTC
Created attachment 629920 [details]
build.log

build log and emerge --info
Comment 2 Mike Gilbert gentoo-dev 2020-04-04 13:59:32 UTC
Given the exotic arch, my first guess would be a kernel bug.

I am unblocking the stable request because this is almost certainly arch-specific.
Comment 3 Mike Gilbert gentoo-dev 2020-04-04 18:05:51 UTC
Created attachment 630066 [details]
test program

Please compile/run the attached program to test fcntl(fd, F_NOTIFY, DN_MULTISHOT).

If this fails, this is definitely a kernel problem.
Comment 4 Agostino Sarubbo gentoo-dev 2020-04-05 09:36:06 UTC
(In reply to Mike Gilbert from comment #3)
> Created attachment 630066 [details]
> test program
> 
> Please compile/run the attached program to test fcntl(fd, F_NOTIFY,
> DN_MULTISHOT).
> 
> If this fails, this is definitely a kernel problem.

It fails with:

fcntl: Invalid argument
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-13 03:34:14 UTC
We really need to upgrade to a newer version of 5.4.x on our machines first.
Comment 6 SpanKY gentoo-dev 2021-01-15 07:00:58 UTC
donesky:
$ ssh lgentoo3 uname -a
Linux lgentoo3 5.10.7 #1 SMP Fri Jan 15 01:31:34 EST 2021 s390 8561 IBM GNU/Linux
$ ssh lgentoo4 uname -a
Linux lgentoo4 5.10.7 #1 SMP Fri Jan 15 01:31:34 EST 2021 s390x 8561 IBM GNU/Linux
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-09 15:52:34 UTC
(In reply to SpanKY from comment #6)
> donesky:
> $ ssh lgentoo3 uname -a
> Linux lgentoo3 5.10.7 #1 SMP Fri Jan 15 01:31:34 EST 2021 s390 8561 IBM
> GNU/Linux
> $ ssh lgentoo4 uname -a
> Linux lgentoo4 5.10.7 #1 SMP Fri Jan 15 01:31:34 EST 2021 s390x 8561 IBM
> GNU/Linux

Thanks Mike!! And no, made no difference :(