Linux-Misc Digest #999, Volume #18 Fri, 12 Feb 99 21:13:10 EST
Contents:
C compiler cannot create executables (Andreas Schyman)
Re: Copying linux system.... (Stephen S.)
Re: SuSE / F-keys over telnet ("Michael Kruschwitz")
Re: UPS restores power after system is halted; will it boot? (Geoff Allsup)
simple shell script q? (Charles Mulks)
Re: more ugly ssyslog messages (dmalcolm)
Europarlement wishes to ban Proxy servers (Raymond Doetjes)
ext2 filesystem problems... (Kevin Cowtan)
Re: Bunch of pretentious Wankers (Johan Kullstam)
simple question about text editing tools (Steve Sanyal)
Re: How can I make my linux machine beep with internal speaker? (Anthony Pioli)
Re: one thing that sux about Linux.... (Jedi Master Yoda)
Re: Is linux able to handle 2 video cards ? (Raymond Doetjes)
----------------------------------------------------------------------------
From: Andreas Schyman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: C compiler cannot create executables
Date: Sat, 13 Feb 1999 00:59:45 +0100
Hi,
I have this peculiar problem with gcc, or pgcc. The thing is that when I
run any ./configure-script (or everyone I�ve tried) it quits with an
error message saying:
.........
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
..................
And then it dumps me to the prompt.
This is very odd to me, I have installed Linux a couple of times,
RedHat, Mandrake, Stampede and TurboLinux, and the gcc has always worked
fine. But now, I reinstalled (I have a habit of that... can�t get enough
of configuration :-) ) and the gcc was broken, so I tried once more, and
it was broken again... Both times were RedHat-installations which I have
done before, but now I get this problem.
Also I get an error-message telling me that it (configure-script) can�t
find the host type, but I work around that passing the --host switch to
the script... Where can I set the host type so that the script finds it?
However, when not beeing able to use gcc, I installed pgcc and tried
that, but sadly with the same result.
Now, I�ve been searching through most resources before posting this,
been searchin dejanews and the HOW-TOs, but I might have missed a
place...
If anyone can give me any hint of what to read, I�d be most thankful.
Andreas
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Stephen S.)
Subject: Re: Copying linux system....
Date: Sat, 13 Feb 1999 00:31:02 GMT
We used to use a linux system to transfer all types of partitions with
a cat command like this:
cat /dev/hda1 > /dev/hdd1
or something similar. It was known as our copying ststion for a
while. Whenever a customer wanted a partition transfered or something
we used this method.
On Thu, 07 Jan 1999 15:36:45 +1000, James <[EMAIL PROTECTED]>
wrote:
>Can anyone tell me if it's possible to copy a whole linux partition with
>a recursive cp?
>
>I have run out of disk space on my linux partition and want to move it
>to a larger empty partition.
>
>Is there a good way of doing this? Or are there programs which can
>resize a extfs partition?
>
>Thanks for any help,
> James.
------------------------------
From: "Michael Kruschwitz" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: SuSE / F-keys over telnet
Date: Thu, 11 Feb 1999 11:50:44 +0100
Tobin Fricke wrote in message <[EMAIL PROTECTED]>...
>
>SuSE's YaST program uses the function keys (F1 -> F10). How can I use
>these keys though a telnet/ssh connection (with, say, Van Dyke
>SecureCRT)?
>
>Tobin Fricke / [EMAIL PROTECTED]
session preferences/options/Emacs modes
set "Alt sends escape" and "Preserve Alt-Gr"
now you can use Alt-1 -> Alt-0 instead of F1-> F10.
MiK
| Michael Kruschwitz | DaWIN-Team des URZ |
| [EMAIL PROTECTED] |
| http://www.uni-muenster.de/DaWIN/ |
------------------------------
From: [EMAIL PROTECTED] (Geoff Allsup)
Subject: Re: UPS restores power after system is halted; will it boot?
Date: 11 Feb 1999 15:03:45 GMT
Reply-To: [EMAIL PROTECTED]
>Anthony Christofides wrote:
>
>> More or less the subject says everything. Consider an unattended Linux
>> server powered through a UPS. Power fails, the UPS signals the system,
>> and the system starts the power fail procedure. This waits for a while,
>> in case power is restored, then begins to shut down the system, and
>> finally the system is halted. Suppose that the UPS has not cut the power
>> yet, and the power is restored. The UPS signals that power is restored,
>> but the halted system can't respond to the signal. So the system will
>> remain halted.
>>
>> Am I missing something?
>
missed the original post, but FWIW, I have an APC Smart-UPS and I wondered
the same thing. It handles this just fine - if the power is restored AFTER
the shutdown has begun, the system still completes proper shutdown, the UPS
turns OFF the AC power to the system, waits some few seconds, then restores
AC power to the system, and normal power-up boot occurs. I would assume
all UPS manufacturers would do something similar....
geoff
******************************************************************
Geoff Allsup Upper Ocean Processes Group
Woods Hole Oceanographic Institution Woods Hole, MA, USA
******************************************************************
------------------------------
From: [EMAIL PROTECTED] (Charles Mulks)
Crossposted-To: alt.os.linux
Subject: simple shell script q?
Date: 13 Feb 1999 01:12:56 GMT
what is the newline sequence in a shell script?
eg
echo "1st line\n2nd line"
I'm trying to do something like the following, but in a single statement.
echo "1st line"
echo "2nd line"
It *doesn't* seem to be \n (which simply prints an 'n')
FWIW - I've been browsing O'Reilly's "Learning the BASH Shell"
for the last half hour or so and can't find an answer.
Feeling Stupid & TIA
Charlie Mulks
------------------------------
Date: Thu, 11 Feb 1999 09:39:45 -0600
From: dmalcolm <[EMAIL PROTECTED]>
Subject: Re: more ugly ssyslog messages
This is a multi-part message in MIME format.
==============7252120C6A9178535E36EA12
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
This may help and may not. You seem to have a very sick system. If you
don't have a boot floppy I suggest you make one. If you do try to reboot
the system from your hard drive. failing that try to reboot using your
floppy. I think one of two things occured. Somehow your kernel got
corrupted or your hard drive is hosed. If its the HD you may need to run
fsck on it. You, will need to boot to a floppy and then run fsck on the
unmounted HD partition.
Dan
Dave Lugo wrote:
> This is teh second day these types of messages have occurred.
>
> Any ideas? The system has been very stable up until yesterday...
>
> Thanks,
>
> Dave
>
> Feb 11 10:24:30 penguin kernel: general protection: 0000
> Feb 11 10:24:30 penguin kernel: CPU: 0
> Feb 11 10:24:30 penguin kernel: EIP: 0010:[shrink_mmap+116/520]
> Feb 11 10:24:30 penguin kernel: EFLAGS: 00010217
> Feb 11 10:24:30 penguin kernel: eax: 016b6c18 ebx: 00257a88 ecx:
> 00000006 edx: f00000fd
> Feb 11 10:24:30 penguin kernel: esi: 000003ff edi: 00001fff ebp:
> 00008000 esp: 06d4aee4
> Feb 11 10:24:30 penguin kernel: ds: 0018 es: 0018 fs: 002b gs:
> 002b ss: 0018
> Feb 11 10:24:30 penguin kernel: Process squid (pid: 1141, process nr:
> 26, stackpage=06d4a000)
> Feb 11 10:24:30 penguin kernel: Stack: 00000006 00000001 00000000
> 00000000 00000000 016b6c18 00120405 00000006
> Feb 11 10:24:30 penguin kernel: 00000000 00000001 00000003
> 00000118 0079ed18 0660b398 00120ea6 00000003
> Feb 11 10:24:30 penguin kernel: 00000000 00000001 0281a084
> 03a290c4 0079ed18 0660b398 08431000 00000012
> Feb 11 10:24:30 penguin kernel: Call Trace: [try_to_free_page+81/184]
> [__get_free_pages+422/444] [do_no_page+444/808] [do_no_page+0/808]
> [do_page_faul
> t+284/736] [do_page_fault+0/736] [error_code+64/72]
> Feb 11 10:24:30 penguin kernel: Code: f6 42 14 10 74 0e 0f ba 72 14 04
> 19 c0 0f ba 6b 18 02 19 c0
> Feb 11 10:24:34 penguin kernel: general protection: 0000
> Feb 11 10:24:34 penguin kernel: CPU: 0
> Feb 11 10:24:34 penguin kernel: EIP: 0010:[shrink_mmap+116/520]
> Feb 11 10:24:34 penguin kernel: EFLAGS: 00010217
> Feb 11 10:24:34 penguin kernel: eax: 016b6c18 ebx: 00257a88 ecx:
> 00000006 edx: f00000fd
> Feb 11 10:24:34 penguin kernel: esi: 000003ff edi: 00001fff ebp:
> 00008000 esp: 06458e10
> Feb 11 10:24:34 penguin kernel: ds: 0018 es: 0018 fs: 002b gs:
> 002b ss: 0018
> Feb 11 10:24:34 penguin kernel: Process squid (pid: 1155, process nr:
> 26, stackpage=06458000)
> Feb 11 10:24:34 penguin kernel: Stack: 00000006 00000001 00000000
> 00000000 03c12100 016b6c18 00120405 00000006
> Feb 11 10:24:34 penguin kernel: 00000000 00000001 00000003
> 00000118 07c12810 0000002a 00120ea6 00000003
> Feb 11 10:24:34 penguin kernel: 00000000 00000001 00000040
> 00000002 07c12810 0000002a 00000246 06f65e58
> Feb 11 10:24:34 penguin kernel: Call Trace: [try_to_free_page+81/184]
> [__get_free_pages+422/444] [do_select+232/640] [__get_fd_set+43/100]
> [sys_select
> +398/608] [do_no_page+444/808] [do_no_page+391/808]
> Feb 11 10:24:34 penguin kernel: [sys_gettimeofday+44/112]
> [system_call+85/124]
> Feb 11 10:24:34 penguin kernel: Code: f6 42 14 10 74 0e 0f ba 72 14 04
> 19 c0 0f ba 6b 18 02 19 c0
> Feb 11 10:24:37 penguin kernel: general protection: 0000
> Feb 11 10:24:37 penguin kernel: CPU: 0
> Feb 11 10:24:37 penguin kernel: EIP: 0010:[shrink_mmap+116/520]
> Feb 11 10:24:37 penguin kernel: EFLAGS: 00010217
> Feb 11 10:24:37 penguin kernel: eax: 016b6c18 ebx: 00257a88 ecx:
> 00000006 edx: f00000fd
> Feb 11 10:24:37 penguin kernel: esi: 000003ff edi: 00001fff ebp:
> 00008000 esp: 0730be10
> Feb 11 10:24:37 penguin kernel: ds: 0018 es: 0018 fs: 002b gs:
> 002b ss: 0018
> Feb 11 10:24:37 penguin kernel: Process squid (pid: 1168, process nr:
> 26, stackpage=0730b000)
> Feb 11 10:24:37 penguin kernel: Stack: 00000006 00000001 00000000
> 00000000 05a50598 016b6c18 00120405 00000006
> Feb 11 10:24:37 penguin kernel: 00000000 00000001 00000003
> 00000118 057d0018 0000002a 00120ea6 00000003
> Feb 11 10:24:37 penguin kernel: 00000000 00000001 00000040
> 00000002 057d0018 0000002a 00000246 0660ba58
> Feb 11 10:24:37 penguin kernel: Call Trace: [try_to_free_page+81/184]
> [__get_free_pages+422/444] [do_select+232/640] [__get_fd_set+43/100]
> [sys_select
> +398/608] [do_no_page+444/808] [do_no_page+391/808]
> Feb 11 10:24:37 penguin kernel: [sys_gettimeofday+44/112]
> [system_call+85/124]
> Feb 11 10:24:37 penguin kernel: Code: f6 42 14 10 74 0e 0f ba 72 14 04
> 19 c0 0f ba 6b 18 02 19 c0
>
> --
>
> -----------------------------------------------
> Dave Lugo | [EMAIL PROTECTED]
> Systems/Network Admin. | http://www.stk.com
> Analytical Graphics Inc. | (610)578-1000
> -----------------------------------------------
==============7252120C6A9178535E36EA12
Content-Type: text/x-vcard; charset=us-ascii;
name="dmalcolm.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for dmalcolm
Content-Disposition: attachment;
filename="dmalcolm.vcf"
begin:vcard
adr;dom:;;1308 Nolan Court;Madison;AL;35758;
n:Malcolm;Dan
x-mozilla-html:FALSE
org:Home
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
tel;fax:205-895-9934
tel;home:205-772-3109
tel;work:205-722-2840
x-mozilla-cpt:;0
fn:Dan Malcolm
end:vcard
==============7252120C6A9178535E36EA12==
------------------------------
From: Raymond Doetjes <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows-nt.misc
Subject: Europarlement wishes to ban Proxy servers
Date: Thu, 11 Feb 1999 16:43:28 +0100
This is a multi-part message in MIME format.
==============7A2472CF162E61570EAE2074
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Those fucking guys with ties in Brussel, are thinking about banning
proxy servers from the internet!!!
They clame to provide copyright security this way.
But infact it is the start of a new plan to let people pay tax per
packet send over the internet.
Let these fucked-up people do some usefull work for a change instead of
picking their noses and drinking expensive wine and eating expensive
food and come up with stupid plans.
They cost the european tax payers a awfull lot of money to come up with
this stupid ideas.
The internet is ours and no one should setup taxes censoring etc it. The
internet has a behaviour code wich wil be mantained. And if not abusers
will be punnished. And that is what politicians hate they can't touch
the internet community YET and this should stay that way.
What will be next taxes on the air that we breath???
If this law will be used I suggest that the community will setup massiv
denial of service attacks upon all european government sites.
Raymond
--
===================================================
The Rolling Stones knew the truth on Windows 95
...Start me...
I can't compete, with the riders in the other heats
===================================================
==============7A2472CF162E61570EAE2074
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Raymond Doetjes
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Raymond Doetjes
n: Doetjes;Raymond
org: SYNAPSES IT
adr: Overijsselhaven 47;;;Nieuwegein;Utrecht;3433 PH;The Netherlands
email;internet: [EMAIL PROTECTED]
title: programmeur VAB
tel;work: 030 6066411
tel;fax: 030 6067871
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
==============7A2472CF162E61570EAE2074==
------------------------------
From: Kevin Cowtan <[EMAIL PROTECTED]>
Subject: ext2 filesystem problems...
Date: Thu, 11 Feb 1999 15:52:32 +0000
Hi!
I have Linux and W95 installed on an ageing 1Gb hard drive.
Unfortunately it is beginning to lose the occasional block. When this
happens I generally suffer the odd damaged file under Windows, but Linux
falls over, giving a Kernel panic either during boot or after loging.
Is the ext2 filesystem genuinely very vulnerable to bad blocks, or have
I just been unlucky with which block have gone bad?
Are there any utilities I could use to correct such problems before they
stop the system from booting?
Are there any other relevent new developments in the pipelines?
This is currently limiting the usefulness of Linux as an OS on my legacy
hardware.
--
Dr. Kevin Cowtan, Structural Biology Laboratory, University of York, UK
------------------------------
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: Bunch of pretentious Wankers
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: 12 Feb 1999 20:56:00 -0500
[EMAIL PROTECTED] () writes:
> He deserved it. He is a piece of shit.
>
> So are most Democrats.
and every republican as well. let's fire the lot of them.
--
Johan Kullstam [[EMAIL PROTECTED]] Don't Fear the Penguin!
------------------------------
From: Steve Sanyal <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: simple question about text editing tools
Date: Thu, 11 Feb 1999 14:36:12 GMT
Hi,
My editor put in tab characters, and my programs look horrendous because
of the indenting. I have since switched to "emulate tabs" mode only.
Is there an easy way that I can replace each existing tab character with
3 spaces?
If so, can someone please tell me the command?
Please send your reply by email, if possible.
Thanks
Steve
------------------------------
From: Anthony Pioli <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: How can I make my linux machine beep with internal speaker?
Date: Fri, 12 Feb 1999 23:00:53 +0000
Tobias Galitzien wrote:
>
> Hello!
>
> I want to set up an alarm schript that should check a certain thing
> regularly and should somehow give an audible alarm if there is an error.
> The problem is the speaker. If I take the following perl script, it
> beeps happily when I run it from the console or via telnet:
>
> #!/usr/bin/perl
> print STDERR "\033[10;3000]";
> print STDERR "\033[11;100]";
> print STDERR "\007";
> print STDERR "\033[10]";
> print STDERR "\033[11]";
>
> But it won't work if run with cron. It mails the output nicely formatted
> to me but doesn't give a beep.
>
> Anybody any idea how I can make it beep also from cron?
>
> Thanks
> Tobias
If a beep is all you want:
print "\a";
Anthony
------------------------------
From: [EMAIL PROTECTED] (Jedi Master Yoda)
Crossposted-To: linux.redhat.misc
Subject: Re: one thing that sux about Linux....
Date: 12 Feb 99 10:51:56 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 06 Feb 1999 19:11:38 +0000, Steve D. Perkins <[EMAIL PROTECTED]> saw fit to
expound:
>
> I am sure that large corporations DO quite often use newsgroups to promote
>themselves or degrade their competition, but I seriously doubt that this is the
>case here. A multi-billion dollar corporation would probably create postings
>that are intelligently thought-out and well written, attacking carefully
>selected weak points and vulnerabilities in the competition's product. I don't
>think that "Linux sux! Windoze rulz! Yeah!!!!" would fall under this
>description.... <smile>
That would depend on what audience they were trying to reach.
JMY
------------------------------
From: Raymond Doetjes <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.hardware,comp.os.linux.x
Subject: Re: Is linux able to handle 2 video cards ?
Date: Thu, 11 Feb 1999 17:08:14 +0100
This is a multi-part message in MIME format.
==============1B795CCE53D15613B40C62B0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
It depends upon your X-server. The commercial x-servers, can sometimes use 4
cards at the same time. But often you have to buy speciial cards wich no how
to share interrupts. Like a Matrox millenium. 2 different cards is with some
servers also possible aslong as they don't conflict with each other.
Raymond
Damien Ercole wrote:
> Hi all .....
>
> I'm actually wondering if linux is able to handle 2 video cards
> connected on the PC..
> I've actually a viper v550 on the AGP bus, but as this card doesn't have
> any TV output
> i want to buy a cheaper one (on PCI bus) to be able to watch my DVD on
> my TV ......
> so anyone can tell me if booting with 2 video cards will crash the
> system ?
>
> ThaNX
> Damien
--
===================================================
The Rolling Stones knew the truth on Windows 95
...Start me...
I can't compete, with the riders in the other heats
===================================================
==============1B795CCE53D15613B40C62B0
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Raymond Doetjes
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Raymond Doetjes
n: Doetjes;Raymond
org: SYNAPSES IT
adr: Overijsselhaven 47;;;Nieuwegein;Utrecht;3433 PH;The Netherlands
email;internet: [EMAIL PROTECTED]
title: programmeur VAB
tel;work: 030 6066411
tel;fax: 030 6067871
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
==============1B795CCE53D15613B40C62B0==
------------------------------
** 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
******************************