Re: [PATCH] document ECN in 2.4 Configure.help

2000-11-06 Thread David S. Miller
From: Bernd Eckenfels [EMAIL PROTECTED] Date:Tue, 07 Nov 2000 03:38:35 +0100 Because this will add a Fallback (non ECN) packet to every denied target. I think this is bad policy at least. It might violate the RFCs, too. Keep in mind, we cannot recognice a rejection due to

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread David S. Miller
Date:Mon, 06 Nov 2000 18:17:19 -0800 From: Jordan Mendelson [EMAIL PROTECTED] 18:54:57.394894 eth0 64.124.41.177. 209.179.248.69.1238: . 2429:2429(0) ack 506 win 6432 nop,nop, sack 1 {456:506} (DF) And this is it? The connection dies right here and says no more?

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread David S. Miller
Date: Mon, 06 Nov 2000 19:44:57 -0800 From: Jordan Mendelson [EMAIL PROTECTED] Just some updates. This problem does not appear to happen under 2.2.16. The dump for 2.2.16 is almost the same except we send an mss back of 536 and not 1460 (remote mtu vs local mtu). MSS

locks.c: removal of semaphores

2000-11-06 Thread kumon
Andrew, I got 5250 Req/s with your locks-sem.patch on normal Apache. It is good performance on normal Apache. Andrew Morton writes: Kouichi, could you please test the performance of this on your 8-way with Apache+fcntl serialisation? (the normal Apache). Please use 2.4.0-test10-pre5, not

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread Jordan Mendelson
Jordan Mendelson wrote: We are seeing a performance slowdown between Windows PPP users and servers running 2.4.0-test10. Attached is a tcpdump log of the connection. The machines is without TCP ECN support. The Windows machine is running Windows 98 SE 4.10. A dialed up over PPP w/ TCP

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread Jordan Mendelson
"David S. Miller" wrote: Date:Mon, 06 Nov 2000 18:17:19 -0800 From: Jordan Mendelson [EMAIL PROTECTED] 18:54:57.394894 eth0 64.124.41.177. 209.179.248.69.1238: . 2429:2429(0) ack 506 win 6432 nop,nop, sack 1 {456:506} (DF) And this is it? The connection dies

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread Jordan Mendelson
"David S. Miller" wrote: Date: Mon, 06 Nov 2000 21:20:39 -0800 From: Jordan Mendelson [EMAIL PROTECTED] It looks to me like there is an artificial delay in 2.4.0 which is slowing down the traffic to unbearable levels. No, I think I see whats wrong, it's nothing more than

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread David S. Miller
Date: Mon, 06 Nov 2000 22:13:23 -0800 From: Jordan Mendelson [EMAIL PROTECTED] There is a possibility that we are hitting an upper level bandwidth limit between us an our upstream provider due to a misconfiguration on the other end, but this should only happen during peak time

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread Jordan Mendelson
"David S. Miller" wrote: Date: Mon, 06 Nov 2000 22:13:23 -0800 From: Jordan Mendelson [EMAIL PROTECTED] There is a possibility that we are hitting an upper level bandwidth limit between us an our upstream provider due to a misconfiguration on the other end, but this should

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread Andi Kleen
On Mon, Nov 06, 2000 at 10:03:05PM -0800, David S. Miller wrote: The only thing I can do now is beg for a tcpdump from the windows95 machine side. Do you have the facilities necessary to obtain this? This would prove that it is packet drop between the two systems, for whatever reason, that

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread David S. Miller
Date: Mon, 06 Nov 2000 22:44:00 -0800 From: Jordan Mendelson [EMAIL PROTECTED] Attached to this message are dumps from the windows 98 machine using windump and the linux 2.4.0-test10. Sorry the time stamps don't match up. Ok, something is "odd" at the win98 side, I quote the

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread David S. Miller
Date: Tue, 7 Nov 2000 08:03:42 +0100 From: Andi Kleen [EMAIL PROTECTED] It looks very like to me like a poster child for the non timestamp RTT update problem I just described on netdev. Linux always retransmits too early and there is never a better RTT estimate which could fix

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread Andi Kleen
On Mon, Nov 06, 2000 at 10:59:04PM -0800, David S. Miller wrote: Date: Tue, 7 Nov 2000 08:03:42 +0100 From: Andi Kleen [EMAIL PROTECTED] It looks very like to me like a poster child for the non timestamp RTT update problem I just described on netdev. Linux always retransmits

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread Jordan Mendelson
"David S. Miller" wrote: Date: Mon, 06 Nov 2000 22:44:00 -0800 From: Jordan Mendelson [EMAIL PROTECTED] Attached to this message are dumps from the windows 98 machine using windump and the linux 2.4.0-test10. Sorry the time stamps don't match up. (ie. Linux sends bytes

