linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.11-rc3-bk9 hangs hard my laptop
@ 2005-02-12 14:49 Alessandro Suardi
  2005-02-12 15:59 ` Alessandro Suardi
  0 siblings, 1 reply; 8+ messages in thread
From: Alessandro Suardi @ 2005-02-12 14:49 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Dell Latitude C640, PIV @1.8Ghz, 1GB RAM, uptodate FC2

-bk7 (which I currently rebooted in) is okay.
-bk9 at first try got me to the login prompt, logged in, ran startx...
 frozen with the black background before seeing anything.

Second try hung well before, at the point where it switches the
 radeonfb on.

Only cure is to keep the power button pressed for 10".

Will try building -bk8 (which is currently running on my
 old desktop K7-800) and report...

--alessandro

  "There is no distance that I don't see
  I do have a will - No limit to my reach"
  
    (Wallflowers, "Empire In My Mind")

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.11-rc3-bk9 hangs hard my laptop
  2005-02-12 14:49 2.6.11-rc3-bk9 hangs hard my laptop Alessandro Suardi
@ 2005-02-12 15:59 ` Alessandro Suardi
  2005-02-12 21:57   ` 2.6.11-rc3-bk9 (radeon) " Alessandro Suardi
  0 siblings, 1 reply; 8+ messages in thread
From: Alessandro Suardi @ 2005-02-12 15:59 UTC (permalink / raw)
  To: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

On Sat, 12 Feb 2005 15:49:05 +0100, Alessandro Suardi
<alessandro.suardi@gmail.com> wrote:
> Dell Latitude C640, PIV @1.8Ghz, 1GB RAM, uptodate FC2
> 
> -bk7 (which I currently rebooted in) is okay.
> -bk9 at first try got me to the login prompt, logged in, ran startx...
>  frozen with the black background before seeing anything.
> 
> Second try hung well before, at the point where it switches the
>  radeonfb on.
> 
> Only cure is to keep the power button pressed for 10".
> 
> Will try building -bk8 (which is currently running on my
>  old desktop K7-800) and report...

-bk8 which I'm now booted in is also OK, so something
 broke between -bk8 and -bk9... attached .config and
 /var/log/messages from the boot in -bk8 and the one
 in -bk9 which succeeded before hanging on startx.

Thanks in advance,

--alessandro

  "There is no distance that I don't see
  I do have a will - No limit to my reach"
  
    (Wallflowers, "Empire In My Mind")

[-- Attachment #2: config-2611rc3bk9.gz --]
[-- Type: application/x-gzip, Size: 8122 bytes --]

[-- Attachment #3: messages-2611rc3bk8.gz --]
[-- Type: application/x-gzip, Size: 7001 bytes --]

[-- Attachment #4: messages-2611rc3bk9.gz --]
[-- Type: application/x-gzip, Size: 6949 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.11-rc3-bk9 (radeon) hangs hard my laptop
  2005-02-12 15:59 ` Alessandro Suardi
@ 2005-02-12 21:57   ` Alessandro Suardi
  2005-02-13 10:52     ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 8+ messages in thread
From: Alessandro Suardi @ 2005-02-12 21:57 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: benh

On Sat, 12 Feb 2005 16:59:20 +0100, Alessandro Suardi
<alessandro.suardi@gmail.com> wrote:
> On Sat, 12 Feb 2005 15:49:05 +0100, Alessandro Suardi
> <alessandro.suardi@gmail.com> wrote:
> > Dell Latitude C640, PIV @1.8Ghz, 1GB RAM, uptodate FC2
> >
> > -bk7 (which I currently rebooted in) is okay.
> > -bk9 at first try got me to the login prompt, logged in, ran startx...
> >  frozen with the black background before seeing anything.
> >
> > Second try hung well before, at the point where it switches the
> >  radeonfb on.
> >
> > Only cure is to keep the power button pressed for 10".
> >
> > Will try building -bk8 (which is currently running on my
> >  old desktop K7-800) and report...
> 
> -bk8 which I'm now booted in is also OK, so something
>  broke between -bk8 and -bk9... attached .config and
>  /var/log/messages from the boot in -bk8 and the one
>  in -bk9 which succeeded before hanging on startx.

It's definitely the new radeon changes - replacing
 drivers/video/aty/* and include/video/radeon.h in the
 -bk9 tree with the ones from -bk8 causes the hang to
 not reproduce anymore. CC'd Ben and edited subject
 to more accurately reflect the issue.

Thanks,

--alessandro

  "There is no distance that I don't see
  I do have a will - No limit to my reach"
  
    (Wallflowers, "Empire In My Mind")

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.11-rc3-bk9 (radeon) hangs hard my laptop
  2005-02-13 10:52     ` Benjamin Herrenschmidt
