Subject: Linux-Development Digest #200
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Wed, 21 Sep 94 08:13:06 EDT

Linux-Development Digest #200, Volume #2         Wed, 21 Sep 94 08:13:06 EDT

Contents:
  Source Code (Matt Fredrick Kraft)
  Re: Linux on CD ([email-masked])
  Re: integer sizes  was Re: Alpha Linux (GARY K BARNES)
  Re: 1.1.51 breaks shutdown's unmount (Anup M Changaroth)
  Re: Netware Client (Mark Evans)
  Re: Pascal for Linux?? (Emarit Ranu)
  Re: Features Register for use with EIDE driver (Mark Lord)
  Re: Hayes ESP driver? (Chris D Fanning)
  "guide" (xviews) for Linux ? (Andrew Davison)
  Re: "guide" (xviews) for Linux ? (Klaus Schniedergers)
  What user interface to use??? (Tony Schwartz)
  Re: Netware Client (Pete Chown)
  still floppy problems with 1.1.51, details inside (Steve DuChene)
  Driver for Adaptec AHA2842 (Yury German)
  Re: Pascal for Linux?? (williams)
  Re: Netware Client (Ken Latta)
  Q: Pro-Sonic-16 soundcard problem ([email-masked])

----------------------------------------------------------------------------

From: [email-masked] (Matt Fredrick Kraft)
Subject: Source Code
Date: 20 Sep 1994 14:57:14 GMT

        could anyone tell me where I can get the orig. Source code for linux 
        I need an FTP sight with Source and Docs. availiable. Some ambitious fri        ends of mine and I are going to try to port Linux to Power Mac Bin for a        science Fair project. Thanks in Advance. 
                                                Matt Kraft
                                                University of Louisville

------------------------------

From: [email-masked]
Subject: Re: Linux on CD
Date: 21 Sep 1994 00:34:21 -0400
Reply-To: [email-masked]

:In article [email-masked],  [email-masked] (Rob Janssen) writes:
:=>In <[email-masked]> [email-masked] writes:
:=>
:=>>I was having a chat with someone over the net and we came to this..
:=>>What if Linux came fully implemented (X & all the disk sets) on a CD and
:=>>all you would have to do is boot off the CD rom and have the
:=>>settings/option files (ie ~/.seyon inittab & the rc scrips) in your HD.
:=>
:=>>I mean, this would save a lot of diskspace ;)
:=>
:=>There are several CD-ROMs available that allow you to do this...
:=>
:
:I can confirm this. I tried it with the TransAmeritech CD, release April 1994.
:[DELETED]
:I think it's more reasonable to have the often used stuff on your HD, and the
:less used stuff you can run from CD-ROM.
:
:How do other people feel about running from CD-ROM? I do like the idea of
:saving HD-space, but it becomes too slow for me to be usable.

What I think (for what it's worth) would be useful would be
the ability to merge the CD-ROM's directory with the HD's and
the HD's files would take precedence.  That way if you want to
make a change or just want the speed of the HD you could copy
the file(s) to the HD in the same spot (directory and file name).
Just a vague thought...

Alan Pinkerton
[email-masked]

:regards,
:
:AKr

------------------------------

From: [email-masked] (GARY K BARNES)
Crossposted-To: comp.lang.c
Subject: Re: integer sizes  was Re: Alpha Linux
Date: 20 Sep 1994 19:44:17 +0100

In article <[email-masked]>,
Andrew Bulhak <[email-masked]> wrote:
>Steven A. Reisman ([email-masked]) wrote:
>: Albert D. Cahalan ([email-masked]) wrote:
>
>: : Why drop one? 
>
>(8 bits = char)
>: : 16 bits = short int
>: : 32 bits = int
>: : 64 bits = long
>
>:  128 bits = long long   :)
>
>This may merit discussion on comp.lang.c. Sooner or later, we will need
>more sizes, as soon as somebody makes a 128-bit CPU.

I just had great fun getting ufc-crypt and Crack to compile on 
an Alpha. (Mind you, I did get a little help from Alec *8-])

I have to say it's worth it though, I now have a version of
crack that uses 64 bit integers and a ufc-crypt that can crypt
at about 4500 fcrypts/sec

