From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Nathan Pilatzke <nathanpilatzke@gmail.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: ppc32 kernel boot problem (pmu related?)
Date: Mon, 15 May 2006 11:58:29 +1000 [thread overview]
Message-ID: <1147658309.21291.73.camel@localhost.localdomain> (raw)
In-Reply-To: <98889dd30605120540n214800fbk8899fe9e39e972cf@mail.gmail.com>
> Using PowerMac machine description
> Total memory = 640MB; using 2048kB for hash table (at cfe00000)
> Linux version 2.6.17-rc3 (root@the_emac) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ss
> p-3.4.5-1.0, pie-8.7.9)) #11 Thu May 11 09:53:39 EDT 2006
> Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0x11
> Mapped at 0xfdfc0000
> Found a Keylargo mac-io controller, rev: 3, mapped at 0xfdf40000
> Processor NAP mode on idle enabled.
> PowerMac motherboard: eMac
> setup_arch: bootmem
> Found UniNorth PCI host bridge at 0xf0000000. Firmware bus number: 0->0
> Found UniNorth PCI host bridge at 0xf2000000. Firmware bus number: 0->0
> Found UniNorth PCI host bridge at 0xf4000000. Firmware bus number: 0->0
> via-pmu: Server Mode is disabled
> PMU driver v2 initialized for Core99, firmware: 0c
> arch: exit
> Top of RAM: 0x28000000, Total RAM: 0x28000000
> Memory hole size: 0MB
> Built 1 zonelists
> Kernel command line: root=/dev/sda8 ro video=ofonly root=/dev/sda8 rootdelay=10
> resume=/dev/sda9
> mpic: Setting up MPIC " MPIC 1 " version 1.2 at 80040000, max 4 CPUs
> mpic: ISU size: 64, shift: 6, mask: 3f
> mpic: Initializing for 64 sources
> PID hash table entries: 4096 (order: 12, 16384 bytes)
> time_init: decrementer frequency = 24.913389 MHz
> time_init: processor frequency = 700.000000 MHz
>
> and then the machine freezes and requires a power cycle to restart.
> Without that option enabled I get this:
Hrm... that's pretty much when console_init() gets called, which means
no message until the fbdev kicks in, thus we just "miss" the messages
from there to the crash.... Can you edit arch/powerpc/kernel/udbg.c,
there is a function called disable_early_printk() which contains a #if
1, turn that into #if 0 and tell me if you get a more useful log after
the time_init thing. Thanks !
next prev parent reply other threads:[~2006-05-15 1:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-11 19:07 ppc32 kernel boot problem (pmu related?) Nathan Pilatzke
2006-05-12 3:12 ` Benjamin Herrenschmidt
2006-05-12 12:40 ` Nathan Pilatzke
2006-05-15 1:58 ` Benjamin Herrenschmidt [this message]
2006-05-16 4:06 ` Nathan Pilatzke
2006-05-16 4:43 ` Benjamin Herrenschmidt
2006-05-16 15:04 ` Nathan Pilatzke
2006-05-16 22:07 ` Benjamin Herrenschmidt
2006-05-16 4:44 ` Benjamin Herrenschmidt
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=1147658309.21291.73.camel@localhost.localdomain \
--to=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=nathanpilatzke@gmail.com \
/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).