I'm designing a block device driver for a high performance disk
subsystem with unusual characteristics. To what extent is the
limited number of struct requests (128 by default) necessary for
back-pressure? With this I/O subsystem it would be possible for the
strategy function to rip the requests
On Thursday, April 26, 2001, at 07:03 AM, [EMAIL PROTECTED] wrote:
he owns the computer, he may do anything he wants.
This sentence really stood out for me, and implies a profound lack of
understanding of multi-user machines. No offense intended.
I've been a Unix admin for over ten years,
I'm running 2.4.2ac23 (can't run 2.4.3, messes up my quota system)
glibc 2.1.3, intel providence PR440FX mobo, intel etherexpress 100B
onboard, RAM is 128MBx3.
Started getting the following errors:
VM: bad swap entry 2000
Unused swap offset entry in swap_dup 2000
memory.c:84: bad pmd
At 09:03 PM 4/26/01 +0700, you wrote:
right now it's the kernel who thinks that root
is special, and applications work around that because there's a
division of super-user and plain user. is that a must?
Short answer: Yes.
Long answer: The division is artificial, but is absolutely necessary
On Thursday, April 26, 2001, at 07:03 AM, [EMAIL PROTECTED] wrote:
he owns the computer, he may do anything he wants.
snip
Any OS worth its weight in silicon will make a distinction between
blessed and unblessed users. It can be phrased in different ways --
root vs. non-root, admin
From: Martin Dalecki [EMAIL PROTECTED]
The attached patch is fixing georgeous backward compatibility
in the mount system command. It is removing two useless defines in
the kernel headers and finally doubles the number of possible
flags for the mount command.
Please
2.4.4pre6 breaks build on gcc 2.95.2/gnu ld 2.9.5 for x86 with undefined
__builtin_expect reference when linking for bzImage. Details have been
discussed dome days ago for some 2.4.3-ac version.
--
Matthias Andree
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the
I have 5 IP modules (Industry Pak I/O) that plug onto an IP carrier. The
carrier has a bridge that gets found via vendor ID/device ID, but the *sub*
devices don't show up as distinct pci devices. I'm using the *new*
approach, i.e., defining a pci_device_id struct that has been initialized
with
gcc 2.95.2, gnu ld 2.9.5, x86 fails build:
make[3]: Entering directory `/usr/src/linux-2.4.3-ac14/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.3-ac14/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i586-c -o
Hi,
SHORT:
the current 2.2.19 fs/nfs/dir.c ll. 455ff. nfs_dir_lseek breaks
fdopen(3) which (at least with glibc 2.1.3) cals __llseek with offset==0
and whence==1 (SEEK_CUR), probably to poll the current file position.
Application software affected comprises cvs (tried 1.10.7) and Perl5
On Thu, Apr 26, 2001 at 08:00:12PM +0200, Szabolcs Szakacsits wrote:
On Thu, 26 Apr 2001, Jeff V. Merkey wrote:
The request should fail after two or three attempts rather than hang
the entire system waiting for memory.
Jeff
I am seeing this as well on 2.4.3 with both _get_free_pages()
== Matthias Andree [EMAIL PROTECTED] writes:
Hi, SHORT:
the current 2.2.19 fs/nfs/dir.c ll. 455ff. nfs_dir_lseek breaks
fdopen(3) which (at least with glibc 2.1.3) cals __llseek with
offset==0 and whence==1 (SEEK_CUR), probably to poll the
current file position.
I have a piece of code that is trying to use sendmsg() on a raw socket to inject
a UDP packet onto an ethernet link. The destination IP address is set to
another machine on the same subnet, and the packet arrives at its destination.
Thus far all is well.
However, inspection of the ethernet
On Thu, 26 Apr 2001, Mike Galbraith wrote:
No. It livelocked on me with almost all active pages exausted.
Misspoke.. I didn't try the two mixed. Rik's patch livelocked me.
Interesting. The semantics of my patch are practically the same as
those of the stock kernel ... can you get
Marek P
tlicki [EMAIL PROTECTED] wrote:
The directory /proc/sys/fs/binfmt_misc/ exists, but nothing in it.
Try this:
mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
In the recent -ac versions, binfmt_misc must be mounted separately. I have the
following in my /etc/rc.d/rc.local so
I am seeing this as well on 2.4.3 with both _get_free_pages() and
kmalloc(). In the kmalloc case, the modules hang waiting
for memory.
Jeff
On Wed, Apr 25, 2001 at 09:09:57PM -0400, Feng Xian wrote:
Hi,
I am running linux-2.4.3 on a Dell dual PIII machine with 128M memory.
After the
Hi
Yesterday I installed 2.2.19 one of out alpha servers and I found that it
still has the same bug that we patched 2.2.14 to get rid of. In the 2.4 line
it seems to be fixed.
The bug has the affect that a unprev. user cannot increase the stack limit
even if he/she is allowed to.
This mailing
Andrea Arcangeli [EMAIL PROTECTED] wrote:
It seems more similar to my code btw (you finally killed the useless
chmxchg ;).
CMPXCHG ought to make things better by avoiding the XADD(+1)/XADD(-1) loop,
however, I tried various combinations and XADD beats CMPXCHG significantly.
Here's a quote
[Not subscribed to list, please CC - thanks.]
Hi all,
The need for Large File Support drove us to upgrade a dual CPU server to
RedHat 7.1 (kernel 2.4.2-2smp) to get a distribution with kernel 2.4. While
working with 2-4GB files on the system, we found some odd behaviour. The
server is equipped
As atetd multiple times now...
There never has been censorship.
On Thu, Apr 19, 2001 at 02:44:40PM -0700, Chip Salzenberg wrote:
Rik van Riel writes:
[...] Andreas' patches got dropped over and over again and comments
on the LVM code got refused by the moderators at Sistina ...
If there's
On Wed, Apr 25, 2001 at 10:27:42AM -0700, Andrew Grover wrote:
From: Jeff Garzik [mailto:[EMAIL PROTECTED]]
Stephen Torri wrote:
I noticed that the big update patch for ACPI was a part of
2.4.3-ac11 (Can
remember). Now its not a part of 2.4.3-ac12. Has it been
removed? I have
I am getting *somewhat* annoyed with subscribers whose domains
have backup servers not willing to receive email for them.
On average each day we get dozens to hundreds of bounces of this
routing-trouble type pointing to 2-3 domains each time.
Do use the MX verifier server at page:
BTW, a quick question, can I use ACPI instead of APM now on my SMP
2xPIII ASUS P3D to do some basic power saving stuff, and even a proper
shutdown ???
What version is OK ???
Regards,
Mircea C.
Jens Taprogge wrote:
On Wed, Apr 25, 2001 at
Hi all!
While burning a cdrom, xcdroast 0.98alpha8 hanged up. After killing it,
the cdwriter doesn't respond to any commands and the tray door doesn't
open anymore.
The cdwriter isn't mounted (df output and cat /proc/mounts).
output from eject -v /dev/scd1:
eject: device name is `/dev/scd1'
On Wed, Apr 25, 2001 at 10:44:37PM +0100, Vivek Dasmohapatra wrote:
Hi: Been battling w. my new Gravis joystick [kernel 2.4.3-ac5] - the
driver wouldn't recognise it through the gameport, but would through the
USB port [the stick came with a converter]. I did have one problem though:
I had
On Thu, 26 Apr 2001, Mike Galbraith wrote:
More of a question. Neither Ingo's nor your patch makes any
difference on my UP box (128mb PIII/500) doing make -j30. [...]
(the patch Marcelo sent is the -B3 patch plus Linus' suggested async
interface cleanup, so it should be functionally
Hellor George,
As others have suggested, you can do what you are asking for using LTT
(http://www.opersys.com/LTT).
Specifically, you may want to use the event allocation capabilities.
This will enable you to add your own events and view these as part
of the trace.
By the way, there are
On Thu, 26 Apr 2001, Marcelo Tosatti wrote:
(I can get it to under 9 with MUCH extremely ugly tinkering. I've done
this enough to know that I _should_ be able to do 8 1/2 minutes ~easily)
Which kind of changes you're doing to get better performance on this test?
:)
2.4.4.pre7.virgin
On Thu, 26 Apr 2001, Ingo Molnar wrote:
On Thu, 26 Apr 2001, Mike Galbraith wrote:
More of a question. Neither Ingo's nor your patch makes any
difference on my UP box (128mb PIII/500) doing make -j30. [...]
(the patch Marcelo sent is the -B3 patch plus Linus' suggested async
interface
The attached patch is fixing georgeous backward compatibility
in the mount system command. It is removing two useless defines in
the kernel headers and finally doubles the number of possible
flags for the mount command.
Please apply.
If there are any line count difference warnings when applying
On Thu, 26 Apr 2001, Jeff V. Merkey wrote:
I am seeing this as well on 2.4.3 with both _get_free_pages() and
kmalloc(). In the kmalloc case, the modules hang waiting
for memory.
Would adding __builtin_return_address(0) to the warning help locate?
-Mike
-
To unsubscribe from this
Hello!
The following patch is making the get_empty_super() function
just local to the place where it's only use is and where it's only
use should be: fs/super.c
The removal of this symbol from ksyms.c should:
1. Help making the module interface cleaner by a tinny margin :-).
2. shouldn't hurt
On Thu, 26 Apr 2001, Mike Galbraith wrote:
On Thu, 26 Apr 2001, Marcelo Tosatti wrote:
(I can get it to under 9 with MUCH extremely ugly tinkering. I've done
this enough to know that I _should_ be able to do 8 1/2 minutes ~easily)
Which kind of changes you're doing to get better
On Wed, 25 Apr 2001, Andrew B. Cramer wrote:
Greetings All,
Hey Andy - haven't heard from you since work on a replacement linuxHQ (ahh
- those were the days, lot's of free time :) )
After upgrading from kernel 2.0.38 w/ slackware-3.4 to
kernel 2.2.16 w/ slackware-7.1 I have developed
On Thu, 26 Apr 2001, Mike Galbraith wrote:
2.4.4.pre7.virgin
real11m33.589s
2.4.4.pre7.sillyness
real9m30.336s
very interesting. Looks like there are still reserves in the VM, for heavy
workloads. (and swapping is all about heavy workloads.)
it would be interesting to see why
Hi!
Hi!
I had a temporary disk failure (played with acpi too much). What
happened was that disk was not able to do anything for five minutes
or so. When disk recovered, linux happily overwrote all inodes it
could not read while disk was down with zeros - massive disk
Début du message transféré :
Date: Wed, 25 Apr 2001 16:45:48 +0200
From: sébastien person [EMAIL PROTECTED]
To: Helge Hafting [EMAIL PROTECTED]
Subject: Re: Fw: where can I find the IP address ?
Le Wed, 25 Apr 2001 15:17:59 +0200
Helge Hafting [EMAIL PROTECTED] à écrit :
sébastien person
Hi,
is this a bug or am I missing something? I'm
not at all a kernel hacker.
1. Remounting write-protected floppy
2. It is possible to remount a write-protected,
read-only mounted floppy disk as read-writeable,
and write and remove files on it. The result
is weird, depends on what
On Thu, 26 Apr 2001, Ingo Molnar wrote:
On Thu, 26 Apr 2001, Mike Galbraith wrote:
2.4.4.pre7.virgin
real11m33.589s
2.4.4.pre7.sillyness
real9m30.336s
very interesting. Looks like there are still reserves in the VM, for heavy
workloads. (and swapping is all about heavy
On Wednesday, April 25, 2001 10:01:20 PM +0200 Pavel Machek [EMAIL PROTECTED]
wrote:
Hi!
Hi!
I had a temporary disk failure (played with acpi too much). What
happened was that disk was not able to do anything for five minutes
or so. When disk recovered, linux happily
On Thu, 26 Apr 2001, Marcelo Tosatti wrote:
Have you tried to tune SWAP_SHIFT and the priority used inside swap_out()
to see if you can make pte deactivation less aggressive ?
Many many many times.. no dice.
(more agressive is much better for surge regulation.. power brakes!)
-Mike
[EMAIL PROTECTED] wrote:
so when everybody suggested playing with login, getty, etc.
i know you have got the wrong idea. if i wanted to play
on user space, i'd rather use capset() to set all users
capability to all cap. that's the perfect equivalent.
The linux kernel ought to be flexible,
On Thu, Apr 26, 2001 at 10:58:46AM +0200, Martin Dalecki wrote:
1. Help making the module interface cleaner by a tinny margin :-).
You only help changing the API during a stable[1] series. Wait until 2.5
for this.
API cannot change during stable series. (ABI can, BTW)
So lets just forget
Ingo Oeser wrote:
On Thu, Apr 26, 2001 at 10:58:46AM +0200, Martin Dalecki wrote:
1. Help making the module interface cleaner by a tinny margin :-).
You only help changing the API during a stable[1] series. Wait until 2.5
for this.
API cannot change during stable series. (ABI can,
On 25 Apr 2001 00:39:43 +0200, Trond Myklebust [EMAIL PROTECTED] wrote:
== apark [EMAIL PROTECTED] writes:
Hi, Recently upgraded to 2.2.19, along with new
nfs-utils(0.3.1). But I have a program that requires a
exclusive write lock on a NFSed directory. When I was using
On Thu, 26 Apr 2001, Mike Galbraith wrote:
limit the runtime of refill_inactive_scan(). This is similar to Rik's
reclaim-limit+aging-tuning patch to linux-mm yesterday. could you try
Rik's patch with your patch except this jiffies hack, does it still
achieve the same improvement?
No.
Hello,
Markus Schaber wrote:
[some Test results]
So what's the further way to go?
We found out that the kernel isapnp fails, while the isapnptools (with
check entry removed and the driver as a module) and a non-pnp
environment (where the BIOS initialzies it, and either a modularized and
a
Thomas J. Baker wrote:
There is an NFS bug described here
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=30944
that seems to have been known about for a while that is not fixed in
2.4.3. Is there something wrong with the patch that is discussed?
It works fine for me.
Note,
Herbert Valerio Riedel wrote:
On Tue, 24 Apr 2001, Jari Ruusu wrote:
Have you tested that code with partitions or files that are larger than
4 gigs? On systems where int is 32 bits, that computation overflows.
you're right, I actually had it right in the first place, but stupidly
rewrote
Hi,
I try to generate a big file with a kernel 2.4.2, and I can do it, but when I
do ls -l, rm file, o something else with the file, I receive
# ls -l
ls: filename: Value too large for defined data type
I reboot with my old kernel, 2.2.18, and I can ls the file, renove it, etc...
I can see
On Thu, 26 Apr 2001, Mike Galbraith wrote:
(i cannot see how this chunk affects the VM, AFAICS this too makes the
zapping of the cache less agressive.)
(more folks get snagged on write.. they can't eat cache so fast)
What about GFP_BUFFER allocations ? :)
I suspect the jiffies hack is
On Thu, 26 Apr 2001, Helge Hafting wrote:
The linux kernel ought to be flexible, so most people can use
it as-is. It can be used as-is for your purpose, and
it have been shown that this offer more security _without_
inconvenience. Your patch however removes multi-user security
for the
On Thu, 26 Apr 2001, Ingo Oeser wrote:
On Thu, Apr 26, 2001 at 10:58:46AM +0200, Martin Dalecki wrote:
1. Help making the module interface cleaner by a tinny margin :-).
You only help changing the API during a stable[1] series. Wait until 2.5
for this.
API cannot change during stable
The attached patch, against 2.4.4-pre7, cleans up the huge pci_board
list in serial.c to remove PCI id information. In the process, it (a)
demonstrates more complex new-style PCI probing, and (b) fixes a logical
disconnect bug which was causing bug reports. The bug caused by me,
when I added
On Thu, 26 Apr 2001, Marcelo Tosatti wrote:
On Thu, 26 Apr 2001, Mike Galbraith wrote:
(i cannot see how this chunk affects the VM, AFAICS this too makes the
zapping of the cache less agressive.)
(more folks get snagged on write.. they can't eat cache so fast)
What about GFP_BUFFER
On Wed, 25 Apr 2001, John Cavan wrote:
Several distributions (Red Hat and Mandrake certainly) offer auto-login
tools. In conjunction with those tools, take the approach that Apple
used with OS X and setup sudo for administrative tasks on the machine.
This allows the end user to generally
On Wed, 25 Apr 2001, Marcelo Tosatti wrote:
On Wed, 25 Apr 2001, Feng Xian wrote:
Hi,
I am running linux-2.4.3 on a Dell dual PIII machine with 128M memory.
After the machine runs a while, dmesg shows,
__alloc_pages: 4-order allocation failed.
__alloc_pages: 3-order allocation
Thanks for the suggestion. but where to get pre-2.4.4 kernel? when I
looked into the kernel traffic mail list, peoples are talking about 2.4.4,
but i checked kernel.org, the lastest one i found is 2.4.3
regards,
Alex
On Wed, 25 Apr 2001, Mark Hahn wrote:
I am running linux-2.4.3 on a Dell
On Thu, Apr 26, 2001 at 07:11:24PM +0700, [EMAIL PROTECTED] wrote:
On Wed, 25 Apr 2001, John Cavan wrote:
Several distributions (Red Hat and Mandrake certainly) offer auto-login
tools. In conjunction with those tools, take the approach that Apple
used with OS X and setup sudo for
On Thu, Apr 26, 2001 at 08:09:06AM -0400, Feng Xian wrote:
It looks like the X consumes most of the memory (almost used up all the
physical memory, more than 100M), it uses NVidia driver. I was also
running pppoe but that took less memory.
You're probably using the NVidia provided driver
[EMAIL PROTECTED] wrote:
i'd be happy to accept proof that multi-user is a solution for
clueless user, not because it's proven on servers. but because it is
a solution by definition.
Clueless user deletes files critical to running the system. '!@#$% Why
can't I boot. Oh my gosh!! Linux
hello!
On Thu, 26 Apr 2001, Jari Ruusu wrote:
Herbert Valerio Riedel wrote:
On Tue, 24 Apr 2001, Jari Ruusu wrote:
it should have been more or less:
unsigned long IV = loop_get_iv(lo,
page-index * (PAGE_CACHE_SIZE LO_IV_SECTOR_BITS)
+ (offset - lo-lo_offset)
taking place as a clueless user, i think i should be able to do anything.
Yeah, I thought so when I started using Linux. I stopped thinking so,
when I accidentally blew up the FS on my datadrive and lost
nearly _everything_ I had written for 2 years...
i'd be happy to accept proof that
H.P.Anvin wrote:
glibc already contains such a wrapper; it is called __clone(). At
least my system has man clone show the man page for it.
Actually, the man page is wrong, it's called clone() unless you define
a function with that name yourself (weak symbol.) My version of the
man
On Thu, 26 Apr 2001, Mike Galbraith wrote:
2.4.4.pre7.virgin
real11m33.589s
user7m57.790s
sys 0m38.730s
2.4.4.pre7.sillyness
real9m30.336s
user7m55.270s
sys 0m38.510s
Well, I actually like parts of this. The always swap out current mm one
looks rather
Yes I am running nvidia module. i tried nv, X use less memory but nv
doesn't give me the NV_GLX extension, xlock will crash for some 3d mode.
Alex
On Thu, 26 Apr 2001, Andi Kleen wrote:
On Thu, Apr 26, 2001 at 08:09:06AM -0400, Feng Xian wrote:
It looks like the X consumes most of the
The problem is I didn't see those error message on 2.4.2 or 2.4.0, only on
2.4.3. That's the reason I posted the question here. Maybe I will try
2.4.4
Thanks all for you guys!
Alex
On Thu, 26 Apr 2001, Feng Xian wrote:
Yes I am running nvidia module. i tried nv, X use less memory but nv
On 2001.04.26 13:31:54 +0200 [EMAIL PROTECTED] wrote:
On Thu, 26 Apr 2001, Helge Hafting wrote:
The linux kernel ought to be flexible, so most people can use
it as-is. It can be used as-is for your purpose, and
it have been shown that this offer more security _without_
inconvenience.
On Thu, Apr 26, 2001 at 09:50:15AM -0400, Feng Xian wrote:
Yes I am running nvidia module. i tried nv, X use less memory but nv
doesn't give me the NV_GLX extension, xlock will crash for some 3d mode.
In this case you should report any kernel problems you see to NVidia
first, except if you
On Thu, 26 Apr 2001, Mike Galbraith wrote:
1. pagecache is becoming swapcache and must be aged before anything is
done. Meanwhile we're calling refill_inactive_scan() so fast that noone
has a chance to touch a page. Age becomes a simple counter.. I think.
When you hit a big surge, swap
On Thu, 26 Apr 2001, [iso-8859-1] Rasmus Bøg Hansen wrote:
i'd be happy to accept proof that multi-user is a solution for
clueless user, not because it's proven on servers. but because it is
a solution by definition.
Let's turn the question the other way. It's you trying to convince
us,
On Thu, 26 Apr 2001, Mike Galbraith wrote:
On Thu, 26 Apr 2001, Mike Galbraith wrote:
limit the runtime of refill_inactive_scan(). This is similar to Rik's
reclaim-limit+aging-tuning patch to linux-mm yesterday. could you try
Rik's patch with your patch except this jiffies hack, does
On Thu, Apr 26 2001, Malcolm Beattie wrote:
I'm designing a block device driver for a high performance disk
subsystem with unusual characteristics. To what extent is the
limited number of struct requests (128 by default) necessary for
back-pressure? With this I/O subsystem it would be
I know it's not proper ask such question here. But I don't know where can I
post this question.
I download RedHat 7.1 last week, and install it in my dual-CPU enviroment.
I try to rebuild kernel that support SMP in kernel 2.4.2 today , but it
failed.
The following is what I did.
Hi
Had the same problem -- even up to 2.4.3. Ed Tomlinsons Patch sorted it out .
It seems that the dentries were not being cleared properly... hope this
helps..
The explanation probably doesn't :-).. (see last weeks list archives)
---
On Thu, 26 Apr 2001, Yiping Chen wrote:
My question is why the result of 'uname -r' is not 2.4.2-2smp , but
2.4.2-2
This is just the label as defined by the entries in the top-level
Makefile, eg:
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 3
EXTRAVERSION = -ac5
Whether I forgot to do something?
Malcolm Beattie wrote:
I'm designing a block device driver for a high performance disk
subsystem with unusual characteristics. To what extent is the
limited number of struct requests (128 by default) necessary for
back-pressure? With this I/O subsystem it would be possible for the
strategy
I finished porting all the kernel data structures to embedded postgresql.
Instead of doing 'cat /proc/cpuinfo', you now can do
'echo select * from cpuinfo,cpuinfo_flags where
cpuinfo.processor=cpuinfo_flags.processor /proc/sql'.
No more worries about silly /proc format issues. Patch coming
So, I have two question now,
1. how to determine whether your kernel support SMP?
Somebody taugh me that you can type uname -r, but it seems not
correct.
2. I remember in 2.2.x, when I rebuild the kernel which support SMP, the
compile
argument will include -D__SMP__ , but this time,
On Thu, 26 Apr 2001, Mike Galbraith wrote:
On Thu, 26 Apr 2001, Rik van Riel wrote:
On Thu, 26 Apr 2001, Mike Galbraith wrote:
1. pagecache is becoming swapcache and must be aged before anything is
done. Meanwhile we're calling refill_inactive_scan() so fast that noone
has a
Le Thu, 26 Apr 2001 17:22:03 GMT+1
Eric PENNAMEN [EMAIL PROTECTED] à écrit :
Je ne suis pas un expert Linux et je ne pourrais peut etre pas
t'aider mais je le probleme n'es-t pas tres clair :
Est il de recuperer l'adresse IP du poste (transfert de donne entre le script
et le driver au
On Thu, Apr 26, 2001 at 12:38:02AM -0500, Bob McElrath wrote:
When I posted this bug originally, you came right out and said it was
probably the rwsemaphores. I really have no idea how the rwsemaphores
You were talking about the ps table hang when I told you about the rwsem
races. I had the
Ext2 does getblk+wait_on_buffer for new metadata blocks before
filling them with zeroes. While that is enough for single-processor,
on SMP we have the following race:
getblk gives us unlocked, non-uptodate bh
wait_on_buffer() does nothing
read from
On Thu, 26 Apr 2001, Yiping Chen wrote:
So, I have two question now,
1. how to determine whether your kernel support SMP?
Somebody taugh me that you can type uname -r, but it seems not
correct.
Try:
cat /proc/stat
or
cat /proc/cpuinfo
/proc/cpuinfo should contain 1
processor
I'm running redhat 7.1 (seawolf) with kernel 2.4.3 (I also have 2.4.2).
I'm writing my first linux device driver, and I have been reading Linux
Device Drivers (ORA, Rubini) and a pre-release copy of the next edition.
The next edition I have is missing the chapter on PCI.
I call ioremap to
On Thu, 26 Apr 2001, [ISO-8859-1] sébastien person wrote:
Le Thu, 26 Apr 2001 17:22:03 GMT+1
Eric PENNAMEN [EMAIL PROTECTED] à écrit :
Je ne suis pas un expert Linux et je ne pourrais peut etre pas
t'aider mais je le probleme n'es-t pas tres clair :
Est il de recuperer l'adresse IP du
On Thu, 26 Apr 2001, Yiping Chen wrote:
So, I have two question now,
1. how to determine whether your kernel support SMP?
Somebody taugh me that you can type uname -r, but it seems not
correct.
No, it's correct: the Red Hat RPM is build from the kernel.spec file which
adds the smp
Andrea Arcangeli [[EMAIL PROTECTED]] wrote:
On Thu, Apr 26, 2001 at 12:38:02AM -0500, Bob McElrath wrote:
When I posted this bug originally, you came right out and said it was
probably the rwsemaphores. I really have no idea how the rwsemaphores
You were talking about the ps table hang
Vivek Dasmohapatra [EMAIL PROTECTED] writes:
/proc/stat will contain n cpuN lines, where n is the number of processors
in your box, I think, or no such lines [just a cpu line] on a UP box.
No, I see
cpu 830711 916 708342 3323709
cpu0 830711 916 708342 3323709
and
# CONFIG_SMP is not set
Thanks for your reply.
I am interested in where can find the linux kernel spec. file, and where Red
Hat add the smp string?
Where the uname command extract the kernel version information(eg:
2.4.2-2smp or 2.2.16)?
I means from which file, or use which system call?
I am a linux driver writer, and
I see this as the kind of function that should be implemented within the
semaphore interface itself. Very simple - Just wake me up when either 1) I
get the semaphore, or 2) I timed out.
A single implementation saves everyone from attempting to implement this
over and over and over.
Bob
On Fri, 27 Apr 2001, Yiping Chen wrote:
Where the uname command extract the kernel version information(eg:
2.4.2-2smp or 2.2.16)?
uname [the shell command] is a wrapper around the uname system call:
man 1 uname
man 2 uname
I means from which file, or use which system call?
From a strace
Hi Guys,
2.4.3 (UP kernel UP machine, http://home.sch.bme.hu/~cell/.config)
oopses when I start lots of pppd eth0 simultaneously.
(I guess the problem is not pppoe specific, but I do not know exactly)
The last pppd sighs: PPP: couldn't register device (-17)
This is 2 oops not just 1...
:51
On Thu, Apr 26, 2001 at 11:45:47AM -0400, Alexander Viro wrote:
Ext2 does getblk+wait_on_buffer for new metadata blocks before
filling them with zeroes. While that is enough for single-processor,
on SMP we have the following race:
getblk gives us unlocked, non-uptodate bh
On Thu, 26 Apr 2001, Andrea Arcangeli wrote:
correct. I bet other fs are affected as well btw.
If only... block_read() vs. block_write() has the same race. I'm going
through the list of all wait_on_buffer() users right now.
-
To unsubscribe from this list: send the line unsubscribe
Hi,
I'm working on an embedded system here which has no harddisk.
So, I can't swap to disk and need to have /var /tmp in RAM.
I'm confused between the various options for in RAM file-
systems. At the moment I've created a ramdisk and made an
ext2 partition in it (which is compressed as I
On Thu, 26 Apr 2001, Adam J. Richter wrote:
I have not tried it, but I would think that setting HZ to 1024
should make a big improvement in responsiveness.
Currently, the time slice allocated to a standard Linux
process is 5*HZ, or 50ms when HZ is 100. That means that you
will
Herbert Valerio Riedel wrote:
do you have any objections about...
unsigned long IV = loop_get_iv(lo,
page-index * (PAGE_CACHE_SIZE LO_IV_SECTOR_BITS)
+ (offset LO_IV_SECTOR_BITS)
- (lo-lo_offset LO_IV_SECTOR_BITS));
...then? ;-)
Looks fine.
Have you ever observed the
On Thu, Apr 26, 2001 at 11:45:47AM -0400, Alexander Viro wrote:
Ext2 does getblk+wait_on_buffer for new metadata blocks before
filling them with zeroes. While that is enough for single-processor,
on SMP we have the following race:
getblk gives us unlocked, non-uptodate bh
Can anybody tell me, How can I create dynamic threads at Kernel level??
If u have any sample code in which Semaphore, threads, events are
implemented, Pls send.
Waiting for ur response.
Thanx Regards
Rajeev Nigam
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the
201 - 300 of 373 matches
Mail list logo