Linux-Misc Digest #342, Volume #20               Tue, 25 May 99 11:13:14 EDT

Contents:
  syslog functioning weird? (Saotome Ranma)
  Re: Linux vs. NT performance / Mindcraft results ("jsnyder")
  Re: A Capitalists view of freedom (Ed Avis)
  Re: Linux: 750 million users by 2004? (Gilles Pelletier)
  Re: ls colors... not recognizing file extensions (Daniel Beckham)
  Re: Eudora-like mail program for linux? (With Filters etc) (Johannes Klauninger)
  Re: Version of kernel (Owen Cook)
  Re: ls colors... not recognizing file extensions (Daniel Beckham)
  SCSI error (aic7xxx.c) ? (Takashi Ichihara)
  Re: Number Lock at start up (Mihaly Gyulai)
  Re: limit of command line argument number (Mihaly Gyulai)
  Re: PS1 format (Johan Kullstam)
  Re: The Vi Lovers Home Page (Johan Kullstam)
  Re: limit of command line argument number ("Kurt J. Lanza")

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

Subject: syslog functioning weird?
From: [EMAIL PROTECTED] (Saotome Ranma)
Date: Mon, 24 May 1999 21:33:02 GMT


I noticed that lately all my logs are going directly to my mail log 
instead of being broken up into messages, syslog, etc. etc.

Looking at syslog.conf, I don't see any errors, but running syslogd in
debug mode reveals:

listening on syslog UDP port.
Allocated parts table for 256 file descriptors.
Starting.
Called init.
Called allocate_log, nlogs = -1.
cfline(*.warning;authpriv.none;mail.none                /var/log/messages)
symbolic name: warning ==> 4
symbolic name: none ==> 16
symbolic name: authpriv ==> 80
symbolic name: none ==> 16
symbolic name: mail ==> 16
leading char in action: /
filename: /var/log/messages
Called allocate_log, nlogs = 0.
cfline(*.=debug                                 /var/log/debug)
symbolic name: debug ==> 7
leading char in action: /
filename: /var/log/debug
Called allocate_log, nlogs = 1.
cfline(auth.*;user.*;*.alert;mail.none                  /var/log/syslog)
symbolic name: * ==> 255
symbolic name: auth ==> 32
symbolic name: * ==> 255
symbolic name: user ==> 8
symbolic name: alert ==> 1
symbolic name: none ==> 16
symbolic name: mail ==> 16
leading char in action: /
filename: /var/log/syslog
Called allocate_log, nlogs = 2.
cfline(mail.*;                                  /var/log/maillog)
symbolic name: * ==> 255
symbolic name: mail ==> 16
leading char in action: /
filename: /var/log/maillog
 0: 1F 1F  X 1F 1F 1F 1F 1F 1F 1F  X 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F  X FILE: 
/var/log/messages
 1: 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80  X FILE: 
/var/log/debug
 2:  3 FF  X  3 FF  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  X FILE: 
/var/log/syslog
 3:  X  X FF  X  X  X  X  X  X  X  X  X  X  X  X  X  X  X  X  X  X  X  X  X  X FILE: 
/var/log/maillog
logmsg: pri 56, flags 4, from tass, msg syslogd 1.3-0#: restart.
syslogd: restarted.
Debugging disabled, SIGUSR1 to turn on debugging.
Select interrupted.
Calling select, active file descriptors: 3 

Successful select, descriptor count = 1, Activity on: 3 
Checking UNIX connections, active: 
New UNIX connect assigned to fd: 5.
Calling select, active file descriptors: 3 5 

Successful select, descriptor count = 1, Activity on: 5 
Checking UNIX connections, active: 5 
Message from UNIX socket #5.
Message length: 62, File descriptor: 5.
logmsg: pri 26, flags 2, from tass, msg May 24 14:19:32 in.telnetd[16774]: connect 
from localhost
Called fprintlog, logging to FILE /var/log/maillog
Calling select, active file descriptors: 3 5 

Successful select, descriptor count = 1, Activity on: 5 
Checking UNIX connections, active: 5 
Message from UNIX socket #5.
Unix socket (5) closed.
Calling select, active file descriptors: 3 
Select interrupted.


Any ideas or help out there would be most appreciated!
Thanks!

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

From: "jsnyder" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.qnx,comp.realtime,comp.arch.embedded
Subject: Re: Linux vs. NT performance / Mindcraft results
Date: Tue, 25 May 1999 10:16:05 -0400

Talk about BRAIN DEAD.  Out of the box Solaris will barely drive a VGA
screen, let alone having any useful drivers for other stuff.

BobX <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Linux is only a TOY, and NT is a total JOKE.  You guys should check out
> Solaris.
>
> if you guys are driving hardware not supported under Solaris, the
> hardware is too new (ergo not tested), or is bad.
>
> period.
>
> BobX
>
>
>
> Tewpin Andrey (ôÀÐÉÎ áÎÄÒÅÊ) wrote:
> >
> > 1. In comp.arch.embedded it isn't so interesting...
> > 2.Yes. Linux has some problems with threads...
> > 3.Yes. Linux hasn't problems with drivers for newest devices...(no
drivers -
> > no problems).
> >
> >     At7
> >
> > P.S. Don't worry. Linux's enough good OS w/o any tests...
> >
> > A. Steinhoff wrote <7idvj0$[EMAIL PROTECTED]> ...
> > >
> > >Bruce Weiner wrote in his rebuttal:
> > > "Setting the Record Straight: Where ABCnews.com Got It Right and
Wrong":
> > >
> > >            "2.Mindcraft used a server with a MegaRAID controller
> > >               with a beta driver (which was the latest version
> > >               available at the time of the test) while the PC Week
> > >               server used an eXtremeRAID controller with a fully
> > >               released driver. The MegaRAID driver was single
> > >               threaded while the eXtremeRAID driver was
> > >               multi-threaded."
> > >
> > >That means that these Mindcraft guys were aware that they have tested
> > >the LINUX performance with a BETA DRIVER for the MegaRAID controller
and
> > >they were aware that this beta driver was just a SINGLE-THREADED
driver!!
> > >
> > >It's evident that the multi-threaded NT driver for the MegaRAID
controller
> > >has a much better performance under havy load as a single-threaded
> > >driver ... so their so called test results are very dubiuos and rigged.
> > >
> > >As Lincoln said:"One can cheat the poeple .. but only for a limited
time"
> > >
> > >Armin
> > >



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

From: Ed Avis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: A Capitalists view of freedom
Date: Tue, 25 May 1999 14:40:53 +0100

Marco Antoniotti wrote:

>Unless in the past months some federal law was
>passed in this respect, in some US States, you do not even have any
>right to retrieve what data is stored about you by, let's say, some
>credit-assessing *private* agency. The naivete of the people
>supporting anti-governement views is sometime astonishing.

Surely you support the right to keep secrets?  There are often good
reasons for keeping information confidential.  And nobody is forced to
listen to the agency; it's up to individual lenders to decide where to
get their credit ratings from.  They may well decide that an agency is
more trustworthy if its information is kept secret.

-- 
Ed Avis

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

From: [EMAIL PROTECTED] (Gilles Pelletier)
Subject: Re: Linux: 750 million users by 2004?
Date: Tue, 25 May 1999 14:14:59 GMT

[EMAIL PROTECTED] (Christopher Browne) écrivait/wrote:

>On Mon, 24 May 1999 16:16:10 GMT, Gilles Pelletier

><[EMAIL PROTECTED]> wrote: 
>>[EMAIL PROTECTED] (William Burrow) écrivait/wrote:
>>>Golly, I'd be surprised if there were that many anyway -- FreeBSD would
>>>probably be up to (6 tripling cycles) the 100+ million mark if so... ;)
>>
>>What? Let me write an arithmetic formula to determine this...
>>Do you mean FreeBSD only has 137,174 users worldwide? That's what I
>>call a very select club!
>
>And everyone does realize, I trust, that when we know neither rate of
>change nor the precise populations to any great degree of accuracy that
>extrapolations of populations sizes will be of less than dubious
>integrity? 

I certainly realize this. No later than yesterday, I was telling a
friend that if you exclude Linux users who boot Windows by default,
there might be no more than 100,000 linux users left.

GP


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