Just to relate this to linux a little, cracking a passwd file on my
386dx25 Linux box took 5hrs 40mins to do the 1st (gecos) pass, whereas
it took 13mins 25secs to do the same pass on an Alpha running OSF/1 2.1.

Gaz
-- 
 /\./\   [email-masked] (Gary "Wolf" Barnes)
( - - )  Computer Officer, News Administrator
 \ " /   University of Wales, Aberystwyth
  ~~~    "It's just a ride..." - Bill Hicks

------------------------------

From: [email-masked] (Anup M Changaroth)
Subject: Re: 1.1.51 breaks shutdown's unmount
Date: 20 Sep 94 18:34:26 GMT

[email-masked] (David Flood) writes:

>I just patched my 1.1.50 up to 1.1.51 and now the unmount during the shutdown
>command bombs.  It happens during both -h and -r.  During the next boot, fsck

Like Rob says, it only happens _once_ on a freshly booted kernel.
(umount with any of the filesystems seg faults). Thereafter, deleting
the mtab lock file, mount/umount seems to work just fine.

-- 
 Anup M. Changaroth                URL "http://web.cs.city.ac.uk/finger?aa160"
 [email-masked]                  L i n u x - t h e l o g i c a l c h o i c e

------------------------------

From: [email-masked] (Mark Evans)
Subject: Re: Netware Client
Date: Tue, 20 Sep 1994 20:38:30 GMT

Alan Cox ([email-masked]) wrote:
: In article <[email-masked]> [email-masked] (Timothy Weaver) writes:
: >stuff. Of course, if Novell has a patent on any of their software routines
: >then it won't matter whether you accidently happen to create a driver that
: >does its work the same way, they can sue you if you infringe on a patent.

: As far as I can tell they don't. If they do then you just release the
: software to the free world and only the USA will be forbidden from using it.

As I have about a hundred pages of C and C++ code (mostly from the userfs package)
do not expect a netware client in a hurry. 

------------------------------

From: [email-masked] (Emarit Ranu)
Subject: Re: Pascal for Linux??
Date: 20 Sep 1994 14:58:32 GMT

Heinz Kranefeld ([email-masked]) wrote:
: In article <[email-masked]>, [email-masked] (williams) writes:
: |>    I was wondering if anyone knows of a Pascal compiler that is available
: |> for Linux.. Please give me a pointer. Thanks!
: |>            --Zach
: There is an pascal to c converter.

        There is a GNU pascal compiler called "gpc", use archie to find it
        though I think sunsite has it somewhere.  Works like a charm
        only it creates binarys as large as 40k just to writeln('hello');!

        Enjoy!

--
        -Emarit       [email-masked]

        KG0CQ    _._  __.  _____  _._.  __._

------------------------------

From: [email-masked] (Mark Lord)
Subject: Re: Features Register for use with EIDE driver
Date: 20 Sep 1994 19:07:38 GMT

In article <[email-masked]> [email-masked] writes:
...
>To put the controller into a new PIO mode, you have to issue 
>the set features command, with the feature in the 'features' 
>register, however I am not sure what the proper port address is
>for the features register...

The features register is a write-only port, mapped to the same
address as the read-only error register.  The error register is
defined in linux/hdreg.h
-- 
[email-masked]    Mark Lord       BNR Ottawa,Canada       613-763-7482

------------------------------

From: [email-masked] (Chris D Fanning)
Subject: Re: Hayes ESP driver?
Date: 21 Sep 1994 06:00:18 GMT

Chris D Fanning ([email-masked]) wrote:
[ oddly enough, nothing ]

<groan> I hate this system... argh.  Let's try this again... :)

Is there anyone out there working on a driver for the Hayes ESP serial
cards?  For those who don't know, the ESP card has 1024 byte send and
recieve buffers, uses DMA to do transfers, supports speeds to 900something
Kbps and does hardware handshaking.  Hayes also has provided a developer
kit "free" on CompuServe (which I downloaded but haven't gotten to looking
at..) on CompuServe. More specifically, I'm talking about Hayes ESP v2.0
cards.

