Subject: Linux-Development Digest #38
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:     Thu, 18 Aug 94 06:13:06 EDT

Linux-Development Digest #38, Volume #2          Thu, 18 Aug 94 06:13:06 EDT

Contents:
  Any way to determine graphics board type on the fly? (Highlander)
  NCR 77C32BLT (Genoa Hornet) Support? (DahlinSmithWhite)
  Re: Help linking curses in C++ (Bjorn R L Elenfors)
  Matrox Ultima drivers???? (Tony Butler)
  Re: Objc+linux+gcc=link error? ..... (Matthias Urlichs)
  Novell interfacing experience?  Anyone using samba? (Zaphod Beeblebrox)
  Where to get RCS _source_ (Thomas B. Pedersen)
  Re: Objc+linux+gcc=link error? ..... (H.J. Lu)
  MGA+XInside: Comments? (Michael Teper)
  Re: 1.1.43 won't link on my system (Jouni A Kosonen)
  [FIX] 1.1.43 broke bootlin (Stephen F. Rothwell)
  Re: Future of Linux (Michael Stevens)
  Re: Ramdisk gone in 1.1.38-> kernels (Kevin Lentin)
  Re: Where to get RCS (Tom Griffing)
  Re: NFS errors (Rob Janssen)
  Re: GP faults (Rob Janssen)
  Re: TCPIP sockets suddenly got "debug" set (1.1.19) (Rob Janssen)
  Re: Novell interfacing experience?  Anyone using samba [instead]? (Michael Griffith)
  Re: Help linking curses in C++ (Sluijtman)

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

From: tabaer@magnus.acs.ohio-state.edu (Highlander)
Subject: Any way to determine graphics board type on the fly?
Date: 17 Aug 1994 19:17:47 GMT

As part of my internship at NASA/Lewis, I'm examining integrating Linux
into the Lewis distributed computing environment.  One of the things
this involves is looking at ways to determine hardware configuration
from a shell script.  Some of this, like the kernel revision number,
can be found using uname, and other, like the number of CPUs, is
obvious.  However, I'm trying to find a user-transparent way of
determining the what kind of video hardware a machine has.  I had
thought SuperProbe might do this, but it has the potential to hang the
machine and tends to interrupt X for a second or two, neither of which
is acceptable.

Any other ideas?  This doesn't have to be terribly sophisticated, at
least to start with.

        --Troy
+--------------------+------------------------------------------------+
|   Troy A. Baer     | "My soul is painted like wings of butterflies, |
| Senior, Aero. Engr.|  Fairy tales of yesterday, grow but never die, |
| DOS?!? Try Linux!! |  I can fly, my friends!"  --Brian May          |
+--------------------+------------------------------------------------+

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

From: dswi@xmission.com (DahlinSmithWhite)
Crossposted-To: comp.os.linux.help,comp.os.linux.misc,comp.os.linux.admin
Subject: NCR 77C32BLT (Genoa Hornet) Support?
Date: 17 Aug 1994 13:36:07 -0600

[Sorry to cross-post to so many groups, but the people who can 
answer this seem to be few and far between. Hopefully one of them
will read one of these groups.]

I just bought a Genoa Hornet VLB (NCR 77C32 chipset) video card, and I see
that XFree86 does not yet support it. There is support for previous
versions of the chipset (the NCR 77C22), but not this one. So, a few
questions: 

- has anyone gotten XFree86 (under Linux) to work with this video
  board, or with this chipset? Is is compatible with any of the generic 
  drivers (SVGA or VGA16), or some other chipset?

- who does the driver development? Is this something that anyone
  can get involved in, or is it only the X people? Has development of a
  driver been started (so as to not duplicate efforts)?

- where can I get information on developing drivers for X-windows?

- I've talked to the people at NCR, and they are willing to 
  "license" source code to me of their drivers. However, I'm sure
  they wouldn't get too excited about the GNU license. So, do most
  of the X drivers get done from scratch? NCR will provide me with 
  all the documentation I need, so it shouldn't be too difficult
  to develop a driver. What kind of information do I need to get
  from them? From Genoa?

Any pointers and/or tips will be greatly appreciated.

Thanks.
Pete.
pete@dswi.com


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

From: d91bjoel@ida.liu.se (Bjorn R L Elenfors)
Subject: Re: Help linking curses in C++
Date: Wed, 17 Aug 1994 19:12:32 GMT

miguel@bss80.cb.att.com (na8530b00-Rivera) writes:

>I am having trouble with curses/ncurses and g++. I tried to use the CursesWindow class 
>and when I compile the program it show all the curses symbols undefined in the
>g++ library. It seems that the linker is not picking up the symbols from the
>curses library. BTW, I am including the curses library in the g++ command line.

If you have the debug flag active it may cause a problem, as there don't 
seem to bee any debug info in the curses library. If I'm wrong, please 
tell me how to enable debug info with curses.

/Bjorn


--
==========================================================================
d91bjoel@und.ida.liu.se  |  Have a nice day! :-)
==========================================================================

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

From: abutler@ariel.demon.co.uk (Tony Butler)
Subject: Matrox Ultima drivers????
Reply-To: abutler@ariel.demon.co.uk
Date: Tue, 16 Aug 1994 23:45:35 +0000

The subject says it all really - does this card work with Linux/X-Windows,
and are there any specific drivers for it???

TIA,

-- 

 Tony.
 -----

 abutler@ariel.demon.co.uk

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

From: urlichs@smurf.noris.de (Matthias Urlichs)
Subject: Re: Objc+linux+gcc=link error? .....
Date: 17 Aug 1994 21:21:37 +0200

In comp.os.linux.development, article <32qbhi$a3c@winx03.informatik.uni-wuerzburg.de>,
  rainer@picard.mathematik.uni-wuerzburg.de writes:
> 
> :gcc -Wno-import -g -lobjc -v Shitty.o Shitty_main.o -o shitty 
> [snip snip] 
> :Shitty.m:58 (Shitty.o): Undefined symbol _objc_msg_lookup referenced from text segment
> 
>  Or are there simly some magic words that I didn't see?
>  
Yes. The magic words are in the compiler/linker documentation. They clearly
state that library menbers which are listed before whatever uses them aren't
included.

Move -lobjc to the _end_ of the command line.

NB: This is NOT a Linux-specific question, much less a kernel-specific one.

-- 
A facility for quotation covers the absence of original thought.
                        -- Lord Peter Wimsey (Dorothy L. Sayers, "Gaudy Night")
-- 
Matthias Urlichs        \ XLink-POP N|rnberg  | EMail: urlichs@smurf.noris.de
Schleiermacherstra_e 12  \  Unix+Linux+Mac    | Phone: ...please use email.
90491 N|rnberg (Germany)  \   Consulting+Networking+Programming+etc'ing     42

Click <A HREF="http://smurf.noris.de/~urlichs/finger">here</A>.

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

From: zaphod@teleport.com (Zaphod Beeblebrox)
Crossposted-To: comp.os.linux.misc,comp.os.linux.help
Subject: Novell interfacing experience?  Anyone using samba?
Date: 17 Aug 1994 12:56:13 -0700

If anyone has any good or bad experiences attempting to network up with
novell, can you please give me any words of advice?  I have this linux
package called samba that does interfacing to novell.  Does anyone have
this installed in their system?

Any and all comments are appreciated.  Thanx in advance!

ken waletzki
zaphod@teleport.com
-- 
zaphod@teleport.COM

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

From: zeppelin@login.dknet.dk (Thomas B. Pedersen)
Subject: Where to get RCS _source_
Date: 17 Aug 94 21:44:00 GMT

Thanks to those who told me where to get RCS, I already had the binaries.
I should have asked for the source. Any? Please respond by email.

Thanks,

zeppelin@login.dkuug.dk


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

From: hjl@nynexst.com (H.J. Lu)
Subject: Re: Objc+linux+gcc=link error? .....
Date: 17 Aug 1994 21:43:15 GMT

In article <32qbhi$a3c@winx03.informatik.uni-wuerzburg.de>, rainer@wmax62.mathematik.uni-wuerzburg.de (Rainer Frohnhoefer) writes:
|> 
|>  This is probably an oldie, (and I'm a linux newbie B~|) but I started with  
|> Linux only few weeks ago to do some Objective-C programming at home; usually I  
|> use NeXTStep. 
|>  
|>  The question is: Is there a known configuration bug in GCC2.5.8, included in  
|> Slackware 2.0 (Kernel 1.0.9 )?
|> Last Modification date is  >Thu Jul 14 01:06:02 PDT 1994< 
|> I use a DX386 25 MHz with 8MB (probably irrelevant)
|> 
|>  I wanted to compile a little fun program (in fact, it's a shitty little
|> program!), that runs  perfectly under NeXTStep (gcc 1.93 and gcc 2.5.8, I tried  
|> both) 
|> 
|>  Compiling is going well, but, ahem, linking .........
|> 
|> :gcc -Wno-import -g -c Shitty.m
|> :gcc -Wno-import -g -c Shitty_main.m
|> :gcc -Wno-import -g -lobjc -v Shitty.o Shitty_main.o -o shitty 
|> :Reading specs from /usr/lib/gcc-lib/i486-linux/2.5.8/specs
|> :gcc version 2.5.8
|> : ld -dll-verbose -m486 -o shitty /usr/lib/crt0.o -static  
|> -L/usr/lib/gcc-lib/i486-linux/2.5.8  \
|> : -lobjc Shitty.o Shitty_main.o -lgcc -lg -lgcc
|> :Shitty.m:16 (Shitty.o): Undefined symbol _objc_msg_lookup referenced from text  
|> segment
|

Try

gcc -Wno-import Shitty.o Shitty_main.o -o shitty -g -lobjc

H.J. 

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

From: Michael Teper <mt3q+@andrew.cmu.edu>
Subject: MGA+XInside: Comments?
Date: Wed, 17 Aug 1994 23:00:49 -0400

I am curious to find out whether anyone has had any experience with the
xserver distributed by XInside with a matrox MGA based video card ?



=========================================================================
+  Michael Teper        | Member: TeamOS/2                              +
+  nuvision@cmu.edu     | NuVision Technologies                         +
+  mt3q@andrew.cmu.edu  |                    - The Vision of the Future +
=========================================================================

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

From: jok@snakemail.hut.fi (Jouni A Kosonen)
Subject: Re: 1.1.43 won't link on my system
Date: 17 Aug 1994 21:55:52 GMT

In article <CuoLGu.KLJ@si.hhs.nl> v912182@si.hhs.nl (Veldhuyzen) writes:

>Newsgroups: comp.os.linux.development
>Path: nntp.hut.fi!news.funet.fi!news.tele.fi!sunic!ugle.unit.no!trane.uninett.no!nac.no!eunet.no!nuug!EU.net!sun4nl!news.nic.surfnet.nl!hhinsi!v912182
>From: v912182@si.hhs.nl (Veldhuyzen)
>Sender: news@si.hhs.nl
>Organization: Sector Informatica, Haagse Hogeschool, Den Haag
>References: <dhdCuJ7FK.FKo@netcom.com> <JOK.94Aug14204226@gamma.hut.fi> <CuJo3p.K2@pe1chl.ampr.org>
>Date: Wed, 17 Aug 1994 13:29:18 GMT
>Lines: 40

>In article <CuJo3p.K2@pe1chl.ampr.org>, Rob Janssen <pe1chl@rabo.nl> wrote:
>>In <JOK.94Aug14204226@gamma.hut.fi> jok@snakemail.hut.fi (Jouni A Kosonen) writes:
>>>You are doing the same mistake I am: using an old compiler (I use 2.4.5).
>>>Worry not, the answer is simple:
>>>- in your /usr/src/linux/Makefile, around lines 92 and 93, comment
>>>  out the LOWLDFLAGS and HIGHLDFLAGS - lines
>>>- around lines 87 and 88, uncomment the corresponding lines
>Have you tried that kernel too? When I did, my kernel did a
>reboot right after the first message...

I've done that since the -qmagic appeared, no problem. That's the way 
I've linked the 1.1.45 I now run.

>>The problem is not in the compiler, but in the linker (ld)
>>You may want to upgrade it...  it is in the "binutils" package.

>I had (have) this problem too, and I picked up a new binutils package
>(GNU binutils 2.4) but that one doesn't even like the -r option.

>So I picked up binutils-1.9l.4.tar.gz, but my compiler doesn't want that
>one. Now what? I am now getting gcc 2.5.8, to see if that make things
>better (I have now 2.4.5) But I don't have much faith in it.

Unfortunately the ld in binutils-1.9l4 wants a header file (<demangle.h>,
if memory serves) that is not included in my admittedly old libs, namely
4.4.4. I'm not even sure whether I could compile the 4.5.2?-libs with my 
gcc 2.4.5, so... As I've decided to keep this compiler version (and those 
libs) as long as I possibly can, upgrading my ld seems a bit difficult right 
now. Well, I think I can live with it. 

