All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lars Callenbach" <lars.callenbach@gmx.de>
To: linux-kernel@vger.kernel.org
Subject: PROBLEM:  nouveau & ttm module crashes
Date: Sun, 22 Jan 2012 14:13:10 +0100	[thread overview]
Message-ID: <20120122131310.191470@gmx.net> (raw)

Hello,

I have had some problems with nouveau on my box. Loading the module  
crashes Linux 3.2.1 (modprobe hangs with kernel trace). The following two 
code fragments are relevant and should be changed:

1) drivers/gpu/drm/ttm/ttm_bo.c - line 1529
you should comment BUG_ON; this validation will be done two lines later  
in drm_mm_takedown more gracefully. On my box this line is triggered
and results in a hang of modprobe.

2) drivers/gpu/drm/nouveau/nouveau_hw.c - line 1024
dev!=NULL but dev->vblank_enabled == NULL (is not catched and results in
Null pointer reference)

With both changes it is possible to load nouveau without kernel crashes on 
my box. 


Regards, 
   Lars
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

                 reply	other threads:[~2012-01-22 13:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20120122131310.191470@gmx.net \
    --to=lars.callenbach@gmx.de \
    --cc=linux-kernel@vger.kernel.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.