new stuff

David Mosberger-Tang (davidm@cs.arizona.edu)
Sun, 30 Jul 1995 14:38:23 -0700


There are some new files on my ftp site:

directory: ftp://ftp.azstarnet.com/pub/linux/axp/sys
files:
-rw-r--r-- 1 axplinux axplinux 11925 Jul 30 13:54 axp-diff-1.3.13-noname.gz
-rw-r--r-- 1 axplinux axplinux 8165 Jul 30 14:13 ftape-2.03b-axp.patch.gz
-rw-r--r-- 1 axplinux axplinux 433781 Jul 30 13:59 vmlinux-1.3.13.gz

axp-diff-1.3.13-noname.gz:
Contains all the patches to fix the x86 1.3.13 source tree so
it works on the Alphas (Noname is the only thing I can test).
In particular, it contains patch by Linus to fix the timeout
problems that caused random EOFs. It also has the 3com 503 (?)
patch that was posted to linux-alpha (I don't have such a network
card, so this is untested). Also, I cleaned up the way ptrace
is implemented (or so I would like to think---Bob and/or Linus
may disagree). It turned out that the new v1.2 SRM console has the
year-bug fixed (it is no longer necessary to subtract 42 to get
the correct year). The source has been updated accordingly---you'll
need to define ALPHA_PRE_V1_2_SRM_CONSOLE if you're running an older
console (see kernel/time.c). I split up linux/ioctl.h into
platform-specific files as Linux/Alpha and Linux/x86 differ in
the way the direction bits are encoded. There are also some
module-related changes and, in fact, we now have a portable (but
slower) insmod/rmmod that seems to work quite well already
(see more on this below).

I should emphasize that these are "unofficial" patches---in
particular the ioctl and module stuff may change when/if Linus
integrates them into the official source tree. But if you avoid
those areas, you should be on pretty safe ground. I have been using
this kernel for a few days now and haven't seen any unexpected problems.

ftape-2.03b-axp.patch.gz:
[ftape is the floppy-tape driver for QIC-80 type tapes]
A patch to make ftape work under Linux/Alpha. It's mostly
replacing longs by __u32 etc. The only non-trivial change
was that I had to change the timer-calibration in calibr.c.
This was necessary because Linux/Alpha does not use "system
timer 0" to generate the system clock tick. Because of that,
this timer has absolutely nothing to do with the system
constant HZ. Notice that this patch assumes that the
ioctl patch in axp-diff-1.3.13-noname.gz has been applied
already (otherwise, there some macros will be missing when
compiling under x86).

I tested ftape as a module and it seems to work perfectly
fine except that it has the bad habit of causing segfaults
in user-level processes. For example, if I run gcc at the
same time as ftape, gcc will randomly crash with a segfault.
I suspect that user-level register values get trashed
somehow (the gp register is my prime suspect), but I haven't
been able to find the bug yet. In any case, as long as you
don't run other processes simultaneously, ftape works fine
(and I'm very glad that I finally have a backup of my
system... :).

Finally, I also got emacs-19.29 compiled under Linux/Alpha. This has
the advantage that pseudo-terminals work properly. Also, ange-ftp
works just fine with it (it didn't work for me with the emacs on
grocne). I'll put together a patch and binary distribution as soon as
I can find some time.

Enjoy,
--david