Linux-Setup Digest #940, Volume #20 Thu, 29 Mar 01 06:13:04 EST
Contents:
how to execute the file you just make (Hansen Cahyono)
Re: how to execute the file you just make (Benoit Mordelet)
Print Command? ("Jorge A. Melendez")
CDRoms and Floppy locked ("Maredudd")
ATI Radeon graphics cards (Melvin Gators)
Re: how to execute the file you just make (Hansen Cahyono)
Re: glibc compiling error with rpcgen and C preprocessor (Andreas Fehr)
Re: Print Command? (Michael Heiming)
Does someone know how to resize a Win2k partition ([EMAIL PROTECTED])
Re: how to execute the file you just make (Benoit Mordelet)
Re: RH7.* -- downgrading to gcc/g++ 2.95.3 (Harald Arnesen)
Re: joining a W2K domain (Christoph Lukas)
redhat linux on scsi (maher)
Re: Dual Boot w/W2K ("Eric")
Bellsouth ADSL ("News Mail")
Re: how to execute the file you just make ("Eric")
Re: Does someone know how to resize a Win2k partition ("Eric")
Adaptec 19160 SCSI card support? (Melvin Gators)
Re: redhat linux on scsi ("Eric")
Re: uname -r gives incorrect kernel version (John Thompson)
Re: "to many files are open"?? (Glitch)
Re: What is kernel version 2.2.16-22smp?? (Glitch)
Re: Can't boot after installing Mandrake (Glitch)
Re: Cups Problems (Juergen Sauer)
----------------------------------------------------------------------------
From: Hansen Cahyono <[EMAIL PROTECTED]>
Subject: how to execute the file you just make
Date: Wed, 28 Mar 2001 23:19:38 -0800
hi.. i'm newbie to linux. I just installed RHL 7.0 in my system
i use to learn c programming language in my school. I'm trying to write
and compile c program in linux. I succeded to gcc "filename".c and get
the result a.out . but i can't execute a.out as i use to execute in my
school computer. Please help.
------------------------------
From: Benoit Mordelet <[EMAIL PROTECTED]>
Subject: Re: how to execute the file you just make
Date: Thu, 29 Mar 2001 08:41:39 +0200
Hansen Cahyono a �crit :
>
> hi.. i'm newbie to linux. I just installed RHL 7.0 in my system
> i use to learn c programming language in my school. I'm trying to write
> and compile c program in linux. I succeded to gcc "filename".c and get
> the result a.out . but i can't execute a.out as i use to execute in my
> school computer. Please help.
you must have a.out support compiled in your kernel. but anyway this is
now deprecated, and you should consider using ELF binaries instead. just
use the -o option with gcc, e.g. :
gcc -o binary_name filename.c
man gcc for more info.
ben
------------------------------
From: "Jorge A. Melendez" <[EMAIL PROTECTED]>
Subject: Print Command?
Date: Thu, 29 Mar 2001 00:00:39 -0800
I am trying to use the 'print' command in a script in Redhat Linux
7.0. I don't find the command 'print' or a 'man' page on it.
I want to confirm that Linux uses the 'echo' command instead of 'print'?
Thank you,
Jorge M.
------------------------------
From: "Maredudd" <[EMAIL PROTECTED]>
Subject: CDRoms and Floppy locked
Date: Thu, 29 Mar 2001 09:20:40 +0100
After installing Mandrake 7.2 my DVD drive, CD Writer and Floppy drive are
locked and cannot be accessed, even by root. I can't find any way of
unlocking them and I haven't got a clue why this would happen.
When in the file manager and I click on one of these to open them the
following message pops up:-
Unable to enter file:/mnt/cdrom (cdrom2/floppy). You do not have access
rights to this location.
Does anyone have any idea why it does this and how do I get access rights
back.
Thank you
Maredudd
------------------------------
From: [EMAIL PROTECTED] (Melvin Gators)
Crossposted-To: comp.os.linux.hardware
Subject: ATI Radeon graphics cards
Reply-To: [EMAIL PROTECTED]
Date: Thu, 29 Mar 2001 08:25:56 GMT
Do these graphics cards work well under linux? Anyone tried the
Radeon LE cards yet?
------------------------------
From: Hansen Cahyono <[EMAIL PROTECTED]>
Subject: Re: how to execute the file you just make
Date: Thu, 29 Mar 2001 00:30:45 -0800
thx for the alternative ben , but it also don't work.
btw , what you mean by i have to have a.out support in my kernel ? how you do
that ? any suggestion.
Thx again
Benoit Mordelet wrote:
> Hansen Cahyono a �crit :
> >
> > hi.. i'm newbie to linux. I just installed RHL 7.0 in my system
> > i use to learn c programming language in my school. I'm trying to write
> > and compile c program in linux. I succeded to gcc "filename".c and get
> > the result a.out . but i can't execute a.out as i use to execute in my
> > school computer. Please help.
>
> you must have a.out support compiled in your kernel. but anyway this is
> now deprecated, and you should consider using ELF binaries instead. just
> use the -o option with gcc, e.g. :
> gcc -o binary_name filename.c
>
> man gcc for more info.
>
> ben
------------------------------
From: [EMAIL PROTECTED] (Andreas Fehr)
Subject: Re: glibc compiling error with rpcgen and C preprocessor
Date: Thu, 29 Mar 2001 08:29:49 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On 27 Mar 2001 22:47:42 GMT, DVHandorf <[EMAIL PROTECTED]> wrote:
>Do you have the correct permissions? Are you trying to execv a text file
>(which, by the way, doesn't work very well.)? Does the file exist. If it
>doesnt, that could pose problems for you.
Thanks, just solved the problem. I did have the correct permission, but
the link to cpp was to the directory instead of the file cpp/cpp0.
Andreas
--
[EMAIL PROTECTED]
------------------------------
Date: Thu, 29 Mar 2001 10:37:27 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Print Command?
"Jorge A. Melendez" wrote:
>
> I am trying to use the 'print' command in a script in Redhat Linux
> 7.0. I don't find the command 'print' or a 'man' page on it.
>
> I want to confirm that Linux uses the 'echo' command instead of 'print'?
The command is called printf and it has a C like options.
Michael Heiming
------------------------------
From: [EMAIL PROTECTED]
Subject: Does someone know how to resize a Win2k partition
Date: 29 Mar 2001 08:45:46 GMT
Hi,
Can someone suggest a way to resize a Win2k partition --
FIPS 2.0 does not work, unfortunately ...
------------------------------
From: Benoit Mordelet <[EMAIL PROTECTED]>
Subject: Re: how to execute the file you just make
Date: Thu, 29 Mar 2001 10:05:26 +0200
Hansen Cahyono a �crit :
>
> thx for the alternative ben , but it also don't work.
??
does it produce the binary file ?
what's the error message ?
> btw , what you mean by i have to have a.out support in my kernel ? how you do
> that ? any suggestion.
recompile your kernel with the option "support for a.out binaries"
either in module or not.
see the kernel-howto if you don't know how to proceed. but again, I
suggest that you try the alternative I told you instead.
> Thx again
>
ben
------------------------------
Crossposted-To: comp.os.linux.development.apps
Subject: Re: RH7.* -- downgrading to gcc/g++ 2.95.3
From: Harald Arnesen <[EMAIL PROTECTED]>
Date: 29 Mar 2001 11:19:05 +0200
Carlos Moreno <[EMAIL PROTECTED]> writes:
> I'm wondering what would be the correct procedure to downgrade
> from gcc/g++ 2.96 to the latest *official* release, 2.95.3
>
> If I download the source and have to compile it, then I feel
> like I'm using the broken compiler (and of course it's broken,
> otherwise I wouldn't be downgrading) to generate the executable
> code of the new compiler... What is then my hope that this
> new compiler will produce correct code? :-(
You have, of course, no guarantee that _any_ compiler will produce
correct code.
Compiling GCC goes as follows:
Stage 1: Compile the source with your current compiler.
Stage 2: Compile the source with the compiler made in stage 1.
Stage 3: Compile the source with the compiler made in stage 2.
The last two compilers are compared, and if they differ, something is
wrong.
Harald.
--
Foreningen for engelsk ord deling kjemper for at sammen satte ord som
leke plass og kj�le skap skal skilles for aldri mer � se hver andre.
Foreningen f�ler at den langt p� vei har lykkes i sitt pioner arbeid.
------------------------------
From: Christoph Lukas <[EMAIL PROTECTED]>
Subject: Re: joining a W2K domain
Crossposted-To: comp.protocols.smb,comp.os.linux.security
Date: Thu, 29 Mar 2001 11:22:42 +0200
Hi Gary,
> I am trying to join my existing W2K domain using Samba but here's what I
> get (domain is MyDom, W2K DC is MyDC):
>
> Any ideas anyone?
You have to run the w2k server's active directory in 'compatibility mode'
to join the domain with samba.
This is due to samba can only behave as an NT4 box and the w2k's active
directory only allows NT4 boxes in 'compatibility mode'.
This active directory mode can only be changed in the installation process
of the active directory.
Regards,
Christoph
------------------------------
From: maher <[EMAIL PROTECTED]>
Subject: redhat linux on scsi
Date: Thu, 29 Mar 2001 17:33:28 +0500
Hello everyone,
I tried to install redhat 6.2 on scsi (seagate baracuda).After the
installation process ends,it reboot.So I change the bios settings -boot
sequence to SCSI.After that, I tried to reboot and the message prompt
up:
Not found any {active partition) in HDD
Not found any {active partition) in HDD
May I know what cause the problem?
thank you very much
maher
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Dual Boot w/W2K
Date: Thu, 29 Mar 2001 11:43:53 +0200
> > I have a Dell Inspiron 7500 laptop and I am trying to set it up to
dual-boot
> > Linux and Windows 2000 Pro. I fdisk'd the entire HD (12GB) and
separated it
> > into 2 partitions. I installed Windows 2000 on the second partion and
then
> > installed Linux (v.6.2) on the first partition. W2K worked fine before
the
> > Linux install but after the Linux install, I did the only options I had
at
> > the LILO boot was Linux. Can anyone help me with what I am doing wrong?
>
> Sounds like you blew away the W2K bootloader and replaced it with LILO.
Bad.
not so bad, really
the bootloader isn't gone.
> The Windows bootloader can boot both Lose2K and Linux. You must use
> it instead of LILO. (Actually, I think you don't /have/ to, but it's
> dangerous and silly not to.)
That's a pretty personal opinion.
And I disagree. I prefer LILO over the NT loader.
> > What do I have to do to get the boot loader to see the W2K install?
>
> Read the W2K+Linux howtos on linuxdoc. Actually, the one that I found
most
> useful was the mini-howto for NT+Linux, since W2K is just "NT 5.0" as far
> as this procedure is concerned. I boot both Lose2K and Linux all the
time.
good advise.
I can give you some other advise.
Just add to your /etc/lilo.conf :
other=/dev/hda1 #I assume this is your NT C: partition
label=win2k
Now save the changes, and run `/sbin/lilo -v`
reboot, and at the liloprompt enter "win2k" (without the quotes)
Eric
------------------------------
From: "News Mail" <[EMAIL PROTECTED]>
Crossposted-To:
ahn.tech.linux,alt.os.linux.mandrake,bellsouth.net.support.adsl,bellsouth.net.support.linux
Subject: Bellsouth ADSL
Date: Thu, 29 Mar 2001 03:38:32 -0600
Help!!!
We just got this ADSL and set up Linux Mandrake 7.2 but we can't get it
connected. I did the "adsl-setup". Then "adsl-start" and get a "time-out"
message. We are not sure but we may have an IRQ problem. What command can we
use to see the list of IRQs?
meesh32
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: how to execute the file you just make
Date: Thu, 29 Mar 2001 11:46:10 +0200
It's probably far eassier than you think.
try ./a.out instead.
You just don't have the current directory in your PATH
Eric
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Does someone know how to resize a Win2k partition
Date: Thu, 29 Mar 2001 11:48:11 +0200
> Can someone suggest a way to resize a Win2k partition --
> FIPS 2.0 does not work, unfortunately ...
FIPS is for FAT partitions only.
Perhaps the latest PartitionMagic can resize NTFS5 ?
You know, NTFS isn't really an open standard, so it's probably a bit
hard for others to make an NTFS resizer. Even writing to it from linux
is not supported.
Eric
------------------------------
From: [EMAIL PROTECTED] (Melvin Gators)
Crossposted-To: comp.os.linux.hardware
Subject: Adaptec 19160 SCSI card support?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 29 Mar 2001 09:51:14 GMT
Do these SCSI cards work well under linux?
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: redhat linux on scsi
Date: Thu, 29 Mar 2001 12:02:57 +0200
> I tried to install redhat 6.2 on scsi (seagate baracuda).After the
> installation process ends,it reboot.So I change the bios settings -boot
> sequence to SCSI.After that, I tried to reboot and the message prompt
> up:
>
> Not found any {active partition) in HDD
> Not found any {active partition) in HDD
>
> May I know what cause the problem?
You didn't put LILO in the MBR, so activate the partition
where the LILO code is.
Eric
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: uname -r gives incorrect kernel version
Date: Wed, 28 Mar 2001 21:51:35 -0600
Mike Ruskai wrote:
> The boot sector functionality [in OS/2 HPFS] is probably more accurately termed
> micro-FSD. It's sufficient to find OS2BOOT, which has the mini-FSD. It
> does not store the physical sector location of OS2BOOT, but determines its
> location from the file system.
>
> The advantage to having this functionality is the removal of an extra step
> when manipulating the location of the kernel. I'm quite sure it has
> become second nature to Linux users, but that doesn't change the fact that
> it can be done better.
But if you use the micro-FSD system, how could you support
multiple bootable kernels? Eg, with lilo I don't worry if my
newly compiled kernel fails to boot. I simply press [TAB] at the
lilo: prompt and select the old kernel, boot using that and
reconfigure the new kernel to correct the error. This isn't an
issue in OS/2 where you don't have the option of compiling your
own kernel, but it is in linux.
--
-John ([EMAIL PROTECTED])
------------------------------
Date: Thu, 29 Mar 2001 02:28:59 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: "to many files are open"??
Carsten Bliessen wrote:
> Hi together,
>=20
> have a problem with an debian system. I=B4ve installed it with minimum
> config and set an Samba on it.
>=20
> Everything is working well. But if I copy many files over the network,
> after some hours the System hang and the windows clients couldnt write
> or read anything and on the console i can=B4t execute anything. Only
> Ctrl alt and del. restarts the computer.
>=20
> The system say : to many files are open.
>=20
> Do anybody have an idea about that ?
>=20
> THX
> Carsten Bliessen
there is a limit on the number of files that can be open on the system.=20
I believe the limit is set in ulimits.h(or maybe ulimit.h). AFter u=20
change the limit u have to recompile your kernel.
------------------------------
Date: Thu, 29 Mar 2001 02:35:44 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: What is kernel version 2.2.16-22smp??
Andy wrote:
> I just loaded rh7.0. I am trying to get my netgear fa311 card working.
> I copied the fa311.o into /lib/modules/2.2.16-22/net. Then I wanted to
> see if it would load ok so I did a: insmod -n fa311.o and I got the
> following error
>
> "fa311.o was compiled for kernel version 2.2.16-22
> while this kernel is version 2.2.16-22smp"
>
> What is 2.2.16-22smp? Which kernel should am I actually running or
> should I be running? How can I fix this?
>
> Thanks
smp means it handles multi-processors
u should be able to recompile (after removing the SMP feature of the
kernel) and then insmod the driver again
read the README file in /usr/src/linux/ for info on recompiling your kernel
------------------------------
Date: Thu, 29 Mar 2001 02:54:40 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: Can't boot after installing Mandrake
Warpexpert wrote:
> Here's the story in a nutshell. I loaded Mandrake Linux into a 13gig hard drive
> on an Unysis 75Mhz computer. Gonna use LILO. Boot up and get to LI (in LILO)
> and then I get a bunch of 40s going across the screen like....
> 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40
> 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40
> 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40
> 40 40
> OK, so I use the boot disk I made during the installation and get grub to be
> the OS loader. Boot up and get GEOM Error. Do a little research and find that
> there's something weird with the BIOS and the hard drive. BIOS sees only the
> first 8gigs. No big deal. I can still see the Windows98 portion of the hard
> drive when I boot up fine with the Linux boot disk. I figure just re-install
> Windows98 and use the boot disk I made during the installation. I test out a
> boot disk and it gives me a C: prompt and a D: prompt(the CD- I left Windows98
> at home because I did not think I needed it.) Come back next day and go to boot
> off the same Windows98 boot disk and all that happens now is I see the 3.5"
> light come on and then it stays on, normal, the hard drive light comes on when
> the 3.5" goes out and stays on and stays on...all I have on the screen is a
> blinking line. THe Linux boot disk still loads up Mandrake Linux fine also so I
> know that the 3.5" drive is working fine. Now I have a computer that (1) If I
> boot up with no boot disk gives me a Geom Error (2) Boot up with a Windows98 (I
> have tried several other ones) and I get just a blinking cursor and a steady on
> hard drive (3) Boot up with my Mandrake Linux and get a working Linux compuet.
> What is happening????? Thank God I still have computers at work to experiment
> with. I want access to my hard drive. The hard drive is a Western Digital
> 13Gig.
> Thanx
> Bobert
did u make just one partition for Linux? if so, on what cylinder of hte
hard drive does that partition start on? Is it beyond 1024? If so LILO
can't load any Linux kernels that are located beyond 1024 cylinders of
the drive.
U either need to move the whole partition closer to the beginning of the
drive (possibly causing u to delete the Windows partition and recreating
that one with a smaller size, then creating a Linux partition) or u make
a small /boot partition at the beginning of the drive(u may have one now
but it still may be beyond the 1024th cylinder), then make a windows
partition of the same size as the one u have now, then finally make a
regular Linux partition. This ensures that the kernel images are below
the 1024 cylinder limit and thus allows LILO to boot them.
------------------------------
From: Juergen Sauer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,comp.os.linux.help,comp.os.linux
Subject: Re: Cups Problems
Date: 29 Mar 2001 09:25:55 GMT
Nathan <[EMAIL PROTECTED]> schrieb
am Wed, 28 Mar 2001 22:59:26 GMT in comp.os.linux:
Moin,
> I am running Cups print server version 1.1.6 on my linux 2.4 box. Right
> now I am having problems printing from Netscape and StarOffice. If I try
> to print from either they just freeze. But if I kill the lp process they
> created Netscape or Staroffice will continue working. I don't have a
> clue what is wrong. To make things more complicated if I use lp on the
> command line to print a postscript or text file they will print fine.
> Printing directly to the lp0 port works fine too. Can anyone tell me
> whats wrong. Printing did work fine at one time. I am not sure what
> happened to cause this problem.
1) is cupsd up and running?
cups 1.1.6 has got little stability probs
in 2.4.x environments with networkl browsing etc... it may crash.
Check ps ax|grep cups
2) Which lp Process did you kill ? (paralell ?)
3) Check the logs in /var/log/cups in special error_log.
4) What does "lpstat -v" deliver ?
5) Does "lp /usr/share/ghostscript/5.50/examples/tiger.ps" print out the
Aladdin tiger ?
... just my 2 cents ...
mfG
Jojo
--
J�rgen Sauer - AutomatiX GmbH, +49-4209-4699, [EMAIL PROTECTED]
http://www.automatix.de to Mail me: remove: -not-for-spawm-
------------------------------
** 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 by posting to comp.os.linux.setup.
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-Setup Digest
******************************