New: Recompiled kernel crash on KMS loading
https://bugs.freedesktop.org/show_bug.cgi?id=38675
Summary: Recompiled kernel crash on KMS loading
Product: DRI
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=48405)
--> (https://bugs.freedesktop.org/attachment.cgi?id=48405)
archive containing .config and dmesg output of my custom kernel
With my custom kernel (config and dmesg attached at this message in a tar.gz archive) I have a problem with radeon DRM module.
When the KMS is loading the system is freezed, the keyboard is dead, the machine doesn't answer at the ping and I can only reset the machine. I haven't any debug information because this crash show a black screen and no file (dmesg, kern.log, messages, ecc) are written.
This problem doesn't happen always, but often so it is also difficult to determine when a change in the configuration in the kernel may have solved the problem
I actually use a linux kernel version 2.6.39 on a debian testing. I compile a personalized kernel from the sources packaged by debian.
The problem seems don't happen with the prebuild kernel (I have tried the package linux-image-2.6.39-2-686-pae) but I'm not sure, simply for now, with this, the machine was started without problem
I never had problems with kernel 2.6.38 using a very similar .config file
The radeon card is a HD6670 PCI Express (chip TURKS)
See here http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631567 for other details
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 38675] Recompiled kernel crash on KMS loading
https://bugs.freedesktop.org/show_bug.cgi?id=38675
--- Comment #1 from Alex Deucher <[email protected]> 2011-06-25 12:30:52 PDT --- This might be a duplicate of bug 38583. Relevant patches:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a377e187df725fe7e62d2cec59ec290c5a605d93
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ee4017f4ac8163737793cc64df535cd246792887
If they don't help, can you bisect?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 38675] Recompiled kernel crash on KMS loading
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38675
--- Comment #2 from [email protected] 2011-06-25 16:05:20 PDT --- I tried to apply the patch and it did not work, the system freezes with a kernel panic. It seems correct because if a precompiled kernel (hence not patched) works and my custom kernel works (sometimes) could not be this the problem.
What do you mean with "bisect" ?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 38675] Recompiled kernel crash on KMS loading
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38675
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |NOTABUG--- Comment #3 from [email protected] 2011-06-27 05:23:46 PDT --- Problem solved
My config have many years, each time "make menuconfig" add the new options but in the original configuration I have exagerated with the hardening :)
I have analysed, compared and merged the config of a custom kernel on my old laptop (wich is full amd) and this .config. Now the kernel boot and KMS is loaded without problem
I have attached a new archive with old and new confing files (configOldAndNewForDiff.tar.gz). The answer is in the diff
If you consider interesting the detailed analisys of the problem I can try to test more combination between this two configuration to find what is requested by KMS for work without problem
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 38675] Recompiled kernel crash on KMS loading
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38675
--- Comment #4 from [email protected] 2011-06-27 05:24:28 PDT --- Created an attachment (id=48463)
--> (https://bugs.freedesktop.org/attachment.cgi?id=48463)
old and new config file of my custom kernel
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 38675] Recompiled kernel crash on KMS loading
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38675
--- Comment #5 from Ben Hutchings <[email protected]> 2011-07-15 14:32:10 PDT --- Although the 'crash' configuration is not very sensible, any valid configuration should not result in a crash so long as the hardware requirements are met. Comparing the 'ok' and 'crash' configurations, I think the important difference is probably:
-CONFIG_VIDEO_OUTPUT_CONTROL=y
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.