@ 2005-02-13  0:09       ` Alessandro Suardi
  2005-02-13 11:12         ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 8+ messages in thread
From: Alessandro Suardi @ 2005-02-13  0:09 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Linux Kernel Mailing List

On Sun, 13 Feb 2005 21:52:55 +1100, Benjamin Herrenschmidt
<benh@kernel.crashing.org> wrote:
> 
> > It's definitely the new radeon changes - replacing
> >  drivers/video/aty/* and include/video/radeon.h in the
> >  -bk9 tree with the ones from -bk8 causes the hang to
> >  not reproduce anymore. CC'd Ben and edited subject
> >  to more accurately reflect the issue.
> 
> Grrr...
> 
> Can you try booting with radeonfb.default_dynclk=-1 and if it doesn't
> help, radeonfb.default_dynclk=0 on the kernel command line ?

I'm currently booted with -bk9 with default_dynclk = -1 :)

> Also, what is the exact revision of the chip ? (send me an lspci -vv
> dump).

Here you go:

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon
Mobility M7 LW [Radeon Mobility 7500] (prog-if 00 [VGA])
        Subsystem: Dell Computer Corporation Latitude C640
        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: 32 (2000ns min), Cache Line Size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at e0000000 (32-bit, prefetchable)
        Region 1: I/O ports at c000 [size=256]
        Region 2: Memory at fcff0000 (32-bit, non-prefetchable) [size=64K]
        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-

> Finally, what X version are you using ?

Latest FC2 RPM - xorg-x11-6.7.0-11.

--alessandro

  "There is no distance that I don't see
  I do have a will - No limit to my reach"
  
    (Wallflowers, "Empire In My Mind")

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.11-rc3-bk9 (radeon) hangs hard my laptop
  2005-02-13 11:12         ` Benjamin Herrenschmidt
@ 2005-02-13  1:05           ` Alessandro Suardi
  2005-02-13 12:26             ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 8+ messages in thread
From: Alessandro Suardi @ 2005-02-13  1:05 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Linux Kernel Mailing List

On Sun, 13 Feb 2005 22:12:26 +1100, Benjamin Herrenschmidt
<benh@kernel.crashing.org> wrote:
> On Sun, 2005-02-13 at 01:09 +0100, Alessandro Suardi wrote:
> > On Sun, 13 Feb 2005 21:52:55 +1100, Benjamin Herrenschmidt
> > <benh@kernel.crashing.org> wrote:
> > >
> > > > It's definitely the new radeon changes - replacing
> > > >  drivers/video/aty/* and include/video/radeon.h in the
> > > >  -bk9 tree with the ones from -bk8 causes the hang to
> > > >  not reproduce anymore. CC'd Ben and edited subject
> > > >  to more accurately reflect the issue.
> > >
> > > Grrr...
> > >
> > > Can you try booting with radeonfb.default_dynclk=-1 and if it doesn't
> > > help, radeonfb.default_dynclk=0 on the kernel command line ?
> >
> > I'm currently booted with -bk9 with default_dynclk = -1 :)
> 
> Excellent. You can help me track it down then. Can you look at
> radeon_pm.c, function
> 
> radeon_pm_enable_dynamic_mode()
> 
> The code for your chip is after the comment "/* Others */" (the M7 is an
> RV200 chip). Can you comment out the various bits in there and see if
> you can locate which one is causing your problem ?

Commenting out pllCLK_PWRMGT_CNTL alone -> still hangs
Commenting out pllCLK_PIN_CNTL in addition -> works
 
Do you want me to build a kernel with only the pllCLK_PIN_CNTL
 instruction commented out or is this enough info ?

Thanks,

--alessandro

  "There is no distance that I don't see
  I do have a will - No limit to my reach"
  
    (Wallflowers, "Empire In My Mind")

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.11-rc3-bk9 (radeon) hangs hard my laptop
  2005-02-12 21:57   ` 2.6.11-rc3-bk9 (radeon) " Alessandro Suardi
