Linux-Misc Digest #335, Volume #26               Sat, 18 Nov 00 10:13:01 EST

Contents:
  Re: Wiping your tracks - bash history (Patrick Baer)
  linux and movil phone data comms ("klelia avatagelou")
  Re: errors in /var/log/messages (Claus Atzenbeck)
  VM: killing process - box freezes (=?iso-8859-1?Q?_Dorothea_M=FCcke-Herzberg?=)
  file is not found - but I know it exists! (Erik =?iso-8859-1?Q?=D8._S=F8rensen?=)
  A stronger kill (Daniel Barron)
  Linux installation ("Eugene Fetbroyt")
  unresolved symbol waitqueue_lock?? (John Scudder)
  Re: Wiping your tracks - bash history (Floyd Davidson)
  Re: A stronger kill (Floyd Davidson)
  Re: A stronger kill ("Tom")
  Re: A stronger kill (Carl Fink)
  Re: Summary (Re: [finger] wont show .plan nor .project remotely -- why?) 
([EMAIL PROTECTED])
  Re: Bloatware ([EMAIL PROTECTED])
  Re: the relation between Linux and GCC ([EMAIL PROTECTED])
  Re: the relation between Linux and GCC ([EMAIL PROTECTED])
  ICQ ("Flej Ling")
  using rdev to re-assign root fs (Scott)

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

From: Patrick Baer <[EMAIL PROTECTED]>
Subject: Re: Wiping your tracks - bash history
Date: Sat, 18 Nov 2000 10:46:42 +0100

Vivek Narayanamurthy schrieb:
> 
> Hi
> 
> Is there any way by which you can *selectively* modify some of the
> commands in your shell's history?
> 
> Vivek

vi .bash_history?

-- 
Patrick Baer
http://www.computer-forums.com

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

From: "klelia avatagelou" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.setup,linux.dev.config,linux.dev.diald,linux.dev.laptop,linux.redhat,linux.redhat.install,linux.redhat.misc,uk.comp.os.linux,ukc.comp.sys.linux
Subject: linux and movil phone data comms
Date: Sat, 18 Nov 2000 11:04:46 -0000

does anybody knows how can I set up redhat linux to use my movil phone as a
modem?, I have the nokia data suite cable and software for windows, and it
works well, so I'd like to know if it is posible to setup linux in a similar
way...
any idea? please email... [EMAIL PROTECTED]




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

From: Claus Atzenbeck <[EMAIL PROTECTED]>
Subject: Re: errors in /var/log/messages
Date: Sat, 18 Nov 2000 12:15:54 +0100

TopQuark wrote on Sat, 18 Nov 2000 00:49:59 GMT:

> If you don't use that stuff, alias it to "off".  /etc/modules.conf
> (conf.modules?):

I have alias net-pf-4 ipx in /etc/modules.conf. What is it for? I need IP 
forwarding and Appletalk stuff. Does this still work without net-pf-4 ipx?

Thanks for your help!
Claus.

*****
This is my /etc/modules.conf file:

alias net-pf-4 ipx
pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start
alias usb-interface usb-uhci
alias parport_lowlevel parport_pc
alias sound-slot-0 es1371
post-install snd-card-ens1371 modprobe snd-pcm-oss
alias block-major-11 scsi_hostadapter
pre-install plip modprobe parport_pc ; echo 7 > /proc/parport/0/irq
alias scsi_hostadapter AM53C974
alias eth0 rtl8139
alias ppp-compress-21   bsd_comp
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate
alias char-major-108    ppp   


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

Date: Sat, 18 Nov 2000 10:12:45 -0000
From: =?iso-8859-1?Q?_Dorothea_M=FCcke-Herzberg?= <[EMAIL PROTECTED]>
Subject: VM: killing process - box freezes

Hi,

Thank you for the hint about memory usage. I had now a look=20
at it and this time I was even looking when it happened. Just=20
shortly before I did a top and got:
Mem:  130660K av 127732K used   2264K free
Swap: 257032K av    500K used 256532K free

Just a second before it froze swap usage increased to 1120K.
I am confused now. Swap wasn't hardly touched.
Also, this time there was nothing in the /var/log/messages file.
Weird, any ideas?

Thanx

Doro


> -----Original Message-----
> From: Dorothea M=FCcke-Herzberg=20
> Posted At: 17 November 2000 11:08
> Posted To: misc
> Conversation: VM: killing process - box freezes
> Subject: VM: killing process - box freezes
>=20
>=20
> Hello,
>=20
> I have now twice experienced the problem that my SuSE 7.0 box=20
> freezes completely. X is down, screen black, no telnet.
> A look in /var/log/messages shows the following:
>=20
> Nov 15 00:00:10 ssc kernel: VM: killing process Xvnc
> Nov 15 00:00:14 ssc kernel: VM: killing process argus
> Nov 15 00:00:15 ssc kernel: VM: killing process xterm
> Nov 15 00:00:16 ssc kernel: VM: killing process csh
> Nov 15 00:00:17 ssc kernel: VM: terminating process X
> Nov 15 00:00:17 ssc kernel: VM: killing process Wharf
> Nov 15 00:00:17 ssc kernel: VM: killing process xconsole
> Nov 15 00:00:17 ssc kernel: VM: killing process xeyes
> Nov 15 00:00:17 ssc kernel: VM: killing process tail
> Nov 15 00:00:17 ssc kernel: VM: killing process sh
> Nov 15 00:00:51 ssc kernel: VM: killing process Pager
> Nov 15 00:00:53 ssc kernel: VM: terminating process X
> Nov 15 00:01:28 ssc kernel: VM: killing process sendmail
> Nov 15 00:01:30 ssc kernel: VM: killing process aaa_base_backup
> Nov 15 00:01:36 ssc kernel: VM: terminating process X
> Nov 15 00:01:36 ssc kernel: VM: killing process ntop
> Nov 15 00:01:36 ssc kernel: VM: killing process xconsole
> Nov 15 00:01:36 ssc kernel: VM: killing process sendmail
>=20
> Can somebody tell me=20
> a) What is VM?
> b) Why does it kill the processes?=20
>=20
> There is nothing suspicious going on in the middle of the=20
> night, noone's
> working on it.
>=20
>=20
> Cheers,
>=20
> Dorothea
>=20


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

From: [EMAIL PROTECTED] (Erik =?iso-8859-1?Q?=D8._S=F8rensen?=)
Subject: file is not found - but I know it exists!
Date: Sat, 18 Nov 2000 11:57:27 GMT
Reply-To: [EMAIL PROTECTED]

I am worried because it seems that bash cannot find a file I know is
there. The setting is: I'm trying to install the wonderfull "Stata"
statistics programme on my laptop. But ...

The "installation script" extracts some files into the directory
"/usr/local/stata", among them the executable "stinit" which is used
to initialize the license and such. But while I can see the file with
ls, and filename completion works ok, bash complains that it cannot
find such a file or directory when I try to execute the file. The
"find" command recognizes the file as an executable.
 
See the following transcript: 
  #: pwd
  /usr/local/stata
  #: whoami
  root
  #: ls -l stinit
  -rwxr-x--x   1 101      users       10040 Jan 11  1999 stinit
  #: ./stinit
  bash: ./stinit: No such file or directory
  #: /usr/local/stata/stinit
  bash: /usr/local/stata/stinit: No such file or directory
  #: file /usr/local/stata/stinit
  /usr/local/stata/stinit: ELF 32-bit LSB executable, Intel 80386, 
  version 1, dynamically linked (uses shared libs), stripped

I do not understand what is wrong here - my linux installation appears
in all other respects to be very stable (SuSE 7.0), but clearly something is
wrong.

Would apreciate a tip from someone more experienced than me.
Best regards,
Erik.

-- 
Erik Øiolf Sørensen
[EMAIL PROTECTED]  


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

From: Daniel Barron <[EMAIL PROTECTED]>
Subject: A stronger kill
Date: Sat, 18 Nov 2000 12:17:12 +0000

I am writing a daemon in C++ and often I mess up and it won't even respond
to a kill <process id>.  I then have to reboot my linux.

There must be a better way of killing something that won't go away?

-- 
Daniel Barron - use [at jadeb.com] for personal replys.

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

From: "Eugene Fetbroyt" <[EMAIL PROTECTED]>
Subject: Linux installation
Date: Sat, 18 Nov 2000 12:33:27 GMT

Hi everyone.

On my computer I have 2 hard drivers: first for windows and it contains
linux installation files, second is empty and I want install linux on it.
Is it possible create start up disk which load *.img from first HD.

If it is possible let me know

Many thanks
Eugene



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

From: John Scudder <[EMAIL PROTECTED]>
Subject: unresolved symbol waitqueue_lock??
Date: Sat, 18 Nov 2000 09:03:34 -0500

Using modprobe  to install a sound card module (ex. modprobe
snd-card-ens1371) , I get this error message:

'unresolved symbol waitqueue_lock'

What is this telling me?  How can I resolve it?

John


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

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Wiping your tracks - bash history
Date: 18 Nov 2000 04:39:34 -0900

Patrick Baer <[EMAIL PROTECTED]> wrote:
>Vivek Narayanamurthy schrieb:
>> 
>> Hi
>> 
>> Is there any way by which you can *selectively* modify some of the
>> commands in your shell's history?
>> 
>> Vivek
>
>vi .bash_history?

Just use the builtin command line editing facility.  Select the
line to edit, make changes, and then select another line before
typing <ENTER> to invoke a command.

-- 
Floyd L. Davidson                          [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)

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

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: A stronger kill
Date: 18 Nov 2000 04:46:28 -0900

Daniel Barron <[EMAIL PROTECTED]> wrote:
>I am writing a daemon in C++ and often I mess up and it won't even respond
>to a kill <process id>.  I then have to reboot my linux.
>
>There must be a better way of killing something that won't go away?

Have you tried anything as simple as _reading_ the man page for
kill???

The default signal sent to a process with the command you are
giving is SIGTERM, which typically will do nothing if the
process is catching it.  You can also try "kill -1 <pid>", which
also has the same problem that using -15 (SIGTERM) has.

When those have been tried and have failed, use "kill -9 <pid>"
because a SIGKILL cannot be caught by the process.

-- 
Floyd L. Davidson                          [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)

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

From: "Tom" <[EMAIL PROTECTED]>
Subject: Re: A stronger kill
Date: Sat, 18 Nov 2000 14:32:39 GMT

In article <[EMAIL PROTECTED]>, "Daniel Barron"
<[EMAIL PROTECTED]> wrote:

> I am writing a daemon in C++ and often I mess up and it won't even
> respond to a kill <process id>.  I then have to reboot my linux.
> 
> There must be a better way of killing something that won't go away?
> 

     kill -9 <pid>        see 'man kill'

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

From: [EMAIL PROTECTED] (Carl Fink)
Subject: Re: A stronger kill
Date: 18 Nov 2000 14:38:54 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 18 Nov 2000 12:17:12 +0000 Daniel Barron 
<[EMAIL PROTECTED]> wrote:
>I am writing a daemon in C++ and often I mess up and it won't even respond
>to a kill <process id>.  I then have to reboot my linux.
>
>There must be a better way of killing something that won't go away?

