This is an old revision of the document!


Kernel netdump project

SVN branch: projects/sv URL: http://wiki.freebsd.org/projects/netdump (e.g.)

Contact: Attilio Rao <attilio@freebsd.org> Contact: Ed Maste <emaste@freebsd.org>

Netdump provides kernel core dumping over the network, instead of to a local disk. It implements a very minimal TCP/IPv4 stack and uses a custom UDP protocol to transmit the dump to the netdump server running on another host.

Netdump should find use in diskless workstation clusters, PXE-booted test machines, and perhaps when doing disk driver development.

For example:

# sysctl net.dump.server=10.135.14.118                                          
net.dump.server: 0.0.0.0 -> 10.135.14.118                                       
# sysctl net.dump.client=10.135.12.114                                          
net.dump.client: 0.0.0.0 -> 10.135.12.114                                       
# sysctl net.dump.gateway=10.135.12.113                                         
net.dump.gateway: 0.0.0.0 -> 10.135.12.113                                      
# sysctl net.dump.nic=em2                                                       
net.dump.nic: none -> em2                                                       
# sysctl net.dump.enable=1                                                      
net.dump.enable: 0 -> 1                                                         
  • Use tftp as the transfer protocol, so that a custom server is not required
  • Import the uIP stack from Contiki to replace Netdump's own UDP+IP+ARP stack
  • Implement network console and gdb backend using a shared debug context stack
  • netdump.1287242187.txt.gz
  • Last modified: 2010/10/16 15:16
  • by EdMaste