Block device strategy and requests

2001-04-26 Thread Malcolm Beattie
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

Re: [PATCH] Single user linux

2001-04-26 Thread Ken Brownfield
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,

memory problems?

2001-04-26 Thread Admin Mailing Lists
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

Re: [PATCH] Single user linux

2001-04-26 Thread Stephen Satchell
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

Re: [PATCH] Single user linux

2001-04-26 Thread Ian Stirling
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

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

2001-04-26 Thread Andries . Brouwer
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] build failure

2001-04-26 Thread Matthias Andree
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

Can multiple device drivers *share* a PCI bridge?

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

[2.4.3-ac14] build failure

2001-04-26 Thread Matthias Andree
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

2.2.19 NFSv3 client breaks fdopen(3)

2001-04-26 Thread Matthias Andree
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

Re: __alloc_pages: 4-order allocation failed

2001-04-26 Thread Jeff V. Merkey
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()

2.2.19 NFSv3 client breaks fdopen(3)

2001-04-26 Thread Trond Myklebust
== 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.

interesting problem with raw sockets

2001-04-26 Thread Christopher Friesen
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

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

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

Re: binfmt_misc on 2.4.3-ac14

2001-04-26 Thread Wayne . Brown
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

Re: __alloc_pages: 4-order allocation failed

2001-04-26 Thread Jeff V. Merkey
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

alpha stack problem: resource.h

2001-04-26 Thread Allan Frank
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

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

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 there's

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 removed? I have

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:

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

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'

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 had

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

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

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.virgin

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 interface

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 applying

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 get better

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 developed

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 - massive disk

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 person

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

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 about heavy

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 disk recovered, linux happily

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 flexible,

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

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 can,

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. When I was using

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? No.

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

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. Note,

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 rewrote

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

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 hack is

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 the

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 stable

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

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 about GFP_BUFFER

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 generally

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-order allocation

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 for

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

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

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

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 of the man

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 rather

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

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_ inconvenience.

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 convince us,

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 hack, does

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 requests (128 by default) necessary for back-pressure? With this I/O subsystem it would be

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) ---

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 something?

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 requests (128 by default) necessary for back-pressure? With this I/O subsystem it would be possible for the strategy

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 coming

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,

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 has a

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 processor

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

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'adresse IP du

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 smp

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 hang

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 set

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 strace

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

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

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

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

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 will

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 observed the

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

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 the

<    1   2   3   4   >