Re: [PATCH] Re: Negative scalability by removal of

2000-11-06 Thread David S. Miller
Date:Mon, 6 Nov 2000 21:23:57 -0800 (PST) From: dean gaudet [EMAIL PROTECTED] apache is about correctness first, and performance second. Which is why we say it is "incorrect" for apache to try and work around kernel performance problems. :-))) Later, David S. Miller [EMAIL

Re: locks.c: removal of semaphores

2000-11-06 Thread Andrew Morton
[EMAIL PROTECTED] wrote: Andrew, I got 5250 Req/s with your locks-sem.patch on normal Apache. It is good performance on normal Apache. Great. Thanks again. Trond has this patch now for ongoing NFS locking stuff. Hopefully 2.4 will now work OK with "legacy" Apache configurations. As long

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread David S. Miller
Date: Mon, 06 Nov 2000 23:16:21 -0800 From: Jordan Mendelson [EMAIL PROTECTED] "David S. Miller" wrote: It is clear though, that something is messing with or corrupting the packets. One thing you might try is turning off TCP header compression for the PPP link, does this

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread David S. Miller
Date: Tue, 7 Nov 2000 08:16:04 +0100 From: Andi Kleen [EMAIL PROTECTED] Hmm. One of these weird bandwidth limiters again? In a more recent mail, TCP header compression in Win98 or Earthlink's terminal servers have become the current prime suspect. :-) The RTT is lower than 2.2's

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread Jordan Mendelson
"David S. Miller" wrote: Date: Mon, 06 Nov 2000 23:16:21 -0800 From: Jordan Mendelson [EMAIL PROTECTED] "David S. Miller" wrote: It is clear though, that something is messing with or corrupting the packets. One thing you might try is turning off TCP header

Re: Poor TCP Performance 2.4.0-10 - Win98 SE PPP

2000-11-06 Thread David S. Miller
Date: Mon, 06 Nov 2000 21:20:39 -0800 From: Jordan Mendelson [EMAIL PROTECTED] It looks to me like there is an artificial delay in 2.4.0 which is slowing down the traffic to unbearable levels. No, I think I see whats wrong, it's nothing more than packet drop. The large gaps in

Re: ping -f kills ne2k (was:[patch] NE2000)

2000-11-06 Thread Paul Gortmaker
Well, I have tried it with 2.4.0-test10, both SMP and non-SMP, and the result is a little confusing. Under SMP a ping -s 5 -f other_host takes down the network access with no messages (ne2k-pci), and no possibility of being restored without a reboot. Under UP the same command

Re: rdtsc to mili secs?

2000-11-06 Thread ming_l
Andrea Arcangeli [EMAIL PROTECTED] said: On Mon, Nov 06, 2000 at 12:28:00AM +, Alan Cox wrote: or running SMP with non matched CPU clocks. In this last case I guess he will have more problems than not being able to convert from cpu-clock to usec 8). Scheduler and gettimeofday will do

test test

2000-11-06 Thread ming_l
test - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: Loadavg calculation

2000-11-06 Thread Sean Hunter
Sorry, I know this is a little left-field, but how about redesigning your process so that instead of using a load_avg, you start all your calculations from a single server on each node? It could queue up incoming calculations, and fork a child to do each one. Of course, it would catch a signal

Re: non-gcc linux?

2000-11-06 Thread Thomas Pornin
In article [EMAIL PROTECTED] you write: In short, I do not see any enforceable advantages to the current FSF policies. As a sidenote, this transfer of intellectual property of code is not doable, according to French law (and other non-anglo-saxon countries). In France, the author of a an

Re: Looking for better VM

