[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Source of kernel boot message, "MBVanillaflash probe..."?



Hi David,

David Banas wrote:
> Hi All,
> 
> Does anyone know which source file is responsible for printing the following
> line during kernel boot?
> 
> MBVanilla flash probe(0xff000000,8388608,4): 800000 at ff000000

linux-2.4.x/drivers/mtd/maps/mbvanilla.c

> I haven't had any luck trying to find it using grep. I tried to find it by
> backtracing in gdb (breakpointing at the function, which is responsible for
> genereating the next line of printout), but I get one of those
> infinitely-recursive stack traces. Incidentally, are there any theories
> floating around regarding the cause of those?

it will be a mismatch between the stack unwind logic built into mb-gdb, 
and the actual stack frame in the kernel.

It may be useful to try placing a breakpoint inside a kernel system call 
routine, then let the board boot, and have some user program execute 
that syscall.  Take a look at the stack, the unwind should terminate 
cleanly at ret_from_syscall.

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/