Re: [PATCH] rw_semaphores, optimisations try #4

2001-04-26 Thread David Howells
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

Kernel 2.4 diskcache pushes applications into swap?

2001-04-26 Thread Troels Walsted Hansen
[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 w

Re: Your message to linux-lvm awaits moderator approval

2001-04-26 Thread Heinz J. Mauelshagen
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 the

Re: Recent ACPI patch

2001-04-26 Thread Jens Taprogge
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 > >

ADMIN: Reminder to VERIFY your email routing functionality!

2001-04-26 Thread Matti Aarnio
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: http://vger

Re: Recent ACPI patch

2001-04-26 Thread Mircea Ciocan
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 10:

sr1: CDROM (ioctl) reports ILLEGAL REQUEST.

2001-04-26 Thread Richard Ems
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' eje

Re: drivers/usb/hid.c

2001-04-26 Thread Vojtech Pavlik
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

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Ingo Molnar
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 equiva

2.4.3-ac14 deadlocks on PDC20265 w/o noautotune

2001-04-26 Thread Jussi Laako
Hello, 2.4.3-ac14 still deadlocks with PDC20265 (on ASUS A7V133) when using without noautotune. System starts up, but lockups in few minutes with HDD led burning. System is RedHat 7.1, but gcc-2.95.3 is used to compile the kernel. dmesg and config attached. Best regards, - Jussi Laako P.S. J

Re: Event tools, do they exist

2001-04-26 Thread Karim Yaghmour
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 mailin

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Mike Galbraith
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.virgi

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Mike Galbraith
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 >

PATCH for 2.4.3 - tinny mount code cleanup (kernel 0.97 compatibility)

2001-04-26 Thread Martin Dalecki
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 applyin

Re: __alloc_pages: 4-order allocation failed

2001-04-26 Thread Mike Galbraith
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

PATCH: 2.4.3 tinny module interface cleanum

2001-04-26 Thread Martin Dalecki
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

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Marcelo Tosatti
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

Re: routing & ipchains

2001-04-26 Thread james rich
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 develope

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Ingo Molnar
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

Re: [patch] linux likes to kill bad inodes

2001-04-26 Thread Pavel Machek
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 -

Where to put initialization related stuff???

2001-04-26 Thread Deepika Kakrania
Hi, I want to initialise some global variables in kernel as soon as kernel comes up. Could anyone tell me where can this be done? Is it correct to put such initialisations in init() function of file /init/main.c thanks & regards, Deepika

Fw: Re: Fw: where can I find the IP address ?

2001-04-26 Thread sébastien person
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 pe

PROBLEM: Remounting write-protected floppy

2001-04-26 Thread Christian Knoke
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 you'

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Mike Galbraith
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 abo

Re: [patch] linux likes to kill bad inodes

2001-04-26 Thread Jan Kara
> > > 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

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Mike Galbraith
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

Re: [PATCH] Single user linux

2001-04-26 Thread Helge Hafting
[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 flex

Re: PATCH: 2.4.3 tinny module interface cleanum

2001-04-26 Thread Ingo Oeser
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 abou

Re: PATCH: 2.4.3 tinny module interface cleanum

2001-04-26 Thread Martin Dalecki
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

Re: 2.2.19 and file lock on NFS?

2001-04-26 Thread Ion Badulescu
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.

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Mike Galbraith
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?

The further way? (was: Re: AHA-154X/1535 not recognized any more)

2001-04-26 Thread Markus Schaber
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 com

Re: NFS Bug in 2.4.3?

2001-04-26 Thread Mogens Kjaer
"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. Not

Re: Announce: cryptoapi-2.4.3 [aka international crypto (non-)patch]

2001-04-26 Thread Jari Ruusu
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 > rew

file size > 2gb

2001-04-26 Thread Eduardo Cortés
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 that

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Marcelo Tosatti
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 hac

Re: [PATCH] Single user linux

2001-04-26 Thread imel96
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 th

Re: PATCH: 2.4.3 tinny module interface cleanum

2001-04-26 Thread Hugh Dickins
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 st

PATCH 2.4.4.7: serial PCI fixes and cleanup

2001-04-26 Thread Jeff Garzik
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 hot

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Mike Galbraith
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 abo

Re: [PATCH] Single user linux

2001-04-26 Thread imel96
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 general

Re: __alloc_pages: 4-order allocation failed

2001-04-26 Thread Feng Xian
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-

Re: __alloc_pages: 4-order allocation failed

2001-04-26 Thread Feng Xian
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

Re: [PATCH] Single user linux

2001-04-26 Thread David Weinehall
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"

Re: __alloc_pages: 4-order allocation failed

2001-04-26 Thread Andi Kleen
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 mo

Re: [PATCH] Single user linux

2001-04-26 Thread Mohammad A. Haque
[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 suck

Re: Announce: cryptoapi-2.4.3 [aka international crypto (non-)patch]

2001-04-26 Thread Herbert Valerio Riedel
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) >>

Re: [PATCH] Single user linux

2001-04-26 Thread Rasmus Bøg Hansen
> 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 multi

Re: [PATCH] Single user linux

2001-04-26 Thread Mohammad A. Haque
David Weinehall wrote: > So do us all a favour, send this patch to Linus. I'd give you a 1/10 chance > of getting a reply at all, and a 1/100 that the answer won't > be along the terms of "No way in hell, never!" (possibly worded a bit > different.) If you don't get any response in say

Re: a fork-like C-wrapper for clone(), DONE!

2001-04-26 Thread Francesc Oller
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

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Linus Torvalds
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 rat

RE: Recent ACPI patch

2001-04-26 Thread Stephen Torri
No. I tried with everything in ACPI selected in the general setup config. Broke. Tried it with only ACPI enabled and no options selected. Broke. ac12 and on don't have it. I will try it against and report where it broke. Stephen On Wed, 25 Apr 2001, Grover, Andrew wrote: > Doh! > > OK, I'm on

Re: __alloc_pages: 4-order allocation failed

2001-04-26 Thread Feng Xian
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 me

Re: __alloc_pages: 4-order allocation failed

2001-04-26 Thread Feng Xian
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 >

Re: [PATCH] Single user linux

2001-04-26 Thread Ronald Bultje
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_ > > inconven

Re: __alloc_pages: 4-order allocation failed

2001-04-26 Thread Andi Kleen
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

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Rik van Riel
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

Re: [PATCH] Single user linux

2001-04-26 Thread imel96
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 convin

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Rik van Riel
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 h

Re: Block device strategy and requests

2001-04-26 Thread Jens Axboe
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 request"s (128 by default) necessary for > back-pressure? With this I/O subsystem it would be po

About rebuild 2.4.x kernel to support SMP.

2001-04-26 Thread Yiping Chen
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. =

Re: Kernel 2.4 diskcache pushes applications into swap?

2001-04-26 Thread Marcin Kowalski
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) --- ./linux/f

Re: About rebuild 2.4.x kernel to support SMP.

2001-04-26 Thread Vivek Dasmohapatra
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 somet

Re: Block device strategy and requests

2001-04-26 Thread Jeremy Jackson
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 request"s (128 by default) necessary for > back-pressure? With this I/O subsystem it would be possible for the > str

rewrote datastructures using pgsql (was Re: /proc format (was DeviceRegistry (DevReg) Patch 0.2.0))

2001-04-26 Thread Robert Dale
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 comi

RE: About rebuild 2.4.x kernel to support SMP.

2001-04-26 Thread Yiping Chen
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, wh

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-26 Thread Mike Galbraith
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 >

Re: Fw: Re: Fw: where can I find the IP address ?

2001-04-26 Thread sébastien person
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

Re: it isn't aa's rwsem-generic-6 bug but something else [Re: aa's rwsem-generic-6 bug? Process stuck in 'R' state.]

2001-04-26 Thread Andrea Arcangeli
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

[PATCH] SMP race in ext2 - metadata corruption.

2001-04-26 Thread Alexander Viro
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

RE: About rebuild 2.4.x kernel to support SMP.

2001-04-26 Thread Vivek Dasmohapatra
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 process

questions about virtual/physical addresses, remap_page_range, and ioremap

2001-04-26 Thread Friedrich Steven E CONT CNIN
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 create

Re: Fw: Re: Fw: where can I find the IP address ?

2001-04-26 Thread Richard B. Johnson
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'adr

RE: About rebuild 2.4.x kernel to support SMP.

2001-04-26 Thread kernel
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 sm

Re: it isn't aa's rwsem-generic-6 bug but something else [Re: aa's rwsem-generic-6 bug? Process stuck in 'R' state.]

2001-04-26 Thread Bob McElrath
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

Re: About rebuild 2.4.x kernel to support SMP.

2001-04-26 Thread Alan Shutko
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

RE: About rebuild 2.4.x kernel to support SMP.

2001-04-26 Thread Yiping Chen
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

RE: down_timeout

2001-04-26 Thread Moore, Robert
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

RE: About rebuild 2.4.x kernel to support SMP.

2001-04-26 Thread Vivek Dasmohapatra
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 stra

Re: __alloc_pages: 4-order allocation failed

2001-04-26 Thread Szabolcs Szakacsits
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. One possible source of this hang is due to the change below in 2.4.3, non GPF_ATOMIC and non-recursive allocat

Inquiry: RE: [BUG] threaded processes get stuck in rt_sigsuspend/fillonedir/exit_notify thread.

2001-04-26 Thread Jesse Noller
Afternoon All- Basically, I am sending out a pseudo 'help' and bug check. I found this thread ([BUG] threaded processes get stuck in rt_sigsuspend/fillonedir/exit_notify) from 9/11/2000. I helping write some software, and I think I have ran into a bug similiar to this, first, a quick de

2.4.3 oopses at lots of ppp sessions

2001-04-26 Thread Marcell GAL
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 lim

Re: [PATCH] Single user linux

2001-04-26 Thread John Cavan
On Thu, 26 Apr 2001 [EMAIL PROTECTED] wrote: > you're right, we could do it in more than one way. like copying > with mcopy without mounting a fat disk. the question is where to put it. > why we do it is an important thing. > taking place as a clueless user, i think i should be able to do anythin

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-26 Thread Andrea Arcangeli
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 > wait_o

Re: #define HZ 1024 -- negative effects?

2001-04-26 Thread Adam J. Richter
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 notice keystrokes being echoed slowly in X whe

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-26 Thread Alexander Viro
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 linux-k

ramdisk/tmpfs/ramfs/memfs ?

2001-04-26 Thread Padraig Brady
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 appli

Re: #define HZ 1024 -- negative effects?

2001-04-26 Thread Rik van Riel
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 >

Re: Announce: cryptoapi-2.4.3 [aka international crypto (non-)patch]

2001-04-26 Thread Jari Ruusu
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

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-26 Thread Linus Torvalds
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 > wai

Dyanmics Thread at Kernel Level

2001-04-26 Thread Rajeev Nigam
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 th

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-26 Thread Chris Mason
On Thursday, April 26, 2001 02:24:26 PM -0400 Alexander Viro <[EMAIL PROTECTED]> wrote: > > > 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

ReiserFS question

2001-04-26 Thread Samium Gromoff
Hi People... got a following "dead of alive" question: how to find a root block on a ReiserFS partition with a corrupted superblock? reiserfsprogs-3.x.0.9j simply writes -2^32 there at start (reset_super_block) and then simply crashes when attempting to access to such mad

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-26 Thread Alexander Viro
On Thu, 26 Apr 2001, Linus Torvalds wrote: > I see the race, but I don't see how you can actually trigger it. > > Exactly _who_ does the "read from device" part? Somebody doing a > "fsck" while the filesystem is mounted read-write and actively written > to? Yeah, you'd get disk corruption tha

RE: Dyanmics Thread at Kernel Level

2001-04-26 Thread Davide Libenzi
On 26-Apr-2001 Rajeev Nigam wrote: > 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. http://www.linux-mag.com/depts/gear.html - Davide - To

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-26 Thread Alexander Viro
On Thu, 26 Apr 2001, I wrote: > On Thu, 26 Apr 2001, Linus Torvalds wrote: > > > I see the race, but I don't see how you can actually trigger it. > > > > Exactly _who_ does the "read from device" part? Somebody doing a > > "fsck" while the filesystem is mounted read-write and actively writte

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-26 Thread Andrea Arcangeli
On Thu, Apr 26, 2001 at 11:49:14AM -0700, Linus Torvalds wrote: > > 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 hav

[PATCH] R/W disk statistics

2001-04-26 Thread Andrzej Krzysztofowicz
>From kufel!ankry Thu Apr 26 21:20:09 2001 Return-Path: Received: from kufel.UUCP (uucp@localhost) by green.mif.pg.gda.pl (8.9.3/8.9.3) with UUCP id VAA15655 for green.mif.pg.gda.pl!ankry; Thu, 26 Apr 2001 21:20:09 +0200 Received: (from ankry@localhost) by kufel.dom (8.9.

Re: ReiserFS question

2001-04-26 Thread Chris Mason
On Thursday, April 26, 2001 11:05:25 PM +0400 Samium Gromoff <[EMAIL PROTECTED]> wrote: > Hi People... >got a following "dead of alive" question: >how to find a root block on a ReiserFS partition >with a corrupted superblock? > >reiserfsprogs-3.x.0.9j simply writes -2^32

[PATCH] SysRq

2001-04-26 Thread Andrzej Krzysztofowicz
Hi, The following patch add more disk devices to the SysRq sync list (in both: -pre and -ac trees). Were the extra IDE devices intentionally omitted here? BTW, it would be probably nice to add some mon-x86 disk devices here... Andrzej diff -uNr drivers/char/sysrq.c~ drivers/char/sysrq.c ---

  1   2   >