9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] a sure easy way to try out kernel stuff
@ 2004-03-01  4:16 ron minnich
  2004-03-01 16:09 ` Dick Davies
  0 siblings, 1 reply; 7+ messages in thread
From: ron minnich @ 2004-03-01  4:16 UTC (permalink / raw)
  To: 9fans


I think I sent this before, but it's so nice I am sending it again.

Scenario: an EPIA with linuxbios and plan 9 in flash. cpu is named cpu50.

You want to muck with the kernel and debug it. Easy.

. bind_test_namespace
cd /sys/src/9/pc
mk 'CONF=whatever'
cpu -h cpu50
echo 'reboot /path/to/9whatever' > /dev/reboot

boom. 9 boots 9. takes 5 seconds. If it blows up, cpu is back in 10
seconds.

Add this to the 20 seconds build time (MAX!) for plan 9, and kernel
hackery is now as easy as normal program hackery -- almost.

Very very nice. Hats off to /dev/reboot.

ron



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-03-01 17:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-01  4:16 [9fans] a sure easy way to try out kernel stuff ron minnich
2004-03-01 16:09 ` Dick Davies
2004-03-01 16:17   ` ron minnich
2004-03-01 16:33     ` andrey mirtchovski
2004-03-01 16:37       ` [9fans] " boyd
2004-03-01 16:39       ` [9fans] " lucio
2004-03-01 17:01       ` Matthias Teege

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).