user-mode-linux-devel

Hi
I'm trying to put code into console_setup to open channels before
they are used by console_write and thus save tty state. console_setup
is called before any ouput is printed to the screen, i.e. early in
the boot up sequence. open_chan_pair calls open_fd or open_tty
depending on chan->type and they in turn call um_kmalloc to
allocate memory for struct termios.
What I found out is that uml hangs after this call to um_kmalloc.
What else can I use to allocate memory early in the boot up besides
kmalloc?
TIA
boria