Bug in radeonfb (2.6.0)?

From: Martin Bergeron (mberg24_at_hotmail.com)
Date: 12/31/03

  • Next message: Rusty Russell: "[PATCH 1/2] kthread_create"
    To: linux-kernel@vger.kernel.org
    Date:	Wed, 31 Dec 2003 04:09:34 +0000
    
    

    Hi,

    I just upgraded from kernel 2.6.0-test10 to 2.6.0 without changing anything
    to my existing configuration (make oldconfig, etc.). After rebooting, the
    console was completely unreadable, with garbage all over the screen. It was
    working correctly in 1024x768 before and X still worked correctly.

    Here some infos:

    I have a Mobility Radeon M7 on a Clevo 5600 laptop running Slackware 9.1.

    Here is the output of lspci for my AGP card:

    01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7
    LW [Radeon Mobility 7500] (prog-if 00 [VGA])
            Subsystem: CLEVO/KAPOK Computer: Unknown device 5600
            Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping+ SERR+ FastB2B+
            Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
    <TAbort- <MAbort- >SERR- <PERR-
            Latency: 66 (2000ns min), cache line size 08
            Interrupt: pin A routed to IRQ 11
            Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
            Region 1: I/O ports at 3000 [size=256]
            Region 2: Memory at e8100000 (32-bit, non-prefetchable) [size=64K]
            Expansion ROM at <unassigned> [disabled] [size=128K]
            Capabilities: [58] AGP version 2.0
                    Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64-
    HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
                    Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW-
    Rate=x1
            Capabilities: [50] Power Management version 2
                    Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
    PME(D0-,D1-,D2-,D3hot-,D3cold-)
                    Status: D0 PME-Enable- DSel=0 DScale=0 PME-

    Here is a diff of drivers/video/radeonfb.c between 2.6.0-test10 and 2.6.0

    # diff linux-2.6.0-test10/drivers/video/radeonfb.c
    linux-2.6.0/drivers/video/radeonfb.c
    2093,2094c2093
    < /* info->fix.line_length = rinfo->pitch*64; */
    < info->fix.line_length = mode->xres_virtual*(mode->bits_per_pixel/8);

    ---
    >         info->fix.line_length = rinfo->pitch*64;
    -----------------------
    I replaced the new radeonfb.c with the old from 2.6.0-test10 and my problem 
    was solved.
    Is this new 'feature' of radeonfb was supposed to solve anything?  It sure 
    have ain't for me.
    Am I the only one who had experienced this kind of behavior?
    Thanks
    _________________________________________________________________
    Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
    http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Rusty Russell: "[PATCH 1/2] kthread_create"

    Relevant Pages

    • Re: [PATCH] fixing sendfile on 64bit architectures
      ... Christoph> don't carry the old garbage around by default. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: the umount() saga for regular linux desktop users
      ... Don't know about vfat, which is how I mount a floppy, but I just put ... Copyright 2004 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: AGP bogosities
      ... is a difference between whats output to the screen during bootup (set ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Problem with 2.6.11-bk[3456]
      ... graphics card is an AGP ATI Radeon 9200SE using the kernel AGP/DRM ... drivers and the Xorg radeon driver. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: Post-halloween doc updates.
      ... Added a note mentioning that. ... the filesystem changes section ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)