Linux-Misc Digest #494, Volume #21 Sun, 22 Aug 99 02:13:12 EDT
Contents:
Re: Alert: AMD K6-2 350 Mhz processor (Bob Martin)
Re: Cannot start X = Please help ("Duy D.")
Re: *nix vs. MS security (Christopher B. Browne)
Linux books, Is this a good deal? ([EMAIL PROTECTED])
Re: shutdown&reboot for normal users??? ("Duy D.")
Oracle on Linux (Doug O'Leary)
Re: anyone certified? (Wayne Power)
Re: getting gcc to work (Leonard Evens)
Re: LILO for the Linux newbie. . . (Dave Brown)
Software RAID Question (Arcadio A. Sincero Jr.)
Re: dpms without X? (Mohd H Misnan)
Re: Help! cfdisk messed up partition table ([EMAIL PROTECTED])
Re: shutdown&reboot for normal users??? (Dave Brown)
Re: Oracle on Linux ([EMAIL PROTECTED])
Re: C structure size inconsitency (Floyd Davidson)
How to I remove Lilo (BD)
Re: Why did RMS adopt Unix? (and other questions) (Mark Galassi)
Re: renames /usr/lib to something else (Jozsef Kadlecsik)
----------------------------------------------------------------------------
From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: Alert: AMD K6-2 350 Mhz processor
Date: Sun, 22 Aug 1999 01:42:22 +0000
Rob Mason wrote:
>
> Has anyone else experienced a system freeze with this processor on RH6.0
> ???
>
> Since upgrading my machine I have been trying to fathom problems where
> my system locks up - no error message, nothing. This usually occurs
> during X sessions when I'm performing a large disk operation (copying a
> 70 Meg file).
>
> I've seen other similar reports, and this processor seems to be the
> common factor.
>
> Can anyone confirm this ?
Got a few boxes using that processor, no lockup problems.
------------------------------
From: "Duy D." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions
Subject: Re: Cannot start X = Please help
Date: Sat, 21 Aug 1999 17:58:39 -0400
Jaideep Tibrewala wrote:
> Hi
> I have a Pentium 133 with RH6.0
> I am not sure what I did, but now I cannot logon. As soon as my system
> starts up and tries to go to init level 5, I get the following error:
> "according to /var/run/gdm.pid, gdm.pid was already running,
> but seems to have been murdered mysteriously"
> and the screen keeps flickering. Please give me suggestions ASAP as to what
> I should do.
>
> Also, I am trying to load my kernel with my boot disks and on loading the
> 2nd disk it says,
> "try passing init= to the kernel". I tried init=1 but same thing happens. So
> how can I boot to single user mode?
>
At the lilo boot prompt, type "linux single". Once it boots up ok, edit
/etc/inittab, change "id:5:initdefault:" to "id:3:initdefault:". Reboot.
I don't know anything about the gdm.pid error, I don't use RH 6 any more, but I
do remember having problem running at init level 5, instead of the default init
level 3. Check RedHat website for updates, there maybe a patch for this
problem.
>
> Please cc your reply to [EMAIL PROTECTED]
>
> Thank you
> Jaideep
>
> --
>
> ---------------------------------------------------
> Jaideep Tibrewala
------------------------------
From: [EMAIL PROTECTED] (Christopher B. Browne)
Crossposted-To: comp.os.linux,comp.os.linux.questions,comp.os.linux.security
Subject: Re: *nix vs. MS security
Reply-To: [EMAIL PROTECTED]
Date: Sun, 22 Aug 1999 03:42:47 GMT
On Fri, 20 Aug 1999 20:17:24 -0400, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> posted:
>Tell this instructor to pull Bill Gates' c*ck out of his ass and get a
>clue.
This is more-or-less exactly the *wrong* thing to do.
<yoda-voice>
"Confrontation leads to anger... Anger leads to fear... Fear leads
to using Windows NT in mission-critical combat systems... And this is
how the ancients fell...
</yoda-voice>
>Microsoft OSes are buggy and crash-vulnerable, which makes them
>very insecure. Everyone knows that it takes months for M$ to patch
>holes in their software.
Describing things in such a "bull-in-the-china-shop" manner is just
going to get the poor student a failing grade.
After all, even if the instructor is a severe ignoramus, the
instructor is still the authority responsible for giving out grades.
--
..you could spend *all day* customizing the title bar. Believe me. I
speak from experience." -- Matt Welsh
[EMAIL PROTECTED] <http://www.hex.net/~cbbrowne/lsf.html>
------------------------------
From: [EMAIL PROTECTED]
Subject: Linux books, Is this a good deal?
Date: 21 Aug 1999 19:59:11 PDT
Reply-To: [EMAIL PROTECTED]
This isn't a vailed attempt at advertising, I swear.
Anyway, I got this flyer in the mail today from
the Library of Computer & Information Sciences.
(It's a book club). They are offering a set of
three Linux related books and CD's for $9.99.
The titles:
Red Hat Linux Unleashed.
Linux Programing.
C++ Unleashed.
There are 5 CD's too, including Red Hat 5.2.
First question: Are these books any good?
SHould I jump at this?
Second Question: I was planning on installing Susi.
Will the stuff in Linux Unleashed be applicable to
SuSi as well as Red Hat?
--
Just my $0.02 worth.
Hope this helps,
Gordon
Sure this is my real e-mail address. Just try
to get past my spam filters.
There are minor children in this house.
Any adult related spam will result in a
complaint to applicable athorities.
------------------------------
From: "Duy D." <[EMAIL PROTECTED]>
Subject: Re: shutdown&reboot for normal users???
Date: Sat, 21 Aug 1999 18:02:18 -0400
demon wrote:
> How can I make it possible to let normal users use the shutdown&reboot
> command??
If you use RH, or mandrake, use linuxconf to grant special previleges to
normal users, such as shutdown and reboot.
------------------------------
From: Doug O'Leary <[EMAIL PROTECTED]>
Subject: Oracle on Linux
Date: Sun, 22 Aug 1999 03:36:15 GMT
Hi;
I've downloaded Oracle 8.05 for Linux and am looking through
the install docs. One of the things it suggests is up'ing the
shared memory max, shared memory identifiers, etc. My familiarity
with the vendors' *nixes is obviously much better than Linux,
since I have absolutely no clue how to check those in my linux
kernel much less set them.
Any tips on how to check/set "standard" kerenl parameters would be
greatly appreciated
Doug
--
========================
Douglas K. O'Leary
Senior System Administrator
[EMAIL PROTECTED]
------------------------------
From: Wayne Power <[EMAIL PROTECTED]>
Subject: Re: anyone certified?
Date: Sat, 21 Aug 1999 17:56:10 -0400
Badges?? We don't need no steenkin' badges!
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: getting gcc to work
Date: Sat, 21 Aug 1999 21:42:20 -0500
Leonard Evens wrote:
>
> "Bruce A. Wade" wrote:
> >
> > I just installed Linux (RH6) successfully. A short program to test
> > gcc returns an error that ld can't find the file crt1.o
> > (This file is missing, as find tells me). Should it be somewhere?
> > If so, what do I do?
> >
> > Thanks for the help!
> > (e-mail: [EMAIL PROTECTED] )
> >
> > --
> > ********************************************************************************
> > Bruce A. Wade, Associate Professor, Department of Mathematical Sciences,
> > University of Wisconsin- Milwaukee, PO Box 413, Milwaukee, WI 53201-0413
> > (414) 229-5103, E-mail: [EMAIL PROTECTED], WWW: www.math.uwm.edu, Amateur
> > Radio: N9UR
>
> I'm not sure what ctrl.o is. I've been running and using gcc on at
Oops! It was a`1', not and `l'.
> least four computers with RH6.0 installed without problems.
> locate ctrl.o
> on the computer I'm on now does not find it. If it isn't something
> created with your test program, it might be something that should
> be in a standard library. Perhaps you should give us more
> details such as the program you are testing with.
>
> Also if you figure out what your problem is, let me know since
> I'd like to understand this.
>
>
> --
>
> Leonard Evens [EMAIL PROTECTED] 847-491-5537
> Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: [EMAIL PROTECTED] (Dave Brown)
Subject: Re: LILO for the Linux newbie. . .
Reply-To: [EMAIL PROTECTED]
Date: 22 Aug 99 04:30:59 GMT
In article <[EMAIL PROTECTED]>, Leonard Evens wrote:
>Josh Washburne wrote:
>>
>> Hello
>>
>> I'm completely new to Linux. Infact, I'm 15 years old and my father
>> helped me through a Linux install to my own machine. We have a small
>> problem though. Linux will not boot unless we put in the boot disk.
>> Here's the bio. . .
>>
>> I have:
>>
>> 1 = IDE Hard Drive ~1.2 gig
>> 2 = SCSI Hard Drives ~2.0 gig
>>
>> The 2 SCSI drives are connected to a Soundblaster 16 SCSI-2 card. The
>> IDE HD and one SCSI HD is used for Win95 (ick!). The other SCSI is for
>> Linux. The SB16 SCSI-2 board DOES NOT have a boot prom, so we found a
>> line we could enter into LILO to find the SCSI-2 controller and boot off
>> the second drive. This line was:
>>
>> aha152x=0x340,11,7,1,1
>>
>
>I'm not sure I followed all you said, and even so, I'm not sure
>I can suggest how to deal with your configuration which seems
>quite involved. My conjecture would be that you somehow messed
>up lilo.conf. It is also possible you have some problem with
>the specification of the active partition.
You can't boot off a SCSI drive attached to a Soundblaster card.
To boot SCSI, your adapter has to have BIOS so that the boot
loader can find the location of the kernel before anything else
is working. With no BIOS, the boot loader can't load the kernel.
Your options are: 1) boot from diskette; 2) locate the kernel
on your IDE drive (will require a small partition to contain
the kernel image and your SCSI adapter support must be compiled-
into the kernel image, and parameters passed via LILO; 3) Use
loadlin.exe in the Windows partition (not a great idea as it
kills Windows without a shutdown, unless you boot into the
"DOS mode"). (I don't know of anyone creating a Win32 version of
loadlin, i.e., which deals with properly shutting down Win32.)
--
Dave Brown Austin, TX
------------------------------
From: [EMAIL PROTECTED] (Arcadio A. Sincero Jr.)
Subject: Software RAID Question
Date: Sun, 22 Aug 1999 04:35:05 GMT
I'm thinking of putting together a RAID5 array composed of 9 SCSI drives using
software RAID in Linux. However, someone told me on IRC the other day that
doing a software RAID5 array with that many drives would be too CPU intensive
and it would end up being pretty slow. Is this true? Would it better if I
broke that up into 2 RAID5 arrays instead of just one big one?
Thanks in advance for any info on this.
---
===============================================================================
Arcadio A. Sincero Jr.
Computer Science Major at the University of Maryland Baltimore County,
Linux systems administrator, wanna-be Windows and Linux software developer and
amateur competitive bodybuilder.
WWW: http://www.sincero.com/~asincero (COMING REAL SOON NOW(tm)!)
E-mail: mailto:[EMAIL PROTECTED] (THIS IS BROKE TOO! damn ...)
"There are three kinds of people in this world: those who can count, and those
who can't."
------------------------------
From: [EMAIL PROTECTED] (Mohd H Misnan)
Crossposted-To: comp.os.linux.setup
Subject: Re: dpms without X?
Date: 21 Aug 1999 23:01:31 GMT
On Sat, 21 Aug 1999 01:30:52 GMT, clee wrote:
>
>H.Bruijn wrote:
>
>> simply do not plug your monitor into the power supply ;-)
>> Just get a simple surge protector and plug it into that of your worries
>> about frying it.
>
>Note that I almost have what I want. The monitor goes into supsend mode
>automatically when the computer keyboard and mouse are idle for a while.
>So I only need to cover the 20 minute window of time after I leave my
>computer and before the monitor suspends. If I'm actually in front of my
>computer when the power goes out, I can just turn of the monitor myself.
Check your BIOS, surely if you've the recent PC with ATX etc, you'll have the
option to put your monitor into suspend mode in a predefine time.
--
|Mohd Hamid Misnan | [EMAIL PROTECTED] / [EMAIL PROTECTED] |
|iMac/233RevB/MacOS 8.6 | [EMAIL PROTECTED] |
|AMDK6-2/300/Linux2.2.11 | http://www.geocities.com/SiliconValley/3319/ |
-It's hard to be humble when you're having so much fun.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Help! cfdisk messed up partition table
Date: Sun, 22 Aug 1999 04:23:41 GMT
In article <[EMAIL PROTECTED]>,
Leonard Evens <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> >
> > Hi all,
> > When writing a new partition using cfdisk, I got a "Fatal
error..."
> > and was not able to use either cfdisk or fdisk to that disk. Though
> > the existing partitions are still there and can boot linux, starting
> > cfdisk -z /dev/hdb (the messed up disk) shows the whole disk almost
> > totally empty (one big chunk).
> > Would appreciate suggestions that could rescue the partition
> > table (I know, that I should write down the table before writing,
> > sigh; and should do this in single user mode, ...) but the question
> > now is how to get the table back.
> > Thanks in advance.
> >
>
> The partition information is kept in the master boot record
> of the disk under consideration; i.e. the first 512 byte sector.
> If you have a copy of that somewhere, you can copy it back
> with dd.
>
> But I think you may be out of luck. As best I can tell,
> nothing keeps a copy of the MBR if you don't. When you
> run lilo, it does make a backup copy of the sector in which you
> put the lilo boot loader, which it places in /boot.
> But if you only ever put lilo in the MBR of /dev/hda,
> that presumably wouldn't help you.
>
Thanks for the reply.
From what I read on the web: One may have an arbitrary number of
partitions on a disk. However, the Master Boot Record (MBR,
sector 0 of the disk) only holds descriptors for 4 partitions,
called the primary partitions.
(http://www.win.tue.nl/math/dw/personalpages/aeb/linux/partitions/partit
ion_types-2.html)
and the partition I tried deleting was a LOGICAL partition, thus
it's not in the MBR. So I think this maybe why I could still boot
into linux (the /dev/hda has some linux partitions plus a W98
installation, the linux root is on /dev/hdb, it's purely linux,
though not fully partitioned yet, and I use floppy to boot).
Again here comes the question, with the help of a program gpart,
I now have the partition table, it turned out that the partition
I deleted/added has multiple (got more than 128 partitions) entries
in the partition table). `fdisk -l /dev/hdb` yields empty. Just
checked the linux administrator's guide, it was said that bad
partition table can be fixed using fdisk. What should I do now?
Thanks again in advance.
Pinwu
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (Dave Brown)
Subject: Re: shutdown&reboot for normal users???
Reply-To: [EMAIL PROTECTED]
Date: 22 Aug 99 04:33:24 GMT
In article <[EMAIL PROTECTED]>, Duy D. wrote:
>demon wrote:
>
>> How can I make it possible to let normal users use the shutdown&reboot
>> command??
>
>If you use RH, or mandrake, use linuxconf to grant special previleges to
>normal users, such as shutdown and reboot.
>
Or, Ctl-Alt-Del...
--
Dave Brown Austin, TX
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Oracle on Linux
Date: Sun, 22 Aug 1999 04:47:51 GMT
In article <PeKv3.7033$[EMAIL PROTECTED]>,
Doug O'Leary <[EMAIL PROTECTED]> wrote:
> Hi;
>
> I've downloaded Oracle 8.05 for Linux and am looking through
> the install docs. One of the things it suggests is up'ing the
> shared memory max, shared memory identifiers, etc. My familiarity
> with the vendors' *nixes is obviously much better than Linux,
> since I have absolutely no clue how to check those in my linux
> kernel much less set them.
>
> Any tips on how to check/set "standard" kerenl parameters would be
> greatly appreciated
You might not need the change, depends on your system--if you are
using a new kernel. Also the discussion panel contains a lot
info (--http://technet.oracle.com)
Hope it helps.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (Floyd Davidson)
Subject: Re: C structure size inconsitency
Date: 8 Aug 1999 13:27:20 GMT
Reply-To: [EMAIL PROTECTED]
Andreas Hinz <[EMAIL PROTECTED]> wrote:
>Gergo Barany <[EMAIL PROTECTED]> wrote:
>>Why stderr?
>
>Because 'printf(' and 'fprintf(stdout' dosn't print anything on the sreeen.
>I don't know why.
I can see no reason for that to be the case. I also see no
problem with using output to stderr either.
>>It doesn't matter what you think it should be.
>
>It most certainly does. If I create a file with a specific
>data structure, an other program can not read this file
>correctly. And exactly that is the problem.
>
>Creating a file with the above data structure in DOS and
>reading it in Linux fails because of this.
>
>I just want to know why it does it and what the system behind
>this is. So i can find a solution.
The C standard does not provide for portable binary structure
formats across different platforms, or even between different
versions of the same compiler on any given platform. You can
write a binary copy of a structure to disk for a temporary file
that will be read back in by the same process, but you cannot
expect even the same program running at some later date to
properly read the file.
Typically to save data to disk requires a conversion to an
ascii format.
>>If your program relies on a specific size for structs, you are
>>probably doing something wrong.
>
>Why? Do you see anything wrong with the shown structures? I
>don't.
The "something wrong" is relying on a specific sized binary
format for a struct between processes (and in this case between
platforms). The guaranteed characteristics of a struct are that
the first member starts at the beginning of the struct, and that
all members follow in order. There are no guarantees about the
size of members, the binary formatting of members, or about
padding between members. As I noted previously in another
article, there is a system specific macro, "offsetof" which will
provide the offset into a struct for each member.
For a more authorative answer you might want to post a query
in comp.lang.c, where there are a number of experts (including
a few members of the C Standards committee) who can provide
much greater detail.
Floyd
--
Floyd L. Davidson [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)
------------------------------
From: BD <[EMAIL PROTECTED]>
Crossposted-To:
linux.redhat,linux.redhat.misc,linux.redhat.help,comp.os.linux,comp.os.linux.advocacy,comp.os.linux.hardware,comp.os.linux.setup,comp.os.linux.x,alt.linux,alt.os.linux
Subject: How to I remove Lilo
Date: Sun, 22 Aug 1999 15:41:17 +1000
I recently installed linux 5.2 and installed lilo. Well today I booted
up my computer and linux partition and everything else (bar my C: drive
for windoze) was gone.
So now im stuck with lilo at bootup. How do I delete it?
------------------------------
From: Mark Galassi <[EMAIL PROTECTED]>
Crossposted-To: gnu.misc.discuss
Subject: Re: Why did RMS adopt Unix? (and other questions)
Date: 21 Aug 1999 21:44:05 -0600
>> 2) Why did RMS decide to develop a Unix-type system if he came
>> from LISP?
Rod> LISP is a computer language. UNIX is an operating system.
Rod> The two aren't mutually exclusive, and in fact, as a
Rod> language, LISP *MUST* run on an operating system. UNIX is as
Rod> good an OS as any for that task. (Actually, I don't know
Rod> enough about LISP to know what its optimal host OS would be,
Rod> but AFAIK there's nothing extraordinarily BAD about UNIX from
Rod> a LISP point of view.)
Actually the question is on the money, even though LISP is a language
and UNIX is an OS.
LISP teaches you something about intelligent exception handling -- an
area where language and OS design come closer.
Jamie Zawinski keeps a link to an interesting essay on this subject by
Richard Gabriel; you can find it at
http://www.jwz.org/worse-is-better.html
------------------------------
From: [EMAIL PROTECTED] (Jozsef Kadlecsik)
Crossposted-To: comp.unix.questions,comp.unix.solaris
Subject: Re: renames /usr/lib to something else
Date: 16 Aug 1999 11:40:58 GMT
In article <[EMAIL PROTECTED]>,
Roland Mainz <[EMAIL PROTECTED]> writes:
>
> > I made a mistake in renaming /usr/lib to /usr/lib.bak and I can't run
> > any command (ls, mkdir, mv etc.) even after I set LD_LIBRARY_PATH
> > to /usr/lib.bak. It always tries to find /usr/lib/ld.so.1. Please help.
>
> Boot from CDROM, mount /usr (or / if /usr/ sits on /) and correct your
> mistake...
No, you don't need to boot at all: statically linked cp, ln, mv, rcp and
tar can be found under /usr/sbin/static/.
Regards,
Jozsef
-
E-mail : [EMAIL PROTECTED], [EMAIL PROTECTED]
WWW-Home: http://www.kfki.hu/~kadlec
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
------------------------------
** 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
******************************