Linux-Misc Digest #951, Volume #25                Thu, 5 Oct 00 15:13:04 EDT

Contents:
  Re: Aiee, killing interrupt handle! (Eric Y. Chang)
  Usb MODEM ("Lodo Nicolino")
  Lilo problems (Bill Warren)
  Re: any hope? (win98 upgrade, lost mbr, no boot disk) ([EMAIL PROTECTED])
  Re: any hope? (win98 upgrade, lost mbr, no boot disk) ([EMAIL PROTECTED])
  Could someone help with lyx/latex/tex? (Praedor Tempus)
  Procomm-like comm package? (fred anger)
  Re: nfs woes ([EMAIL PROTECTED])
  Re: A dumb networking question ([EMAIL PROTECTED])
  Re: SCSI Drivers (-ljl-)
  Re: tar but no dump - help? (Andrey Vlasov)
  tlan and Linux 2.2.17 (Zeno Malin)
  Re: PATH ("Danijel Tasov")
  Re: Printing man pages: a solution and a question about groff. (James Silverton)
  Re: Procomm-like comm package? (Tony Lawrence)
  Strange memory behavior... (Thierry)
  Re: so what do I do with my spare modem bandwidth? (Barry Margolin)
  Re: Need terminal emulator (Frank da Cruz)
  Re: Strange memory behavior... (Lew Pitcher)
  Re: Strange memory behavior... (Andreas K�h�ri)
  Exim command line opt for Subject (HankC)
  Re: can't log in as root ([EMAIL PROTECTED])
  Re: Need terminal emulator (Tony Lawrence)

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

From: [EMAIL PROTECTED] (Eric Y. Chang)
Subject: Re: Aiee, killing interrupt handle!
Date: 5 Oct 2000 16:46:34 GMT
Reply-To: [EMAIL PROTECTED]

This message is caused by a buggy device or driver.  These kinds of things
are very hard to debug.  Here is a log of some of my experiences:

