Subject: Linux-Development Digest #403
From: Digestifier <Linux-Development-Request@senator-bedfellow.MIT.EDU>
To: Linux-Development@senator-bedfellow.MIT.EDU
Reply-To: Linux-Development@senator-bedfellow.MIT.EDU
Date:     Sun, 23 Jan 94 22:13:13 EST

Linux-Development Digest #403, Volume #1         Sun, 23 Jan 94 22:13:13 EST

Contents:
  How do I use physical memory adresses with GCC (Nils Reimelt)
  Re: Upper Memory Blocks ?? (Rob Janssen)
  Re: in2000 compile problems (Rob Janssen)
  Re: cluster-07 anf HPFS (Rob Janssen)
  Re: Kernel swap (Rob Janssen)
  Re: Shared Memory under Linux (Kevin Hsu)
  Re: Linux v1.0: what's in it? (Mike Norman)
  Memory corruption bug SQUASHED! (Eric Youngdale)
  Re: Upper Memory Blocks ?? (Nick Hilliard)
  Commercial Products for Linux???? (Patrick Brewer)
  pl14s runs my hard drive a lot (Jon Green)
  1 Gb Disk under Linux (Arsenio Monteiro dos Reis)
  Re: Subnetting on non byte boundaries (William C Fenner)
  Re: Commercial Products for Linux???? (Dave Hinz)
  SMC Elite 32T Drivers! (Jim Cusick)
  Re: Mitsumi double-speed FX001D (Brian Kramer)
  T130B is here (well sorta) (Kevin Lentin)
  Re: DOSEMU Problem (James MacLean)
  Anyone using a WaveLAN card w/ Linux? (Tony Dal Santo)
  Re: pl14s runs my hard drive a lot (Rob Janssen)
  Pnews comp.os.linux.development (David Simmons)
  Success with PAS16 SCSI with hard drives? (David Simmons)
  Is there a Video7 Win.VGA driver for XWindows? (Jeff Stern)

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

From: nsreimel@cip.informatik.uni-erlangen.de (Nils Reimelt)
Subject: How do I use physical memory adresses with GCC
Date: Sun, 23 Jan 1994 15:15:53 GMT

Hi Folks,


I'm trying to use a framegrabber board under linux, but the package
included only stupid msdos drivers. However, the first thing to 
solve is to have access to the physical memory by using the 
physical adresses. The kernel has already been altered to have
unlimited IO access (not only for the suser). 

The framegrabber maps the picture data (about 1MB) directly to 
the physical memory. The target address can be changed by software.

By the nonexisting documentation of the framegrabber board I guess
that the access works somehow similar to programming the VGA
board directly.

The current Question : How do I access physical adresses from a process ?
A
Send reply to UseNet or to

nsreimel(a)gatekeeper.rhein.de  or to
nsreimel(a)cipx.e-technik.uni-erlangen.de

C
B
A
A
 


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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: Upper Memory Blocks ??
Date: Sun, 23 Jan 1994 14:09:06 GMT
Reply-To: pe1chl@rabo.nl

In <1994Jan20.012319.8694@scorch.hna.com.au> lgarde@scorch.hna.com.au (Leon Garde) writes:

>I had an idea about the memory some motherboards map
>to the 640k-1024k physical address range, what in the dos world
>is called upper memory blocks.


>How about the linux kernel detects these and used them as buffer space ?
> 

>Ok, most motherboard/bios's will not map RAM into these areas,
>giving more extended memory (memory above 1024k ) , but some dont
>and some people like to have their cmos set for a good fast RAM
>abundant DOS configuration. (Though at least one memory manager exists
>that can override the cmos settings by using mmu specific io port operations.
>The one I have seen is 'The Last Byte Memory Manager',in an archive called
>TLB-V220.ZIP  at wuarchive  )

>Some people might like  EMS  capability, but that is a bit too fussy 
>just as trying to override the cmos settings is.

Linux users are generally not hunting for 'the last byte', as they
have no 640K limit.  Areas of 64-128K of extra RAM are generally
considered insignificant, and not worth the trouble of finding out how
to enable them on each of the 10^6 different motherboards out there...

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: in2000 compile problems
Date: Sun, 23 Jan 1994 14:11:34 GMT
Reply-To: pe1chl@rabo.nl

In <2hpsi6$42n@usenet.INS.CWRU.Edu> jet5@pyrite.SOM.CWRU.Edu (Jerod Tufte) writes:

>Since about pl14k or so, I've been unable to get the in2000 alpha driver to
>compile.  I'm not certain if this coincided with an upgrade of my libc or
>not, but it's possible.  these are the errors:
>in2000.c:60: parse error before `('
>in2000.c:69: parse error before `('
>in2000.c:98: warning: function declaration isn't a prototype
>and these are the relevant parts of the code:
>/*here's 60:*/
>static inline unsigned short inw (unsigned short port)
>{
>   unsigned short _v;
>   
>   __asm__ volatile ("inw %1,%0"
>                     :"=a" (_v):"d" ((unsigned short) port));
>   return _v;
>}
>/*here's 69:*/
>static inline void outw( unsigned short value, unsigned short port )
>{
>   __asm__ volatile ("outw %0,%1"
>                        : /* no outputs */
>                        :"a" ((unsigned short) value),
>                        "d" ((unsigned short) port));
>}

>/* this is line 98: */
>int in2000_find_seg()
>        {

>I assume someone who knows the changes that have been made in the 
>libraries and kernels lately better than I will be able to spot the
>errors.  I'd much appreciate it, and will forward it to the author.

It is caused by a change in asm/io.h
You can delete those inline functions and try again, this will
most likely make it work (I have not studied this particular case,
but it was true for other drivers)

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: cluster-07 anf HPFS
Date: Sun, 23 Jan 1994 14:21:30 GMT
Reply-To: pe1chl@rabo.nl

In <habaoch.940122182801@wilbur.eng.auburn.edu> habaoch@eng.auburn.edu (Bao Chau Ha) writes:

>I installed cluster-07, and I could no longer compile the kernel
>with the optional HPFS file system.  I think the function breada
>used in hpfs_fs.c is defined differently than the one cluster-07
>patches the kernel with.

true

>Any hints.

modify the hpfs routines to comply with the different breada...

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: Kernel swap
Date: Sun, 23 Jan 1994 14:22:52 GMT
Reply-To: pe1chl@rabo.nl

In <CK2Cx1.6B3@gte.com> kl01@roger.gte.com (Kurt Long) writes:

>It appears that swap space is no longer limited to 16M per device in pl14
>(pardon if this is an old question).  Any comments?

Yes, this was fixed sometime
Don't you like improvements?

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: hash@cs.umd.edu (Kevin Hsu)
Subject: Re: Shared Memory under Linux
Date: 23 Jan 1994 12:43:40 -0500


I know these will sound like dumb questions:

        - How is shared memory under Linux? If it is implemented, how much
                shared memory is allocatable in a single segment?

        - I need to be able to call functions from shared libraries, WITHOUT
                knowing at compile time specifically which functions I want to
                call. Any ideas on how to implement this?


Kevin Hsu



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

From: mwnorman@bnr.ca (Mike Norman)
Subject: Re: Linux v1.0: what's in it?
Date: Sun, 23 Jan 1994 16:37:00 GMT

What version of the compiler and libraries will I need to
"do" the upcoming Linux v1.0? I am currently running pl13
(with no problems what so ever! This version of 'unix' is
MUCH more stable than any I used a school 7 or 8 years
ago :-).  Should I prepare for v1.0 by moving NOW to a new
compiler and/or library?  What about applications -
what stuff in /bin and /usr/bin will be affected by this?

Thanks in advance,
============
Mike Norman,c/o Bell-Northern Research 
P.O. Box 3511 Station 'C' Ottawa 
Ontario Canada K1Y 4H7 M/S 075      Internet: mwnorman@bnr.ca
tel: (613) 763-7717 FAX: (613) 765-2469
"Hasta la vista, Baby!" A. Schwarzenegger

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

From: eric@tantalus.nrl.navy.mil (Eric Youngdale)
Subject: Memory corruption bug SQUASHED!
Date: Sun, 23 Jan 1994 18:54:19 GMT

        There is a memory corruption bug in later ALPHA versions of pl14, which
can lead to all sorts of really screwy things, including kernel hangs, panics,
you name it.  This only comes up if you use vmalloc, which currently is used
for the ldt (Wine users take note) and for the page tables for swapfiles
(People with swapping enabled take note).  Patch enclosed.

-Eric

*** vmalloc.c.~16~      Sat Jan 22 13:30:25 1994
--- vmalloc.c   Sun Jan 23 13:34:18 1994
***************
*** 67,72 ****
--- 67,73 ----
        set_pgdir(dindex,0);
        mem_map[MAP_NR(page)] = 1;
        free_page(page);
+       invalidate();
        return 0;
  }
  
***************
*** 98,103 ****
--- 99,105 ----
                *pte = pg | PAGE_SHARED;
                pte++;
        } while (--nr);
