Re: Wiring down Pages

2000-12-21 Thread Robert Read
On Thu, Dec 21, 2000 at 06:46:33PM -0200, Rik van Riel wrote: page_cache_drop(page); = removes your extra count I can't find that function, do you mean page_cache_free() and page_cache_release(), both are aliases for __free_page(). Maybe we need another alias. :) Should non-page cache

Re: Cleanup (PCI API and general) of drivers/net/rcpci.c (240t13p3)

2000-12-21 Thread Rasmus Andersen
On Thu, Dec 21, 2000 at 10:46:52PM +, Alan Cox wrote: o The driver currently allocates irqs during its initialization instead of postponing it until it is opened for use. Is there a reason for this? Shouldnt be - its an I2O network interface with some extra bits for the

Re: strange nfs behavior in 2.2.18 and 2.4.0-test12

2000-12-21 Thread John Covici
On Fri, 22 Dec 2000, Neil Brown wrote: On Thursday December 21, [EMAIL PROTECTED] wrote: Hi. I am having strange nfs problems in both my 2.x and 2.4.0-test12 kernels. What is happening is that when the machine boots up and exports the directories for nfs, it complains that

Re: strange nfs behavior in 2.2.18 and 2.4.0-test12

2000-12-21 Thread Neil Brown
On Thursday December 21, [EMAIL PROTECTED] wrote: On Fri, 22 Dec 2000, Neil Brown wrote: On Thursday December 21, [EMAIL PROTECTED] wrote: Hi. I am having strange nfs problems in both my 2.x and 2.4.0-test12 kernels. What is happening is that when the machine boots up and

[RFC] changes to buffer.c (was Test12 ll_rw_block error)

2000-12-21 Thread Chris Mason
Ok guys, I think I've taken Linus' suggestion to have buffer.c use its own writepage a bit too far. This patch marks pages dirty when the buffer head is marked dirty, and changes flush_dirty_buffers and sync_buffers to use writepage instead of ll_rw_block. The idea is to allow filesystems

Re: strange nfs behavior in 2.2.18 and 2.4.0-test12

2000-12-21 Thread John Covici
Here is my /etc/exports / ccs2(rw,no_root_squash) /usr ccs2(rw,no_root_squash) /usr/src ccs2(rw,no_root_squash) /home ccs2(rw,no_root_squash) /hard1 ccs2(rw,no_root_squash) /hard2 ccs2(rw,no_root_squash) /hard3 ccs2(rw,no_root_squash) /hard4 ccs2(rw,no_root_squash) /usr/bbs

[PATCH] Re: fs corruption with invalidate_buffers()

2000-12-21 Thread Jan Niehusmann
The file corruption I reported on Dec 6 is still there in test13-pre3. (I can only reproduce it easily with the ext2 online resizing patches, but I really don't think it is caused by them) The corruption happens if invalidate_buffers calls put_last_free() on buffers that belong to mapped pages.

Re: strange nfs behavior in 2.2.18 and 2.4.0-test12

2000-12-21 Thread Andreas Dilger
John Covici writes: Here is my /etc/exports / ccs2(rw,no_root_squash) /usr ccs2(rw,no_root_squash) /usr/src ccs2(rw,no_root_squash) /home ccs2(rw,no_root_squash) /hard1 ccs2(rw,no_root_squash) /hard2 ccs2(rw,no_root_squash) /hard3 ccs2(rw,no_root_squash) /hard4 ccs2(rw,no_root_squash)

vm 2.2.18 (stock kernel) process hara-kiri's

2000-12-21 Thread Roeland Th. Jansen
I thought the 2.2.18 vm would be better :-)... nver have seen so much VM: do_try_to_free_pages failed for... messages. at first the system froze for several seconds. an emer sync worked just fine so I waited.. Dec 22 00:06:10 grobbebol kernel: VM: do_try_to_free_pages failed for telnet...

Re: 2.4.0 kernels and vpn

