From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 7 03:16:02 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA7B216A41F for ; Mon, 7 Nov 2005 03:16:02 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from hummer.onthenet.com.au (hummer.OntheNet.com.au [203.13.68.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 484B643D48 for ; Mon, 7 Nov 2005 03:16:02 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.17.160] (CPE-203-144-17-160.dsl.OntheNet.net [203.144.17.160]) by hummer.onthenet.com.au (Postfix) with ESMTP id 7C83E19FB8F; Mon, 7 Nov 2005 13:16:00 +1000 (EST) Message-ID: <436EC70C.1030508@freebsd.org> Date: Mon, 07 Nov 2005 13:16:28 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Heider References: <44a1b7810511061136h73dea73q@mail.gmail.com> In-Reply-To: <44a1b7810511061136h73dea73q@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: How to compile my own kernel? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 03:16:02 -0000 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.