From: Jules Villard <jvillard@ens-lyon.fr>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linus Torvalds <torvalds@osdl.org>,
linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
Dave Airlie <airlied@linux.ie>
Subject: Re: Suspend to {mem,disk} broken in 2.6.15-rc6/rc7 on my T42
Date: Tue, 27 Dec 2005 13:55:04 +0100 [thread overview]
Message-ID: <20051227125504.GA11838@blatterie> (raw)
In-Reply-To: <1135646828.4780.10.camel@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 1727 bytes --]
Le mar, 27 déc 2005 12:27:08 +1100, Benjamin Herrenschmidt a écrit :
>
> > > Also, does it work if you don't use radeonfb ? radeonfb shouldn't touch
> > > MC_AGP_LOCATION and the DRM change only affects that, so I'm a bit
> > > surprised.
> > >
> > > Ben.
> > >
> >
> > Do you still want me to try that now that reverting the two patches
> > made the job?
>
> Definitely, and we need to figure out why the patch cause a regression.
> Those patches fixes a serious issues with a number of machines.
Removing radeonfb from the kernel only makes things worse: the box
gets completly frozen when reproducing the bug (no more ssh access nor
sysrq).
>
> The problem is very nasty as all the various parties involved (radeonfb,
> X radeon driver, radeon DRM, etc...) all try to reconfigure the card
> memory map in differently bogus ways...
>
> Can you add printk's to the kernel to check the values in
> CONFIG_MEMSIZE, CONFIG_APER_SIZE, priv->fb_location and the values
> calculated for gart_vm_start ? Then tell me what that printk gets on X
> start and when switching consoles.
I get these figures when I first start X:
[ 104.399101] ### fb_location is now e0000000
[ 104.399104] ### mem_size is 2000000
[ 104.399107] ### aper_size is 4000000
[ 104.399109] ### gart_vm_start is e2000000
The sad thing is that it looks like the crash occurs *before* entering
the radeon_do_init_cp function, assuming it should enter it again when
I switch back from a tty to X (I've put some printk's at the
beginning of the function but didn't see them in dmesg although other
things showed up), so I don't know where to put the printk's in order
to get other figures...
Thanks,
Jules
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-12-27 12:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-26 19:45 Suspend to {mem,disk} broken in 2.6.15-rc6/rc7 on my T42 Jules Villard
[not found] ` <Pine.LNX.4.64.0512261201360.14098@g5.osdl.org>
2005-12-26 21:23 ` Jules Villard
2005-12-27 2:58 ` Marc Koschewski
2005-12-27 3:02 ` Marc Koschewski
2005-12-26 23:55 ` Linus Torvalds
2005-12-27 0:00 ` Benjamin Herrenschmidt
2005-12-27 1:20 ` Jules Villard
2005-12-27 1:27 ` Benjamin Herrenschmidt
2005-12-27 12:55 ` Jules Villard [this message]
2005-12-27 23:26 ` Benjamin Herrenschmidt
2005-12-28 6:16 ` Benjamin Herrenschmidt
2005-12-28 21:49 ` Linus Torvalds
2005-12-28 23:14 ` Benjamin Herrenschmidt
2005-12-27 1:19 ` Jules Villard
2005-12-27 1:27 ` Benjamin Herrenschmidt
2005-12-27 1:49 ` Benjamin Herrenschmidt
2005-12-27 12:14 ` Jules Villard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051227125504.GA11838@blatterie \
--to=jvillard@ens-lyon.fr \
--cc=airlied@linux.ie \
--cc=akpm@osdl.org \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox