Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2009 14:07:55 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        usb@freebsd.org, Scot Hetzel <swhetzel@gmail.com>, wsk <wsk@gddsn.org.cn>, current@freebsd.org
Subject:   Re: boot panic on current(04.20)
Message-ID:  <200904221407.56424.jhb@freebsd.org>
In-Reply-To: <790a9fff0904220037q69b6e594u1a1f9871c6166ade@mail.gmail.com>
References:  <49ED3E7D.8080606@gddsn.org.cn> <41877.147.83.40.213.1240324705.squirrel@webmail.entel.upc.edu> <790a9fff0904220037q69b6e594u1a1f9871c6166ade@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 22 April 2009 3:37:37 am Scot Hetzel wrote:
> On 4/21/09, Gustavo Perez Querol <gperez@entel.upc.edu> wrote:
> >     I'm having the same problem with my laptop. It fails (if I remember
> > well) when checkig an <O2 Micro> device (probably my card reader, don't
> > know). When rebooting got to loader prompt, unload kernel and load
> > /boot/kernel.old/kernel. This arrises a few questions :
> >
> >         1.- How can I install a custom kernel under a different directory
> >             under /boot. I did it, but I can't find how (google doesn't
> >             help)I did it. I think there's a define when installing the
> >             kernel.
> 
> Add the following to your kernel's configuration file.
> 
> makeoptions     KODIR=/boot/${KERNEL}_debug
> 
> This when you install the kernel, in will place the kernel into
> /boot/kernel_debug.

makeoptions	KERNEL=foo

is a bit shorter, and then you can do 'boot foo' at the loader.  I tend to 
install test kernels into /boot/<branchname> using this.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904221407.56424.jhb>