Russell,
Thanks for the advice. We've stopped going down that route. And are now
ignoring swap files/devices altogether.
So, At the moment we have got to the following level.
1. Successfully cross-compiled a linux 2.1.132 kernel for our EBSA
2. Copied the netwinder kit
(ftp.netwinder.org/pub/ccc/images/dm-2.1-12.tar.gz ) onto a local drive of a
RedHat 5.2 Intel box
3. NFS booted the EBSA to the extracted netwinder kit on that Intel box
The system can boot up to runlevel 3 ( removing some of the invalid startup
files )
The problem we are hitting at the moment is, we can telnet from the EBSA to
other systems on the net. However we cannot telnet to the EBSA from those
systems. After looking at the startups I have found that some programs (
including tftpd ) print "Illegal Instruction" and sometimes ( core dump)
when executed.
We did pull the RPM files from the arm-linux ftp site to try and replace the
bad files, but found that there is not an rpm program there to install them
with. ( You guessed it, the one from the netwinder image gives an illegal
instruction error ).
Another piece of information is that we pulled the files from the instimage
area of armlinux.org and replaced files in the /bin area of the netwinder
kit with them, this fixed a couple of programs ( bash and ls were two)
although replacing the ps program still put up the 'Illegal Instruction
message'.
Have you, or anyone else got any more words of wisdom that could help us get
further.
Thanks again
Iain
> ----------
> From: Russell King[SMTP:[EMAIL PROTECTED]]
> Sent: 20 April 1999 9:09
> To: Iain Grant
> Cc: [EMAIL PROTECTED]
> Subject: Re: NFS Swap File !!!!
>
> Iain Grant said:
> > When we boot the EBSA we always get a 'bad swap file' error message. ( I
> > have even tried adding the dd and mkswap instructions to the rc.sysinit
> of
> > the EBSA but that didn't work either )
>
> With Linux, it is not possible to have a swap file over NFS.
>
> > If we cannot get this to work I was thinking about using a ramdisk as
> the
> > swapdisk. Don't know if this will work or not but I'm willing to give it
> a
> > try.
>
> This will not gain you any advantage. It's better to leave the memory
> free
> for Linux to work out what the best use of the memory is than to allocate
> it
> to a swap device.
>
> Since Linux does not require a swap file, I would suggest not using one if
> you do not need one.
>
> --
> Russell King ([EMAIL PROTECTED])
> Millbank Electronics Tel: 01825 764811 Fax: 01825 761620
>
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]