2000-11-06 Thread Szabolcs Szakacsits
On Wed, 1 Nov 2000, Rik van Riel wrote: I'm definately looking forward to an "OOM killer showdown" where we can compare how the different OOM tactics work. Since people must live with Linux's overcommiting feature the winner would be the one that could be tuned runtime. The best general

Re: Linux 2.4 Status / TODO page (Updated as of 2.4.0-test10)

2000-11-06 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: de4x5 is becoming EISA-only in 2.5.x too, since its PCI support is duplicated now in tulip driver. Luckily, my old Multia died. 8) Jeff, tulip did not work with genuine Digital cards. I'm pretty sure I fixed that. Tested it on my Multia in fact :) (and my

pre-patch-2.0.39-final work fine for IP-masquerade

2000-11-06 Thread Seiichi Nakashima
Dear. I use pre-patch-2.0.39-final for IP-masquerade PC. and work fine ( work 24 hours in a day ). H/WMitsubishi Electoric Apricot XEN-PC motherboard ( unknown ) CPU Pentium 60MHz Memory 32 MB Ethernet card ( ISA ) NE2000 Compatible ( RTL chip ) x 2 Disk Seagate 8GB - To unsubscribe

Re: Broken colors on console with 2.4.0-textXX

2000-11-06 Thread Richard Guenther
On Fri, 3 Nov 2000, James Simmons wrote: How recent of a test kernel. Yes their was a problem with the console palette but it is now fixed in the most recent test kernels. 2.4.0-test10-pre5 Please upgrade to a newer kernel. This problem has been fixed :-) Unfortunately I

Re: [BUG REPORT] TCP/IP weirdness in 2.2.15

2000-11-06 Thread Stephen Landamore
Hi Thomas, On Fri, 3 Nov 2000, Thomas Pollinger wrote: Running a 'cvs get' on the Linux clients of a larger source tree eventually hangs the client in the middle of the get process. The hang is *always* reproduceable (however it does not always hang at the same place, sometimes after 1',

OOPS when using 4GB memory setting

2000-11-06 Thread Rainer Mager
Hi all, Please respond directly since I'm not on this mailing list. I have 2 intertwined problems that my initial web research has failed to reveal help. I recently upgraded machines and the new one has 1GB RAM. If I build a 2.4.0pre10 (or 8 or 9, I haven't tried earlier) kernel

Dual Xeon, MTRR problem still there?

2000-11-06 Thread Dr. David Gilbert
Hi, While my friendly dual Xeon machine now appears to be pretty fast, I notice that the NMI counter is still incrementing like topsy; this presumably means that there is still something dodgy going on. A hdparm -t seems to be giving respectable values, so I am not quite sure where the

Re: Locking Between User Context and Soft IRQs in 2.4.0

2000-11-06 Thread Andrew Morton
Paul Gortmaker wrote: Assuming that nobody has all the MOD_..._USE_COUNT things culled from a tree somewhere already, I quickly hacked up the following script for drivers/net: Looks good. There's also drivers/isdn and possibly other places. ... We might want to filter the file list

Re: [PATCH] document ECN in 2.4 Configure.help

2000-11-06 Thread Andrew Morton
Oliver Xymoron wrote: I'm still not sure why it's been decided not to do fallback or how this whole situation is any different from path MTU discovery. It has: "Changes to make to the ECN RFC before it goes to proposed standard: * If the TCP host receives no response to a SYN packet

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Alan Cox
Implement a way for a userspace tool to get the correct mixer levels in place at the time the sound hardware is reset, so there are no glitches in the levels, and I'll agree with you. Linux-Mandrake's initscripts run aumix on bootup and shutdown, to take care of this... And they don't

Re: [patch] 2.4.0-test10-pre6 remove get_module_symbol MTD/DRM/AGP

2000-11-06 Thread David Woodhouse
[EMAIL PROTECTED] said: Any comments before it goes to Linus? I'd prefer to update MTD separately if and when the inter_module_xxx support gets into both 2.2 and 2.4. Could you first provide a patch which adds this support - when it's merged into both 2.2 and 2.4 I'll update the MTD code

Re: [PATCH] document ECN in 2.4 Configure.help

