Linux-Development-Sys Digest #561, Volume #6 Thu, 1 Apr 99 17:14:18 EST
Contents:
Re: Idea: Make a seperate "i686" tree for Redhat Linux 6.0 (Bill Anderson)
Re: problems removing linux from my Hard Disk (Magus)
Help me with my CGI-prog (Tero Niemi)
Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC. ("Sascha
Bohnenkamp")
Re: help me please!!! (root)
Re: 4 Gb memory? (Robert Krawitz)
Re: crypt() help ("G. Sumner Hayes")
Re: EGCS and Stack? (Erwin S. Andreasen)
Re: COM/CORBA equivalent (Adam P. Jenkins)
Re: lex/flex grief (Erwin S. Andreasen)
Re: 4 Gb memory? (Stefan Monnier)
Re: Outlook? ("John Burton")
Re: kernel 2.2.3 does'nt boot on FIC VA503+ Board (Ingo Rohloff)
Re: help me please!!! (Igor Zlatkovic)
----------------------------------------------------------------------------
From: Bill Anderson <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.misc,linux.redhat.misc,alt.linux,alt.os.linux,comp.os.linux.hardware
Subject: Re: Idea: Make a seperate "i686" tree for Redhat Linux 6.0
Date: Wed, 31 Mar 1999 18:23:24 +0000
Enkidu wrote:
>
> Johan Kullstam wrote:
> >
> > Enkidu <[EMAIL PROTECTED]> writes:
> >
> > > Bloatware. I suppose you'd go for it if someone were to meet you
> > > at the door of the supermarket, sent you round to the exit, and
> > > insisted that you take a trolley, packed the way that *they*
> > > decide is best.
> >
> > no one makes you install these things.
> >
> No indeed, but lots of people do. Lots of people also install
> Microsoft products too.
>
> All RedHat does is pull together a consistent set of stuff so that
> people don't have to do it themselves. That's good. But to suggest
> that they actually add value apart from that is rubbish.
The developers at RH *do* produce code. They *do* do more than just
collect Linux apps into one.
Various things they do have been pointed out here in this thread. Among
them are sysadmin apps, and the install process, as well as RPM itsself.
To ignore these facts, and claim they donothing other than collect
stuff, is to appear foolish.
>
> > there is a pristine source in the source rpm along with
> > redhat's patches which are distinct diff files. you can still
> > apply your own patches. you can remove the redhat patches.
> >
> Indeed you can, unless you are prepared to take the risk of losing
> some feature in the process! You could, of course, look at the
> diffs, look at your patch (which you may have got elsewhere), and
> try to figure out what will fit and what you want and what will
> really happen. Great fun, I'm sure.
Why look at diffs? Just look at the patches. If you are the sort of
person who is comfortable with kernel compiling, you damn well better be
able to look at patches. The patches are applied in the process of
building the rpm. The sources are pristine. You want to know what
differences their patches make? DL the soource rpm and look at the
patches themselves. Want some, but not others? Remove the ones you don't
want and build the rpm, or apply only the ones you do want and compile
the kernel on your own. Before making remarks like this, it would help
if you actually looked at the process and source before posting
misinformation.
> > yes there are. no one makes you use redhat. if you do not
> > care for redhat, do not use it. redhat does have actual
> > problems. i challenge you to find them and not just make up
> > random lies.
> >
> I'm sorry that I am nor a follower of the One True Red Hat
> religion. I challenge you to point out where I lied. For what it
> is worth, I've not had any problem with my copy of Redhat. It's
> pretty neat so long as you don't mind being led by the nose.
>
> Cliff
Wile I am not the one who posted that you lied, I will say that you are
posting information which is innacurate.
To have lied would mean you did so intentionally. RH does not have to
lead you around by the nose. If you are willing to learn system
administration, or already know it, you can use the redhat tools for a
great many things. I admin a few dozen Linux boxes, and have converted
them to either RH or added rpm to them simply because it makes my life
that much easier. As with anything, once you begin to look at it in
depth, you realize there is a lot more there.
--
Bill Anderson Linux Administrator
MCS-Boise (ARC) [EMAIL PROTECTED]
My opinions are just that; _my_ opinions.
------------------------------
From: [EMAIL PROTECTED] (Magus)
Subject: Re: problems removing linux from my Hard Disk
Date: Wed, 31 Mar 1999 13:24:15 GMT
In article <[EMAIL PROTECTED]>,
David Bryan <[EMAIL PROTECTED]> wrote:
>But now I want to remove all traces of linux.
>
>I remove all partions fine, but I can not get rid of the boot manager it
>install
>
>Does any one know how I can remove it??
Well...you had two options:
1. run lilo with with -u switch (this restores the boot sector
information to its pre-lilo state.
but since you killed the linux partitions this option is out and you are
left with...
2. boot from an MS-DOS floppy disk with the FDISK.EXE program on it and
after booting to MS-DOS run FDISK with the /MBR flag. This will
recreate a normal MS-DOS boot record
The above advice assumes that you want to boot to either MS-DOS or Win
95 or 98. Windows NT handles things slightly differently.
Cheers
Magus
--
John Schmid Internet: [EMAIL PROTECTED] Finger for PGP key
"Truth is what remains when all illusions have been stripped away."
Suenteus Po
------------------------------
From: Tero Niemi <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.programming
Subject: Help me with my CGI-prog
Date: Wed, 31 Mar 1999 16:30:09 +0300
I've made a little CGI-program that is ran from .shtml. It outputs
only one line, but the problem is with that it's really made for:
It keeps track of visitor and show times and such and makes a
log. However according to my logfile it records only about half of the
visitors our counter does. Could the problem be with the file system
i'm using (fopen "a" and fprintf) if there's many hundreds of
users online at the same time? Please help someone.
Oh, I'm programming with C.
--
- Dark Vader -
Master of darkness
------------------------------
From: "Sascha Bohnenkamp" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.help,comp.unix.programmer
Subject: Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC.
Date: Wed, 31 Mar 1999 16:06:12 +0200
>Does anyone (but me) use Pico?
once -- never again, gone back to vi and joe
------------------------------
From: root <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: help me please!!!
Date: Thu, 01 Apr 1999 19:33:59 GMT
Xarj wrote:
> I had win98 installed before and i decided to install rehat 5.2..... The
> installation went fine, everything was perfect but as a newbie i was
> fiddling with the linux config and i guess i changed something important
> cause after that i wasn't able to load windows 98 NORMALY! When i type
> windows98 in lilo it says the following :
>
> loading Windows
> Warning: Logical Drives past Z exist and will be ignored
>
> and then my computer crashes....
> The only way i was able to load windows was pressing the F8 key just after i
> typed windows98 in lilo so i get this menu and load windows using the
> "confirm each thing" mode...... i found out that if i refuse to load
> DBLBUFF.SYS i could load windows....... So i was able to load windows and
> write this letter to all you nice people!
>
> When I'm in Windows and go into the explorer i see 26 drives A-Z........ A
> to F is normal and the rest is the same drive as the C one... WHAT THE
> HELL??????
>
> PLEASE HELP ME!!!!!! how can i fix that prob? THANK YOU SOOOOOO MUCH!
>
> One last thing! I tried to setup my Sound card in Linux without success.....
> I use the Guillemot Home Studio Pro 64, a sound card for pros and
> musicians..... Works great in windows 98!!!!!!!!!
>
> Thanks for the help!!!!
>
> Could you reply to my email please!!?? [EMAIL PROTECTED]
>
> Anybody knows if a new version of RedHat is coming out soon?????
>
> THANKS!!!!
>
> Xarj
Hi,
When Lilo comes you have to type "dos" and not windows98, tell me more about
yor partitions, looks like there is a problems with the hard drive partition
Mario
------------------------------
From: Robert Krawitz <[EMAIL PROTECTED]>
Subject: Re: 4 Gb memory?
Date: 01 Apr 1999 11:12:00 -0500
[EMAIL PROTECTED] (Peter Samuelson) writes:
> [Derek <[EMAIL PROTECTED]>]
> > If there is already demand for 4gigs of RAM time is really running
> > short for 32-bit architecture ;)
>
> That's what Linus says: if you really need more than 2G of RAM, you
> really need more than a 32-bit processor. Alphas are not *that*
> expensive anymore, and are well supported by Linux.
It's my understanding that Alphas are currently limited to 1 or 2 GB
of RAM under Linux, though.
--
Robert Krawitz <[EMAIL PROTECTED]> http://www.tiac.net/users/rlk/
Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail [EMAIL PROTECTED]
"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
------------------------------
From: "G. Sumner Hayes" <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.programmer,comp.os.linux.development.apps
Subject: Re: crypt() help
Date: Thu, 01 Apr 1999 15:02:28 -0500
Dan Mercer wrote:
>
> Here's how I create salts:
[SNIP]
> /* seed the random number generator from uid,pid,ppid and current
> time) */
> srand(((unsigned int) time()) % (
> (unsigned int) (getuid() + getpid() + getppid())));
>
> salt = getsalt(rand()%4096);
Don't forget about /dev/random and /dev/urandom if you need strong
random numbers. Probably not an issue if you're using crypt(), but...
-Sumner
------------------------------
From: [EMAIL PROTECTED] (Erwin S. Andreasen)
Subject: Re: EGCS and Stack?
Date: 31 Mar 1999 15:04:12 GMT
Reply-To: [EMAIL PROTECTED]
On 31 Mar 1999 13:35:31 GMT, Andreas Jusek <[EMAIL PROTECTED]> wrote:
>We have a problem with EGCS-1.1.2 and the size of the stack in a C++-program.
>Does anyone know, how egcs g++ handle the stacksize? Is it possible to
>manipulate the size of the stack - especially to increse it?
The stack size is usually unrelated to the type of compiler - why do you
think there is a problem with the stack in your program?
You can set the stack size by using ulimit (try ulimit -a, then ulimit -s [1])
but on my machine the size is 8 megabytes already - do you really have need
for a stack greater than that?
The memory is not really used until it's actually touched however, so it's
not 8 megabyte that every program uses. The stack just grows downwards,
expanding as necessary until it hits the limit set by ulimit -s.
[1] or limit in *csh
--
==============================================================================
Erwin Andreasen Herlev, Denmark <[EMAIL PROTECTED]> UNIX System Programmer
<URL:http://www.andreasen.org> <*> (not speaking for) DDE
==============================================================================
------------------------------
Subject: Re: COM/CORBA equivalent
From: [EMAIL PROTECTED] (Adam P. Jenkins)
Date: 01 Apr 1999 11:27:40 -0500
Le physicien nocturne <[EMAIL PROTECTED]> writes:
> Sunil R. Karkera wrote:
>
> > Hi!
> > I'm new to Linux. I'm a Windows API developer in VC++. I recently installed
> > Red Hat Linux 5.2. I would like to start developing a freeware Help-desk
> > system, for use by any organization, from commercial to voluntary.
> > I would like to know if Linux has something like COM/CORBA infrastructure
> > euivalent. I want to wake the program componentized.
> > Please suggest me some good freeware C++ development tools, GUI tools for
> > Linux, that supports COM/DCOM like framework.
> >
> > Thanks in advance,
> >
> > Sunil
> > [EMAIL PROTECTED]
>
> These sites should give you a good start:
> http://linas.org/linux/corba.html
>
> DCOM/ActiveX for linux
> http://www.softwareag.com/corporat/solutions/entirex/entirex.htm
Please note though that there is no point in using COM/DCOM in a
linux app except possibly to communicate with an existing Windows DCOM
server. For all other purposes, use CORBA.
--
Adam P. Jenkins
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Erwin S. Andreasen)
Subject: Re: lex/flex grief
Date: 31 Mar 1999 16:04:13 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 31 Mar 1999 15:27:51 +0200, Tony Scholes <[EMAIL PROTECTED]> wrote:
>I'm starting to port a whole heap of UNIX C code to RH 5.2 at the mo'
>and amongst other things, lex code is giving me grief. I know that
>'flex' is the tool that actually converts the lex code to C, and it
>works absoluetly fine (no errors, warnings, nowt), but the C code
>produced causes 'gcc' to emit many dozens of errors such as :
>
> bitregexp.l: In function `yylex':
> bitregexp.l:179: parameter name omitted
> bitregexp.l:139: too few arguments to function `yywrap'
Run the preprocessor on the C code, i.e.:
gcc -E file.c | less
and look at what's around that line 179 - compare it to what it looks like
before you run the preprocessor on it.
Perhaps you have something like
void some_fun (some_type x) {
}
but "some_type" is #defined to be nothing.
>This lex code is extremely portable (been ported to at least a dozen
>different UNIX platforms including SunOS over the last 15 years), this
>is the only platform we've had trouble on...
Have you used "flex" elsewhere though? There are some differences between
lex and flex (whcih are described in e.g. the O'Reilly lex&yacc book -
perhaps 'info flex' mentions it too).
In the worst case you could just use lex/yacc on the other platform and
take the generated code from there and compile it on Linux. Or 'rsh' over
to another machine to run lex/yacc :)
Now it's time for Easter vacation :)
--
==============================================================================
Erwin Andreasen Herlev, Denmark <[EMAIL PROTECTED]> UNIX System Programmer
<URL:http://www.andreasen.org> <*> (not speaking for) DDE
==============================================================================
------------------------------
From: Stefan Monnier
<[EMAIL PROTECTED]>
Subject: Re: 4 Gb memory?
Date: 01 Apr 1999 11:57:56 -0500
>>>>> "Robert" == Robert Krawitz <[EMAIL PROTECTED]> writes:
> This is only necessarily the case if you want all of RAM to be mapped
> into virtual address space at all times.
In other words, it's only the case if you want to use WinNT or Linux
and probably a couple others (don't know about *BSD, ...).
> If one can live without that, there's no reason for this to be true.
Indeed, if pigs can fly...
Stefan
------------------------------
From: "John Burton" <[EMAIL PROTECTED]>
Subject: Re: Outlook?
Date: Thu, 1 Apr 1999 18:02:51 +0100
Igor Zlatkovic wrote in message <[EMAIL PROTECTED]>...
>John Burton wrote:
>
>> Thanks for the reply. I'll take a look tomrrow when I get back to work
>> but I fear that it might be microsoft mail.
>
>Pity. Really pity.
Yes it is MS mail...
>
>> I think we have some sort of separate software which acts as a gateway
>> to the internet for messages.
>
>On MS Mail, you certainly do have something separate for handling internet
mail.
>Now, there is a way to translate your complete mailbox contents to
something that
>runs under Linux. How hard it is, depends on the mail client you choose
under Linux.
>But this is not what you need. I don�t know how you could read your mail
from within
>Linux using MS Mail actively. Without programming, there is no chance.
>
>Programming... well there are two possibilities that smell like a good
solution:
>
>The easier one is to program a NT service that acts as a POP3 server and
runs atop
>of the MS Mail on the server. With this, you can read your mail with
anything that
>can connect to a POP3 server. There is a chance that you find a sample
program that
>does exactly this somewhere in MSDN. It is however questionable if your
admin will
>allow you to run something like that on the server.
Ok, I might be able to do this. I think I might be able to pursade our admin
to let me do this.
I'll have to read the manuals on how to get at the windows mail. Can I just
use mapi to do
this?
>The harder possibility is to write something like fetchmail for Linux. That
would be
>a program that connects to your NT server, reads mail there via MS Mail and
delivers
>it through local SMTP to the sendmail daemon that runs on your Linux box.
I'd need to know how to connect to the NT server wouldn't I?
>
>Hmmmmm..... there is a third possibility. Convince your admin to install
and use an
>Exchange Server. It can serve POP3 clients well and it is not a big pain to
migrate
>an MS Mail system to Exchange.
I don't think that's going to happen. The current mail system works well
enough for
everyone except me and I think exchange is quite expensive isn't it?
Thanks for the help.
This has got a bit off topic. Is there a more relevent newsgroup for this
sort of thing?
------------------------------
From: Ingo Rohloff <[EMAIL PROTECTED]>
Subject: Re: kernel 2.2.3 does'nt boot on FIC VA503+ Board
Date: Thu, 1 Apr 1999 00:47:15 GMT
Dietmar Hahn <[EMAIL PROTECTED]> wrote:
> Hi,
> I can't get running the kernel 2.2.3 (with 2.2.2 the same) on my FIC VA503+
> board. The following messages are printed at the console:
> ..
> VP_IDE: not 100% native mode: will probe irqs later
> ide0: BM-DMA at ...
> ide1: BM-DMA at ...
> hda: ST32532A, ATA disk drive
> hdc: Connor peripherals ...
> hdd: TOSHIBA CD-ROM ...
> ide0 at 0x1f0-0x1f7,03f6 on irq 14
> ide1 at 0x170-0x177,0376 on irq 15
> Partition check:
> request_module[ide-disk]: Root fs not mounted
Pff :-) Old error... You got a kernel where the IDE Driver is compiled
as a module (kernel part which is loaded during run time).
So what you got is a hen and egg problem: To load the IDE Driver you
need the IDE Driver already in Memory.
Solution: Get (compile) a kernel which has the IDE Driver included
(not build as module).
I can't tell from your mail if you use a distribution. If you
do, it might be possible that you use a SCSI Kernel, which
supports SCSI (without modules) but not IDE. In that case
use an IDE kernel.
so long
Ingo
------------------------------
From: Igor Zlatkovic <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: help me please!!!
Date: Thu, 01 Apr 1999 21:55:47 +0000
Pure evil, isn�t it?
Do you have SCSI or IDE disk(s)? How many drives? Where did you install Linux,
and where does Win reside, what drives/partitions? Give us a copy of your
/etc/lilo.conf and possibly a copy of your master boot record. A partition list
shown by linux fdisk and Windows fdisk would help also.
Once upon a time, there was a bug in Windows 95 filesystem driver that yould
cause exactly the same problem under certain circumstances. I thought MS has
resolved that "issue" allready, but who knows?
Ciao
Igor
------------------------------
** 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.development.system) 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-Development-System Digest
******************************