I like the card very much and want to run it under Linux.  (When I finally
figure out how to get it to work with my hardware...)  The card is
very fast, and I'm guessing, very unsupported.  If such a driver doesn't
exist, or if someone isn't working on it, I might take up the project.
This is assuming:  1) I get Linux working on my machine  2) I'm not
overwhelmed when I look at the toolkit and Linux serial drivers (not
likely)  and finally 3) there's sufficient interest.

Anyone?

Thanks,
Chris

------------------------------

From: [email-masked] (Andrew Davison)
Subject: "guide" (xviews) for Linux ?
Date: 21 Sep 1994 07:36:40 GMT

Do anyone know of a linux port of the "guide" GUI builder for XView ? I know
that Sun versions exist, and am a little concerned that it might be a Sun
commercial venture. 

I'm trying to compile an application which has been written using guide
and have hit a wall you might say...

Regards,
        Andy

------------------------------

From: [email-masked] (Klaus Schniedergers)
Subject: Re: "guide" (xviews) for Linux ?
Date: 21 Sep 1994 08:25:18 GMT
Reply-To: [email-masked]

>>>>> "Andrew" == Andrew Davison <[email-masked]> writes:
    Andrew> Do anyone know of a linux port of the "guide" GUI builder
    Andrew> for XView ? I know that Sun versions exist, and am a
    Andrew> little concerned that it might be a Sun commercial
    Andrew> venture.
The 'Guide' UI-Builder is a commercial product from Sun, I doubt that
there is a Linux version at all.
-- 
Klaus Schniedergers, OSS Design, [email-masked]
<A HREF="http://www-eed.ericsson.se:8001/org/b/eedksc.html"> Me </A>

------------------------------

From: [email-masked] (Tony Schwartz)
Crossposted-To: comp.os.linux.admin
Subject: What user interface to use???
Date: Tue, 20 Sep 1994 12:10:37

When do dial into your local ISP using a standard terminal connection, what 
software is used to providet the menuing, ability to do internet functions 
like telnet, ftp, gopher, etc???

Recommendations please and locations on obtaining these....

Thanks
Tony Schwartz

------------------------------

From: [email-masked] (Pete Chown)
Subject: Re: Netware Client
Date: Tue, 20 Sep 1994 12:10:47 GMT

In article <[email-masked]> [email-masked] (Timothy Weaver) writes:

