> > During compilation time of busybox I found a problem with open() and I
> > have to put #include <fcntl.h> in libpp/find_pid_by_name.c and I
> > compiled it staticly.
>
> Strange, busybox should compile just fine with glibc-2.1. You should
> report the exact errors to the busybox mailinglist. Btw: which version of
> busybox do you use?
I compile it on my other box with slackware 8.0 and it was without errors,
it's obviously my mistake:) I use busybox-0.60-1
> Why do you link it statically?
No reson:) Just to see how big it was going to be, and the other reason is
that on my distro I put glibc-2.1 (libc6 from debian 2.2.r3) but I
compiled busybox on glibc-2.2 (Slackware 8.0).
> > I made devices mtab (c 10 22) and ps (c 10 21)
>
> Oops, what's that? Char major 10 is for serial mice and minor 22 is not
> defined (look in /usr/src/linux/Documentation/devices.txt for details).
> mtab and ps doen't have anything to do with device nodes...
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
// Turn this on to use Erik's very cool devps, and devmtab kernel drivers,
// thereby eliminating the need for the /proc filesystem and thereby
saving
// lots and lots memory for more important things. NOTE: If you enable
this
// feature, you _must_ have patched the kernel to include the devps patch
that
// is included in the busybox/kernel-patches directory. You will also
need to
// create some device special files in /dev on your embedded system:
// mknod /dev/mtab c 10 22
// mknod /dev/ps c 10 21
// I emailed Linus and this patch will not be going into the stock kernel.
//#define BB_FEATURE_USE_DEVPS_PATCH
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
This is from Config.h from my busybox:)) I just wanted to turn off proc to
see would linux use less RAM. But i think I don;t need it, cause I
recompile kernel with proc , and now everything works fine.
> Could you post your current /dev directory?
>
> > getty: IOCTL() TIOCSPGRP CALL FAILED: IAPPROPRIATE IOCTL FOR DEVICE
>
> Looks like your terminal device nodes are not correct. TIOCSPGRP is an
> ioctl() to set the pgroup of a tty - you seem to try it with a non-tty
> device. You should first copy over all the device nodes from your Mandrake
> distro and look carefully afterwards wich ones are not needed any more.
I don;t have anymore this errors after I recompile kernel with /proc. And
also I recompile tinylogin and busybox on my debian machine but dinamiclly
this time :) I set up my network too, so now I have working distro:))
> > All I need on my distro is that InterBase, TCP/IP and UDP and some
> > journaling file systems, and all that to fit under 20MB and to work on
> > 8MB RAM and 486/100MHz .
>
> You can have a base system with glibc and busybox in less than 2 MB, so if
Less than 2MB ?? Mine is about 3.5MB with debian's glibc and dinamic
busybox and tinylogin and kernel-2.2.19. I think I might make glibc to be
smaller but I want to install InterBase first and to try to do that.
> InterBase is not too large that should be no problem. Sounds like an
Interbase is minimum about 8.5MB. Problem with InterBase is that it use
ncurses:( so it will make my distro bigger if I failed in building
InterBase without ncurses cause I need only server and libraries for
connecting to it.
> interesting application - what do you want to do with the system?
It will control machine for Blood seperation. I have some 486 100MHz and
motherboard with PC104 and Flash IDE disks (Disk on Chip) (47MB) . But my
biggest problem is that those machines r going in China and I live in
Serbia:) so I can't maintain my Linuxes and I can't risk crash system due to power
loss.
It migth be funny to thinkig about power loss but in my country I
don;t have electricity almost a month per year (sometimes 6 hours
per day) and I have to think even on that problem. Problem with ext2 fs is
that sometimes it have to be fscked manually and it can't be done automaticly:(
That's reason I want some journaling fs. XFS and JFS need to much RAM
(about 64 minimum) (486s, I have, are using EDO memory which I have to
find by myself and it's very very hard in my country) so I need something that will
work with
8-16MB RAM. InterBase need about 1.5MB for server and 1MB min for each
clients so it mean that I am gonna need only 8MB :))) And thats good.
ReiserFS need minimum 35MB partitions on disk and I am not shure will I
use Flash disks bigger than 20 MB. No I am learning about ext3 to see how
it works.
Ilic Aleksandar
--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.