Re: 2.4 VM & swap question

2001-06-18 Thread Rik van Riel
On Tue, 19 Jun 2001, Mike Galbraith wrote: > On Mon, 18 Jun 2001, root wrote: > > > Regarding to the discussion on the swap size, > > > > Recently, Rick van Riel posted a message that there is a bug > > related to "reclaiming" the swap, and said that it is on his > > TODO list. > > That's fixed.

Re: Simple example of using slab allocator?

2001-06-18 Thread Matthew Dharm
Well, if it's really that simple Another aspect of this, tho, is that I'd like to be able to profile my memory usage. Does the SA have any ability to report (easily) the number of pages allocated and how full each one is? Matt Dharm On Mon, Jun 18, 2001 at 10:56:36AM -0600, Andreas Dilger

Re: Linux 2.4.6-pre3 breaks ReiserFS mount on boot

2001-06-18 Thread Jeff Mahoney
On Tue, Jun 19, 2001 at 03:31:06PM +1000, Neil Brown wrote: > On Tuesday June 19, [EMAIL PROTECTED] wrote: > > On Mon, Jun 18, 2001 at 11:57:16PM -0400, Shawn Starr wrote: > > > > > > read_super_block: can't find a reiserfs filesystem on dev 03:42 > > > read_old_super_block: try to find super

Re: ipchains autoload

2001-06-18 Thread Harald Welte
On Fri, Jun 08, 2001 at 07:17:22AM +0200, Nico Schottelius wrote: > Hello! > > I don't really know howto specify that kmod > should autoload the ipchains module, when I am > using ipchains. > > Anyone any idea howto tell kmod to load it then ? there is no way to do that. The problem is, that

Re: Linux 2.4.6-pre3 breaks ReiserFS mount on boot

2001-06-18 Thread Neil Brown
On Tuesday June 19, [EMAIL PROTECTED] wrote: > On Mon, Jun 18, 2001 at 11:57:16PM -0400, Shawn Starr wrote: > > > > read_super_block: can't find a reiserfs filesystem on dev 03:42 > > read_old_super_block: try to find super block in old location > > read_old_super_block: can't find a reiserfs

Re: 2.4 VM & swap question

2001-06-18 Thread Mike Galbraith
On Mon, 18 Jun 2001, root wrote: > Regarding to the discussion on the swap size, > > Recently, Rick van Riel posted a message that there is a bug > related to "reclaiming" the swap, and said that it is on his > TODO list. That's fixed. > If I believe it, the current trouble we have regarding

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Mike Galbraith
On Mon, 18 Jun 2001, Andrea Arcangeli wrote: > On Mon, Jun 18, 2001 at 10:37:21AM -0300, Rik van Riel wrote: > > Yes, this is expected behaviour with -ac14, -pre3 and newer. > > If that means anything that doesn't happen here based on pre3. It doesn't happen here either. Even with (ever so

Re: Linux 2.4.6-pre3 breaks ReiserFS mount on boot

2001-06-18 Thread Jeff Mahoney
On Mon, Jun 18, 2001 at 11:57:16PM -0400, Shawn Starr wrote: > > read_super_block: can't find a reiserfs filesystem on dev 03:42 > read_old_super_block: try to find super block in old location > read_old_super_block: can't find a reiserfs filesystem on dev 03:42 > Kernel Panic: VFS: Unable to

Re: Linux 2.4.6-pre3 breaks ReiserFS mount on boot

2001-06-18 Thread Chris Mason
On Monday, June 18, 2001 11:57:16 PM -0400 Shawn Starr <[EMAIL PROTECTED]> wrote: > > read_super_block: can't find a reiserfs filesystem on dev 03:42 > read_old_super_block: try to find super block in old location > read_old_super_block: can't find a reiserfs filesystem on dev 03:42 > Kernel

Re: getrusage vs /proc/pid/stat?

2001-06-18 Thread J . A . Magallon
On 20010618 Dan Kegel wrote: >Pete Wyckoff wrote: >> >> [EMAIL PROTECTED] said: >> > I'd like to monitor CPU, memory, and I/O utilization in a >> > long-running multithreaded daemon under kernels 2.2, 2.4, >> > and possibly also Solaris (#ifdef

Re: spindown [was Re: 2.4.6-pre2, pre3 VM Behavior]

2001-06-18 Thread Mike Galbraith
On Mon, 18 Jun 2001, Daniel Phillips wrote: > On Sunday 17 June 2001 12:05, Mike Galbraith wrote: > > It _juuust_ so happens that I was tinkering... what do you think of > > something like the below? (and boy do I ever wonder what a certain > > box doing slrn stuff thinks of it.. hint hint;) >

Re: Linux 2.4.6-pre3 breaks ReiserFS mount on boot

2001-06-18 Thread Shawn Starr
read_super_block: can't find a reiserfs filesystem on dev 03:42 read_old_super_block: try to find super block in old location read_old_super_block: can't find a reiserfs filesystem on dev 03:42 Kernel Panic: VFS: Unable to mount root fs on 03:42 my super block broke somewhere? Shawn. On Mon,

Re: Linux 2.4.6-pre3 breaks ReiserFS mount on boot

2001-06-18 Thread Chris Mason
On Monday, June 18, 2001 10:58:57 PM -0400 Shawn Starr <[EMAIL PROTECTED]> wrote: > > When diffing 2.4.6-pre2 & pre3 I noticed some reiserfs code was > changed. This seems to cause VFS to panic via reiserfs. > > Anyone else notice this? What is the panic message? -chris - To unsubscribe

Re: Linux 2.4.6-pre3 breaks ReiserFS mount on boot

2001-06-18 Thread Shawn Starr
Two things: 1) It broke apparently with gcc 2.95.3 when patching from 2.4.6-pre2 -> 2.4.6pre3 2) I tried building it with gcc 3.00 and had same result. 3) I now have gcc 3.00 and going to rebuild 2.4.6-pre2 and see if reiserfs panics if it doesn't there's an issue with the new pre3