2000-12-21 Thread Kurt Garloff
On Thu, Dec 21, 2000 at 01:40:16PM -0500, John Covici wrote: Hi. Is there a way to support vpn in the 2.4.0 kernels like we had with the patch for the 2.2.x kernels? Any assistance would be appreciated. FreeS/WAN: A Linux IPsec implementation: http://www.xs4all.nl/~freeswan/ Or look at

osst driver update 0.8.5-0.8.6.1

2000-12-21 Thread Kurt Garloff
Hi Alan, thanks for merging the osst driver (a driver which support the OnStream SC-x0, DI-x0 and USB30 tape drives) into the 2.2.19pre1 kernel. I'd like to ask you to apply the attached patch on top of it, upgrading the driver version from 0.8.5 to 0.8.6.1. Changes: * README.osst does not talk

max number of ide controllers?

2000-12-21 Thread Charles Wilkins
I have been running with the 2 onboard VIA ide hd controllers (ide 0 and ide 1) along with a creative labs ide contoller on a SB32 soundcard (ide 3). This has had the cdrom and zip drive. I just added a Promise Ultra100 and it has assumed the role of ide 3 and ide 4. The onboard controllers

Re: [PATCH] Re: fs corruption with invalidate_buffers()

2000-12-21 Thread Linus Torvalds
On Fri, 22 Dec 2000, Jan Niehusmann wrote: This is the result - against test12-pre7, but works well with test13-pre3: This looks bogus. You can't test "bh-b_next!=0", because that is entirely meaningless. b_next can be NULL either because the buffer isn't hashed, or because the buffer

Re: strange nfs behavior in 2.2.18 and 2.4.0-test12

2000-12-21 Thread John Covici
On Thu, 21 Dec 2000, Andreas Dilger wrote: John Covici writes: Here is my /etc/exports / ccs2(rw,no_root_squash) /usr ccs2(rw,no_root_squash) /usr/src ccs2(rw,no_root_squash) /home ccs2(rw,no_root_squash) /hard1 ccs2(rw,no_root_squash) /hard2 ccs2(rw,no_root_squash) /hard3

Linux 2.4.0test12pre3ac4

2000-12-21 Thread Alan Cox
This is mostly so people can see what I have merged in my tree and what has gone from it. The patch for the adventurous is in ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4.0test/.. 2.4.0test13pre3-ac4 o Fix FPU emulation compile (Adam Richter) o

Re: [PATCH] Re: fs corruption with invalidate_buffers()

