New: oops on rmmod nouveau with nv31m
http://bugs.freedesktop.org/show_bug.cgi?id=23212
Summary: oops on rmmod nouveau with nv31m
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Created an attachment (id=28436)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28436)
dmesg after rmmod nouveau
i'm trying to get kms working on my nv31m on gentoo using the x11 overlay, when i do modprobe nouveau modeset=1 the screen still stays the same resolution (80x25 chars) and the cursor freezes in place though i'm still able to type stuff.
when i rmmod nouveau i get an oops (attached)
everything from the overlay is up to date.
i'm using nouveau-drm instead of x11-drm
i have FRAMEBUFFER_CONSOLE=y
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
A message that is not in the archive (sent off-list or not yet received): bug-23212-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 23212] oops on rmmod nouveau with nv31m
http://bugs.freedesktop.org/show_bug.cgi?id=23212
Marcin Kościelnicki <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #28436|application/octet-stream |text/plain
mime type| |Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #1 from Marcin Kościelnicki <[email protected]> 2009-10-01 12:59:12 PST --- You seem to be using old kernel with serious bugs, see
http://nouveau.freedesktop.org/wiki/UpstreamKernelIssues for more details. You should try building the whole kernel from nouveau/linux-2.6 repository if possible, otherwise upgrade to 2.6.31.
Also, a memory corruption bug was squashed recently in nouveau drm, can you verify this issue still happens with current git?
Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #2 from [email protected] 2009-10-01 20:48:00 PST --- Created an attachment (id=29990)
--> (http://bugs.freedesktop.org/attachment.cgi?id=29990)
dmesg on 2.6.31 after modprobe without modeset=1
Using 2.6.31 now, rebuilt everything from the x11 overlay, but when I do modprobe nouveau modeset=1 the screen turns off and the system freezes (sysrq doesn't work anymore), nothing in the log about that after reboot.
Attached the dmesg without modeset=1, but I guess it won't help much.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #3 from Pekka Paalanen <[email protected]> 2009-10-02 06:28:18 PST --- Nouveau-drm package from x11 overlay is still using master-compat, which is not up-to-date, and does not contain the fix.
I updated the master-compat right now, it will propagate into the snapshot nouveau-drm uses within six hours, IIRC. I do not intend to update master-compat anymore.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #4 from [email protected] 2009-10-02 07:52:12 PST --- I'm using nouveau/linux-2.6 now, the system freezes here too with the latest commit (4e9caac6c3f7888848e1614bca0b4551fa196ce6), doing a bisect to find out when the freeze was introduced but compiling a kernel takes about half an eternity on this notebook. 756 revisions left to test after this (roughly 10 steps). Getting the old behaviour with 3f4f9a450f602251839f986f8785a78803c7d8da from 2009-08-08.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #5 from [email protected] 2009-10-02 11:38:47 PST --- 66960bf357b134b46044f46f5e80ed4d8ed86220 is first bad commit drm/nouveau: Import >=nv17 TV-out support.
With the commit before that (b07297c4d302c8b1bb476cf8f4b67171dd1b6d38) I get the old behaviour.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #6 from Francisco Jerez <[email protected]> 2009-10-03 08:06:33 PST --- Created an attachment (id=30013)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30013)
patch0.diff
Your bios tables seem a little bit misleading, does the attached patch change anything? (please attach some logs if it works around the hard lockup).
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #7 from [email protected] 2009-10-03 13:30:49 PST --- The patch didn't help.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #8 from Francisco Jerez <[email protected]> 2009-10-03 15:42:20 PST --- Created an attachment (id=30026)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30026)
patch1.diff
I'm attaching a couple of patches more that would be interesting to try...
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #9 from Francisco Jerez <[email protected]> 2009-10-03 15:42:52 PST --- Created an attachment (id=30027)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30027)
patch2.diff
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #10 from [email protected] 2009-10-03 17:10:31 PST --- Created an attachment (id=30029)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30029)
dmesg with patch1
KMS seems to be working fine with patch1.
With patch2 I still get the freeze.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #11 from Francisco Jerez <[email protected]> 2009-10-03 17:33:27 PST --- (In reply to comment #10)
Quoted 1 line
Created an attachment (id=30029)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30029) [details]
Quoted 5 lines
dmesg with patch1
KMS seems to be working fine with patch1.
With patch2 I still get the freeze.
So your card probably needs something to be done differently for TV-out load detection... An mmiotrace is likely to be very useful (see
http://nouveau.freedesktop.org/wiki/MmioTraceHowto).
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #12 from [email protected] 2009-10-04 11:24:44 PST --- I got a trace of modprobing nvidia, starting and exiting X, it's about 1.1MB lzma compressed, should I attach it here or send to that gmail adress?
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #13 from Francisco Jerez <[email protected]> 2009-10-04 11:37:04 PST --- (In reply to comment #12)
Quoted 3 lines
I got a trace of modprobing nvidia, starting and exiting X, it's about 1.1MB lzma compressed, should I attach it here or send to that gmail adress?
Yeah, you'd better send it to mmio.dumps at gmail.com.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #14 from [email protected] 2009-10-04 12:02:51 PST --- Done.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #15 from Francisco Jerez <[email protected]> 2009-10-04 13:10:33 PST --- Created an attachment (id=30042)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30042)
patch3.diff
The attached patch should do the trick, nv31 TV load detection seems to be more like nv17 than other newer nv3x. I probably did some other untested assumptions about nv31 TV-out, so it would be nice if you tried it (Note that you'll surely need patch2 for it to work), but don't worry too much about it :-)
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #16 from [email protected] 2009-10-04 17:42:51 PST --- Created an attachment (id=30056)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30056)
dmesg with KMS and a TV connected
KMS is working with patch2+3. Not sure how to enable TV out though. Running xrandr just returns "Output TV-0 is not disconnected but has no modes", no matter what I pass to xrandr. TV out is working fine if I set it up with the blob and nvidia-settings.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #17 from [email protected] 2009-10-04 17:43:20 PST --- Created an attachment (id=30057)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30057)
Xorg.0.log with KMS and a TV connected
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #18 from Francisco Jerez <[email protected]> 2009-10-04 18:24:48 PST --- Created an attachment (id=30058)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30058)
patch4.diff
Hm, that seems to be because of some recent DRM changes... the attached patch should fix it.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
--- Comment #19 from [email protected] 2009-10-04 18:30:52 PST --- (In reply to comment #18)
Quoted 1 line
Created an attachment (id=30058)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30058) [details]
Quoted 5 lines
patch4.diff
Hm, that seems to be because of some recent DRM changes... the attached patch should fix it.
Actually no need for that, just updated xrandr from 1.2.3 to latest git, working fine now.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23212] oops on rmmod nouveau with nv31m
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23212
Francisco Jerez <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #20 from Francisco Jerez <[email protected]> 2009-10-05 10:30:05 PST --- (In reply to comment #19)
Quoted 2 lines
(In reply to comment #18)
Quoted 1 line
Created an attachment (id=30058)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30058) [details] [details]
Quoted 9 lines
Quoted 5 lines
patch4.diff
Hm, that seems to be because of some recent DRM changes... the attached patch should fix it.
Actually no need for that, just updated xrandr from 1.2.3 to latest git, working fine now.
Weird, it really shouldn't have worked without it. Pekka has pushed the fixes so I'm marking this as closed.
Thanks!
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.