Linux-Misc Digest #684, Volume #25 Wed, 6 Sep 00 19:13:02 EDT
Contents:
Re: From RedHat to SuSE: A simple question (Mav)
Re: opengl on sgi linux machines? (Andy Nelson)
Re: how to mount a drive during start-up? (Hammer)
Booting troubles, MBR not right? (David Boldt)
Re: Partitions (Peter Mitchell)
Re: opengl on sgi linux machines? (Tom Mitchell)
Re: Shockwave/Flash (Arturo C)
Re: How To Configure LILO ("Michael Westerman")
Re: ZIP 100 Plus and ZIP ZOOM SCSI (aha152x.o) (Peter Rodriguez)
Glibc 2.1 Locale trouble (Matthew Boyce)
Re: Netscape Sucks, I need another option. ("Michael Westerman")
Re: what's up with Sun? ("Peter T. Breuer")
Re: ZIP 100 Plus and ZIP ZOOM SCSI (aha152x.o) (softrat`)
Re: opengl on sgi linux machines? (Thor Lancelot Simon)
Re: Help on mathematical functions (fred smith)
----------------------------------------------------------------------------
From: Mav <[EMAIL PROTECTED]>
Subject: Re: From RedHat to SuSE: A simple question
Date: Wed, 6 Sep 2000 21:21:59 GMT
Pentium processors (including MMX) went up to 233, PII went from 233 to
450, PIII from 450 to 1-GHz.
Mav
[EMAIL PROTECTED] wrote:
>
> Peter T. Breuer <[EMAIL PROTECTED]> wrote:
> : Do you really have a pentium cpu? Those were never made in more than
> : 200MHz versions, you know! It's much more likely that you have an i686
>
> Actualyl, you could buy P5 Pentiums up to 300, IIRC. Defnitely 233 and
> 266.
>
> --
> Jeff Gentry [EMAIL PROTECTED] [EMAIL PROTECTED]
> "You're one of those condescending UNIX users! ...."
> "Here's a nickel kid ... get yourself a real computer."
------------------------------
From: [EMAIL PROTECTED] (Andy Nelson)
Crossposted-To: comp.sys.sgi.admin
Subject: Re: opengl on sgi linux machines?
Date: 6 Sep 2000 21:58:38 GMT
Tom Mitchell ([EMAIL PROTECTED]) wrote:
: On 29 Aug 2000, Thor Lancelot Simon wrote:
: > >: I'm noticing that even tho intel/amd smokes mips in pure cpu
: > >: performance,
: > >
: > >Not on any code I've ever run.
: > >
: > >MIPS MHz x 2-3 = Intel MHz
: >
: > Considering that SGI's best "MIPS MHz" to date is, in fact, generally running
: > about 1/3 commodity "Intel MHz", there you go.
: Do not confuse MHz and work done per clock.
I think this was the original point I tried to make at the start
of this thread. Mips chips (r10k's et al.) are capable of doing far
more work per clock cycle than Intel chips. At least with my code,
which I mentioned previously was astrophysical fluid dynamics
with a SPH (smoothed particle) code and with another (grid based)
PPM code.
By the way, sorry to all for starting a religious war.
I didn't mean to.
--
Andy Nelson Max Planck Institute for Astronomy
[EMAIL PROTECTED] Koenigstuhl 17, Heidelberg, Germany
[EMAIL PROTECTED] D-69117
http://www.mpia-hd.mpg.de/homes/andy
------------------------------
From: Hammer <[EMAIL PROTECTED]>
Subject: Re: how to mount a drive during start-up?
Date: Wed, 06 Sep 2000 21:52:05 GMT
In article <8p6c4c$pd8$[EMAIL PROTECTED]>,
"Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
> Hammer <[EMAIL PROTECTED]> wrote:
> : In article <8p68mq$cb5$[EMAIL PROTECTED]>,
Peter, why the hostile attitude man. I'm learning, you are smarter than
me... that make you feel better??
> : So, I just tried this, and set a vfat partition to umask=000 0 0
(then
> : rebooted, of course)
>
> Not neceessary! Why did you?
Inexperience. Shoot me.
> : Then, as my regular user, I copied a bunch of rpm's from my ext2
>filesys to a dir on the vfat partition.
[snip]
> Well, that's what you'd expect. Root owns the FS and there are no user
> fields on msdos file systems, so the system has to interpret the owner
> as being root.
I did not expect that... a consequence of my linux-newbiness. Please
forgive me.
> : file using my regular ID to that dir, I get this stupid error
message
> : that chmod is not permissable on the file (this is after the copy is
>
> It isn't. There are no mode fields on msdos file systems. How can you
> change them!
I did not know this. I am now edified, thanks to you.
> : complete). Funny thing, the file is copied anyway (sometimes Linux
is a
>
> Of course. But the modes aren't changed to match yoru umask. There is
> nothing there to change. That's the error message.
I get it now. I thank you.
> : joke to me, sorry). I do not use the -p on cp, and it's not
aliased.
> : What a crackup.
>
> Why are you finding this funny? Do you always laugh when you ask a
> camaraman to take a black and white photo of a red room, and think it
> strange when the result is bkack and white, not red, even though he
warned
> you that he couldn't make the colours come out as in the original?
You oversimplify... but point taken. The humor in it for me is to
deflect my frustration... why you take it in such a hostile manner is
beyond my comprehension.
> : Then, I try to "chown" the dir to my group (also tried my ID).
Whether
> : I do it from "su" or my regular ID, it says "operation not
permitted".
>
> Of course.
"Of course" to a god like you :) Not to me... but now I have learned.
> : I would be laughing hard enough to bring tears, this OS is so funny
> : sometimes, but really I need to get his working, so I'm not laughing
:(
>
> What's funny? Your own stupidity?
In fact, yes. But thanks for your compassion Peter.
> : Any help??
> I don't think so!
> Peter
Hey Peter, you helped me in spite of yourself :) THANKS :)
For anyone else out there besides Peter, how can I handle this problem
of the chmod failing (quite rightly, I understand now). For instance,
with "gmc" file mgr, it refuses to copy the file because of the chmod
issue, which (understandably) fails. If I "cp" it in a shell, it works
fine despite the error. Just ignore it?? Thanks.
-=hammer
--
MC
"I've been trying to get as far away from myself as I can" - Bob Dylan
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (David Boldt)
Subject: Booting troubles, MBR not right?
Date: 6 Sep 2000 21:55:35 GMT
At boot time I end up with a cursor on an
otherwise empty screen. No "LILO" or subset
thereof.
With a boot floppy, everything is fine.
/boot has its own 19 Mb partition, /dev/hda1.
LILO has been used to install to both the
MBR and the partition table. (No luck
either way) Linear is turned on.
The BIOS is set to look at the hard disk
after any removable devices (though strangely,
the disk where Linux is installed is listed
twice, there is also a SCSI data disk
not visible from BIOS)
This was not a problem until I upgraded from
Redhat 6.0 to RedHat 6.2.
The hardware is an older Micron Millennia
Mme, 200 MHz.
--
--david boldt <[EMAIL PROTECTED]>
My father, a good man, told me, "Never lose your
ignorance; you cannot replace it."
-- Erich Maria Remarque
------------------------------
From: Peter Mitchell <[EMAIL PROTECTED]>
Subject: Re: Partitions
Date: Wed, 06 Sep 2000 14:53:03 -0700
Whatever is said in the how-to's, this has worked for me. I
have a 2GB drive with an old (does not support large drives)
motherboard.
IBM's Disk Manager software (originally installed from DOS).
This allows access to the area above 504M.
Partition 1 DOS/Windows C:
Partition 2 Extended (contains DOS/Windows D:)
Partition 3 Linux Native
Partition 4 Linux Swap
The first 2 partitions take up well over half the disk.
Lilo is installed in partition 3, and this is set as the
active partition. If I want to disable Linux I only need to
set partition 1 active, but even then I can start Linux
using Loadlin.
This originally ran using a 1.2 series kernel, but now has a
2.0.
I had no problems with Lilo being or looking outside the
first 512M. When Linux starts it detects the presence of the
disk manager software and does the right thing.
Peter
* Sent from AltaVista http://www.altavista.com Where you can also find related Web
Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
------------------------------
From: Tom Mitchell <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.sgi.admin
Subject: Re: opengl on sgi linux machines?
Date: Wed, 6 Sep 2000 15:11:57 -0700
Reply-To: Tom Mitchell <[EMAIL PROTECTED]>
On 29 Aug 2000, Thor Lancelot Simon wrote:
> until comparatively recently even *Intel*'s RISC chips did. (i860 Paragon,
> anyone?
Of interest we used a bunch of that i860 bug as a
subprocessor in an older generation of graphics hardware. As
limited as it was/is as a general purpose engine it was
nifty where we put it. Gaggles of TI DSP's made the
Personal Iris gfx upgrades possible. We have built AMD
29000's into networking cards.... ARM's show up here and
there.... MIPS cores in ASICS too.
SGI used to use a Motorola 68020 to run its OS on... and
transition to the MIPS seeing the future at hand.
All in all SGI has been good at reading the tea leaves....
By no measure is the MIPS processor finished.
But the industry is a three ring circus. Today MIPS;
PA-RISC; and RS/6000 are in the center ring leap frog
jumping over each other. On another ring the ISA32 boys are
fighting it out. And in the third ring are the MEMORY and IO
guys.
Off in the wings are encores by all the players (clock ups
to the MIPS,,, additional pipelines etc.).
Out on the back lot some others are puttin a polish on the
new IA64 wild animal opening act. They know that others
were eaten alive by very long instruction engines.... But
today we have more transistors and improved compiler tools
to tame that beast. http://www.intel.com/pressroom/archive/releases/sp082200a.htm
Buy a ticket, get some cotton candy and enjoy the show.
Something new for all ages is coming....
For me the encores and sequels are the fun part of the game.
Stay tuned...
Irix lives....
(Pink bunny takes Irix to court, something about PINK and flamingos)
Linux gets a life.....
(Linus swaps his tuxedo T-shirt for a real tuxedo)
MIPS powers on and on and on...
(Pink bunny takes MIPS to court, case dismissed when
the judge finds that the bunny is run by an embedded
MIPS processor)
Merced and beyond....
Yes, Gold was found in Merced river placers...
but is is cold and rough going in the class four
rapids upstream but not impossible.... lots of fun..
Java gets decafinated...
I hope not, each time I try to study it I fall asleep.
The Virtual machine is way to complicated.... But
the programming model is cool.
------------------------------
From: [EMAIL PROTECTED] (Arturo C)
Subject: Re: Shockwave/Flash
Date: 6 Sep 2000 21:24:41 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 06 Sep 2000 21:02:43 GMT, Cheeby <[EMAIL PROTECTED]> wrote:
>I've got Flash working for root, but not for any other users. I've put the
>class and .so files in /usr/lib/netscape/plugins, but it seems only root can
>make use of them.
>
>Help.
>
>Thanks.
Check the permissions of libflashplayer.so and ShockwaveFlash.class
Try setting the files to 555
chmod 555 libflashplayer.so ShockwaveFlash.class
------------------------------
From: "Michael Westerman" <[EMAIL PROTECTED]>
Subject: Re: How To Configure LILO
Date: Thu, 7 Sep 2000 08:09:53 +1000
get a small (single disk) distribution like tomst from linux.org in the
distributions section. (needed for lilo to be reactivated.)
boot to msdos.
type fdisk /mbr
install NT
reboot.
put in tomst (or similar ) disk
login.
mount your hard disk
eg
mount /dev/hda4 /mnt -t ext2
cd /mnt
run lilo using /mnt/etc/lilo.conf as the config file.
i can't remember how but type lilo --help to find out.
<[EMAIL PROTECTED]> wrote in message news:8oh8mi$7tn$[EMAIL PROTECTED]...
> Hello all,
>
> I have a few questions on how to configure LILO.
>
> I recently installed Windows NT Workstation on my
> computer; however, the problem is that because of
> LILO, I cannot fully complete the Windows NT
> Workstation installation.
>
> Here are questions I'd like to ask.
>
> 1. How can I disable LILO temporarly?
> I have to disable LILO temporary; otherwise, the
> NT Workstation installation cannot be completed.
> By the way, just don't tell me how to disable LILO.
> I also need to know how to enable LILO as well! :)
>
> 2. How can I configure LILO?
> The Red Hat Package Manager installed LILO when I
> installed Linux on my machine. Since the Red Hat
> Package Manager took care of the installation process,
> I really don't know how to configure LILO by myself.
>
> The following describes some of the information about the
> hard drive:
>
> 1. There is one hard drive and it has three OSes
> I had installed NT Server and Linux, and then installed
> NT Workstation. (Everything was fine until I installed
> NT Workstation.)
>
> 2. The following is the current "lilo.conf" file from /etc/lilo.conf,
> which needs to be updated
>
> lilo.conf
>
> boot=/dev/hda
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> image=/boot/vmlinuz-2.0.35-1
> label=linux
> root=/dev/hda5
> read-only
> other=/dev/hda1
> label=NT
> table=/dev/hda
>
> 3. Current disk partitions information from Disk Druid
>
> | Mount Point Device Requested Actual Type
> | hda1 2447M 2447M OS/2 HPES <--NT server
> | hda5 2447M 2447M Linux native
> | hda6 62M 62M Linux swap
> | hda7 2447M 2447M DOS 16-bit >=32 <--NT workstation
> |
> |
> | Drive Summaries
> | Drive Geom [C/H/S] Total Used Free
> | hda [1245/255/63] 9766M 7404M 2362M [#######]
>
> Please let me know how to configure LILO. Thanks in advance!
>
> alea
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
Date: Thu, 07 Sep 2000 09:38:26 +1200
From: Peter Rodriguez <[EMAIL PROTECTED]>
Subject: Re: ZIP 100 Plus and ZIP ZOOM SCSI (aha152x.o)
I have exactly the same problem with the same kernel version (in RH 6.2)
with the Zip 100 Plus (on parallel port). The drive works perfectly on
RH 6.0 and with Win98 & NT 4.0. I think there is a problem with kernel
2.2.14-5 as far as imm & ppa are concerned, but I don't have enough
knowledge to sort it out.
No help, I know, but maybe someone else out there will see this and be
able to put both of us out of our misery!
--
Peter Rodriguez
136, Kolmar Road, Papatoetoe LINUX RULES
Auckland, NEW ZEALAND
------------------------------
From: Matthew Boyce <[EMAIL PROTECTED]>
Subject: Glibc 2.1 Locale trouble
Date: Wed, 06 Sep 2000 15:12:11 -0700
I can't seem to properly set the locale with the glibc-2.1.3 that came
with my Slackware 7.1. Though I can change the LANG environment variable
and have the other LC variables changed appropriately, programs such as
kterm or perl insist in the following manner that the locale cannot be
changed:
Warning: locale not supported by C library, locale unchanged
Couldn't set locale:
ja_JP.eucJP,ja_JP.ujis,ja_JP.EUC,japanese.euc,Japanese-EUC,ja,japan
I tried to install a reconfigured glibc, thinking that locale support
had not been enabled, but even after configuring it thus:
./configure --enable-add-ons=linuxthreads,localedef
I still had the same problem. So help me I can't find any other
configure options or anything else to "support" locales. Is it just that
the ja_JP locale that comes with Slackware is broken? What am I missing?
(Everything on my system is the standard english version that came with
Slackware, except for Pine and XFree86 4.01, which is a binary from the
xfree86 site.)
--
Matthew Boyce
[EMAIL PROTECTED]
$B<7E>$SH,5/$-(B
Fall seven times, get up eight.
------------------------------
From: "Michael Westerman" <[EMAIL PROTECTED]>
Subject: Re: Netscape Sucks, I need another option.
Date: Thu, 7 Sep 2000 08:42:52 +1000
> Actually, I think it is a perfectly legitimate answer. The fact is,
> Linux is a second-rate web browsing platform, at least for now. I can
> imagine that there are some people for whom their PC's primary use is
> email and web browsing. If the best, most hassle-free web browsing
> experience is a priority, Linux is probably not it.
But it dosen't have to be a bad web browsing platform.
for a os that prides it's self on stability with networking cap
why shouldn't it be able to handle web browsing with all the features.
unfortunatly my programing skills can't possibly hope to create a web
browser, but im sure some one out there could.
kfm is resonable for small jobs.
netscape is big (20 + Mb)
and crashes to often to worry about. (more than ie on 98)
this shouldn't be the case.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.linux.hardware
Subject: Re: what's up with Sun?
Date: 6 Sep 2000 22:40:50 GMT
In comp.os.linux.misc [EMAIL PROTECTED] wrote:
: On 6 Sep 2000 13:24:42 GMT, Fred Nastos <[EMAIL PROTECTED]> wrote:
:>In comp.os.linux.misc Christopher Browne <[EMAIL PROTECTED]> wrote:
: The general consensus is that you will not see the advantages
: of SCSI on single user workstation or if you've only got a
: single storage device. SCSI really starts to shine when you're
: managing multiple devices and IO operations concurrently.
As in: more than one user logged in, or exporting your FS via NFS.
Peter
------------------------------
From: softrat` <[EMAIL PROTECTED]>
Subject: Re: ZIP 100 Plus and ZIP ZOOM SCSI (aha152x.o)
Date: Wed, 06 Sep 2000 15:43:36 -0700
Peter Rodriguez wrote:
>
> I have exactly the same problem with the same kernel version (in RH 6.2)
> with the Zip 100 Plus (on parallel port). The drive works perfectly on
> RH 6.0 and with Win98 & NT 4.0. I think there is a problem with kernel
> 2.2.14-5 as far as imm & ppa are concerned, but I don't have enough
> knowledge to sort it out.
>
> No help, I know, but maybe someone else out there will see this and be
> able to put both of us out of our misery!
Well, I had the problem, but it was because I was coding the wrong
interrupt into the
/etc/conf.modules file. Once I got everything correct, my ZIP ZOOM
worked. (I am now using a more sophisticated SCSI card.)
--
the softrat
mailto:[EMAIL PROTECTED]
---
Marriage is a ghastly public confession of a strictly private intention.
------------------------------
From: [EMAIL PROTECTED] (Thor Lancelot Simon)
Crossposted-To: comp.sys.sgi.admin
Subject: Re: opengl on sgi linux machines?
Date: 6 Sep 2000 18:54:45 -0400
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>,
Tom Mitchell <[EMAIL PROTECTED]> wrote:
>
>On 29 Aug 2000, Thor Lancelot Simon wrote:
>> >: I'm noticing that even tho intel/amd smokes mips in pure cpu
>> >: performance,
>> >
>> >Not on any code I've ever run.
>> >
>> >MIPS MHz x 2-3 = Intel MHz
>>
>> Considering that SGI's best "MIPS MHz" to date is, in fact, generally running
>> about 1/3 commodity "Intel MHz", there you go.
>
>Do not confuse MHz and work done per clock.
>
>To be sure recent Intel and AMD processors are getting
>close (AMD Duron is cool)... but.
>
>The r10K is a quad issue engine. It can issue four
>instructions per clock. Some of the instructions (MADD) are
>complex that causes a pipeline of multiply and add to be
>issued at the same time.
>
>So at 250 MHz a quad issue engine is a 1GIP instruction
>per sec. Machine. When some of the instructions are
>interesting (MADD) then we start to see 1.5GIPS.
>
>On the R10K two of the quad instructions can be integer, and
>two can be floating point. The SGI compilers are good at
>keeping as much of the processor busy as possible. The
>compiler component is critical.
>
>So a single issue engine at 1.5GHz is possibly equal to a
>250 MHz R10K depending on the code.
Do you know of any current-production processor we could possibly
have been discussing which is actually single-issue?
As was very, very, *very* much made explicit in the thread you're
responding to, the poster I was responding to said that for his
code, the "MIPS" (I'm assuming R10000 or functional equivalent) gets
about two to three times the work done per clock cycle that the
IA32 does. This is totally unsurprising, if he's doing "floating-point
stuff" :-). However, clock rates on current IA32 processors have been
running at about two to three times those of current MIPS processors for
quite some time -- a rather depressing symmetry. Essentially, the inability
of the people fabbing the MIPS designs to get the clock rate up has almost
(or completely, depending what code you run) managed to compensate for the
horrific instruction set that the IA32 crowd are stuck with.
--
Thor Lancelot Simon [EMAIL PROTECTED]
"And where do all these highways go, now that we are free?"
------------------------------
Crossposted-To: comp.os.linux.help
From: fred smith <[EMAIL PROTECTED]>
Subject: Re: Help on mathematical functions
Date: Wed, 6 Sep 2000 10:30:27 GMT
In comp.os.linux.help Andrew N. McGuire <[EMAIL PROTECTED]> wrote:
: On Tue, 5 Sep 2000, [EMAIL PROTECTED] quoth:
: ~~ I am new to linux. I am using Redhat 6.2. I am trying to compile a
: ~~ program using mathematical functions (sine, cosine, sqrt, etc.). But the
: ~~ program is not finding them. The exact error is: undefined refernce to
: ~~ 'sin'. I have included the header file math.h. I think I may have to
: ~~ include the path of the header files and libraries during compile time.
: ~~ I know the gcc options to include header files and libraries during
: ~~ compile time. But which header files and libraries should I include?
: my guess is that you are not linking with the math lib.
Yes, but...
: #include <stdio.h>
: #include <math.h>
: int main()
: {
: int x = sqrt(4);
: printf("%d\n", x);
: }
: compiles with:
: gcc -o sqrt -lm test.c
The correct answer would be:
gcc -o sqrt test.c -lm
Libraries should be AT THE END of the line!
Fred
--
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
I can do all things through Christ
who strengthens me.
============================== Philippians 4:13 ===============================
------------------------------
** 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
******************************