Linux-Misc Digest #280, Volume #24 Wed, 26 Apr 00 14:13:21 EDT
Contents:
Re: Counting hard disks (Daniel Lucq)
Re: lilo without 1024 cyl. limit (Joerg Baumann)
Maximum number of partitions per disk drive. (Thaddeus L. Olczyk)
Re: Need help to run gcc for the first time. ("StuartL")
help with install ("Joe M.")
linuxconf problem (James Phillpotts)
Re: Oracle8i for Red Hat Linux (Garel)
Re: News server recommendation (Frank Slootweg)
Passing Value to Linux Script from CGI ("Ira Weiner")
Can't BOOT Redhat Linux 6.0 ("hellohello :)")
How can I keep my PPP from redialing after disconnect? (Andreas Eibach)
LILO and 1024-Cilinder limit (Cobra)
Re: LILO and 1024-Cilinder limit (Andrew Williams)
Re: Q: Best printer for linux box? ("Larry Ebbitt ")
How to read NTBackup on Linux ("Franck CALLEJA-ALBILLOS")
Re: Those distributions are stupid ("Patrick Kormann")
Re: help with install ([EMAIL PROTECTED])
Re: looking for 'simple' proxy for unix (Michel Bardiaux)
Re: linuxconf problem (Nguyen-Dai Quy)
Re: POS printer driver for linux wanted (Bob Hauck)
Re: Help: Linux Upgrade Questions (Leonard Evens)
Pages in Netscape (Steve)
RAID 1 (IDE+SCSI) (Stefan Cyris)
Re: Can the root users see any user's password ?? where ? (Leonard Evens)
Re: Adding memory option to lilo.conf (Leonard Evens)
Re: linux-outlook authorization (aravind)
Increase max open processes (John van der Steen)
Re: LILO and 1024-Cilinder limit (Leonard Evens)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Daniel Lucq)
Crossposted-To: alt.linux,alt.os.linux
Subject: Re: Counting hard disks
Date: 26 Apr 2000 10:15:58 GMT
Chris West ([EMAIL PROTECTED]) wrote:
: I need a way of counting the number of hard disks installed on a machine.
: I am currently attempting to open each of /dev/hd* and /dev/sd* in
: read/write mode and counting the number of successful opens but I believe
: this will also include CD writers.
: How can I just count the number of hard disks?
Use the /proc filesystem. /proc/ide contains information for all IDE
channels and attached devices. You will want to have a look at the files
called "media" (e.g. /proc/ide/ide0/hda/media). These will contain a
string like "disk" or "cdrom".
Also check /proc/scsi/scsi. This file contains information on all SCSI
devices, including the type (e.g. direct-access (normally HD), sequential
(normally tape), CD-ROM, ...).
One caveat however: if you are using something like ide-scsi, some devices
will show up twice (e.g. hda might be listed under /proc/ide/ide0, but it
might also figure in /proc/scsi/scsi).
Regards,
Daniel
------------------------------
From: Joerg Baumann <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.alpha,comp.periphs.scsi
Subject: Re: lilo without 1024 cyl. limit
Date: Wed, 26 Apr 2000 12:36:47 +0200
Martin Sinot wrote:
> Why is this thread in comp.os.linux.alpha? Alphas do not
> use LILO.
Sorry, it was a mistake and not intended to post on comp.os.linux.alpha
joerg
------------------------------
From: [EMAIL PROTECTED] (Thaddeus L. Olczyk)
Subject: Maximum number of partitions per disk drive.
Date: Wed, 26 Apr 2000 11:09:45 GMT
Reply-To: [EMAIL PROTECTED]
. Here is something I learned about linux that might save other people
time.
If you install Mandrake 7.02 on a drive with more then 12 partitions
plus one extended partition ( I don't know whether or not to count
it as a partition ), it will fail to mount that disk. If that is the
boot disk, it will fail to boot.
RedHat 6.2 will not install on a prepartitioned disk with 13
partitions plus one extended.
I guess the kernel has a fixed size for loading the partition table
and too many partitions causes the buffer to overflow.
------------------------------
From: "StuartL" <[EMAIL PROTECTED]>
Subject: Re: Need help to run gcc for the first time.
Date: 26 Apr 2000 11:13:01 GMT
Thanks, I've got it going now. The package in question was "glibc-devel". I
installed that and all went fine. There was no need to add any LIBPATH or
do any other configuring :)
------------------------------
From: "Joe M." <[EMAIL PROTECTED]>
Subject: help with install
Date: Tue, 25 Apr 2000 21:30:24 +1000
Reply-To: [EMAIL PROTECTED]
just recieved my 3 cd's of linux today (slackware, mandrake and suse)
and am trying slackware first. However ive come across a few problems
which have me stuck
1. lilo is screwed up, i have tried installing to supersomething,
floppy disk and master boot record (which screwed the whole computer
real
good and i only just fixed it) anyway what i get is 010101010101 forever
no matter how i install it. From now on im trying it on disk before i
write it to the mbr (lesson learned!) I'm using two hard drives and have
linux installed on the second how do i go about installing lilo (ive
tried everything!). Is my lilo currupt?? where have i screwed up. I had
no problem when i installed it on my other machine however that was only
one drive and from ftp not this cd.
ok and no 2. it won't find my cd rom, it is a matshita/panasonic
CW7502 cd writer with a tekram dc-310 scsi adapter is this supported?
well thats all for now but ive spent the last 2 hours trying to fix
my pc so i don't get 01010101010101 when i turn it on.
TIA Joe
------------------------------
From: James Phillpotts <[EMAIL PROTECTED]>
Subject: linuxconf problem
Date: Wed, 26 Apr 2000 11:17:57 GMT
in textmode linuxconf, how can i get the down arrows to bring up a list
of options?
James Phillpotts
------------------------------
From: Garel <[EMAIL PROTECTED]>
Subject: Re: Oracle8i for Red Hat Linux
Date: Wed, 26 Apr 2000 11:30:07 GMT
What the address of the site?
Ira Weiner wrote:
>
>
> Have a look at this site. It has pretty good instructions.
>
>
> Garel <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > How to install the Oracle8i for Red Hat Linux as I tried under x
windows
> > runinstaller but it won't work. What the problem?
> >
> > Please help
> >
> > --
> > Posted via CNET Help.com
> > http://www.help.com/
>
>
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Frank Slootweg <[EMAIL PROTECTED]>
Crossposted-To: news.software.nn,news.software.nntp
Subject: Re: News server recommendation
Date: 26 Apr 2000 11:29:15 GMT
In news.software.nntp bill davidsen <[EMAIL PROTECTED]> wrote:
>
> In article <3904a205$0$[EMAIL PROTECTED]>,
> David Jacobson <[EMAIL PROTECTED]> wrote:
>
> | I am looking for a news server product(s) (gnu, shareware, or commercial)
> | that has the following features:
[deleted]
> | 2. A web page interface to the same server for users that do not have NNTP
> | clients
>
> There are a few open source products out there which do this, I don't
> have the names handy but I could find them.
> ================> BUT
> I don't know of any web browser which doesn't support NNTP, so this is
> an odd requirement. Oh, wait, LYNX or some such is a text-only browser,
> got many people running VT100 terminals for browsing? Didn't think so.
Well, both Microsoft's Internet Explorer web browser and Netscape's
web browser do not "support NNTP" (I assume that with "support NNTP" you
mean "have a newsreader"), *in the browser itself*, i.e. the newsreaders
are seperate programs which may or may not be available/installed. Since
IE and Netscape's browser probably cover some 99+% of the users, I would
say "I don't know of any web browser which *does* support NNTP."! :-)
------------------------------
From: "Ira Weiner" <[EMAIL PROTECTED]>
Subject: Passing Value to Linux Script from CGI
Date: Wed, 26 Apr 2000 11:41:54 GMT
I am trying to get a perl script working that takes a UNIX (linux) man page
from stdin, and adds HTML to it to format it for a browser. I can run it
from the command line in linux, but I cannot call it from the browser. Other
CGI stuff I have works OK, so my setup is ok. The problem is I am not
passing the variable correctly from the CGI environment. I don't know how
to do that. This is thescript. The $1 variable is not recognized.
[/home/httpd/cgi-bin] $cat man.cgi
#!/bin/bash
/usr/bin/man $1 | ./man2html
This is my browser string
http://localhost/cgi-bin/man.cgi?topic=ls
------------------------------
From: "hellohello :)" <[EMAIL PROTECTED]>
Subject: Can't BOOT Redhat Linux 6.0
Date: Wed, 26 Apr 2000 19:41:12 +0800
Can't BOOT Redhat Linux 6.0
When I boot from the Linux boot disk, the process
stops after the following messages displayed:
VP_IDE : IDE controller on PCI bus 00 dev 39
VP_IDE : not 100% native mode : will probe irqs later
ide0 : BM-DMA at 0xc000-0xc007, BIOS settings :
ide1 : BM-DMA at 0xc008-0xc00f hda:DMA, hdb:pio
hdc:DMA, hdd:DMA
My sys config:
M/B : Tekram P6Pro-Au
Processor : Intel P!!! 500E
RAM : KingMax 128MB PC-133 x 2
AGP : Matrox G400 Max
Sound Card: Sound Blaster Live! Value
Pri Master: Seagate 13.6GB UDMA-66 HD
Sec Slave : None
Sec Master: Seagate 4GB HD
Sec Slave : HP 9100i CD-RW
Others : Buffalo NIC
Intel NIC
------------------------------
From: Andreas Eibach <[EMAIL PROTECTED]>
Subject: How can I keep my PPP from redialing after disconnect?
Date: Wed, 26 Apr 2000 13:44:55 +0200
Hi,
this is almost getting me MAD here.
If you're connected to the Net - great.
But if you want to disconnect again (by hand it's like doing a
/etc/ppp/ppp-down) this thing
keeps on redialing all the time unless I switch my modem off by the hardware
switch or pull the
mains plug out of the socket.
I know that it MUST have something to do with 'persist / nopersist' ;
reading the man pages did not have any effect so far, I tried to include the
'nopersist' line
in /etc/ppp/options but this resulted in nothing.
Can anybody help me?
thanks in advance
Andreas
------------------------------
From: Cobra <[EMAIL PROTECTED]>
Subject: LILO and 1024-Cilinder limit
Date: Wed, 26 Apr 2000 12:30:06 GMT
Can I get past this limit by installing LILO in the boot sector instead of
the MBR? And after that installing a boot manager which then executes LILO?
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Andrew Williams <[EMAIL PROTECTED]>
Subject: Re: LILO and 1024-Cilinder limit
Date: Wed, 26 Apr 2000 14:45:18 +0200
Reply-To: [EMAIL PROTECTED]
no
your System.map, vmlinuz and a couple of other files (normally found in /boot)
have to be below Cyl 1024.
SuSE put vmlinuz in /boot as well, this means you can have that as a separate
partition of about 4MB and everything else can be wherever you feel you want
it.
If you go that way, you will need to change the vmlinuz path in your
lilo.conf. You can also uncomment your 'INSTALLPATH' (I think) line in
/usr/src/linux/Makefile
This allows you to do a 'make zlilo' and it lands where you want it to.
Cobra wrote:
> Can I get past this limit by installing LILO in the boot sector instead of
> the MBR? And after that installing a boot manager which then executes LILO?
>
> --
> Posted via CNET Help.com
> http://www.help.com/
--
Mielipiteet omiani - Opinions personal, facts suspect, especially on my
http://home.germany.net/101-69082/samba.html
Simple Samba Solutions web page. ICQ 1722461
------------------------------
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,comp.periphs.printers
From: "Larry Ebbitt " <[EMAIL PROTECTED]>
Date: Wed, 26 Apr 2000 08:44:40 -0400 (EDT)
Reply-To: "Larry Ebbitt" <[EMAIL PROTECTED]>
Subject: Re: Q: Best printer for linux box?
On Tue, 25 Apr 2000 16:44:16 -0500, David Acklam wrote:
>LEXMARK 'OPTRA' SERIES IS THE ONLY GOOD LEXMARK PRINTER SERIES FOR LINUX
The E310 works quite well. Is that an Optra?
Larry - Atlanta - OS/2
------------------------------
From: "Franck CALLEJA-ALBILLOS" <[EMAIL PROTECTED]>
Subject: How to read NTBackup on Linux
Date: Wed, 26 Apr 2000 14:44:56 +0200
Does somebody know how to read a tape made with NTBACKUP on a Linux
machine (Sparc or Intel) ?
Thanks.
Franck.
------------------------------
From: "Patrick Kormann" <[EMAIL PROTECTED]>
Crossposted-To:
ch.comp.os.linux,alt.os.linux,comp.os.linux,comp.os.linux.development,de.comp.os.unix.linux.misc
Subject: Re: Those distributions are stupid
Date: Wed, 26 Apr 2000 15:03:42 +0200
Charlie <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Oh yes they should make it easier for developoers. Why is for example
> SAP only
> supporting Red Hat!! Because they are to lazy to support others. So why
> should anyone writing programms make himsely the troubles of supporting
> not only one but half a dozen of dirtributions.
No problem. If you own a brain, you'll be able to use that software even on
a 'not supported' distribution...
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: help with install
Date: Wed, 26 Apr 2000 12:59:56 GMT
The 10101010101 stuff is a clasic indication that you are trying to boot
off of a hard drive on the second controler and your boot drive is on
the primary, or you are having a 1024 limit problem. You might want to
try moving you partitions around and trying anew
jollyroger
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> just recieved my 3 cd's of linux today (slackware, mandrake and suse)
> and am trying slackware first. However ive come across a few problems
> which have me stuck
>
> 1. lilo is screwed up, i have tried installing to supersomething,
> floppy disk and master boot record (which screwed the whole computer
> real
> good and i only just fixed it) anyway what i get is 010101010101
forever
> no matter how i install it. From now on im trying it on disk before i
> write it to the mbr (lesson learned!) I'm using two hard drives and
have
> linux installed on the second how do i go about installing lilo (ive
> tried everything!). Is my lilo currupt?? where have i screwed up. I
had
> no problem when i installed it on my other machine however that was
only
> one drive and from ftp not this cd.
>
> ok and no 2. it won't find my cd rom, it is a matshita/panasonic
> CW7502 cd writer with a tekram dc-310 scsi adapter is this supported?
>
> well thats all for now but ive spent the last 2 hours trying to fix
> my pc so i don't get 01010101010101 when i turn it on.
>
> TIA Joe
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Michel Bardiaux <[EMAIL PROTECTED]>
Crossposted-To: comp.infosystems.www.misc
Subject: Re: looking for 'simple' proxy for unix
Date: Wed, 26 Apr 2000 13:14:32 GMT
Philip Brown wrote:
>
> I'm looking for a 'simple' proxy for unix.
> It should
> * NOT cache
> * Be highly reliable software
> (no need for dumb hacks like an auto-restarting loop)
> * Have minimal security like "only allow connections from 1.2.x.x"
> * Handle http, and SSL-tunneling proxies
> * Have an active, or at least interested, developer
> * Be free, and run under UNIX.
>
> IDEALLY, it should also handle browser-ftp proxying.
>
> The above criteria rule out squid, and the TIS "firewall toolkit".
>
I don't know about SQUID, but why is TIS FWTK ruled out?
--
Michel Bardiaux
------------------------------
From: Nguyen-Dai Quy <[EMAIL PROTECTED]>
Subject: Re: linuxconf problem
Date: Wed, 26 Apr 2000 15:05:46 -0400
Reply-To: [EMAIL PROTECTED]
James Phillpotts wrote:
>
> in textmode linuxconf, how can i get the down arrows to bring up a list
> of options?
Ctrl-X ! I think :-)
--
Nguy�n-�ai Qu�
LTAS-M�canique de la Rupture, ULG
Rue des Chevreuils, 1, B�t B52, Local 522
B-4000, Li�ge, BELGIQUE
T�l:+32-4-366.9098 Fax:+32-4-366.9311
http://w3.to/quy
------------------------------
From: [EMAIL PROTECTED] (Bob Hauck)
Subject: Re: POS printer driver for linux wanted
Reply-To: hauck[at]codem{dot}com
Date: Wed, 26 Apr 2000 13:15:52 GMT
On Tue, 25 Apr 2000 19:38:55 +0200, Martin Stuijfzand <[EMAIL PROTECTED]>
wrote:
>Hello, I'm looking for a linux printer driver for (a preferably cheap) Point
>Of Sale receipt printer.
A "printer driver" in Linux is a version of ghostscript that knows how to
talk to your printer. You print postscript, and gs translates to whatever
printer language. Or, if your printer understands plain text, you can
print text directly to it just like in the days of DOS.
I doubt that you will find a ghostscript driver for a receipt printer as
that is very much a non-mainstream device. However, I believe that most
of them can print plain text without help. And since you will be using it
from one particular app, you could just get the manual and send the escape
sequences to make it do bold, double width, etc.
For a specialized application like POS, that's probably the easiest thing.
--
-| Bob Hauck
-| Codem Systems, Inc.
-| http://www.codem.com/
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Help: Linux Upgrade Questions
Date: Wed, 26 Apr 2000 08:01:21 -0500
[EMAIL PROTECTED] wrote:
>
> Hi,
>
> My PC is already running Red Hat 5.2, now I am thinking of upgrading it
> to 6.1 or 6.2.
>
> My question is do I have to delete everything before installing a new OS
> ? or is there an upgrade option available ?
>
> Can I upgrade my Red Hat 5.2 to SuSe (ex) Linux ? If upgrade is
> available, will it recognize the Red Hat 5.2 ?
>
> Any help is greatly appreciated. Thanks.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
You can upgrade either to RH6.1 or 6.2. There is an upgrade option
and in my experience it works pretty well. I would definitely
recommend it over reinstalling from scratch. But the latter
is always an option if upgrading fails. In any case, you should
back up your user files first. I also usually make a tar
archive of the /etc directory since that contains almost all
the basic configuration files. I have done several
upgrades from 5.2 to 6.0 or 6.1 but not yet to 6.2, but
I doubt if there is any difference. I've done several
upgrades from 6.1 to 6.2.
Here are some potential problems.
If you have limited space in the partition(s) containing
your system files, the upgrade may have problems. A
typical RH6.1/2 system may need something like 760 MB and perhaps
more if you have a lot of packages. If you presently have
only about 1 GB available, I would suggest removing a lot
of packages before the upgrade and then installing them
again from the new CD after the upgrade.
Upgrading from 5.2 to 6.1 doesn't usually add the line
alias parport_lowlevel parport_pc
to /etc/conf.modules although that line is necessary because
of the new way parallel ports are handled. So you may
have to add it manually after the upgrade.
The RH6.1 installer has some bugs which in the case of an
upgrade may affect whether the machine is set up as a dual
boot machine or whether a boot floppy is made during the
upgrade. These bugs have been fixed in updates available
from RedHat Errata or a mirror site. There are also updates
for the RH6.2 installer, but in my experience these are
probably not necessary for a typical upgrade.
I doubt that you can upgrade a RedHat system to Suse, but
I don't really know.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Steve <[EMAIL PROTECTED]>
Subject: Pages in Netscape
Date: Wed, 26 Apr 2000 14:23:49 +0100
Using Netscape 4.72 I find that the pages do not load as they would
under Windoze. In Linux I get the little watch and then finally all the
page appears unless I press stop which hopefully halts the process
with most of the page. With Windows the page gradually appears and
I can at least start reading it. Is this my fault/Netscape under Linux/
or some setting somewhere...
--
Steve
------------------------------
From: Stefan Cyris <[EMAIL PROTECTED]>
Subject: RAID 1 (IDE+SCSI)
Date: Wed, 26 Apr 2000 14:49:04 +0200
hi
I want to use RAID 1 on my linux box. Currently I'm using a few smaller
UW-SCSI harddrives. I wonder if it's possible to use RAID 1 mixed with
SCSI and IDE devices ?
I know RAID1 has bad performance but for me it's more important not to
lose any data.
Thanx
Stefan
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Can the root users see any user's password ?? where ?
Date: Wed, 26 Apr 2000 08:11:45 -0500
Benson Lei wrote:
Root can't normally see a user's password. But root could
run a cracking program on /etc/shadow which is where passwords
are located if shadow passwords are enabled. Other users can't
read /etc/shadow. Root could also presumably install some
sort of sniffing or monitoring program to record user's keystrokes
and thereby learn passwords. The real root would not have
any motivation to do any of these things in normal circumstances.
But a cracker who had managed to gain root permissions might.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Adding memory option to lilo.conf
Date: Wed, 26 Apr 2000 08:07:22 -0500
jafgon wrote:
>
> Greetings group,
>
> I'm running 128MB of RAM yet according to free it shows only 64MB.
> Normally I would go into /etc/lilo.conf and add the option mem=128m
> only this will not take. I run the lilo command after I add it and it
> claims it as a syntactic error. I'm typing it verbatim from Matt
> Welsh's Running Linux but it won't take. The distro is RH6.1 w/ a
> 2.2.12 kernel. I shouldn't even be having this problem yet I am. Is
> there an alternative command or something I'm overlooking? Thanks in
> advance for the help.
>
> jafgon
>
I wish someone would explain why this appears to happen for some
systems. The 2.2.12 kernel should certainly recognize 128 MB.
Is it some special characteristic of the BIOS/
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: aravind <[EMAIL PROTECTED]>
Subject: Re: linux-outlook authorization
Date: Wed, 26 Apr 2000 13:30:05 GMT
Hi,
by default root's autorization through lan is disabled so to use
view mails for root you may have to do aliasing i.e add a aliase
which forwards all mail comming to root to some oter user i.d, and
access it through lan and in telnet login as a different user and then use
su to change to root.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: John van der Steen <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup,nl.comp.os.linux.overig
Subject: Increase max open processes
Date: Wed, 26 Apr 2000 15:39:07 +0200
==============EE2BF6FB4BDBCA42FFA57F16
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi,
I have the following problem on my redhat 6.0 installation with 192 Megs
of Ram :
I want to increase my userlimit for a not root user from 256 max open
processes to 1024 processes.
I have checked with ulimit -u that my current ulimit = 256
On the internet I found that I should compile it into the kernel so I
did the following :
I increased the value of NR_TASKS in
/usr/src/linux/include/linux/tasks.h from 512 to 2048 (for root this
value should be available ,for other users half of this value)
#define NR_TASKS 2048 /* On x86 Max 4092, or 4090 w/APM
configured. */
I also increased the values of
NR_OPEN and
OPEN_MAX
in /usr/src/linux/include/linux/limits.h from 1024 to 4096
#ifndef _LINUX_LIMITS_H
#define _LINUX_LIMITS_H
#define NR_OPEN 4096
#define NGROUPS_MAX 32 /* supplemental group IDs are available
*/
#define ARG_MAX 131072 /* # bytes of args + environ for exec()
*/
#define CHILD_MAX 999 /* no limit :-) */
#define OPEN_MAX 4096 /* # open files a process may have */
#define LINK_MAX 127 /* # links a file may have */
#define MAX_CANON 255 /* size of the canonical input queue */
#define MAX_INPUT 255 /* size of the type-ahead buffer */
#define NAME_MAX 255 /* # chars in a file name */
#define PATH_MAX 4095 /* # chars in a path name */
#define PIPE_BUF 4096 /* # bytes in atomic write to a pipe */
#define RTSIG_MAX 32
#endif
Do I need to set an option in the kernel to true so that these changes
will take effect or ..... is there another catch to it.
I can increase the ulinit for root but not for any user ???
The message I get is operation is not permitted.
I would appreciate any help,
Greetings,
John
==============EE2BF6FB4BDBCA42FFA57F16
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi,
<p>I have the following problem on my redhat 6.0 installation with 192
Megs of Ram :
<p>I want to increase my userlimit for a not root user from 256 max open
processes to 1024 processes.
<p>I have checked with ulimit -u that my current ulimit = 256
<p>On the internet I found that I should compile it into the kernel so
I did the following :
<p>I increased the value of NR_TASKS in /usr/src/linux/include/linux/tasks.h
from 512 to 2048 (for root this value should be available ,for other users
half of this value)
<p><font size=-1>#define NR_TASKS
2048 /* On x86 Max 4092, or 4090 w/APM configured. */</font>
<p>I also increased the values of
<p>NR_OPEN and
<br>OPEN_MAX
<br>in /usr/src/linux/include/linux/limits.h from 1024 to 4096
<p><font size=-1>#ifndef _LINUX_LIMITS_H</font>
<br><font size=-1>#define _LINUX_LIMITS_H</font><font size=-1></font>
<p><font color="#3366FF"><font size=-1>#define
NR_OPEN
4096</font></font><font size=-1></font>
<p><font size=-1>#define NGROUPS_MAX
32 /* supplemental group IDs are available */</font>
<br><font size=-1>#define ARG_MAX
131072
/* # bytes of args + environ for exec() */</font>
<br><font size=-1>#define CHILD_MAX
999 /* no limit :-) */</font>
<br><font color="#3366FF"><font size=-1>#define
OPEN_MAX
4096 /* # open files a process may have */</font></font>
<br><font size=-1>#define LINK_MAX
127 /* # links a file may have */</font>
<br><font size=-1>#define MAX_CANON
255 /* size of the canonical input queue */</font>
<br><font size=-1>#define MAX_INPUT
255 /* size of the type-ahead buffer */</font>
<br><font size=-1>#define NAME_MAX
255 /* # chars in a file name */</font>
<br><font size=-1>#define PATH_MAX
4095 /* # chars in a path name */</font>
<br><font size=-1>#define PIPE_BUF
4096 /* # bytes in atomic write to a pipe */</font><font
size=-1></font>
<p><font size=-1>#define RTSIG_MAX
32</font><font size=-1></font>
<p><font size=-1>#endif</font>
<p>Do I need to set an option in the kernel to true so that these changes
will take effect or ..... is there another catch to it.
<p>I can increase the ulinit for root but not for any user ???
<br>The message I get is operation is not permitted.
<p>I would appreciate any help,
<p>Greetings,
<p>John</html>
==============EE2BF6FB4BDBCA42FFA57F16==
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: LILO and 1024-Cilinder limit
Date: Wed, 26 Apr 2000 08:30:24 -0500
Cobra wrote:
>
> Can I get past this limit by installing LILO in the boot sector instead of
> the MBR? And after that installing a boot manager which then executes LILO?
>
> --
> Posted via CNET Help.com
> http://www.help.com/
The source of the problem with the 1024 cylinder limit is that
current versions of lilo assume the BIOS can only access cylinders
below that limit. So it is not a question of where the lilo
boot loader is placed but where the actual kernel and associated
files are. They should be in a partition entirely below cylinder
1024. This could be a relatively small /boot partition.
But recent BIOS's are in fact capable of accessing cylinders
beyond that limit. Sometimes if you add the linear option
to /etc/lilo.conf, that will allow it to work to boot from
the hard disk. Finally, the latest version of lilo has apparently
removed that limit provided the BIOS is capable of it. It is
not yet available as part of any standard release as far as I
know, but one could install Linux to boot from a floppy and
then get the latest lilo and then run it.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
** 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
******************************