2000-11-06 Thread Alan Cox
with the TCP ECN_ECHO and CWR flags set, to indicate ECN-capability, then the sender should send its second SYN packet without these flags set. This is because Now that is nice. The end user perceived effect is that folks with faulty firewalls have horrible slow web

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
Dan Hollis wrote: On Mon, 6 Nov 2000, Alan Cox wrote: And they don't solve the problem David was talking about. There is a short deeply unpleasant scream from some soundcards on reload because the card init and the 0.5-1 second later aumix run dont stop the feedback loop fast enough

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Dan Hollis
On Mon, 6 Nov 2000, Alan Cox wrote: And they don't solve the problem David was talking about. There is a short deeply unpleasant scream from some soundcards on reload because the card init and the 0.5-1 second later aumix run dont stop the feedback loop fast enough when a mic is plugged in

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread David Woodhouse
[EMAIL PROTECTED] said: This is why alsa starts up all devices totally muted. Maybe its time for David to move to alsa ;) Muted is not what I want either, although that's fine when the module is _first_ loaded after booting. What I want is for the mixer settings not to change at all, when

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
David Woodhouse wrote: [EMAIL PROTECTED] said: This is why alsa starts up all devices totally muted. Maybe its time for David to move to alsa ;) Muted is not what I want either, although that's fine when the module is _first_ loaded after booting. What I want is for the mixer

Re: [PATCH] document ECN in 2.4 Configure.help

2000-11-06 Thread Andi Kleen
On Mon, Nov 06, 2000 at 11:02:47AM +, Alan Cox wrote: with the TCP ECN_ECHO and CWR flags set, to indicate ECN-capability, then the sender should send its second SYN packet without these flags set. This is because Now that is nice. The end user perceived effect

Re: visual gcc

2000-11-06 Thread Davide Libenzi
On Mon, 06 Nov 2000, Alexander Viro wrote: On Sun, 5 Nov 2000, Anonymous wrote: Does anyone know where to find a gui for gcc or g++ or any compiler for a KDE shell? Yes. :^) www.kdevelop.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
Remember the /dev/mixer and /dev/dsp are separate. * Driver initializes mixer to 100% muted * Userspace app sets desired values to /dev/mixer * Userspace app opens /dev/dsp to play sound I don't see where any sound can "escape" in this scenario, and it doesn't require any module data

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Alan Cox
This is why alsa starts up all devices totally muted. Maybe its time for David to move to alsa ;) I wouldn't mind leaving devices totally muted until open()... You need to leave the mixer for cd, tv and radio pass through - To unsubscribe from this list: send the line "unsubscribe

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread David Woodhouse
[EMAIL PROTECTED] said: * Driver initializes mixer to 100% muted * Userspace app sets desired values to /dev/mixer * Userspace app opens /dev/dsp to play sound I don't see where any sound can "escape" in this scenario, and it doesn't require any module data persistence... * User boots

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
Alan Cox wrote: This is why alsa starts up all devices totally muted. Maybe its time for David to move to alsa ;) I wouldn't mind leaving devices totally muted until open()... You need to leave the mixer for cd, tv and radio pass through Good point. Also might need to flush

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
David Woodhouse wrote: * Sound module is unloaded * User continues to happily listen to radio through sound card You're using the sound card without a driver? * Time passes * User is listening intently to something on the radio * Something wants to beep through /dev/audio * Sound module

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread David Woodhouse
[EMAIL PROTECTED] said: * User continues to happily listen to radio through sound card You're using the sound card without a driver? Yes. The sound card allows itself to be unloaded when the pass-through mixer levels are non-zero. This is reasonable iff it can be reloaded without

Re: Kernel 2.4.0test10 crash (RAID+SMP)

2000-11-06 Thread Jason Straight
It may be a filesystem problem, I had a problem like this with a 200GB raid 0 array using reiserfs, it went down 3 times in 2 days. I switched to ext2 on md0 and everything has been fine now for weeks. On Sunday 05 November 2000 16:08, ryan wrote: Hi, I tried 2.4.0test10, but I get a

Re: ext3 vs. JFS file locations...

