[FreeVMS] Re: gMach or Linux kernel ?


Subject: [FreeVMS] Re: gMach or Linux kernel ?
From: BERTRAND Joël (joel.k.bertrand@free.fr)
Date: Fri Oct 19 2001 - 16:02:40 CEST


roart@nvg.ntnu.no wrote:

> On Fri, Oct 19, 2001 at 02:29:32PM +0200, BERTRAND Joël wrote:
>
>>roart@nvg.ntnu.no wrote:
>>
>>
>>>On Thu, Oct 18, 2001 at 12:40:21PM +0200, Magne Mæhre wrote:
>>>
>>>
>>>>>>>>>>>>>>>>roart@nvg.ntnu.no wrote (2001-10-18 11:44:15):
>>>>>>>>>>>>>>>>
>>>Or at least decide which kernel to patch against? 2.4.x?
>>>
>>I don't know if we can start before Linus start the 2.5 serie...
>>But I think that the 2.4.13 (Linus-tree, because I think that Linus VM
>>is better than the ac or aa tree...) will be a good kernel.
>>
>
> 2.5 will probably be out before we get to actual kernel-patching.
> The current 2.4s may be varying on VM, but at least some of them is
> supposed to be okay?

        Yes, but the last stable kernel is the 2.4.10 (both 2.4.11 and
2.4.12 have some troubles... The first with the VFS, and the second with
  parport...). And I have seen a bug report about the 2.4.10 (reboot in
certain case ?). When Linus will start the 2.5 serie, I think that all
VM problems will be fixed.

>>>Some subsets of LIB$ and STR$ are already made.
>>>
>>I have seen that a subset of STR$ was written for the old Free-VMS
>>project, but I don't have these sources.
>>
>
> Try
> ftp.lp.se::[free-vms] or an old(?, doubt if anything changed) mirror at
> ftp.nvg.ntnu.no::"/pub/vms/free-vms"

        I have tried, but the disk of the official site has crashed. I will try
the mirror.

>>>Seems the number of parameters in asm-i386/unistd.h goes only to 6
>>>(some VMS system calls has more than 10 parameters).
>>>Anyone who knows how to expand?
>>>(I don't know 386 assembly, and argument expansion is not intuitive as with
>>>some other CPUs)
>>>
>>Maybe with a stack pointer ? I don't think if it is a good solution, but
>>I have often used this solution...
>>
>
> It already does.
> Just have a look at asm-i386/unistd.h and asm-alpha/unistd.h in 2.4.

        I have compared the both files. Both system calls are different but in
the i386 version and in the alpha version of the Linux kernel, no one
system call has more than 6 parameters (I have a 2.2.19 on alpha and a
2.4.10 on i386). I don't know how the i386 works, but with the alpha
version, expand the number of parameters is easy (with register long
_sc_22 __asm__("$22"); for example). I believe that the alpha version
uses registers to put arguments and that the intel version uses a stack
(address int $0x80 ?).

>>PS : new call ;-) Does someone archive this mailing list ?
>>
>
> Will probably.
> But I have deleted older mail than [FreeVMS] gMach or Linux kernel from Oct 16.

        I have keeped all mails...

> -Roar Thronæs

        Regards,

        JKB

-- 
Liste de diffusion FreeVMS
Pour se désinscrire : mailto:freevms-request@ml.free.fr?subject=unsubscribe



This archive was generated by hypermail 2b25 : Wed Oct 24 2001 - 21:39:20 CEST