RE: Device Tree Corrupted after unflatten_device_tree()

2009-10-22 Thread Lixin Yao
:11 PM To: Lixin Yao Cc: mich...@ellerman.id.au; linuxppc-dev@lists.ozlabs.org Subject: Re: Device Tree Corrupted after unflatten_device_tree() On Wed, Oct 21, 2009 at 10:43:55AM -0700, Lixin Yao wrote: > When corrupted, curtain blocks of 64 bytes are messed up. > This is a screen dump of

Re: Device Tree Corrupted after unflatten_device_tree()

2009-10-21 Thread David Gibson
On Wed, Oct 21, 2009 at 10:43:55AM -0700, Lixin Yao wrote: > When corrupted, curtain blocks of 64 bytes are messed up. > This is a screen dump of a good unflattened device at beginning: [snip] > When corrupted, it becomes following, note the 64 bock at 0x03ffdf00 > is messed up. And this kind of c

RE: Device Tree Corrupted after unflatten_device_tree()

2009-10-21 Thread Lixin Yao
ode is used many many times and on many many boards. It should work. I am not sure if this causes the problem. Thanks! Lixin -Original Message- From: Michael Ellerman [mailto:mich...@ellerman.id.au] Sent: Tuesday, October 20, 2009 7:02 PM To: Lixin Yao Cc: linuxppc-dev@lists.ozlabs.org Sub

Re: Device Tree Corrupted after unflatten_device_tree()

2009-10-20 Thread Michael Ellerman
On Tue, 2009-10-20 at 09:10 -0700, Lixin Yao wrote: > I use a board with MPC866T and 2.6.28 Linux Kernel. Occasionally, the > unflattened device is corrupted after “unflatten_device_tree()” which > causes crash of kernel when device tree is traversed later on. > > I looked at the fixes in lib/lmb