Bug 1570493
Summary: | please add a function to add kernel module to a whitelist | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Knut J BJuland <knutjbj> | ||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 27 | CC: | airlied, bskeggs, ewk, hdegoede, ichavero, igeorgex, itamar, jarodwilson, jglisse, john.j5live, jonathan, josef, kees, kenorb, kernel-maint, labbott, linville, mchehab, michalkonec666, mjg59, redhat, steved | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-05-09 14:27:17 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Knut J BJuland
2018-04-23 05:13:39 UTC
That's coming from the out of tree nvidia module. How often does this issue happen? Ir occur when nvidia-modeset are started during boot. Created attachment 1425704 [details] patch to use kmem_cache_create_usercopy This is an untested patch based on https://www.grsecurity.net/~paxguy1/nvidia-drivers-387.12-pax.patch *** Bug 1574617 has been marked as a duplicate of this bug. *** I found out, that the Fedora 28 is starting without issue if it is building kmod on start. So today, when the bug occured again I switched to runlevel 3 and removed the kmod-nvidia. I removed it using rpm -e kmod-nvidia, because dnf didn't find it (which is weird, because kmod-VirtualBox is normally searchable by dnf). After removing the kmod-nvidia and restarting PC, Fedora 28 started without issue. Here is the output of lsmod|grep nvidia (so you can see, that I'm running on proprietary driver): nvidia_drm 45056 2 nvidia_modeset 1110016 7 nvidia_drm nvidia 14372864 473 nvidia_modeset drm_kms_helper 200704 1 nvidia_drm drm 454656 5 nvidia_drm,drm_kms_helper ipmi_msghandler 57344 2 nvidia,ipmi_devintf 4.773868] nvidia-modeset: Allocated GPU:0 (GPU-b1ce6fd7-3394-d73e-0681-a84a3f9c6a77) @ PCI:0000:65:00.0 [ 4.871948] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 4.871949] [drm] No driver support for vblank timestamp query. [ 4.953749] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:65:00.0 on minor 0 It has been resolved in nvidia 396.24. When we can expect this version of nvidia driver will be available in Fedora 28? I mean in the fedora-rpmfusion-nonfree-nvidia.repo? I download if from rawhide devel and rebuild the src.rpm for fedora 28. Thanks for testing. I'm going to close this bug as fixed in rawhide since this was mostly an FYI/tracking bug. FWIW, the bug is not fixed, but it's not something RedHat can fixed since it's a third-party driver. The patch above fixes it, but I don't see a fix in 396.24. Nvidia is working on it, it seems: https://devtalk.nvidia.com/default/topic/1031067/linux/-linux416-nvidia-390-48-nvidia_stack_cache-rip-0010-usercopy_warn-0x7e-0xa0/post/5255457/#5255457 Related posts: - https://devtalk.nvidia.com/default/topic/1031067/linux/-linux416-nvidia-390-48-nvidia_stack_cache-rip-0010-usercopy_warn-0x7e-0xa0/post/5267725/#5267725 - https://forums.geforce.com/default/topic/1098094/geforce-drivers/kernel-crash-at-_nv009384rm-os_memcpy_to_user-bad-or-missing-usercopy-whitelist-/ |