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

2001-01-08 Thread Stefan Traby
On Mon, Jan 08, 2001 at 03:28:29PM -0800, Linus Torvalds wrote: > But at least "rmdir `pwd`" is not _required_ to fail, like rmdir("."/".."). "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

Re: VM subsystem bug in 2.4.0 ?

2001-01-08 Thread Christoph Rohland
Hi Rik, On Mon, 8 Jan 2001, Rik van Riel wrote: > And when the bit changes again, the page can be evicted > from memory just fine. In the mean time, the locked pages > will also have undergone normal page aging and at unlock > time we know whether to swap out the page or not. > > I agree that

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

2001-01-08 Thread Pauline Middelink
On Tue, 09 Jan 2001 around 00:14:43 -0200, Arnaldo Carvalho de Melo wrote: > Hi, > > Please consider applying, comments in the patch. > > - Arnaldo > > > --- linux-2.4.0-ac4/drivers/scsi/advansys.c Mon Jan 8 20:39:28 2001 > +++ linux-2.4.0-ac4.acme/drivers/scsi/advansys.c Tue

Re: Subtle MM bug

2001-01-08 Thread Linus Torvalds
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 > > you sure this is all OK? > > I don't think we

Re: Subtle MM bug

2001-01-08 Thread Eric W. Biederman
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 > you sure this is all OK? I don't think we have more data on the swap, just more data has an allocated

Re: Related VIA PCI crazyness?

2001-01-08 Thread Eric W. Biederman
Linus Torvalds <[EMAIL PROTECTED]> writes: > On Sun, 7 Jan 2001, Albert Cranford wrote: > > > Could anybody with a VIA chip who has the energy please do something for > > > me: > > > - enable DEBUG in arch/i386/kernel/pci-i386.h > > > - do a "/sbin/lspci -xxvvv" on the interrupt routing chip

[Announcement] kgdb - unofficial (untested) patch available for 2.4.0

2001-01-08 Thread Paul Schulz
For those who are interested.. I have taken the kgdb patch for 2.4.0-test9 and ported it to 2.4.0. This is a minimal patch, and doesn't include any of the documentation or supporting programmes. It can be found at: http://www.foursticks.com.au/~pschulz/kgdb

Re: 2.2.19pre6aa1 degraded performance for me...

2001-01-08 Thread Sasi Peter
On Tue, 9 Jan 2001, Andrea Arcangeli wrote: > On Mon, Jan 08, 2001 at 10:46:29PM +0100, Sasi Peter wrote: > > What I had w/2.2.18pre19 (+raid+ide): > > ~80MB more in cache and ~80MB swapped out (eg. currently unused notes > > server and squid) There is enough of swap over 3 disks (like the > >

Sorry about the email. . (re: 2.4.0-ac4)

2001-01-08 Thread David Joyce
I'm sure this isn't the address to send this to, but I don't know where to send this. I just upgraded from 2.4.0-test12 to 2.4.0, and I got a kernel panac after about 6 hours. Then updated to 2.4.0-ac4 and got a massive amount of scsi errors. The server was again up for about 6 hours. This

Re: [PATCH] More compile warning fixes for 2.4.0

2001-01-08 Thread Richard Henderson
On Mon, Jan 08, 2001 at 08:50:01PM +0100, Erik Mouw wrote: > 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

Re: question on generating a patch

2001-01-08 Thread Peter Samuelson
[David L. Parsley] > I read the FAQ and SubmittingPatches, but how best to generate a > patch that moves a file from on dir to another? diff -urNP makes the > patch a lot longer than it seems like it should be... A major weakness of the 'patch' command -- you cannot gracefully move or rename

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

2001-01-08 Thread Marc Lehmann
On Tue, Jan 09, 2001 at 02:55:15AM +0100, Andrea Arcangeli <[EMAIL PROTECTED]> wrote: > > [wakko@:/home/wakko/test] rmdir "`pwd`" > > rmdir: /home/wakko/test: Invalid argument > > Some other OS with a yet different retval? :) It can be much worse (irix-6.5.4): bash# mkdir x; cd x; rmdir

Re: Delay in authentication.gy

2001-01-08 Thread Andi Kleen
On Mon, Jan 08, 2001 at 10:01:26PM +, Alan Cox wrote: > > It was intentionally changed because there is no way for the "ICMP > > port unreachable" message coming back to be uniquely matched to that > > UDP socket. It can reset sockets illegally in high load scenerios. > > > > Solaris and

UDP performance drop from -test9 to 2.4.0 (fwd)

2001-01-08 Thread Todd
sorry for the resend. i sent this earlier today but still haven't seen it, so i'm resending without attachments. the originally attached netperf results are at: http://www.unm.edu/~todd/udp.2.4.0-test9.9000mtu http://www.unm.edu/~todd/udp.2.4.0-test9.1500mtu

question on generating a patch

2001-01-08 Thread David L. Parsley
I read the FAQ and SubmittingPatches, but how best to generate a patch that moves a file from on dir to another? diff -urNP makes the patch a lot longer than it seems like it should be... (fortunately it's just a short header file) Is there a better way? regards, David -- David L.

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

2001-01-08 Thread Venkatesh Ramamurthy
> 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 data have to be copied into the 4GB RAM area - To unsubscribe from this list:

Re: FS callback routines

2001-01-08 Thread David Weinehall
On Mon, Jan 08, 2001 at 11:12:24PM +, Michael D. Crawford wrote: [snipped a lot of sane opinions] > While Be, Inc.'s implementation is closed-source, the design of the > BFS (_not_ "befs" as it is sometimes called) is explained in Practical > File System Design with the Be File System by

AHA1542 driver does not accept command-line options

2001-01-08 Thread Dmitry Potapov
When I switch to 2.4 kernel my SCSI card does not detect anymore, because AHA1542 driver does not accept kernel command-line options. I send small patch to fix that. I'm not subscribed at the kernel mail list, so please send any question/answer to my personal mail address. Thanks, Dmitry

[PATCH] 2.4.0 Changes - add compiler source code URL, minor cleanup

2001-01-08 Thread Barry K. Nathan
The following patch: (a) Adds a URL for the egcs 1.1.2 source code. This change is both low-risk and important IMO. (b) Fixes two sloppy underlines. Please apply. -Barry K. Nathan <[EMAIL PROTECTED]> --- linux-2.4.0/Documentation/Changes Mon Jan 1 10:00:04 2001 +++

netfilter ipv6 as module unresolved symbols

2001-01-08 Thread Frank Dekervel
Hello, test13-acXX and final-acXX have unresolved symbols, namely ipt_register_target and ipt_unregister_target in the module ip6t_MARK.o Greetings, Kervel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the

Re: Subtle MM bug

2001-01-08 Thread Linus Torvalds
On 9 Jan 2001, Zlatko Calusic wrote: > > 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 > you sure this is all OK? Yes and no. I'm not _sure_, obviously. However, one thing I _am_ sure of is that

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

2001-01-08 Thread Wayne Whitney
On Mon, Jan 08, 2001 at 03:22:44PM -0800, Wayne Whitney wrote: > I guess I conclude that either (1) MAGMA does not use libc's malloc > (checking on this, I doubt it) I'm still a bit unclear on this one. I now have two executables, magma.exe and magma.exe.dyn (ignore the .exe). magma.exe is

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

2001-01-08 Thread Linus Torvalds
On Tue, 9 Jan 2001, Rusty Russell wrote: > In message <[EMAIL PROTECTED]> you > write: > > I've been thinking of doing a cramfs2, and the only thing I'd change is > > (a) slightly bigger blocksize (maybe 8k or 16k) and (b) re-order the > > meta-data and the real data so that I could easily

RE: FS callback routines

2001-01-08 Thread Sean R. Bright
Agreed. I will have a look at the URLs you passed along. I was talking to a colleague about this just after I sent the initial message and the number of places where this would be useful suddenly became much more apparent to me :) For example, _ANY_ daemon process could be notified of

Re: FS callback routines

2001-01-08 Thread Michael D. Crawford
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 directory changes and you never waste time

[PATCH] eata_dma.c: include missing restore_flags

