From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Brice Figureau <brice@tincell.com>
Cc: "Linuxppc-Dev@Lists. " "Linuxppc. Org"
<linuxppc-dev@lists.linuxppc.org>
Subject: Re: ibook2r2 & strange freeze.
Date: 26 Apr 2003 22:35:14 +0200 [thread overview]
Message-ID: <1051389314.1829.37.camel@gaston> (raw)
In-Reply-To: <CCF033C0-7824-11D7-9243-0003939D5F18@tincell.com>
On Sat, 2003-04-26 at 22:22, Brice Figureau wrote:
> On Saturday, April 26, 2003, at 12:33 PM, Benjamin Herrenschmidt wrote:
> >
> >> After several hours of kernel compiling (my ibook is not that fast
> >> ;-)), I found that the latest working patch is -ben8.
> >> The first non working is then -ben9.
> >
> > Great, many thanks. That will help.
> >
> > Can you try now to put drivers/video/radeonfb.c from -ben8 into
> > -ben9 (and then -ben10 if it works) and tell me if that helps ?
> Here is the results:
> -ben9 with -ben8 radeon crashes exactly at the same place
> -ben10 with -ben8 radeon crashes exacctly like -ben9
That's weird since you say using no video driver (that is offb) seems
to cure the problem and the backtrace tend to show an fbcon problem,
but there is nothing different in the fbcon layer afaik.
So there is probably some memory corruption going on... I'm comparing
other bits of ben8 and ben9 now and see nothing relevants. The changes
where in the cache flush affecting cpufreq and sleep, and radeonfb...
> Just to remind you:
> -ben9 crashes always at the same place (and triggers xmon, have a look
> at the backtrace)
> -ben10 freezes randomly, usually in the boot process. It freezes often
> right after the font uploading to the console layer, but sometimes
> farther (I once could go until the network started). When it freezes
> the last line at the bottom of the screen is printed *twice* (which
> might confirm the -ben9 backtrace).
>
> All the tested kernels were configured with CONFIG_PPC_RTC enabled (and
> CONFIG_RTC disabled), and CONFIG_CPU_FREQ disabled too.
>
> noaccel parameters didn't seem to change anything. I might have to
> check again.
Just in case, the proper syntax in yaboot.conf is:
append="video=radeon:noaccel"
The backtrace seem to indicate something wrong with fbcon_scroll, though
I fail to see what/why, I suspect something else is causing it to die.
With xmon, can you do:
di %pc
and then
r
So I can have a better idea of what it's doing. It's probably using
a pointer that got overwritten, but the actual cause of the corruption
can be completely elsewhere in the kernel. It may also be present in
earlier kernels and happen to corrupt some other harmless bit of memory
in them... Unfortunately, this one may be difficult to track down.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-04-26 20:35 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-25 15:27 ibook2r2 & strange freeze Brice Figureau
2003-04-25 17:43 ` Benjamin Herrenschmidt
2003-04-25 17:50 ` Benjamin Herrenschmidt
2003-04-25 20:05 ` Brice Figureau
2003-04-25 23:00 ` Brice Figureau
2003-04-26 10:33 ` Benjamin Herrenschmidt
2003-04-26 20:22 ` Brice Figureau
2003-04-26 20:35 ` Benjamin Herrenschmidt [this message]
2003-04-26 20:51 ` Brice Figureau
2003-04-26 21:01 ` Benjamin Herrenschmidt
2003-04-26 22:08 ` Brice Figureau
2003-04-26 22:13 ` Benjamin Herrenschmidt
2003-04-26 22:32 ` Brice Figureau
2003-04-26 22:40 ` Benjamin Herrenschmidt
2003-04-26 22:51 ` Brice Figureau
2003-04-26 23:14 ` Benjamin Herrenschmidt
2003-04-27 12:39 ` Brice Figureau
2003-04-25 20:12 ` Remco Treffkorn
2003-04-25 22:55 ` Brice Figureau
2003-04-26 7:08 ` Mich Lanners
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=1051389314.1829.37.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=brice@tincell.com \
--cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).