Skip to contentSkip to conversation

kms mode breaks when using radeon.agpmode=-1

Bug 61811 [email protected] 1 participant 20 messages Sep 24, 2013 – Oct 15, 2013 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

Bjorn Helgaas <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
          Component|PCI                         |Video(DRI - non Intel)
           Assignee|[email protected] |drivers_video-dri@kernel-bu
                   |l.org                       |gs.osdl.org
Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

--- Comment #7 from Bruno Wolff III <[email protected]> ---
It will go slow, as I'll only be able to do about one build a day as I have pretty old hardware. It will also be slow getting started as I haven't tried it before and I'll need to figure out the workflow. On the plus side the number of commits isn't huge, so I can probably get it done in a few weeks.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

Dieter Nützel <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #8 from Dieter Nützel <[email protected]> --- (In reply to Alex Deucher from comment #6)

Quoted 1 line

Can you bisect?

Hello Alex,

I'll try 'cause I get the same with clean 3.12-rc2 + 0001-drm-radeon-avoid-UVD-corruption-on-AGP-cards-using-G.patch

radeon.agpmode=8 works as before, but
radeon.agpmode=-1 gave

[-]

[   10.958649] radeon: `-1' invalid for parameter `agpmode'
[   11.515274] radeon: `-1' invalid for parameter `agpmode'

FATAL: Error inserting radeon (/lib/modules/3.12.0-rc2-1-desktop/kernel/drivers/gpu/drm/radeon/radeon.ko):
Invalid argument

Welcome to openSUSE 12.3 "Dartmouth" - Kernel 3.12.0-rc2-1-desktop (tty1). [-]

Your drm-fixes-3.12 (3.11.0-rc7 in reality) + 0001-drm-radeon-avoid-UVD-corruption-on-AGP-cards-using-G.patch works like a charm.

Any point to start without git-tree?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

--- Comment #9 from Dieter Nützel <[email protected]> --- Created attachment 109551
--> https://bugzilla.kernel.org/attachment.cgi?id=109551&action=edit
dmesg-3.12-rc2-agpmode-1.log

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

Dieter Nützel <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #109551|application/octet-stream    |text/plain
          mime type|                            |
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

--- Comment #10 from Alex Deucher <[email protected]> --- (In reply to Dieter Nützel from comment #8)

Quoted 11 lines