2001-01-08 Thread Arnaldo Carvalho de Melo
Hi, Please consider applying. - Arnaldo --- linux-2.4.0-ac4/drivers/scsi/eata_dma.c Mon Jan 8 20:39:29 2001 +++ linux-2.4.0-ac4.acme/drivers/scsi/eata_dma.cTue Jan 9 00:25:54 2001 @@ -482,7 +482,7 @@ DBG(DBG_REQSENSE, printk(KERN_DEBUG "Tried to REQUEST

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

2001-01-08 Thread Arnaldo Carvalho de Melo
Hi, Please consider applying, comments in the patch. - Arnaldo --- linux-2.4.0-ac4/drivers/scsi/advansys.c Mon Jan 8 20:39:28 2001 +++ linux-2.4.0-ac4.acme/drivers/scsi/advansys.cTue Jan 9 00:12:03 2001 @@ -717,6 +717,13 @@ Ken Mort <[EMAIL PROTECTED]> reported a

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

2001-01-08 Thread Michael D. Crawford
J Sloan ([EMAIL PROTECTED]) sez: > This is a little OT for linux-kernel Off-topic to debug a new kernel feature that will significantly add to the competitiveness of Linux on the desktop and in engineering applications? Remember, my original report was that DRI was reported to be working in

Re: 2.2 vs. 2.4 benchmarks

2001-01-08 Thread Marcelo Tosatti
On Tue, 9 Jan 2001, Chris Evans wrote: > I did one other quick test, with disappointing results for 2.4.0. I did a > kernel build with 32Mb. > > 2.4.0 was taking about 10 mins to do the build. 2.2.x was 1min30 quicker > :( I was hoping/expecting the 2.4.0 page aging to do better, due to >

Re: Subtle MM bug

2001-01-08 Thread Zlatko Calusic
Linus Torvalds <[EMAIL PROTECTED]> writes: > On Mon, 8 Jan 2001, Rik van Riel wrote: > > > On Sun, 7 Jan 2001, Wayne Whitney wrote: > > > > > Well, here is a workload that performs worse on 2.4.0 than on 2.2.19pre, > > > > > The typical machine is a dual Intel box with 512MB RAM and 512MB

[patch] mm-cleanup-2 (2.4.0)

2001-01-08 Thread Zlatko Calusic
OK, take two. This patch: o removes obsolete /proc entryes and other mm structures not used anymore. o adds new /proc/sys/vm/max-async-pages o updates documentation As the patch doesn't change any kernel vital functionality it is completely safe. I don't know if it satisfies Linus' patch

Re: Subtle MM bug

2001-01-08 Thread Zlatko Calusic
Rik van Riel <[EMAIL PROTECTED]> writes: > Now if 2.4 has worse _performance_ than 2.2 due to one > reason or another, that I'd like to hear about ;) > Oh, well, it seems that I was wrong. :) First test: hogmem 180 5 = allocate 180MB and dirty it 5 times (on a 192MB machine) kernel | swap

[PATCH][2.2] eepro 0.12d

2001-01-08 Thread aris
ok, as i don't have documentation this is the right thing to be done: restore the default path for old cards and keep the new one to these blue cards. i hope this finally fixes all problems that my changes (by guesses and lot of dosemu) introduced on a stable driver. if it doesn't work

[PATCH] 2.4.0-ac4 : Removal of drivers/misc/misc.o

2001-01-08 Thread Frank Davis
Hello, The following patch removes drivers/misc/misc.o from the kernel build. It appears that drivers/misc isn't used for anything, and should be probably be removed. Regards, Frank   --- Makefile.old  Sun Jan  7 23:59:37 2001+++ Makefile  Mon Jan  8 00:24:46 2001@@ -121,7 +121,6

[PATCH][2.4] eepro 0.12c

2001-01-08 Thread aris
hi linus, driver: eepro problem: the actual state of driver makes old supported board stop to function after some time of operation. please consider applying this patch. the cleanup and cosmetic changes will be in the next release of driver as you asked

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

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 08:37:22PM -0500, Wakko Warner wrote: > [wakko@:/home/wakko/test] rmdir "`pwd`" > rmdir: /home/wakko/test: Invalid argument Some other OS with a yet different retval? :) Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

FS callback routines

2001-01-08 Thread Sean R. Bright
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 itself contained 100 folders, and each of those

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

2001-01-08 Thread Wakko Warner
> Not very portable at all... > > hpux = HP/UX 10.2 > > hpux:~$ mkdir foo > hpux:~$ cd foo > hpux:~/foo$ rmdir "`pwd`" > rmdir: /home/blc/foo: Cannot remove mountable directory > hpux:~/foo$ rmdir . > rmdir: cannot remove .. or . > hpux:~/foo$ rmdir /home/blc/foo > rmdir: /home/blc/foo: Cannot

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

2001-01-08 Thread Rusty Russell
In message <[EMAIL PROTECTED]> you write: > I've been thinking of doing a cramfs2, and the only thing I'd change is > (a) slightly bigger blocksize (maybe 8k or 16k) and (b) re-order the > meta-data and the real data so that I could easily compress the metadata > too. cramfs doesn't have any

Re: [PATCH] More compile warning fixes for 2.4.0

2001-01-08 Thread Rich Baum
On 8 Jan 2001, at 20:50, Erik Mouw wrote: > On Sat, Jan 06, 2001 at 09:40:51PM -0500, Rich Baum wrote: > > Here's a patch that fixes more of the compile warnings with gcc > > 2.97. > > > -case FORE200E_STATE_BLANK: > > +case FORE200E_STATE_BLANK:; > > Is this really a kernel bug? This

Re: 2.2.19pre6aa1 degraded performance for me...

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 10:46:29PM +0100, Sasi Peter wrote: > What I had w/2.2.18pre19 (+raid+ide): > ~80MB more in cache and ~80MB swapped out (eg. currently unused notes > server and squid) There is enough of swap over 3 disks (like the > raid), so I did not bother disabling squid and notes,

Re: Related VIA PCI crazyness?

2001-01-08 Thread Evan Thompson
LINUS: > - enable DEBUG in arch/i386/kernel/pci-i386.h > - do a "/sbin/lspci -xxvvv" on the interrupt routing chip (it's the >"ISA bridge" chip - the VIA numbers are 82c586, 82c596, the PCI >numbers for them are 1106:0586 and 1106:0596, I think) > - do a cat /proc/pci Okay, I've

Re: [uml-devel] Re: [reiserfs-list] BUG at inode.c:371

2001-01-08 Thread Daniel Phillips
Jeff Dike wrote: > > You've got two problems here, and one of them is mine: > > > In uml I continue the debian installation off of cdrom and as I say ok > > to the final screen I get a "Kernel panic: Kernel mode fault at addr > > 0xbefffe90, ip 0x1009f315" from user-mode linux which is running

adding a system call

2001-01-08 Thread Mihai Moise
Hello, What is the procedure for adding a new system call to the Linux kernel? Mihai - 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: Subtle MM bug

2001-01-08 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Andrea Arcangeli <[EMAIL PROTECTED]> wrote: >On Mon, Jan 08, 2001 at 03:22:44PM -0800, Wayne Whitney wrote: >> I guess I conclude that either (1) MAGMA does not use libc's malloc >> (checking on this, I doubt it) or (2) glibc-2.1.92 knows of these >> variables but

Re: [uml-devel] Re: [reiserfs-list] BUG at inode.c:371

2001-01-08 Thread Jeff Dike
You've got two problems here, and one of them is mine: > In uml I continue the debian installation off of cdrom and as I say ok > to the final screen I get a "Kernel panic: Kernel mode fault at addr > 0xbefffe90, ip 0x1009f315" from user-mode linux which is running as > me, not as root. Can you

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

2001-01-08 Thread J Sloan
Ragnar Hojland Espinosa wrote: > On Mon, Jan 08, 2001 at 02:56:05PM -0800, J Sloan wrote: > > > In my case, that meant nuking mesa from my system and > > letting Linux use what was left, which got me back the good > > accelerated performance - you may choose a less drastic > > option. I don't

Re: Extraneous whitespace removal?

2001-01-08 Thread Rusty Russell
In message <[EMAIL PROTECTED]> you write: > Pluses: > - clean up messy whitespace > - cut precious picoseconds off compile time > - cut kernel tree by 200k (+/- alot) I've done this before, but never posted it, lest they think I'm insane. I vote this for 2.5.1. You, sir, have balls, Rusty.

Re: setfsuid on ext2 weirdness (2.4)

2001-01-08 Thread Kai Henningsen
[EMAIL PROTECTED] (Linus Torvalds) wrote on 08.01.01 in <93d7fr$429$[EMAIL PROTECTED]>: > And hey, if you think the above is confusing, try making your /dev/null > a regular (writable) file by mistake. Now THAT will be confusing as > hell: things will actually work surprisingly well, but some

2.2 vs. 2.4 benchmarks

2001-01-08 Thread Chris Evans
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 than you can shake a stick at). Not

[PATCH] tidy 53c7,8xx.c was Re: [PATCH] de620.c: nitpicking

2001-01-08 Thread Arnaldo Carvalho de Melo
ouch, sorry for the misleading subject, cut and paste sometimes doesn't work ;( Em Mon, Jan 08, 2001 at 08:25:33PM -0200, Arnaldo Carvalho de Melo escreveu: > Hi, > > Please consider applying, no need to restore_flags here, as it is > restored in the beginning of this if block. > > -

Re: [PATCH] de620.c: nitpicking

2001-01-08 Thread Arnaldo Carvalho de Melo
Hi, Please consider applying, no need to restore_flags here, as it is restored in the beginning of this if block. - Arnaldo --- linux-2.4.0-ac3/drivers/scsi/53c7,8xx.c Fri Oct 13 18:40:51 2000 +++ linux-2.4.0-ac3.acme/drivers/scsi/53c7,8xx.cMon Jan 8 20:24:35 2001 @@

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

2001-01-08 Thread Andrea Arcangeli
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: http://www.opengroup.org/onlinepubs/007908799/xsh/rmdir.html Infact

[PATCH] de620.c: nitpicking

2001-01-08 Thread Arnaldo Carvalho de Melo
Bjorn/Alan, Yes, I'm a nitpicker ;) --- linux-2.4.0-ac3/drivers/net/de620.c Tue Dec 19 11:24:52 2000 +++ linux-2.4.0-ac3.acme/drivers/net/de620.cMon Jan 8 20:06:28 2001 @@ -563,7 +563,6 @@ printk(KERN_WARNING "%s: No tx-buffer available!\n", dev->name);

Re: HomePNA 2.0 flamage

2001-01-08 Thread Dan Hollis
On Mon, 8 Jan 2001, Alan Cox wrote: > I suspect homepna is dead to be honest. Apparently its competing rather well with DSL for MDU deployments (eg hotels, apartment complexes) -Dan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: HomePNA 2.0 flamage

2001-01-08 Thread Timur Tabi
** Reply to message from Alan Cox <[EMAIL PROTECTED]> on Mon, 8 Jan 2001 23:54:16 + (GMT) > I suspect homepna is dead to be honest. I'm not so sure. My father-in-law just purchased a Gateway system with a HomePNA device. It was the only networking device the computer came with. It

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

2001-01-08 Thread Ragnar Hojland Espinosa
On Mon, Jan 08, 2001 at 02:56:05PM -0800, J Sloan wrote: > In my case, that meant nuking mesa from my system and > letting Linux use what was left, which got me back the good > accelerated performance - you may choose a less drastic > option. I don't see any breakage from the absence of mesa.

Re: HomePNA 2.0 flamage

2001-01-08 Thread Alan Cox
> This doesn't seem to be the case with HomePNA 2.0 which makes me suspect > that Broadcom has a patent on some critical piece of technology. I Quite possible. Search for 'broadcom intel patent lawsuit' on google - there are other outstanding things. > can't think of any other reason how they

[PATCH] bmac.c: restore_flags on failure

2001-01-08 Thread Arnaldo Carvalho de Melo
Alan, I haven't found Randy Gobbel's e-mail, please apply. - Arnaldo --- linux-2.4.0-ac3/drivers/net/bmac.c Tue Dec 19 11:24:51 2000 +++ linux-2.4.0-ac3.acme/drivers/net/bmac.c Mon Jan 8 19:55:30 2001 @@ -6,6 +6,8 @@ * * May 1999, Al Viro: proper release of /proc/net/bmac

Re: The advantage of modules?

2001-01-08 Thread Alan Cox
> Although I haven't been involved for over 8 years, it us unlikely that > the word "SCSI" has been given up as some generic aspirin. SCSI still > means the stuff specified in the 519 Page document copyrighted by > ANSI, called "SMALL COMPUTER SYSTEM INTERFACE - 2", Dated May 20, 1991, > and the

HomePNA 2.0 flamage

2001-01-08 Thread Joseph Wang
I've been trying to search for a 10 Mpbs phone ethernet card that works with linux. Apparently all of the products that implement HomePNA 2.0 use the Broadcom chipset and Broadcom has been extremely non-responsive at providing chipset specifications. The situation really irks me because the

Re: Subtle MM bug

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 03:22:44PM -0800, Wayne Whitney wrote: > I guess I conclude that either (1) MAGMA does not use libc's malloc > (checking on this, I doubt it) or (2) glibc-2.1.92 knows of these > variables but has not yet implemented the tuning (I'll try glibc-2.2) or > (3) this is not the

Oops in stock 2.2.18

2001-01-08 Thread Mike Frisch
Can anybody shed some light on this? Thanks, --- cut here --- Unable to handle kernel paging request at virtual address e6d94ba1 current->tss.cr3 = 07211000, %cr3 = 07211000 *pde = Oops: CPU:0 EIP:0010:[] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS:

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

2001-01-08 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Andrea Arcangeli <[EMAIL PROTECTED]> wrote: >On Mon, Jan 08, 2001 at 04:08:58PM -0500, Alexander Viro wrote: >> Andrea, fix your code. Linux-only stuff is OK when there is no > >BTW, "rmdir `pwd`" is not portable either. Indeed. Avoid it if you can. But at

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

2001-01-08 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Andrea Arcangeli <[EMAIL PROTECTED]> wrote: >On Mon, Jan 08, 2001 at 01:04:24PM -0500, Alexander Viro wrote: >> Racy. Nonportable. Has portable and simple equivalent. Again, don't >> bother with chdir at all - if you know the name of directory even >> ../name will

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

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 11:50:44PM +0100, [EMAIL PROTECTED] wrote: > From: Andrea Arcangeli <[EMAIL PROTECTED]> > > > But in fact it fails with EINVAL, and > > > > [EINVAL]: The path argument contains a last component that is dot. > > I can't confirm. The specs I'm checking

RE: Shared memory not enabled in 2.4.0?

2001-01-08 Thread David Schwartz
> For some reason shared memory is not being enabled on my system > running kernel > v2.4.0 (on RedHat v6.2, with all updates applied). You are confusing System V shared memory (IPC) with VM shared memory. The '0' for shared in /proc/meminfo means the system can't easily tell you how

Re: Journaling: Surviving or allowing unclean shutdown?

2001-01-08 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > Also thing about cases where powerplant fails, or when electricity in > the house fails. I've seen places where electricity failed 5 times a > day, because someone put 10A fuse and we were using just about 2kW... Especially evil is a power failure, and

Re: Subtle MM bug

2001-01-08 Thread Wayne Whitney
On Mon, 8 Jan 2001, Wayne Whitney wrote: > On Mon, 8 Jan 2001, Szabolcs Szakacsits wrote: > > > AFAIK newer glibc = CVS glibc but the malloc() tune parameters work > > via environment variables for the current stable ones as well, > > I'll arrange a binary linked against glibc2.2, and then your

Re: [reiserfs-list] BUG at inode.c:371

2001-01-08 Thread Geoff Hoff
> > I have gotten this semi-reproducable bug three times already under the same > > circumstances. The bug happens at approximately the same time as I kill > > xterms after user-mode linux has crashed and I am cleaning up what it has > > left behind. User mode linux is using a 1 gig file on a 6

Re: ipchains vs netfilter performance

2001-01-08 Thread Rusty Russell
In message <3A585D9F.21907.1452FA04@localhost> you write: > I've noticed that my Linux boxes take quite a hit in terms of > packets per second rate when I define ipchains rules with > 2.2.X kernels. Does the netfilter replacement found in 2.4 > kernels improve this performance? Not really. What

Re: The advantage of modules?

2001-01-08 Thread Richard B. Johnson
On Mon, 8 Jan 2001, Dan Hollis wrote: > On Mon, 8 Jan 2001, Russell King wrote: > > Seriously though, you can't depreciate a term for referring to a type of > > bus without providing some other term to describe said bus. > > You need to distinguish between SCSI-the-protocol and >

Unified power management userspace policy

2001-01-08 Thread John Fremlin
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, it might be nice to unify

Re: msg : cannot create ksymoops/nnnnn.ksyms

2001-01-08 Thread Keith Owens
On Mon, 8 Jan 2001 23:30:12 +0100, f5ibh <[EMAIL PROTECTED]> wrote: >Ok, I knew that, the problem is why unix.o is loaded so early ? I've not found >where it is requested / loaded (I've kmod enabled). Probably syslog(). - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

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

