bugzilla-daemon at freedesktop.org
2013-Sep-02 09:20 UTC
[Nouveau] [Bug 68835] New: Unknown opcode 0x43 + protection fault on a Graphics Blaster Riva TNT card
https://bugs.freedesktop.org/show_bug.cgi?id=68835 Priority: medium Bug ID: 68835 Assignee: nouveau at lists.freedesktop.org Summary: Unknown opcode 0x43 + protection fault on a Graphics Blaster Riva TNT card QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: Linux (All) Reporter: mauromol at tiscali.it Hardware: x86 (IA32) Status: NEW Version: unspecified Component: Driver/nouveau Product: xorg Created attachment 85048 --> https://bugs.freedesktop.org/attachment.cgi?id=85048&action=edit dmesg output: system boot + a couple of S3 suspensions + a S4 hibernation Opening this as suggested in bug #67161 comment #6. Running Fedora 19 with a live USB on an old system with Creative Labs Graphics Blaster Riva TNT: Linux localhost 3.9.5-301.fc19.i686 #1 SMP Tue Jun 11 20:01:50 UTC 2013 i686 i686 i386 GNU/Linux If I run dmesg I see some errors like: [ 5.213896] nouveau E[ VBIOS][0000:01:00.0] 0x012e[ ]: unknown opcode 0x43 or: [ 99.820645] nouveau E[ PGRAPH][0000:01:00.0] NOTIFY nsource: PROTECTION_ERROR nstatus: PROTECTION_FAULT [ 99.820677] nouveau E[ PGRAPH][0000:01:00.0] ch 1 [X[666]] subc 2 class 0x0042 mthd 0x0180 data 0x00003a04 [ 99.820697] nouveau E[ PGRAPH][0000:01:00.0] NOTIFY nsource: PROTECTION_ERROR nstatus: PROTECTION_FAULT [ 99.820714] nouveau E[ PGRAPH][0000:01:00.0] ch 1 [X[666]] subc 6 class 0x0044 mthd 0x0180 data 0x00003a04 [ 99.820732] nouveau E[ PGRAPH][0000:01:00.0] NOTIFY nsource: PROTECTION_ERROR nstatus: PROTECTION_FAULT [ 99.820749] nouveau E[ PGRAPH][0000:01:00.0] ch 1 [X[666]] subc 6 class 0x0043 mthd 0x0180 data 0x00003a04 [ 99.821101] nouveau E[ PGRAPH][0000:01:00.0] NOTIFY nsource: PROTECTION_ERROR nstatus: PROTECTION_FAULT [ 99.821121] nouveau E[ PGRAPH][0000:01:00.0] ch 1 [X[666]] subc 6 class 0x0019 mthd 0x0180 data 0x00003a04 The "unknown opcode" error appears at boot and waking up from S3/S4. Regarding the protection fault lines, it seems like they appeared on boot and on one of the wakeups from S3. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130902/edfdc31c/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Sep-02 09:21 UTC
[Nouveau] [Bug 68835] Unknown opcode 0x43 + protection fault on a Graphics Blaster Riva TNT card
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #1 from Mauro Molinari <mauromol at tiscali.it> --- Created attachment 85049 --> https://bugs.freedesktop.org/attachment.cgi?id=85049&action=edit BIOS dump obtained from /sys/kernel/debug/dri/0/vbios.rom -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130902/3b940194/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Sep-02 09:24 UTC
[Nouveau] [Bug 68835] Unknown opcode 0x43 + protection fault on a Graphics Blaster Riva TNT card
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #2 from Mauro Molinari <mauromol at tiscali.it> --- Created attachment 85050 --> https://bugs.freedesktop.org/attachment.cgi?id=85050&action=edit BIOS dump obtained with vbtracetool I'm also attaching the BIOS dump obtained from vbtracetool, as requested, although it seems to be equal to the one from /sys/kernel/debug/dri/0/vbios.rom (just a single character differs). Let me know if you also need the POST trace. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130902/82d8573e/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Sep-02 14:15 UTC
[Nouveau] [Bug 68835] [NV04] Unknown opcode 0x43 + protection fault
https://bugs.freedesktop.org/show_bug.cgi?id=68835 Ilia Mirkin <imirkin at alum.mit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Unknown opcode 0x43 + |[NV04] Unknown opcode 0x43 |protection fault on a |+ protection fault |Graphics Blaster Riva TNT | |card | --- Comment #3 from Ilia Mirkin <imirkin at alum.mit.edu> --- The POST trace is what I had in mind as the vtracetool output. As for the protection faults, they're yet another issue from the bios. Would be good to figure out what causes them to get printed, and file another bug. (Really best to keep it to one issue per... issue.) -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130902/34111a6e/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Sep-02 16:26 UTC
[Nouveau] [Bug 68835] [NV04] Unknown opcode 0x43
https://bugs.freedesktop.org/show_bug.cgi?id=68835 Mauro Molinari <mauromol at tiscali.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[NV04] Unknown opcode 0x43 |[NV04] Unknown opcode 0x43 |+ protection fault | -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130902/2b60ed14/attachment-0001.html>
bugzilla-daemon at freedesktop.org
2013-Sep-02 16:29 UTC
[Nouveau] [Bug 68835] [NV04] Unknown opcode 0x43
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #4 from Mauro Molinari <mauromol at tiscali.it> --- Created attachment 85078 --> https://bugs.freedesktop.org/attachment.cgi?id=85078&action=edit POST trace (In reply to comment #3)> The POST trace is what I had in mind as the vtracetool output.Sorry, I didn't understand. Here it is.> As for the protection faults, they're yet another issue from the bios. Would > be good to figure out what causes them to get printed, and file another bug. > (Really best to keep it to one issue per... issue.)Ok, so let's keep this bug for the unknown opcode thing. I'm opening a new bug for that. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130902/cf6e9103/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Sep-02 16:36 UTC
[Nouveau] [Bug 68835] [NV04] Unknown opcode 0x43
https://bugs.freedesktop.org/show_bug.cgi?id=68835 Mauro Molinari <mauromol at tiscali.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |68854 -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130902/89b1946f/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Sep-02 16:37 UTC
[Nouveau] [Bug 68835] [NV04] Unknown opcode 0x43
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #5 from Mauro Molinari <mauromol at tiscali.it> --- I've opened Bug 68854 for the protection fault problem. Let me know what can I do to try to figure out what it is causing it. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130902/00927ce3/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Jan-06 07:49 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 Ilia Mirkin <imirkin at alum.mit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[NV04] Unknown opcode 0x43 |[NV04] Script offset | |calculated incorrectly for | |some BMP 1.x VBIOSes -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140106/ef94f587/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Jan-06 07:51 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #6 from Ilia Mirkin <imirkin at alum.mit.edu> --- Created attachment 91533 --> https://bugs.freedesktop.org/attachment.cgi?id=91533&action=edit Change heuristic for choosing script offset location for old bioses Please try this patch, should get rid of the unknown opcode error, and also may help with suspend/resume if there were problems before. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140106/ed099187/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Jan-06 10:22 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #7 from Mauro Molinari <mauromol at tiscali.it> --- Hi Ilia, is there a guide anywhere on how to apply a patch, build the patched driver and use it for testing? I'm not a Linux kernel expert... -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140106/64303b46/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Jan-06 20:43 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #8 from Ilia Mirkin <imirkin at alum.mit.edu> --- (In reply to comment #7)> Hi Ilia, > is there a guide anywhere on how to apply a patch, build the patched driver > and use it for testing? I'm not a Linux kernel expert...Grab a copy of the kernel (the patch is against 3.13-rc7, but it should apply cleanly to just about any 3.7+ version), apply the patch (patch -p1 < thepatch), and then build as usual. Here's a (fairly complex) guide to building kernels on Fedora: https://fedoraproject.org/wiki/Building_a_custom_kernel Although that is for generating rpm's... you can probably do something much simpler for just a local install, but I can't help with that (these distros tend to expect initrd's, etc, which I know fairly little about and thus avoid). Let me know if you don't plan on testing this out in the next week or so; I think the patch is fairly safe to just check in anyways, so you'd be able to test it out eventually in a future release. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140106/7d4f7592/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Jan-07 16:33 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #9 from Mauro Molinari <mauromol at tiscali.it> --- Hi Ilia, honestly I don't know if I could test this within a week or so, because I would need to make a Fedora installation on a new disk/partition, sort out how to build a custom kernel with patched nouveau and test it (I've never done this before, maybe something like that ages ago on a Slackware 4 distribution... :-P). In fact, the tests I made were on a live Fedore 19, because the actual installed distribution I'm currently using on this system is an OpenMediaVault (based on Debian Squeeze), which is too old to try this. I can afford this, but I can't bet on the time I will need. If you feel safe to check it in anyway, I will surely test a live distribution with the new kernel as soon as it will become available (or, in the mean time, I may be able to do all the steps needed to test this patch on Fedora 19...). By the way, if you check it in now, which new Linux kernel version do you expect to inherit the fix? -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140107/5289c3bb/attachment-0001.html>
bugzilla-daemon at freedesktop.org
2014-Jan-09 00:17 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #10 from Ilia Mirkin <imirkin at alum.mit.edu> --- The fix is now upstream, should appear in 3.13-rc8 (as well as the final 3.13 release which should happen in a few weeks). If you test it out, and everything works (including suspend/resume/hibernate), I'll ask for it to be included in "stable" kernels. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140109/0754c1a4/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Jan-23 06:37 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 Ilia Mirkin <imirkin at alum.mit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #11 from Ilia Mirkin <imirkin at alum.mit.edu> --- The fix should be in 3.13.0 and later. I'm going to mark this bug as fixed, but do test it out when you get a chance and let us know whether it fixes your issue (and/or breaks anything, like suspend, since vbios scripts are found now). -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140123/17367244/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Jan-26 23:11 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #12 from Mauro Molinari <mauromol at tiscali.it> --- (In reply to comment #11)> The fix should be in 3.13.0 and later. I'm going to mark this bug as fixed, > but do test it out when you get a chance and let us know whether it fixes > your issue (and/or breaks anything, like suspend, since vbios scripts are > found now).Hi Ilia, just to let you know that I got to install Fedora 19 on a new hard disk and that I'm following the procedure you pointed me to build a patched custom 3.12 kernel with your patch applied. It's currently compiling (it takes a lot of time on this old Pentium 3...). When I've completed my testings, I'll let you know. On the other hand, I have another small glitch: the maximum resolution proposed by the monitor configuration utility of Fedora is 1024x768 at 60Hz, while my monitor preferred resolution is 1280x1024 and it can support up to 75Hz resolution. I see that the xrandr output is not consistent with what I get using monitor-get-edid+monitor-parse-edid, which returns the correct data. Is this something related to the nouveau driver? -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140126/4dcfb660/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Jan-27 01:42 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #13 from Ilia Mirkin <imirkin at alum.mit.edu> --- (In reply to comment #12)> (In reply to comment #11) > > The fix should be in 3.13.0 and later. I'm going to mark this bug as fixed, > > but do test it out when you get a chance and let us know whether it fixes > > your issue (and/or breaks anything, like suspend, since vbios scripts are > > found now). > > Hi Ilia, > just to let you know that I got to install Fedora 19 on a new hard disk and > that I'm following the procedure you pointed me to build a patched custom > 3.12 kernel with your patch applied. It's currently compiling (it takes a > lot of time on this old Pentium 3...). When I've completed my testings, I'll > let you know.Great! You could also have grabbed a pre-compiled 3.13 kernel off of rawhide, if that's availble. I'm really not sure what the Fedora situation is though, so I can't give specific advice.> > On the other hand, I have another small glitch: the maximum resolution > proposed by the monitor configuration utility of Fedora is 1024x768 at 60Hz, > while my monitor preferred resolution is 1280x1024 and it can support up to > 75Hz resolution. I see that the xrandr output is not consistent with what I > get using monitor-get-edid+monitor-parse-edid, which returns the correct > data. Is this something related to the nouveau driver?I believe you have a different bug already open about this, yes? -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140127/bd65555c/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Jan-27 07:52 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #14 from Mauro Molinari <mauromol at tiscali.it> --- (In reply to comment #13)> Great! You could also have grabbed a pre-compiled 3.13 kernel off of > rawhide, if that's availble. I'm really not sure what the Fedora situation > is though, so I can't give specific advice.Hmmm... I will seek for further information, however applying the patch to 3.12 was easy, it's just so slow to compile. I left the PC running over night and this morning it's still there... It's building all the flavors of the kernel, so I should better try to just make one flavor next time, but I'm not sure about what to choose (the above page talks about xen, smp, up, pae, kdump, debug and debuginfo... and I'm not sure what would be the best in my case).> I believe you have a different bug already open about this, yes?Not yet. I already talked about it in a comment in bug #68854, but you didn't give me an ok to open a new bug! :-) Should I? -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140127/76d35c70/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Jan-28 22:23 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 Mauro Molinari <mauromol at tiscali.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #15 from Mauro Molinari <mauromol at tiscali.it> --- Hi Ilia, good news! After almost two days of hard work, the kernel compilation ended with success! With the new patched kernel, I don't find "unknown opcode 0x43" anymore in dmesg output (I'm going to attach it). Suspend and resume work ok! So, I think this is definitely fixed! Thank you! Unfortunately, the PROTECTION_ERRORs are still there (bug #68854). I'm also going to open a new bug for the resolution issue. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140128/ee55e96d/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Jan-28 22:24 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #16 from Mauro Molinari <mauromol at tiscali.it> --- Created attachment 92960 --> https://bugs.freedesktop.org/attachment.cgi?id=92960&action=edit New dmesg output got after patching the 3.12 kernel -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140128/e342dbde/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Jan-28 22:46 UTC
[Nouveau] [Bug 68835] [NV04] Script offset calculated incorrectly for some BMP 1.x VBIOSes
https://bugs.freedesktop.org/show_bug.cgi?id=68835 --- Comment #17 from Mauro Molinari <mauromol at tiscali.it> --- I created bug #74164 for the resolution issue. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140128/7dc0079f/attachment.html>
Possibly Parallel Threads
- [Bug 68854] New: [NV04] PROTECTION_ERROR / PROTECTION_FAULT
- [Bug 67161] New: Blank video after resuming from S3 or S4
- [Bug 74164] New: [NV04] Native monitor resolution missing
- [Bug 11978] New: mkstemp failed: File name too long (36) when filename is under the limit
- [Bug 28095] X crash with PFIFO_CACHE_ERROR. (Nouveau on Riva TNT).