Subject: Linux-Misc Digest #190
From: Digestifier <Linux-Misc-Request@senator-bedfellow.MIT.EDU>
To: Linux-Misc@senator-bedfellow.MIT.EDU
Reply-To: Linux-Misc@senator-bedfellow.MIT.EDU
Date:     Mon, 30 May 94 11:13:21 EDT

Linux-Misc Digest #190, Volume #2                Mon, 30 May 94 11:13:21 EDT

Contents:
  Problem with slackware rootdisk on PCI machines?  HELP! (Daniel Garcia)
  How do I program MPU-401/GUS ? (Teemu Lahteenmaki)
  LILO ...oh HELP!!! (Andrew C. F. Wong)
  Re: Novell and Linux? (Howard P. Henson)
  Re: UNIX Semaphores (Manfred Hollstein US/ESB B60/3/142 #71283)
  Re: Viruses and Linux (Alex Ramos)
  Re: BusLogi 445S and DMA Channel (NEW ANSWER) (Willem Jan Withagen)
  Re: Access to local resources with term-aware software? (Olaf Titz)
  Competitive upgrade! Linux Plus CD-ROM! (Roman Yanovsky  roman@btr.com)
  Re: TERM and local FTP (Olaf Titz)
  diskless under linux. (Emmanuel TLEMCANI)

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

From: kender@esu.edu (Daniel Garcia)
Crossposted-To: comp.os.linux.help
Subject: Problem with slackware rootdisk on PCI machines?  HELP!
Date: 30 May 1994 09:18:54 -0400
Reply-To: kender@esu.edu

Hellow alls,

Sorry about my harried sounding question last night about linux
on PCI/Pentium machines, I've done a little hunting around in the 
linux source code for kernal 1.0, and found my problem.  I got,
twice, a message about RAMDISK: Trying old-style RAM image.
It turns out rootdisks have traditionally started their RAM image 
(i.e. the 'superblock' of the ram disk) in either block0 or
block 512 of the rootdisk.  This is where my error is coming in.
It first reads in the block at block0, and casts it onto a 
struct minix_super_block,  It then checks the s_magic field
of the super block, and if it isn't MINIX_SUPER_MAGIC or
MINIX_SUPER_MAGIC2, then it prints the message, 'Trying old-style
RAM image', and moves on to checking block 512.  It seems like,
in my case, it isn't working on either read, and I'm not
too sure why.  I know the slackware bootdisk/rootdisk combo
_should_ work, I used it on my roommate's machine when I installed
linux for him.  Though, he has a 486/33 with a VESA bus, not
a Pentium with a PCI bus ;).  Anyone know where Slakcware keeps
their image?  (I was considering hacking together my own bootdis
that would just read the image where it was supposed to be :).

BTW - the code i pulled this info from is in:
        drivers/block/ramdisk.c, in function rd_load.

Thanks again for any help you can offer!

D

-- 
===========.,======Coming=soon=to=a=PhD=Program=near=you=====.,==Carpe=Diem===
Ethernet is||Daniel Garcia - ATP Group - LLNL Gigabit Testbed||AntiClipperCens
for Sissies||  Lawrence Livermore Nat'l Labs - Livermore, CA ||orshipFightingF
Disclaimer.||dgarcia@cohl.llnl.gov <=-email-=> kender@esu.edu||reedomLovingCru
 Try Linux ||    This .sig file (c)1994 by Daniel Garcia     ||saderForRights.
----hi-----'`-PGP-key-available-finger-dgarcia@cohl.llnl.gov-'`---Coram-Deo---
 Fibre Channel - Unix - TCP/IP - Music - MIDI - Biking - Networking - Reading
    GCS/MU d? -p+ c++(----) l++ u+ e+(*) m+@ s/+ !n h f+@ !g w++ t++ r y?

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

From: tola@network.cc.jyu.fi (Teemu Lahteenmaki)
Subject: How do I program MPU-401/GUS ?
Date: 30 May 1994 16:08:13 +0300

The first attempt seemed to got junked, better luck this time..

Question: Is there any FAQs, docs, specs or anything availble on how
to use the /midi or /sequencer devices (were there others ?).
I am trying to send and receive bytes trough MPU-401 and GUS MIDI ports.

With DOS this is easilly done trough IO addresses, but how are the
midi related devices supposed to be used ? I have the drivers added into
the kernel..

Example code most welcome.

-- 
Teemu Lahteenmaki - Student of mathematical computing
University of Jyvaskyla, Finland
tola@tukki.jyu.fi

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

From: cfwong@csd.hku.hk (Andrew C. F. Wong)
Subject: LILO ...oh HELP!!!
Date: Mon, 30 May 1994 12:01:22 GMT

Dear Linux Experts,
 
         I am a new user of Linux and have just installed slackware
         1.2.0. with kernel 1.0.8. in the following way:
          
         1. Low-level format harddisk 1 (c:) 
            High-level format harddisk 2 (d:) with "format d:/s"
            Restore programs to d:           
                                                 
         2. Boot Linux bare-boot + color144-root to install slackware

         Anything goes fine, except that I cannot setup LILO well.
         I have to boot Linux with standard boot floppy and DOS
         with a DOS floppy ( the harddisk 2 is recognized as c: then)
                  
         Thus, I would like to ask WHAT can I do so that my machine
         can boot Linux or DOS directly and have a chance to choose
         (pressing down left-shift key while booting)
           
         During the installation process, I got this message:
            
         "partition 1 does not start on cylinder boundary:
             phy=(0,0,2) should be (0,1,1)"

         when I was setting partitions. I have 683 cylinders for 
         harddisk 1 and I set 1-647 to /dev/hda1 for linux-native
         while 648-683 for hda2 linux-swap. This message is the only
         abnormal thing, there is no another problem.

         Thanks for your kind respond! I will very appreciate
         if you can email your solution directly.

Andrew
CS year1
cfwong@csd.hku.hk


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

From: hhenson@inyanga.wits.ac.za (Howard P. Henson)
Subject: Re: Novell and Linux?
Date: 30 May 1994 17:58:25 GMT

Malcolm Ryan (malcolm@lsupoz.apana.org.au) wrote:
>#I've heard rumours about Novell laying claim to Linux. Could someone pls
>#enlighten me as to what they are on about, and the legal status of their
>#claim?

  Linux is copyrighted to Linus and thus they have no claim!

Howard

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ I'll have the last dance with you, two lonely people together , I fell   ~
~       in love with you, the last waltz will last forever                 ~
~                                                                          ~
~          Howard Henson <hhenson@inyanga.cs.wits.ac.za>                   ~
~                                                                          ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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

Crossposted-To: comp.os.linux.help,comp.unix.programmer,comp.unix.questions
From: manfred@us-es.sel.de (Manfred Hollstein US/ESB B60/3/142 #71283)
Subject: Re: UNIX Semaphores
Date: Mon, 30 May 94 14:12:17 GMT

Hi Stefan,

the problem is caused by missing parentheses in the constructor! Simply change
the line

>   if (semid = semget (key, 1, IPC_CREAT | PERMS) < 0)

to
    if ((semid = semget (key, 1, IPC_CREAT | PERMS)) < 0)
        ^                                          ^
        |                                          |

and the problem will go away!

In your version the value assigned to semid is the result of the expression
`semget (key, 1, IPC_CREAT | PERMS)) < 0', which is obviously not what you
want!

Regards,
-- 
Manfred Hollstein                       SEL-Alcatel, Dept. US/ES
manfred@lts.sel.alcatel.de              Lorenzstrasse 10
Phone: +49 711 821 71283                70435 Stuttgart
Fax:   +49 711 821 2316                 Germany

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

From: ramos@engr.latech.edu (Alex Ramos)
Subject: Re: Viruses and Linux
Date: 30 May 1994 13:46:30 GMT

Markus Wischerath (mw@spinfo.Uni-Koeln.DE), quoted out of context, wrote:

> ueh@pool.info.sunyit.edu (Eric Hausgaard) writes:
> > 
> > Can anyone E-Mail me some information about viruses and Linux and how about
> > anti-viruses.
> > 
> Um, what do you mean? There are no Unix viruses you need to worry about at
> this point in time.

Viruses in Unix-land are called "security holes" (losely speaking).
OF course, Linux doesn't have any... (smile :-]).

--
Alex Ramos (ramos@engr.latech.edu) * http://info.latech.edu/~ramos/
Louisiana Tech University, BSEE/Sr * These opinions are probably mine

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

From: wjw@ebh.eb.ele.tue.nl (Willem Jan Withagen)
Crossposted-To: comp.os.linux.development,comp.os.386bsd.development,comp.os.386bsd.questions,comp.sys.ibm.pc.hardware.systems,comp.sys.ibm.pc.hardware.storage,comp.sys.ibm.pc.hardware.misc,comp.periphs.scsi
Subject: Re: BusLogi 445S and DMA Channel (NEW ANSWER)
Date: 30 May 1994 15:34:05 +0200

In article <michaelv.770005578@ponderous.cc.iastate.edu> michaelv@iastate.edu (Michael L. VanLoon) writes:
=>  In <JKH.94May27001218@nx.ilo.dec.com> jkh@nx.ilo.dec.com (Jordan Hubbard) writes:
=>  >In article <2s2j80$1go@ebh.eb.ele.tue.nl> wjw@ebh.eb.ele.tue.nl (Willem Jan Withagen) writes:
=>  
=>  >>  Because this starts me wonder which kernel I should use with my 445S REV D
=>  >>  board under FreeBSD. I'm using the AHA kernel which works great for 16Mb
=>  >>  But I'm waiting for the 3.37 Eprom to go to 32MB. Should I use the BT 
=>  >>  kernels for FreeBSD
=>  
=>  >You can use the Bt driver *now* for your Rev D board with 16MB - I do
=>  
=>  I guess it just escapes me why someone would even *want* to use the
=>  non-BusLogic driver with a BusLogic board, when a BusLogic-specific
=>  driver exists!  The reasoning fails to make its way through my
=>  brain...

=>  You have a BusLogic card -- use the BusLogic driver!  How hard is
=>  that?...

Well I could write this tedious story of all my considerations :-)
But then everybody would go for the 'kill'-button.

My reasons for using the AHA kernels is that they worked for me. In 
contrast to the BT kernels. AND I can not find any info in the release
notes of GAMMA which tell me that the BT-kernels work with a 445S.
Which is a very troubled card :-(
I do admit it is in the same row of BusLogic cards, and that could suggest
something. :-)

