Re: How the experts do it? (kernel dev)

From: Brian Fundakowski Feldman (green_at_FreeBSD.org)
Date: 04/06/05

  • Next message: Frank Behrens: "Re: My experience with cpufreq in -STABLE"
    Date: Tue, 5 Apr 2005 18:03:01 -0400
    To: klowd9 - <klowd92@hotmail.com>
    
    

    On Sun, Apr 03, 2005 at 07:37:22AM +0000, klowd9 - wrote:
    > I would like to setup a virtual machine for developing and debugging the
    > kernel, perhaps with the possibility of debugging from the host os to the
    > guest system.
    > Which software would best suite this: vmware, bochs, qemu ?
    > Keep in mind my host os will be FreeBSD 5.4. So whatever runs best on that.
    >
    > Also, How would i setup the system, so at boot i could choose between two
    > kernels?
    > One would be my Safe working kernel. And one would be constantly modifed
    > and recompiled.
    > Then i could easily switch between the two at boot time.
    > Is there any easier way to test if a kernel works, other then running the
    > whole boot process on a system?
    >
    > Could i do my kernel testing on a virtual macined minibsd, or is that a
    > different type of kernel and will not be valid in relation to freebsd?
    >
    > If you use a better or more efficient method for testing new kernel code,
    > please write it here also.

    I have a fair bit of experience using FreeBSD as a host and a guest
    within VMWare and was pretty happy with it. The methodology you describe
    is pretty standard fare, unless you're developing code as a kernel
    module, and manage to keep out bugs that would cause instability during
    the development process... that can definitely cut down development
    time.

    -- 
    Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
      <> green@FreeBSD.org                               \  The Power to Serve! \
     Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Frank Behrens: "Re: My experience with cpufreq in -STABLE"

    Relevant Pages

    • Re: Unable to boot linux kernel 2.4 for imx21ads through NFS
      ... The host is fedora core 5. ... In kernel configuration, we have selected target image as "NFS ... # Package selection ...
      (comp.os.linux.embedded)
    • Re: How to enable KITL for CEPC..
      ... Indeed the host pc installed a norton antivirus..,, well, I also try to ... KeyIndex 0 = -1 ... The Kernel Debugger has been disconnected successfully. ...
      (microsoft.public.windowsce.platbuilder)
    • Promise SATA300 TX4: errors, oops in ext3 code
      ... Heavy load causes errors and triggers oops. ... Problems were first encountered on kernel 2.6.19, both i686 and amd64. ... Oops was encountered while rsyncing data from disks on separate controller and simultaneously rebuilding GCC. ... Sep 30 17:26:52 host ata3: soft resetting port ...
      (Linux-Kernel)
    • Re: [uml-user] Harddisk Shutdown while UML Guest Shutdown
      ... But my host kernel is a 2.6.7 with the skas patch. ... freezes after exit of the guest kernel. ... I can login and work with the guest system. ...
      (Linux-Kernel)
    • Re: more random device badness in 2.6.18 :(
      ... Because whether the provided data is "random enough" is a policy ... and policy does not belong in the kernel. ... that it is more useful to have a stock kernel have proper hardware ... entropy gathering then the host system they run on. ...
      (Linux-Kernel)

  • Quantcast