* elks newbie.....kindly help!!
[not found] <20020727072846Z318708-685+18874@vger.kernel.org>
@ 2002-07-27 8:54 ` Seemanta Dutta
2002-07-27 9:02 ` Paul Nasrat
0 siblings, 1 reply; 17+ messages in thread
From: Seemanta Dutta @ 2002-07-27 8:54 UTC (permalink / raw)
To: linux-8086
hello to all gurus....
i am a student and am going to do a seminar on elks ...i have already
downloaded dev86 and elks disk images and their src...
the problem is however that of dev86..
i wrote a 'hello world' program and compiled it in my redhat 7.2 box..the
compilation was normal and without any errors...but when i try to run my
a.out file with elksemu i get the following error message-
bash: /usr/bin/elksemu: cannot execute binary file
i have tried searching the net for documentation on this dev86 but there
was none to be found.....even the man page for elksemu is not
complete....
i would be grateful to u if any one could provide me some pointers to
dev86...and some info abt compliing and running programs using dev86 i.e.
bcc and eklskemu...urls will be welcome too..
thanks in advance....
urs sincerely...
seemanta....
--
Final Year B.E.
Electronics and Communication Engineering
Hostel No:5,Room No:101
Malaviya Regional Engineering College
Jaipur,Rajasthan
PIN-302017
INDIA
P.S. While replying please send a copy to seemanta_18@yahoo.com.
Thank You.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: elks newbie.....kindly help!!
2002-07-27 8:54 ` elks newbie.....kindly help!! Seemanta Dutta
@ 2002-07-27 9:02 ` Paul Nasrat
2002-07-27 9:18 ` Paul Nasrat
2002-07-27 9:30 ` thanks from elks newbie...!! Seemanta Dutta
0 siblings, 2 replies; 17+ messages in thread
From: Paul Nasrat @ 2002-07-27 9:02 UTC (permalink / raw)
To: Seemanta Dutta; +Cc: linux-8086
On Sat, Jul 27, 2002 at 02:24:29PM +0530, Seemanta Dutta wrote:
> hello to all gurus....
> i am a student and am going to do a seminar on elks ...i have already
> downloaded dev86 and elks disk images and their src...
> the problem is however that of dev86..
> i wrote a 'hello world' program and compiled it in my redhat 7.2 box..the
> compilation was normal and without any errors...but when i try to run my
> a.out file with elksemu i get the following error message-
>
> bash: /usr/bin/elksemu: cannot execute binary file
> i have tried searching the net for documentation on this dev86 but there
> was none to be found.....even the man page for elksemu is not
> complete....
It is a bit obfuscated.
> i would be grateful to u if any one could provide me some pointers to
> dev86...and some info abt compliing and running programs using dev86 i.e.
> bcc and eklskemu...urls will be welcome too..
You need to have the modules binfmt_aout and binfmt_misc loaded in your kernel
Then
echo ':i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/lib/elksemu:' \
> /proc/sys/fs/binfmt_misc/register
that'll get it working
Paul
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: elks newbie.....kindly help!!
2002-07-27 9:02 ` Paul Nasrat
@ 2002-07-27 9:18 ` Paul Nasrat
2002-07-27 9:30 ` thanks from elks newbie...!! Seemanta Dutta
1 sibling, 0 replies; 17+ messages in thread
From: Paul Nasrat @ 2002-07-27 9:18 UTC (permalink / raw)
To: linux-8086; +Cc: Paul Nasrat, Seemanta Dutta
On Sat, Jul 27, 2002 at 10:02:10AM +0100, Paul Nasrat wrote:
> You need to have the modules binfmt_aout and binfmt_misc loaded in your kernel
>
> Then
>
> echo ':i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/lib/elksemu:' \
> > /proc/sys/fs/binfmt_misc/register
>
> that'll get it working
Oh and I should add you need elksemu in /lib :)
If it wasn't obvious from the above.
Paul
^ permalink raw reply [flat|nested] 17+ messages in thread
* thanks from elks newbie...!!
2002-07-27 9:02 ` Paul Nasrat
2002-07-27 9:18 ` Paul Nasrat
@ 2002-07-27 9:30 ` Seemanta Dutta
2002-07-27 9:37 ` Paul Nasrat
1 sibling, 1 reply; 17+ messages in thread
From: Seemanta Dutta @ 2002-07-27 9:30 UTC (permalink / raw)
To: Paul Nasrat; +Cc: linux-8086
hello paul...
thanks for ur tip...that started it to work....now i can at go on to write
my programs for my seminar....and who said that people on mailing lists
don't reply....once again thanks a zillion for ur help...
as u said i did 'insmod' for the modules u said..
but a few questions still arise in my mind...
1. why did *those* modules have to be loaded..where did u get the
documentation for it??
2. the last of ur commands....the one where u told to redirect the echo
statement into the proc fs didn't work.. the error i got was this
bash: /proc/sys/fs/binfmt_misc/register: No such file or directory
but even then my 8086 programs are
working fine...but my curiousity is killing me...why?? is the question i
want to know!!
where can i find these subtle things on the net...i tried googling it but
failed to get any documentation on either elks or dev86
please help me....i shall ever be grateful...
thanks in advance...
urs seemanta...
--
2nd Year B.E.
Electronics and Communication Engineering
Hostel No:6,Room No:05
Malaviya Regional Engineering College
Jaipur,Rajasthan
PIN-302017
INDIA
P.S. While replying please send a copy to seemanta_18@yahoo.com.
Thank You.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: thanks from elks newbie...!!
2002-07-27 9:30 ` thanks from elks newbie...!! Seemanta Dutta
@ 2002-07-27 9:37 ` Paul Nasrat
2002-07-30 7:17 ` Seemanta Dutta
0 siblings, 1 reply; 17+ messages in thread
From: Paul Nasrat @ 2002-07-27 9:37 UTC (permalink / raw)
To: Seemanta Dutta; +Cc: Paul Nasrat, linux-8086
On Sat, Jul 27, 2002 at 03:00:24PM +0530, Seemanta Dutta wrote:
> hello paul...
> thanks for ur tip...that started it to work....now i can at go on to write
> my programs for my seminar....and who said that people on mailing lists
> don't reply....once again thanks a zillion for ur help...
No problems, happy to help.
>
> as u said i did 'insmod' for the modules u said..
> but a few questions still arise in my mind...
>
> 1. why did *those* modules have to be loaded..where did u get the
> documentation for it??
It's in the dev86 tar ball in the readme (well the magic binary line).
But as for the aout one, that was somewhere else, can't remember.
>
> 2. the last of ur commands....the one where u told to redirect the echo
> statement into the proc fs didn't work.. the error i got was this
> bash: /proc/sys/fs/binfmt_misc/register: No such file or directory
Hmm, it might be that you hadn't loaded binfmt.o, or it may have moved
under 2.4.
> but even then my 8086 programs are
> working fine...but my curiousity is killing me...why?? is the question i
> want to know!!
It's possibly in a magic file somewhere.
> where can i find these subtle things on the net...i tried googling it but
> failed to get any documentation on either elks or dev86
It's in the tar ball for dev86, possibly in the rpm under
/usr/share/dev86-%version/Readme
Paul
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: thanks from elks newbie...!!
2002-07-27 9:37 ` Paul Nasrat
@ 2002-07-30 7:17 ` Seemanta Dutta
2002-07-30 8:17 ` Paul Nasrat
2002-07-30 8:22 ` thanks from elks newbie...!! Javier Sedano
0 siblings, 2 replies; 17+ messages in thread
From: Seemanta Dutta @ 2002-07-30 7:17 UTC (permalink / raw)
To: linux-8086
greetings to all the gurus...
i am a student of Electronics engg. going to undertake a project work in
elks ...i want to embed elks in old computer mother boards, which are
lying useless in our college.....i am a newbie to this elks...so please
help me ....u r the only ones on whom i can count... ;-)
but the thing is from where do i begin? i have the following questions in
my mind...i hope they are not too boring to answer ;-)
1. ok i have dev86, i also have an old 286 or 386 motherboard with the
cpu....but how do i interface the rom or flash rom with it...in short..how
do i make the system boot from my elks kernel?
2.so i have elksemu with me now...i can emulate my programs now..but is
there any mechanism by way of which i can directly embed my programs into
my board... like some hardware emulators or some software to directly send
the code into the rom chip thru the com or parallel port??
3. are all the developers of elks project using used old mother boards or
do they use some specialised boards? frankly speaking is it really
possible to embed elks into very old and used computer mother boards?
4. is there any good documentation available for elks? i have tried
searching the net for docs but all i got was a couple of dead links...
where do u guys get ur docs when u started it all??
that's all....
thanks in advance....
urs sincerely...
seemanta ;-)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: thanks from elks newbie...!!
2002-07-30 7:17 ` Seemanta Dutta
@ 2002-07-30 8:17 ` Paul Nasrat
2002-07-31 21:26 ` Dan Olson
2002-07-30 8:22 ` thanks from elks newbie...!! Javier Sedano
1 sibling, 1 reply; 17+ messages in thread
From: Paul Nasrat @ 2002-07-30 8:17 UTC (permalink / raw)
To: Seemanta Dutta
On Tue, Jul 30, 2002 at 12:47:27PM +0530, Seemanta Dutta wrote:
>
> greetings to all the gurus...
Trust me we're not all gurus :)
>
> i am a student of Electronics engg. going to undertake a project work in
> elks ...i want to embed elks in old computer mother boards, which are
OK, that's quite ambitious.
> 1. ok i have dev86, i also have an old 286 or 386 motherboard with the
> cpu....but how do i interface the rom or flash rom with it...in short..how
> do i make the system boot from my elks kernel?
Is it a PC? If it is a 8x86 embedded board you may need to write
drivers:
Follow the thread here:
http://rainbow.cs.unipi.gr/linux-8086-list/2002/06/1815.html
To quote Alan Cox:
"The 80186 embedded devices are very un pc-like. So you neednew drivers
A 186 PC ought to wrk fine "
If it is a pc I really recommend you try first off booting of a floppy. You might want to look at the following locations for images:
Floppy boot images from elkscmd
http://rainbow.cs.unipi.gr/~harkal/ELKS/images/
EDE - for installing onto a hard drive.
http://homepage.ntlworld.com/neiluk/elks-distro/
ftp://ftp.linux.org.uk/pub/linux/8086/Distribution/
You can also build them from elkscmd, but check here for latest cvs
status.
> 2.so i have elksemu with me now...i can emulate my programs now..but is
> there any mechanism by way of which i can directly embed my programs into
> my board... like some hardware emulators or some software to directly send
> the code into the rom chip thru the com or parallel port??
umm, unsure - you may be able to do it via etherboot (a network boot
rom)
http://etherboot.sourceforge.net/doc/html/atnetboot-2.html
I've no idea about getting it embedded on standard pc architecture.
> 3. are all the developers of elks project using used old mother boards or
> do they use some specialised boards? frankly speaking is it really
> possible to embed elks into very old and used computer mother boards?
I'm using an old 8086 laptop and booting from floppy. Others are using
osimilar systems. If you have a old computer motherboard, start by
building a system, then get it working on that, then look at ways of
embedding it.
> 4. is there any good documentation available for elks? i have tried
http://elks.sourceforge.net/faq/FAQ-English.html
The source is pretty small (cf the full linux kernel) so you may have
some joy there.
http://rainbow.cs.unipi.gr/linux-8086-list/ is searchable on google.
It really depends what you are looking for, you may want some x86 books
if you need lowlevel knowledge for writing embedded stuff, or just K&R
and lots of coffee for doing house keeping.
Paul
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: thanks from elks newbie...!!
2002-07-30 7:17 ` Seemanta Dutta
2002-07-30 8:17 ` Paul Nasrat
@ 2002-07-30 8:22 ` Javier Sedano
1 sibling, 0 replies; 17+ messages in thread
From: Javier Sedano @ 2002-07-30 8:22 UTC (permalink / raw)
To: Seemanta Dutta; +Cc: linux-8086
Seemanta Dutta wrote:
>
> greetings to all the gurus...
>
I am not one of the elks gurus, but will try to help ;-)
>
> 1. ok i have dev86, i also have an old 286 or 386 motherboard with the
> cpu....but how do i interface the rom or flash rom with it...in short..how
> do i make the system boot from my elks kernel?
>
Using a floppy disk. Doesn't the system have it? It it doesn't, it is
out of my scope.
You can install later to hard disk, as well.
> 2.so i have elksemu with me now...i can emulate my programs now..but is
> there any mechanism by way of which i can directly embed my programs into
> my board... like some hardware emulators or some software to directly send
> the code into the rom chip thru the com or parallel port??
>
I suppose you can write an eeprom with the elks kernel an make to boot
it, but don't know how to do so using your especific card, cos I don't
know how is it (I won't, even if I knew how is it, by the way ;-)
> 3. are all the developers of elks project using used old mother boards or
> do they use some specialised boards? frankly speaking is it really
> possible to embed elks into very old and used computer mother boards?
>
I think the developers use old PC/XT/AT. There is also a port to the
Psion SIBO (a PDA), so I suppose it will be used there ;-)
ELKS runs on less than 200kB or RAM, without Hard Disk, so yes, it is
possible.
> 4. is there any good documentation available for elks? i have tried
> searching the net for docs but all i got was a couple of dead links...
> where do u guys get ur docs when u started it all??
>
I don't think there is such a good documentation. The elks web page at
sourceforge contains most of what is documented. This list is the best
information place.
--
Una característica es un fallo, pero explicado diplomáticamente.
--------
Javier Sedano Jarillo http://www.it.uc3m.es/~jsedano
jsedano@dit.upm.es (*)
jsedano@ieee.org
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: thanks from elks newbie...!!
2002-07-30 8:17 ` Paul Nasrat
@ 2002-07-31 21:26 ` Dan Olson
2002-07-31 21:53 ` Elks freeze after login Christophe Gimenez
0 siblings, 1 reply; 17+ messages in thread
From: Dan Olson @ 2002-07-31 21:26 UTC (permalink / raw)
To: Paul Nasrat; +Cc: Seemanta Dutta, linux-8086
I somehow seem to have gotten this directly, not from the mail list. Hope
it's okay to copy the list with a reply.
On Tue, 30 Jul 2002, Paul Nasrat wrote:
> > i am a student of Electronics engg. going to undertake a project work in
> > elks ...i want to embed elks in old computer mother boards, which are
>
> OK, that's quite ambitious.
Hmm, I don't know for sure, but my guess is that no, it's not ambitious at
all. I've been told that there's nothing special in ELKS that causes
problems when running it from ROM, and it shouldn't be too tough to add a
ROM to an old computer (keep reading).
> > 1. ok i have dev86, i also have an old 286 or 386 motherboard with the
> > cpu....but how do i interface the rom or flash rom with it...in short..how
> > do i make the system boot from my elks kernel?
>
> Is it a PC?
I'm assuming a PC/clone, of course there are as many other answers as
there are other platforms if we're talking non-PCs.
> If it is a pc I really recommend you try first off booting of a
> floppy. You might want to look at the following locations for images:
Good suggestion, it's easier to write floppies than ROMs (usually).
> > 2.so i have elksemu with me now...i can emulate my programs now..but is
> > there any mechanism by way of which i can directly embed my programs into
> > my board... like some hardware emulators or some software to directly send
> > the code into the rom chip thru the com or parallel port??
>
> umm, unsure - you may be able to do it via etherboot (a network boot
> rom)
Do you just want to install a pre-programmed ROM into the computer so that
it will boot from that ROM? There are a few ways to do this. Actually,
etherboot or something along those lines is a great way to go. Network
cards, hard drive/scsi controllers, and other cards that have their own
adaptor ROM would have that ROM code executed by the computer before
booting. I don't know for sure if there's a special format for the data,
but I don't think so. The ROM has address space in upper memory, and the
BIOS jumps execution there, so it's ideal for this type of project. Also,
IBM, and some clone makers, have ROM sockets on the motherboard for
"optional ROMs". I don't know for sure how these were intended to be
used, but I suspect it's not any different than the adaptor ROMs, just
that the socket is in a different place.
> I'm using an old 8086 laptop and booting from floppy. Others are using
> osimilar systems. If you have a old computer motherboard, start by
> building a system, then get it working on that, then look at ways of
> embedding it.
I'm using an origional IBM PCXT :)
Good luck! Having a ROM based PC is really a neat idea, and probably
something you could get working with a little work.
Dan
^ permalink raw reply [flat|nested] 17+ messages in thread
* Elks freeze after login
2002-07-31 21:26 ` Dan Olson
@ 2002-07-31 21:53 ` Christophe Gimenez
2002-08-01 22:48 ` Riley Williams
0 siblings, 1 reply; 17+ messages in thread
From: Christophe Gimenez @ 2002-07-31 21:53 UTC (permalink / raw)
To: linux-8086
Hi all,
I'm able to run the elks boot process until login. Then after providing
"root", the system seems to be frozen few seconds after the last floppy
access...
This only happen when using a boot disk with TCP/IP services enabled...
What can be the problem ? The whole TCP/IP stuff or just the http daemon ?
The computer is a Compaq SLT286. I would like to be able to do some
networking with it, using the serial port (kind of ppp over serial line to
my linux gateway), because this can ease elks coding learning (instead of
switching floppies).
What can I do to learn more about the crash ? Is there a log file somewhere
?
Thanks
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Elks freeze after login
2002-07-31 21:53 ` Elks freeze after login Christophe Gimenez
@ 2002-08-01 22:48 ` Riley Williams
2002-08-02 6:07 ` Christophe Gimenez
0 siblings, 1 reply; 17+ messages in thread
From: Riley Williams @ 2002-08-01 22:48 UTC (permalink / raw)
To: Christophe Gimenez; +Cc: Linux 8086
Hi Christopher.
> I'm able to run the elks boot process until login. Then after
> providing "root", the system seems to be frozen few seconds after
> the last floppy access...
>
> This only happen when using a boot disk with TCP/IP services
> enabled... What can be the problem ? The whole TCP/IP stuff or just
> the http daemon ?
>
> The computer is a Compaq SLT286. I would like to be able to do some
> networking with it, using the serial port (kind of ppp over serial
> line to my linux gateway), because this can ease elks coding
> learning (instead of switching floppies).
>
> What can I do to learn more about the crash ? Is there a log file
> somewhere ?
This sounds suspiciously like a problem that was recently fixed in the
ELKS CVS tree, so I would ask which version of ELKS you are running when
this happens to rule that out.
Assuming it's not that, I'd ask you to list the actual hardware
configuration of the CompaQ as that is one brand that is known to use
non-standard hardware, and it's quite possible that we're seeing some
incompatibility between the CompaQ version of the serial ports and the
standard versions.
Best wishes from Riley.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Elks freeze after login
2002-08-01 22:48 ` Riley Williams
@ 2002-08-02 6:07 ` Christophe Gimenez
2002-08-02 12:02 ` Can't compile elksnet Christophe Gimenez
2002-08-02 15:18 ` Elks freeze after login [machine config] Harry Kalogirou
0 siblings, 2 replies; 17+ messages in thread
From: Christophe Gimenez @ 2002-08-02 6:07 UTC (permalink / raw)
To: Linux 8086
----- Original Message -----
From: "Riley Williams" <rhw@InfraDead.Org>
To: "Christophe Gimenez" <chris@kandji.com>
Cc: "Linux 8086" <linux-8086@vger.kernel.org>
Sent: Friday, August 02, 2002 12:48 AM
Subject: Re: Elks freeze after login
> Hi Christopher.
>
> This sounds suspiciously like a problem that was recently fixed in the
> ELKS CVS tree, so I would ask which version of ELKS you are running when
> this happens to rule that out.
>
> Assuming it's not that, I'd ask you to list the actual hardware
> configuration of the CompaQ as that is one brand that is known to use
> non-standard hardware, and it's quite possible that we're seeing some
> incompatibility between the CompaQ version of the serial ports and the
> standard versions.
>
Hello Riley,
I'm using the disk images downloaded from sf and seems to be the 0.1.0
version.
This compaq has :
- a 20286
- a 20287 (but I'm not sure, I've not used this computer since 1991), I will
test for it
- 1,6 MB of ram
- a 40 MB IDE disk
- two serial ports
The two serial ports are detected at boot time as
ttys0 at 0x3F8 (irq = 4) with 16450
ttys1 at 0x2F8 (irq = 3) with 16450
and lp0 at 0x3BC
I've been able to fdisk and mkfs (but not mount due to my lack of knowledge
of mount parameters, the simple mount /dev/bda1 /mnt provided in the faq
doesn't work).
Just for information : I must say I've not been able to run minix 2.0.3 on
it. I had problems with mkswap or something like that and switched to elks
that seems more fun to explore.
I'm really interested on having tcpip services working because I would like
to use a null modem wire (with pppd when it will be available if not
allready done) to transfer compiled files from my linux gateway to the 286
instead of having to write floppy, unmount, mount, launch and so on...
^ permalink raw reply [flat|nested] 17+ messages in thread
* Can't compile elksnet
2002-08-02 6:07 ` Christophe Gimenez
@ 2002-08-02 12:02 ` Christophe Gimenez
2002-08-02 15:18 ` Elks freeze after login [machine config] Harry Kalogirou
1 sibling, 0 replies; 17+ messages in thread
From: Christophe Gimenez @ 2002-08-02 12:02 UTC (permalink / raw)
To: Linux 8086
Hello, I know that some previous messages covered this problem but I've
tried to do my best and can't find a solution to compile theses packages.
What I've done :
- get the latest elks, elkscmd and elksnet from cvs
- compiled a kernel (and used it : fine)
- downloaded the 0.16 version of dev86
- replaced the dev86 syscall.dat and syscall.dev86 with the one provided
with elks kernel
- compiled and installed this version (removed the original 0.15 as part of
my RedHat 7.3 distribution)
- redone the links to linuxmt and arch (/usr/bcc/include/linuxmt and arch
are ok)
- elks dir is under /usr/src
- same for elkscmd and elksnet
- done a make clean in elksnet and elkscmd
When I try to "make" elksnet I get :
make[1]: Entering directory `/usr/src/elksnet/screen'
bcc -I`pwd`/../../elks/include -DELKS -c ansi.c
/usr/src/elksnet/screen/../../elks/include/arch/irq.h:31.32 (from
/usr/src/elksnet/screen/../../elks/include/arch/posix_types.h:4) (from
/usr/src/elksnet/screen/../../elks/include/linuxmt/posix_types.h:54) (from
/usr/src/elksnet/screen/../../elks/include/linuxmt/types.h:53) (from
/usr/bcc/include/sys/types.h:3) (from /usr/bcc/include/stddef.h:10) (from
/usr/bcc/include/sys/types.h:2) (from /usr/bcc/include/stdio.h:6) (from
ansi.c:13): error: need ')'
Is it me or is there something wrong with the makefiles ?
Thank you !
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Elks freeze after login [machine config]
2002-08-02 6:07 ` Christophe Gimenez
2002-08-02 12:02 ` Can't compile elksnet Christophe Gimenez
@ 2002-08-02 15:18 ` Harry Kalogirou
2002-08-02 16:02 ` Pat Gilliland
2002-08-02 19:02 ` Riley Williams
1 sibling, 2 replies; 17+ messages in thread
From: Harry Kalogirou @ 2002-08-02 15:18 UTC (permalink / raw)
To: Christophe Gimenez; +Cc: Linux 8086
Την Παρ, 02-08-2002 στις 09:07, ο/η Christophe Gimenez έγραψε:
>
> Hello Riley,
>
> I'm using the disk images downloaded from sf and seems to be the 0.1.0
> version.
> This compaq has :
> - a 20286
> - a 20287 (but I'm not sure, I've not used this computer since 1991), I will
> test for it
> - 1,6 MB of ram
> - a 40 MB IDE disk
> - two serial ports
>
> The two serial ports are detected at boot time as
> ttys0 at 0x3F8 (irq = 4) with 16450
> ttys1 at 0x2F8 (irq = 3) with 16450
>
> and lp0 at 0x3BC
ELKS will run like the wind on it...
> I've been able to fdisk and mkfs (but not mount due to my lack of knowledge
> of mount parameters, the simple mount /dev/bda1 /mnt provided in the faq
> doesn't work).
> Just for information : I must say I've not been able to run minix 2.0.3 on
> it. I had problems with mkswap or something like that and switched to elks
> that seems more fun to explore.
>
> I'm really interested on having tcpip services working because I would like
> to use a null modem wire (with pppd when it will be available if not
> allready done) to transfer compiled files from my linux gateway to the 286
> instead of having to write floppy, unmount, mount, launch and so on...
>
Actualy you will use CSLIP... PPP is not an option on ELKS yet. CSLIP is
will give you everything you need.
My machine for ELKS is a :
8086
640KB RAM
40MB hard disk
1 serial port, 1 parallel
a PS/2 port
I am running ELKS 0.1.1-pre$ (the latest from the CVS) on it. It is
connected with a null modem serial cable to my linux based gateway using
CSLIP at 9600bps. The root partition is around 30MB and I also have an
1MB swap partition. I'm also running on it constanly a web server(for
the fun of it, since with swap we don't have memory shortage problems),
serving a copy of the ELKS web site. I also use the web server to get
files I need from it. To get files to the ELKS machine I use urlget.
It is almost eye-wetting to fire an attack of http requests on it and
see the little 8086 starting to swap-out some of the vi's and shells
running on the 3 consoles ,to make room for the httpd's serving the
pages. (Note that with shared memory every new httpd takes only 4kb,
#use chmem for this since the linker fives it a 32KB data segment#)
Good luck with your 286!
Harry
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Elks freeze after login [machine config]
2002-08-02 15:18 ` Elks freeze after login [machine config] Harry Kalogirou
@ 2002-08-02 16:02 ` Pat Gilliland
2002-08-02 19:02 ` Riley Williams
1 sibling, 0 replies; 17+ messages in thread
From: Pat Gilliland @ 2002-08-02 16:02 UTC (permalink / raw)
To: Linux 8086
Harry Kalogirou wrote:
<snip>
> My machine for ELKS is a :
>
> 8086
> 640KB RAM
> 40MB hard disk
> 1 serial port, 1 parallel
> a PS/2 port
Mine:
8088
640k
what's a hard drive? ;)
2x 720 floppy
1 serial 1 parallel
> I am running ELKS 0.1.1-pre$ (the latest from the CVS) on it. It is
> connected with a null modem serial cable to my linux based gateway using
> CSLIP at 9600bps. The root partition is around 30MB and I also have an
> 1MB swap partition. I'm also running on it constanly a web server(for
> the fun of it, since with swap we don't have memory shortage problems),
> serving a copy of the ELKS web site. I also use the web server to get
> files I need from it. To get files to the ELKS machine I use urlget.
How did you configure the web server? I could not find any documentation
on the httpd included with 0.1.0.
Pat Gilliland
--
This communication is intended to be received only by the individual or
entity to whom or to which it is addressed and contains information that
is
privileged and confidential. Any unauthorized use, copying, review or
disclosure is prohibited. Please notify the sender immediately if you
have
received this communication in error.
Contents of this message Copyright 2001 Patrick Gilliland
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Elks freeze after login [machine config]
2002-08-02 15:18 ` Elks freeze after login [machine config] Harry Kalogirou
2002-08-02 16:02 ` Pat Gilliland
@ 2002-08-02 19:02 ` Riley Williams
2002-08-03 10:17 ` Harry Kalogirou
1 sibling, 1 reply; 17+ messages in thread
From: Riley Williams @ 2002-08-02 19:02 UTC (permalink / raw)
To: Harry Kalogirou; +Cc: Christophe Gimenez, Linux 8086
Hi Harry.
>> I'm using the disk images downloaded from sf and seems to be the
>> 0.1.0 version. This compaq has :
>> - a 20286
>> - a 20287 (but I'm not sure, I've not used this computer since
>> 1991), I will test for it
>> - 1,6 MB of ram
>> - a 40 MB IDE disk
>> - two serial ports
>>
>> The two serial ports are detected at boot time as
>>
>> ttys0 at 0x3F8 (irq = 4) with 16450
>> ttys1 at 0x2F8 (irq = 3) with 16450
>>
>> and lp0 at 0x3BC
> ELKS will run like the wind on it...
...providing the 16450 is compatible with the 8250 code we have in
ELKS. Memory says that Linux does some extra configuration for the
serial ports when the chip is a 16450 rather than an 8250, and it's
quite possible we're being caught by this.
I can't test this as my T2000 testbed is detected as having 8250
serial ports, not 16450's, so this could easily be untested behaviour.
>> I've been able to fdisk and mkfs (but not mount due to my lack of
>> knowledge of mount parameters, the simple mount /dev/bda1 /mnt
>> provided in the faq doesn't work).
>>
>> Just for information : I must say I've not been able to run minix
>> 2.0.3 on it. I had problems with mkswap or something like that and
>> switched to elks that seems more fun to explore.
>>
>> I'm really interested on having tcpip services working because I
>> would like to use a null modem wire (with pppd when it will be
>> available if not allready done) to transfer compiled files from my
>> linux gateway to the 286 instead of having to write floppy, unmount,
>> mount, launch and so on...
> Actualy you will use CSLIP... PPP is not an option on ELKS yet.
> CSLIP will give you everything you need.
Very true...
> My machine for ELKS is a :
>
> 8086
> 640KB RAM
> 40MB hard disk
> 1 serial port, 1 parallel
> a PS/2 port
For reference, my T2000 is...
80286
1M RAM (mapped as 640k base, 384k XMS, no EMS)
40M hard drive
ttys0 at 0x3f8 (irq=4) is an 8250
lp0 at 0x378 using polling driver
NO 287 or PS/2
> I am running ELKS 0.1.1-pre$ (the latest from the CVS) on it. It is
> connected with a null modem serial cable to my linux based gateway
> using CSLIP at 9600bps.
Could you do some tests with it Harry?
1. Is your serial port an 8250, 16450 or what?
2. Does the CSLIP also work at speeds higher than 9600 BPS?
Here's a table of valid integral speeds and I'd love to
know which is the highest that actually works for you.
Divisor Resulting Speed
~~~~~~~ ~~~~~~~~~~~~~~~
12 9,600
10 11,520
9 12,800
8 14,400
6 19,200
5 23,040
4 28,800
3 38,400
2 57,600
1 115,200
I will add that the 8250 is only specified as "below 19,200 BPS" and the
14550 is specified as "up to 28,800 BPS" but that doesn't mean that they
won't work faster than specified.
> The root partition is around 30MB and I have a 1MB swap partition.
> I'm also running on it constanly a web server (for the fun of it,
> since with swap we don't have memory shortage problems), serving a
> copy of the ELKS web site. I also use the web server to get files I
> need from it. To get files to the ELKS machine I use urlget.
> It is almost eye-wetting to fire an attack of http requests on it
> and see the little 8086 starting to swap-out some of the vi's and
> shells running on the 3 consoles, to make room for the httpd's
> serving the pages.
Any chance you can share your httpd configuration (sans any passwords or
the like) ???
> (Note that with shared memory every new httpd takes only 4kb, use
> chmem for this since the linker gives it a 32KB data segment#)
Perhaps that could be made part of the compilation setup in the relevant
Makefile ???
> Good luck with your 286!
Best wishes from Riley.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Elks freeze after login [machine config]
2002-08-02 19:02 ` Riley Williams
@ 2002-08-03 10:17 ` Harry Kalogirou
0 siblings, 0 replies; 17+ messages in thread
From: Harry Kalogirou @ 2002-08-03 10:17 UTC (permalink / raw)
To: Riley Williams; +Cc: Christophe Gimenez, Linux 8086
Την Παρ, 02-08-2002 στις 22:02, ο/η Riley Williams έγραψε:
> Hi Harry.
>
> >> I'm using the disk images downloaded from sf and seems to be the
> >> 0.1.0 version. This compaq has :
> >> - a 20286
> >> - a 20287 (but I'm not sure, I've not used this computer since
> >> 1991), I will test for it
> >> - 1,6 MB of ram
> >> - a 40 MB IDE disk
> >> - two serial ports
> >>
> >> The two serial ports are detected at boot time as
> >>
> >> ttys0 at 0x3F8 (irq = 4) with 16450
> >> ttys1 at 0x2F8 (irq = 3) with 16450
> >>
> >> and lp0 at 0x3BC
>
> > ELKS will run like the wind on it...
>
> ...providing the 16450 is compatible with the 8250 code we have in
> ELKS. Memory says that Linux does some extra configuration for the
> serial ports when the chip is a 16450 rather than an 8250, and it's
> quite possible we're being caught by this.
No ELKS works fine with the 16450 UART.
> I can't test this as my T2000 testbed is detected as having 8250
> serial ports, not 16450's, so this could easily be untested behaviour.
Mine is a 16450.
>
> Could you do some tests with it Harry?
>
> 1. Is your serial port an 8250, 16450 or what?
As I said before it is an 16450.
> 2. Does the CSLIP also work at speeds higher than 9600 BPS?
> Here's a table of valid integral speeds and I'd love to
> know which is the highest that actually works for you.
>
The rule is : If your serial works for some speed, CSLIP will work for
it too.
So it is "theoriticaly" posible to use 115200 if you have an 16450. The
problem is that the interupt handler is heavy in ELKS so the interupts
will starve the CPU.
9600 is the highest speed I can have on my 8086. On a 286 I once tried
at the university (I got it online as a web server if you remember)
higher speeds were posible.
>
> I will add that the 8250 is only specified as "below 19,200 BPS" and the
> 14550 is specified as "up to 28,800 BPS" but that doesn't mean that they
> won't work faster than specified.
>
> > The root partition is around 30MB and I have a 1MB swap partition.
> > I'm also running on it constanly a web server (for the fun of it,
> > since with swap we don't have memory shortage problems), serving a
> > copy of the ELKS web site. I also use the web server to get files I
> > need from it. To get files to the ELKS machine I use urlget.
>
> > It is almost eye-wetting to fire an attack of http requests on it
> > and see the little 8086 starting to swap-out some of the vi's and
> > shells running on the 3 consoles, to make room for the httpd's
> > serving the pages.
>
> Any chance you can share your httpd configuration (sans any passwords or
> the like) ???
The httpd is very simple and needs no configuration. Just run it and
place the pages under /usr/lib/httpd
> > (Note that with shared memory every new httpd takes only 4kb, use
> > chmem for this since the linker gives it a 32KB data segment#)
>
> Perhaps that could be made part of the compilation setup in the relevant
> Makefile ???
Yes that is posible.
Harry
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2002-08-03 10:17 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20020727072846Z318708-685+18874@vger.kernel.org>
2002-07-27 8:54 ` elks newbie.....kindly help!! Seemanta Dutta
2002-07-27 9:02 ` Paul Nasrat
2002-07-27 9:18 ` Paul Nasrat
2002-07-27 9:30 ` thanks from elks newbie...!! Seemanta Dutta
2002-07-27 9:37 ` Paul Nasrat
2002-07-30 7:17 ` Seemanta Dutta
2002-07-30 8:17 ` Paul Nasrat
2002-07-31 21:26 ` Dan Olson
2002-07-31 21:53 ` Elks freeze after login Christophe Gimenez
2002-08-01 22:48 ` Riley Williams
2002-08-02 6:07 ` Christophe Gimenez
2002-08-02 12:02 ` Can't compile elksnet Christophe Gimenez
2002-08-02 15:18 ` Elks freeze after login [machine config] Harry Kalogirou
2002-08-02 16:02 ` Pat Gilliland
2002-08-02 19:02 ` Riley Williams
2002-08-03 10:17 ` Harry Kalogirou
2002-07-30 8:22 ` thanks from elks newbie...!! Javier Sedano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox