Subject: Linux-Activists Digest #284
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Mon, 4 Oct 93 11:13:11 EDT

Linux-Activists Digest #284, Volume #6            Mon, 4 Oct 93 11:13:11 EDT

Contents:
  Re: Busmice (Wayne Stidolph)
  Re: compile problem? trivia.. (JEFF EPLER)
  PCMCIA (Juergen Seeger)
  Re: SLS install problems-need help (marauder)
  Re: SoftLanding Message (Drew Eckhardt)
  Xwindows on CrystalScan and ATI GUP (Bill McKinnon '96)
  Q:Disk doubler for linux? (Honoo Suzuki n-2423)
  Re: LILO Default to MSDOS? (K. van Houten)
  Re: WHAT HAVE I TO DO TO SET UP THE .PROFILE (Peter Singhof)
  Diskless Linux (Jan-Piet Mens)
  Gigabyte-Option, Adaptec 1542C ([email-masked])
  Re: How set time zone? (Joerg Stenger)
  FidoNet software (ben elliston)
  Problem with xdm... (Jean-Pierre Sarrato)
  gcc -g option breaks code ? (Herbert Kastberger)
  Re: Problem with xdm... (Chris Vetter)
  Who sells Linux on CD (roman yarish)
  Re: SLS install problems-need help (Brett Michaels)
  Xconfig for 386/20e (Thomas J Bilan)
  Re: HARDWARE: Mitsumi LU005S CD-ROM anyone? (Eberhard Moenkeberg)
  Stable SLS ("Michael L. Yacht")

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

From: [email-masked] (Wayne Stidolph)
Subject: Re: Busmice
Date: Mon, 4 Oct 93 03:37:39 GMT

[email-masked] (Jerome Lacroix) writes:
>
>In a previous article, [email-masked] (Tony Cifelli) says:
>
>>
>>Has anyone got the busmouse that comes with the ATI Graphics Ultra Plus
>>(NOT the Pro), to work with X on Linux?  It uses IRQ2.  This can be 
>>changed if necessary.  Right now the mouse pointer sits in the middle 
>>of the screen, and is locked up.
>>
>
>From what I encountered with my Logitech mouse on a Microsoft Inport, the
>Linux kernel expects the bus mouse to be configured for IRQ 5 by default. 
>You seem to have two choices.  Switch your mouse IRQ to 5, or as in my
>situation, modify the file busmouse.h in the /linux/kernel/char_drv
>directory to reflect your current IRQ and recompile the kernel.  It worked
>for me.  Good Luck!

Note that IRQ is the cascade interrupt; when the bus mouse is set to tug
on the physical IRQ2, the software sees IRQ9. When you change
busmouse.h, don't change to IRQ2 (system will crash) change to IRQ9.
But leave the mouse on IRQ2. "It worked for me."

  Wayne
-- 
[email-masked] or [email-masked] 
What I say is from me only. I try to be accurate, but I make mistakes: sorry.

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

From: [email-masked] (JEFF EPLER)
Crossposted-To: comp.os.linux.misc,comp.lang.c
Subject: Re: compile problem? trivia..
Date: 4 Oct 1993 04:08:32 GMT

[email-masked] writes:

>Jeff Stern ([email-masked]) wrote:
>: =====
>: main(v,c)char**c;{for(v[c++]="Hello, world!\n)";
>: (!!c)[*c]&&(v--||--c&&execlp(*c,*c,c[!!c]+!!c,!c));
>: **c=!c)write(!!*c,*c,!!**c);}
>: =====

>   Secondly, the code, as you posted it, cannot compile under *any*
>correct C compiler.  Where is your declaration/definition for v?  Please
>post an accurate copy.  Though it appears that you've taken an example 
>from the obsfucated C contest.

Under K&R, using old-style prototypes, v would be declared as type int
-- The header is essentially the same as 
main(int argc, char **argv)

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

From: [email-masked] (Juergen Seeger)
Subject: PCMCIA
Date: Sun, 3 Oct 1993 16:18:52 GMT

I've heard there is a possibility to work with PCMCIA cards,
especially ethernet cards, under Linux. Is there anyone who know
this more detailed?

Juergen Seeger

--
 =
|Juergen Seeger                           |    EMail:        [email-masked]   |
|iX - Multiuser Multitasking Magazin      |    FAX: +49 511 5352-361 |
|D-3000 Hannover 61, Helstorfer Str. 7    |    Tel.:  +49 511 5352-386   | 

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

From: [email-masked] (marauder)
Subject: Re: SLS install problems-need help
Date: Mon, 4 Oct 1993 04:33:08 GMT

David J. Dorkin ([email-masked]) wrote:
: I am trying to install SLS Linux on my new HD, It initializes the
: Linux/Minix partition fine, but doesn't properly set up my swap partition
: via the installation script.  Also, while installing 70Megs worth, I
: received errors all of the time including:
: stdin:out of memory
: virtual memory exceeded in 'new'
: tar: could not allocate memory for blacking factor 20
: sed: couldn't allocate momory
: [email-masked]

What you have to do prior to initiating the install script is turn on (and
allow linux to see/use) your defined swap partition, to do so simply login as
root and execute the following:

swapon /dev/hdax - where "hdax" is your mkswap formatted swap partition.
                   (ie "swapon /dev/hda3").

if everything goes as planned,Linux will report to you, a message similar to 
"adding xxxx K of swap"..

now you should have plenty of space to continue with the install..

-marauder

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

From: [email-masked] (Drew Eckhardt)
Subject: Re: SoftLanding Message
Date: Mon, 4 Oct 1993 04:08:28 GMT

In article <[email-masked]>,
Ideas for Brainstorming <[email-masked]> wrote:
>My system:
>

[ irrelvant portions deleted ]
>
>       Segate 4385N 315 meg
>
>       Quantum 200S 200 meg
>
>       Quantum 120S 120 meg
>
>My system is mainly used as a DOS/Windows system. I am trying to set up
>
>the Quantum 120 for a Linux system. When I boot the Linux A1 disk it ID's
>
>all 3 drives, the CD and sound card correctly. However when I try to issue
>
>the command "fdisk /dev/sdc" it tells me that it cannot open that device.
>
>From the docs I assume that the system will support more than 2 SCSI drives.

Yes.  For all practical purposes, an unlimited number of SCSI devices 
are supported.

>Where am I going wrong? I am able to partition the 3rd drive for DOS 
>
>using Adaptec's software. All of the SCSI ID's are set correctly.
>
>Everything appears to be correct with the exception that to Linux the
>
>3rd drive does not exist.

Unix devices are identified as either block or character (block 
devices go through the buffer cache, character devices do not) devices,
a major number (ie which driver is used - block major 8 corresponds
to SCSI disks) and a minor number (ie which unit is being accessed 
through a given driver - ie character major 4, minor 0 is the first 
virtual console, minor 1 the next, etc).  However, accessing devices through
this separate namespace would break the unix/Linux metaphor of 
"everything is a file," so character and block device special files 
are created under /dev.  This lets you access the raw third SCSI disk
device as /dev/sdc, the first serial port as /dev/ttyS0, etc.  

In your case, the kernel is aware of the disk, and has made an appropriate
entry in the SCSI disk driver tables for /dev/sdc.  However, your /dev
directory lacks an entry for it (do an ls /dev/sdc* and you'll notice that 
there aren't any files that match there).

The preferred method for creating a file is using the MAKDEV script -
cd /dev 

and run MAKEDEV (as root) for the devices you want to create - ie

./MAKEDEV sdc

wildcards "should" work - ie 

./MAKEDEV sd\*

"should" create entries for all SCSI disk devices (doing this should create
/dev/sda through /dev/sdp, with fifteen partition entries for each) 

./MAKEDEV sdc\*

"should" create entries for /dev/sdc and all fifteen permissible partitions
on /dev/sdc, etc.  

I say "should" because this is the standard unix behavior - the MAKEDEV 
script in your installation may not conform to this behavior, or may have
restricted the number of devices it will create.

If MAKEDEV won't do the right magic for you, you'll have to create the 
device entries by hand with the mknod command.

The block/character, major, and minor numbers are specified for the 
various SCSI devices in the SCSI-HOWTO : 

Section 4 : 
Subsection C : Device Files

SCSI disks use block device major 8, and there are no "raw" devices
ala BSD.

16 minor numbers are allocated to each SCSI disk, with minor % 16 == 0 
being the whole disk, minors  1 <= minor % 16 <= 4 the four primary 
partitions, minors 5 <= minor % 16 <= 15 any extended partitions.

Due to constraints imposed by Linux's use of a sixteen bit dev_t with
only eight bits allocated to the minor number, the SCSI disk minor 
numbers are assigned dynamically starting with the lowest SCSI HOST/ID/LUN.

Ie, a configuration may work out like this (with one host adapter)
Device                  Target, Lun             SCSI disk
84M Seagate             0       0               /dev/sda
SCSI->SMD bridge disk 0 3       0               /dev/sdb 
SCSI->SMD bridge disk 1 3       1               /dev/sdc
Wangtek tape            4       0               none
213M Maxtor             6       0               /dev/sdd

Etc.  

The standard naming convention is 

/dev/sd{letter} for the entire disk device ((minor % 16) == 0)
/dev/sd{letter}{partition} for the partitions on that device 
        (1 <= (minor % 16) <= 15)

Ie

/dev/sda        (block device major 8 minor 0)
/dev/sda1       (block device major 8 minor 1)
/dev/sda2       (block device major 8 minor 2)
/dev/sdb        (block device major 8 minor 16)

So, to manually create the devices for /dev/sdc, you could say
(as root)

mknod /dev/sdc b 8 32
mknod /dev/sdc1 b 8 33
mknod /dev/sdc2 b 8 34

etc.  

---
Boycott USL/Novell for their absurd anti-BSDI lawsuit. | Drew Eckhardt, 
Condemn Colorado for Amendment Two.                    | Professional Linux 
Use Linux, the fast, flexible, and free 386 unix       | Consultant
Will administer Unix for food                          | [email-masked]

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

From: [email-masked] (Bill McKinnon '96)
Subject: Xwindows on CrystalScan and ATI GUP
Date: 4 Oct 1993 01:49:21 -0400

Hi all. I have SLS Linux 99.8 installed on my Gateway 4dx2-66.
Through tinkering with my Xconfig settings for Xwindows, I have
gotten it to come up and load ok. The problem though, is that
the display is flickery, and I know the settings aren't exactly
right. My screen goes back to text fine and all that--does
anyone out there have the correct Xconfig settings for the 
Gateway CrystalScan and the ATI Graphics Ultra Pro? Any help
on this would be GREATLY appreaciated. Thanks.

================================================================
[email-masked]
================================================================

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

From: [email-masked] (Honoo Suzuki n-2423)
Subject: Q:Disk doubler for linux?
Date: 4 Oct 93 01:38:00 GMT
Reply-To: [email-masked] (Honoo Suzuki n-2423)

Hi,

Is there a 'disk doubler' program which can automatically compress/decompress
data on disk (like Stacker for DOS)?  If not, is anyone working on that?  Is
is possible anyway?  

I think e2fs system is good enough for such possibility ... :-)

Thanks for your attention.  I appreciate any info. 

  Yours,  Honoh Suzuki                   "I love you madly, Miles"
  Ishiguro Lab., Dept. Electronic Chem., 
  Tokyo Inst. Tech. at Nagatsuta          [email-masked]

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

From: [email-masked] (K. van Houten)
Subject: Re: LILO Default to MSDOS?
Date: Mon, 4 Oct 1993 07:24:13 GMT

In article <[email-masked]>, Warrior Of Darkness <[email-masked]> writes:
|> 
|> I would also like to do what is needed to setup LILO to boot DOS by default,
|> since my system is also used by DOS *puke* users who would prefer booting
|> straight DOS without having to specify the OS explicitly on bootup.

Quite simple, make the 'other' entry the first in the config file.
My system has DOS as it's default, to be sure that accidental power on -
power off cycles don't harm.

-- 
Karel van Houten,               DOMAIN: [email-masked]
PTT Telecom b.v.                UUCP:   uunet!mcsun!sun4nl!pttdis!houten
's-Gravenhage, The Netherlands  VOICE:  +31 70 3434947

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

From: [email-masked] (Peter Singhof)
Crossposted-To: comp.os.linux.misc.help,comp.os.linux
Subject: Re: WHAT HAVE I TO DO TO SET UP THE .PROFILE
Date: 4 Oct 93 07:58:14 GMT

Robert Stuart, The University of Queensland ([email-masked]) wrote:
: In article <[email-masked]>, [email-masked] (Bryan E. Glancey Jr) writes:
: if want to use csh use chsh in the /bin dir
                 ^^^^^^^^^^^^
Nice try, but there is no csh in the SLS 1.03 release.

To the starter of this thread:

change your command from

setenv PATH bla bla

to

export PATH=bla bla

and your environment should be set up correct. For further infos, RTFM!!!!

Bye Peter
-- 
==================================================================================
Peter Singhof                                   Tel.: +49-231-944-1667
No, i'm not speaking for my employer!           FATAL SYSTEM ERROR:
Usenet: unido!mbpdo!si , [email-masked]          NO COFFEE DETECTED - USER HALTED !

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

From: [email-masked] (Jan-Piet Mens)
Subject: Diskless Linux
Date: 4 Oct 1993 10:55:11 +0100

I have a TCP/IP Boot Prom on a PC, that is able to boot MS-DOS. What I do
is to create a regular boot-floppy for the PC, copy that onto the server,
and then the PC can load this image into a ram-disk and boot from that
ramdisk. This all works fine.

I tried the same with Linux. Upon starting, the whole PC hangs when
LILO has output "LI". I suppose it is because LILO is trying to open
a device which in actual fact does not exist.

Could anyone help me ?
What would be the correct way to boot diskless Linux ?
What would the installation procedure be ?
Has anyone had experience in using Linux on a diskless system ?

Thank you very much.
Regards,
        Jan-Piet
-- 
Jan-Piet Mens                                               [email-masked]
ASK Ingres GmbH, Frankfurt, Germany                          +49 69 66413-285

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

From: [email-masked]
Subject: Gigabyte-Option, Adaptec 1542C
Date: 4 Oct 93 10:18:36 GMT
Reply-To: [email-masked]

I have a Quantum PD1225 hard disk attached to an Adaptec 1542C.  I have to
use the gigabyte option (otherwise OS/2 and DOS cannot access the last 200
MByte) which changes the virtual parameters to 255 heads,
64 sectors.  However, the Linux kernel (0.99p13) does not seem to like this:
It does not detect the Adaptec correctly, and stops with the message

 interrupt received, but no mail

Is there any solution known which lets Linux work with the gigabyte option ?

Please answer by E-Mail as I do not read this group regularly.

Thank you for your help out there,

Alfred Arnold,  [email-masked]

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

From: [email-masked] (Joerg Stenger)
Subject: Re: How set time zone?
Date: 4 Oct 1993 10:16:28 GMT
Reply-To: [email-masked]

From the /usr/lib/zoneinfo/time.doc:
"...
1) set /usr/lib/zoneinfo/localtime and /usr/lib/zoneinfo/posixrules.
You should copy the file for your time zone.  E.g. if you are in the
U.S.  Eastern time zone, do

   cd /usr/lib/zoneinfo
   cp US/Eastern localtime
   ln localtime posixrules

..."

Hope this helps,
Joerg Stenger
PS: Questions like these belong to comp.os.linux.help.
=======================================================
E-Mail:    [email-masked]   [134.91.4.79] 
        or
           [email-masked]  [134.91.4.3]
=======================================================

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

From: [email-masked] (ben elliston)
Subject: FidoNet software
Date: Mon, 04 Oct 1993 08:26:02 +1000

Has anyone seen FidoNet-compatible mail software anywhere for Linux?

Specifically, I'm looking for a mail processor and a message reader/editor.

Thanks!

Cheers, Ben

 * Origin: % EchoSprint: bringing HS/Link to your FrontDoor! % (3:620/262)

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

From: [email-masked] (Jean-Pierre Sarrato)
Subject: Problem with xdm...
Date: Mon, 4 Oct 1993 12:19:35 GMT

   I am currently using the last Slackware release, and I have a big problem
with xdm. It starts normally and gives me access to an olwm session all right.
But when I exit olwm, the computer hangs. I must add that I have the XS3 
package installed. I would welcome any idea ( or a definitive answer from
a Linux Guru... ).

                                            JPS

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

From: [email-masked] (Herbert Kastberger)
Subject: gcc -g option breaks code ?
Date: 4 Oct 1993 12:30:02 GMT

Hi all,

I am using Gnu C 2.4.5. Over the weekend I compiled xv version 3. The default
in the makefile switches debugging code on (-g). With this option on, I always
got a Segmentation fault error. Without this option, it works fine (and the
executable size decreases from 2MB to 500kb). 

Any idea why that happens ? I had the same problem with xdtm (file manager).

Ciao,
herbert

--
 *   Not that I have tested it - I just wrote the code and hope it works.  *
 *   "Real programmers" don't test: they assume it works the first time,   *
 *   and anyway, what do you think beta-testers are for?  -Linus Torvalds  *

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

From: [email-masked] (Chris Vetter)
Subject: Re: Problem with xdm...
Date: 4 Oct 1993 14:21:01 GMT

In article <[email-masked]>, [email-masked] (Jean-Pierre Sarrato) writes:
> 
>    I am currently using the last Slackware release, and I have a big problem
> with xdm. It starts normally and gives me access to an olwm session all right.
> But when I exit olwm, the computer hangs. I must add that I have the XS3 
> package installed. I would welcome any idea ( or a definitive answer from
> a Linux Guru... ).

It's not a prob of your XS3 package ...

Now, to fix this 'bug':

Login as root, go straight down to /usr/X386/lib/X11/xdm and edit the config
file (forgot it's name, sorry).
Write the following line at the end of the file:

DisplayManager.*.terminateServer:       true

Save and reboot, and xdm will work correct.

> JPS

-- 

Chris

Don't you know, that, if you start Linux on DOS (ROTFL), it deletes all
files with the string 'Microsoft' in it?
                                        - Fritz Ganter -

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

From: [email-masked] (roman yarish)
Subject: Who sells Linux on CD
Date: Mon, 4 Oct 1993 15:33:03 GMT

Some time ago I read some mail, about a company that sells
Linux on a CD.
Can someone help.

 *  
---
   RoseReader 2.10  P002254 Entered at [ROSE]
   RoseMail 2.10 : RoseNet<=>Usenet Gateway : Rose Media 416-733-2285

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

From: [email-masked] (Brett Michaels)
Subject: Re: SLS install problems-need help
Date: 4 Oct 1993 10:31:02 -0400

I had a simliar problem with my install, turned out my RAM was bad.  Just 
to be sure check your RAM before continuing.  It could save you a lot of 
hassles.

Brett

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

From: [email-masked] (Thomas J Bilan)
Subject: Xconfig for 386/20e
Date: 4 Oct 1993 14:45:44 GMT

Does anyone have an Xconfig for a Compaq 386/20e deskpro.  I would greatly
appreciate a copy!  Configuring X is sooo much fun.

Tom Bilan

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
$ Department of Death by Engineering   ^   Surgeon General's Warning:        $
$ Michigan State University            ^   Graduate School may cause brain   $
$ [email-masked]                    ^   damage and sporadic loss of hair  $

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

Date: Sat, 02 Oct 93 15:41:30 +0100
From: [email-masked] (Eberhard Moenkeberg)
Subject: Re: HARDWARE: Mitsumi LU005S CD-ROM anyone?

Hello SEAN and all others,

on 30.09.93 SEAN MICHAEL SCOGGINS wrote to All in USENET.COMP.OS.LINUX:

SM> Do CD-ROM with their own interface cards work in general with Linux?

Yes, in general. :-)

Linux has more drivers for CDROMs with a "proprietary" interface than
any other unix: Sony, Mitsumi, 
Matsushita/Kotobuki/Panasonic/Aztech/CreativeLabs.

Best buy today is Matsushita/Panasonic CR-562-B (double-speed, german price: 
<300$).
Best buy tomorrow (if the appropriate driver by Martin Harriss gets updated) 
will
be the new double-speed Mitsumi FX 001 D, possibly...

Greetings ... Eberhard

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

From: "Michael L. Yacht" <[email-masked]>
Subject: Stable SLS
Date: Mon,  4 Oct 1993 10:46:29 -0400

Is there a stable SLS release that includes pl10 or higher?

If so, could someone tell me what it is, and where to get it?

I am currently running pl10, and I need to re-partition and format my 
drive, so I figure it'd be easier to just get the new SLS and
re-install that, than to copy everything I have, bit by bit.

Thanks.

-Mike Yacht
-Carnegie Mellon University -- School of Computer Science
====================================================================
Mike Yacht             || [email-masked]

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

** 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) 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
    tupac-amaru.informatik.rwth-aachen.de	pub/msdos/replace

The current version of Linux is 0.99pl9 released on April 23, 1993

End of Linux-Activists Digest
******************************