I assume you've used "kill -9 pid"?
-- 
Carl Fink               [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum
<http://dm.net>

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

From: [EMAIL PROTECTED]
Subject: Re: Summary (Re: [finger] wont show .plan nor .project remotely -- why?)
Crossposted-To: linux.redhat.misc
Date: Sat, 18 Nov 2000 01:25:21 +0000

John Bacalle <[EMAIL PROTECTED]> did eloquently scribble:
> Well it turned out that $HOME directory permissions were the problem. On
> a RHL6.1 system ~ is mode 700:

>  drwx------  43 john     john         8192 Nov 13 22:51 /home/john

> Adding the executable bit to 'Other' fixes matters (o=x).

>  drwx-----x  43 john     john         8192 Nov 13 22:53 /home/john

> Now .plan and .project are 'remote' finger accessible. Whoop! Gratitude
> to David Efflandt, and all the kind folks who contributed.

So I wasn't *too* far off then...
Just a little too lax in the old permissions.
:)

-- 
______________________________________________________________________________
|   [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: Bloatware
Date: Sat, 18 Nov 2000 12:21:26 +0000

Tim Banner <tim.banner*NOSPAM*@btinternet.com> did eloquently scribble:
> of my Linux system just to run.  A basic Linux set-up weighs in at 1-2GB's,
> which is sizably larger than the 250MB's of Windows.  Yes I know you get so
> much more, but I'm referring to a basic running system on which you can
> install further apps.  Since a distro is the only feasible way of a newbie
> getting Linux does this not make the Linux OS Bloatware?

Nope, because apart from the core system that takes up about 10 Megs,
(although a VERY cutdown rescue linux can reside on a 1.44 floppy)
everything, including X is optional. You could go back into YaST and remove
a LOT more packages than that.

I myself don't use KDE or GNOME, so have only installed the base libraries.
I use one window manager (Why would I need more than one).

Some of the SuSE dependencies are a little bogus as well, so you could
remove for example SaX, fvwm and XF86Setup. X does NOT need these, even
though the suse rpms have been built in such a way as to flag them as
dependencies.

This is my disk usage.
Filesystem            Size  Used  Avail  Capacity Mounted on
/dev/hda3             968M  873M    44M     95%   /
/dev/hda1              94M   61M    28M     69%   /usr/bin
/dev/hda6             144M  135M   1.7M     99%   /misc
/dev/hda5             292M  235M    41M     85%   /opt
/dev/hdb1             161M  103M    49M     68%   /var/spool

I have big stuff like wordperfect, netscape and alpha-centauri demo on /opt,
so that can be discounted from my total for a good working system. You can
discount /misc, it's just a place I dump backups and stuff.

So my base system clocks in at less than one Gig...
Learn what the packages you installed do, and how they are used in the
system. You could remove another few hundred megs worth without affecting
system performance.

Now for the bloatware definition.
No. Bloatware it a monolythic application of a MASSIVE size, usually written
by one team and so tends to have a lot of flaws and bugs. StarOffice is one
good example. 

With windows, 250 is for the BASE system. 250 Megs on Linux is enough to
install a working system with enough applications to do usefull work.

> OK my next concern is what I found my Linux box running.  It took me by
> surprise to see that (back in my less experienced days) my Linux box at home
> was acting as a web server, ftp server and telnet server.  I have yet to
> find out what other interesting services I'm offering the web.  I didn't
> remember setting these services up or asking them to run.  

You didn't. :)
Apache: Suse installs this by default to serve up its help database.
        The help database and apache were another set of packages I removed
        from my system. That saved quite a few megs of disk space.

Telnetd/ftpd/fingerd etc can all be deactivated by editing the
/etc/inetd.conf file and commenting out the relevant lines.

Out of the box, no operating system is fully secure. The user should always
take responsibility for fine tuning.

> I may have asked
> to install the files to run at a later date.  It seems that I need to find a
> port scanner to find out what ports are open and offering services on a home
> workstation.  The only worry I remember having with my Windows box was
> ensuring that I didn't have file and print sharing enabled on the dial-up.
> How many Red-Hat/SuSE/Linux users out there are unknowingly offering an
> array of interesting services to the internet?  Is this not Bloatware?

No, it's just a default setup. 
:)
Bloatware, as I said earlier is not an array of small tools written by
different people, but a large, bloated, festering blob of code.

-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   | "I'm alive!!! I can touch! I can taste!         |
|Andrew Halliwell BSc(hons)|  I can SMELL!!!  KRYTEN!!! Unpack Rachel and    |
|            in            |  get out the puncture repair kit!"              |
|     Computer Science     |     Arnold Judas Rimmer- Red Dwarf              |
==============================================================================

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

From: [EMAIL PROTECTED]
Subject: Re: the relation between Linux and GCC
Date: Sat, 18 Nov 2000 13:01:06 +0000

Te-Cheng Shen <[EMAIL PROTECTED]> did eloquently scribble:
>>
>>
>> I don't know for sure (not having been around Linux from the beginning),
>> but it was probably the ACK (Amsterdam Compiler Kit) C compiler that
>> came with Minix that was _first_ used to compile the Linux kernel.

>     I assume that ACK generate binary code for intel i386 hardware then I
> can understand that we can generate linux kernel on Minix machine.  What
> if we have to generate binary code which is differnt from the host
> machine?  For example, the OS I am learning is L4/MIPS.  We can compile it
> with a cross-compiler on a Solaris machine then the cross compiler can
> generate MIPS codes.  The thing that I do not understand is that how can a
> compiler can generate a kernel which is run on different hardware?  

Simple. Use a cross compiler... A compiler is not processor dependent. You
don't NEED to compile code just for the processor the compiler is running
on. Think of a compiler as a translator. It doesn't need to translate into
i386. It can just as easily translate into MIPS, Sparc or ALPHA.


>     Are there any documents on Linux System calls?  I will ask my next question
> when I read those documents?

Look at the Linux Documentation Project.
There's one in particular called the Linux Developers Guide (or something
like that).

-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   | "I'm alive!!! I can touch! I can taste!         |
|Andrew Halliwell BSc(hons)|  I can SMELL!!!  KRYTEN!!! Unpack Rachel and    |
|            in            |  get out the puncture repair kit!"              |
|     Computer Science     |     Arnold Judas Rimmer- Red Dwarf              |
==============================================================================

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

From: [EMAIL PROTECTED]
Subject: Re: the relation between Linux and GCC
Date: Sat, 18 Nov 2000 12:46:49 +0000

Te-Cheng Shen <[EMAIL PROTECTED]> did eloquently scribble:
> Hello
>     This question has confused me for a while and I think that it is
> time to speak it out and ask for some help.

>     The question is that Linux kernel is compiled with gcc but gcc is
> built on top of Linux kernel.  How can this happen?  Image that I have a
> gcc and it needs being installed on top of Linux kernel.  This sentence
> makes sense to me.  However, if the previous sentence makes sense, how
> can we compile Linux kernel using gcc?  I really do not understand.

>     Take the first version of Linux, for example, what compiler used to
> compile it?  Gcc? or some other compilers?  Can anyone show me a way to
> figure this out?

Probably GCC, yes. GCC is not JUST a compiler for linux. Linux has been
around for about 10 years. Unix, on the other hand, has been around for
faaar longer (closer to 40 years). The linux kernel could just as easily
have been cross compiled on a unix system and transferred to a PC.

I *THINK* GCC is older than linux. If not, CC might have been used.

-- 
______________________________________________________________________________
|   [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: "Flej Ling" <[EMAIL PROTECTED]>
Subject: ICQ
Date: Sat, 18 Nov 2000 07:10:32 -0800

Can anyone tell me what ICQ stands for? (I know what it is, but what does
the ackronym represent?)

Flej Ling



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

From: Scott <[EMAIL PROTECTED]>
Subject: using rdev to re-assign root fs
Date: Sat, 18 Nov 2000 15:08:53 GMT

The only way I can get my rh 6.2 system to boot is by using 
root=/dev/hda8 at the bootloader.  When I try to use rdev to re-assign 
the root fs from hda7 to hda8 it doesn't work.  ANyone have any ideas on 
what I am doing wrong here?

tia,
scott

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


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