From: [EMAIL PROTECTED] (Daniel Beckham)
Subject: Re: ls colors... not recognizing file extensions
Date: Tue, 25 May 1999 09:08:50 -0500

You didn't read my post.  I already do that just fine.  What I need is 
for it to actually highlight file extensions such as .gz, .tgz and .tar.  
It seems to be setup correctly, but it is not working, even if I just 
issue a ls --color which would cause all ls output to be colorized, not 
just output to the TTY.

Daniel

In article <7icgfp$ppa$[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
says...
> I added 
> 
>       alias ls="ls --color=tty"
> to /etc/bashrc
> 
> 
> Daniel Beckham ([EMAIL PROTECTED]) wrote:
> : For some reason my ls color output does not recognize colors for file 
> : extensions although, it works great for file types.  The colors are 
> : specified in /etc/DIR_COLORS and if I issue a 'dircolors -p', I can see 
> : that extensions such as .tar, .tgz, .gz, etc. all have colors associated 
> : with them.
> 
> : Anyone have a clue as to how I can get ls --color=tty to show colors for 
> : all files specified?
> 
> : FYI, I'm using RedHat 5.2.  I can remember this working great when I 
> : first started using Linux, (1.44MB slackware files, downloaded one at a 
> : time) but I've never seen it working in the RedHat distributions.
> 
> : Thanks,
> 
> : Daniel Beckham
> 
> --
> While Alcatel may claim ownership of all my ideas (on or off the job),
> Alcatel does not claim any responsibility for them. Warranty expired when u
> opened this article and I will not be responsible for its contents or use.
> 

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

Date: Tue, 25 May 1999 15:51:05 +0200
From: Johannes Klauninger <[EMAIL PROTECTED]>
Crossposted-To: comp.mail.misc
Subject: Re: Eudora-like mail program for linux? (With Filters etc)



Steve Lamb wrote:

> On 17 May 1999 13:08:55 -0700, Michael Powe <[EMAIL PROTECTED]> wrote:
> >Right, you chose to use something else.  If you had not made that
> >choice, you'd have procmail installed.  Thanks for making my case.
>
>     And thank you for proving mine about preteniousness.  Actually, I don't
> use procmail at all because my MUA does the filtering, not MTA or an arbitrary
> delivery agent.  Again, I stress that making a base assumption about what a
> person does and does not have on their system is rude, inconsiderate, only
> adds to confusing and paints you as a prick.  Good day.  *plonk*
>
> --
>          Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
>          ICQ: 5107343          | main connection to the switchboard of souls.
> -------------------------------+---------------------------------------------

Burschen, Ihr seid's Trotteln!

<guy's, you're somehow sick...>


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

From: [EMAIL PROTECTED] (Owen Cook)
Subject: Re: Version of kernel
Date: Tue, 25 May 1999 09:14:45 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 20 May 1999 13:08:26 -0400, Glenn <[EMAIL PROTECTED]> wrote:

>Not at my machine, but this should do it for RedHat.
>cp /proc/version  /lib/modules/2.2.7/.rhkmtag

>You need to do this for each kernel upgrade. You should have an old version
>of .rhkmtag under your old_modules directory.

This is a fast learning curve. If I 
cat /proc/version it gives the same info as in /lib/modules/2.0.36-0.7
and I cant edit or change permissions or do anything with this version
file
In /lib/modules there is
        dir    2.0.36-0.7
        dir    2.2.7
        link  preferred-> /lib/modules/2.0.36-0.7

and cannot find an old_modules directory

doing a cat /lib/modules/2.0.36-0.7/.rhkmvtag gives
Linux version 2.0.36 ([EMAIL PROTECTED]) (gcc version 2.7.2.3) #1
Tue Oct 13 22:17:11 EDT 1998

if I modify this by hand to say Linux version 2.0.3 (not 36) the kernal
seems to do strange thigs..."The fs vfat is not supported by this
kernel" as though the system depends on the .rhkmvtag file.

and in the 2.2.7 directory, only one directory called   net  , no files

I suspect if I used a RedHat upgrade, all would be ok. or maybey I
missed something in the install configuration

Anyway, thanks for the responses. 


Owen

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

From: [EMAIL PROTECTED] (Daniel Beckham)
Subject: Re: ls colors... not recognizing file extensions
Date: Tue, 25 May 1999 09:10:01 -0500

Probably because it's a single user system and he doesn't care about 
other uses because he has none...

Anyway, since you've volunteered a flame, would you happen to know the 
answer to my question?

Daniel

In article <7id0eo$[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
says...
> John Strange <[EMAIL PROTECTED]> wrote in message
> news:7icgfp$ppa$[EMAIL PROTECTED]...
> > I added
> >
> > alias ls="ls --color=tty"
> > to /etc/bashrc
> 
> Oh, you mean such that other users, who don't want that color trash, have to
> unalias your alias explicitely?
> Really a great idea.
> 
> Is there a specific reason why you didn't put it into your private
> ~/.bashrc?
> 
> jue
> --
> Jürgen Exner
> 
> 
> 
> 

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

From: [EMAIL PROTECTED] (Takashi Ichihara)
Crossposted-To: comp.os.linux.hardware
Subject: SCSI error (aic7xxx.c) ?
Date: 25 May 1999 09:06:43 GMT

  Hi

  We have installed 8 nodes of Linux cluster and frequently 
encountered with SCSI errors for 4 nodes.  So far we have tested 
following 3 sets of kernels and SCSI drivers.  In all case, we 
have encountered the similar errors.

    Linux 2.0.36     (aic7xxx.c version 5.1.2)
    Linux 2.2.4      (aic7xxx.c version 5.1.10)
    Linux 2.2.7-ac1  (aic7xxx.c version 5.1.13) 

A sample error log is attached in this text. Following is our
configuration information.

 Motherboard:    ASUS P2B-DS
 CPU/memory      Dual Pentium II 450 MHz, 256 MB Memory
 SCSI Adapter:   Adaptec AIC-7890/1 Ultra2 SCSI host adapter
 SCSI Disk:      SEAGATE   Model: ST39173LW
 Linux kernel:   linux-2.2.4 and  Linux 2.2.7-ac1
 SCSI driver :   aic7xxx.c version  5.1.10 and  5.1.13(by Alan's patch)

  Does anyone know how to fix this problem ?  Is there any newer
drivers for aic7xxx.c ?  Thanks for the information.

                                Takashi ichihara (RIKEN)
                                ichihara at rarfaxp.riken.go.jp
============================================================================
(May 21 08:33:47 ap03 kernel: scsi0 channel 0 : resetting for second half of
retries.
May 21 08:33:51 ap03 kernel: SCSI bus is being reset for host 0 channel 0.
May 21 08:33:51 ap03 kernel: (scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec,
offset 15.
May 21 08:33:51 ap03 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0
return code = 18000002
May 21 08:33:51 ap03 kernel: [valid=0] Info fld=0x0, Current sd08:0c: sense
key Aborted Command
May 21 08:33:51 ap03 kernel: Additional sense indicates Scsi parity error
May 21 08:33:51 ap03 kernel: scsidisk I/O error: dev 08:0c, sector 2771872
May 21 08:33:51 ap03 kernel: scsi0 channel 0 : resetting for second half of
retries.
May 21 08:33:51 ap03 kernel: SCSI bus is being reset for host 0 channel 0.
May 21 08:33:51 ap03 kernel: (scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec,
offset 15.
May 21 08:33:51 ap03 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0
return code = 18000002
May 21 08:33:51 ap03 kernel: [valid=0] Info fld=0x0, Current sd08:0c: sense
key Aborted Command
May 21 08:33:51 ap03 kernel: Additional sense indicates Scsi parity error
May 21 08:33:51 ap03 kernel: scsidisk I/O error: dev 08:0c, sector 2771874
  $B!'(B
May 21 08:34:34 ap03 kernel: scsi0 channel 0 : resetting for second half of
retries.
May 21 08:34:34 ap03 kernel: SCSI bus is being reset for host 0 channel 0.
May 21 08:34:37 ap03 kernel: (scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec,
offset 15.
May 21 08:34:38 ap03 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0
return code = 18000002
May 21 08:34:38 ap03 kernel: [valid=0] Info fld=0x0, Current sd08:0c: sense
key Aborted Command
May 21 08:34:38 ap03 kernel: Additional sense indicates Scsi parity error
May 21 08:34:38 ap03 kernel: scsidisk I/O error: dev 08:0c, sector 2771896









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

From: Mihaly Gyulai <[EMAIL PROTECTED]>
Subject: Re: Number Lock at start up
Date: Tue, 25 May 1999 08:27:49 GMT

In article <7id300$1h7$[EMAIL PROTECTED]>,
  "Bezalel Geretz" <[EMAIL PROTECTED]> wrote:
> Its usually a BIOS setting not an OS setting
Yes, that's true... usually...
> Mike Rego wrote in message <[EMAIL PROTECTED]>...
> >How can I get the number lock to be on at the start up of my Linux
> >RedHat 5.2?

Put somewhere where it runs at startup : setleds +num


--
Mihaly Gyulai
http://www.freeyellow.com/members5/gyulai/


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

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

From: Mihaly Gyulai <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell
Subject: Re: limit of command line argument number
Date: Tue, 25 May 1999 08:35:04 GMT

In article <[EMAIL PROTECTED]>,
  Tae-Yeoub Jang <[EMAIL PROTECTED]> wrote:
>
> I need to handle a directory which contains 11000 data files.

Try to put somewhere (maybe into /etc/profile) : ulimit -n 12000
(I never tried it).















--
Mihaly Gyulai
http://www.freeyellow.com/members5/gyulai/


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

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

From: Johan Kullstam <[EMAIL PROTECTED]>
Subject: Re: PS1 format
Date: 25 May 1999 09:32:51 -0400

Cliff Story <[EMAIL PROTECTED]> writes:

> I looked through my growing collection of Linux books and the "Linux
> FAQ" and could not find the answer to this silly question:
> 
>       What is the format of the PS1 variable?
> 
> I want to change my prompt to something like:
> 
>       tty2 clyde$
> 
> when I'm logged on terminal 2 and in directory "clyde".

man bash.  search for PS1.  you'll find it.

and when you've done that, there's even a bashprompt-howto.

-- 
johan kullstam

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

From: Johan Kullstam <[EMAIL PROTECTED]>
Subject: Re: The Vi Lovers Home Page
Date: 25 May 1999 09:42:18 -0400

James Lee <[EMAIL PROTECTED]> writes:

> Aqeel Mahesri <[EMAIL PROTECTED]> wrote:

> : However, I do use emacs a lot, and have a favorable impression of
> : it.  Also, on a P2-400, emacs is NOT slow.

> but linux runs on 386.  Is it slow?

yes.  a 386 *is* slow.

emacs is of course slow on such a slug.  go dumpster diving for a
486.  surely one of your neighbors is throwing theirs out.  :-)

i have used emacs for about 15 years (teco emacs in tops-20 running on
a pdp-10 - ah, the joys of 36 bit computing!).  if you like emacs,
stay in emacs.  you can spawn subprocesses or suspend and foreground
it with ^Z and fg respectively.  if you do not like emacs, don't use
it.  it's not very hard.

-- 
johan kullstam

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

Crossposted-To: comp.unix.shell
From: "Kurt J. Lanza" <[EMAIL PROTECTED]>
Subject: Re: limit of command line argument number
Reply-To: [EMAIL PROTECTED]
Date: Tue, 25 May 1999 13:39:04 GMT

Tae-Yeoub Jang wrote:
> 
> I need to handle a directory which contains 11000 data files.
> But I just can't put those files onto a command line as input arguments.
> 
> For example:
>                 BASH> ls dirname/*
>                 BASH> bash: /bin/ls: too many arguments  <== Error message
> 
> None of shell commands and other programs are working.  What should I
> do?  It doesn't seem to be the problem of BASH, my shell, as I tried
> with another shell like 'tcsh' to no purpose.
> 
> My platform is "Redhat Linux5.2 with Kernel 2.0.36, BASH 1.14.7.
> There should be a solution as I hadn't met this problem with the unix
> machine with the same BASH shell in my office.
> 
Use the find command -- it's probably your only hope here:

        find dirname .... -print | while read F
        do
                stuff with $L
        done

Slow, perhaps, but it should get the job done.

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


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

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

    Internet: [EMAIL PROTECTED]

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

End of Linux-Misc Digest
******************************

Reply via email to