Re: Linux 2.4.6-pre3 breaks ReiserFS mount on boot

2001-06-18 Thread Olivier Galibert
On Mon, Jun 18, 2001 at 10:58:57PM -0400, Shawn Starr wrote: > When diffing 2.4.6-pre2 & pre3 I noticed some reiserfs code was changed. > This seems to cause VFS to panic via reiserfs. > > Anyone else notice this? I don't, and I boot on reiserfs. OG. - To unsubscribe from this list: send the

Re: 2.4.5 data corruption

2001-06-18 Thread Stefan Traby
On Thu, Jun 14, 2001 at 07:20:06PM +0100, Alan Cox wrote: > > Folks, I believe I have a reproducible test case which corrupts data in > > 2.4.5. > > 2.4.5 has an out of date 3ware driver that is short > + 1.02.00.007 - Fix possible null pointer dereferences in tw_ioctl(). > +

Linux 2.4.6-pre3 breaks ReiserFS mount on boot

2001-06-18 Thread Shawn Starr
When diffing 2.4.6-pre2 & pre3 I noticed some reiserfs code was changed. This seems to cause VFS to panic via reiserfs. Anyone else notice this? Shawn. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: gnu asm help...

2001-06-18 Thread Rick Hohensee
The C-names-in-asms stuff is explained in (g?)as.info. The explanation is a bit strained, but after the third or fourth read it becomes fairly sensible. Rick Hohensee - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: Client receives TCP packets but does not ACK

2001-06-18 Thread dean gaudet
On Tue, 19 Jun 2001, Jonathan Morton wrote: > > > > > Btw: can the aplication somehow ask the tcp/ip stack what was > >> >actualy acked? > >> >> (ie. how many bytes were acked). > >> > > >> >no, but it's not necessarily a useful number anyhow -- because it's > >> >possible that the

Re: Why can't I flush /dev/ram0?

2001-06-18 Thread Kelledin Tane
> > When I mount the filesystem to check it out, nothing appears to have > > anything open on the filesystem. So why am I not able to flush it > > clean? > > Because of a bug present in Linus tree. Try this patch: Thanks, that seems to have fixed it. There's something else I'm curious about

Re: i810 audio problem

2001-06-18 Thread Michael
"Delio Brignoli" <[EMAIL PROTECTED]> writes: > Switching from 2.4.2 to 2.4.5 breaks i810_audio on my intel MX440 based notebook: > > After some (in fact a few) seconds of playback it gets stuck until the app closes >and reopens /dev/dsp. (I do NOT use esd) [..] > It goes on until I kill the

Re: Client receives TCP packets but does not ACK

2001-06-18 Thread Jonathan Morton
> > > > Btw: can the aplication somehow ask the tcp/ip stack what was >> >actualy acked? >> >> (ie. how many bytes were acked). >> > >> >no, but it's not necessarily a useful number anyhow -- because it's >> >possible that the remote end ACKd bytes but the ACK never arrives. so you >>

Re: What happened to lookup_dentry?

2001-06-18 Thread Alexander Viro
On Mon, 18 Jun 2001, Timur Tabi wrote: > I'm porting a driver from 2.2 to 2.4, and this driver calls lookup_dentry, > which doesn't exist in 2.4. I've read through the source code and searched the > web and newsgroups, and I can't find any explanation as to why lookup_dentry no > longer

Re: gnu asm help...

2001-06-18 Thread Petr Vandrovec
On 18 Jun 01 at 18:20, Timur Tabi wrote: > You want to return the variable? Try this: > > static __inline__ unsigned long atomic_inc(atomic_t *v) > { > __asm__ __volatile__( > LOCK "incl %0" > :"=m" (v->counter) > :"m" (v->counter)); > > return v->counter; > }