Hi.  I am the person who posted the message complaining about the 3c505
and the "could not send first PCB" error message.  There is a file
called 3c505.txt in the /usr/src/linux/Documentation directory (which
I did read, so don't tell me to RTFM :-) ).  It did not say much.  I
went over the PCB with a fine toothed comb, but did not find anything
wrong.  I checked for slops and holidays and flux spray, but did not
see any problems.  Actually, this is a through hole PCB,
so slops and holidays should not be too much of a problem.

Since I did not receive a reply from the newsgroup for awhile, I
decided to hack a little bit.  PCB actually does not mean "printed
circuit board".  It has something to do with a block of data used to
control the interface.  The file in question is 3c505.c in
/usr/src/linux/drivers/net.  The error message is generated when the
board does not correctly acknowledge a test block of data that is sent
to it when booting.  Looking at the code, it seemed from the comments
that the outer loop probably had a timing problem if there is a lot of
boot/DMA activity.  There may be a problem with getting a response. 
There is a known problem (known at least to 3com) with busmastering DMA
SCSI cards on the bus.  So, I decided to change the outer loop retry
number from 3 to 8 and recompile as a module so it will not try to send
the PCB right after the Buslogic SCSI card is detected and initialized.
It now comes up just fine!


Now just try that with Windows 95!  Parenthetically, I should point out
that this kind of problem should be noted in a FAQ, or even better, in
that 3c505.txt file, or even better, there should be a snippet of code
in the driver that senses for and corrects this condition (or tells the
user to either dump the busmastering SCSI or load 3c505.o as a module).

##### This did not work for long.  Eventually it started crashing again.
##### Here is the final resolution.

Ref: 0083CEF1
Title: Bus Mastering SCSI Controller Problem with 3C507 and 3C507TP 
Adapters
Date: 05/05/92

Copyright 3Com Corporation, 1992.  All rights reserved.





An incompatibility has been discovered using the EtherLink 16 (3C507) or 

EtherLink16 TP (3C507TP) adapters and bus mastering SCSI hard disk 

controllers in an Intel EISA-based PC.  A few examples of these 
controllers 

are the Adaptec 1540 or 1542 and the BusTek SCSI controllers.



Note:  Any SCSI device that performs bus mastering will have these

problems, not just devices from Adaptec or BusTek.



Symptoms reported to 3Com Tech Support include timeouts or lockups between 

clients and servers during the LOGIN process, and data corruption on 

large file transfers to and from the server.



The reason for the incompatibility is that the 3C507 adapter relies heavily

on the PC bus for timing information and when a bus mastering device takes 

over the PC bus, it holds onto it for an indefinite period of time, causing

the 3C507 to "go to sleep" waiting for a timing response.

3Com has created a hardware fix for this problem, which requires replacing

the PAL on the 3C507 adapter to lengthen the amount of time the adapter

will wait for a signal from the bus.  If you experience the above 
symptoms, 

call 1-800-876-3COM and select option 2 for the RMA department to have the 

adapter retro-fitted with the fix.




######## Note that this took a good part of a year to resolve.
######## You may have better luck with a logic analyzer.

genkai wa doko da ([EMAIL PROTECTED]) wrote:
: ok in recent weeks my main linux box has been panicing every day or 2
: for no reason the msg is usually:

: --ton of  stack dump crap--
: Aiee, killing interrupt handle!
: panic: Attempted to kill the idle task!

: (the above statements are in kernel/error.c which doesn't really tell me
: anything at all.)

: nothing appears in /var/log/message ever (I grepped every file under
: /var no mention of panic anywhere.) I have syslogd logging *.err which
: as far as I know should catch panics. Is there a way to get more verbose
: logging?

: This is a Slackware 7.1 box btw.

: --
: RCS/RI, Retro Computing Society: http://www.osfn.org/rcs/
: RIFUG, RI Free Unix Group: http://www.rifug.org/
: Dropdead, my band: http://www.dropdead.org/
: my videogame stuff: http://www.gloom.org/~gauze/


: Sent via Deja.com http://www.deja.com/
: Before you buy.

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

From: "Lodo Nicolino" <[EMAIL PROTECTED]>
Subject: Usb MODEM
Date: Thu, 05 Oct 2000 16:47:06 GMT

Hi am Nico.
Can Linux handle a usb external modem ( ta us.robotics).
I have a Red Hat 6.2
thanks in advance.
Nico.



--
E pensare che ti ho fatta studiare a Detroit
( Jonny Stecchino )



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

From: Bill Warren <[EMAIL PROTECTED]>
Subject: Lilo problems
Date: Thu, 05 Oct 2000 09:05:19 -0500

Gods,
I an trying to build a new kernal.  The only problem I have is when I
run lilo -v.  I get the folloing error  "ot a number: "/dev/hda5  Here
is my lilo.conf:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux

image=/boot/vmlinuz-2.2.14-5.0
 label=linux
 root=/dev/hda5
 initrd=/boot/initrd-2.2.14.img
 read-only

image=/boot/vmlinuz-2.2.17
 label=test
 root=/dev/hda5
 initrd=/boot/initrd-2.2.17.img
 read-only


The machine boots normally.  Any Ideas?


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

From: [EMAIL PROTECTED]
Subject: Re: any hope? (win98 upgrade, lost mbr, no boot disk)
Crossposted-To: comp.os.linux.setup
Date: Thu, 5 Oct 2000 13:24:23 +0100

RCD <[EMAIL PROTECTED]> did eloquently scribble:
> hi,

> if anyone knows of a solution I'd like to hear it.

> I have (had) a dual boot (with lilo) redhat, win95 and thought I'd
> finally upgrade to win98.

> I stupidly forgot to make a bootdisk.

If you have the Red Hat CD, you can quite easily create a new boot floppy,
or boot off the CD...

For the bootfloppy, use rawrite.exe on the CD to create the floppy.

For booting from the CD, select "boot installed system"

Then rerun LILO.
-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   |                                                 |
|Andrew Halliwell BSc(hons)| "ARSE! GERLS!! DRINK! DRINK! DRINK!!!"          |
|            in            | "THAT WOULD BE AN ECUMENICAL MATTER!...FECK!!!! |
|     Computer Science     | - Father Jack in "Father Ted"                   |
==============================================================================

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

From: [EMAIL PROTECTED]
Subject: Re: any hope? (win98 upgrade, lost mbr, no boot disk)
Crossposted-To: comp.os.linux.setup
Date: Thu, 5 Oct 2000 13:25:58 +0100

RCD <[EMAIL PROTECTED]> did eloquently scribble:
> hi,

> thanks for the useful info,

> I'll try booting from the cd, then loadlin.

> Yeah, I think you're right about installing LILO.  I've read that
> re-installing it may make
> win98 unbootable.  I think I'll have to stick to a boot disk until this
> apparent problem is solved.

As long as LILO knows about the windows partition, it will work.
You just have to make sure your lilo.conf file is correct before running it.

-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   |                                                 |
|Andrew Halliwell BSc(hons)| "ARSE! GERLS!! DRINK! DRINK! DRINK!!!"          |
|            in            | "THAT WOULD BE AN ECUMENICAL MATTER!...FECK!!!! |
|     Computer Science     | - Father Jack in "Father Ted"                   |
==============================================================================

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

From: Praedor Tempus <[EMAIL PROTECTED]>
Subject: Could someone help with lyx/latex/tex?
Date: Thu, 05 Oct 2000 11:38:26 -0600

OK, I have read the man pages...no help, too cryptic
and assume prior knowledge.  I have searched the web
and so far, everything that relates to this question 
I have examined has, again, assumed prior extensive 
knowledge of tex/latex.

I am using lyx 1.0.5 and am trying two different 
bibliography app/frontends to bibtex.  The one
I prefer is called sixpack.  There is no documentation
with sixpack.

I have a bibliography database that I can load into
sixpack.  When I try to export it to bibtex format,
nothing happens and nothing is produced.  The original
database remains alone and lonely.  When I select the
"insert into lyx" option (or Alt-1), nothing happens.

I have added the  \serverpipe "~/.lyx/lyxpipe"
line to my lyxrc file as required.

Is ANYONE using sixpack and lyx together successfully?
If so, could you PLEASE tell me what I have to do to
make lyx read in a bibliography database and actually 
accept or create proper citations from said database?

Sixpack is supposed to be able to insert the citation,
but I believe you first need to load the database into
lyx.

HELP!
praedor

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

From: fred anger <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Procomm-like comm package?
Date: Thu, 05 Oct 2000 17:40:24 GMT

Does anyone know of a communications package similar to Procomm+ for
Linux/X?  My first impressions of seyon are less than pleasing.

Basically, I need software that emulates a vt100-like terminal and will
allow me to use a serial port to connect to another (proprietary
embedded) system, with support for zmodem file transfers.

--
  fred anger
  BRING BACK DEJANEWS.COM
  'RATE THIS' SUCKS!


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED]
Subject: Re: nfs woes
Date: Thu, 05 Oct 2000 17:41:34 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> i cant get the nfs mounted partition to be read/write, it is always
read
>
> only.  In the /etc/exports directory i hav the line

Are the numeric UID and GID's the same on the Linux and the Solaris
machine? I'm thinking that the directory is mounted RW, but the user
does not have permission to write due to a UID/GID mismatch between the
machines. The numeric ID's are used for this, not the human-readable
names.

If the numeric UID and GID are the same, when you type "mount" on the
Solaris machine, is the directory in question listed
as "read/write/remote"? That's what I just got on my SPARC when I
checked how my home (served from an HPUX machine, not Linux) is mounted.


--
Jim Buchanan        [EMAIL PROTECTED]     [EMAIL PROTECTED]
=================== http://www.buchanan1.net/ ==========================
"I don't think Microsoft is evil in itself; I just think that they make
 really crappy operating systems." -Linus Torvalds
========================================================================


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED]
Subject: Re: A dumb networking question
Date: Thu, 05 Oct 2000 17:49:32 GMT

Thanks for that, I'll take a peek =)


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: -ljl- <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.setup,comp.os.linux.hardware,comp.os.linux.misc.development.system
Subject: Re: SCSI Drivers
Date: Thu, 05 Oct 2000 17:50:58 GMT

In article <[EMAIL PROTECTED]>,
  Carlos A. =?iso-8859-1?Q?L=E1zaro?= Carrascosa
<[EMAIL PROTECTED]> wrote:
> Anyone know if exists any  driver for the:
>
> Future Domain Corp
> TMC-850MEX (pt)

