Pages

Search

Modules in the Linux Kernel - Forums Linux

Modules in the Linux Kernel - Forums Linux


Modules in the Linux Kernel

Posted: 23 Nov 2004 03:07 AM PST

Luke Robertson wrote:
 

.... why?
 

the diff is whether the component is static
to the kernel or is a module. the static
option embeds the component in the kernel,
the other is a separate module that is loaded
on demand.
--
<< http://michaeljtobler.homelinux.com/ >>
"All snakes who wish to remain in Ireland will
please raise their right hands." - Saint Patrick

Debian & FD Limit

Posted: 22 Nov 2004 05:30 AM PST

Udo Wolter <de> wrote: 

There is a control for it, the same way there always has been for the
last thirty years. I don't know what you mean by "control software" -
it is a system call. The system call changes the limit on the max numer
of open files allowed for the process - presumably held in a table.
Since the table is already made for the present process, it can only
affect daughter processes.
 

I have no idea what you mean. You always have to do everything for
yourself - there is no magic. Nobody can read your mind and do the
things you want to do without you doing it. When you want to change
the file max limit you need to issue the setrlimit call. For your
convenience, bash provides an interface called "ulimit" for you.
 

I have no idea what you mean. It is the ONLY place for it.
 

There is no such thing as "every process". As you have aready PROVED
each process can set whatever limit it likes for its descendents. If
you want to set the limit in your login binary, then put it in your
login binary's configuration. If that is essentially the xinit
process, for you, then as I suggested, put the appropriate ulimit line
in GiveConsole.

If it is some other login procedure that you follow, then do it in its
config file. But it is hardly going to be a system wide thing since
every process can set whatever limit it likes for its descendents.
 

There is no father process in this sense, and if there were, it wouldn't
make any difference, since each process could set whatever value it
liked for its defendents. Your best bet is your login process.
 

Then do so. Write a config file that all processes look at before they
start up. What? Can't find one?

Well, for bash proceses, /etc/profile might be worth a try! Something
like:

if [ -n "set_rlim" ]; then
export set_rlim=1
ulimit -n 10240
exec $SHELL
fi

And see how you get on. Too bad for you that I use tcsh ... and that
my xterms (Eterms!) aren't login shells.

 

It's apparently nothing much to do with the kernel.
 

You would, and for the same reason. It only affects the current shell
(i.e. its daughters), not the parent shell, or any other process that
does not descend from it.
 

I've already told you - wherever you like, and I hope it hurts.
 

Never heard of such a thing.

Peter

php.ini at FC2

Posted: 22 Nov 2004 03:08 AM PST

["Followup-To:" header set to comp.lang.php.]
TESTER top-posted: 

Run this script:


<?php
ob_start();
phpinfo(1);
$data = ob_get_contents();
ob_end_clean();

$rx = '@<tr><td class="e">Configuration File[^<]+</td><td'
. 'class="v">([^<]+)</td></tr>@';
$cfg = preg_match($rx, $data, $matches);
if ($cfg) echo 'Configuration file is: ', $matches[1];
else echo 'No Configuration File!';

echo "\n";
?>


On my machine I do not have a /etc/php.ini
The script above outputs

Configuration file is: /etc/php4/apache/php.ini

--
Mail sent to my "From:" address is publicly readable at http://www.dodgeit.com/
== ** ## !! !! ## ** ==
TEXT-ONLY mail to the complete "Reply-To:" address ("My Name" <my@address>) may
bypass the spam filter. I will answer all pertinent mails from a valid address.

