Linux-Misc Digest #980, Volume #23 Tue, 28 Mar 00 14:13:05 EST
Contents:
Re: Installation/Xwindows (Dances With Crows)
Linux and Apple's x86 card? (DigitalRealmz)
Re: sending mail with your ISP smtp server? (Michael Kelly)
Re: Newly installed RH6.1 - no network (Robie Basak)
Re: Game of Life - I love Vi (was: Do you hate vi?) (Bob Dunlop)
Re: Kener error (Michael Kelly)
Re: Dynamic Libraries (Michael Kelly)
HP DeskJet (600): questions (Fabio S.)
DOS on Suse 6.3? (Red Hat Linux User)
Re: What is ClearCase? ("T.E.Dickey")
Re: data corruption through nfs (Allen Mcintosh)
Re: What is ClearCase? ("Jeff Susanj")
tracking people (Kristof Praat)
rm /dev/ht0... oopse (Joey McAlerney)
where is the history of shell commands ???? (Raphael PROTIERE)
Re: Lookfong for a SMTP/POP mail server (Steve Zinck)
Re: Dynamic Libraries (Leejay Wu)
Re: Here's why linux programs are so insecure ! ("Brian")
Re: rm /dev/ht0... oopse (Dances With Crows)
Re: Adaptec ADP1505A and Linux RH6.1 SCSI ("Arthur J. Yarwood")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Installation/Xwindows
Date: 28 Mar 2000 12:11:22 EST
Reply-To: [EMAIL PROTECTED]
On Tue, 28 Mar 2000 16:37:06 GMT, Icon-x
<<8bqn3f$7qd$[EMAIL PROTECTED]>> shouted forth into the ether:
> I`m trying to load linux Redhat 6.1
>Startx:Command not Found
>If I type 'xconf' I get
>Sh: /usr/X11R6/bin/Xf86config: No such file or directory
>I did a find for Startx and xf86config and couldn`t find it anywhere,
>Yet I installed the everything package
>If I do 'kdestart'
>it trys to start but it cant find the Xfree etc components,
>Why does it do this or how can I install these components manually?
"Startx" != "startx". "xconf" != "Xconfigurator". And 6.1 should be able
to auto-detect the Riva 128 when doing the graphical install. Don't have
any idea why the X stuff isn't getting installed, "everything" implies all
the X stuff as well as KDE/GNOME/whatever. I guess you could have a look
on the CD for RPMs that start with "x" or "X" and "rpm -Uvh" them to make
sure the X stuff is installed....
--
Matt G / Dances With Crows \###| Programmers are playwrights
There is no Darkness in Eternity \##| Computers are lousy actors
But only Light too dim for us to see \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.
------------------------------
Date: Tue, 28 Mar 2000 12:19:26 -0500
From: DigitalRealmz <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,comp.os.linux.powerpc
Subject: Linux and Apple's x86 card?
Hi.
Anyone ever manage to get Linux running on Apple's x86 card (the Cryix
166)? If so, please share the details - who, what, how, etc? And with
what version of the Mac OS on the Mac side?
Thanks.
--
------------------------------------------------------------------------
Win an iMac and other great prizes at
www.bluebuttbunny.com
Funny name. Cool site!
------------------------------------------------------------------------
------------------------------
From: [EMAIL PROTECTED] (Michael Kelly)
Subject: Re: sending mail with your ISP smtp server?
Date: 28 Mar 2000 17:20:25 GMT
In article <9YTD4.200$[EMAIL PROTECTED]>,
David Turley <[EMAIL PROTECTED]> writes:
> On Sun, 26 Mar 2000 17:51:36 -0500, Michael Kelly apparently wrote:
>>
>> Anyone know how to configure sendmail to use my isp's
>> smtp server when sending mail? I
>
> http://www.binary.net/dturley/linux/sendmail.html
Thanks David. That looks like what I need exactly.
--
Mike
--
"I don't want to belong to any club that would have *me* as a member!"
-- Groucho Marx
------------------------------
From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: Newly installed RH6.1 - no network
Reply-To: [EMAIL PROTECTED]
Date: 29 Mar 2000 01:42:48 GMT
On Tue, 28 Mar 2000 00:23:53 GMT, Tim Hicks said:
>I installed RH6.1 this evening (this is my first glimpse of Linux by the
>way), and now I am trying to configure my network connection. I have a pci
>10baset card (with realtech? chip according to windows) but i have no idea
>how to make the thing work. I have tried to ping other machines on the
Type /sbin/ifconfig eth0 (no need to be root). If it says 'unknown
interface', then the driver isn't loaded. Otherwise, it just needs
correct configuration - try using the program 'linuxconf' as root.
If the driver isn't loaded, then first check that the card is
supported. Look at www.linhardware.com or linuxdoc.org and look for
the Hardware HOWTO. If it is supported, then you need to load the
module. Look at /lib/modules/your_kernel_version_here/net and see if
it's anything obvious - Redhat comes with most (all?) modules
precompiled.
If it isn't compiled (but it has support) find the Kernel HOWTO at
linuxdoc.org and compile your kernel with support for your network
card.
>network, but get an error something like 'network is unreachable'. Can't
>even ping my own ip, but I think that is because I haven't actually set it
>yet (although i thought i'd typed it in somewhere).
>
>Any pointers would be greatly appreciated.
>
>tim
>
>
Robie.
--
------------------------------
From: Bob Dunlop <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux,comp.editors,comp.unix.misc
Subject: Re: Game of Life - I love Vi (was: Do you hate vi?)
Date: Tue, 28 Mar 2000 18:37:55 +0100
Ralf Arens wrote:
> > who, nor where it was posted though. It was probably about ten
> > or fifteen years ago... Anyone remember it, or is my memory
> Wow, it was written 15 years ago? It didn't even know that Vi existed
> at that time. :-)
Vi is more like 20 years. Used it circa 1980 on a VAX running BSD4.1
problem was only about four terminals on campus supported cursor
addressing so went back to ed.
Ed would even work on those teletype things.
Early vi sources had the comment that the cursor addressing idea had
been ripped off from the game of life program.
--
Bob Dunlop
------------------------------
From: [EMAIL PROTECTED] (Michael Kelly)
Subject: Re: Kener error
Date: 28 Mar 2000 17:28:41 GMT
In article <[EMAIL PROTECTED]>,
Mathhew Johnston <[EMAIL PROTECTED]> writes:
> Hi all
>
> On one of our Linux boxes, I have had a kernel error pop up timie to time, and
> I am not sure what it means, I thought that it might of been to do with writing
> to the harddrive, but fsck says all harddrives are fine.
>
> Here is the error: from syslog
>
> Mar 3 08:29:19 LP-S545A kernel: Unable to handle kernel paging request at virtual
>address dd1803de
> Mar 3 08:29:19 LP-S545A kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
> Mar 3 08:29:19 LP-S545A kernel: *pde = 00000000
Well, it's a page fault. I haven't done Linux assembler yet, but I'd
guess *pde=00000000 is saying you have a NULL pointer in an application.
IOW, access of memory address zero isn't allowed.
>
> We are running slackware 3.6 and using kernel 2.0.36
>
>
> Thanks in Advance
>
> Mathhew Johnston
>
> mathhew @psy.otago.ac.nz
--
Mike
--
"I don't want to belong to any club that would have *me* as a member!"
-- Groucho Marx
------------------------------
From: [EMAIL PROTECTED] (Michael Kelly)
Subject: Re: Dynamic Libraries
Date: 28 Mar 2000 17:35:24 GMT
In article <[EMAIL PROTECTED]>,
Jose Juan Iglesias <[EMAIL PROTECTED]> writes:
> First and foremost thank you for you attention (and thanks Michael Kelly).
>
[snip]
> Isn't out there a Linux function or command that creates libraries (the
> truth is out there!)? I once saw such a function when I was compiling I
> don't remember which program.
If you write the library then you can construct it so as to
be compiled as a shared library. I've not done Linux programming
to that low a level yet, although I've played around with DLLs
on other OSs.
>
> My idea is to make dynamic binding of libraries automated, that each program
> looks for its libraries in its own directory. I think the only way to do
> that is at compile time.
I'm curious what effect you are trying to achieve. If each application
is using a distinct library, then unless you are running mutliple instances
you won't get any benefit over static linking.
[snip]
--
Mike
--
"I don't want to belong to any club that would have *me* as a member!"
-- Groucho Marx
------------------------------
From: [EMAIL PROTECTED] (Fabio S.)
Subject: HP DeskJet (600): questions
Date: 28 Mar 2000 17:44:43 GMT
Dear all,
I have a little trouble with my printer and I couldn't find any answer: I
also looked on dejanews, but nothing seems to apply (so please forgive me
if I am going to ask faqs).
1) How do I control the output quality? In the doc pages of
GhostScript (5.50, btw), I couldn't find anything appropriate.
2) The printer saturates the paper with a lot of ink. Accordingly to what
suggested by the message in the window in the printtool, I have given the
option "-dDepletion=2", but nothing changed. Am I so ugly that the
printer, looking at me, decides not to obey me...? :-((( What can I do?
3) What resolution are supported?
4) In order to be able to print in different resolutions and/or quality
(once I will know the correct options...;-), I suppose I should set up
an lpx for any setting I want, then use the -P option: is this right?
If you own the same printer, or a similar one, and you have any tip to
improve printing and/or quality control, they are really welcome...;-))
Thank you for your attention
Fabio
------------------------------
From: Red Hat Linux User <[EMAIL PROTECTED]>
Subject: DOS on Suse 6.3?
Date: Tue, 28 Mar 2000 17:09:36 +0000
I ma running suse 6.3 and I tried a simple program:
While (1) {
fork();
}
(Or something like this)
THis program should use all resources, so my machine could not process a
single task before this program is stopped. And this is exacly wha is
does. Even if I run it with low-priviledge, root, already logged in is
unable to execute on single task (exept for exe <somecomman> in
bash-shell). I have read, that on some systems resources that are yused
by ordinary users is limited to advoid these kind of "atacks".
How can I configure Suse 6.3 to not suffer such an attack?
Please answere to [EMAIL PROTECTED] as I am sitting on a public
terminal!
Thanks in advanced
HMK
------------------------------
From: "T.E.Dickey" <[EMAIL PROTECTED]>
Subject: Re: What is ClearCase?
Date: Tue, 28 Mar 2000 17:55:36 GMT
Grant Edwards <grant@nowhere.> wrote:
> I've noticed that the _really_ large (in terms of people)
> development projects like gcc, gdb, etc. all use CVS.
(mostly)
The reason for that is not because CVS is a good design, but because its
cost and availability are just what the customer wants.
--
Thomas E. Dickey
[EMAIL PROTECTED]
http://www.clark.net/pub/dickey
------------------------------
Crossposted-To: linux.redhat
Subject: Re: data corruption through nfs
From: [EMAIL PROTECTED] (Allen Mcintosh)
Date: 28 Mar 2000 12:59:51 -0500
In article <T5QC4.90$b22.2142@burlma1-snr2>, Watcher <[EMAIL PROTECTED]> wrote:
>We are experiencing strange data corruption problems using RH6.1 nfs client and
>Solaris nfs server (SunOS 5.6).
I cured a similar problem (maybe the same problem?) by dropping the read/write
size to 1024 (the default under 2.2.12 is 4096, I think). A r/w size of 2048
also seemed to cure the problem, but I decided to be paranoid and use something
that would be less likely to cause fragmentation. FWIW, SunOS 5.7 does not
appear to have this problem.
>Later it is also found that same problem happened
>on RH6.1 nfs server too, with much less frequency.
No information on this one.
------------------------------
From: "Jeff Susanj" <[EMAIL PROTECTED]>
Subject: Re: What is ClearCase?
Date: Tue, 28 Mar 2000 18:03:23 GMT
We use ClearCase on our project and we eventually will have a large group.
It has not given us many problems but we do have a good database
administrator. The advantage we have is that we can manipulate the database
on NT and have access to in on UNIX using samba. Also, ClearCase is
integrated into the file manager in such a way that unless you need its
functions it is transparent. It is also much faster than visual source
safe. Unfortunately I am unfamilar with the other products mentioned.
Otherwise I might have had some alternative suggestions to our tools group.
Jeff S.
Grant Edwards wrote in message ...
>In article <[EMAIL PROTECTED]>, Alan Chapman
wrote:
>>
>
>In my experience, clear case requires a full-time administrator
>to keep it running. For a project with a handful of people, I
>saw no benefit gained for the additional expense.
>
>RCS/CVS just works. You don't have to constantly fix/upgrade
>it.
>
...snip...
>
>I've used RCS and CVS for 10+ years and never had a single
>problem -- though it's always been on small progjects (just a
>few people at most working on a particular set of source code).
>Perhaps there are advantages in using Clear Case for very large
>projects. Perhaps.
>
>I've noticed that the _really_ large (in terms of people)
>development projects like gcc, gdb, etc. all use CVS.
>
>--
>Grant Edwards grante Yow! Is this ANYWHERE,
> at USA?
> visi.com
------------------------------
From: Kristof Praat <[EMAIL PROTECTED]>
Subject: tracking people
Date: Tue, 28 Mar 2000 20:09:06 +0200
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<font face="Comic Sans MS"><font size=-1>Is it possible to track people
who are fingering you?</font></font>
<br><font face="Comic Sans MS"><font size=-1>I heard there is a possibility
with your plan file. How does that work?</font></font><font face="Comic Sans
MS"><font size=-1></font></font>
<p><font face="Comic Sans MS"><font size=-1>Thanks</font></font><font face="Comic Sans
MS"><font size=-1></font></font>
<p><font face="Comic Sans MS"><font size=-1>Kristof</font></font>
<br><font face="Comic Sans MS"><font size=-1>[EMAIL PROTECTED]</font></font></html>
------------------------------
From: Joey McAlerney <[EMAIL PROTECTED]>
Subject: rm /dev/ht0... oopse
Date: Tue, 28 Mar 2000 10:21:41 -0800
I deleted my tape device. I don't know much about device drivers
(obviously... I deleted something in /dev). How do I get it back? I
tried running MAKEDEV with all its general options, and nothing seemed
to happen. And while we are on this subject, how does RH choose that my
tape device is /dev/ht0, rather then /dev/rst0? In case it matters, the
device is an HP Colorado 8GB.
Thanks for any help you can provide,
-Joey
------------------------------
From: Raphael PROTIERE <[EMAIL PROTECTED]>
Subject: where is the history of shell commands ????
Date: Tue, 28 Mar 2000 20:29:45 +0200
I've got to know where the history of the commands typed during a user
session are stored (from one session to another).
Please, e-mail the answer, I need it quickly !!!
Thank you very much !
RP
------------------------------
From: Steve Zinck <[EMAIL PROTECTED]>
Subject: Re: Lookfong for a SMTP/POP mail server
Date: Tue, 28 Mar 2000 18:32:47 GMT
Michel COTE <[EMAIL PROTECTED]> wrote:
> Hello,
> I'm looking for a free SMTP/POP mail server on Linux.
Check out http://www.exim.org and a search on http://freshmeat.net
should yield quite a few other options.
--
Steve Zinck
[EMAIL PROTECTED]
http://www.nerd.halifax.ns.ca
------------------------------
From: Leejay Wu <[EMAIL PROTECTED]>
Subject: Re: Dynamic Libraries
Date: Tue, 28 Mar 2000 13:27:59 -0500
Excerpts from netnews.comp.os.linux.misc: 28-Mar-100 Re: Dynamic
Libraries by Michael [EMAIL PROTECTED]
> In article <[EMAIL PROTECTED]>,
> Jose Juan Iglesias <[EMAIL PROTECTED]> writes:
[snip]
> > Isn't out there a Linux function or command that creates
> > libraries (the truth is out there!)? I once saw such a function
> > when I was compiling I don't remember which program.
Nope. REAL programmers build libraries using dd and /dev/rand.
But seriously... yes. The following assumes you're using a
not-incredibly-ancient system. It's meant to be simple, not
optimal.
* Building an ELF shared library.
First, you'll want to build each of your object files in a
particular way (relocatable, if memory serves). This usually
entails lines like
gcc -c -fpic -o foo.o foo.c
with other options (optimizations/debugging, etc) that you
would normally use.
-c stops at the compiling stage (no linking).
-fpic flag (position-independent code IIRC).
Got a whole bunch of .o's? Fine. Then check out 'ld'.
ld -o libFooBarBaz.so.123.4 -shared foo.o bar.o baz.o
is perhaps the simplest way to create an ELF shared library
with foo.o, bar.o, and baz.o. -soname and other options may
be of interest to you.
Finally, you'd need to put it in a place that it's going to be
used. One way is to simply require that environment variables
(like LD_PRELOAD or LD_LIBRARY_PATH, IIRC) point to the library
or its directory, respectively, whenever any program using it
is run, which could be done w/ a script. The other way is to
make sure it's in a directory known to the ld.so loader (see
/etc/ld.so.conf), and re-run ldconfig (once).
* Alternately, you can build an archive (.a), for static linking.
You don't need the -fpic, or the ld invocation. Instead, you
take your .o files and
ar rc libFooBarBaz.a foo.o bar.o baz.o
usually followed by
ranlib libFooBarBaz.a
Then you can treat it like any other static library.
--
| [EMAIL PROTECTED] | the silly student |
|--------------------------| he writes really bad haiku |
| #include <stddiscl.h> | readers all go mad |
------------------------------
From: "Brian" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux
Subject: Re: Here's why linux programs are so insecure !
Date: Tue, 28 Mar 2000 10:26:35 -0800
Hey Thomas:
I have him plonked so the only way I get to view his posts is through the
responses of others.
He may be the alter ego of Charles Henry, whom I recently exposed as a
SPAMer (false email address and email domain). Charles Henry is a Microsoft
Lemming with little or no experience with Linux.
Best regards,
Brian
Lange, T. (Thomas) wrote in message
<[EMAIL PROTECTED]>...
>[EMAIL PROTECTED] wrote:
>>
>> FUCK YOU BRIAN.
>>
>> Get a life moron
>
>Hardly a way to behave. You better leave these contributions in
>alt.toilet.lang or wherever stuff like that is accepted.
>
>--
>Best Regards
>:{) Thomas Lange
>Tel: +44 (0)24-7620-4169
>Fax: +44 (0)24-7620-4953
>--------------------------------
>I *have* to dream big. I only
>have time to get half of it done.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: rm /dev/ht0... oopse
Date: 28 Mar 2000 14:08:14 EST
Reply-To: [EMAIL PROTECTED]
On Tue, 28 Mar 2000 10:21:41 -0800, Joey McAlerney
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>I deleted my tape device. I don't know much about device drivers
>(obviously... I deleted something in /dev). How do I get it back? I
>tried running MAKEDEV with all its general options, and nothing seemed
>to happen. And while we are on this subject, how does RH choose that my
>tape device is /dev/ht0, rather then /dev/rst0? In case it matters, the
>device is an HP Colorado 8GB.
# mknod /dev/ht0 c 37 0 (IDE)
# mknod /dev/nht0 c 37 128
# mknod /dev/st0 c 9 0 (SCSI)
# mknod /dev/nst0 c 9 128
ht is for IDE tapes. st is for SCSI tapes. The different devices have
different major and minor numbers and are driven by different drivers.
The filenames of device files don't matter one bit to the kernel; all it
looks at is the major+minor numbers. HTH,
--
Matt G / Dances With Crows \###| Programmers are playwrights
There is no Darkness in Eternity \##| Computers are lousy actors
But only Light too dim for us to see \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.
------------------------------
From: "Arthur J. Yarwood" <[EMAIL PROTECTED]>
Crossposted-To:
comp.periphs.scsi,it.comp.hardware.scsi,linux.dev.scsi,linux.redhat.install,linux.redhat.misc,comp.os.linux.setup,comp.os.linux.hardware,alt.os.linux.mandrake
Subject: Re: Adaptec ADP1505A and Linux RH6.1 SCSI
Date: Wed, 29 Mar 2000 10:11:42 +0000
IgoR wrote:
> I would like to use my SCSI CDWR on my Linux box
> ( stock RH6.1 kernel 2.2.12-20 ).
> More than a week I am trying to make my SCSI card running.
> I have Adaptec AHA1505A card. It is an ISA card.
> It does not matter what I do , I am not able to load module
> for this card. I am always getting the following
> message:
>
> /lib/modules/2.2.12-20/scsi/aha152x.o: init_module: Device or resource
> busy
>
> According to info I have the correct module for this card is
> 'aha152x.o'.
>
> What did I try to do 'til now:
>
> - I did try to set ALL combinations of addresses and IRQs
> using 'pnpdump' and 'isapnp'. 'isapnp' recognizes
> the card and sets IRQ. The output of the 'isapnp' is
> ADP1505/849934698[0]{SCSI Controller }:
> Port 0x340; IRQ10 --- Enabled OK
> - I did try to put an append line into lilo.conf
> The line was : append="aha152x=0x340,11,7,1,1"
> Yes, I did try other combinations also. I was able
> to boot the system without any error messages,
> but 'lsmod' did not show module 'aha152x.o' loaded.
> - I read ALL available RTFM I found on the NET,
> - I read SCSI-HOWTO
> - I read a lot of messages related to the 1505 on deja.com
>
> BUT
>
> I am still 'lost'... I am not able to load that
> SCSI module..
>
> Any hint, link, advice, URL, pointer is more than
> welcome
>
> Thanks
>
> Igor
Yep just solved this one. You put all the options in for the kernel yep?
Sorted, ran kerned, yep? sorted. Right from what I can see the sd and sr
modules, needed for scsi hard drives and scsi cdrom drives are built into
the kernel, so they load first, unfortunetly this is before the aha152x.
o module is loaded - so they don't work.
When you come to load the aha152x.o module later, the sd and sr bits
aren't working cause they failed earlier.
try running 'scsi_info' this seemed to bring everything back into line.
and gives you lots of feedback as to whats hanging off your scsi card.
See if that works now: try 'cat /proc/scsi/scsi'
then try mounting '/dev/scd0'
I've actually put a line into the '/etc/rc.d/rc.sysinit' file, to run the
scsi_info command just before it tries to auo-mount everything. Seems to
have fixed the problem.
I'm sure, it would all be a bit neater if we recompiled the kernel to
have the sr, sd and the aha152x modules built in (ie not modules).
Hope that helps,
Arthur.
------------------------------
** 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
******************************