2000-11-06 Thread Stephen C. Tweedie
Hi, On Sat, Nov 04, 2000 at 09:53:41PM -0500, Albert D. Cahalan wrote: The journalling layer for ext3 is not a filesystem by itself. It is generic journalling code. So, even if IBM did not have any jfs code, the name would be wrong. Indeed, and the jfs layer will be renamed "jbd" at some

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
David Woodhouse wrote: [EMAIL PROTECTED] said: * User continues to happily listen to radio through sound card You're using the sound card without a driver? Yes. The sound card allows itself to be unloaded when the pass-through mixer levels are non-zero. This is reasonable iff it can

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Alan Cox
I don't think that is reasonable. I think its totally reasonable. The first thing most drivers do is reset the hardware. That inevitably Because there is no persistent storage to remember the fact the hardware is running. You are depending on the hardware to keep its state -between-

Re: non-gcc linux? (was Re: Where did kgcc go in 2.4.0-test10?)

2000-11-06 Thread Horst von Brand
Michael Meissner [EMAIL PROTECTED] said: [...] Now people seem to be advocating moving the kernel to use features from C99 that haven't even been coded yet (which mean when coded using the latest codegen as well). Note, I seriously doubt Linus will want a flag day (ie, after a given kernel

Re: modular kernel

2000-11-06 Thread Horst von Brand
FORT David [EMAIL PROTECTED] said: Taco Witte wrote: Some days ago, I read about the idea of a completely modular kernel. [...] Looks like the beginning of a new flame war. Yep. About a very old bone, to boot. Please go *read* what was said on the list before and refrain from posting on

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Keith Owens
On Mon, 06 Nov 2000 07:13:07 -0500, Jeff Garzik [EMAIL PROTECTED] wrote: ...or, give up this silly nonsense about loading and unload modules on every open() and close(). A module load modifies the running kernel code... why do people do this on such a whim? Just load the driver at bootup and

Re: visual gcc

2000-11-06 Thread Mohammad A. Haque
Bah!! You ruined the fun! =) Davide Libenzi wrote: On Mon, 06 Nov 2000, Alexander Viro wrote: On Sun, 5 Nov 2000, Anonymous wrote: Does anyone know where to find a gui for gcc or g++ or any compiler for a KDE shell? Yes. :^) www.kdevelop.org --

Re: [PATCH] document ECN in 2.4 Configure.help

2000-11-06 Thread Gregory Maxwell
On Mon, Nov 06, 2000 at 11:02:47AM +, Alan Cox wrote: [snip] Now that is nice. The end user perceived effect is that folks with faulty firewalls have horrible slow web sites with a 3 or 4 second wait for each page. The perfect incentive. If only someone could do the same to path mtu

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread David Woodhouse
[EMAIL PROTECTED] said: The sound card allows itself to be unloaded when the pass-through mixer levels are non-zero. This is reasonable iff ... I don't think that is reasonable. You don't think that it's reasonable for the sound card to allow itself to be unloaded when the pass-through

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread David Woodhouse
I think we're getting confused. What I'm advocating is something like this: init_module() { struct mixer_levels *levels; levels = inter_module_get("mysoundcard_mixerlevels"); if (!levels) /* We haven't been loaded before. Default to zero */

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread James A . Sutherland
On Mon, 06 Nov 2000, David Woodhouse wrote: [EMAIL PROTECTED] said: * User continues to happily listen to radio through sound card You're using the sound card without a driver? Yes. The sound card allows itself to be unloaded when the pass-through mixer levels are non-zero. This is

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
David Woodhouse wrote: [EMAIL PROTECTED] said: The sound card allows itself to be unloaded when the pass-through mixer levels are non-zero. This is reasonable iff ... I don't think that is reasonable. You don't think that it's reasonable for the sound card to allow itself to be

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread David Woodhouse
[EMAIL PROTECTED] said: So autoload the module with a "dont_screw_with_mixer" option. When the kernel first boots, initialise the mixer to suitable settings (load the module with "do_screw_with_mixer" or whatever); thereafter, the driver shouldn't change the mixer settings on load. Not

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Andrew Pimlott
On Mon, Nov 06, 2000 at 08:00:05AM +, David Woodhouse wrote: I'm more interested in the case where the module is loaded for the second time: Is there really a reason to unload a module in normal usage? Beyond miniscule memory savings and hack value? You can solve the whole problem with a

Re: visual gcc

2000-11-06 Thread Horst von Brand
Alexander Viro [EMAIL PROTECTED] said: On Sun, 5 Nov 2000, Anonymous wrote: Does anyone know where to find a gui for gcc or g++ or any compiler for a KDE shell? Yes. For a _really_ helpful answer, you are missing: "I don't" ;-) -- Dr. Horst H. von Brand

