LEAF vkernel support update 13-May-2008

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Wed May 14 16:12:05 PDT 2008


Aggelos Economopoulos wrote:
On Wednesday 14 May 2008, Matthew Dillon wrote:
[...]
    In the mean time, if you want to mess around with the vkernel
    support there are two scripts in /usr/local/bin on leaf that will
    get you started, called 'initvkernel' and 'runvkernel'.
Great, used it to reproduce a bug I'm hitting on my box. Just run initvkernel,
and then (pasting from my scrollback buffer)
leaf:/home/aggelos> gdb ~/build/vkernel/kernel
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-dragonfly"...
(gdb) b sbflush
Breakpoint 1 at 0x80e5723: file /usr/src/sys/kern/uipc_sockbuf.c, line 442.
(gdb) handle SIGSEGV noprint
Signal        Stop      Print   Pass to program Description
SIGSEGV       No        No      Yes             Segmentation fault
(gdb) handle SIGUSR1 noprint
try using

handle SIGxxx noprint pass

cheers
  simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \





More information about the Kernel mailing list