Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 1999 02:07:57 +0100 (CET)
From:      Andrzej Bialecki <abial@nask.pl>
To:        John Baldwin <jobaldwi@vt.edu>
Cc:        Michael Bretterklieber <mbretter@sbox.tu-graz.ac.at>, freebsd-small@FreeBSD.ORG
Subject:   RE: Problems and questions to custom-config
Message-ID:  <Pine.BSF.4.02A.9901260200200.6025-100000@korin.warman.org.pl>
In-Reply-To: <XFMail.990124094357.jobaldwi@vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 24 Jan 1999, John Baldwin wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> 
> On 24-Jan-99 Michael Bretterklieber wrote:
> > Hi,
> > I have the following problems with my custom-config:
> > 
> > 1. I allways get
> >    "init: login_getclass: unknown class 'daemon'",
> >    but this login-class is in the login.conf file.
> 
> Same here, my floppy works regardless, so I've just ignored it.  You probably
> should use cap_mkdb to build a login.conf database and stick it in
> floppy.tree/etc

No, not quite. You forget to install login.conf into the mfs.tree /etc
directory. It will get overwritten a bit later by cp -R from the floppy,
but init(1) needs it just then.

> > 2. I tried to compile wide-dhcp with crunchgen,
> >    but I allways get the messages:
> >    "crunchgen: crunch.conf: dhcpc: warning: could not find any .o files"

> Also, crunchgen figures out the .o files by looking for a SRCS variable in the
> Makefile listing all the .c files that have to be compiled.

Uh oh.. No, it's OBJS. Read the FAQ.

> 
> > 3. I'd like to add a "/www" dir with an "index.html" file in it,
> >    I added the /www in mfs.tree, but I have no idea, how I can
> >    copy the index.html-file in this directory.

Add 'cp index.html /mnt/whatever.' somewhere in the scripts. The upcoming
0.5 version will solve these issues slightly better.

> > 4. During the kernel-decompression I get "warning: malloc-wrapped"

This is the limitation of the kzip code. You're still using a.out kernels?
You should switch to ELF, otherwise you begin losing more and more
functionality...

> > 6. I could'nt get work the simple_httpd.
> >    I get "document contains no data" from my browser

This is because simple_httpd just dumped core.. ;)

> > and the simple_httpd dumps a core.
> >    Note: I made a /httphome dir with a simple index.html file.

Once I get back home (Thursday) I'll commit the newer version I received
from the author. Hopefully it will work better for you.

Andrzej Bialecki

--------------------   ++-------++  -------------------------------------
 <abial@nask.pl>       ||PicoBSD||   FreeBSD in your pocket? Go and see:
 Research & Academic   |+-------+|       "Small & Embedded FreeBSD"
 Network in Poland     | |TT~~~| |    http://www.freebsd.org/~picobsd/
--------------------   ~-+==---+-+  -------------------------------------


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9901260200200.6025-100000>