linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Early pl011 console for debugging KVM for ARM port
@ 2009-12-17  1:25 Christoffer Dall
  2009-12-17  4:02 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Christoffer Dall @ 2009-12-17  1:25 UTC (permalink / raw)
  To: linux-arm-kernel

Hi everyone.

I am working on a port of KVM for arm (http://android.chazy.dk) and I
am somewhat stuck. I encounter a crash somewhere in do_initcalls(),
but I do not have console at this point, as my only console is the
pl011 uart device. Not having the console makes it quite hard to track
down the bugs (an effort I do by placing asm("swi 0xMAGIC") at various
locations) for now.

Does anyone know how to enable such a console earlier? I tried simply
calling pl011_init() before the initcalls loop, but I eventually hit a
NULL pointer exception inside
list_add_tail(&kobj->entry,&kobj->kset->list); called from
kobject_add(...) in lib/kobject.c. I can gather it's the
kobj->kset->list.prev, which is NULL.

As far as I understand, these structures should have been initialized
at this point. Can anyone confirm?

Any help is greatly appreciated!


Thanks,
Christoffer Dall

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-20  6:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17  1:25 Early pl011 console for debugging KVM for ARM port Christoffer Dall
2009-12-17  4:02 ` Baruch Siach
2009-12-20  6:00   ` Christoffer Dall

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).