(In reply to Alex Deucher from comment #6)

Quoted 1 line

Can you bisect?

Hello Alex,

I'll try 'cause I get the same with clean 3.12-rc2 + 0001-drm-radeon-avoid-UVD-corruption-on-AGP-cards-using-G.patch

radeon.agpmode=8 works as before, but
radeon.agpmode=-1 gave

Quoted 7 lines

[-]

[   10.958649] radeon: `-1' invalid for parameter `agpmode'
[   11.515274] radeon: `-1' invalid for parameter `agpmode'

FATAL: Error inserting radeon (/lib/modules/3.12.0-rc2-1-desktop/kernel/drivers/gpu/drm/radeon/radeon.ko):
Invalid argument

We haven't touched anything AGP related in radeon in years. Maybe some general kernel module parsing change?

Quoted 2 lines

Any point to start without git-tree?

You really need a git tree to bisect.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

--- Comment #11 from Bruno Wolff III <[email protected]> ---
I believe it was after d5d04bb and up to 3711d86. There weren't any radeon changes in that range that I noticed when I read through the git whatchanged output. It's possible that some patch was added or removed in there, but there wasn't a comment in the spec changelog for the rpms. I can check more carefully to make sure. There were some intel changes and maybe there is some common code.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#9 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

--- Comment #12 from Dieter Nützel <[email protected]> --- (In reply to Alex Deucher from comment #10)

Quoted 20 lines

(In reply to Dieter Nützel from comment #8)

Quoted 11 lines

(In reply to Alex Deucher from comment #6)

Quoted 1 line

Can you bisect?

Hello Alex,

I'll try 'cause I get the same with clean 3.12-rc2 + 0001-drm-radeon-avoid-UVD-corruption-on-AGP-cards-using-G.patch

radeon.agpmode=8 works as before, but
radeon.agpmode=-1 gave

Quoted 7 lines

[-]

[   10.958649] radeon: `-1' invalid for parameter `agpmode'
[   11.515274] radeon: `-1' invalid for parameter `agpmode'

FATAL: Error inserting radeon (/lib/modules/3.12.0-rc2-1-desktop/kernel/drivers/gpu/drm/radeon/radeon.ko):
Invalid argument

Quoted 1 line

We haven't touched anything AGP related in radeon in years.

I know. ;-)

Quoted 1 line

Maybe some general kernel module parsing change?

That was my thought, too.

Quoted 4 lines
Quoted 2 lines

Any point to start without git-tree?

You really need a git tree to bisect.

I know, second time, but...
...I'll see what I can find in Linus 3.12-rc1 (maybe before) patch file(s) (logs).
For several git trees this system is to small...

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

--- Comment #13 from Bruno Wolff III <[email protected]> ---
Kernel kernel-PAE-3.12.0-0.rc0.git22.2.fc21.i686 which worked for me was based off commit d5d04bb. The next kernel which didn;t work (kernel-PAE-3.12.0-0.rc0.git24.1.fc21.i686) was based on commit 3711d86.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#12 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

--- Comment #15 from Bruno Wolff III <[email protected]> ---
So far I have 26935fb06ee88f1188789807687c03041f3c70d9 as the last known good commit and 48efe453e6b29561f78a1df55c7f58375259cb8c as the first known bad commit.
Of the commits there, the most suspicious ones have to do with the strict_strto*() to kstrto*() change as it looks like that might affect parameter parsing. This would be commits 6072ddc8520b86adfac6939ca32fb6e6c4de017a and 57103d7fe1833857cf542a482c1eb8da0bf86e5d.
I still expect to have the bisect done by sometime on Monday (or maybe late Sunday).

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#13 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

--- Comment #16 from Michel Dänzer <[email protected]> --- Someone who has the necessary powers please reassign according to
https://lists.ozlabs.org/pipermail/linuxppc-dev/2013-September/111758.html .

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#14 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

Bjorn Helgaas <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #17 from Bjorn Helgaas <[email protected]> --- Bruno or Dieter, can you try Jean's patch from the email mentioned in comment #16? If v3.12-rc2 + Jean's patch solves the problem, it might save you a lot of bisect time.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#17 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

--- Comment #20 from Dieter Nützel <[email protected]> --- (In reply to Bjorn Helgaas from comment #17)

Quoted 3 lines

Bruno or Dieter, can you try Jean's patch from the email mentioned in comment #16? If v3.12-rc2 + Jean's patch solves the problem, it might save you a lot of bisect time.

3.12-rc2 + Jean's patch

Running with radeon.agpmode=-1.
Direct way to 3.12-rc3, please ;-)

Tested-by [email protected]

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#18 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

Bruno Wolff III <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #21 from Bruno Wolff III <[email protected]> ---
This is fixed by commit 3a126f85e015701e56240884f27f97543580d5f7 which is in Linus' tree. It is also in Fedora kernel-PAE-3.12.0-0.rc2.git4.1.fc21.i686 which I tested and confirmed the fix again.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#19 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

--- Comment #22 from Dieter Nützel <[email protected]> --- (In reply to Bruno Wolff III from comment #0)

Quoted 2 lines

I need to use radeon.agpmode=-1 with my rv280 based graphics card due to a long (2+ years) standing bug with the driver.

Hello Bruno,

isn't it then time to writing a bug report on bugs.freedesktop.org, that Christian König or Alex Deucher from AMD can look at it?

Greetings,
Dieter

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#20 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=61811

--- Comment #23 from Bruno Wolff III <[email protected]> ---
I have a Fedora bug for that issue. I'm starting to work on bisecting some older kernel bugs and may bring it back to the kernel when I'm done. But I'm starting on a sound / network / probable locking bug from 3 years ago. It will probably take me a couple of weeks to get that one bisected.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.