Re: [OT]: DRI doesn't work on 2.4.0 but does on prerelease-ac5

2001-01-09 Thread Alan Olsen
On Mon, 8 Jan 2001, J Sloan wrote: > This is a little OT for linux-kernel, but I'll take a swing at it > since I'm running 2.4 and Xfree 4 with a voodoo 3. > > After upgrading to Red Hat 7.0, I noticed 3D screensavers > and Quake 3 Arena were dog slow - in the end, I basically > had to make sure

Re: 2.2 vs. 2.4 benchmarks

2001-01-09 Thread Helge Hafting
Chris Evans wrote: > > Hi, > > I ran some 2.2 vs. 2.4 benchmarks, particularly in the area of file i/o, > using bonnie++. > > The machine is a SMP 128Mb PII-350 with a udma2 drive capable of some > 20Mb/sec+. Kernels involved are 2.4.0, and the default RH7.0 kernel > (2.2.16 plus more patches t

Failure building 2.4 while running 2.4. Success in building 2.4 while running 2.2.

2001-01-09 Thread Silviu Marin-Caea
I have RedHat7, glibc-2.2-9, gcc-2.96-69. I can build 2.4.0 while running kernel 2.2.16. If I try to rebuild 2.4.0 while running the new kernel, I get random compiler errors. It happens on two machines. One of them runs 2.4.0-test12, the other 2.4.0. Both of them with the updates above mentio

2.4.0-vmbigpatch compile problem

2001-01-09 Thread Boszormenyi Zoltan
Hi! PF_RSSTRIM is not declared anywhere either in the linux-2.4.0 sources or in the 2.4.0-vmbigpatch. Regards, Zoltan Boszormenyi - 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/lk

Re: [PATCH] hisax/sportster dependency error

2001-01-09 Thread Daniel Stodden
hi. Alan Cox <[EMAIL PROTECTED]> writes: > > > according to sportster.c:get_io_range, this appears to be perfectly > > > intentional, request_regioning 64x8 byte from 0x268 in 1024byte-steps. > > > > AFAIK, this is because the hardware is stupid and does decode the higher > > address lines. Th

Re: Journaling: Surviving or allowing unclean shutdown?

2001-01-09 Thread Roger Gammans
On Mon, Jan 08, 2001 at 12:02:49PM +, Stephen C. Tweedie wrote: > Right. There are two distinct meanings: > > 1) Do not write to this medium, ever (physical readonly); and > > 2) Do not allow modifications to the filesystem (logical readonly). > > The fact is that the kernel confuses the t

Re: kernel network problem ?

2001-01-09 Thread Helge Hafting
Nicolas Noble wrote: [...] As others have told already, this is the ECN problem. > I noticed the same bug. This is very weired, I can send a list of sites > which I can't connect anymore. You have a list? Send all of them a message stating that they ought to upgrade their firewalls which cause

Re: [PATCH] advansys.c: include missing restore_flags, etc

2001-01-09 Thread Alan Cox
> > save_flags(flags); > > cli(); > > @@ -9965,7 +9972,7 @@ > > } > > Err, according tho wise ppl on this list, this does not work on > MIPSes. The flags thing must stay in the same stackframe. Certainly doesnt work on sparc32, but then it didnt before. Inline it might - To unsubscrib

Re: [PATCH] advansys.c: include missing restore_flags, etc

2001-01-09 Thread Russell King
Arnaldo Carvalho de Melo writes: > Please consider applying, comments in the patch. Can't the following be fixed properly? > -STATIC int > +STATIC unsigned long > DvcEnterCritical(void) > { > -intflags; > +unsigned long flags; > > save_flags(flags); > cli(); Gues

Re: [PATCH] hisax/sportster dependency error

2001-01-09 Thread Alan Cox
> > Almost every 10bit decode ISA card is like that. You don't need to do the > > work. The PCI alloc rules already cover it. > > so, if i understand this correctly, since all offsets actually in use > are 1024B multiples the following would be sufficient, or more elegant..? PCI allocation rules

[testcase] madvise->semaphore deadlock 2.4.0

2001-01-09 Thread Mike Galbraith
Greetings, While trying to configure ftpsearch, the process hangs while running it's madvise confidence test below. It appears to be taking a fault in madvise_fixup_middle():atomic_add(2, &vma->vm_file->f_count) and immediately deadlocking forever on mm->mmap_sem per IKD. (Virgin 2.4.0 agrees)

Re: FS callback routines

2001-01-09 Thread Daniel Stodden
"Sean R. Bright" <[EMAIL PROTECTED]> writes: > Ok, before I begin, don't shoot me down, but I had an idea for a kernel > modification and was wondering how feasible the group thought it was. > > I was writing a user space application to monitor a folder's contents. The > folder itse

Re: Unified power management userspace policy