If I switch the 2-10 switch the damnedd board doesn't even passes it's
bios boot. :-( Maybe I shouldn't touch the switch :-)

=>  >Whether or not the 3.37
=>  >eprom fixes the >16MB DMA problem is, however, still an open question
=>  >for ANY of the operating systems.  Buslogic claims success with 3.37,
=>  >yet I've now seen more than a few reports that tend to indicate that
=>  >they did NOT fix the problem.
=>  
=>  I've also heard that the fault is not with the SCSI controller, but
=>  with the VLB circuitry.  Some VLB slots do bus-mastering rather quite
=>  poorly.  Maybe it's your motherboard that's causing you so much pain.
=>  Have you tried moving it to a different slot?  It may be that you have
=>  one master slot and all the rest are slaves (or maybe no true
=>  mastering slot at all... ack :-P ).

I tried to make shure that all slots were master slots. They even faxed
to Taiwan on this topic. Is there any way of finding out if problems are
really due to this feature?

        WjW
-- 
Digital Information Systems Group,     Tel: +31-40-473401, Fax: +31-40-433066
Room EH 10.35  Eindhoven University of Technology   
P.O. 513, 5600 MB Eindhoven, The Netherlands                          TEAM OS/2
Internet:wjw@eb.ele.tue.nl

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

From: uknf@rzstud1.rz.uni-karlsruhe.de (Olaf Titz)
Crossposted-To: comp.os.linux.help
Subject: Re: Access to local resources with term-aware software?
Date: 30 May 1994 14:38:04 GMT

In article <saucc00.770043978@dmi.usherb.ca>,
Christian Saucier <saucc00@DMI.USherb.CA> wrote:
> I'm using Mosaic over a term connection and I'd like to know if it's
> possible to have Mosaic access some files that are on the local side of the
> term connection.
> That would solve another of my problems since I'm now using different
> versions of ftp, telnet, ... depending on if I want to acces a local host or
> a host on the Internet.

I have built a patch for Lynx to make it work over term connections.
My idea was to have one program for both term and TCP/IP connections.
So I added a command line flag to tell it whether to use term. The
method I have used to set and query this flag would easily expand to a
case-by-case setup - i.e. if the hostname to connect to is found in
the local hosts file, TCP/IP is used, else term is used. 

I think this would be easy to implement. Anybody out there wanting to
do it? I don't have enough time. Ideally, this could be done for all
TCP/IP applications (telnet, ftp, irc, ...)

Look at <a href="http://rzstud1.rz.uni-karlsruhe.de/~uknf/software.html">
my WWW server</a> for the Lynx patch (which should work for any software
based on that particular WWW library, I don't know if there is any :-)
and hints on how to make "mixed" applications.

Olaf

-- 
___     olaf@bigred.ka.sub.org - uknf@rz.uni-karlsruhe.de
__ o      <a href="http://rzstud1.rz.uni-karlsruhe.de/~uknf/">click</a>
__/<_     also: s_titz@ira.uka.de - uknf@dkauni2.bitnet - praetorius@irc
_)>(_)_________  "now i find that most of the time love's not enough in itself"

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

From: roman@btr.btr.com (Roman Yanovsky  roman@btr.com)
Crossposted-To: comp.os.linux.admin
Subject: Competitive upgrade! Linux Plus CD-ROM!
Date: 30 May 1994 14:51:03 GMT

        !!!! Attention, users of the Linux and BSD operating systems !!!!


Trans-Ameritech is announcing COMPETITIVE upgrade!

The main feature of the Trans-Ameritech Linux Plus CDROM is versatility.
We offer the best of Linux - Slackware installation package that lets
the user install only the needed programs to a hard disk and a convenient
way to delete a package if need be, and also the unpacked "live" filesystems,
so that a user can run less often needed space hungry applications directly
from the CDROM.

In addition we have FreeBSD on the same disk and all the sources for both
FreeBSD and Linux.

To make it easier for you to compare our product to others, for a limited time
we offer a COMPETITIVE UPGRADE for half the price!

                        !!! HERE IS THE DEAL !!!

Send us ANY OLD CDROM Software Title in ANY condition, and we'll mail
the great Trans-Ameritech Linux Plus CDROM for ONLY $20.


        New Release of Trans-Ameritech Linux Plus CD-ROM! 

We include both Slackware and NetBSD distribution to target TWO major 
UNIX markets.

Here is the brief information about our product:

Now based on the Slackware 1.2 and with the Linux kernel 1.0. XFree86 2.1
This release combines the best features of all existing CD-ROM releases 
of the Linux operating system:

* The installation is highly automated by the Slackware scripts fine tuned
to this CD-ROM but leaves a lot of room for customization. The great 
advantage of Slackware is the ease of installing/deleting individual 
packages and sets. Install only what you really need!
The menu-based installation procedure on the "color" root disks lets even
first time Linux users install the system in no time.

* In addition to standard device drivers in Linux kernel, BIOS-less aha1522
SCSI is supported (it covers Sound Blaster 16 SCSI too).

* To minimize the possibility of hardware conflicts many extra kernels are 
provided for different configurations. They are usable for installation and
normal use.

* For the FIRST time it is possible to try Linux without repartitioning 
your hard drive - just use at least 12 Meg on your DOS partition for Linux.
The "live" CD-ROM filesystem helps you run almost any software in this mode.

* Many on-line documents are provided for quick reference, including the
Linux Documentation Project files in source, dvi and ps formats.

* A lot of applications are included:
  -     The C/C++ compiler GNU GCC 2.5.8, 
  -     GNU and international versions of the "ispell" spell-checker. 
  -     The communications apps: term 1.1.4, minicom, Seyon (X-Windows based).
  -     Editors: elvis (vi clone), joe, jove, 
  -     PostScript clone "ghostscript" 2.6.1, 
  -     Spreadsheet "sc"
  -     Network package with news and email:
        TCP/IP (net2debugged), UUCP, SLIP, CSLIP, mailx, 
        dip, deliver, elm, pine, smail, cnews, nn, tin, trn
  -     Object oriented GNU Smalltalk 1.1.1, and the Smalltalk Interface to X. 
        (STIX)
  -     Powerful scripting language with Motif-like X interface tcl7.3,         tk3.6, wish
  -     SPICE for electric engineering
  -     Several window managers - openwin, twm, gwm, fvwm.      
  -     Easy X-Windows configuration with many real-life examples.
  -     X11 ghostscript, libgr13, seyon, workman, xfilemanager, xdraw
        xv 3.00, GNU chess and xboard, xfm 1.2, ghostview,  X games
  -     Interviews libraries, include files, and the "doc" word processor and 
        "idraw" drawing program. 
  -     Typesetting: TeX, LaTeX, xdvi, dvips, Metafont, groff
  -     Ingress and Postgress databases.
  -     Multimedia: mpeg video and sound applications. Mosaic 2.2.
        xgopher.1.3.2, tracker, adagio04, speak-1.0. 
  -     GIF pictures and sounds in various formats.
  -     Andrew multimedia word processor with hyper links.
  -     FlexFax send and receive fax on either class 1 or class 2 fax-modems. 
  -     A lot more.


* To help the first time Linux users many documentation files are provided 
that are readable from DOS even before installing Linux.

* All the sources are available on the CD-ROM. The most often needed 
sources  are uncompressed and can be used directly from CD-ROM.

* An uncompressed Linux filesystem is available for reference and disk space
conservation. You can run programs directly from CD-ROM! There is a large
"info" directory for on-line reference and many manpages.

* For hacker's reference an uncompressed FreeBSD source tree is provided.

* On the BSD side there is a full source and binary distribution of the
NetBSD 0.9 to compliment the FreeBSD on the Winter release. 

* If you have questions or problems Trans-Ameritech provides free support
for INSTALLATION questions via e-mail ONLY, usually within 24 hours
from receipt of your questions.

New releases will be available every 3 month. Subscription is available.

Our address:

Trans-Ameritech
2342A Walsh Ave, Santa Clara, CA, 95051
e-mail: roman@trans-ameritech.com

We accept VISA/MC/AmEX, personal check, compnay check, POs and
ship COD.

Our phone: (408) 727-3883 (6 lines)
Our FAX: (408) 727-3882

Note: Unix is registered trademark of Unix System Labs. All product 
names referenced herein are trademarks of their respective companies.

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

From: uknf@rzstud1.rz.uni-karlsruhe.de (Olaf Titz)
Subject: Re: TERM and local FTP
Date: 30 May 1994 14:55:40 GMT

In article <1994May27.184215.28448@mercury.ncat.edu>,
 <hkennedy@mercury.ncat.edu> wrote:
> termncftp: ftp/tcp: unknown service

Make sure you have the file /etc/services globally readable and with
meaningful contents (i.e. it should contain a list of tcp/ip service
names and port numbers). Without this file no network software will
work.

Olaf

-- 
___     olaf@bigred.ka.sub.org - uknf@rz.uni-karlsruhe.de
__ o      <a href="http://rzstud1.rz.uni-karlsruhe.de/~uknf/">click</a>
__/<_     also: s_titz@ira.uka.de - uknf@dkauni2.bitnet - praetorius@irc
_)>(_)_________  "now i find that most of the time love's not enough in itself"

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

From: tlemcani@cli53av.NoSubdomain.NoDomain (Emmanuel TLEMCANI)
Subject: diskless under linux.
Date: Mon, 30 May 1994 14:46:12 GMT

 
        Hi,
        
        I'm trying to boot a diskless (sun3/110LC) under linux 0.99 PL15.

        It seems that linux doesn't respond to arp request of the sun.
        Perhaps I have misunderstood something ? (surely in fact :-) )
        Perhaps must I try linux 1.xx ?
        Perhaps net-files aren't well configure ?

        Anyone got an idea ?

        Thanx in advance.
                                Manu

-- 
================================================================================
Emmanuel Tlemcani : tlemcani@cli53av.der.edf.fr | Linux & vi User.
French student at school E.P.I.T.A.             | Adorator of Bart&Lisa Simpson
================================================================================

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


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

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

    Internet: Linux-Misc@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-Misc Digest
******************************