+       invalidate();
        return 0;
  }
  

-- 
"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."

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

From: nick@quay.ie (Nick Hilliard)
Subject: Re: Upper Memory Blocks ??
Date: Sun, 23 Jan 1994 18:49:30 GMT

Leon Garde (lgarde@scorch.hna.com.au) spoke thus:
: I had an idea about the memory some motherboards map
: to the 640k-1024k physical address range, what in the dos world
: is called upper memory blocks.

: How about the linux kernel detects these and used them as buffer space ?

: Ok, most motherboard/bios's will not map RAM into these areas,
: giving more extended memory (memory above 1024k ) , but some dont
: and some people like to have their cmos set for a good fast RAM
: abundant DOS configuration. (Though at least one memory manager exists
: that can override the cmos settings by using mmu specific io port operations.
: The one I have seen is 'The Last Byte Memory Manager',in an archive called
: TLB-V220.ZIP  at wuarchive  )

: Some people might like  EMS  capability, but that is a bit too fussy 
: just as trying to override the cmos settings is.

: leon

Oh dear.  What horrors hath the DOS mentality wreaked on the minds of men?

Linux is a protected mode 32-bit OS, and uses does not use the BIOS (apart
from bootup).  Concepts sych as LIM, EMS and XMS mean nothing to Linux.  It
is free from the curse of the 64K address segment.  (It has metaphorical
signposts up all over the kernel saying that Bill Gates couldn't possibly
have had anything to do with its design.)

Linux can inherently sees 16 Megs of memory as 16M consecutive bytes.  UMBs,
XMS and EMS and those sort of things are horrible kludges implemented for
DOS to try and make some use of the memory above 640K, however
inefficiently.

Nick
-- 
| Nick Hilliard              | e-mail:   nick@quay.ie                    |
| Quay Financial Software,   | Phone:    [+353] 1 6612377                |
| 48-53, Lower Mount St,     |    The opinions expressed above do not    |
| Dublin 2, Ireland          | necessarily reflect those of my employers |

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

From: noble@garfield.catt.ncsu.edu (Patrick Brewer)
Subject: Commercial Products for Linux????
Date: Sun, 23 Jan 1994 18:13:35 GMT


        I am very curious about the answers to these questions. 

        1. Are there any commercial products that will run under linux? 

        2. Is anyone working on commercial products for linux? 

        3. Do you know of any businesses that use linux? 

        4. Does anyone have a way to guess the installed base of Linux? 
Especially compared to other unix type OS's for PC's. 
=======================================================================
Patrick W. Brewer           CATT Alumni  
noble@catt.ncsu.edu

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

From: jcgreen@iastate.edu (Jon Green)
Subject: pl14s runs my hard drive a lot
Date: 23 Jan 94 20:30:50 GMT

I've recently installed pl14s, and noticed that my hard drive seems to
come on every two minutes or so and run for about 10 seconds or more. I 
assume it is syncing, but it never ran the drive that long before.  Is 
this something new?


-- 
* Jon Green           * "Drums, guitars, and     * Friley 5646 Lorch-Russell *
* jcgreen@iastate.edu *  death. They finally got * Ames, Iowa 50012-0001     *
* Jon2@irc            *  it right." - Butt-Head  * Phone (515) 296-0648      *

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

From: arsenio@mobix.uc.pt (Arsenio Monteiro dos Reis)
Subject: 1 Gb Disk under Linux
Date: Sun, 23 Jan 1994 17:10:03 GMT


Hi! I'm about to buy a new IDE disk to my LX box, is there any
problem about the size of the disk? I just heard that linux can't 
use such a disk, does this make any sense? Replys are really wellcome.

  _                                 emails:
 /_|                                    arsenio@mobix.uc.pt
/  |rsenio Reis                         arsenio@lisbbs.uc.pt  

            --------------------------------------------------
                we all live in a box. Mine is a Linux Box.
            --------------------------------------------------
,


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

