From: Aivils <ai...@un...> - 2004-05-31 08:22:07
|
On Monday 31 May 2004 10:46, Zoltan Boszormenyi wrote: > Hi, > > this is in vt.c: > > static int __init vt_console_init(void) > { > int err = 0; > > > #if defined (CONFIG_VGA_CONSOLE) > err = vga_console_init(); > #elif defined (CONFIG_DUMMY_CONSOLE) > err = dumbcon_init(); > #endif > return err; > } > > > This should call dumbcon_init() only if CONFIG_VGA_CONSOLE > is not defined and CONFIG_DUMMY_CONSOLE is. I have both, > so dumbcon_init() isn't called. Now what activates it on i386 > so I can fix it on x86_64? It's not a console_initcall() > so the vt_console_init() is very early function and must start only single bootmem_alloc console. Later kernel call vty_init() and add additional consoles, when kmalloc() is ready. dummycon.c uses dumbcon_add() for this case. Special for You dumdum module was created. Please boot in to Your target kernel and try load dumdum module :) cd dumdum make make install modprobe dumdum I You doubt please add some printk. I am so sorry , but dumdum is untested. Aivils Stoss |