Bug 439657

Summary: The nouveau driver in rawhide is buggy and causes kernel oopses
Product: [Fedora] Fedora Reporter: Arjan van de Ven <arjan>
Component: kernelAssignee: Dave Airlie <airlied>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: kernel-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-18 02:24:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 439966    

Description Arjan van de Ven 2008-03-30 01:18:35 UTC
Description of problem:

The nouveau driver in the rawhide kernel has a bug and is in the top 10 of 
kernel oopses:

http://www.kerneloops.org/searchweek.php?search=do_sys_open

This is caused by nouveau returning "1" somewhere for an error rather than "-
1". The effect of this bug is that the kernel doesn't recognize this as an 
error condition and considers this a real pointer.. which it then follows in 
do_sys_open, with an oops as result.

Most likely candidate is:

+       if (ret) {
+               DRM_ERROR("Unable to initialize the mmio mapping (%d). "
+                         "Please report your setup to " DRIVER_EMAIL "\n",
+                         ret);
+               return 1;
+       }

Comment 1 Dave Airlie 2008-03-31 04:49:26 UTC
oops sorry Arjan clicked the wrong bug...