Re: any good diff merging utility?

2001-06-18 Thread Riley Williams
Hi Ivan. >>> I like to build kernels with a bunch of patches on top to test >>> new stuff. The problem is that it takes a lot of effort to fix >>> all the failed hunks during patching that really wouldn't have >>> to be failed if only patch was a little more inteligent and >>> could merge

Iptables ipt_unclean bug?

2001-06-18 Thread Kajtár Zsolt
Hi all! I think it's possible to hang the kernel useing isic 0.05 (www.packetfactory.net/Projects/ISIC/), when there's a unclean match in iptables rules. Example: (somewhere on target:) iptables -A INPUT -m unclean --match unclean -j DROP (on local machine:) # isic -s rand -d target.ip

Re: gnu asm help...

2001-06-18 Thread Timur Tabi
** Reply to message from "Raj, Ashok" <[EMAIL PROTECTED]> on Mon, 18 Jun 2001 15:56:50 -0700 > also if there is any reference to the gnu asm symtax, please send me a > pointer.. There's lots > i can understand what the LOCK "incl %0 means.. but not sure what the rest > is for. LOCK just

[SMP] 2.4.5-ac13 deadlocked?

2001-06-18 Thread Bob Glamm
I've got a strange situation, and I'm looking for a little direction. Quick summary: I get sporadic lockups running 2.4.5-ac13 on a ServerWorks HE-SL board (SuperMicro 370DE6), 2 800MHz Coppermine CPUs, 512M RAM, 512M+ swap. Machine has 8 active disks, two as RAID 1, 6 as RAID 5. Swap is on

Re: gnu asm help...

2001-06-18 Thread Erik Mouw
On Mon, Jun 18, 2001 at 03:56:50PM -0700, Raj, Ashok wrote: > i can understand what the LOCK "incl %0 means.. but not sure what the rest > is for. > > thanks > ashokr > > static __inline__ void atomic_inc(atomic_t *v) > { > __asm__ __volatile__( > LOCK "incl %0" > :"=m"

gnu asm help...

2001-06-18 Thread Raj, Ashok
Hello asm gurus.. I need a simple (??) change to atomic_inc() functionality. so that i can increment and return the value of the variable. current implementation in linux/include/asm/atomic.h does not do this job. any help would be greatly appreciated. ashokr from atomic.h also if there

Re: Client receives TCP packets but does not ACK

2001-06-18 Thread dean gaudet
On Mon, 18 Jun 2001, Jonathan Morton wrote: > > > Btw: can the aplication somehow ask the tcp/ip stack what was > >actualy acked? > >> (ie. how many bytes were acked). > > > >no, but it's not necessarily a useful number anyhow -- because it's > >possible that the remote end ACKd bytes but

Re: Why can't I flush /dev/ram0? (fwd)

2001-06-18 Thread Scott Murray
Linus, Any chance you can finally merge this fix or suggest what better one you are looking for? When this bug bit me in early April, an investigation showed that this particular fix has been in the ac kernels since last November. Thanks, Scott -- Scott Murray SOMA Networks, Inc. Toronto,

Re: sis630 - help needed debugging in the kernel

2001-06-18 Thread Paul Mundt
On Mon, Jun 18, 2001 at 02:58:17PM -0700, James Simmons wrote: > > Yep, in fbmem.c the name entry is "sisfb" as opposed to just "sis". > > Agh!!! That needs to be fixed. > I've already fixed it in ruby.. Regards, -- Paul Mundt <[EMAIL PROTECTED]> - To unsubscribe from this list: send the

Re: sis630 - help needed debugging in the kernel

2001-06-18 Thread James Simmons
> > Is there another way to tell the fb driver what mode to use?? > > > Yep, in fbmem.c the name entry is "sisfb" as opposed to just "sis". Agh!!! That needs to be fixed. > Also, the > driver requires that the mode is passed video a "mode:" argument as is > outlined in the sisfb_setup().

Re: Why can't I flush /dev/ram0?

2001-06-18 Thread Jan Rekorajski
On Mon, 18 Jun 2001, Kelledin Tane wrote: > At this point, I'm trying to get an initrd working properly. So far, it > works, the system boots, etc. etc., but whenever I try to do a "blockdev > --flushbufs /dev/ram0", I get "device or resource busy" > > When I mount the filesystem to check it

What happened to lookup_dentry?

2001-06-18 Thread Timur Tabi
I'm porting a driver from 2.2 to 2.4, and this driver calls lookup_dentry, which doesn't exist in 2.4. I've read through the source code and searched the web and newsgroups, and I can't find any explanation as to why lookup_dentry no longer exists or how I'm supposed to change code that uses it.

Re: Why can't I flush /dev/ram0?

