VKernel progress update - 11 Jan 2007

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Sat Jan 13 09:21:09 PST 2007


On Fri, Jan 12, 2007 at 10:41:44PM -0800, Matthew Dillon wrote:
> 
> :and when I start vkernel on this machine, pressing ctrl+T just worked
> :as expected.  However, if I press ctrl+SPACE(or ctrl+@), vkernel terminated
> :immediately, instead of printing "^@".  Does this key comibnation have
> :special meaning?
> 
>     I'll bet it is due to the way I am setting up the termios in
>     vcons_set_mode() (machine/vkernel/platform/console.c).
>     I guess setting the various cc_cc[] elements to 0 didn't disable them,
>     but changed them to ctrl- at .
>
>     If you want to investigate that and fix it, please go ahead.  I assume
>     it is something simple.

Indeed, I replaced the 0's with _POSIX_VDISABLE (guessed from libc source
and Google) and now vkernel doesn't stop on ^@.
BTW, as for missing rootdev problem, that was PEBKAC; what I typed was
  ./kernel.debug -m 64m rootimg

note the missing "-r" before "rootimg".

Cheers.





More information about the Kernel mailing list