From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 23 06:41:49 2014 Return-Path: Delivered-To: powerpc@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 2214145E; Thu, 23 Jan 2014 06:41:49 +0000 (UTC) Date: Thu, 23 Jan 2014 06:41:49 +0000 From: Alexey Dokuchaev To: Justin Hibbits Subject: Re: Tightening kernel for Mac Mini G4 Message-ID: <20140123064149.GA54730@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <20140123044922.GA29547@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140123044922.GA29547@FreeBSD.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: powerpc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 06:41:49 -0000 On Thu, Jan 23, 2014 at 04:49:22AM +0000, Alexey Dokuchaev wrote: > Great, I've removed entire "Misc" section of the config. I'm wondering > if I can do the same for ADB support? Apparently, I removed too much: newly built kernel panics on boot instantly: panic: vm_phys_paddr_to_segfind: paddr 0x1c3d000 is not in any segment cpuid = 0 KDB: stack backtrace: 0xd0004ab0: at kdb_backtrace+0x4c 0xd0004b20: at panic+0x16c 0xd0004b80: at vm_phys_add_page+0x12c 0xd0004ba0: at vm_page_startup+0x428 0xd0004c00: at vm_mem_init+0x24 0xd0004c20: at mi_startup+0x13c 0xd0003c50: at btext+0xc0 KDB: enter: panic [ thread pid 0 tid 0 ] Stopped at 0x282e24: addi r0, r0, 0x0 db> Maybe moving "device mem" to /boot/loader.conf was not that good idea? :) Keyboard is unresponsive at this point (could it be due to missing USB stuff in kernel?). What puzzles me more is that unloading the previous kernel and doing 'set kernel=kernel.old' before boot also panics (WTF? it booted just fine before): panic: vm_phys_create_seg: increase VM_PHYSSEG_MAX Perhaps some modules from /boot/loader.conf confuse GENERIC kernel. Unless I find a way to fix this, I might have to netboot again. :( ./danfe