The kernel's "/usr/src/linux/drivers/scsi/seagate.c" claims
TMC-8xx style controller support.  I think that is a legacy
adapter.

--
Louis-ljl-{ Louis J. LaBash, Jr. }


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Andrey Vlasov <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.hardware,linux.redhat.misc,linux.scsi
Subject: Re: tar but no dump - help?
Date: Thu, 05 Oct 2000 10:59:02 -0700

Hi there,

unfortunately I have no idea about your tapedrive but have some experience in
this area.
First of all most drives have dip switches and some of them control
compression. You need
check  tape drive manual for this subject. For example HP DDS drives have dip
switch which
will say to drive switch into compression mode on power on. Except of that you
can control
compression in Linux trough "mt" command - check man page for your
distribution. And last
one for "dump" you should pass as arguments length of tape in blocks and
preferable block
size - tape in most cases can not report it's length. (There are some tapes
which have buildin
memory microchip which keep information about content of the tape at which
block starts
each file, length of the file, tape usage and so on... but it is very
expencive and very fast
drives for enterprise solutions). Normaly tapes recognized by holes in tape
cartrige - some
report length like in case Seagetes 8mm helical drives, some reports types
like in case of
HP DDS drives- tape reports that it or DDS1 or DDS2 or DDS3 or DDS4 but non of
them
report "please, switch compression". Compression conrolled by dip switches or
by software
- check this part for your drive.

Andrey


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

Date: Thu, 05 Oct 2000 20:03:40 +0200
From: Zeno Malin <[EMAIL PROTECTED]>
Subject: tlan and Linux 2.2.17

Since the update to kernel version 2.2.17 the tlan driver complains
("TLAN: Invalid interrupt on eth0.") about a wrong interrupt, whereas
all was fine under kernel 2.2.16. In fact, all cards are running, at
least I can ping my neighbors and ifconfig does not show any errors or
gives a hint to data loss. The overall performance seems not to be
affected. The tlan driven adapter runs under promiscuous mode.

hardware: Compaq 6000, SCSI (Adaptec aic7xxx)
my card settings: 
eth0: Compaq Netflex-3 Adapter  tlan (version 1.3b)             irq 11          
io=0x1000
eth1: 3Com 905 Cyclone          3c59x (16Aug00 D. Becker)       irq 11          
io=0x1080
eth2: 3Com 905 Boomerang        3c59x (16Aug00 D. Becker)       irq 11          
io=0x1040

How can help ?

Z. Malin

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

From: "Danijel Tasov" <[EMAIL PROTECTED]>
Subject: Re: PATH
Date: 5 Oct 2000 18:03:56 GMT

On Tue, 03 Oct 2000 23:31:05 -0400,
Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> You must log out and log back in for .bash_profile to be re-applied (this is
> not the whole truth).

source .bash_profile does the same.

Danijel

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

From: James Silverton <[EMAIL PROTECTED]>
Subject: Re: Printing man pages: a solution and a question about groff.
Date: Thu, 05 Oct 2000 14:05:01 -0500

James Silverton wrote:
> 
> .
> 
> Thnks for the suggestions but, as I mentioned, the problem only seems to
> occur when printing man pages. Since that's not a thing I do very often,
> it's hardly worth worrying about.
> 
> Jim.
>
-- : 
Strangely enough (g) and I'm a bit ashamed to have gone on so long, the
first reply at the start of this thread gave the answer I was looking
for!

 This was:-

          Tue, 03 Oct 2000 16:06:50 GMT
      From: 
           [EMAIL PROTECTED] (William W.)

"Though you can probably get nicer output if you do something like

zcat /usr/man/man1/manpage.1.gz | groff -Tps -man | lpr

Though I haven't tried that myself."

With the Linux version of groff, "-Tps" is not necessary since it is the
default and it seems that "-mandoc" should be used instead of "-man". It
looks like my problem is that the version of man that I am using mangles
the page headings when it decompresses the gz files.