2001-06-18 Thread Kelledin Tane
> If you have a directory called /initrd, in your root file-system, > you may find that the old initrd is still mounted: > > Script started on Mon Jun 18 17:22:20 2001 > # ls /initrd > bin dev etc lib linuxrc sbin > # umount /initrd > # ls /initrd > # exit > exit > Script done on Mon Jun 18

Re: Why can't I flush /dev/ram0?

2001-06-18 Thread Richard B. Johnson
On Mon, 18 Jun 2001, Kelledin Tane wrote: > At this point, I'm trying to get an initrd working properly. So far, it > works, the system boots, etc. etc., but whenever I try to do a "blockdev > --flushbufs /dev/ram0", I get "device or resource busy" > > When I mount the filesystem to check it

Re: Linux/VAX booting to a shell.

2001-06-18 Thread Aaron Lehmann
On Sun, Jun 17, 2001 at 11:11:29PM +0200, Pavel Machek wrote: > Congratulations. (This is pretty big machine, for the VAX, no? When > was it build? How much power does it take?) Nah, it's a VAXstation. http://www.mcmanis.com/chuck/computers/vaxen/buildvax.html - To unsubscribe from this list:

Re: getrusage vs /proc/pid/stat?

2001-06-18 Thread Dan Kegel
Pete Wyckoff wrote: > > [EMAIL PROTECTED] said: > > I'd like to monitor CPU, memory, and I/O utilization in a > > long-running multithreaded daemon under kernels 2.2, 2.4, > > and possibly also Solaris (#ifdefs are ok). > > getrusage() isn't really the system call you want for this. I'll buy

Why can't I flush /dev/ram0?

2001-06-18 Thread Kelledin Tane
At this point, I'm trying to get an initrd working properly. So far, it works, the system boots, etc. etc., but whenever I try to do a "blockdev --flushbufs /dev/ram0", I get "device or resource busy" When I mount the filesystem to check it out, nothing appears to have anything open on the

Re: sis630 - help needed debugging in the kernel

2001-06-18 Thread René Rebe
On Mon, 18 Jun 2001 12:28:00 -0700 Paul Mundt <[EMAIL PROTECTED]> wrote: [...] > Yep, in fbmem.c the name entry is "sisfb" as opposed to just "sis". Also, the > driver requires that the mode is passed video a "mode:" argument as is > outlined in the sisfb_setup(). Take a look at

Re: Linux/VAX booting to a shell.

2001-06-18 Thread Pavel Machek
Hi! > Hi all, (mind crossposts on follow ups..) > > attached below is a bootlog from the Linux/VAX port, booting up, loading > up busybox/uClibc sh and cat /proc/cpuinfo, from my VAXStation 3100m38, > > Thanks to the other two members of the core VAX porting team, Andy > Phillips and Kenn

Re: [OT] Re: ipchains

2001-06-18 Thread Ted Gervais
On Mon, 18 Jun 2001, J Sloan wrote: > > I just ran into something odd. To me anyways, it was odd. > > I just installed and brought up kernel 2.4.5 and my ipchains failed. > > So I upgraded to the latest (that I could find) ipchains-1.3.10, and > > that also fails. > > > > Has anyone got any

Re: eepro100 problems with 2.2.19 _and_ 2.4.0

2001-06-18 Thread Andrey Savochkin
On Sun, Jun 17, 2001 at 12:40:34AM -0300, Christian Robottom Reis wrote: > > I am _very_ willing to devote some time to getting this fixed in both the > kernel and Donald's drivers if anyone is interested in tracking down the > problem. I'm not very familiar with the hardware, but I have a test

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread German Gomez Garcia
On Mon, 18 Jun 2001, Andrea Arcangeli wrote: > On Mon, Jun 18, 2001 at 05:35:54PM +0200, German Gomez Garcia wrote: > > On Mon, 18 Jun 2001, Andrea Arcangeli wrote: > > > > > On Mon, Jun 18, 2001 at 04:41:02PM +0200, German Gomez Garcia wrote: > > > > so, if there is another way to get that info

Re: sis630 - help needed debugging in the kernel

2001-06-18 Thread Paul Mundt
On Mon, Jun 18, 2001 at 08:32:03PM +0200, René Rebe wrote: > > Try booting at 640x480 with a color depth of 32. Then > > try booting at a different resolution (1024x768) at the default color > > depth. I want to see if its a error with the resolution setting or if it > > is a error with setting

2.4.5-ac15 -- Unresolved symbols "gameport_register_port" and"gameport_unregister_port" in char/joystick/[cs461x.o, emu10k1-gp.o,lightning.o, ns558.o, pcigame.o]

2001-06-18 Thread Miles Lane
I don't know if this is due to symbols not being exported or due to some failed dependency structuring in "make menuconfig". find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.5-ac15; fi depmod: ***

