[1069] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

Re: netbsd-help[1062]

daemon@ATHENA.MIT.EDU (John Hawkinson)
Sun Oct 27 12:39:43 1996

Date: Sun, 27 Oct 1996 12:39:33 -0500
To: jbyler@MIT.EDU
Cc: Eric Mumpower <nocturne@MIT.EDU>, netbsd-help@MIT.EDU
In-Reply-To: "[1067] in netbsd-help mailing list archive"
From: John Hawkinson <jhawk@MIT.EDU>

> > rwhwang just came by the office in hopes that we'd built a kernel for him,
> > per his request in netbsd-help[1062]. (We haven't gotten to it yet.) Is the
>  
> It's pretty easy under NetBSD/Mac68k.  I would assume the procedure is
> almost identical, except that you're in the mach/i386 tree instead of
> the mach/mac68k tree.  The instructions at

Err, not really. I wrote up a set of gdb scripts that you can use to
patch the devices in an existing kernel image. This makes it MUCH
faster and less painful to do a kernel build for someone.

I need to go back digging to find instructions on how to use it (in
our environment), but you could look at
/mit/netbsd/arch/i386_nbsd1/bin/kerntweak -- it is merely:

#!/bin/sh
gdb -nx --write --command=/afs/sipb/project/netbsd/share/kerntweak/kerntweak.gdb "$@"

As far as I know it doesn't do any i386-dependant so you should be able
to use it to change IRQs and port numbers and suchlike under NetBSD/mac68k.

I was away the tail end of last week and I'm currently digging through
the email hole...

--jhawk

home help back first fref pref prev next nref lref last post