>I am using kernel 1.1.29

I don't know if there was anything strange with that version - I moved 
from 1.1.27 straight to 1.1.36 at the time.

>/* Eric Veldhuyzen, Internet: Eric.Veldhuyzen@si.hhs.nl, CIS: [100010,3051]

Jouni Kosonen
jok@beta.hut.fi

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

Crossposted-To: comp.os.linux.help,comp.os.linux.misc
From: sfr@pdact.pd.necisa.oz.au (Stephen F. Rothwell)
Subject: [FIX] 1.1.43 broke bootlin
Date: Thu, 18 Aug 1994 02:36:47 GMT

The following patch should (?) fix bootlin booting of kernels >=1.1.43
The patch should be applied to the file setup.S in /usr/src/linux/boot
(or /usr/src/linux/arch/i386/boot in >= 1.1.45).

==================================snip================================
--- setup.S.orig        Thu Aug 18 12:07:07 1994
+++ setup.S     Thu Aug 18 12:06:26 1994
@@ -48,6 +48,11 @@
 
 entry start
 start:
+! Bootlin depends on this being done early
+       mov     ax,#0x01500
+       mov     dl,#0x81
+       int     0x13
+
 ! Check signature at end of setup
        mov     ax,#SETUPSEG
        mov     ds,ax
==================================snip================================

Let me know if this doesn't work.

Cheers,
Stephen

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

From: af082@FreeNet.Carleton.CA (Michael Stevens)
Subject: Re: Future of Linux
Date: Thu, 18 Aug 1994 03:19:31 GMT


> Same footings as Windows, OS2, or Dos.

Gads! I certainly hope linux isnt on the same footings as Windows
or Dos.....I'd like to think that Linux works and uses the
pathetic PC architecture to its fullest potential.

I think that your idea about "small commercialism" in Linux is 
silly, a number of Commercial products already can run on 
Linux...spend the money that you saved on buying an os, and 
buy some apps!

Cheers, *grumble grumble 8) *
--
 P. Michael Stevens             af082@freenet.carleton.ca
 a.k.a.  Voltaire's Bastard     a.k.a   JavaDuck
----
 "But let us cultivate our garden."   Voltaire

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

From: kevinl@bruce.cs.monash.edu.au (Kevin Lentin)
Subject: Re: Ramdisk gone in 1.1.38-> kernels
Date: 18 Aug 1994 04:02:39 GMT

Lowel P. O'Mard (L.P.OMard@lut.ac.uk) wrote:

>   Is it just me, or has something happened to ramdisk support in kernel
> versions 1.1.38 onwards?  The ramdisk no longer works with the virgin code
> of the latest kernels.

Same here. Mine's gone too.

>   I use the ramdisk in conjuction with the "tcx" binary compression
> utilitiy to reduce disk usage on my system, so I normally configure a
> ramdisk size ~2048K.

Same size here.

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

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

From: tom@metronet.com (Tom Griffing)
Subject: Re: Where to get RCS
Date: Thu, 18 Aug 1994 04:49:27 GMT

In article <zeppelin.777144048@login.dknet.dk>,
Thomas B. Pedersen <zeppelin@login.dknet.dk> wrote:
>
>Can anyone tell me where to get RCS from? I have tried finding it 
>with archie, but to no avail. Please respond by email.

If you want the Linux ready-to-install distribution
of RCS, you can get it from sunsite.unc.edu in
directory /pub/Linux/distributions/slackware/slakware.

If you just want the sources, they can be found at
gatekeeper.dec.com:/pub/GNU/rcs-5.6.0.1.tar.gz.


--
 _____________________________________________________
| Thomas L. Griffing       |                          |
| tom@metronet.com         |  (214) 352-3441          |
|__________________________|__________________________|

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: NFS errors
Reply-To: pe1chl@rabo.nl
Date: Wed, 17 Aug 1994 22:15:47 GMT

In <FOX.94Aug16171813@first.cs.nyu.edu> fox@graphics.cs.nyu.edu (David Fox) writes:

>In article <FOX.94Aug16170426@first.cs.nyu.edu> fox@graphics.cs.nyu.edu (David Fox) writes:

>] I'm getting bad data over NFS using a 3c509.  For example,
>] here the current directory is mounted from a Sun:
>]   [...]

>Following up on my own post, what surprises me is that I don't
>get parity errors or something from a higher level of the network
>protocol.  How is this possible?

Sun's are normally not sending checksums in UDP packets, hence NFS traffic
is not checksummed.  You can enable this, but NFS will use more CPU.

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: GP faults
Reply-To: pe1chl@rabo.nl
Date: Wed, 17 Aug 1994 22:21:13 GMT

In <32r9go$ci@magix.uucp> nicolas@magix.uucp (Nicolas BOUGUES) writes:

>OK, I got it. The faulty driver was the Buslogic SCSI. Without it (I
>replaced it by 1542), the data memory used by the kernel drops from 3.5 Mb
>to .6 Mb.

Now it will be interesting to know why this is...
Does a "size" on drivers/scsi/buslogic.o also show this huge memory usage?

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: TCPIP sockets suddenly got "debug" set (1.1.19)
Reply-To: pe1chl@rabo.nl
Date: Wed, 17 Aug 1994 22:22:36 GMT

In <32r58t$4s6@mickey.iaccess.za> steve@iaccess.za (Steve Davies) writes:

>I've just had a strange occurrence one of my Linux machines.
>All of a sudden the load average shot up -- top revealed that
>syslogd was taking stacks of CPU.  A look in /var/adm/messages
>showed that a whole lot of TCP debugging was being logged.

>I killed syslogd and when I brought it back up 15 minutes later
>the logging had stopped.

>A squizz at the kernel source suggests that a socket had got
>the "debug" flag set.  How can this happen?

Probably somebody has started IRC?

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

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

From: grif@corsa.ucr.edu (Michael Griffith)
Crossposted-To: comp.os.linux.misc,comp.os.linux.help
Subject: Re: Novell interfacing experience?  Anyone using samba [instead]?
Date: 17 Aug 1994 23:56:05 GMT

In article <32tq0t$ksc@linda.teleport.com>,
Zaphod Beeblebrox <zaphod@teleport.com> wrote:
>If anyone has any good or bad experiences attempting to network up with
>novell, can you please give me any words of advice?  I have this linux
>package called samba that does interfacing to novell.  Does anyone have
>this installed in their system?
>
>Any and all comments are appreciated.  Thanx in advance!


I've used Samba and it works quite nicely.  There is a US mirror
of stuff on:

        ftp://cs.ucr.edu/pub/samba

Perhaps I should point out that SMB and Samba don't interface with
Novell, but rather they compete with it.

-- 
Michael A. Griffith (grif@cs.ucr.edu)
Department of Computer Science
University of California, Riverside


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

From: sluytman@kub.nl (Sluijtman)
Subject: Re: Help linking curses in C++
Date: 18 Aug 1994 08:53:32 GMT
Reply-To: R.W.Sluijtman@kub.nl

In article <CunBIy.Gsw@nntpa.cb.att.com>, miguel@bss80.cb.att.com (na8530b00-Rivera) writes:
|> I am having trouble with curses/ncurses and g++. I tried to use the CursesWindow class 
|> and when I compile the program it show all the curses symbols undefined in the
|> g++ library. It seems that the linker is not picking up the symbols from the
|> curses library. BTW, I am including the curses library in the g++ command line.
|> 
|> Any comments?? Any sugestions??? Any help will be appreciated.
|> 
|> Thanks,
|> Miguel Rivera
|> miguel@ieain.ih.att.com
|> 

Try

extern "C" 
{
#include <curses.h>
}

good luck,
R.Sluijtman

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


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