Re: very strange (semi-)lockups in 2.4.5

2001-06-18 Thread Pozsar Balazs
First I thought this was an X-issue, but now I'm 100% sure that it isn't, as I met the desscribed hangup while working on the console too. The NMI card would be interesting, if anyone tells me how to make one, and how to patch the kernel to show useable information i'm looking forward to do it,

[OT] Re: ipchains

2001-06-18 Thread J Sloan
Ted Gervais wrote: > I just ran into something odd. To me anyways, it was odd. > I just installed and brought up kernel 2.4.5 and my ipchains failed. > So I upgraded to the latest (that I could find) ipchains-1.3.10, and > that also fails. > > Has anyone got any version of ipchains to work with

[patch] smbfs-2.4.6-pre3 - win95 flush & NetApp lastname

2001-06-18 Thread Urban Widmark
Hej A less painful workaround than what I added during 2.4.5-pre for the win9x-lies-about-filesizes-on-open-files problem. Replaces constant flush'es with seek to end, and only when necessary. Also, a fix where smbfs doesn't follow protocol and fails to return 'lastname' for all "infolevels",

Re: [PATCH] devfs v181 available

2001-06-18 Thread Richard Gooch
Alexander Viro writes: > > > On Mon, 18 Jun 2001, Richard Gooch wrote: > > > > Irrelevant. BKL provides an exclusion only on non-blocking areas. > > > > Yeah, I know all that. > > So what the hell are you talking about? Never mind. We seem to be talking at cross purposes. We both know how

HTFS (SCO OpenServer 5) filesystem support

2001-06-18 Thread Andrzej Dereszowski
Hello If someone wants to mount HTFS (SCO Open Server 5) filesystem (read-only), here is a module to allow this: http://deresz.dhs.org/~deresz/filesystems/htfs_fs/htfs_fs-0.01alpha.tar.bz2 deresz -- [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: sis630 - help needed debugging in the kernel