2001-01-08 Thread J Sloan
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 the mesa libs didn't get found before the real

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

2001-01-08 Thread khromy
On Mon, Jan 08, 2001 at 06:35:43PM +, Michael D. Crawford wrote: > OK, I built XFree86 4.0.2 and DRI seems to be working for me now under > 2.4.0-ac4. (Starting with 2.4.0, it wouldn't, this is with an ATI XPert 2000 > AGP). > > BUT - although /var/log/XFree86.0.log documents the startup of

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

2001-01-08 Thread David S. Miller
Date: Mon, 8 Jan 2001 17:43:56 -0500 From: Stephen Frost <[EMAIL PROTECTED]> Perhaps you missed it, but I believe Dave's intent is for this to only be a proof-of-concept idea at this time. Thank you Stephen, this is the point Jes continues to miss. Later, David S. Miller

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

2001-01-08 Thread David S. Miller
From: Jes Sorensen <[EMAIL PROTECTED]> Date: 08 Jan 2001 23:32:48 +0100 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

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

2001-01-08 Thread Andries . Brouwer
From: Andrea Arcangeli <[EMAIL PROTECTED]> > But in fact it fails with EINVAL, and > > [EINVAL]: The path argument contains a last component that is dot. I can't confirm. The specs I'm checking are here: http://www.opengroup.org/onlinepubs/007908799/xsh/rmdir.html

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

2001-01-08 Thread Stephen Frost
* Jes Sorensen ([EMAIL PROTECTED]) wrote: > > "David" == David S Miller <[EMAIL PROTECTED]> writes: > > I don't question Alexey's skills and I have no intentions of working > against him. All I am asking is that someone lets me know if they make > major changes to my code so I can keep track

Re: lvm 0.8 to 0.9 conversion?

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 07:18:53PM +, Todd M. Roy wrote: > > I've been on vacation > > Nope, no snapshots. > > Well, I couldn't get my orginal volume group visible under both > lvm 0.8 and 0.9. I don't know why. So I grabbed a big empty hard disk, > created a new volume group that

Re: The advantage of modules?

2001-01-08 Thread Dan Hollis
On Mon, 8 Jan 2001, Russell King wrote: > Seriously though, you can't depreciate a term for referring to a type of > bus without providing some other term to describe said bus. You need to distinguish between SCSI-the-protocol and SCSI-the-physical-layer. The term "SCSI" alone is simply too

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

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 03:11:08PM -0700, Benson Chow wrote: > Not very portable at all... > > hpux = HP/UX 10.2 > > hpux:~$ mkdir foo > hpux:~$ cd foo > hpux:~/foo$ rmdir "`pwd`" > rmdir: /home/blc/foo: Cannot remove mountable directory > hpux:~/foo$ rmdir . > rmdir: cannot remove .. or . >

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

2001-01-08 Thread Jes Sorensen
> "David" == David S Miller <[EMAIL PROTECTED]> writes: David> We _had_ to change some drivers to show how to support this new David> SKB api for transmit sg+csum support. If you can think of a David> way for us to effectively do this work without changing at David> least a few drivers as

Re: msg : cannot create ksymoops/nnnnn.ksyms

2001-01-08 Thread f5ibh
Hi Keith, >> NET4: Unix domain sockets 1.0 for Linux NET4.0. >> insmod: /lib/modules/2.2.19pre6/misc/unix.o: cannot create > /var/log/ksymoops/20010106112242.ksyms Read-only file system > man insmod, look for /var/log/ksymoops. If you define this directory > then it is expected to be writable

PCI IRQ routing on buggy BIOSes

2001-01-08 Thread Petr Vandrovec
Hi, following happened on my well-known SMP VIA based GA6VXD7 motherboard. Last week on Thursday I decided to connect printer to the box. To do that I had to switch parallel port mode from ECP to Normal (because of I had problems with that printer). Today I found, that since that time (Thu

bigmem (2GB in this case) patches for the 2.0.x kernel.

2001-01-08 Thread Adam Scislowicz
I have had no luck finding a bigmem patch for the 2.0.x kernel. I am in the situation where I would rather not update the kernel, do I have any options? -Adam Scislowicz <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: The advantage of modules?

2001-01-08 Thread Russell King
Dan Hollis writes: > On Mon, 8 Jan 2001, Russell King wrote: > > I don't believe that is what it's trying to say. There have been instances > > in the past where unplugging a SCSI device from a powered on SCSI bus can > > result in blown terminator power fuses and the like. Whether this still >

Re: Subtle MM bug

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 02:00:19PM -0800, Wayne Whitney wrote: > I'd ask if this jives with your theory: if I configure the linux kernel > to be able to use 2GB of RAM, then the 870MB limit becomes much lower, to > 230MB. It's because the virtual address space for userspace tasks gets reduced

Re: The advantage of modules?

2001-01-08 Thread Dan Hollis
On Mon, 8 Jan 2001, Russell King wrote: > > so my take is unless you explicitly use hotplug devices (I wasn't), that > > it is much safer to unload the driver, unattach/attach scsi devices, and > > then reload the driver (which will scan the scsi bus for devices), which > > you need modules for.

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

2001-01-08 Thread Benson Chow
Not very portable at all... hpux = HP/UX 10.2 hpux:~$ mkdir foo hpux:~$ cd foo hpux:~/foo$ rmdir "`pwd`" rmdir: /home/blc/foo: Cannot remove mountable directory hpux:~/foo$ rmdir . rmdir: cannot remove .. or . hpux:~/foo$ rmdir /home/blc/foo rmdir: /home/blc/foo: Cannot remove mountable

Re: Delay in authentication.gy

2001-01-08 Thread David S. Miller
Date:Mon, 8 Jan 2001 22:01:26 + (GMT) From: Alan Cox <[EMAIL PROTECTED]> > Solaris and other systems act identically. And have identical bad problems with auth failures. Actually, I believe their sunrpc library uses an extended error facility via the streams APIs that

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

2001-01-08 Thread Bill Nottingham
Michael D. Crawford ([EMAIL PROTECTED]) said: > This makes me suspect it's not really working, or else my build of the Mesa-3.4 > library wasn't configured right - but note that if I disable DRI, one of the > Mesa demos will comment that it's not available. It sounds as if you're using a Mesa

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

2001-01-08 Thread David S. Miller
From: Jes Sorensen <[EMAIL PROTECTED]> Date: 08 Jan 2001 22:56:48 +0100 I don't think it's too much to ask that one actually tries to communicate with an author of a piece of code before making such major changes and submitting them opting for inclusion in the kernel. Jes, I

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

2001-01-08 Thread Michael D. Crawford
OK, I built XFree86 4.0.2 and DRI seems to be working for me now under 2.4.0-ac4. (Starting with 2.4.0, it wouldn't, this is with an ATI XPert 2000 AGP). BUT - although /var/log/XFree86.0.log documents the startup of DRI, DRM and AGP, and states the info about their initialization and stuff so

Re: Delay in authentication.gy

2001-01-08 Thread Alan Cox
> It was intentionally changed because there is no way for the "ICMP > port unreachable" message coming back to be uniquely matched to that > UDP socket. It can reset sockets illegally in high load scenerios. > > Solaris and other systems act identically. And have identical bad problems with

Re: 2.2.18 and EMU10K1 problems...

2001-01-08 Thread Taner Halicioglu
Err, I should have mentioned that the configs I used for .17 and .18 are identical, too. Machine is a dual celeron 450 on a asus p2b-ds (Adaptec aic78xx SCSI), via-rhine ethernet, and nvidia tnt2 ultra. Thanks, again -Taner On Mon, Jan 08, 2001 at 01:56:29PM -0800, Taner Halicioglu

Re: Subtle MM bug

2001-01-08 Thread Wayne Whitney
On Mon, 8 Jan 2001, Szabolcs Szakacsits wrote: > AFAIK newer glibc = CVS glibc but the malloc() tune parameters work > via environment variables for the current stable ones as well, e.g. to > overcome the above "out of memory" one could do, > > % export MALLOC_MMAP_MAX_=100 > % export

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

2001-01-08 Thread Jes Sorensen
> "David" == David S Miller <[EMAIL PROTECTED]> writes: David> I've put a patch up for testing on the kernel.org mirrors: David> /pub/linux/kernel/people/davem/zerocopy-2.4.0-1.diff.gz David> It provides a framework for zerocopy transmits and delayed David> receive fragment coalescing.

2.2.18 and EMU10K1 problems...

2001-01-08 Thread Taner Halicioglu
(please cc me if you reply - thanks :) I probably missed a message or note or something about this, but when I went from 2.2.17 to 2.2.18, my sound card (SB Live!) stopped working. It seems that in 2.2.18, it gets detected TWICE: kernel: Linux version 2.2.18

  1   2   3   4   5   6   7   >