> In article <[email-masked]>, [email-masked]
> (Rafal Maszkowski) wrote:
>
> > Just curiosity: can the author be sued for writing or distributing
> > a client written [ by reverse engineering Novell code or obtaining
> > protocol details from published work ]?
>
> ... If you start reverse engineering [ Novell's ]
> drivers, the law is much more gray. Some courts have said you can't do it
> at all and some courts have said that if you make that kind of effort, it
> is ok.

This is US law.  A quick glance at the references field suggests that
European law is more likely to be relevant.  This is governed by EU
Directive 91/250 (Council Directive on the Legal Protection of
Computer Programs):

> Article 6: Decompilation
>
> 1.  The authorisation of the rightholder shall not be required where
> reproduction of the code and translation of its form within the
> meaning of Article 4(a) and (b) are indispensable to obtain the
> information necessary to achieve the interoperability of an
> independently created computer program with other programs, provided
> that the following conditions are met: ...

The clarity and grammar of the above leave something to be desired,
but essentially it is saying that it is permissible to reverse
engineer to achieve the interoperation of two programs.  Presumably
a Netware server and client satisfy this.

> Of course, if Novell has a patent on any of their software routines
> then it won't matter whether you accidently happen to create a driver that
> does its work the same way, they can sue you if you infringe on a patent.

Software patents don't work in Europe.  If the GATT is ever
implemented (which I am inclined to doubt, even though it has been
signed), it appears that this will change.

Interestingly, Novell almost committed an offence under the Patents
Act 1977 (in the UK), because they claimed that their product was
protected by a patent when this was not so.  The patent they claimed
presumably existed, but only in the US.  I was just looking forward to
having them summoned before the Clerkenwell magistrate to explain why
they were making a false claim of patent rights, when I discovered
that the Act is badly phrased and allows you to claim patent
protection even when the patent in question is foreign and so of no
consequence.
--

==========================================================================
[email-masked]          "The Pen is mightier than the Quill"
                                      -- anonymous

------------------------------

From: [email-masked] (Steve DuChene)
Subject: still floppy problems with 1.1.51, details inside
Date: 20 Sep 1994 00:08:38 -0400

        Ok, folks I upgraded from 1.1.51 this afternoon hoping to see some
        improvement in the errors I have been getting with a 1.1.39 kernel
        I have been running. Kernel patching from the 1.1.45 source tree 
        to 51 went fine. I applied the util and bsd patches from the 940902 
        ibcs ALPHA release and compiled the result. Other than a lot of 
        complaints about a function declaration in include/ibcs/ibcs.h 
        everything was real clean. After booting I tried mounting one of the 
        1.743Mb ext2 floppies I use for archiving. It mounted fine and the 
        output from df (shown below) looked great. The form of mount command
        I used was "mount -t ext2 /dev/fd0H1743 /mnt/flop".

        Filesystem         1024-blocks  Used Available Capacity Mounted on
        /dev/hda1             321516  243030    61880     80%   /
        /dev/hda3             178728  131036    47692     73%   /usr/msdos
        /dev/fd0                1683    1647       36     98%   /mnt/flop
 
        I then issued a "umount /mnt/flop" and got the following error output
        to the console:

        EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
        Unable to handle kernel NULL pointer dereference at virtual address c0000000
        current->tss.cr3 = 00c2a000, %cr3 = 00c2a000
        *pde = 00102027
        *pte = 00000027
        Oops: 0000
        EIP:    0010:0017324c
        EFLAGS: 00010246
        eax: 00170000   ebx: 00000000   ecx: 00000000   edx: 00170000
        esi: 00c2fed4   edi: 00c2fed4   ebp: 00000000   esp: 00c2fea8
        ds: 0018   es: 0018   fs: 002b   gs: 002b   ss: 0018
        Process umount (pid: 68, process nr: 18, stackpage=00c2f000)
        Stack: 001a024c 001a0002 00126193 00c2fed4 00000000
        Code: f6 01 02 74 0d 0f b7 46 10 50 e8 a1 ed fa ff 83 c4 04 be 88

        So I then used "df" to see what was going on with the mount table and
        got the following from that:

        Filesystem         1024-blocks  Used Available Capacity Mounted on
        /dev/hda1             321516  243031    61879     80%   /
        /dev/hda3             178728  131036    47692     73%   /usr/msdos
        /dev/fd0              321516  243031    61879     80%   /mnt/flop
        
        You may notice the similarity between the first and third line for the 
        above table! I looked through the zSystems file in /usr/src/linux/tools
        directory for the 1.1.51 source tree and got the following:

        00171e48 t _fd_copyout
        00171e98 t _poll_drive
        00171f38 t _drive_name
        00171fa8 t _raw_cmd_ioctl
        001722a8 t _invalidate_drive
        00172368 t _fd_ioctl
        00172e88 t _set_base_type
        00172f48 t _config_types
        00173038 t _maybe_check_change
        001730a8 T _floppy_is_wp
        001730e8 t _floppy_read
        00173178 t _floppy_write
        00173228 t _floppy_release   <<<<<<<  after this
        001732f8 t _floppy_open      <<<<<<<< before this...
        00173648 t _ack_change
        001736c8 t _check_floppy_change
        001737e8 t _floppy_revalidate
        00173958 t _get_fdc_version
        00173ae8 T _floppy_init
        00173d98 T _floppy_grab_irq_and_dma
        00173e38 T _floppy_release_irq_and_dma
 
        I have arrowed the relevant area. In case it makes any difference I have a 
        Gateway-2000 P4D-100 (486DX/4-100 PCI) system with a 540Mb harddrive. The
        floppydrive is identified as a "FDC 0 is a post-1991 82077" at bootup. If 
        anyone needs any more info from me let me know. Sorry this got so long but
        I didn't want to leave out any details that might be needed. I will be 
        trying a 1.44Mb ext2 floppy later to see if the same thing occurs with that.
        As I remember I tried unmounting with "umount /dev/fd0H1743" and the same
        thing occurred but I will check to make sure and follow this posting up with 
        the results from those two tests.
-- 
| Steven A. DuChene   [email-masked]  or  [email-masked]      
| Youngstown State University  | Computer Science / Math / Mech. Eng.
|-------------------------------------------------------------------
|       Friends don't let friends do DOS

------------------------------

From: [email-masked] (Yury German)
Subject: Driver for Adaptec AHA2842
Date: Fri, 16 Sep 94 17:38:08 EST

Hello All!!!

Need some help... I am going to change the SCSI2 Card in my computer since
the one I have is obviously not supported and not going to be supported.
Is the driver for AHA2842 from Adaptec (VLB Card) available yet?????

I have looked in the ALPHA directory mentioned under SCSIDOC HOWTO but
could not find anything! 
I would appreciate if someone would respond and let me know the current
status before I go plunk another $300 :-)

