Re: unknown option "MAXUSERS"

2005-02-18 Thread Jamie Novak
On 02/17, Dmitry M. rearranged the electrons to read:
> -bash-2.05b# config MYKERNEL
> MYKERNEL: unknown option "MAXUSERS"

It's probably because "maxusers" is a lowercase-only option in the
config, right along with the ident, machine, and cpu lines. Change it to
lowercase and you should be fine.

Also, from the handbook:

Note: As of FreeBSD 4.5, setting MAXUSERS to 0 in your
kernel configuration file will choose a reasonable default
value based on the amount of RAM present in your system.

In 5.x and beyond, I believe the option is omitted entirely, even in
GENERIC.

Hope that helps.

-Jamie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't reboot after messing up my rc.conf file

2005-02-16 Thread Jamie Novak
I may have missed something from the thread before I joined the list,
but is there any reason you can't just mount the filesystems and use vi
as you're used to? If you're getting far enough in the boot process to
get an opportunity to interact with a shell, you should just be able to
mount -a and vi whatever. (Or, if you want to play it safe (or if the
system wasn't cleanly shutdown before), fsck and then mount -a)

Otherwise, Chris Hodgins' suggestion of mv'ing the old file out of the
way and echoing variables into a new one is probably what I'd do. I hate
ed.

On Wed, 2005-02-16 at 13:42, aklist_061666 wrote:

> Hi All:
>
> I was editing my rc.conf file and left off a quote mark, and now when
> I try to reboot I get an error and am prompted to drop into shell to
> fix it.
>
> The default prompt is /bin/sh, and if I hit return I get a prompt.
>
> How can I edit the file while I'm in that prompt? VI doesn't work...is
> there another text editor I can use to fix the file?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


multi-version jumpstart

2005-02-16 Thread Jamie Novak
I currently have a jumpstart server setup in such a way that we can
specify on a "configure" command-line various install options (which
4.x-RELEASE we want to use, server config type, etc.). This part is
working great and has saved us a ton of time.

Now that 5.x is moving into the realm of being stable enough for our
production uses, we're looking into making use of some of the
SMP-related goodies in that release line. Unfortunately, I do not seem
to be able to get our jumpstart server to be able to dynamically
install both 4.x and 5.x targets from the same machine.

I'm able to get the jumpstart server to export the 5.3-RELEASE partition
and pass the GENERIC kernel and install.cfg over to the network-booting
machine, but when it comes time to actually NFS mount the install
partition on the target server to run the install, it returns an NFS
error:

mount_nfs -P 10.x.x.x:/releases/5.3-RELEASE/ /dist
mount_nfs: Can't update /var/db/mounttab for 
10.x.x.x:/releases/5.3-RELEASE
mount_nfs: /dist: operation not supported by device

I'm assuming the problem is related to the fact that the jumpstart
server is running 4.x-RELEASE, while the OS I'm trying to install on the
target server (and the kernel that's attempting to NFS mount the
partition) is from the 5.x line and they're fighting over mounttab
magic.

Does anybody know if this kind of thing is possible? If so, what did you
do to enable such a configuration to work? (Would it be possible to
install both 4.x and 5.x on network-booting clients if the jumpstart
server was 5.x instead of 4.x as it is now?)

I'd really like to avoid having to build a second jumpstart server just
to get 5.x installs working, but I'm afraid it's looking like that's the
way I'll need to go... Any tips would be most appreciated.

-Jamie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: em0 Intel Gigabit card, rc.conf processing on boot

2004-06-28 Thread Jamie Novak
On 06/28, Michael Clark rearranged the electrons to read:
> Any suggestions on how to do this without DHCP?  That's really not
> an option for me.  Can I delay the rc.conf processing somehow
> so that the adaptor has more time to get online?

You could always put a sleep statement in the relevant /etc/rc* script.
On some of our servers, we added the following two lines to the base
/etc/rc script in the NFS Mounts section, because it would process too
quickly and try to mount (and fail) before the interface came up:

echo 'Waiting 5 seconds for interface to settle...'
sleep 5

In our case, it was the ti0 interface, but the concept's the same.

Hope that gives you something to start with, at any rate.

-Jamie
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox 0.9 Port

2004-06-17 Thread Jamie Novak
On 06/17, Matthew Seaman rearranged the electrons to read:
> > Try starting it as root then as a regular user.  It's weird.  I had that
> > but after long enough I got a message about too mamy open files.
> 
> I found that running as root via sudo meant that firefox created a
> root-owned ~/.mozilla/firefox directory -- so as soon as I tried to
> run it under my own UID, that lead to being constantly asked to create
> a new profile, failing to do that and then crashing as observed.

Interesting. The 15:29 checkin by marcus said "The warning about running
as root first is no longer needed since the hack seems to work", so I
didn't try it again. He was, apparently, wrong.

Now, when I start it via sudo (rather than a "su -" and an exporting of
the display), it starts up just fine. After a "chown -R" of the .mozilla
directory to me, it starts fine as my userid, too.

Weirdness.

Thanks, everybody, for the replies! I really appreciate it.

- Jamie
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox 0.9 Port

2004-06-17 Thread Jamie Novak
On 06/17, Richard Tobin rearranged the electrons to read:
> You have to run it as root first.

Actually, according to the last checkin, that's no longer true. I did
try that, though, to no avail. I'll try it again just to be sure.

-Jamie
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Firefox 0.9 Port

2004-06-17 Thread Jamie Novak
I'm not really sure where to ask this, so I'm defaulting to the
questions list.

I recently reinstalled my machine and am running 5.2.1-RELEASE. Now that
Firefox 0.9 has been released, I decided to try installing it. (Note:
Since this is a freshly reinstalled workstation, no previous versions of
Mozilla or Firefox were lying around. I also deleted the .mozilla and
.phoenix directories from my homedir backup before running this new
version.)

The install was successful, but as soon as I try to run the program, all
I get is the same message repeating over and over again in my xterm:

*** loading the extensions datasource

The browser never actually starts and that message keeps repeating until
I ^C out of it.

Has anybody else encountered this since the new port came out? Previous
versions of Firefox on my old workstation (also of the 5.x line) worked
fine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"