Re: [PATCH] document ECN in 2.4 Configure.help

2000-11-06 Thread James A . Sutherland
On Mon, 06 Nov 2000, Andi Kleen wrote: On Mon, Nov 06, 2000 at 11:02:47AM +, Alan Cox wrote: with the TCP ECN_ECHO and CWR flags set, to indicate ECN-capability, then the sender should send its second SYN packet without these flags set. This is because Now

Kernel hook for open

2000-11-06 Thread Catalin BOIE
Hi, guys! I wish to know if there is something like a kernel hook for open function. I want to monitor a file (someting like watchdog on Solaris) and to read from my own process (module?) and from the file. I tried with LD_SO_PRELOAD but it haven't any effect on the so libraries. For example:

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread David Woodhouse
[EMAIL PROTECTED] said: I am thinking about the bigger picture: You are unloading a driver, then continuing to use the hardware. To me, that is an undefined state. We're only using the pass-through levels. It's undefined but it doesn't matter to the software. I'd actually suggest that for

Re: Can EINTR be handled the way BSD handles it? -- a plea from a user-land

2000-11-06 Thread George Talbot
On Fri, 3 Nov 2000, Theodore Y. Ts'o wrote: Date: Fri, 03 Nov 2000 14:44:17 -0500 From: [EMAIL PROTECTED] My problem is that pthread_create (glibc 2.1.3, kernel 2.2.17 i686) is failing because, deep inside glibc somewhere, nanosleep() is returning EINTR. Sounds like

Re: Can EINTR be handled the way BSD handles it? -- a plea from auser-land programmer...

2000-11-06 Thread George Talbot
I respectfully disagree that programs which don't surround some of the most common system calls with do { rv = __some_system_call__(...); } while (rv == -1 errno == EINTR); are broken. Especially if those programs don't use signals. The problem that

Re: Can EINTR be handled the way BSD handles it? -- a plea from a user-land

2000-11-06 Thread Davide Libenzi
On Mon, 06 Nov 2000, George Talbot wrote: On Fri, 3 Nov 2000, Theodore Y. Ts'o wrote: Date:Fri, 03 Nov 2000 14:44:17 -0500 From: [EMAIL PROTECTED] My problem is that pthread_create (glibc 2.1.3, kernel 2.2.17 i686) is failing because, deep inside glibc somewhere,

Re: Can EINTR be handled the way BSD handles it? -- a plea from a user-land

2000-11-06 Thread George Talbot
You know, a more concise way of stating my underlying question might be: Does POSIX require that programs be aware of signals, in the "returning EINTR" sense, if they do not use signals, and only use pthreads? I might want to write a program that uses pthreads instead of

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Martin Dalecki
David Woodhouse wrote: [EMAIL PROTECTED] said: * Driver initializes mixer to 100% muted * Userspace app sets desired values to /dev/mixer * Userspace app opens /dev/dsp to play sound I don't see where any sound can "escape" in this scenario, and it doesn't require any module data

Re: [PATCH] Re: Negative scalability by removal of

2000-11-06 Thread Andrew Morton
Andrea Arcangeli wrote: On Sat, Nov 04, 2000 at 09:22:58AM -0800, Linus Torvalds wrote: We don't need to backport of the full exclusive wait queues: we could do the equivalent of the semaphore inside the kernel around just accept(). It wouldn't be a generic thing, but it would fix the

Re: [PATCH] Re: Negative scalability by removal of

2000-11-06 Thread Andrew Morton
Alan Cox wrote: Even 2.2.x can be fixed to do the wake-one for accept(), if required. Do we really want to retrofit wake_one to 2.2. I know Im not terribly keen to try and backport all the mechanism. I think for 2.2 using the semaphore is a good approach. Its a hack to fix an old OS

Re: linux-2.4.0-test9