From: fenner@cmf.nrl.navy.mil (William C Fenner)
Subject: Re: Subnetting on non byte boundaries
Date: Sun, 23 Jan 1994 21:24:55 GMT

In article <2hsslq$89@peril.zot.apana.org.au>,
Hamish Coleman <hamish@zot.apana.org.au> wrote:
>mmclagan@invlogic.com (Mike McLagan) writes:
>>Does this mean in a .240 subnet masked situation that using the .00 subnet
>>is forbidden?...
>
>Well, I also am sure that both the .00 subnet and the .240 subnet (with the
>.240 mask as above) are _totally_ valid sub-nets ...

I guess you haven't read RFC950.

         It is useful to preserve and extend the interpretation of these
         special addresses in subnetted networks.  This means the values
         of all zeros and all ones in the subnet field should not be
         assigned to actual (physical) subnets.

  Bill
-- 
Bill Fenner                  fenner@cmf.nrl.navy.mil

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

From: daveh@texlab.minmet.mcgill.ca (Dave Hinz)
Subject: Re: Commercial Products for Linux????
Date: Sun, 23 Jan 1994 21:45:48 GMT

Patrick Brewer wrote:

:       I am very curious about the answers to these questions. 
:       1. Are there any commercial products that will run under linux? 
:       2. Is anyone working on commercial products for linux? 

I know that a recent version of the SPEC xray imaging/control software 
package is available for LinuX.  I don't off-hand have the address of the
distributor but I could get more info if requested.

Dave H.


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

From: jcusick@orion.it.luc.edu (Jim Cusick)
Subject: SMC Elite 32T Drivers!
Date: 23 Jan 1994 21:33:00 GMT
Reply-To: jcusick@mail.luc.edu

Hi.
I have an SMC Elite 32T (EISA, 2 Port) Ethernet card that I would like to
use.  SCO sent us some object files that would allow this card to be compiled
into the kernel on their ODT setup.  But I don't see those helping in the     
linux world.  

        -Does any one have any info on this card?
        -Does any one have any contacts at SMC that might be friendly?

Any thoughts would be greatly appreciated.

jim


--

Jim Cusick
Loyola University Chicago    
JCUSICK@MAIL.LUC.EDU 


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

From: bjkramer@remus.rutgers.edu (Brian Kramer)
Crossposted-To: comp.os.linux.help
Subject: Re: Mitsumi double-speed FX001D
Date: 23 Jan 94 16:48:49 GMT

Well, I have the drive, and it works flawlessly under both DOS and windows and
Linux.  Never had any errors at all.


-- 
==========================================================================
Brian Kramer-Computer Science & Mathematics-Rutgers University           
bjkramer@remus.rutgers.edu - bjkramer@njcc.wisdom.bubble.org
SySop:NJ Computer Connection BBS (609)895-0398 - njcc.wisdom.bubble.org

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

From: kevinl@bruce.cs.monash.edu.au (Kevin Lentin)
Subject: T130B is here (well sorta)
Date: 23 Jan 1994 23:02:40 GMT

OK, Andrew Davison and I have got the T130B working under Linux, with ample
help from Drew Eckhardt (much thanks to Drew).

ANyway, to use the T130B WITHOUT INTERUPTS just add 8 to the base port
address that your card is configured to. e.g. my card is jumpered for 0x350
so I use the lilo command line: ncr5380=0x358,254,-1

The 254 is PROBE_IRQ but it won't find any. I actually used
ncr5380=856,254,-1 but I think it understands hex. I now have it compiled
into the kernel by setting the override array in the Makefile to
{{0x358,254,-1}}.

I have almost all the info I need to get interupts going I think, and when
it is done, I will try put out a specific T130B driver.

-- 
[==================================================================]
[ Kevin Lentin                   |___/~\__/~\___/~~~~\__/~\__/~\_| ]
[ kevinl@bruce.cs.monash.edu.au  |___/~\/~\_____/~\______/~\/~\__| ]
[ Macintrash: 'Just say NO!'     |___/~\__/~\___/~~~~\____/~~\___| ]
[==================================================================]

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

From: jmaclean@fox.nstn.ns.ca (James MacLean)
Subject: Re: DOSEMU Problem
Date: 23 Jan 1994 20:44:04 -0400