2001-06-18 Thread René Rebe
On Sun, 17 Jun 2001 07:03:55 -0700 (PDT) James Simmons <[EMAIL PROTECTED]> wrote: [...] > Yes. It oops in fbcon_cfb8_putc. I haven't figured out yet what exactly > caused it. I don't have this card to play with :-( Did you run the other > test I suggested. Never arrived here :-(. (Pleas cc me,

[PATCH] 2.4.4 PCI FBB

2001-06-18 Thread Grant Grundler
Hi Ivan, Jeff, Appended is the 2.4.4 patch for PCI Fast Back-Back (FBB) support. Could you please review/comment on it? Some caveats/notes: o Since I'm on the road (visiting relatives in Germany mostly, currently in Zurich), I'm only able to verify it boots on my Omnibook 800. PA-RISC port

Re: getrusage vs /proc/pid/stat?

2001-06-18 Thread Pete Wyckoff
[EMAIL PROTECTED] said: > I'd like to monitor CPU, memory, and I/O utilization in a > long-running multithreaded daemon under kernels 2.2, 2.4, > and possibly also Solaris (#ifdefs are ok). > > getrusage() looked promising, and might even work for CPU utilization. > Dunno if it returns info for

Re: Looking for ifenslave.c

2001-06-18 Thread Thomas Davis
PALFFY Daniel wrote: > > On Thu, 14 Jun 2001, Thomas Davis wrote: > > > Guus, there isn't a really official version of it.. > > > > At http://pdsf.nersc.gov/linux/ifenslave.c is the last version I > > produced, that works with bonding in v2.2 and v2.4 kernels. > > > Guus Sliepen wrote: > > > >

Re: very strange (semi-)lockups in 2.4.5

2001-06-18 Thread Albert D. Cahalan
Pozsar Balazs writes: > I'm having ~2 lockups a day. The following happens: > If I was under X, i only can use the magic-key, but no other keyboard (eg > numlock) or mouse response, the screen freezes, processes stop. > If i was using textmode: > numlock still works > cursor blinks >

2.2.20pre3aa1

2001-06-18 Thread Andrea Arcangeli
Diff between 2.2.20pre2aa1 and 2.2.20pre3aa1 (besides moving on top of 2.2.20pre3 that notably fixes the ptrace local DoS races): Only in 2.2.20pre2aa1: 00_andi-mark_bh-1 Merged in 2.2.20pre3. Only in 2.2.20pre3aa1:

Re: ipchains

2001-06-18 Thread D. Stimits
Ted Gervais wrote: > > I just ran into something odd. To me anyways, it was odd. > I just installed and brought up kernel 2.4.5 and my ipchains failed. > So I upgraded to the latest (that I could find) ipchains-1.3.10, and > that also fails. > > Has anyone got any version of ipchains to work

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Andrea Arcangeli
On Mon, Jun 18, 2001 at 01:44:29PM -0300, Rik van Riel wrote: > On Mon, 18 Jun 2001, Andrea Arcangeli wrote: > > On Mon, Jun 18, 2001 at 11:54:09AM -0300, Rik van Riel wrote: > > > YOUR PATCH fixes a real bug, true. But that wasn't > > > what German was complaining about ;) > > > > How did you

Re: Simple example of using slab allocator?

2001-06-18 Thread Andreas Dilger
Matthew Dharm writes: > For 2.5, I'm planning on switching my driver over to the slab allocator, > for a variety of reasons. Does anyone have a _dead_ simple example of how > to use such a beast? I've seen the various web pages and document > explaining the API, but I love to see working

Re: [PATCH] devfs v181 available

2001-06-18 Thread Alexander Viro
On Mon, 18 Jun 2001, Richard Gooch wrote: > > Irrelevant. BKL provides an exclusion only on non-blocking areas. > > Yeah, I know all that. So what the hell are you talking about? > > _Moved_ them there from the callers of these functions. And AFAICS > > you do need BKL for

Re: Client receives TCP packets but does not ACK

2001-06-18 Thread Jonathan Morton
> > Btw: can the aplication somehow ask the tcp/ip stack what was >actualy acked? >> (ie. how many bytes were acked). > >no, but it's not necessarily a useful number anyhow -- because it's >possible that the remote end ACKd bytes but the ACK never arrives. so you >can get into a situation

Re: ps2 keyboard filter hook

2001-06-18 Thread Dan Streetman
>I find it very odd indeed with IBM's big voice of open source >praise, yada yada, and what Lou has said in the past, that there >would be any question at all of wether it would be open source or >not. Isn't big blue behind open source? Or is it just for >publicity? Makes me wonder now...

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Rik van Riel
On Mon, 18 Jun 2001, Andrea Arcangeli wrote: > On Mon, Jun 18, 2001 at 11:54:09AM -0300, Rik van Riel wrote: > > YOUR PATCH fixes a real bug, true. But that wasn't > > what German was complaining about ;) > > How did you know that before he made his first reply to my email? Because he started

Re: ipchains

2001-06-18 Thread Fabian Arias
ronto:~# uname -r 2.4.5-ac15 ronto:~# ipchains --version ipchains 1.3.10, 1-Sep-2000 ronto:~# ipchains -L Chain input (policy ACCEPT): target prot opt sourcedestination ports DENY all l- pD951B780.dip.t-dialin.net anywhere n/a DENY all l-

Re: Client receives TCP packets but does not ACK

2001-06-18 Thread dean gaudet
On Mon, 18 Jun 2001, Jan Hudec wrote: > Btw: can the aplication somehow ask the tcp/ip stack what was actualy acked? > (ie. how many bytes were acked). no, but it's not necessarily a useful number anyhow -- because it's possible that the remote end ACKd bytes but the ACK never arrives. so you

Re: Error in documentation?

2001-06-18 Thread Steven Walter
It does appear that the documentation regarding this is out of date. However, you can still install modules to a given location by: INSTALL_MOD_PATH="/path/to/modules" make modules_install Had to dig through the Makefile for that, though it may actually be documented somewhere. On Mon, Jun 18,

ipchains

2001-06-18 Thread Ted Gervais
I just ran into something odd. To me anyways, it was odd. I just installed and brought up kernel 2.4.5 and my ipchains failed. So I upgraded to the latest (that I could find) ipchains-1.3.10, and that also fails. Has anyone got any version of ipchains to work with the new(er) kernels? --- Doubt

[PATCH] Support for SRM environment variables through procfs

2001-06-18 Thread Jan-Benedict Glaw
Hi! I've found a patch on Compaq's Jumpstart-CD which provides access to SRM'S environment variables. I've ported that patch to 2.4.x and here's the patch. Please test it. However, I've not got an Alpha system booting via SRM handy so this patch is untested:-( MfG, JBG -- Fehler eingestehen,

Re: problem with write() to a socket and EPIPE

2001-06-18 Thread Richard B. Johnson
On Mon, 18 Jun 2001 [EMAIL PROTECTED] wrote: > Hello, > > I've the following problem. > If the peer has closed its socket connection the second write to this > socket should return -1 and errno should be set to EPIPE (if SIGPIPE is > set > to be ignored). This never happens with my code.

Re: Unresolved symbol do_softirq in 2.4.6-pre3

2001-06-18 Thread Jeff Chua
On Mon, 18 Jun 2001, Mohammad A. Haque wrote: > On Mon, 18 Jun 2001, Anuradha Ratnaweera wrote: > > > I started running 2.4.6-pre3 using the same configuration file as 2.4.5. > > Diff shows no effective differences between two config files. > > > > depmod complains unresolved symbols

Re: [PATCH] devfs v181 available

2001-06-18 Thread Richard Gooch
Alexander Viro writes: > On Mon, 18 Jun 2001, Richard Gooch wrote: > > Alexander Viro writes: > > > On Mon, 18 Jun 2001, Richard Gooch wrote: > > > > - Widened locking in and > > > > > > No, you hadn't. Both vfs_readlink() and vfs_follow_link() are blocking > > > functions, so BKL is worthless

Error in documentation?

2001-06-18 Thread Geoffrey Gallaway
linux/Documentation/modules.txt says that I should find my modules in "linux/modules" after running "make modules". However, this is apparently not true as I see no modules directory. I am trying to compile a kernel with lots of modules for a machine without a network connection. To move the

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Andrea Arcangeli
On Mon, Jun 18, 2001 at 11:54:09AM -0300, Rik van Riel wrote: > YOUR PATCH fixes a real bug, true. But that wasn't > what German was complaining about ;) How did you know that before he made his first reply to my email? Andrea - To unsubscribe from this list: send the line "unsubscribe

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Rik van Riel
On Mon, 18 Jun 2001, Andrea Arcangeli wrote: > > which is now a lot closer to being balanced. It's not a bug, > > wrong, that was a core showstopper bug and it renders any > machine with a zone empty unusable. (it has nothing to do with > beauty or stats) YOUR PATCH fixes a real bug, true. But

problem with write() to a socket and EPIPE

2001-06-18 Thread oliver . kowalke
Hello, I've the following problem. If the peer has closed its socket connection the second write to this socket should return -1 and errno should be set to EPIPE (if SIGPIPE is set to be ignored). This never happens with my code. Why? OS: Linux (Debian 2.2r3) kernel: 2.4.4 compiler:

Re: Unresolved symbol do_softirq in 2.4.6-pre3

2001-06-18 Thread Mohammad A. Haque
On Mon, 18 Jun 2001, Anuradha Ratnaweera wrote: > I started running 2.4.6-pre3 using the same configuration file as 2.4.5. > Diff shows no effective differences between two config files. > > depmod complains unresolved symbols (do_softirq) in ppp_generic, ppp_async > and sunrpc. > Please check

Re: spindown [was Re: 2.4.6-pre2, pre3 VM Behavior]

2001-06-18 Thread Daniel Phillips
On Sunday 17 June 2001 12:05, Mike Galbraith wrote: > It _juuust_ so happens that I was tinkering... what do you think of > something like the below? (and boy do I ever wonder what a certain > box doing slrn stuff thinks of it.. hint hint;) It's too subtle for me ;-) (Not shy about sying that

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Andrea Arcangeli
On Mon, Jun 18, 2001 at 10:43:14AM -0300, Rik van Riel wrote: > On Mon, 18 Jun 2001, Andrea Arcangeli wrote: > > > either apply this patch to 2.4.5ac15: > > > > >ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.5aa3/00_fix-unusable-vm-on-alpha-1 > > That one has

Re: your mail

2001-06-18 Thread Jan Hudec
> So it seems that PnP finds the card, but the connections (or even the > forced values) to the sb module fail. Back when this was a single > processor machine, but still running 2.4 kernel, a windoze > installation found the SB at the listed interface parameters. > > > Anyone have a solution?

Re: pivot_root from non-interactive script

2001-06-18 Thread Andreas Schwab
Ralph Jones <[EMAIL PROTECTED]> writes: |> I have followed the instructions given in Documentation/initrd.txt with regard to |pivot_root, but am unable to unmount the filesystem, when everything is called from a |non-interactive script. |> |> ie. When I set a link from linuxrc to /bin/ash

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Andrea Arcangeli
On Mon, Jun 18, 2001 at 10:37:21AM -0300, Rik van Riel wrote: > Yes, this is expected behaviour with -ac14, -pre3 and newer. If that means anything that doesn't happen here based on pre3. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: APM, ACPI, and Wake on LAN - the bane of my existance

2001-06-18 Thread Alex Deucher
Pavel Machek wrote: > > Hi! > > > anything. So I removed the three pin cross connect that connects the > > card to the WOL header on the motherboard. That fixed it for a few > > days, but now it's doing it again, even without the cable installed. > > the only fix is to unplug the ethernet

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Andrea Arcangeli
On Mon, Jun 18, 2001 at 03:34:43PM +0200, Luigi Genoni wrote: > Maybe there could be some HW related reason because of which it fixed for yes, most probably he didn't had any zone empty so the fix couldn't make a difference for him. German, can you confirm? (if you don't know what it means just

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Rik van Riel
On Mon, 18 Jun 2001, Andrea Arcangeli wrote: > either apply this patch to 2.4.5ac15: > > >ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.5aa3/00_fix-unusable-vm-on-alpha-1 That one has already been fixed in -pre3 and I think also in -ac14+ kernels (haven't

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Rik van Riel
On Mon, 18 Jun 2001, German Gomez Garcia wrote: > I've running 2.4.5-ac15 for almost a day (22 hours) and I found > some strange behaviour of the kswap, at least it was not present in > 2.4.5-ac9. The swap memory increase with time as the cache dedicated > memory also increase, that is

Re: [docPATCH] mm.h documentation

2001-06-18 Thread Pete Wyckoff
[EMAIL PROTECTED] said: > typedef struct page { [..] > + unsigned long index;/* Our offset within mapping. */ [..] > + * A page may belong to an inode's memory mapping. In this case, > + * page->mapping is the pointer to the inode, and page->offset is the > + * file offset of

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Luigi Genoni
On Mon, 18 Jun 2001, German Gomez Garcia wrote: > On Mon, 18 Jun 2001, Andrea Arcangeli wrote: > > > On Mon, Jun 18, 2001 at 12:14:01PM +0200, German Gomez Garcia wrote: > > > Hello, > > > > > > I've running 2.4.5-ac15 for almost a day (22 hours) and I found > > > some strange behaviour of

Re: New Linux Drivers - Configure question

2001-06-18 Thread Chakir Ettayebi
yes On Mon, 18 Jun 2001, Modular Forms Boy wrote: > > I am working on a new framebuffer driver for an LCD controller that's > custom to the PowerPC embedded world. As such, it's architecture > dependent. Where should I place the driver in the tree, and how should I > set up the proper

Re: Can't free the ramdisk (initrd, pivot_root)

2001-06-18 Thread Ralph Jones
On Sun Apr 15 2001 - 15:57:52, EST Amit D Chaudhary ([EMAIL PROTECTED]) wrote: > On the same topic, I have not found any change in free memory reported before > and after the ioctl call. Though umount /initrd does free around 2 MB. I have found the same thing - that umount /initrd seems to

Unresolved symbol do_softirq in 2.4.6-pre3

2001-06-18 Thread Anuradha Ratnaweera
Hi all, I started running 2.4.6-pre3 using the same configuration file as 2.4.5. Diff shows no effective differences between two config files. depmod complains unresolved symbols (do_softirq) in ppp_generic, ppp_async and sunrpc. do_softirq is listed in System.map-2.4.6-pre3. I started with

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread German Gomez Garcia
On Mon, 18 Jun 2001, Andrea Arcangeli wrote: > On Mon, Jun 18, 2001 at 12:14:01PM +0200, German Gomez Garcia wrote: > > Hello, > > > > I've running 2.4.5-ac15 for almost a day (22 hours) and I found > > some strange behaviour of the kswap, at least it was not present in > > 2.4.5-ac9.

Re: Linux/PPC maintainer changing

2001-06-18 Thread Paul Mackerras
Cort has put in an enormous amount of time and effort into maintaining the PowerPC port of Linux over the past 5 or 6 years, and I for one would like to acknowledge that publicly and thank him for that. It has not always been an easy task, I know, because there are a wide range of opinions

pivot_root from non-interactive script

2001-06-18 Thread Ralph Jones
Greetings, I have followed the instructions given in Documentation/initrd.txt with regard to pivot_root, but am unable to unmount the filesystem, when everything is called from a non-interactive script. ie. When I set a link from linuxrc to /bin/ash and then manually go through the commands

New Linux Drivers - Configure question

2001-06-18 Thread Modular Forms Boy
I am working on a new framebuffer driver for an LCD controller that's custom to the PowerPC embedded world. As such, it's architecture dependent. Where should I place the driver in the tree, and how should I set up the proper Configure options? Where do I put checks for #ifdef

Re: Strange behaviour of swap under 2.4.5-ac15

2001-06-18 Thread Andrea Arcangeli
On Mon, Jun 18, 2001 at 12:14:01PM +0200, German Gomez Garcia wrote: > Hello, > > I've running 2.4.5-ac15 for almost a day (22 hours) and I found > some strange behaviour of the kswap, at least it was not present in > 2.4.5-ac9. The swap memory increase with time as the cache

i810 audio problem

2001-06-18 Thread Delio Brignoli
Switching from 2.4.2 to 2.4.5 breaks i810_audio on my intel MX440 based notebook: After some (in fact a few) seconds of playback it gets stuck until the app closes and reopens /dev/dsp. (I do NOT use esd) I tried 2.4.4 and 2.4.5 (and the ac patches on both) but it does't work anyway. Jun 18

Re: Client receives TCP packets but does not ACK

2001-06-18 Thread Jan Hudec
> > TCP is NOT a guaranteed protocol -- you can't just blast data from one > port > > to another and expect it to work. > > Isn't it? Are you really sure about that? I thought UDP was the > not-guaranteed-one and TCP was the one guaranting that all data reaches the > other end in order and all.

  1   2   3   >