DragonFly kernel List (threaded) for 2007-01
DragonFly BSD
DragonFly kernel List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: VKernel progress update - 11 Jan 2007


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Sun, 14 Jan 2007 02:14:34 +0900

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



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