InterprocessCommunication

2001-06-07 Thread Blesson Paul
Hi all I need to know some basic facts about interprocess communication. I have a process A which is waiting for some other process B. When B is executed, it has to wake up A and do some work with A. How to do this. I think it will be better to use signals. 1 How to use signal

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Mike Galbraith
On 7 Jun 2001, Eric W. Biederman wrote: > Mike Galbraith <[EMAIL PROTECTED]> writes: > > > On 6 Jun 2001, Eric W. Biederman wrote: > > > > > Mike Galbraith <[EMAIL PROTECTED]> writes: > > > > > > > > If you could confirm this by calling swapoff sometime other than at > > > > > reboot time. That

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Helge Hafting
Derek Glidden wrote: > > Helge Hafting wrote: > > > > The drive is inactive because it isn't needed, the machine is > > running loops on data in memory. And it is unresponsive because > > nothing else is scheduled, maybe "swapoff" is easier to implement > > I don't quite get what you're saying.

2.4.5, VIA KT133, sound corruption

2001-06-07 Thread Miroslav Ruda
Hello, I have experienced similar problems to http://lists.kernelnotes.de/linux-kernel/Week-of-Mon-20010430/002158.html When I send _anything_ to /dev/dsp, I get continuous high-pitched beeping (nothing remotely resembling what the sound card should be doing). I'm running 2.4.5 kernel with d

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Eric W. Biederman
[EMAIL PROTECTED] (Linus Torvalds) writes: > > Somebody interested in trying the above add? And looking for other more > obvious bandaid fixes. It won't "fix" swapoff per se, but it might make > it bearable and bring it to the 2.2.x levels. At little bit. The one really bad behavior of not le

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Eric W. Biederman
Mike Galbraith <[EMAIL PROTECTED]> writes: > On 7 Jun 2001, Eric W. Biederman wrote: > > > Does this improve the swapoff speed or just allow other programs to > > run at the same time? If it is still slow under that kind of load it > > would be interesting to know what is taking up all time. >

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Linus Torvalds
On 7 Jun 2001, Eric W. Biederman wrote: > [EMAIL PROTECTED] (Linus Torvalds) writes: > > > > Somebody interested in trying the above add? And looking for other more > > obvious bandaid fixes. It won't "fix" swapoff per se, but it might make > > it bearable and bring it to the 2.2.x levels. >

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Mike Galbraith
On 7 Jun 2001, Eric W. Biederman wrote: > Mike Galbraith <[EMAIL PROTECTED]> writes: > > > On 7 Jun 2001, Eric W. Biederman wrote: > > > > > Does this improve the swapoff speed or just allow other programs to > > > run at the same time? If it is still slow under that kind of load it > > > would

Re: xircom_cb problems

2001-06-07 Thread Ion Badulescu
On Wed, 6 Jun 2001, Tom Sightler wrote: > At home where I have a 10Mb half-duplex hub connection all of the drivers work > properly. All right, that's expected. > At work where I have a 10/100Mb full-duplex switch connection the drivers work > exactly as I described before: > > 2.4.4-ac11 -- m

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Eric W. Biederman
Linus Torvalds <[EMAIL PROTECTED]> writes: > On 7 Jun 2001, Eric W. Biederman wrote: > > No - I suspect that we're not actually doing all that much IO at all, and > the real reason for the lock-up is just that the current algorithm is so > bad that when it starts to act exponentially worse it re

Re: temperature standard - global config option?

2001-06-07 Thread Philips
Hello All! Kelvins good idea in general - it is always positive ;-) 0.01*K fits in 16 bits and gives reasonable range. but may be something like K<<6 could be a option? (to allow use of shifts instead of muls/divs). It would be much more easier to extract int part.

Kernel 2.4.4 fails to boot [FIXED]

2001-06-07 Thread Clive Jordan
Thanks for your help guys. > I cannot get a newly compiled 2.4.4 kernel to boot. > Fails at: > > Loading linux ... > Uncompressing Linux... Ok, booting kernel. > > It was a combination of VGA console support and incorrect processor type as you suggested. Cheers, Clive - To unsubscribe fr

ADMIN: The plague of ill-defined content filters...

2001-06-07 Thread Matti Aarnio
[ If you want to comment about this topic, respect the Reply-To ! ] The last week or so has seen a profileration of email bounces during the mail delivery, or "DATA" phase. I can somewhat sympathise the goals of the filters, but some are quite unfathomable of how they decide what exact content

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Bernd Jendrissek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 NotDashEscaped: You need GnuPG to verify this message First things first: 1) Please Cc: me when responding, 2) apologies for dropping any References: headers, 3) sorry for bad formatting "Jeffrey W. Baker" wrote: > On Tue, 5 Jun 2001, Derek Glidden w

