RE: BDI kernel debug

2 messages, 2 authors, 2004-07-08 · open the first message on its own page

RE: BDI kernel debug

From: Fahd Abidi <hidden>
Date: 2004-07-07 13:07:35

Ok,

Then check /linuxroot/arch/ppc/kernel/head.S, do a search for
CONFIG_BDI_SWITCH. Make sure the option is valid and that the pgtables do
indeed get updated. If the switch is valid then probably something else is
wrong.

Check to make sure that the PGTABLE base is at 0x000000f0 and that is what
you have set it to in your BDI config file. The BDI config file has to match
what you have in head.S.

You can also manually update the Page Tables by entering the address of
swapper_pg_dir into the location 0x000000f8. Do this update from the BDI
right before the instruction that causes the SIGSTOP. This should resolve
the problem.

Fahd

-----Original Message-----
From: Marco Schramel [mailto:Schramel.Linux@go.bartec.de]
Sent: Wednesday, July 07, 2004 6:53 AM
Subject: Re: BDI kernel debug

thank you for your answer
Please look online at the Ultimate Solutions website, I documented
this issue a little while ago, http://www.ultsol.com/faq-P305.htm.
Wolfgang made the right suggestion, using BDI_CONFIG_SWITCH will cure
this problem.
But my kernel has this option.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: BDI kernel debug

From: Marco Schramel <hidden>
Date: 2004-07-08 14:03:16

Fahd,

thanks for the help

Then check /linuxroot/arch/ppc/kernel/head.S, do a search for
CONFIG_BDI_SWITCH. Make sure the option is valid and that the pgtables do
indeed get updated. If the switch is valid then probably something else is
wrong.

Check to make sure that the PGTABLE base is at 0x000000f0 and that is what
you have set it to in your BDI config file. The BDI config file has to
match what you have in head.S.
Adding PTBASE 0x000000f0 to the  [TARGET] section in the bdi config file works very well.

Thanks
Marco




---------
Marco Schramel
R&D
Bartec GmbH
Schulstr. 30
94239 Gotteszell, Germany
www.bartec.de
Marco.Schramel@go.bartec.de
Phone:  +49 (0)9929/301332
Fax:    +49 (0)9929/301112


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help