2000-11-06 Thread Richard B. Johnson
On Sat, 4 Nov 2000, Keith Owens wrote: On Fri, 3 Nov 2000 17:54:51 -0500 (EST), "Richard B. Johnson" [EMAIL PROTECTED] wrote: (1) I have SCSI modules that have to be installed upon boot from initrd. Insmod failed with "Can't find the kernel version that this module was compiled with..."

Re: linux support for TCP/IP Task Offload ....

2000-11-06 Thread Pekka Pietikainen
On Fri, Nov 03, 2000 at 07:01:27PM -0500, Jeff Garzik wrote: [EMAIL PROTECTED] wrote: thanx for the information this ftp site ftp://ftp.inr.ac.ru/ip-routing/zerocopy-sendfile-*.dif is password protected. This site is not password-protected, I just downloaded the referenced

Re: Kernel hook for open

2000-11-06 Thread Erik Mouw
On Mon, Nov 06, 2000 at 03:55:41PM +0200, Catalin BOIE wrote: I wish to know if there is something like a kernel hook for open function. I want to monitor a file (someting like watchdog on Solaris) and to read from my own process (module?) and from the file. I don't know what watchdog is, but

Play Kernel Hangman!

2000-11-06 Thread Jeff Dike
After a stranger than usual late-night #kernelnewbies session on Thursday, I was inspired to come up with Kernel Hangman. This is the traditional game of hangman, except that the words you have to guess are kernel symbols. So, test your knowledge of kernel trivia and play it at

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread James A . Sutherland
On Mon, 06 Nov 2000, David Woodhouse wrote: [EMAIL PROTECTED] said: So autoload the module with a "dont_screw_with_mixer" option. When the kernel first boots, initialise the mixer to suitable settings (load the module with "do_screw_with_mixer" or whatever); thereafter, the driver

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread David Woodhouse
[EMAIL PROTECTED] said: Irrelevant. The current mixer settings don't matter: what matters is that the driver does not change them. It does matter. The sound driver needs to be able to _read_ the current levels. Almost all mixer programs will start by doing this, to set the slider to the

[PATCH] 2.4.0-test10 zap_page_range

2000-11-06 Thread Steven Pratt
Back in April there was some discussion about the race condition where a call to zap_page_range followed by a call to flush_tlb_range allows for a page which has been freed to be re-allocated on a different cpu and referenced via a tlb on a third cpu before the tlb is actually flushed. Below is

Re: [PATCH] Re: Negative scalability by removal of

2000-11-06 Thread Andrea Arcangeli
On Tue, Nov 07, 2000 at 01:27:07AM +1100, Andrew Morton wrote: context. For networking, where it is called from softirq context it is O(N). Yes, the heuristic that runs from irqs has an O(N) worst case in wakeup. But the current implementation is silly because the best case could run without

Re: Play Kernel Hangman!

2000-11-06 Thread ejc
Jeff Dike wrote: After a stranger than usual late-night #kernelnewbies session on Thursday, I was inspired to come up with Kernel Hangman. This is the traditional game of hangman, except that the words you have to guess are kernel symbols. Oh, no, no, no, no... my productivity! I love it.

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Horst von Brand
David Woodhouse [EMAIL PROTECTED] said: [EMAIL PROTECTED] said: Irrelevant. The current mixer settings don't matter: what matters is that the driver does not change them. It does matter. The sound driver needs to be able to _read_ the current levels. Almost all mixer programs will start

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread James A . Sutherland
On Mon, 06 Nov 2000, David Woodhouse wrote: [EMAIL PROTECTED] said: Irrelevant. The current mixer settings don't matter: what matters is that the driver does not change them. It does matter. The sound driver needs to be able to _read_ the current levels. So do so. That's a

to resize shared memory segment by using shmctl

2000-11-06 Thread aprasad
Hi, is it possible to change the size of a preexisting shared memory segment by using shmctl? AIX has comand SHM_SIZE to shmctl to resize any existing shared memory segment. can it be done without recreating the whole thing in linux? thanks Anil - To unsubscribe from this list: send the line

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Horst von Brand
[Chopped down Cc: list] "James A. Sutherland" [EMAIL PROTECTED] said: On Mon, 06 Nov 2000, David Woodhouse wrote: [...] It does not know them. Correct. But with persistent module storage, it _could_ know them. No it cannot. The desired levels have not been defined: there are no desired