@ 2005-02-13 10:52     ` Benjamin Herrenschmidt
  2005-02-13  0:09       ` Alessandro Suardi
  0 siblings, 1 reply; 8+ messages in thread
From: Benjamin Herrenschmidt @ 2005-02-13 10:52 UTC (permalink / raw)
  To: Alessandro Suardi; +Cc: Linux Kernel Mailing List


> It's definitely the new radeon changes - replacing
>  drivers/video/aty/* and include/video/radeon.h in the
>  -bk9 tree with the ones from -bk8 causes the hang to
>  not reproduce anymore. CC'd Ben and edited subject
>  to more accurately reflect the issue.

Grrr... 

Can you try booting with radeonfb.default_dynclk=-1 and if it doesn't
help, radeonfb.default_dynclk=0 on the kernel command line ?

Also, what is the exact revision of the chip ? (send me an lspci -vv
dump).

Finally, what X version are you using ?

Ben.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.11-rc3-bk9 (radeon) hangs hard my laptop
  2005-02-13  0:09       ` Alessandro Suardi
@ 2005-02-13 11:12         ` Benjamin Herrenschmidt
  2005-02-13  1:05           ` Alessandro Suardi
  0 siblings, 1 reply; 8+ messages in thread
From: Benjamin Herrenschmidt @ 2005-02-13 11:12 UTC (permalink / raw)
  To: Alessandro Suardi; +Cc: Linux Kernel Mailing List

On Sun, 2005-02-13 at 01:09 +0100, Alessandro Suardi wrote:
> On Sun, 13 Feb 2005 21:52:55 +1100, Benjamin Herrenschmidt
> <benh@kernel.crashing.org> wrote:
> > 
> > > It's definitely the new radeon changes - replacing
> > >  drivers/video/aty/* and include/video/radeon.h in the
> > >  -bk9 tree with the ones from -bk8 causes the hang to
> > >  not reproduce anymore. CC'd Ben and edited subject
> > >  to more accurately reflect the issue.
> > 
> > Grrr...
> > 
> > Can you try booting with radeonfb.default_dynclk=-1 and if it doesn't
> > help, radeonfb.default_dynclk=0 on the kernel command line ?
> 
> I'm currently booted with -bk9 with default_dynclk = -1 :)

Excellent. You can help me track it down then. Can you look at
radeon_pm.c, function

radeon_pm_enable_dynamic_mode()

The code for your chip is after the comment "/* Others */" (the M7 is an
RV200 chip). Can you comment out the various bits in there and see if
you can locate which one is causing your problem ?

Thanks in advance !

Ben.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.11-rc3-bk9 (radeon) hangs hard my laptop
  2005-02-13  1:05           ` Alessandro Suardi
@ 2005-02-13 12:26             ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 8+ messages in thread
From: Benjamin Herrenschmidt @ 2005-02-13 12:26 UTC (permalink / raw)
  To: Alessandro Suardi; +Cc: Linux Kernel Mailing List

On Sun, 2005-02-13 at 02:05 +0100, Alessandro Suardi wrote:

> Commenting out pllCLK_PWRMGT_CNTL alone -> still hangs
> Commenting out pllCLK_PIN_CNTL in addition -> works
>  
> Do you want me to build a kernel with only the pllCLK_PIN_CNTL
>  instruction commented out or is this enough info ?

You mean you commented out the OUTPLL call ? Ok, what if
you only change pllCLK_PIN_CNTL? Also, try not changing it, but
commenting out some other bits ? (I'm especially the bits that touch
SCLK_CNTL). Sorry for all those tests, but I need to point more
precisely where the problem comes from...

Ben.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-02-13  1:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-12 14:49 2.6.11-rc3-bk9 hangs hard my laptop Alessandro Suardi
2005-02-12 15:59 ` Alessandro Suardi
2005-02-12 21:57   ` 2.6.11-rc3-bk9 (radeon) " Alessandro Suardi
2005-02-13 10:52     ` Benjamin Herrenschmidt
2005-02-13  0:09       ` Alessandro Suardi
2005-02-13 11:12         ` Benjamin Herrenschmidt
2005-02-13  1:05           ` Alessandro Suardi
2005-02-13 12:26             ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).