Dialup problems (random disconnect

Posted: 21 Nov 2004 07:21 PM PST

Moe Trin wrote: 
I have tried to find other Linux users, mostly system admin people, but
not many use it anymore. The last option was discovered by much
research, and I was desperate for some results. I've managed to up date
my ppp and added

lcp-echo-interval 30
lcp-echo-failure 2

as suggested by another helpfull source and it has seemed to extend the
life of my connection.

usepeerdns never did work, so I just entered DNS server addresses in
KPPP. Crude, but it works.

But I still get an error pppd died unexpectatly. I will follow your link
and have a look to see if I've missed anything, I looked at this
resource before on one of my first attempts in Mandrake. I'm in Fedora
Core 2 now so you never know what might be different. Oh yea and,
slmodemd is a demon for my SmartLink modem, which is, by some standards,
a Linmodem. As for modem manuals, I never did see anything helping Linux
users besides the bundled Linux driver. Thanks for the suggestions.
Hopefully my trials and tribulations may help someone else.

Dave

Pls help get my Dell M991 get a crisp image

Posted: 21 Nov 2004 01:11 PM PST

Andrew P. Billyard adjusted his/her tin foil beanie and asbestos
underwear to write:
 

Could also be down to the fact that you do not have the Nvidia modules
installed and therefore your options for res and refresh could be
restricted a bit and you might not be able to get to the settings that
mjt has suggested.

Have you tried the binary d/load from Nvidas site?

However I am not sure if they are installable on that kernel version.

Anyone care to correct me or point the OP to a better clue?

--
Mark
Illegitimi Non Carborundum!
Twixt hill and high water, N.Wales, UK
onfxvgpnvfr-ng-tzk-qbg-pb-hx

Shrink NTFS partition - relocate files at the beginning of partition?

Posted: 21 Nov 2004 12:02 PM PST

"nick" <com> wrote in message news:<cnqs7p$p8m$bu.edu>... 

Any QTParted, not on Knoppix, should make it. QTParted uses an
external utility, ntfsresize, and the one included on Knoppix is VERY
OLD and it can't relocate files. Use e.g. SystemRescueCD 0.2.15,
Mandrake 10.1, SUSE 9.2, Novell Linux Desktop 9, Debian Sarge RC2, IBM
EVMS 4.2.1 (with NTFS FSIM, ntfsprogs/ntfsresize installed) or
whatever else.

sound in slackware 10

Posted: 21 Nov 2004 08:29 AM PST

Andreas Janssen wrote: 

Whoo!

That did the trick! Genius!

Thank you very much for your help!

cc

Headless Fedora

Posted: 21 Nov 2004 06:55 AM PST

In article <6.19.6>, IANAL_VISTA wrote:
 

1. Look at your motherboard BIOS setup. The problem is that the PowerOn
Self Test will stop the boot if it can't detect a keyboard. Where you fix
this depends on the BIOS. On this Award BIOS, on the Standard CMOS Setup
menu, at the bottom is "Halt On:" with several choices. On an older AMI
BIOS, on the same screen, the item is 'Keyboard' with two choices. NOTE
THAT SOME BIOS CAN NOT BE SET THIS WAY.

2. See the Remote-Serial-Console-HOWTO.
 

Then look at your BIOS setup. Obviously a server need not be running X,
and that means no mouse is needed. Redirecting the console to the serial
port is a smart idea.

Old guy

Removing directories

Posted: 19 Nov 2004 02:41 PM PST

On 2004-11-20, John Bahran <com> wrote: 

It's upsetting because clearly you haven't read any of the
documentation to which you were referred the first two times you had
relatively easy questions. Pretty soon nobody will answer your
questions that are answered elsewhere, and you'll then be forced to
refer to that documentation that people asked you to read in the first
place. It's probably better to go read it now, so that when you have a
question not answered there, you can post it and people won't be ignoring
you.

(And I again apologize for duplicate posts, if there is one. My problem
is PEBKAC, and I hope to have it fixed soon.)

--keith

--
san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom

newbie question connecting to the internet

Posted: 19 Nov 2004 01:55 AM PST

On 19 Nov 2004 01:55:57 -0800, sparrow
<com> wrote: 
In some newer PCs they don't install the cable from the CD player to the
sound card.

--
"At a scheduled time, the robot would pull the flush lever and scream as
it got sucked down the drain." --Kibo

SUSE 9.2: SoftRAID infinte sync!

Posted: 18 Nov 2004 11:11 PM PST

Changing the filesystem from ReiserFS to ext2 solved my problem. Now all
partitions are synced perfectly.
Thanks to all!

--Harald


MS-7030 onboard Ethernet

Posted: 18 Nov 2004 11:07 PM PST

Lawrence D¹Oliveiro adjusted his/her tin foil beanie and asbestos
underwear to write:


 

Hi Lawrence,

Not sure on that, my nic on an Nforce 2 board has enable/disable ( no
"auto" ) however if I have it set to enable it un-greys ( could not
think of a better word :) an option to enter a MAC address, then it is
recognised, I just entered a suitable address that is not the same as
the others on my lan.

It might be that it will only activate if a "live" cable is plugged in.

Just done a quick search but cannot find anything related but maybe not
using the right criteria.

Not trying to fob you off but is there not an MSI group that you can
post to? there might be something else you need to do in the bios, and
I have not played with one of those boards yet so am sort of stumbling
in the dark here. Also you might try one of the other groups on linux
maybe alt.os.linux.hardware you could be the only person with Suse here
that has that board but on the other groups there will be some one even
if they have another distro.

If you do get it working though do post how so we can add it to the old
grey matter database.



--
Mark
Illegitimi Non Carborundum!
Twixt hill and high water, N.Wales, UK
onfxvgpnvfr-ng-tzk-qbg-pb-hx

Setting up remote dial up

Posted: 18 Nov 2004 03:26 PM PST

Thanks for your help! It worked when I logged in as common user.

"Nico Kadel-Garcia" <net> wrote in message
news:com...