Incidentally, does anyone know where the groff parameter "-mandoc" is
documented? It appears in many books but does not show up with "man
groff".

Jim.



James V. Silverton
Potomac, Maryland

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

From: Tony Lawrence <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Procomm-like comm package?
Date: Thu, 05 Oct 2000 14:08:09 -0400

fred anger wrote:
> 
> Does anyone know of a communications package similar to Procomm+ for
> Linux/X?  My first impressions of seyon are less than pleasing.
> 
> Basically, I need software that emulates a vt100-like terminal and will
> allow me to use a serial port to connect to another (proprietary
> embedded) system, with support for zmodem file transfers.

There's a $25.00 emulator I like reviewed at 
http://www.pcunix.com/Reviews/alphacom3.html

-- 
Tony Lawrence ([EMAIL PROTECTED])
SCO/Linux articles, help, book reviews, tests, 
job listings and more : http://www.pcunix.com

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

From: Thierry <[EMAIL PROTECTED]>
Subject: Strange memory behavior...
Date: Thu, 05 Oct 2000 18:08:46 +0000

Hi,

I have a problem with my Linux Box :(
I installed 512MB of RAM, but only 64MB was detected, so i modified
lilo.conf adding append="mem=512MB".

So when i reboot linux see 512MB. But the strange behavior is that there is
300MB cached (what does it mean ?) and i can allocate more than 1GB in my C
program with intensive malloc, without errors !

Have you an idea ?

Thanks a lot

thierry


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

From: Barry Margolin <[EMAIL PROTECTED]>
Crossposted-To: alt.windows98,comp.dcom.modems,gnu.misc.discuss
Subject: Re: so what do I do with my spare modem bandwidth?
Date: Thu, 05 Oct 2000 18:11:58 GMT

In article <8rhpjs$i8j$[EMAIL PROTECTED]>,
Bernhard Reiter <[EMAIL PROTECTED]> wrote:
>In article <8rdfbl$53p$[EMAIL PROTECTED]>,
>       "Dan Jacobson" <[EMAIL PROTECTED]> writes:
>
>> Now I would like to turn to spare modem connect time.
>> Let's say I have to connect to the net on a pay per minute situation, for say
>> about an hour day to browse.  It sure seems a waste not to maximize the flow
>> of info into my computer during this time.
>
>You might pay by the minute, but the overall price 
>contains the volume prices of your service provider somehow.
>
>You could be responsible and conserve bandwidth. :)
>(Okay this is only half serious.)

Actually, this is a good point.  The service provider engineers his network
based on expected bandwidth use, and prices are derived from the cost of
this infrastructure.  If lots of customers start doing things that fill up
their unused time, the ISP will have to add more bandwidth, which will
increase his costs to support the same number of customers.  They'll
probably need to increase prices to compensate for it.

Remember, there's no such thing as a free lunch.  The reason the Internet
is so affordable is because everyone's counting on all that quiet time, so
that customers can share bandwidth.

-- 
Barry Margolin, [EMAIL PROTECTED]
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

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

From: [EMAIL PROTECTED] (Frank da Cruz)
Subject: Re: Need terminal emulator
Date: 5 Oct 2000 18:13:54 GMT

In article <Cg1D5.4266$[EMAIL PROTECTED]>,
Grant Edwards <[EMAIL PROTECTED]> wrote:
: In article <8ri0hp$586$[EMAIL PROTECTED]>, Frank da Cruz wrote:
: >: I'm looking for an X11 serial terminal emulator.  Something
: >: like seyon or minicom, but:
: >: 
: >:  1) I'd like to see status of modem control lines.
: >:  2) I'd like to be able control modem control lines.
: >:  3) All I want is a terminal emulator.  I don't need something
: >:     that tries to initialize modems, dial phone numbers or
: >:     anything like that.  I just want it to act like a terminal.
: 
: >C-Kermit:
: 
: I tried C-Kermit but couldn't figure out how to control RTS and DTR.
:
Like I said, RTS is controlled by the device driver, depending on the
line discipline chosen.  Some OS's, maybe some forms of Linux, might
allow the application explicit control of RTS, but there is certainly
no standard or well-known API for this.