2000-12-21 Thread Jan Niehusmann
On Thu, Dec 21, 2000 at 04:37:30PM -0800, Linus Torvalds wrote: This looks bogus. It may be - I just did what Al told me without really understanding it ;-) The test I did initially was the following: if(!atomic_read(bh-b_count) (destroy_dirty_buffers || !buffer_dirty(bh)) !

Re: 2.4.0 kernels and vpn

2000-12-21 Thread Kurt Garloff
On Thu, Dec 21, 2000 at 07:25:18PM -0500, John Covici wrote: Excuse my ignorance, but what is cipe? CIPE = Crypto IP Encapsulation. See http://sites.inka.de/~W1011/devel/cipe.html Some version of cipe is in the kerneli patches: ftp://ftp.YOURCOUNTRY.kernel.org/pub/linux/kernel/people/astor/

Linux 2.2.19pre3

2000-12-21 Thread Alan Cox
2.2.19pre3 o Merge ADMtek-comet tulip support(Jim McQuillan) o Update microcode driver (Tigran Aivazian) o Merge Don Becker's NE2K full duplex support (Juan Lacarta) o Optimise kernel compiler detect, kgcc before(Peter

Re: [PATCH] Re: fs corruption with invalidate_buffers()

2000-12-21 Thread Linus Torvalds
On Fri, 22 Dec 2000, Jan Niehusmann wrote: The test I did initially was the following: if(!atomic_read(bh-b_count) (destroy_dirty_buffers || !buffer_dirty(bh)) ! (bh-b_page bh-b_page-mapping) ) That is, I was explicitely checking for a mapped page. It worked

[PATCH] Re: e820 memory detection fix for ThinkPad

2000-12-21 Thread Marc Joosen
David Weinhall wrote: On Tue, Dec 19, 2000 at 07:16:40PM -0500, Marc Joosen wrote: This is a tiny patch to make the int15/e820 memory mapping work on IBM ThinkPads. Until now, I have had to give lilo a mem= option with one meg If this simple patch solves your problem, great! But in

Re: [RFC] Semaphores used for daemon wakeup

2000-12-21 Thread Daniel Phillips
Paul Cassella wrote: int atomic_read_and_clear(atomic_t *p) { int n = atomic_read(p); atomic_sub(p, n); return n; } I don't think this will work; consider two callers doing the atomic_read() at the same time, or someone else doing an atomic_dec() after the

Re: Purging the Page Table (was: Purging the Buffer Cache)

2000-12-21 Thread Al Peat
--- Juri Haberland [EMAIL PROTECTED] wrote: Al Peat wrote: Is there any way to completely purge the buffer cache -- not just the write requests (ala 'sync' or 'update'), but the whole thing? Can I just call invalidate_buffers() or destroy_buffers()? What about the ioctl

Re: [PATCH] fix emu10k1 init breakage in 2.2.18

2000-12-21 Thread Andreas M. Kirchwitz
Juri Haberland wrote: 2.2.18 broke the emu10k1 driver when compiled into the kernel. Is there also a fix available to make the bass and treble settings work again in mixer applications (for example, Gnome mix 1.2.0)? Yes, put something like "EXTRA_CFLAGS += -DTONE_CONTROL" into the

test13-pre4

2000-12-21 Thread Linus Torvalds
More Makefile cleanups, otherwise mainly noticeable are the netfilter fix and the LVM update. Linus - - pre4: - Christoph Rohland: shmfs cleanup - Nicolas Pitre: don't forget loop.c flags - Geert Uytterhoeven: new-style m68k Makefiles - Neil Brown: knfsd

Re: 2.4.0 kernels and vpn

2000-12-21 Thread Michael Peddemors
Not for a good solution IMHO, run don't walk to FreeS/WAN first, and save yourself a lot of grief On Thu, 21 Dec 2000, John Covici wrote: Excuse my ignorance, but what is cipe? Also, I received a comment that all I had to do was enable gre tunneling, is this correct?

osst driver for 2.4.0

2000-12-21 Thread Kurt Garloff
Hi Linus, I'd like to ask you to include the osst driver into the next 2.4 kernels. The osst driver is a new SCSI high-level driver, able to drive the OnStream SC-x0, DI-x0 and USBx0 tape driver, offering a st interface to the userspace. The reason for its existance is, that those OnStream devs

Re: [RFC] Semaphores used for daemon wakeup

2000-12-21 Thread Daniel Phillips
Paul Cassella wrote: The sync variable version of the dmabuf code snippet (assuming the dmabuf_mutex is never acquired from an interrupt) would look like this: dmabuf_init(...); { ... spin_lock_init(dmabuf_spin); sv_init(dmabuf_sv, dmabuf_spin,

Re: [RFC] changes to buffer.c (was Test12 ll_rw_block error)

2000-12-21 Thread Alexander Viro
On Thu, 21 Dec 2000, Chris Mason wrote: Obvious bug, block_write_full_page zeros out the bits past the end of file every time. This should not be needed for normal file writes. Unfortunately, it _is_ needed for pageout path. mmap() the last page of file. Dirty the data past the EOF (MMU

Re: [PATCH] Re: fs corruption with invalidate_buffers()

2000-12-21 Thread Alexander Viro
On Thu, 21 Dec 2000, Linus Torvalds wrote: On Fri, 22 Dec 2000, Jan Niehusmann wrote: This is the result - against test12-pre7, but works well with test13-pre3: This looks bogus. It is bogus. My apologies. - To unsubscribe from this list: send the line "unsubscribe

No more DoS

2000-12-21 Thread Mike OConnor
Hi I would like to point who ever is in charge of the TCP stack for the linux kernel at a site which claims to have a method of eliminate denial of service (DoS) attacks http://grc.com/rd/nomoredos.htm With my limited unstanding of TCP and DoS attacks this would seem to be the answer,

Re: [RFC] changes to buffer.c (was Test12 ll_rw_block error)

2000-12-21 Thread Marcelo Tosatti
On Thu, 21 Dec 2000, Chris Mason wrote: Ok guys, I think I've taken Linus' suggestion to have buffer.c use its own writepage a bit too far. This patch marks pages dirty when the buffer head is marked dirty, and changes flush_dirty_buffers and sync_buffers to use writepage instead of

Re: No more DoS

2000-12-21 Thread David S. Miller
Date:Fri, 22 Dec 2000 13:24:44 +1100 (CST) From: Mike OConnor [EMAIL PROTECTED] I would like to point who ever is in charge of the TCP stack for the linux kernel at a site which claims to have a method of eliminate denial of service (DoS) attacks

Re: [RFC] changes to buffer.c (was Test12 ll_rw_block error)

2000-12-21 Thread Andreas Dilger
Marcelo Tosatti writes: It seems your code has a problem with bh flush time. In flush_dirty_buffers(), a buffer may (if being called from kupdate) only be written in case its old enough. (bh-b_flushtime) If the flush happens for an anonymous buffer, you'll end up writing all buffers

Re: [RFC] changes to buffer.c (was Test12 ll_rw_block error)

2000-12-21 Thread Marcelo Tosatti
On Thu, 21 Dec 2000, Andreas Dilger wrote: Marcelo Tosatti writes: It seems your code has a problem with bh flush time. In flush_dirty_buffers(), a buffer may (if being called from kupdate) only be written in case its old enough. (bh-b_flushtime) If the flush happens for an

Re: No more DoS

2000-12-21 Thread Tom Vier
This has already been discused here and on slashdot, on 9/25/2000. On Fri, Dec 22, 2000 at 01:24:44PM +1100, Mike OConnor wrote: I would like to point who ever is in charge of the TCP stack for the linux kernel at a site which claims to have a method of eliminate denial of service (DoS)

Re: No more DoS

2000-12-21 Thread Michael Peddemors
Not only is this a well written article, and clearer than most other documents (Even Mine :) but he is dead on track with his basic concepts.. Exactly what I have been looking into over at our company. (Well, close enough) The concept of trusting a SYN packet, has to go.. we have to assume

reliable oops in test12: kswapd: submit_bh

2000-12-21 Thread Paul Jakma
i have a server that Oopsed 3 nights in a row at nearly the same time 04:04:{22,26,22} each /second/ night (presumably nightly locate update) in the same place: in submit_bh while in kswapd. kernel in question is test12. machine is K6-233 with a DAC960 that does NFS/dialup/iptables serving.

Re: No more DoS

2000-12-21 Thread Michael Peddemors
Furthermore, it also cannot work because it makes retransmissions of the SYN/ACK very non-workable. I suppose his TCP stack just hacks around this by just waiting for the original client SYN to get retransmitted or something like this. I question whether that can even work reliably. Be

Re: Linux 2.2.19pre3

2000-12-21 Thread Mitch Adair
2.2.19pre3 [snip] o Optimise kernel compiler detect, kgcc before(Peter Samuelson) gcc272 also I get an endless stream of this: kgcc:gcc272:cc:gcc: not found kgcc:gcc272:cc:gcc: not found /bin/sh: -D__KERNEL__: command not found /bin/sh: -D__KERNEL__: command not found /bin/sh:

recommended gcc compiler version

2000-12-21 Thread Robert B. Easter
This is a newbie question, but what are the recommended gcc compiler versions for compiling, Linux 2.2.18? Linux 2.4.0? I'd rather use the recommended version than not and have difficult bugs. Thanks. If there is a FAQ, kindy direct me to it, or, if this info isn't in there specificly,

Re: [RFC] Semaphores used for daemon wakeup

2000-12-21 Thread Paul Cassella
On Fri, 22 Dec 2000, Daniel Phillips wrote: But isn't this actually a simple situation? How about: I had only adapted that example because it had already been posted showing one way to do it, and so provided something to compare the sv approach to. dmabuf_alloc(...) {

Re: No more DoS

2000-12-21 Thread Michael H. Warfield
On Fri, Dec 22, 2000 at 01:24:44PM +1100, Mike OConnor wrote: Hi I would like to point who ever is in charge of the TCP stack for the linux kernel at a site which claims to have a method of eliminate denial of service (DoS) attacks http://grc.com/rd/nomoredos.htm With my limited

Re: No more DoS

2000-12-21 Thread David S. Miller
From: Michael Peddemors [EMAIL PROTECTED] Date: Thu, 21 Dec 2000 20:20:06 -0800 I think not holding onto any state for an incoming SYN is nothing but a dream in any serious modern TCP implementation. It can be reduced, but not eliminated. The former is what most modern stacks

[PATCH] Configure.help for CONFIG_IRDA_OPTIONS

2000-12-21 Thread Steven Cole
Here is a micropatch to provide a help note for CONFIG_IRDA_OPTIONS. This applies against 2.4.0-test13-pre4. Steven diff -u linux/Documentation/Configure.help.orig linux/Documentation/Configure.help --- linux/Documentation/Configure.help.orig Thu Dec 21 21:16:50 2000 +++

PPPoE trouble

2000-12-21 Thread Jonathan Morton
Not entirely sure whether this is the right place to ask support questions, but here goes... I have set up a gateway machine running SuSE 6.4 and kernel 2.4.0-test12 for a family I am staying with in NM. The gateway is running fine on a 28.8 modem now, but the intent is to use it with the ADSL

Re: recommended gcc compiler version

2000-12-21 Thread Matthew D. Pitts
Robert, gcc 2.7.2.3 is the safest, but egcs 1.1.2 will work. any kernels built with gcc 2.95.x work but can be buggy. Matthew Pitts [EMAIL PROTECTED] - Original Message - From: Robert B. Easter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 21, 2000 11:20 PM

Re: Linux 2.4.0test12pre3ac4

2000-12-21 Thread Hans Grobler
On Fri, 22 Dec 2000, Alan Cox wrote: o Quota fixes/updates (Jan Kara) This patch (?) to breaks compiling without quota's... diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.13pre3/mm/vmscan.c linux.ac/mm/vmscan.c ---

2.4.0-test13 drivers/net/pcmcia fix

2000-12-21 Thread Wayne . Brown
The files in drivers/net/pcmcia are skipped when configured to compile as modules. Here's a patch (against test13-pre4) for the Makefile: --- linux.old/drivers/net/Makefile Thu Dec 21 22:14:46 2000 +++ linux/drivers/net/Makefile Thu Dec 21 23:38:20 2000 @@ -8,7 +8,7 @@ obj-n :=

Re: recommended gcc compiler version

2000-12-21 Thread Barry K. Nathan
Robert B. Easter wrote: This is a newbie question, but what are the recommended gcc compiler versions for compiling, This is discussed in the Documentation/Changes file, in a given kernel's source. Brief summaries follow (which assume you're using an x86 CPU). Linux 2.2.18? gcc 2.7.2.3 is

Re: recommended gcc compiler version

2000-12-21 Thread Tim Wright
I'm sorry but this is incorrect. The recommended compiler version is not longer the same for the 2.2 and 2.4 kernels. From Documentation/Changes in 2.4 (test12): "The recommended compiler for the kernel is egcs 1.1.2 (gcc 2.91.66), and it should be used when you need absolute stability. You may

Re: Linux 2.2.19pre2

2000-12-21 Thread Andrew Morton
Andrea Arcangeli wrote: Other thing about your patch, adding TASK_EXCLUSIVE to wake_up/wake_up_interruptible is useless. This enables wake_up_all(). It is useless as it is in 2.2.19pre2: there's no wake_up_all in 2.2.19pre2. #define wake_up_all(x)

ignore

2000-12-21 Thread Byeong-ryeol Kim
Is there any event lately in vger kernel-list? I haven't been being received mails from it since Dec 17. -- "Where there is a will, there is a way." [EMAIL PROTECTED] For the future of you and me!hitel: jinbo21 - To unsubscribe from this list: send the line "unsubscribe

<    1   2   3