In article <1994Jan18.000816.1786@infodev.cam.ac.uk> Chris Royle <car1002@cus.cam.ac.uk> writes:
>From: Chris Royle <car1002@cus.cam.ac.uk>
>Subject: DOSEMU Problem
>Date: Tue, 18 Jan 1994 00:08:16 GMT
>When I type
>
>dos -A > /dev/null
>
>with dosemu 0.49
>
>The screen flickers violently, displays my video BIOS startup message, and
>hangs. It also flashes the floppy drive with boot disc in it once.
>
>I can switch consoles and kill the dosemu, but otherwise, it seems a bit
>crashed to me...
>
>Chris.
>
>--
>Chris Royle               "In the sex war, insensitivity is the weapon of the
>Managing Director          male, vindictiveness of the female". C. Connoly (?)
>Objectronix Limited       c@royle.org              (Internet)
>Leeds, UK 0850 668151      car1002@uk.ac.cam.hermes (JANET)

Hi :-),

  As Robert pointed out, but I'll restate incase, please try adding

ports { 0x42 }

in your /etc/dosemu/config file. Many different cards want to do some timing 
fun on their initialization, and this should (stressing should) fix it :-)

If not, please send a debug of a full debug on session, i.e. :

dos -D+a >debug

and I'll take a look at that :-).

Later,
JES
--
James MacLean
Nova Scotia, Canada
jmaclean@fox.nstn.ns.ca

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

From: tony@mtu.edu (Tony Dal Santo)
Subject: Anyone using a WaveLAN card w/ Linux?
Date: 23 Jan 1994 20:02:26 -0500

I was wondering if anyone has developed a Linux driver for the
WaveLAN (or AIRLAN) wireless ethernet card?  I may start one when
the specs arrive if someone hasn't done one yet.

Thanks,
Tony Dal Santo

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: pl14s runs my hard drive a lot
Date: Sun, 23 Jan 1994 23:12:32 GMT
Reply-To: pe1chl@rabo.nl

In <jcgreen.759357050@boris.tele.iastate.edu> jcgreen@iastate.edu (Jon Green) writes:

>I've recently installed pl14s, and noticed that my hard drive seems to
>come on every two minutes or so and run for about 10 seconds or more. I 
>assume it is syncing, but it never ran the drive that long before.  Is 
>this something new?

Don't notice that here...  Of course it is accessed sometimes, but not
for 10 seconds...

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: simmons@EE.MsState.Edu (David Simmons)
Subject: Pnews comp.os.linux.development
Date: 24 Jan 1994 01:41:15 GMT
Reply-To: simmons@EE.MsState.Edu

Has anybody been successful in getting a hard drive to work with the
ProAudioSpectrum-16 SCSI port, after recompiling the kernel for it?
With networking at the same time?  Is the PAS16 SCSI code in the kernel
intended just for CD-ROMS?

Thanks...

-- 
David Simmons, System Administrator                 simmons@ee.msstate.edu
Mississippi State University Electrical and Computer Engineering
"Linux:  Because a PC is a terrible thing to waste."                  

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

From: simmons@EE.MsState.Edu (David Simmons)
Subject: Success with PAS16 SCSI with hard drives?
Date: 24 Jan 1994 01:50:21 GMT
Reply-To: simmons@EE.MsState.Edu

Has anybody been successful in getting a hard drive to work with the
ProAudioSpectrum-16 SCSI port, after recompiling the kernel for it?
With networking at the same time?  Is the PAS16 SCSI code in the kernel
intended just for CD-ROMS?

Thanks...

P.S. Apologies for the previous article...  an accident with cut and paste.

-- 
David Simmons, System Administrator                 simmons@ee.msstate.edu
Mississippi State University Electrical and Computer Engineering
"Linux:  Because a PC is a terrible thing to waste."                  

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

From: jstern@eclectic.ss.uci.edu (Jeff Stern)
Subject: Is there a Video7 Win.VGA driver for XWindows?
Date: 24 Jan 1994 02:09:11 GMT

Is there a driver available for this accelerator card, or is there
someone working on a driver?  I'd just like to know, since as it is I
can only get it running with the 16-color driver in XWindows on Linux,
and I need more that, since I'm going to run avs remotely.

Thanx in advance,

===========================================================================
Jeff Stern    jstern@eclectic.ss.uci.edu
===========================================================================






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


** 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: Linux-Development-Request@NEWS-DIGESTS.MIT.EDU

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

    Internet: Linux-Development@NEWS-DIGESTS.MIT.EDU

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
******************************
