Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2001 15:46:00 -0800 (PST)
From:      Paul English <penglish@hydro.washington.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sh dies w/signal 11 on boot
Message-ID:  <Pine.HPX.4.21.0112061542230.25585-100000@meter.hydro.washington.edu>
In-Reply-To: <Pine.HPX.4.21.0112061527490.25585-100000@meter.hydro.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> FreeBSD 4.3-RELEASE
> 
> The system was working fine prior to a kernel recompile where I hoped to
> raise the per-process memory limits. Now the kernel boots fine until it
> tries to run sh, which dies along with any other shell I try to run when I
> boot.
> 
> I've booted off the 4.3 cd and told the kernel to mount my / device as
> /. Then I rebuilt the kernel with the original values - same problem when
> booting off hdd again.
> 
> Help! Is there any way I can transfer the cd kernel to the hdd? Or get
> some kind of working kernel on the hdd? 
> 
> In linux I am familiar with using the boot loader to have multiple kernels
> - so that when you build a new one if you make a mistake you can use a
> default working one to boot with and return the system to a working state.
> 
> Paul
> 

To answer my own questions - when standard bootup is happening, during the
few seconds allowed, hit "any" key. Then enter:

boot kernel.old

In my case, even kernel.old was messed up, so:

boot kernel.GENERIC

worked.


Now back to the problem that led to signal 11 errors. I have 2G of ram,
and want the datasize limit to be up to 2G, or at least 1.5G (I really
trust my users). So I'm messing around with these kernel options:

options         MAXDSIZ="(1024*1024*1024)"
options         DFLDSIZ="(256*1024*1024)"

It was originally working with these options, then I changed them, and it
didn't boot (signal 11 for the first process that it tries to run
(sh)). Then I changed them back and it still won't boot.

Finally I commented them out entirely and it *still* won't boot!

Any ideas?

paul


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.HPX.4.21.0112061542230.25585-100000>