Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 296341

Summary: Upgrade from sys-kernel/gentoo-sources-2.6.31-r1 to 2.6.32 results in ^[[25~ over the screen
Product: Gentoo Linux Reporter: Stefan de Konink <stefan>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard: linux-2.6.32
Package list:
Runtime testing required: ---
Attachments: Working kernel config

Description Stefan de Konink 2009-12-09 19:57:14 UTC
Out of the blue, when init starts my screen is filled with ^[[25~ this started when I just upgraded to 2.6.32. When I pull my keyboard after a minute the issue stops.

I'm suspecting something in the multimedia part... trying to debug that.

Reproducible: Didn't try




paludis 0.40.1
Paludis build information:
    Compiler:
        CXX:                   i686-pc-linux-gnu-g++ 4.3.3
        CXXFLAGS:               -O2 -march=pentium4 -pipe -fomit-frame-pointer
        LDFLAGS:               -Wl,-O1
        DATE:                  2009-10-04T18:49:48+0200

    Libraries:
        C++ Library:           GNU libstdc++ 20090124

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      
        RUBYINSTALLDIR:        

System:
    Linux localhost 2.6.31-gentoo-r1 #4 PREEMPT Tue Oct 6 14:33:17 CEST 2009 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux

Reduced Privs:
    reduced_uid:               103
    reduced_uid->name:         paludisbuild
    reduced_uid->dir:          /var/tmp/paludis
    reduced_gid:               1001
    reduced_gid->name:         paludisbuild

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/db/pkg/world

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /

Repository virtuals:
    format:                    virtuals

Repository gentoo:
    format:                    ebuild
    location:                  /usr/portage
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    names_cache:               /usr/portage/.cache/names
    newsdir:                   /usr/portage/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/x86/10.0
    securitydir:               /usr/portage/metadata/glsa
    setsdir:                   /usr/portage/sets
    sync:                      rsync://192.168.1.2/gentoo-portage
    sync_options:              
    use_manifest:              use
    write_cache:               /var/empty
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-12-18 13:29:39 UTC
Please post your kernel config (as well as a unified diff between the old one and the new one, if applicable) and perhaps some more information about the hardware.
Comment 2 Stefan de Konink 2009-12-18 17:38:12 UTC
What I found out that compiling Multimedia inside the kernel triggers this behavior while compiling it as module doesn't. I'll try to the valid config asap.
Comment 3 Wormo (RETIRED) gentoo-dev 2010-01-02 21:46:31 UTC
Don't forget to post those kernel configs...
Comment 4 Stefan de Konink 2010-01-02 22:01:52 UTC
Created attachment 214954 [details]
Working kernel config

Thanks for the reminder!

The only difference between working and non working seems to be the multimedia stuff compiled in the kernel.
Comment 5 Wormo (RETIRED) gentoo-dev 2010-01-03 07:40:55 UTC
Have you narrowed it down to which config option needs to be modular, e.g. V4L2 itself or a specific TV tuner driver?
Comment 6 Stefan de Konink 2010-01-05 12:35:53 UTC
No, after I changed it to module, I was happy that everything worked. If you want, I can do some bisecting on settings. Is there anything I can do so we can all be sure about the correctness of the results. It is a slow PC so I rather not compile the entire tree again.
Comment 7 Wormo (RETIRED) gentoo-dev 2010-01-06 06:34:16 UTC
On thinking it over, we should probably focus on discovering which upstream patch introduced the bug, so this bug can be reported upstream to the kernel bug tracker.

Do you have a faster computer that could be used for doing kernel compiles? Ideally, you would try vanilla kernel 2.6.32 using your "bad" config and make sure the problem is still there, and do a git bisect between 2.6.31 and 2.6.32 using mainline kernel git.

A couple of useful guides, in case you are up for the git bisect:
http://www.kernel.org/doc/local/git-quick.html
http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/
Comment 8 Mike Pagano gentoo-dev 2010-02-04 18:30:33 UTC
Let us know if you have time or feel like working on the bisect.