Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

readeon KMS and spam in logs [self-solved]

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
djinnZ
Advocate
Advocate
User avatar
Posts: 4831
Joined: Thu Nov 02, 2006 12:47 pm
Location: somewhere in L.O.S.
Contact:
Contact djinnZ
Website

readeon KMS and spam in logs [self-solved]

  • Quote

Post by djinnZ » Mon Apr 04, 2011 12:25 pm

Code: Select all

[drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid (252)
[drm:drm_edid_block_valid] *ERROR* Raw EDID:
<3>00 ff ff ff ff ff ff 00 25 b2 6a 98 00 00 00 00  ........%.j.....
<3>18 09 01 01 0c 24 1b 64 e8 e0 52 a1 54 46 9b 24  .....$.d..R.TF.$
<3>10 48 4f a0 21 00 31 59 45 59 61 59 a9 4f 81 59  .HO.!.1YEYaY.O.Y
<3>71 4f 61 68 01 01 7c 15 80 e0 20 e0 38 10 20 60  qOah..|... .8. `
<3>86 00 68 0e 11 00 00 18 54 3d 00 c0 51 00 30 40  ..h.....T=..Q.0@
<3>40 a0 13 00 68 0e 11 00 80 80 80 80 00 80 80 80  @...h...........
<3>96 80 60 ff 00 0a 80 20 20 20 20 20 00 00 00 00  ..`....     ....
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 13  ................

radeon 0000:05:00.0: VGA-1: EDID block 0 invalid.
[drm:radeon_vga_detect] *ERROR* VGA-1: probed a monitor but no|invalid EDID
or

Code: Select all

[drm:drm_edid_block_valid] *ERROR* Raw EDID:
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
All works fine, the 1024x768 resolution is what i need, forcing with command line is easy (in every case need only one resolution) only i will read something useful with dmesg and not only this spam.

Some one know how to stop the kernel to put this message in logs?

I have only found this but adding drm.edid_force_checksum=1 to the kernel command line take no effect at monitor disconnection (must not be edid_force_checksum=1/0), or there is something other (in order to leave the edids as invalid and only prevent the spam in logs)?

Thanks in advice for any help or suggestion of a patch.

edit: some missing words, sorry

edit: solved with drm_kms_helper.edid_firmware kernel command line parameter. Also posted here in italian howto subforum.
Sorry for so long time to close the post but I have forget it.
Last edited by djinnZ on Mon Oct 29, 2012 7:26 pm, edited 4 times in total.
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Top
Logicien
Veteran
Veteran
User avatar
Posts: 1555
Joined: Fri Sep 16, 2005 8:04 am
Location: Montréal

  • Quote

Post by Logicien » Mon Apr 04, 2011 1:39 pm

The patch you refer to is to allow to not force edid checksum. The default seem's to be to force it. So to change this behavior, you must set

Code: Select all

edid_force_checksum=0
Only work if the patch have been apply to your kernel.
Paul
Top
djinnZ
Advocate
Advocate
User avatar
Posts: 4831
Joined: Thu Nov 02, 2006 12:47 pm
Location: somewhere in L.O.S.
Contact:
Contact djinnZ
Website

  • Quote

Post by djinnZ » Tue Apr 05, 2011 1:00 pm

up.

Some more informations: The monitors are CRT an old (nortek cube 19") or an older HP 17". I use the computer as server (build, video conversion and similar) by remote interface and rarely from its console, often the monitors stands off or are unplugged.
The kernel is 2.6.37-hardened-r7 and the graphic card ATI HD4300.

The patch solve the problem of the edids and i am capable to work at the resolution of 1600x1200 (and the damned xorg will start only at this resolution).

Good, i hope this information can be useful to someone other, but ... I don't need high resolution, when the pc is not started without the monitor strictly connected and powered on, all I need is to force the kernel to use the resolution I need and not have the kernel logs spammed by the drm_edid_block_valid function.

I have no experience in kernel programming and ask simply if someone has more informations or solutions or can help me with the code to ignore the disconnected monitor (and start framebuffer and X at 1024x768, now if I reconnect X has failed the startup) or to not report errors for invalid edid.

[OT]@Logicien: I apologize for the incomplete post (and the bad english of mine) and the misunderstand consequent to it but...
edid_force_checksum=1 wrote:if (edid_force_checksum) {
raw_edid[0x7f] -= csum;
} else {
DRM_ERROR("EDID checksum is invalid (%d)\n", csum);
goto bad;

}
or
edid_force_checksum=0 wrote:if (edid_force_checksum) {
raw_edid[0x7f] -= csum;
} else {
]DRM_ERROR("EDID checksum is invalid (%d)\n", csum);
goto bad;
}
8O :?:
don't worry, of course, everyone can fail to read ... but ... :roll: ... take an appointment ... :roll: .... with an oculist ... can help :lol:

sorry but i was unable to stop myself :twisted: [/OT]

If i will suggest another patch or open a bug where is better to write?
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Top
Post Reply

3 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic