How to compile my own kernel?
Peter Grehan
grehan at freebsd.org
Sun Nov 6 19:16:02 PST 2005
Hi Andreas,
> today i sucessfully installed the new fbsd 7 on my powermac g4. It was
> very easy to install and even boots after installing.
Good to hear :)
> So i tried to use the new freebsd isdn drivers
> (http://lists.freebsd.org/pipermail/freebsd-isdn/2005-August/000420.html)
> , i only added a few things in the configuration,
> (http://home.c2i.net/hselasky/isdn4bsd/privat/temporary/155/Makefile
> search for help) everything worked except options IPR_VJ, so i deleted
> it. Then everything compiled fine, but the kernel doesnt even boot. I
> get KDB: debugger backend: ddb
> KDB: current backend: ddb
> and nothing else.
> Is there any chance to get isdn working on bsd? Isdn on netbsd doesnt
> even compile, it seems not to work with ppc.
That's quite possible. It may be endian-related.
> How can i boot my old kernel? And how can i get the new kernel booting?
First test is to break into the loader and 'boot -v' - that may give
more of an idea as to where things are going wrong with the ISDN code.
In theory, the way to boot the old kernel is to break into the loader,
unload the selected kernel, manually load a different one and boot i.e.
ok unload kernel
ok load kernel.orig
ok boot
There have been a few problems reported doing this, so the
slightly-complicated workaround is to give the loader a non-existent
partition or device:
OK > boot hd:loader hd:29
.... (various error messages)
ok set currdev hd:xx (where xx is the real partitions)
ok load kernel.orig
ok boot
later,
Peter.
More information about the freebsd-ppc
mailing list