2001-01-09 Thread Andrew Morton
John Fremlin wrote: > > Hi all! > > At the moment there are two power management drivers in the linux > kernel (AFAIK). They each have different userspace interfaces -- > /proc/apm and /dev/apmctl and /proc/sys/acpi/events or something. This > is not altogether bad, but as they do the same thing

Re: `rmdir .` doesn't work in 2.4

2001-01-09 Thread Eric Lammerts
On Tue, 9 Jan 2001, Stefan Traby wrote: > "rmdir `pwd`" is required to fail (at least under csh, bash, ksh) if the > path component contains a white space and thereof it can't be a valid > replacement for Andreas "rmdir ." which was what Al initially suggested. > > Yes, I'm very pickey about that

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread David S. Miller
Date: Tue, 9 Jan 2001 11:31:45 +0100 From: Christoph Hellwig <[EMAIL PROTECTED]> Yuck. A new file_opo just to get a few benchmarks right ... I hope the writepages stuff will not be merged in Linus tree (but I wish the code behind it!) It's a "I know how to send a page somewhere

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Ingo Molnar
On Mon, 8 Jan 2001, Rik van Riel wrote: > I really think the zerocopy network stuff should be ported to kiobuf > proper. yep, we talked to Stephen Tweedie about this already, but it involves some changes in kiovec support and we didnt want to touch too much code for 2.4. In any case, the zeroco

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Christoph Hellwig
On Tue, Jan 09, 2001 at 11:23:41AM +0100, Ingo Molnar wrote: > > On Mon, 8 Jan 2001, Rik van Riel wrote: > > > I really think the zerocopy network stuff should be ported to kiobuf > > proper. > > yep, we talked to Stephen Tweedie about this already, but it involves some > changes in kiovec supp

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Ingo Molnar
On Tue, 9 Jan 2001, Christoph Hellwig wrote: > > 2.4. In any case, the zerocopy code is 'kiovec in spirit' (uses > > vectors of struct page *, offset, size entities), > Yep. That is why I was so worried aboit the writepages file op. i believe you misunderstand. kiovecs (in their current form)

Re: FS callback routines

2001-01-09 Thread Philipp Matthias Hahn
On Mon, 8 Jan 2001, Sean R. Bright wrote: > I was writing a user space application to monitor a folder's contents. The > folder itself contained 100 folders, and each of those contained 24 folders. > While writing the code to traverse the directory structure I realized that > instead of my softw

PROBLEM: loop device doesnt reset it's flags

2001-01-09 Thread David Tritscher
[1.] The loop device doesnt seem to reset it's read-only status after it gets used on a file that is on a read-only filesystem. [6.] (Pretty chopped up, but it demonstrates the problem) # mount /dev/hda1 on / type reiserfs (rw) /dev/scd0 on /mnt/cdrom type iso9660 (ro,noexec,nosuid,nodev,sync,

Re: Subtle MM bug (really 830MB barrier question)