DTR too is controlled by the driver.  Generally the driver asserts DTR
when the device is open, unless the speed is 0.  In most UNIXes, to drop
DTR without closing the device, you have to set the speed to 0, which
makes useful i/o kind of difficult.

: I've been using various flavors of Kermit for 10+ years
: now, and it saddens me that kermit isn't included in many Linux
: distibutions.
:
As of version 7.0:

  http://www.columbia.edu/kermit/ckermit.html

there's nothing stopping them from including it.  It is included in
several current ones: SuSE 7.1, Red Hat 6.2 (in the Power Tools area),
and last I heard it would be in forthcoming (hopefully now current)
releases of Slackware, Mandrake, Caldera, and TurboLinux, and in the
"package collections" of others.  Ditto for the *BSDs.

: That means when I go help somebody troubleshoot serial stuff...
:
Like in the Linux Serial-HOWTO, which recommends Kermit...

: ... they only thing they have is minicom (the UI in
: minicom drives me up the wall).  I generally resort to stty,
: cat, and echo.
: 
A lot of people find Kermit useful, but to get the big packagers to
adopt in their base systems often requires more than just me asking 
them to do it; user demand is needed.  If you'd like to be able to 
depend finding C-Kermit already installed on any Linux system, let your
Linux package know.

: >  http://www.columbia.edu/kermit/
: >
: >It lets you see the status of modem control lines ("show comm").
: 
: I was looking for something that displays the status
: continuously rather than having to repeatedly execute a
: command.
: 
Since, in UNIX, Kermit doesn't have direct access to the screen (as it
does in DOS or Windows), there isn't any good way for it to have a status
line or similar area that it can continuously update.

Well, OK, there's always curses, but having curses active during 
"connect" mode begs several much larger questions.

: >As to controlling modem signals, that's mostly a driver issue.
: >Kermit can toggle DTR ("hangup"),
: 
: That's the problem with the other terminal emulators I've
: tried, they all assume their connected to modems. Which is
: fine, if that's what you're doing.
: 
Kermit doesn't assume that; it lets you use its built-in modem control,
and it also lets you do it all yourself (AT command dialogs with the
modem if you prefer).  "set carrier-watch off" lets you talk to devices
that are not asserting CD.

Unlike Minicom, Seyon, UUCP and friends (CU, TIP), etc, Kermit does not
require any external files, configurations, or setups at all.  You can
use it bare.  (Of course it still needs access to the serial devices and
lockfiles, but that's true for any application that wants to use a
serial port.)

: Only if you enable RTS/CTS flow control in the driver. Most
: Unix drivers allow application control of both DTR and RTS.
: 
Define "most".  In my experience, most UNIXes do not even let the
application *see* the signals, much less manipulate them.  But in any
case, if there's a demand for this kind of thing, and it's possible to
do, I'll look into adding it.  (That's another advantage that Kermit
has over minicom and seyon :-)

: >and of course CD, DSR, RI, and RTS are incoming signals.  
: 
: Yup (you meant "CTS" rather than "RTS").
: 
Right.

- Frank

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

From: [EMAIL PROTECTED] (Lew Pitcher)
Subject: Re: Strange memory behavior...
Reply-To: [EMAIL PROTECTED]
Date: Thu, 05 Oct 2000 18:16:19 GMT

On Thu, 05 Oct 2000 18:08:46 +0000, Thierry <[EMAIL PROTECTED]> wrote:

>Hi,
>
>I have a problem with my Linux Box :(
>I installed 512MB of RAM, but only 64MB was detected, so i modified
>lilo.conf adding append="mem=512MB".
>
>So when i reboot linux see 512MB. But the strange behavior is that there is
>300MB cached (what does it mean ?)
It means that Linux will use 300Mb of your 512Mb for for file I/O caching. Don't
worry, Linux will give the memory back to the applications as memory demand
grows. Remember: unused memory is wasted memory.

> and i can allocate more than 1GB in my C
>program with intensive malloc, without errors !

Of course you can allocate more than 1Gb, but can you _use_it. Linux can be
configured to error on overallocation (malloc() more than is available) or on
first use of overallocated memory (actually accessing overallocated memory). The
default is to let applications allocate what they want, and kill them if they
_use_ more than is available.

I.e.
        char *ptr;
        ptr = malloc(1000000000);       /* no error */
        *(ptr+999999999) = '\0'         /* error - use of overalloc mem */

        


>Have you an idea ?
>
>Thanks a lot
>
>thierry
>

Lew Pitcher
IT Consultant, Development Services
Toronto Dominion Bank Financial Group

(Opinions expressed are my own, not my employers')

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

Subject: Re: Strange memory behavior...
From: Andreas K�h�ri <[EMAIL PROTECTED]>
Date: 5 Oct 2000 20:19:11 +0100

In article <[EMAIL PROTECTED]>,
Thierry  <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I have a problem with my Linux Box :(
>I installed 512MB of RAM, but only 64MB was detected, so i modified
>lilo.conf adding append="mem=512MB".
>
>So when i reboot linux see 512MB. But the strange behavior is that there is
>300MB cached (what does it mean ?)


It means that the OS uses 300MB of the RAM as a cache. This size is
very dynamic and you can do nothing about it (apart from hacking the
kernel I guess but I don't see why you want to do that). It's is a
good thing. It means that commands and code segments (and other data)
that are used often are loaded faster.


> and i can allocate more than 1GB in my C
>program with intensive malloc, without errors !


That's ok if you have 512MB swap somewhere. 


/A

-- 
Andreas K�h�ri, 
Uppsala University, Sweden.
======================================={ GNU it yourself --> www.gnu.org

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

From: HankC <[EMAIL PROTECTED]>
Subject: Exim command line opt for Subject
Date: 05 Oct 2000 18:35:23 GMT

Greetings:

Anyone know the command line parameter for Exim to specify subject?
I'm trying to mail a report from cron thusly:

cat report | /usr/sbin/exim -s "Daily Report" username

Exim complains about '-s'.  If I drop '-s "Daily Report"' then the
report is mailed okay (with no subject line, tho).

Is there a more appropriate newsgroup for this question?

TIA

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

From: [EMAIL PROTECTED]
Subject: Re: can't log in as root
Date: Thu, 05 Oct 2000 18:43:41 GMT

In article <[EMAIL PROTECTED]>,
  Giacomo Amabile Catenazzi <[EMAIL PROTECTED]> wrote:
> > root, but can't log in as root. If I type "root" at the login
prompt, it
> > doesn't even get around to asking for a password - after a few
seconds
> > it just says "Login incorrect".
> you can login as root only on the terminal listed in /etc/secure* (I
> don't remebmer the true name!), but you can 'su' anywhere!

/etc/securetty

If you want to be able to log in as root from anywhere, including over
the network, you can just rename this file to securetty.orig (in case
you want it back).

Think carefully about your environment and security needs first of
course, it might not be a good idea.

In Mandrake 7.0 (I just looked), this files lists tty1 through tty6,
one entry per line, with '#' denoting comments.

--
Jim Buchanan        [EMAIL PROTECTED]     [EMAIL PROTECTED]
=================== http://www.buchanan1.net/ ==========================
"The programmer, like the poet, works only slightly removed from pure
 thought-stuff." -Fredrick P. Brooks
========================================================================




Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Tony Lawrence <[EMAIL PROTECTED]>
Subject: Re: Need terminal emulator
Date: Thu, 05 Oct 2000 14:52:05 -0400

Frank da Cruz wrote:

> Since, in UNIX, Kermit doesn't have direct access to the screen (as it
> does in DOS or Windows), there isn't any good way for it to have a status
> line or similar area that it can continuously update.

How about giving it the ability to accept a flag which would say
"send status to here" and of course "here" could be whatever the
user wanted, an unused virtual tty, a named pipe, a file they
tail -f in another window, another command "|mycommand" .. ?


-- 
Tony Lawrence ([EMAIL PROTECTED])
SCO/Linux articles, help, book reviews, tests, 
job listings and more : http://www.pcunix.com

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


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