Re: Can EINTR be handled the way BSD handles it? -- a plea from auser-land programmer...

2000-11-06 Thread Theodore Y. Ts'o
Date:Mon, 6 Nov 2000 09:13:25 -0500 (EST) From: George Talbot [EMAIL PROTECTED] I respectfully disagree that programs which don't surround some of the most common system calls with do { rv = __some_system_call__(...); }

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread James A . Sutherland
On Mon, 06 Nov 2000, Horst von Brand wrote: [Chopped down Cc: list] "James A. Sutherland" [EMAIL PROTECTED] said: On Mon, 06 Nov 2000, David Woodhouse wrote: [...] It does not know them. Correct. But with persistent module storage, it _could_ know them. No it cannot. The

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread David Woodhouse
[EMAIL PROTECTED] said: So set them on startup. NOT when the driver is first loaded. Put it in the rc.d scripts. No. You should initialise the hardware completely when the driver is reloaded. Although the expected case is that the levels just happen to be the same as the last time the

Re: to resize shared memory segment by using shmctl

2000-11-06 Thread Christoph Rohland
Hi, On Mon, 6 Nov 2000, [EMAIL PROTECTED] wrote: Hi, is it possible to change the size of a preexisting shared memory segment by using shmctl? AIX has comand SHM_SIZE to shmctl to resize any existing shared memory segment. can it be done without recreating the whole thing in linux? No

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Alan Cox
So autoload the module with a "dont_screw_with_mixer" option. When the kernel first boots, initialise the mixer to suitable settings (load the module with "do_screw_with_mixer" or whatever); thereafter, the driver shouldn't change the mixer settings on load. Which is part of what persistent

unresolved reference to hd_init (2.4.0-test10, ll_rw_blk.c)

2000-11-06 Thread Robert Kaiser
Hi, I just ran into a small problem trying to build the 2.4.0-test10 kernel with only the "Old hard disk (MFM/RLL/IDE) driver" enabled. The following patch fixed this for me, (though I'm not sure I haven't broken anything else with it). diff -ur linux-2.4.0-test10/drivers/block/ll_rw_blk.c

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Martin Dalecki
Alan Cox wrote: Just load the driver at bootup and forget about it. Problem solved. I daily curse the name of whoever added autoload and autounload. Autoload maybe useful, autounload is just asking for problems. Deal with it. Hardware is also now auto load and auto unloading too.

Re: [PATCH] Re: Negative scalability by removal of

2000-11-06 Thread Alan Cox
It's a 16-liner! I'll cheerfully admit that this patch may be completely broken, but hey, it's free. I suggest that _something_ has to be done for 2.2 now, because Apache has switched to unserialised accept(). Interesting The fact that the throughput is 3-4 time worse for 2, 3, 4 and 5

Re: rdtsc to mili secs?

2000-11-06 Thread Anton Blanchard
fast_gettimeoffset_quotient, see do_fast_gettimeoffset(). Also remember that the TSC may not be available due to the chip era, chip bugs or running SMP with non matched CPU clocks. When I boot my thinkpad 600e off battery and then change to AC power, gettimeofday has a nasty habit of

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Alan Cox
Persistent storage is the best way to do it though. It doesn't have to be persistent over reboots, just during the lifetime of the kernel. No! The best way to do it are just *persistently loaded* modules. It's THAT simple! So you want to split every sound driver into two or more modules

Re: Kernel hook for open

2000-11-06 Thread Erik Mouw
On Mon, Nov 06, 2000 at 10:11:11AM -0500, Michael Vines wrote: On Mon, 6 Nov 2000, Erik Mouw wrote: Use LD_PRELOAD instead. You could also write a simple kernel module that replaces the open system call. See the Linux Kernel Module Programming Guide for details.

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Alon Ziv
The best solution to the sound driver issue, IMHO, is still entirely userspace--- just no-one has written it yet. What we should do: 1. Before auto-unload of the driver, run a small utility which will read mixer settings and save them somewhere 2. When auto-loading the driver, use driver

  1   2   3   4   5   >