2001-01-09 Thread Dan Maas
> 08048000-08b5c000 r-xp 03:05 1130923 /tmp/newmagma/magma.exe.dyn > 08b5c000-08cc9000 rw-p 00b13000 03:05 1130923 /tmp/newmagma/magma.exe.dyn > 08cc9000-0bd0 rwxp 00:00 0 > Now, subsequent to each memory allocation, only the second number in the > third line changes. It be

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Christoph Hellwig
On Tue, Jan 09, 2001 at 02:31:13AM -0800, David S. Miller wrote: >Date: Tue, 9 Jan 2001 11:31:45 +0100 >From: Christoph Hellwig <[EMAIL PROTECTED]> > >Yuck. A new file_opo just to get a few benchmarks right ... I >hope the writepages stuff will not be merged in Linus tree (but I

Re: [PATCH] hashed device lookup (New Benchmarks)

2001-01-09 Thread Andi Kleen
On Mon, Jan 08, 2001 at 04:23:41PM +0100, Ben Greear wrote: > I don't argue that ifconfig shouldn't be fixed, but the hash speeds up It's already fixed since months. There was one stupid algorithm, which I was to blame for when I changed ifconfig to use a device list two years ago. At that time I

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread David S. Miller
Date: Tue, 9 Jan 2001 12:28:10 +0100 From: Christoph Hellwig <[EMAIL PROTECTED]> Sure. But sendfile is not one of the fundamental UNIX operations... It's a fundamental Linux interface and VFS-->networking interface. An alloc_kiovec before and an free_kiovec after the actual call

Problem compiling linux-2.4.0 for Athlon/K7

2001-01-09 Thread Walter Mueller
Hello, if Athlon/K7 is selected as processor type i get the following error messages when compiling make -C kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.x/linux-2.4.0/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march

Re: Benchmarking 2.2 and 2.4 using hdparm and dbench 1.1

2001-01-09 Thread Anton Blanchard
> Where is the size defined, and is it easy to modify? Look in fs/buffer.c:buffer_init() > I noticed that /proc/sys/vm/freepages is not writable any more. Is there > any reason for this? I am not sure why. > Hmm... I'm still using samba 2.0.7. I'll try 2.2 to see if it > helps. What are

Re: [testcase] madvise->semaphore deadlock 2.4.0

2001-01-09 Thread Andrew Morton
Mike Galbraith wrote: > > Greetings, > > While trying to configure ftpsearch, the process hangs while running > it's madvise confidence test below. It appears to be taking a fault > in madvise_fixup_middle():atomic_add(2, &vma->vm_file->f_count) and > immediately deadlocking forever on mm->mmap

Re: [PATCH] advansys.c: include missing restore_flags, etc

2001-01-09 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 09, 2001 at 08:30:07AM +0100, Pauline Middelink escreveu: > > +STATIC unsigned long > > DvcEnterCritical(void) > > { > > -intflags; > > +unsigned long flags; > > > > save_flags(flags); > > cli(); > > @@ -9965,7 +9972,7 @@ > > } > > Err, according tho wise pp

Re: `rmdir .` doesn't work in 2.4

2001-01-09 Thread Andries . Brouwer
> I trust your specs said so, however I'm not sure which are the specs > we should follow for Linux. > At least for LFS 2.2.x fixage I always followed the SuSv2 specs We are Linux, and free to do whatever we want. However, following POSIX makes a large body of software available. It would be ver

Re: Confirmation request about new 2.4.x. kernel limits

2001-01-09 Thread Matti Aarnio
On Mon, Jan 08, 2001 at 11:11:05PM -0500, Venkatesh Ramamurthy wrote: > > > Max. RAM size: 64 GB (any slowness accessing RAM over 4 GB > > with 32 bit machines ?) > more than 4GB in RAM is bounce buffered, so there is performance > penalty as the da

Re: Which Bind version..

2001-01-09 Thread Michael H. Warfield
On Mon, Jan 08, 2001 at 12:56:37PM +0500, Mike wrote: > Hi!! > I wanna install Bind on my DNS. Which Bind version is most stabel and > secure. 9.0.1 is the latest release in the 9.x series and if you are interested in "SecureDNS", that's the way to go. I'm currently running 9.1.0beta2,

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Ingo Molnar
On Tue, 9 Jan 2001, Christoph Hellwig wrote: > Sure. But sendfile is not one of the fundamental UNIX operations... Neither were eg. kernel-based semaphores. So what? Unix wasnt perfect and isnt perfect - but it was a (very) good starting point. If you are arguing against the existence or impor

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Ingo Molnar
On Mon, 8 Jan 2001, David S. Miller wrote: >All I am asking is that someone lets me know if they make major >changes to my code so I can keep track of whats happening. > > We have not made any major changes to your code, in lieu of this > not being code which is actually being submitted

Re: Subtle MM bug

2001-01-09 Thread Zlatko Calusic
Linus Torvalds <[EMAIL PROTECTED]> writes: > On 8 Jan 2001, Eric W. Biederman wrote: > > > Zlatko Calusic <[EMAIL PROTECTED]> writes:> > > > > > > Yes, but a lot more data on the swap also means degraded performance, > > > because the disk head has to seek around in the much bigger area. Are >

Re: kernel network problem ?

2001-01-09 Thread Steven N. Hirsch
On Tue, 9 Jan 2001, Helge Hafting wrote: > Nicolas Noble wrote: > [...] > As others have told already, this is the ECN problem. > > > I noticed the same bug. This is very weired, I can send a list of sites > > which I can't connect anymore. > > You have a list? Send all of them a message stat

[PATCH] ad1848.c: include missing restore_flags

2001-01-09 Thread Arnaldo Carvalho de Melo
Alan, Please apply. - Arnaldo --- linux-2.4.0-ac4/drivers/sound/ad1848.c Thu Aug 24 07:40:05 2000 +++ linux-2.4.0-ac4.acme/drivers/sound/ad1848.c Tue Jan 9 08:55:58 2001 @@ -28,6 +28,7 @@ * of irqs. Use dev_id. * Christoph Hellwig : adapted to module_in

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Stephen Landamore
Ingo Molnar wrote: > On Tue, 9 Jan 2001, Christoph Hellwig wrote: > >> Sure. But sendfile is not one of the fundamental UNIX operations... > > Neither were eg. kernel-based semaphores. So what? Unix wasnt > perfect and isnt perfect - but it was a (very) good starting > point. If you are arguing a

Re: FS callback routines

2001-01-09 Thread Daniel Phillips
"Michael D. Crawford" wrote: > > Regarding notification when there's a change to the filesystem: > > This is one of the most significant things about the BeOS BFS filesystem, and > something I'd dearly love to see Linux adopt. It makes an app very efficient, > you just get notified when a direc

Re: Subtle MM bug

2001-01-09 Thread Eric W. Biederman
Linus Torvalds <[EMAIL PROTECTED]> writes: > On 8 Jan 2001, Eric W. Biederman wrote: > > > Zlatko Calusic <[EMAIL PROTECTED]> writes:> > > > > > > Yes, but a lot more data on the swap also means degraded performance, > > > because the disk head has to seek around in the much bigger area. Are >

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Ingo Molnar
On Tue, 9 Jan 2001, Stephen Landamore wrote: > >> Sure. But sendfile is not one of the fundamental UNIX operations... > > Neither were eg. kernel-based semaphores. So what? Unix wasnt > Ehh, that's not correct. HP-UX was the first to implement sendfile(). i dont think we disagree. What i was

Re: [testcase] madvise->semaphore deadlock 2.4.0

2001-01-09 Thread Mike Galbraith
On Tue, 9 Jan 2001, Andrew Morton wrote: > Mike Galbraith wrote: > > > > Greetings, > > > > While trying to configure ftpsearch, the process hangs while running > > it's madvise confidence test below. It appears to be taking a fault > > in madvise_fixup_middle():atomic_add(2, &vma->vm_file->f_

Re: kernel network problem ?

2001-01-09 Thread Alan Cox
> trouble report. The person I spoke with did NOT try to defend their > setup, but it was made clear that they'll do nothing until Windows breaks. > > If I were packaging a Linux distribution, I'd be sure to have ECN disabled > by default, FWIW. Probably the case. However the more people who pe

Re: Broken tty handling

2001-01-09 Thread Blu3Viper
Drat it, don't you hate it when you get around to reporting a long standing bug and it's already fixed. Thank you, -d - 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: `rmdir .` doesn't work in 2.4

2001-01-09 Thread Alexander Viro
On Mon, 8 Jan 2001, Stefan Traby wrote: > On Mon, Jan 08, 2001 at 12:58:20PM -0500, Alexander Viro wrote: > > > Shell equivalent is rmdir `pwd`. Also portable. > > Very portable - not. > > rmdir "`pwd`" !!! OK, got me on that. Yes, you'll need quoting here. Sorry. Notice that there

Re: `rmdir .` doesn't work in 2.4

2001-01-09 Thread Jesse Pollard
- Received message begins Here - > > Hello Al, > > why `rmdir .` is been deprecated in 2.4.x? I wrote software that depends on > `rmdir .` to work (it's local software only for myself so I don't care that it > may not work on unix) and I'm getting flooded by failing cronjobs

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Andrew Morton
Ingo Molnar wrote: > > On Tue, 9 Jan 2001, Stephen Landamore wrote: > > > >> Sure. But sendfile is not one of the fundamental UNIX operations... > > > > Neither were eg. kernel-based semaphores. So what? Unix wasnt > > > Ehh, that's not correct. HP-UX was the first to implement sendfile(). >

Re: kernel network problem ?

2001-01-09 Thread Gregory Maxwell
On Tue, Jan 09, 2001 at 01:32:49PM +, Alan Cox wrote: > > If I were packaging a Linux distribution, I'd be sure to have ECN disabled > > by default, FWIW. > > Probably the case. However the more people who pester the faulty sites the > better. Did you ask the person how many reports he needed

[PATCH] sscape.c: include missing restore_flags

2001-01-09 Thread Arnaldo Carvalho de Melo
Alan, Please apply. - Arnaldo --- linux-2.4.0-ac4/drivers/sound/sscape.c Mon Jan 8 20:39:30 2001 +++ linux-2.4.0-ac4.acme/drivers/sound/sscape.c Tue Jan 9 09:16:39 2001 @@ -16,6 +16,7 @@ * Christoph Hellwig : adapted to module_init/module_exit * Bartlomiej Zolnierkiewicz :

Re: [PATCH] hashed device lookup (Does NOT meet Linus' sumissionpolicy!)

2001-01-09 Thread Blu3Viper
> Actually if you count arp which is also part of ip; ip becomes smaller > by about 15K. ...i always forget some small detail. thx -d - 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.or

2.4.0 bug in SHM an via-rhine or is it my fault?

2001-01-09 Thread Felix Maibaum
Hi folks! I searched the kernel archives for information on this at least half a yearback but I found only one article on the subject and that was never replied to: I'm using a via-rhine chip (DFE-530TX) on a 10 Mbit network, I use 2.4.0 final, Athlon (classic) 1Gig, Abit-KA7 mobo (via KX133), D

Re: [PATCH] cramfs is ro only, so honour this in inode->mode

2001-01-09 Thread Albert D. Cahalan
Shane Nay writes: > but the bits are useless in the "normal interpretation" of it, ... > But then you pull out the write bits, If you need to steal a bit, grab one that won't hurt. Take the owner's read bit. (owner may read own files) - To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH] More compile warning fixes for 2.4.0

2001-01-09 Thread Albert D. Cahalan
[about labels w/o statements after them] >> Is this really a kernel bug? This is common idiom in C, so gcc >> shouldn't warn about it. If it does, it is a bug in gcc IMHO. > > No, it is not a common idiom in C. It has _never_ been valid C. > > GCC originally allowed it due to a mistake in the gr

Re: Unified power management userspace policy

2001-01-09 Thread John Fremlin
Hi! Andrew Morton <[EMAIL PROTECTED]> writes: > Could you please use call_usermodehelper() in this patch > rather than exec_usermodehelper()? I want to kill > exec_usermodehelper() sometime. The reason I used exec_usermodehelper is that I wanted to waitpid on the process to see how it exited

Re: `rmdir .` doesn't work in 2.4

2001-01-09 Thread Stephen C. Tweedie
Hi, On Tue, Jan 09, 2001 at 01:01:25AM +0100, Andrea Arcangeli wrote: > On Mon, Jan 08, 2001 at 03:27:21PM -0800, Linus Torvalds wrote: > > However, it is against all UNIX standards, and Linux-2.4 will explicitly > > I may be missing something but apparently SuSv2 allows it, you can check here:

Re: `rmdir .` doesn't work in 2.4

2001-01-09 Thread Albert D. Cahalan
Alexander Viro writes: > [...] If you really need to destroy the directory > that happens to be your pwd - sorry, no reliable way to do that without > interesting locking. On _any_ UNIX out there. 2.2 included. It will > happily give you -ENOENT and refuse to perform the action above in > case if

Re: `rmdir .` doesn't work in 2.4

2001-01-09 Thread Stephen C. Tweedie
Hi, On Mon, Jan 08, 2001 at 09:28:33PM +0100, Andrea Arcangeli wrote: > On Mon, Jan 08, 2001 at 12:58:20PM -0500, Alexander Viro wrote: > > It's a hell of a pain wrt locking. You need to lock the parent, but it can > > This is a no-brainer and bad implementation, but shows it's obviously right >

Re: Network Performance?

2001-01-09 Thread Tim Sailer
On Mon, Jan 08, 2001 at 07:07:18PM +0100, Erik Mouw wrote: > I had similar problems two weeks ago. Turned out the connection between > two switches: one of them was hard wired to 100Mbit/s full duplex, the > other one to 100Mbit/s half duplex. Just to rule out the obvious... We check that as the

Re: 2.4.0 bug in SHM an via-rhine or is it my fault?

2001-01-09 Thread Nils Philippsen
On Tue, 9 Jan 2001, Felix Maibaum wrote: > My SHM stopped working! > everything was fine in test12, and after that all I got was "no space > left on device". > Has anything changed that one should know about? I mounted shm like it's > written in the help, and on a friends celeron SMP machine it w

Re: FS callback routines

2001-01-09 Thread Jesse Pollard
Daniel Phillips <[EMAIL PROTECTED]>: > "Michael D. Crawford" wrote: > > > > Regarding notification when there's a change to the filesystem: > > > > This is one of the most significant things about the BeOS BFS filesystem, and > > something I'd dearly love to see Linux adopt. It makes an app ver

Re: `rmdir .` doesn't work in 2.4

2001-01-09 Thread Andrea Arcangeli
On Tue, Jan 09, 2001 at 07:41:21AM -0600, Jesse Pollard wrote: > Not exactly valid, since a file could be created in that "pinned" directory > after the rmdir... In 2.2.x no file can be created in the pinned directory after the rmdir. Andrea - To unsubscribe from this list: send the line "unsubs

Re: Confirmation request about new 2.4.x. kernel limits

2001-01-09 Thread Stephen C. Tweedie
Hi, On Fri, Jan 05, 2001 at 11:46:04PM +0100, Pavel Machek wrote: > > > Max. file size: 1 TB(?) > > Max. file system size: 2 TB(?) > > Again, maybe on i386 with ext2. Actually, the 2TB limit affects all architectures, as we assume that block indexes fit

Re: Unified power management userspace policy

2001-01-09 Thread Andrew Morton
John Fremlin wrote: > > Hi! > > Andrew Morton <[EMAIL PROTECTED]> writes: > > > Could you please use call_usermodehelper() in this patch > > rather than exec_usermodehelper()? I want to kill > > exec_usermodehelper() sometime. > > The reason I used exec_usermodehelper is that I wanted to wai

Re: Confirmation request about new 2.4.x. kernel limits

2001-01-09 Thread Stephen C. Tweedie
Hi, On Mon, Jan 08, 2001 at 11:11:05PM -0500, Venkatesh Ramamurthy wrote: > > > Max. RAM size:64 GB (any slowness > accessing RAM over 4 GB > * with 32 bit machines ?) > Imore than 4GB in RAM is bounce buffered, so there is performance > penalty as the d

Re: VM subsystem bug in 2.4.0 ?

2001-01-09 Thread Stephen C. Tweedie
Hi, On Mon, Jan 08, 2001 at 04:30:10PM -0200, Rik van Riel wrote: > On Mon, 8 Jan 2001, Linus Torvalds wrote: > > > > The only solution I see is something like a "active_immobile" > > list, and add entries to that list whenever "writepage()" > > returns 1 - instead of just moving them to the act

Re: 2.4.0 bug in SHM an via-rhine or is it my fault?

2001-01-09 Thread Felix Maibaum
Nils Philippsen wrote: > reboot the machine or "echo 2097152 > /proc/sys/kernel/shmall". now thats what I call a quick response, thanks, it did the trick. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ

Re: [PATCH] cramfs is ro only, so honour this in inode->mode

2001-01-09 Thread Doug McNaught
"Albert D. Cahalan" <[EMAIL PROTECTED]> writes: > Shane Nay writes: > > > but the bits are useless in the "normal interpretation" of it, > ... > > But then you pull out the write bits, > > If you need to steal a bit, grab one that won't hurt. > Take the owner's read bit. (owner may read own fil

2.4.0-ac4 lockups

2001-01-09 Thread anders . karlsson
Hi, I'm currently running ROCK Linux 1.3.11 on a MiTAC 6033 laptop, XFree86 4.0.1 and the rest of the linux install is quite bleeding edge (I can find out version numbers for most things is needed). In this box there is a PCMCIA Token Ring card (IBM Turbo 16/4 PC Card 2) and to drive this, pcm

Re: `rmdir .` doesn't work in 2.4

2001-01-09 Thread Alexander Viro
On Tue, 9 Jan 2001, Jesse Pollard wrote: > Not exactly valid, since a file could be created in that "pinned" directory > after the rmdir... No, it couldn't (if you can show a testcase when it would - please do, you've found a bug). Moreover, busy directories can be removed in 2.4 quite fine -

[PATCH] via-macii.c: restore_flags on failure

2001-01-09 Thread Arnaldo Carvalho de Melo
Hi, Please consider applying. - Arnaldo --- linux-2.4.0-ac4/drivers/macintosh/via-macii.c Tue Dec 19 11:25:39 2000 +++ linux-2.4.0-ac4.acme/drivers/macintosh/via-macii.c Tue Jan 9 10:18:17 2001 @@ -9,6 +9,9 @@ * * Rewrite for Unified ADB by Joshua M. Thompson ([EMAIL PROTECT

Re: `rmdir .` doesn't work in 2.4

2001-01-09 Thread Jesse Pollard
> On Tue, 9 Jan 2001, Jesse Pollard wrote: > > > Not exactly valid, since a file could be created in that "pinned" directory > > after the rmdir... > > No, it couldn't (if you can show a testcase when it would - please do, you've > found a bug). Moreover, busy directories can be removed in 2.4

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread David S. Miller
From: Trond Myklebust <[EMAIL PROTECTED]> Date: 09 Jan 2001 14:52:40 +0100 I don't really want to be chiming in with another 'make it a kiobuf', but given that you already have written 'do_tcp_sendpages()' why did you make sock->ops->sendpage() take the single page as an argument

Re: adding a system call

2001-01-09 Thread Mihai Moise
> > What is the procedure for adding a new system call to the Linux kernel? > > hack away, the code's free. don't expect Linus to accept your > changes into the "real" kernel without a VERY good argument. I know. However the Kernel Hacker's Guide writes about sys.h. After a bit of exploring,

Re: Change of policy for future 2.2 driver submissions

2001-01-09 Thread Hubert Mantel
Hi, On Fri, Jan 05, Linus Torvalds wrote: [...] > But that's very different from having somebody like RedHat, SuSE or > Debian make such a kernel part of their standard package. No, I don't > expect that they'll switch over completely immediately: that would show > a lack of good judgement. The

Re: Change of policy for future 2.2 driver submissions

2001-01-09 Thread Alan Cox
> some official 2.2 kernel. In order to make it possible to switch between > kernel releases, every vendor now really is forced to integrate the new > RAID0.90 code to their 2.2 kernel. IMHO this code should be integrated to > the next official 2.2 kernel so people can use whatever they want. The

Re: VM subsystem bug in 2.4.0 ?

2001-01-09 Thread Christoph Rohland
Hi Stephen, On Tue, 9 Jan 2001, Stephen C. Tweedie wrote: > But again, how do you clear the bit? Locking is a per-vma property, > not per-page. I can mmap a file twice and mlock just one of the > mappings. If you get a munlock(), how are you to know how many > other locked mappings still exist

Re: adding a system call

2001-01-09 Thread David Woodhouse
[EMAIL PROTECTED] said: > What is the procedure for adding a new system call to the Linux > kernel? First: Convince people that it's necessary. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FA

Re: `rmdir .` doesn't work in 2.4

2001-01-09 Thread Alexander Viro
On Tue, 9 Jan 2001, Albert D. Cahalan wrote: > Alexander Viro writes: > > > [...] If you really need to destroy the directory > > that happens to be your pwd - sorry, no reliable way to do that without > > interesting locking. On _any_ UNIX out there. 2.2 included. It will > > happily give you

Re: Delay in authentication.

2001-01-09 Thread Chris Meadors
On Mon, 8 Jan 2001, Scott Laird wrote: > > Is syslog running correctly? When syslog screws up, it very frequently > results in this sort of problem. > I would guess that syslog is okay. I'm getting plenty of entries in my various logs, along with a few boxes remote logging into this server. A

Re: [PATCH] More compile warning fixes for 2.4.0

2001-01-09 Thread Richard B. Johnson
On Tue, 9 Jan 2001, Albert D. Cahalan wrote: > [about labels w/o statements after them] > > >> Is this really a kernel bug? This is common idiom in C, so gcc > >> shouldn't warn about it. If it does, it is a bug in gcc IMHO. > > > > No, it is not a common idiom in C. It has _never_ been valid C

RE: Confirmation request about new 2.4.x. kernel limits

2001-01-09 Thread Venkatesh Ramamurthy
> Any memory over 1GB is bounce-buffered, but we don't use that memory > for anything other than process data pages or file cache, so only > swapping and disk IO to regular files gets the extra copy. In > particular, things like network buffers are still all kept in the low > 1GB so never need to

Re: [PATCH] hashed device lookup (New Benchmarks)

2001-01-09 Thread Ben Greear
Andi Kleen wrote: > > On Mon, Jan 08, 2001 at 04:23:41PM +0100, Ben Greear wrote: > > I don't argue that ifconfig shouldn't be fixed, but the hash speeds up > > It's already fixed since months. There was one stupid algorithm, which > I was to blame for when I changed ifconfig to use a device lis

[PATCH] dn_keyb.c: restore_flags on failure

2001-01-09 Thread Arnaldo Carvalho de Melo
Alan, Please consider applying. I don't who is the maintainer, no references in the driver, CREDITS or MAINTAINERS - Arnaldo --- linux-2.4.0-ac4/drivers/char/dn_keyb.c Fri Jul 28 06:34:40 2000 +++ linux-2.4.0-ac4.acme/drivers/char/dn_keyb.c Tue Jan 9 10:32:17 2001 @@ -435,15 +435,

Re: Network Performance?

2001-01-09 Thread Tim Sailer
On Mon, Jan 08, 2001 at 01:40:57PM -0500, Craig I. Hagan wrote: > > 101 packets transmitted, 101 packets received, 0% packet loss > > round-trip min/avg/max = 109.6/110.3/112.2 ms > > > > > Does the problem occur in both directions? > > > > Good question. I'll find out. > > > > > Are you _sure_

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Alan Cox
> designing for them. Eg. if an IO operation (eg. streaming video webcast) > does a DMA from a camera card to an outgoing networking card, would it be Most mpeg2 hardware isnt set up for that kind of use. And webcast protocols like h.263 tend to be software implemented. Capturing raw video for

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Ingo Molnar
On Tue, 9 Jan 2001, Stephen C. Tweedie wrote: > > please study the networking portions of the zerocopy patch and you'll see > > why this is not desirable. An alloc_kiovec()/free_kiovec() is exactly the > > thing we cannot afford in a sendfile() operation. sendfile() is > > lightweight, the setup

Re: Failure building 2.4 while running 2.4. Success in building 2.4 while running 2.2.

2001-01-09 Thread Alessandro Suardi
Silviu Marin-Caea wrote: > > I have RedHat7, glibc-2.2-9, gcc-2.96-69. > > I can build 2.4.0 while running kernel 2.2.16. > > If I try to rebuild 2.4.0 while running the new kernel, I get random > compiler errors. > > It happens on two machines. One of them runs 2.4.0-test12, the other > 2.4.

Re: Failure building 2.4 while running 2.4. Success in building 2.4 while running 2.2.

2001-01-09 Thread Alan Cox
> I have RedHat7, glibc-2.2-9, gcc-2.96-69. Ditto > If I try to rebuild 2.4.0 while running the new kernel, I get random > compiler errors. Now I don't. What hardware are you using ? > It happens on two machines. One of them runs 2.4.0-test12, the other > 2.4.0. Both of them with the updates

Re: 2.4.0-ac3 write() to tcp socket returning errno of -3 (ESRCH:"No such process")

2001-01-09 Thread Paul Cassella
On Tue, 9 Jan 2001, Andrew Morton wrote: > is this still reproducible? If so can I send you a debugging > patch to diagnose a bit further? Yes to both. If I get a patch in the next hour or so, I can have it running before I go to work. Otherwise I won't be able to try it until this evening.

Re: Failure building 2.4 while running 2.4. Success in building 2.4

2001-01-09 Thread Alan Cox
> I know this isn't since I already built 2.4.0-ac2 and -ac3 on this > laptop and never got any compiler error :) > > [asuardi@princess asuardi]$ rpm -q glibc gcc > glibc-2.2-9 > gcc-2.96-69 > > random compiler errors => bad hardware. On two machines ? Yes. My guess is a bad driver. Two machin

Re: [rlug] Failure building 2.4 while running 2.4. Success inbuilding 2.4 while running 2.2.

2001-01-09 Thread Eugen
io am compilat 2.4.0 in timp ce rulam 2.4.0-test12 si a mers > > I can build 2.4.0 while running kernel 2.2.16. > > If I try to rebuild 2.4.0 while running the new kernel, I get random > compiler errors. > > It happens on two machines. One of them runs 2.4.0-test12, the other > 2.4.0. Both o

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Stephen C. Tweedie
Hi, On Tue, Jan 09, 2001 at 03:40:56PM +0100, Ingo Molnar wrote: > > i'd love to first see these kinds of applications (under Linux) before > designing for them. Things like Beowulf have been around for a while now, and SGI have been doing that sort of multimedia stuff for ages. I don't think

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Stephen Frost
* Ingo Molnar ([EMAIL PROTECTED]) wrote: > > On Tue, 9 Jan 2001, Stephen C. Tweedie wrote: > > > but it just doesn't apply when you look at some other applications, > > such as streaming out video data or performing fileserving in a > > high-performance compute cluster where you are serving bulk

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Trond Myklebust
> David S Miller <[EMAIL PROTECTED]> writes: >I would have thought one of the main interests of doing >something like this would be to allow us to speed up large >writes to the socket for ncpfs/knfsd/nfs/smbfs/... > This is what TCP_CORK/MSG_MORE et al. are al

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Stephen C. Tweedie
Hi, On Tue, Jan 09, 2001 at 11:23:41AM +0100, Ingo Molnar wrote: > > > Having proper kiobuf support would make it possible to, for example, > > do zerocopy network->disk data transfers and lots of other things. > > i used to think that this is useful, but these days it isnt. It's a waste > of P

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Stephen C. Tweedie
Hi, On Tue, Jan 09, 2001 at 01:04:49PM +0100, Ingo Molnar wrote: > > On Tue, 9 Jan 2001, Christoph Hellwig wrote: > > please study the networking portions of the zerocopy patch and you'll see > why this is not desirable. An alloc_kiovec()/free_kiovec() is exactly the > thing we cannot afford in

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Alan Cox
> Bad bad bad. We already have SCSI devices optimised for bandwidth > which don't approach decent performance until you are passing them 1MB > IOs, and even in networking the 1.5K packet limit kills us in some Even low end cheap raid cards like the AMI megaraid dearly want 128K writes. Its quite

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Trond Myklebust
> " " == David S Miller <[EMAIL PROTECTED]> writes: > I've put a patch up for testing on the kernel.org mirrors: > /pub/linux/kernel/people/davem/zerocopy-2.4.0-1.diff.gz . > Finally, regardless of networking card, there should be a > measurable performance boost fo

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-09 Thread Ingo Molnar
On Tue, 9 Jan 2001, Stephen C. Tweedie wrote: > > i used to think that this is useful, but these days it isnt. It's a waste > > of PCI bandwidth resources, and it's much cheaper to keep a cache in RAM > > instead of doing direct disk=>network DMA *all the time* some resource is > > requested. >

Re: VM subsystem bug in 2.4.0 ?

2001-01-09 Thread Stephen C. Tweedie
Hi, On Tue, Jan 09, 2001 at 03:53:55PM +0100, Christoph Rohland wrote: > > On Tue, 9 Jan 2001, Stephen C. Tweedie wrote: > > But again, how do you clear the bit? Locking is a per-vma property, > > not per-page. I can mmap a file twice and mlock just one of the > > mappings. If you get a munlo

Re: FS callback routines

2001-01-09 Thread Daniel Phillips
Jesse Pollard wrote: > Daniel Phillips <[EMAIL PROTECTED]>: > > This may be the most significant new feature in 2.4.0, as it allows us > > to take a fundamentally different approach to many different problems. > > Three that come to mind: mail (get your mail instantly without polling); > > make (d

  1   2   3   4   >