Re: CVS status

Riley Williams
2002-07-15T05:39:53Z

Hi Harry, Paul.

>>> Mmmm.. this might was the problem with ktcp not working all this
>>> time (actualy stty before ktcp)...

>> I've now applied this patch and tested it, and on my 286 based
>> laptop, ELKS now boots and ktcp works again, so basic testing says
>> that this problem can now be declared to be fixed.

> Ok.

I'll add that this particular bug was as frustrating as they come. I'd
been going through each file one at a time and reverting the changes I'd
made to that file, then compiling the result, and nothing I did made the
slightest difference to getting it working again. I'd already reverted
serial.c without success as well !!!

I had determined that the problem was with the stty command and posted
an email to that effect to this list some time back. I managed this by
tweaking the /etc/rc.d/rc.sysinit script to deal with this case in the
same way that the Red Hat Linux scripts deal with multiple-stage items,
and the relevant patch was committed to the elkscmd tree some time ago.
It's enclosed below for your reference. The resulting display failed to
display the stty before panicking, hence my determining that there was
at least a problem at this stage...

===============8<=============== CUT ===============>8===============

Index: rootfs_template/etc/rc.d/rc.sysinit
===================================================================
RCS file: /cvsroot/elks/elkscmd/rootfs_template/etc/rc.d/rc.sysinit,v
retrieving revision 1.1
diff -u -5 -r1.1 rc.sysinit
--- rootfs_template/etc/rc.d/rc.sysinit 26 Jan 2002 11:17:43 -0000 1.1
+++ rootfs_template/etc/rc.d/rc.sysinit 15 Jul 2002 05:34:59 -0000
@@ -12,26 +12,28 @@
sliptty=/dev/ttys0
ttybaud=4800

if test -f /bin/ktcp
then
- echo -n "Starting kernel network facilities: TCP/IP"
+ echo -n 'Starting kernel network facilities:'
stty $ttybaud < $sliptty
+ echo -n ' stty'
ktcp $localip $sliptty &
+ echo -n ' ktcp'

- echo .
+ echo ''

- echo -n "Staring network daemons: "
+ echo -n "Starting network daemons: "
- for daemon in httpd
+ for daemon in ftpd httpd
do
if test -f /bin/$daemon
then
- echo -n " $daemon"
$daemon &
+ echo -n " $daemon"
fi
done
- echo .
+ echo ''

fi

#
# View message of day

===============8<=============== CUT ===============>8===============

In case you haven't guessed, I'm working on an ftpd daemon and have also
modified the above for when that is ready...

>> Harry: I've committed this to the CVS along with the CHANGELOG
>> entry, and relabelled it as kernel 0.1.1-pre3 so if you can do your
>> usual and set up a release thereof, it'd be appreciated. I've also
>> tagged this as elks-0_1_1-pre3 as a version marker.

> I'm not going to make a release since I can't create images normaly.

Fair enough. The label is there anyway.

Actually, a reasonable release could be made by taking your images.zip
file, extracting each image out, mounting it and copying the revised
/etc/rc.d/rc.sysinit and the newly compiled kernel over the ones there,
then uploading the result.

>> We're probably close to a 0.1.1 release, but there's a few issues I
>> want to clear up before we do that...

With the progress that has been made over the last few days, we can
expect to be ready for 0.1.1 before the month finishes...

Best wishes from Riley.