Thanks for the Help

   -------------------------------------------------------------------
          Yury German                    [email-masked]
      Blue Knight Productions         [email-masked]
    Graphics Design, 3D Animation     [email-masked]
       CD-ROM Development                  (718)321-0998

------------------------------

From: [email-masked] (williams)
Subject: Re: Pascal for Linux??
Date: 20 Sep 1994 16:24:00 GMT

Emarit Ranu ([email-masked]) wrote:
: Heinz Kranefeld ([email-masked]) wrote:
: : In article <[email-masked]>, [email-masked] (williams) writes:
: : |>    I was wondering if anyone knows of a Pascal compiler that is available
: : |> for Linux.. Please give me a pointer. Thanks!
: : |>          --Zach
: : There is an pascal to c converter.

:       There is a GNU pascal compiler called "gpc", use archie to find it
:       though I think sunsite has it somewhere.  Works like a charm
:       only it creates binarys as large as 40k just to writeln('hello');!

:       Enjoy!

   Great!  Thanks for all the fast responses!
                        --Zach

------------------------------

From: Ken Latta <[email-masked]>
Subject: Re: Netware Client
Date: Tue, 20 Sep 94 13:42:42 PDT

In article <[email-masked]>, <[email-masked]> writes:
> In article <[email-masked]> [email-masked] (Timothy 
Weaver) writes:
> >stuff. Of course, if Novell has a patent on any of their software 
routines
> >then it won't matter whether you accidently happen to create a driver 
that
> >does its work the same way, they can sue you if you infringe on a 
patent.
> 
> As far as I can tell they don't. If they do then you just release the
> software to the free world and only the USA will be forbidden from using 
it.
> 
> Alan

I'm not a lawyer so don't take any of this to the bank. In the past I wrote 
some patent applications for a Patent Agent, who never tired of reminding 
me that software is not patentable, at least in the USA. The use of 
software to achieve a particular behavior by a machine is patentable. The 
code is not protected, only the way in which it is used. In other words, 
you can borrow all the patent covered code you want, you just have to make 
it work differently in a way that is not obvious. Or you can try proving 
that the patent should never have been issued.

And that's enough of this damned lawyer talk,

Ken

------------------------------

From: [email-masked]
Subject: Q: Pro-Sonic-16 soundcard problem
Date: Fri, 16 Sep 1994 14:15:00 +0200

Hi Folks !

I installed a ProSonic16 Soundcard in my computer some days ago and
it works fine under DOS. It is set up for the appropiate IRQ/DMA/PORT by
a small device-driver. Under Linux it is only recognized after a DOS-Boot,
because of the DOS-device-driver that configures the card.
How can i setup the card from the Linux-Sounddriver ???

Ciao
  Higgins

--
You can escape the gates of hell, say DOG and WINDOG,

         USE LINUX   :-)     !
## CrossPoint v3.0 ##

------------------------------

** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [email-masked]

You can send mail to the entire list (and comp.os.linux.development) via:

    Internet: [email-masked]

Linux may be obtained via one of these FTP sites:
    nic.funet.fi				pub/OS/Linux
    tsx-11.mit.edu				pub/linux
    sunsite.unc.edu				pub/Linux

End of Linux-Development Digest
******************************