Re: [PATCH] sockreg2.4.5-05 inet[6]_create() register/unregister table

2001-06-07 Thread Daniel Phillips
On Thursday 07 June 2001 12:03, Henning P. Schmiedehausen wrote: > "David S. Miller" <[EMAIL PROTECTED]> writes: > >And my current understanding is that allowing proprietary > >reimplementations of the VM, VFS, and core networking, is not one of > >the things which is allowed. > > ...is wanted (by

Re: lowlatency 2.2.19

2001-06-07 Thread Pierre Etchemaite
Le 05-Jun-2001, Andrew Morton écrivait : > Some video cards have a PCI cheat-mode in which they keep > the PCI bus busy until they are ready to accept new > commands, rather forcing a retry. Figures of up to > twenty milliseconds have been mentioned. Your X server > *may* support the `PCIRetry'

Re: isolating process..

2001-06-07 Thread Jesse Pollard
- Received message begins Here - > > On Wed, Jun 06, 2001 at 09:57:25PM +0200, Erik Mouw wrote: > > >> Is it possible by any means to isolate any given process, so that > >> it'll be unable to crash system. > > You just gave a nice description what an OS kernel should do :) >

[patch] 4GB I/O, cut 5

2001-06-07 Thread Jens Axboe
Hi, Changes: - merge 2.4.6-pre1 zone changes for zone-dma32-6 - correct qlogicfc can_dma_32 flag (Arjan van de Ven) Arjan also reported that the kernel doesn't boot on a machine with 8GB of RAM, I'm suspecting the zone-dma32-6 changes. If someone has access to such a machine, please try it. Th

pset patch??

2001-06-07 Thread Mark Hounschell
Sorry if this is off topic. I've searched the archives and found references to what I'm looking for but the URL's take me nowhere. The references I'm referring to are for pset patches that will enable me to lock down a processor in an smp env. Lock down meaning I need to be able to lock out all s

PATCH: enable stacked end_io hooks in buffer.c

2001-06-07 Thread Stefan . Bader
Hi, I'd like to hook into the end_io reporting chain by replacing the b_end_io function pointer by an own end_io function that restores the original values and calls the previous end_io function after io. Unfortunatly if the previous function was end_buffer_io_async it unlocks the bh->b_page

CacheFS

2001-06-07 Thread Jan Kasprzak
Hello, a friend of mine has developed the CacheFS for Linux. His work is a prototype read-only implementation for Linux 2.2.11 or so. I am thinking about adapting (or partly rewriting) his work for Linux 2.4. But before I'll start working, I'd like to ask you for comments on the p

Re: PROBLEM: I/O system call never returns if file desc is closed in the

2001-06-07 Thread Florian Weimer
Alexander Viro <[EMAIL PROTECTED]> writes: > On 7 Jun 2001, Florian Weimer wrote: > > > Matthias Urlichs <[EMAIL PROTECTED]> writes: > > > > > Select is defined as to return, with the appropriate bit set, if/when > > > a nonblocking read/write on the file descriptor won't block. You'd get > > >

2.4.5-ac9 console NULL pointer pointer dereference

2001-06-07 Thread Olaf Hering
Hi, this happend with 2.4.5-ac9 with serial console on i386. Full boot log and config can be found here: http://www.penguinppc.org/~olaf/bugs/245-ac9/ ksymoops 2.4.1 on i686 2.4.6-pre1. Options used -v /usr/src/OLAF/linux-2.4.5-ac9/vmlinux (specified) -K (specified) -L (specifi

Bug in nonlocal-bind (transparent proxy)?

2001-06-07 Thread Nadav Har'El
I am writing a transparent-proxy-like application, that needs to be able to bind a TCP socket with a non-local address (i.e., the proxy contacts the origin-server, in the local network, pretending to be the original client. The reply will get back to the proxy because it acts as the default gatewa

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Bulent Abali
>> O.k. I think I'm ready to nominate the dead swap pages for the big >> 2.4.x VM bug award. So we are burning cpu cycles in sys_swapoff >> instead of being IO bound? Just wanting to understand this the cheap way :) > >There's no IO being done whatsoever (that I can see with only a blinky). >

Re: isolating process..

2001-06-07 Thread Russell King
On Thu, Jun 07, 2001 at 08:40:06AM -0500, Jesse Pollard wrote: > - Received message begins Here - > > Byt how should I restrict him open socket and send some data (my IP, > > for example) somewhere ?? I believe that Netfilter will do this for you. Look at: Owner match support

Re: I810 Sound broke between 2.4.2 and 2.4.3

2001-06-07 Thread Doug Ledford
Ben Castricum wrote: > > I use amp to play my mp3s and it seem to stop functioning since 2.4.3. I > captured the kernel messages from the module : > > --- 2.4.2 --- > Intel 810 + AC97 Audio, version 0.01, 14:04:06 Jun 4 2001 > PCI: Found IRQ 10 for device 00:1f.5 > PCI: The same IRQ used for de

Re: isolating process..

2001-06-07 Thread Bohdan Vlasyuk
On Thu, Jun 07, 2001 at 03:28:36PM +0100, Russell King wrote: > I believe that Netfilter will do this for you. a) that'll require 2.4.x b) that'll require 2.4.x recompilation c) that will definitely not solve all the problems arise thanks, anyway - To unsubscribe from this list: send the line

Re: 2.4.5-ac8 hardlocks when going to standby

2001-06-07 Thread Remi Turk
On Thu, Jun 07, 2001 at 01:00:15PM +0200, Mikael Pettersson wrote: > On Wed, 6 Jun 2001 22:42:53 +0200, Remi Turk wrote: > > Try the patch below. Reboot. Run 'apm -S' (or --standby) at the > console. Did you see output from both send_event and apic_pm_callback? > If so, repeat by pressing your po

Re: [PATCH] Reap dead swap cache earlier v2

2001-06-07 Thread John Stoffel
Marcelo> As suggested by Linus, I've cleaned the reapswap code to be Marcelo> contained inside an inline function. (yes, the if statement Marcelo> is really ugly) Shouldn't the "swap_count(page) == 1" check be earlier in the if statement, so we can fall through more quickly if there is no work t

Re: temperature standard - global config option?

2001-06-07 Thread L. K.
Why not make it in Celsius ? Is more easy to read it this way. On Thu, 7 Jun 2001, Philips wrote: > Hello All! > > Kelvins good idea in general - it is always positive ;-) > > 0.01*K fits in 16 bits and gives reasonable range. > > but may be something like K<<6 could be a

BUG: race-cond with partition-check and ll_rw_blk (all platforms, 2.4.*!)

2001-06-07 Thread COTTE
Hi kernel-list-readers! We just had a problem when running some formatting-utils on a large amount of disks synchronously: We got a NULL-pointer violation when accessig blk_size[major] for our major number. Further research showed, that grok_partitions was running at that time, which has been c

ftape and kernel 2.4 problem

2001-06-07 Thread Friedrich Lobenstock
Hi! As the linux-ftape mailing list is gone I'm asking you guys. Can someone tell me how to adapt the ftape driver that I can use it under kernel 2.4.x (x >= 5)? I'm not that into kernel hacking that I know what changed from 2.2.x to 2.4.x. Below is the output of make. BTW why wasn't the newer

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread LA Walsh
"Eric W. Biederman" wrote: > There are cetain scenario's where you can't avoid virtual mem = > min(RAM,swap). Which is what I was trying to say, (bad formula). What > happens is that pages get referenced evenly enough and quickly enough > that you simply cannot reuse the on disk pages. Basical

Re: PROBLEM: I/O system call never returns if file desc is closedin the

2001-06-07 Thread Alexander Viro
On 7 Jun 2001, Florian Weimer wrote: > There's a subtle difference: For malloc(), libc has a mutex (or > whatever), but for open(), socket() etc., no locking is performed, and > many libc functions create (and destroy) descriptors imlicitely. So? You don't have to close() descriptors you had

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Mike Galbraith
On Thu, 7 Jun 2001, Bulent Abali wrote: > I happened to saw this one with debugger attached serial port. > The system was alive. I think I was watching the free page count and > it was decreasing very slowly may be couple pages per second. Bigger > the swap usage longer it takes to do swapoff.

Re: [PATCH] Reap dead swap cache earlier v2

2001-06-07 Thread Hugh Dickins
On Thu, 7 Jun 2001, John Stoffel wrote: > Shouldn't the "swap_count(page) == 1" check be earlier in the if > statement, so we can fall through more quickly if there is no work to > be done? A small optimization, but putting the common cases first > will help. I don't think so: the out-of-line sw

Re: CacheFS

2001-06-07 Thread Jan Harkes
On Thu, Jun 07, 2001 at 01:37:50PM +0200, Jan Kasprzak wrote: > The goal is to speed-up reading of potentially slow filesystems > (NFS, maybe even CD-based ones) by the local on-disk cache in the same way > IRIX or Solaris CacheFS works. I would expect this to be used on clusters > of comput

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Derek Glidden
Miles Lane wrote: > > So please, if you have new facts that you want to offer that > will help us characterize and understand these VM issues better > or discover new problems, feel free to share them. But if you > just want to rant, I, for one, would rather you didn't. *sigh* Not to prolong a

Re: [PATCH] sockreg2.4.5-05 inet[6]_create() register/unregistertable

2001-06-07 Thread Mike Galbraith
On Thu, 7 Jun 2001, watermodem wrote: > "David S. Miller" wrote: > > > > George Bonser writes: > > > There is, of course, one basic problem with that argument. While you can say > > > (and probably rightly so) that such a change would not be included in Linus' > > > kernel, I think anyone is a

ipv6: can't connect to myself?!

2001-06-07 Thread Felix von Leitner
I can't connect() to my own link-local address. connect just hangs. Before some wise guy now tells me I should be connecting to ::1 instead: "oh, really!" ;) The application is npush/npoll from my ncp program suite, which can be found at http://www.fefe.de/ncp/. Basically, the sender sends UDP

scsi disk defect or kernel driver defect ?

2001-06-07 Thread Nico Schottelius
Hello guys! Currently my scsi disc is only reporting errors! In the adaptect scsi bios I tried the verify media option and it worked fine. The output from the Linux kernel is more than worse! Can you tell me what's wrong in my system ? I will monitor the mailing list the next hours, if the hard

Re: NULL characters in file on ReiserFS again.

2001-06-07 Thread Tor Arntsen
On Thu, May 31, 2001 at 09:57:51AM -0700, Hans Reiser wrote: >Andrej Borsenkow wrote: > > /etc/hosts (or anywhere). As a tesult, startx hung starting X server; it was > > not possible to switch to alpha console or kill X server. I pressed reset > > and after reboot looked into /var/log/XFree86*log

2.4.5: extreme sluggishness/strange OOM

2001-06-07 Thread Frank van Maarseveen
A PIII with 64MB ram, 256MB swap became extremely sluggish. While still inside X11 the caps-lock LED responded only after about 10 seconds. Disk LED was continuously on. Impossible to connect from another system (just too slow) but the box still responded to ICMP echo. I played a bit with magic s

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Eric W. Biederman
LA Walsh <[EMAIL PROTECTED]> writes: > Now for whatever reason, since 2.4, I consistently use at least > a few Mb of swap -- stands at 5Meg now. Weird -- but I notice things > like nscd running 7 copies that take 72M. Seems like overkill for > a laptop. So the question becomes why you are

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Khalid Aziz
Nico Schottelius wrote: > > Hello guys! > > Currently my scsi disc is only reporting errors! > In the adaptect scsi bios I tried the verify media > option and it worked fine. The output from the Linux > kernel is more than worse! > > Can you tell me what's wrong in my system ? > > I will monit

Re: temperature standard - global config option?

2001-06-07 Thread David Rees
On Thu, Jun 07, 2001 at 03:20:03PM +0300, L. K. wrote: > On Thu, 7 Jun 2001, Philips wrote: > > > Kelvins good idea in general - it is always positive ;-) > > > > 0.01*K fits in 16 bits and gives reasonable range. > > > > but may be something like K<<6 could be a option? (to allow u

Re: pset patch??

2001-06-07 Thread Khalid Aziz
Try . It may do what you want. -- Khalid Mark Hounschell wrote: > > Sorry if this is off topic. I've searched the archives and found > references to > what I'm looking for but the URL's take me nowhere. The references I'm >

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Eric W. Biederman
Helge Hafting <[EMAIL PROTECTED]> writes: > A problem with this is that normal paging-in is allowed to page other > things out as well. But you can't have that when swap is about to > be turned off. My guess is that swapoff functionality was perceived to > be so seldom used that they didn't bot

Re: [driver] New life for Serial mice

2001-06-07 Thread James Simmons
> > I ported it over to my tree. I will have to figure out how to incorporate > > the input serial stuff without breaking all the input drivers we have. In > > CVS we have alot of them. This will make life so much easier since all I > > will have to do is change one file for changes I make to the

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Guest section DW
On Thu, Jun 07, 2001 at 06:22:59PM +0200, Nico Schottelius wrote: > 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 > I/O error: dev 08:01, sector 127304 > SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 802 > [valid=0] Info fld=0x0, Current sd08

[PATCH] 2.4.5 ISA DMA hang on ALI 15x3

2001-06-07 Thread Andreas Tscharner
Hello World, This little patch enables the workaround for the ISA DMA bug on ALi15x3 chipsets with the PCI-ISA bridge. CHANGES: Changed file: $KERNELROOT/drivers/pci/quirks.c There is a DMA bug in the PCI-ISA host bridge of the ALi15x3 chipset. The use of this DMA causes a hang. The OSS and AL

Re: NULL characters in file on ReiserFS again.

2001-06-07 Thread Eric W. Biederman
"Stephen C. Tweedie" <[EMAIL PROTECTED]> writes: > Hi, > > On Thu, May 31, 2001 at 09:57:51AM -0700, Hans Reiser wrote: > > > > /etc/hosts (or anywhere). As a tesult, startx hung starting X server; it was > > > > not possible to switch to alpha console or kill X server. I pressed reset > > > a

Re: 2.4.5-ac9 console NULL pointer pointer dereference

2001-06-07 Thread James Simmons
> this happend with 2.4.5-ac9 with serial console on i386. > > Full boot log and config can be found here: > http://www.penguinppc.org/~olaf/bugs/245-ac9/ I can't seem to download those files. It complains they are not gz files. Could you send me those files. Thanks! - To unsubscribe from this

Re: pset patch??

2001-06-07 Thread Tim Hockin
Khalid Aziz wrote: > > Try > . > It may do what you want. > > I see references to this site http://isunix.it.ilstu.edu/~thockin/pset/. try http://www.hockin.org/~thockin/pset unfortunately, not ported to 2.4.x yet - should

Re: ftape and kernel 2.4 problem

2001-06-07 Thread Steven Walter
Here's a patch I wrote to allow ftape to compile against 2.4.something. It still works with 2.4.5. I'm not sure if it works entirely (it seems to), but it compiles and seems to work. Enjoy! On Thu, Jun 07, 2001 at 05:12:31PM +0200, Friedrich Lobenstock wrote: > Hi! > > As the linux-ftape maili

random failures with megaraid driver on 2.4.4 SMP

2001-06-07 Thread Kelly Martin
I have an HP Netserver 1000r (dual Pentium 3) with a HP NetRAID-1M card running Linux 2.4.4 with the megaraid driver included in 2.4.4 that has twice now experienced kernel panics related to file system damage which appear to be caused by the megaraid driver going mad and scribbling randomly on th

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Nico Schottelius
Guest section DW wrote: > On Thu, Jun 07, 2001 at 06:22:59PM +0200, Nico Schottelius wrote: > > > 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 > > I/O error: dev 08:01, sector 127304 > > SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 802 > > [

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread José Luis Domingo López
On Thursday, 07 June 2001, at 09:23:42 +0200, Helge Hafting wrote: > Derek Glidden wrote: > > > > Helge Hafting wrote: > [...] > The machine froze 10 seconds or so at the end of the minute, I can > imagine that biting with bigger swap. > Same behavior here with a Pentium III 600, 128 MB RAM and

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Nico Schottelius
> > 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 > > I/O error: dev 08:01, sector 127304 > > SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 802 > > [valid=0] Info fld=0x0, Current sd08:01: sns = 70 b > > ASC=47 ASCQ= 0 > > Raw sense data:0x70

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Khalid Aziz
Nico Schottelius wrote: > There is in fact no terminator, the scsi disc should terminate the bus > itself. It is directly connected to the onboard aix7880 scsi controller. > I will use another cable in about half an hour (when my friend arrives..) > > Thanks for the hint! > > Nico > I would su

Re: xircom_cb problems

2001-06-07 Thread Tom Sightler
Quoting Ion Badulescu <[EMAIL PROTECTED]>: > > 2.4.4-ac11 -- mostly works fine -- minor problems awaking from sleep > > Can you run some performance testing with this driver, though? The > speed > of ftp transfers in both directions would be a good measure. The > reason > I'm asking is because w

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Marcelo Tosatti
On Thu, 7 Jun 2001, Mike Galbraith wrote: > On 6 Jun 2001, Eric W. Biederman wrote: > > > Mike Galbraith <[EMAIL PROTECTED]> writes: > > > > > > If you could confirm this by calling swapoff sometime other than at > > > > reboot time. That might help. Say by running top on the console. > > >

Busy buffers and try_to_free_pages

2001-06-07 Thread Steve Lord
I am chasing around in circles with an issue where buffers pointing at highmem pages are getting put onto the buffer free list, and later on causing oops in ext2 when it gets assigned them for metadata via getblk. Say one thread is performing a truncate on an inode and is currently in truncate_i

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Miles Lane
On 07 Jun 2001 11:49:47 -0400, Derek Glidden wrote: > Miles Lane wrote: > > > > So please, if you have new facts that you want to offer that > > will help us characterize and understand these VM issues better > > or discover new problems, feel free to share them. But if you > > just want to rant

Re: [PATCH] Reap dead swap cache earlier v2

2001-06-07 Thread Jonathan Morton
>As suggested by Linus, I've cleaned the reapswap code to be contained >inside an inline function. (yes, the if statement is really ugly) I can't seem to find the patch which adds this behaviour to the background scanning. Can someone point me to it?

Re: [PATCH] Reap dead swap cache earlier v2

2001-06-07 Thread Marcelo Tosatti
On Thu, 7 Jun 2001, Jonathan Morton wrote: > >As suggested by Linus, I've cleaned the reapswap code to be contained > >inside an inline function. (yes, the if statement is really ugly) > > I can't seem to find the patch which adds this behaviour to the background > scanning. I've just sent

2.4.6 pre1 and 2.4.5 CONFIG_IP_NF_COMPAT_IPCHAINS missing?

2001-06-07 Thread D. Stimits
I know somewhere there is a menuconfig item corresponding to CONFIG_IP_NF_COMPAT_IPCHAINS, and that selecting various other iptables options can make this item disappear and no longer be selectable. But I have fished all over, have set config to give devel and incomplete items, tried turning on or

Re: [PATCH] sockreg2.4.5-05 inet[6]_create() register/unregistertable

2001-06-07 Thread Matthias Urlichs
Ahem... David S. Miller wrote: >This allows people to make proprietary implementations of TCP under >Linux. And we don't want this just as we don't want to add a way to >allow someone to do a proprietary Linux VM. *Sigh* and thence begin the proprietary-vs-OpenSource flame wars again. _Any_ op

Please test: workaround to help swapoff behaviour

2001-06-07 Thread Marcelo Tosatti
On Thu, 7 Jun 2001, Marcelo Tosatti wrote: > > On Thu, 7 Jun 2001, Mike Galbraith wrote: > > > On 6 Jun 2001, Eric W. Biederman wrote: > > > > > Mike Galbraith <[EMAIL PROTECTED]> writes: > > > > > > > > If you could confirm this by calling swapoff sometime other than at > > > > > reboot tim

Re: [PATCH] Reap dead swap cache earlier v2

2001-06-07 Thread Jonathan Morton
>> >As suggested by Linus, I've cleaned the reapswap code to be contained >> >inside an inline function. (yes, the if statement is really ugly) >> >> I can't seem to find the patch which adds this behaviour to the background >> scanning. > >I've just sent Linus a patch to free swap cache pages at

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Nico Schottelius
Hi all! The problem is solved, if I disconnect the hp streamer from the bus. I wonder why there is a problem. The aic7880 has two busses: ultra/ ultrawide. The ibm hard disk is connected to the uw port and is terminated. No other uw device is attached. The hp streamer is also lonely on the ult

Re: pset patch??

2001-06-07 Thread Mark Hounschell
Tim Hockin wrote: > > Khalid Aziz wrote: > > > > Try > > . > > It may do what you want. > > > > I see references to this site http://isunix.it.ilstu.edu/~thockin/pset/. > > try http://www.hockin.org/~thockin/pset > > unfortu

Re: 2.4.6 pre1 and 2.4.5 CONFIG_IP_NF_COMPAT_IPCHAINS missing?

2001-06-07 Thread D. Stimits
"D. Stimits" wrote: > > I know somewhere there is a menuconfig item corresponding to > CONFIG_IP_NF_COMPAT_IPCHAINS, and that selecting various other iptables > options can make this item disappear and no longer be selectable. But I > have fished all over, have set config to give devel and incomp

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Khalid Aziz
Nico Schottelius wrote: > > Hi all! > > The problem is solved, if I disconnect the hp streamer > from the bus. I wonder why there is a problem. > The aic7880 has two busses: > > ultra/ ultrawide. > > The ibm hard disk is connected to the uw port and is terminated. > No other uw device is attac

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Nico Schottelius
Khalid Aziz wrote: > Nico Schottelius wrote: > > > > Hi all! > > > > The problem is solved, if I disconnect the hp streamer > > from the bus. I wonder why there is a problem. > > The aic7880 has two busses: > > > > ultra/ ultrawide. > > > > The ibm hard disk is connected to the uw port and is ter

PATCH: via audio 1.1.15-pre1

2001-06-07 Thread Jeff Garzik
Attached is a patch against kernel 2.4.6-pre1 which includes fixes for via audio. It -should- patch against kernel 2.4.3 or later, though. I'm interested in feedback from people having via audio problems, if this patch fixes them. I am of course also interested in general testing, to ensure I d

Background scanning change on 2.4.6-pre1

2001-06-07 Thread Marcelo Tosatti
Hi Linus, Who did this change to refill_inactive_scan() in 2.4.6-pre1 ? /* * When we are background aging, we try to increase the page aging * information in the system. */ if (!target) maxscan = nr_active_pages >> 4; This is going

Re: xircom_cb problems

2001-06-07 Thread Ion Badulescu
On Thu, 7 Jun 2001, Tom Sightler wrote: > Transferring files between the eepro100 machine running 2.4.2-ac11 and my > laptop produced a result of 2.24MB/s for sending and 2.13MB/s recieving the > file. > > Transfering files between the Alteon Gigabit machine running 2.2.19 and my > laptop res

Re: Please test: workaround to help swapoff behaviour

2001-06-07 Thread Bulent Abali
>This is for the people who has been experiencing the lockups while running >swapoff. > >Please test. (against 2.4.6-pre1) > > >--- linux.orig/mm/swapfile.c Wed Jun 6 18:16:45 2001 >+++ linux/mm/swapfile.c Thu Jun 7 16:06:11 2001 >@@ -345,6 +345,8 @@ > /* > * Find a swap pag

PTRACE_ATTACH breaks wait4()

2001-06-07 Thread Pavel Kankovsky
Let A be a process and B its child. When another process, let's call it C, does ptrace(PTRACE_ATTACH) on B, wait4(pid of B, ...) will always return ECHILD when invoked from A after B has been attached to C because wait4() does not take children traced by other processes into account. The problem w

Re: Background scanning change on 2.4.6-pre1

2001-06-07 Thread Linus Torvalds
Forgot one comment.. > > This is going to make all pages have age 0 on an idle system after some > > time (the old code from Rik which has been replaced by this code tried to > > avoid that) There's another reason why I think the patch may be ok even without any added logic: not only does it s

VM suggestion...

2001-06-07 Thread Jeff Garzik
While you guys are in there hacking, perhaps consider adding metrics which allows you to tell exactly when certain cases and conditions are hit. page_aged_while_sleeping_in_page_lauder++ Statistics like this are cheap to use in runtime and should provide concrete information rather than g

Re: Background scanning change on 2.4.6-pre1

2001-06-07 Thread Jonathan Morton
>> > This is going to make all pages have age 0 on an idle system after some >> > time (the old code from Rik which has been replaced by this code tried to >> > avoid that) > >There's another reason why I think the patch may be ok even without any >added logic: not only does it simplify the code a

Re: temperature standard - global config option?

2001-06-07 Thread L. K.
On Thu, 7 Jun 2001, Albert D. Cahalan wrote: > Negative temperatures do not really exist. > Are you really sure about this ? > > > > > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http:

Re: Background scanning change on 2.4.6-pre1

2001-06-07 Thread Andreas Dilger
Marcello writes: > Who did this change to refill_inactive_scan() in 2.4.6-pre1 ? > > /* > * When we are background aging, we try to increase the page aging > * information in the system. > */ > if (!target) > maxscan = nr_active_pages >>

Re: Background scanning change on 2.4.6-pre1

2001-06-07 Thread Marcelo Tosatti
On Thu, 7 Jun 2001, Linus Torvalds wrote: > > Forgot one comment.. > > > > This is going to make all pages have age 0 on an idle system after some > > > time (the old code from Rik which has been replaced by this code tried to > > > avoid that) > > There's another reason why I think the pat

Re: temperature standard - global config option?

2001-06-07 Thread Albert D. Cahalan
L. K. writes: > Why not make it in Celsius ? Is more easy to read it this way. No, because then the software must handle negative numbers for cooled computers. CentiKelvin is fine. Do C=cK/100-273.15 if you really must... but you still have a number that is useless to a human. Humans need a seco

Re: Background scanning change on 2.4.6-pre1

2001-06-07 Thread Linus Torvalds
On Thu, 7 Jun 2001, Marcelo Tosatti wrote: > > Who did this change to refill_inactive_scan() in 2.4.6-pre1 ? I think it was Andreas Dilger.. > /* > * When we are background aging, we try to increase the page aging > * information in the system. > */ >

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Shane Nay
On Thursday 07 June 2001 13:00, Marcelo Tosatti wrote: > On Thu, 7 Jun 2001, Shane Nay wrote: > > (Oh, BTW, I really appreciate the work that people have done on the VM, > > but folks that are just talking..., well, think clearly before you impact > > other people that are writing code.) > > If al

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Marcelo Tosatti
On Thu, 7 Jun 2001, Shane Nay wrote: > (Oh, BTW, I really appreciate the work that people have done on the VM, but > folks that are just talking..., well, think clearly before you impact other > people that are writing code.) If all the people talking were reporting results we would be reall

Re: VM suggestion...

2001-06-07 Thread Stuart MacDonald
From: "Marcelo Tosatti" <[EMAIL PROTECTED]> > The problem is that we _cannot_ base ourselves simply on practical results > from a _limited_ amount of workloads. Also remember the tests we (at least > I do) are benchmarks which try to use all resources all the time upon > completion. Isn't this th

Re: Background scanning change on 2.4.6-pre1

2001-06-07 Thread Andreas Dilger
Linus writes: > On Thu, 7 Jun 2001, Marcelo Tosatti wrote: > > Who did this change to refill_inactive_scan() in 2.4.6-pre1 ? > > I think it was Andreas Dilger.. Definitely NOT. I don't touch MM stuff. I do filesystems and LVM only. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound

Re: Please test: workaround to help swapoff behaviour

2001-06-07 Thread Marcelo Tosatti
On Thu, 7 Jun 2001, Bulent Abali wrote: > > I tested your patch against 2.4.5. It works. No more lockups. Without > the > patch it took 14 minutes 51 seconds to complete swapoff (this is to recover > 1.5GB of > swap space). During this time the system was frozen. No keyboard, no > screen,

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Shane Nay
Uh, last I checked on my linux based embedded device I didn't want to swap to flash. Hmm.., now why was that..., oh, that's right, it's *much* more expensive than memory, oh yes, and it actually gets FRIED when you write to a block more than 100k times. Oh, what was that other thing..., oh ye

Re: temperature standard - global config option?

2001-06-07 Thread mirabilos {Thorsten Glaser}
It was posted by L. K. where I now add my 0.02 EUR... > On Thu, 7 Jun 2001, Albert D. Cahalan wrote: > > Negative temperatures do not really exist. > Are you really sure about this ? I am. I made Abitur (german degree after 13yrs of school) with physics being an important course, and there can no

Re: temperature standard - global config option?

2001-06-07 Thread Chris Boot
Hi, >>> Kelvins good idea in general - it is always positive ;-) >>> >>> 0.01*K fits in 16 bits and gives reasonable range. >>> >>> but may be something like K<<6 could be a option? (to allow use of shifts >>> instead of muls/divs). It would be much more easier to extract int part. >>> >>> jus

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread Marcelo Tosatti
On Thu, 7 Jun 2001, Shane Nay wrote: > On Thursday 07 June 2001 13:00, Marcelo Tosatti wrote: > > On Thu, 7 Jun 2001, Shane Nay wrote: > > > (Oh, BTW, I really appreciate the work that people have done on the VM, > > > but folks that are just talking..., well, think clearly before you impact >

Re: Break 2.4 VM in five easy steps

2001-06-07 Thread LA Walsh
"Eric W. Biederman" wrote: > LA Walsh <[EMAIL PROTECTED]> writes: > > > Now for whatever reason, since 2.4, I consistently use at least > > a few Mb of swap -- stands at 5Meg now. Weird -- but I notice things > > like nscd running 7 copies that take 72M. Seems like overkill for > > a laptop

Re: BUG: race-cond with partition-check and ll_rw_blk (all platforms, 2.4.*!)

2001-06-07 Thread Andries . Brouwer
From: [EMAIL PROTECTED] We just had a problem when running some formatting-utils on a large amount of disks synchronously: We got a NULL-pointer violation when accessig blk_size[major] for our major number. Further research showed, that grok_partitions was running at that

  1   2   >