Re: CML2 design philosophy heads-up

2001-05-08 Thread Rogier Wolff
Eric S. Raymond wrote: More generally, arguments of the form Non-mainline custom hack X could invalidate constraint Y, therefore we can't have Y in the rulebase are dangerous -- I suspect you could reduce your set of constraints to nil very quickly that way, and thus badly screw over the 99%

Re: CML2 design philosophy heads-up

2001-05-08 Thread Jamie Lokier
Eric S. Raymond wrote: Tom Rini [EMAIL PROTECTED]: Only sort-of. There are some cases where you can get away with that. Probably. eg If you ask for PARPORT, on x86 that means yes to PARPORT_PC, always (right?) Yes. So the right answer there isn't to use a derivation but to say:

Re: CML2 design philosophy heads-up

2001-05-08 Thread Eric S. Raymond
Alan Cox [EMAIL PROTECTED]: There are also a lot of config options that are implied by your setup in an embedded enviromment but which you dont actually want because you didnt wire them Well, then, you don't specify the guard capability! If your MV147 isn't wired for serial, then leave

Re: CML2 design philosophy heads-up

2001-05-08 Thread Eric S. Raymond
Jamie Lokier [EMAIL PROTECTED]: Which is unfortunately wrong if you want the parport subsystem on x86 but won't be using the parport_pc driver with it. I.e. you'll be using some other driver which isn't part of the kernel tree. Perhaps a modified version of parport_pc, perhaps something

Re: CML2 design philosophy heads-up

2001-05-08 Thread Eric S. Raymond
David Weinehall [EMAIL PROTECTED]: require X86 and PARPORT implies PARPORT_PC unless X86==n suppress PARPORT_PC which forces PARPORT_PC==y and makes the question invisible on X86 machines, but leaves the question visible on all others. Yes, but there are quite a lot of people who

Re: page_launder() bug

2001-05-08 Thread Kai Henningsen
[EMAIL PROTECTED] (Horst von Brand) wrote on 07.05.01 in [EMAIL PROTECTED]: David S. Miller [EMAIL PROTECTED] said: Jonathan Morton writes: -page_count(page) == (1 + !!page-buffers)); Two inversions in a row? It is the most straightforward way to make

ECN: Volunteers needed

2001-05-08 Thread jamal
Folks, ECN is about to become a Proposed Standard RFC. Thanks to efforts from the Linux community, a few issues were discovered in the course of deploying the code. Special kudos go to Alexey Kuznetsov and David Miller. I wont go into details of the issues other than to say some midlle-box

Re: pci_pool_free from IRQ

2001-05-08 Thread David S. Miller
David Brownell writes: Pete's patch to pci_pool_free() is fine with me, and I'd be glad to see that bit of pci interface cleaned up. Any changes needed other than the pci.txt doc update? Ummm... What Alan's saying is: 1) Whatever driver is trying to shut down from IRQ context is

Re: kdb wishlist

2001-05-08 Thread mirabilos
* Change kdb invocation key from ^A to ^X^X^X within 3 seconds. ^A is used by emacs, bash, minicom etc. Why not Alt-SysRq-D (like Debug) or so? * Command history. Handle up/down/left/right/delete keys. Each kdba_io routine is responsible for recognising the arch specific keys,

Re: [patch] 2.4.4: mmap() fails for certain legal requests

2001-05-08 Thread David S. Miller
Alan Cox writes: And just how is he going to test it ? Considering he was just asking if the concept was reasonable I think you are a little out of order I can't test every platform when I have to make such changes. But it always serves to show the port maintainer what the change was.

Re: [patch] 2.4.4: mmap() fails for certain legal requests

2001-05-08 Thread Maciej W. Rozycki
On Tue, 8 May 2001, David S. Miller wrote: That's pretty arrogant that cut and pasting a few lines into some architecture specific files and reporting the updated patch is too much to ask. I'm sorry if you find me arrogant -- that certainly was not my intent. I did look at the files and

Re: ECN: Volunteers needed

2001-05-08 Thread Billy Harvey
This was the big argument I was running into from sites, well it isn't standard yet, when it is we'll do something about it. The larger sites like to avoid updates until absolutely necessary. Good grief - nothing like planning ahead ... and these large-site administrators actually accept

Re: ECN: Volunteers needed

2001-05-08 Thread jamal
On Tue, 8 May 2001, jamal wrote: Any one wishing to volunteer, please still send your emails in -- we should be ready in a few days from now, I guess i should have mentioned the IESG is sitting in to approve ECN as proposed standard in about a week or so. cheers, jamal - To unsubscribe

Re: CML2 design philosophy heads-up

2001-05-08 Thread David Weinehall
On Mon, May 07, 2001 at 09:56:18PM -0400, Eric S. Raymond wrote: Tom Rini [EMAIL PROTECTED]: Only sort-of. There are some cases where you can get away with that. Probably. eg If you ask for PARPORT, on x86 that means yes to PARPORT_PC, always (right?) Yes. So the right answer there

Re: ECN: Volunteers needed

2001-05-08 Thread David S. Miller
jamal writes: Help is needed to contact these site owners and politely using a standard email ask them that their site was non-conformant. Point them to Sally's draft and the fact that ECN is becoming standard in the next week or so. Also to Jeff's ECN-under-Linux Unofficial Vendor

Re: kdb wishlist

2001-05-08 Thread r1vamsi
Keith, I have worked on the making md/mm take the width option using BYTESPERWORD. I will be happy to work on this. Regards.. Vamsi. Vamsi Krishna S. Linux Technology Center, IBM Software Lab, Bangalore. Ph: +91 80 5262355 Extn: 3959 Internet: [EMAIL PROTECTED] Keith Owens [EMAIL PROTECTED]

Re: page_launder() bug

2001-05-08 Thread Mikulas Patocka
My point is that its _ok_ for us to check if the page is a dead swap cache page _without_ the lock since writepage() will recheck again with the page _locked_. Quoting you two messages back: But it is important to re-calculate the deadness after getting the lock. Before, it

Re: page_launder() bug

2001-05-08 Thread Linus Torvalds
On Tue, 8 May 2001, Marcelo Tosatti wrote: There are two issues which I missed yesterday: we have to get a reference on the page, mark it clean, drop the locks and then call writepage(). If the writepage() fails, we'll have to set_page_dirty(page). We can move the mark it clean into

Re: ECN: Volunteers needed

2001-05-08 Thread jamal
On Tue, 8 May 2001, David S. Miller wrote: I believe it would only be prudent to actually send out these messages starting at the moment ECN is officially standard. This was the big argument I was running into from sites, well it isn't standard yet, when it is we'll do something about

Re: kdb wishlist

2001-05-08 Thread Tigran Aivazian
Keith, What would be really great is to add the following item to your wishlist: * make it possible (it is trivial but a pain to have to do it manually every time I upgrade to your latest version!) for those extra modules to be statically linked in. So that one doesn't have to keep these lines

Re: [patch] 2.4.4: mmap() fails for certain legal requests

2001-05-08 Thread Maciej W. Rozycki
On Tue, 8 May 2001, David S. Miller wrote: There are several get_unmapped_area() implementations besides the standard one (search for HAVE_ARCH_UNMAPPED_AREA). Please fix them up too. Yep, I know (ia64 and sparc*). But being lazy enough (and being short on time) I won't do it until I know

No Subject

2001-05-08 Thread Balasubramanian Mandakolathur B
Hi , I am getting the following log in my kernel trace . kmem_grow : Called nonatomically from int - size 32 What is the cause for this .?? Looking forward to your reply . As i am not in the mailist list kindly mark a copy to me when you respond . Warm Regards bala

Re: HPT370 raid hack

2001-05-08 Thread Andre Hedrick
COOL... We can take a look and see. On Mon, 7 May 2001, Wilfried Weissmann wrote: Hi! I just put my highpoint-tech raid hack on a website: http://www.rug-rats.org/~wilfried/ So if you want to play around with it you can download it from there + get a mininum of

Re: SCSI Tape corruption - update

2001-05-08 Thread Geert Uytterhoeven
On Mon, 7 May 2001, Lorenzo Marcantonio wrote: On Mon, 7 May 2001, Rob Turk wrote: Have you ruled out hardware failures? There's been a few isolated reports That tape drive (Sony SDT-9000, less than 2 years of service) works perfectly on Windows NT (were it was before) and even on Linux

Re: [Question] Explanation of zero-copy networking

2001-05-08 Thread Jamie Lokier
Richard B. Johnson wrote: However, PCI to memory copying runs at about 300 megabytes per second on modern PCs and memory to memory copying runs at over 1,000 megabytes per second. In the future, these speeds will increase. That would be big expensive modern PCs then. Our clusters of 700MHz

Re: OT: ps source?

2001-05-08 Thread Pierre Rousselet
James Bourne wrote: From the procps man page: Albert Cahalan [EMAIL PROTECTED] rewrote ps for full Unix98 and BSD support, along with some ugly hacks for obsolete and foreign syntax. Michael K. Johnson [EMAIL PROTECTED] is the current

Re: ipv6 activity causing system hang in kernel 2.4.4

2001-05-08 Thread Lukasz Trabinski
In article [EMAIL PROTECTED] you wrote: This is only with kernel 2.4.4; 2.4.2, 2.4.3 and NetBSD boxes are not affected. It is independent of platform; I've reproduced it at will on a lowly p75, an athlon, a p3-800 and on a powerbook/PPC. I have just reproduced that on 2.4.5pre-1. It was only

ide messages in log. Hard disk dying or linux ide problem?

2001-05-08 Thread Joel Beach
Hi, Until three or four weeks ago, I have been running kernel 2.4.2 with no problems. However, my hard disk now seems to be playing up. In my system log, I get the following messages. May 3 08:13:14 kinslayer kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=3790389,

Re: page_launder() bug

2001-05-08 Thread Helge Hafting
J . A . Magallon wrote: On 05.07 Helge Hafting wrote: !0 is 1. !(anything else) is 0. It is zero and one, not zero and non-zero. So a !! construction gives zero if you have zero, and one if you had anything else. There's no doubt about it. Isn't this asking for trouble with

2.2.14/2.4.0 extreme sluggishness

2001-05-08 Thread Frank van Maarseveen
This one has puzzled me for more than a year. Occasionally a machine (This time a Compaq EPa PIII 665MHz running 2.4.0, inside XFree86 4.0.3 i810E) almost freezes for no appearent reason. Symptom: when hitting the caps lock or num lock key the LED on the keyboard responds only after a substancial

Union Mouint??

2001-05-08 Thread eccesys
Hi, I've read recently about union-mount but couldn't find how to do that. Puropose: bootfloppy is romfs, additiomnanal tmpfs should allow to add e.g. files to /etc (or modify), link/symlink entries to /bin /(from /mount/bin for example) etc. TIA -mirabilos - To unsubscribe from this list:

2.4.5-pre1 Unresolved symbol in module ide-mod.o

2001-05-08 Thread Ben Castricum
After a clean compile the module ide-mod.o seems to be missing a symbol, this problem didn't exist in 2.4.4 root@spike:~# depmod -ae 2.4.5-pre1 depmod: *** Unresolved symbols in /lib/modules/2.4.5-pre1/kernel/drivers/ide/ide-mod.o depmod: invalidate_device_R25a4b0b2 Complete config is

Re: [Question] Explanation of zero-copy networking

2001-05-08 Thread Alan Cox
so there's still single copy for write() of a mmap()ed page? An mmap page will go direct to disk. But mmap() isnt a good model for streaming I/O. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH] x86 page fault handler not interrupt safe

2001-05-08 Thread Alan Cox
If anybody has such a beast, please try this kernel patch _and_ running the F0 0F bug-producing program (search for it on the 'net - it must be One apparent problem with this implementation + * + * This verifies that the fault happens in kernel space + * (error_code 4) ==

Re: SPARC include problem

2001-05-08 Thread Erik Mouw
On Mon, May 07, 2001 at 05:01:03PM -0500, Sean Jones wrote: In compiling 2.4.4-ac5 for my SPARCStation 20, I had an error in the compile resulting from the inability to find a hw_irq.h in the include/asm directory. Do you know where I may be able to find such a file? You don't. I discussed

Re: 2.4.5-pre1 Unresolved symbol in module ide-mod.o

2001-05-08 Thread Keith Owens
On Tue, 8 May 2001 11:07:38 +0200, Ben Castricum [EMAIL PROTECTED] wrote: root@spike:~# depmod -ae 2.4.5-pre1 depmod: *** Unresolved symbols in /lib/modules/2.4.5-pre1/kernel/drivers/ide/ide-mod.o depmod: invalidate_device_R25a4b0b2 Try http://www.tux.org/lkml/#s8-8 - To unsubscribe

Re: page_launder() bug

2001-05-08 Thread BERECZ Szabolcs
On Mon, 7 May 2001, David S. Miller wrote: My patch is crap and can cause corruptions, there is not argument about it now :-) is it the only bug in the swap handling? or why is this bug triggered so heavily if the swap is on a filesystem? I had oopses when I used a swapfile on a partition, but

Re: [PATCH] x86 page fault handler not interrupt safe

2001-05-08 Thread Alan Cox
On Mon, 7 May 2001, Brian Gerst wrote: Keep in mind that regs-eflags could be from user space, and could have some undesirable flags set. That's why I did a test/sti instead of reloading eflags. Plus my patch leaves interrupts disabled for the minimum time possible. The plain popf

RE: ioctl call for network device

2001-05-08 Thread Hen, Shmulik
struct ifreq has a member called ifr_data. It is a pointer. You can put a pointer to any of your data, including the most complex structure you might envision, in that area. This allows you to pass anything to and from your module. This pointer can be properly dereferenced in kernel space

2.4.4 rwsem make error, please somebody take a look !!

2001-05-08 Thread gabriel finch
OK, second attempt, I got no replies the first time... Hi. I patched 2.4.3 to 2.4.4 with the following commands: cd /usr/src cp -r linux-2.4.3 linux-2.4.4 ln -s linux-2.4.4 linux cd linux mv ../patch-2.4.4 . patch -p1 patch-2.4.4 When I compiled bzImage (using .config from

RE: ioctl call for network device

2001-05-08 Thread Richard B. Johnson
On Tue, 8 May 2001, Hen, Shmulik wrote: struct ifreq has a member called ifr_data. It is a pointer. You can put a pointer to any of your data, including the most complex structure you might envision, in that area. This allows you to pass anything to and from your module. This pointer can

Re: simple userspace pm interface

2001-05-08 Thread John Fremlin
Grover, Andrew [EMAIL PROTECTED] writes: [...] - It's probably easier to put the event file in proc, instead of dev. This is what the acpi interface does, and eliminates the mknod step. Is this kernel policy? I mean, you could apply the same argument to all device nodes ;-) - perhaps

Re: [Question] Explanation of zero-copy networking

2001-05-08 Thread Bjorn Wesen
On Mon, 7 May 2001, Richard B. Johnson wrote: Basically, no copy is an academic exercise. It makes the first packet get sent more quickly, after which everything slows to the natural bandwidth of the system. If you used a server for multicast-only. In other words, you just spewed out

Re: 2.4.4 rwsem make error, please somebody take a look !!

2001-05-08 Thread David Howells
What arch are you compiling for? i386? When I compiled bzImage (using .config from 2.2.3) I got the following errors: Did you run one of the make config commands before building the kernel? You may need to do this to flush the changes from arch/*/config.in into .config. David - To

[PATCH] eliminate a truckload of context switches

2001-05-08 Thread Mike Galbraith
Greetings, While running a ktrace enabled kernel (IKD), I noticed many useless context switches. The problem is that we continually pester kswapd/ kflushd at times when they can't do anything other than go back to sleep. As you'll see below, we do this quite a bit under heavy load. Before:

2.2.19 toshiba.c won't build(PATCH)

2001-05-08 Thread Shaw Carruthers
Correcting the obvious error #include linux/toshiba.h still leaves: toshiba.c:93: parse error before string constant toshiba.c:93: warning: type defaults to `int' in declaration of `MODULE_PARM' toshiba.c:93: warning: function declaration isn't a prototype toshiba.c:93: warning: data

Re: CML2 design philosophy heads-up

2001-05-08 Thread Helge Hafting
Alan Cox wrote: But Alan's point is a good one. There are _lots_ of cases you can't get away with things like this, unless you get very fine grained. In fact, it would be much eaiser to do this seperately from the kernel. Ie another, There are also a lot of config options that are

[PATCH] allocation looping + kswapd CPU cycles

2001-05-08 Thread Mark Hemment
In 2.4.3pre6, code in page_alloc.c:__alloc_pages(), changed from; try_to_free_pages(gfp_mask); wakeup_bdflush(); if (!order) goto try_again; to try_to_free_pages(gfp_mask); wakeup_bdflush(); goto try_again; This introduced

fs.file-max

2001-05-08 Thread Federico Edelman Anaya
Hi! ... In a Linux Kernel ... What can I do to test the FD limit? ... Because, the FD limit is set in /proc/sys/fs/file-max, sample: echo 2048 /proc/sys/fs/file-max ulimit -n 8192 In this case ... the FD limit = 8192 :( ... when the limit should be 2048? I wrote a perl script for the test

Re: ide messages in log. Hard disk dying or linux ide problem?

2001-05-08 Thread Jesse Pollard
Joel Beach [EMAIL PROTECTED]: Hi, Until three or four weeks ago, I have been running kernel 2.4.2 with no problems. However, my hard disk now seems to be playing up. In my system log, I get the following messages. May 3 08:13:14 kinslayer kernel: hda: dma_intr: error=0x40 {

Re: [RFC] Direct Sockets Support??

2001-05-08 Thread Alan Cox
A couple of concerns I have: * How to pin or pagelock the application buffer without making a kernel transition. You need to pin them in advance. And pinning pages is _expensive_ so you dont want to keep pinning/unpinning pages * Assuming the memory can be locked down, how can a list of

Re: ipv6 activity causing system hang in kernel 2.4.4 [solution]

2001-05-08 Thread Pekka Savola
Hi, Sorry for breaking the thread, but I only read l-k through www archives, so... This problem is fixed in CVS. Apply: http://vger.samba.org/cgi-bin/cvsweb/linux/net/ipv6/ndisc.c.diff?r1=1.49r2=1.50cvsroot=vger And you'll be fine. Please Cc: if follow-ups. --8-- In article [EMAIL

Re: kdb wishlist

2001-05-08 Thread Manfred Spraul
One addtional wish list entry: 'ss' and especially 'ssb' could print the new value of the overwritten register/memory address in each line, perhaps both the old and new value. -- Manfred - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: kdb wishlist

2001-05-08 Thread Keith Owens
On Tue, 8 May 2001 15:32:47 +0200, Manfred Spraul [EMAIL PROTECTED] wrote: One addtional wish list entry: 'ss' and especially 'ssb' could print the new value of the overwritten register/memory address in each line, perhaps both the old and new value. I don't need new wishlist entries, I need

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-05-08 Thread volodya
I have tried this approach too a couple of years ago. I came to the idea that I want some kind of event reporting mechanism to know when application faults and when other events (like I/O) occurs. Booting is just the tip of the iceberg. MOST big apps are seeking on startup because a) their

nfs MAP_SHARED corruption fix

2001-05-08 Thread Andrea Arcangeli
This fixes corruption with MAP_SHARED on top of nfs filesystem in 2.4: --- 2.4.5pre1aa2/fs/nfs/write.c.~1~ Tue May 1 19:35:29 2001 +++ 2.4.5pre1aa2/fs/nfs/write.c Tue May 8 02:04:15 2001 @@ -1533,6 +1533,7 @@ if (!inode file) inode = file-f_dentry-d_inode; +

Re: monitor file writes

2001-05-08 Thread Joel Jaeggli
lsof will tell you what files are open and what applications are using them. joelja On Tue, 8 May 2001, Dennis Bjorklund wrote: Is there a way in linux to montior file writes? I have something that is writing to the disk every 5:th second (approx.) And I don't know what it is.. In windows

Re: fs.file-max

2001-05-08 Thread Dan Kegel
Federico Edelman Anaya ([EMAIL PROTECTED]) wrote: What can I do to test the FD limit? ... Because, the FD limit is set in /proc/sys/fs/file-max, sample: echo 2048 /proc/sys/fs/file-max That sets the systemwide limit to 2048. ulimit -n 8192 That sets the per-process limit (for

Re: fs.file-max

2001-05-08 Thread Federico Edelman Anaya
Dan: Hi ... Dan Kegel wrote: Federico Edelman Anaya ([EMAIL PROTECTED]) wrote: What can I do to test the FD limit? ... Because, the FD limit is set in /proc/sys/fs/file-max, sample: echo 2048 /proc/sys/fs/file-max That sets the systemwide limit to 2048. Ok ... ulimit -n

kmalloc(..., GFP_ATOMIC) buffers contiguous - hence suitable for PCI DMA?

2001-05-08 Thread Khachaturov, Vassilii
Hi folks! (I have looked up in the archive the linux-kernel threads for kwds DMA, contiguous, address before writing this mail, and read the corresponding threads.) I am trying to port some driver to Linux2.4/i386. I have just read the Linux device drivers book by A.Rubini, and this is what

Re: fs.file-max

2001-05-08 Thread Nathan Straz
On Tue, May 08, 2001 at 10:03:23AM +, Federico Edelman Anaya wrote: What can I do to test the FD limit? ... Because, the FD limit is set in /proc/sys/fs/file-max, sample: echo 2048 /proc/sys/fs/file-max ulimit -n 8192 In this case ... the FD limit = 8192 :( ... when the limit should

2.2.19 + reiserfs 3.5.32 nfsd wait_on_buffer/down_failed

2001-05-08 Thread Michael Stiller
Hi, we run a nfs server utilizing 2.2.19 + ReiserFS version 3.5.32 on a P 3 550 machine. Disk subsystem is a GDT7518RN using 4 UW disks as raid 5 device. After upgrading from 2.2.17 + reiserfs to 2.2.19 we experience many (very much more than with 2.2.17) problems with our nfs clients about 12

Re: [PATCH] allocation looping + kswapd CPU cycles

2001-05-08 Thread Alex Bligh - linux-kernel
The real fix is to measure fragmentation and the progress of kswapd, but that is too drastic for 2.4.x. I suspect the real fix might, in general, be a) to reduce use of kmalloc() etc. which gives physically contiguous memory, where virtually contiguous memory will do (and is,

Re: write to dvd ram

2001-05-08 Thread cacook
Many thanks Jim. Now at least I have a way. But I caution others that Linux modifies the UDF filesystem somehow, so that Winders can no longer understand it. I nearly lost all my music photo archives to this. And attempts to rm or mv on a DVDRAM with UDF cause it to segfault jam up.

Re: RAID question

2001-05-08 Thread Jakob Østergaard
On Tue, May 08, 2001 at 12:48:25PM +1000, Peter Waltenberg wrote: We have a RAID 5 system thats had 2 of 6 disks in the RAID go into thermal shutdown. (Air-con failure). The disks are functional, but the RAID won't restart because the superblock timestamps on those two disks are now out of

Re: nfs MAP_SHARED corruption fix

2001-05-08 Thread Trond Myklebust
== Andrea Arcangeli [EMAIL PROTECTED] writes: This fixes corruption with MAP_SHARED on top of nfs filesystem in 2.4: --- 2.4.5pre1aa2/fs/nfs/write.c.~1~ Tue May 1 19:35:29 2001 +++ 2.4.5pre1aa2/fs/nfs/write.c Tue May 8 02:04:15 2001 @@ -1533,6 +1533,7 @@

LSB 0.9 public draft

2001-05-08 Thread Alan Cox
To make sure this gets enough publicity and eyes on it.. - The Linux Standard Base is in the final stages of the LSB written specification for Linux. The workgroup has published the LSB v0.9 written specification, and is undergoing a thirty day Request For Comments from the

Re: nfs MAP_SHARED corruption fix

2001-05-08 Thread Kurt Garloff
On Tue, May 08, 2001 at 05:21:02PM +0200, Trond Myklebust wrote: Could you instead detail exactly which corruption problem you are trying to fix? int fd = open (name, O_RDWR); char* adr = (char*) mmap (0, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); /* write to *adr through *(ard+len-1) */

Re: Possible PCI subsystem bug in 2.4

2001-05-08 Thread Maciej W. Rozycki
On 4 May 2001, Eric W. Biederman wrote: The example that sticks out in my head is we rely on the MP table to tell us if the local apic is in pic_mode or in virtual wire mode. When all we really have to do is ask it. You can't. IMCR is write-only and may involve chipset-specific

Re: [Question] Explanation of zero-copy networking

2001-05-08 Thread Jamie Lokier
Alan Cox wrote: so there's still single copy for write() of a mmap()ed page? An mmap page will go direct to disk. Looking at the 2.4.4 code, mmap() of file followed by write() to socket will copy the data once. I could be mistaken (only glanced at the code quickly) but I base that on the

Re: [ot] named sockets

2001-05-08 Thread Mikael Pettersson
On Mon, 7 May 2001 21:47:33 -0400 (EDT), Adam [EMAIL PROTECTED] wrote: So I'm wondering, is there a way, kind of like relink system call which coule take existing file descriptor (they are still so the fd is there, just unlinked) and link it back to file name? POSIX' fattach(int fd, const char

Re: [PATCH] x86 page fault handler not interrupt safe

2001-05-08 Thread Linus Torvalds
On Tue, 8 May 2001, Alan Cox wrote: I dont see where the alternative patch ensures the user didnt flip the direction flag for one Yeah. We might as well just make it eflags IF, none of the other flags should matter (or we explicitly want them cleared). Linus - To

Re: write to dvd ram

2001-05-08 Thread Ben Fennema
The log is: Apr 15 20:58:27 hydra kernel: UDF-fs INFO UDF 0.9.1 (2000/02/29) Mounting volume 'UDF Volume', timestamp 2001/03/02 11:55 (1e98) At the very least, run 0.9.3 from sourceforce (or the cvs version) and see if it works any better. Ben - To unsubscribe from this list: send the line

Re: [Question] Explanation of zero-copy networking

2001-05-08 Thread Alexander Eichhorn
At first, thanks for the (unexpected large) discussion and hints! Second: sorry for the multimedia-centric viewpoint, but i think it's an important task for future operating systems development (or better: for a real world OS like linux) to have sophisticated support for a _large diversity_ in

PCMCIA ide flash card does not work

2001-05-08 Thread Pavel Machek
Hi! My ide flash card used to work in 2.4.0, but does not work in 2.4.4. Everything compiled in (no modules) May 8 13:43:44 bug cardmgr[58]: initializing socket 0 May 8 13:43:44 bug cardmgr[58]: socket 0: ATA/IDE Fixed Disk May 8 13:43:44 bug cardmgr[58]: module //pcmcia/ide_cs.o not

PCMCIA IDE flash problem found

2001-05-08 Thread Pavel Machek
Hi! 2.4.[123] changed name of ide-cs module, which means your pcmcia setup breaks... This is how to undo the damage. Works for me, do *not* apply into anything official. Pavel --- clean/drivers/ide/ide-cs.c Sun Apr 1 00:23:29

Re: write to dvd ram

2001-05-08 Thread Jens Axboe
On Tue, May 08 2001, Ben Fennema wrote: The log is: Apr 15 20:58:27 hydra kernel: UDF-fs INFO UDF 0.9.1 (2000/02/29) Mounting volume 'UDF Volume', timestamp 2001/03/02 11:55 (1e98) At the very least, run 0.9.3 from sourceforce (or the cvs version) and see if it works any better. I was

RE: PCMCIA IDE flash problem found

2001-05-08 Thread Khachaturov, Vassilii
Why did not you take care of the request_region() call and just disabled it? The ports will be considered free by the system, and another device might grab them later on! Vassilii -Original Message- From: Pavel Machek [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 8:14 AM To:

Re: write to dvd ram

2001-05-08 Thread cacook
Thanks, I'll try it. Didn't get the prior response. -- C. The best way out is always through. - Robert Frost A Servant to Servants, 1914 Jens Axboe wrote: On Tue, May 08 2001, Ben Fennema wrote: The log is: Apr 15 20:58:27 hydra kernel: UDF-fs INFO UDF 0.9.1 (2000/02/29)

Re: PCMCIA IDE flash problem found

2001-05-08 Thread Pavel Machek
Why did not you take care of the request_region() call and just disabled it? The ports will be considered free by the system, and another device might grab them later on! Because it was one of changes between 2.4.0 and 2.4.4. Ignore that.

nfsd from kernel 2.4.4 oops

2001-05-08 Thread Fermin Molina
Hi, I'm using kernel 2.4.4 cvs from SGI, with xfs. I'm getting this Oops: kernel: Unable to handle kernel NULL pointer dereference at virtual address 0010 kernel: printing eip: kernel: c017bfd8 kernel: *pde = kernel: Oops: kernel: CPU:0 kernel: EIP:

Problem: 'keyboard: Timeout - AT keyboard not present?'

2001-05-08 Thread Len Sorensen
I have been encountering the following problem for quite a while now (in 2.4 pre kernels, and 2.4.x final kernels), and from what I have been able to determine, it has affected people since 2.3.4x or so, and is also affecting 2.2.17 and above. The problem is that once in a while (which varies

Re: LSB 0.9 public draft

2001-05-08 Thread Guest section DW
On Tue, May 08, 2001 at 04:29:37PM +0100, Alan Cox wrote: To make sure this gets enough publicity and eyes on it.. http://www.linuxbase.org/spec/lsbreview.html Yes. Lots of tiny inaccuracies. And no email address. (But a form with the mysterious button Change.) - To unsubscribe from this

Re: write to dvd ram

2001-05-08 Thread Thiago Vinhas de Moraes
Hi! Can this new UDF driver do cd-rewriting ? Em Ter 08 Mai 2001 14:50, Jens Axboe escreveu: On Tue, May 08 2001, Ben Fennema wrote: The log is: Apr 15 20:58:27 hydra kernel: UDF-fs INFO UDF 0.9.1 (2000/02/29) Mounting volume 'UDF Volume', timestamp 2001/03/02 11:55 (1e98) At

Re: [PATCH] allocation looping + kswapd CPU cycles

2001-05-08 Thread Marcelo Tosatti
On Tue, 8 May 2001, Mark Hemment wrote: In 2.4.3pre6, code in page_alloc.c:__alloc_pages(), changed from; try_to_free_pages(gfp_mask); wakeup_bdflush(); if (!order) goto try_again; to try_to_free_pages(gfp_mask); wakeup_bdflush();

Re: write to dvd ram

2001-05-08 Thread Jens Axboe
On Tue, May 08 2001, Thiago Vinhas de Moraes wrote: Hi! Can this new UDF driver do cd-rewriting ? No not in itself, but you can give the pktcdvd module a shot. It can do rw CD-RW mount so far, at least. *.kernel.org/pub/linux/kernel/people/axboe/packet/ There's a packet-writing mailing

Re: [PATCH] allocation looping + kswapd CPU cycles

2001-05-08 Thread Jens Axboe
On Tue, May 08 2001, Marcelo Tosatti wrote: The attached patch (against 2.4.5-pre1) fixes the looping symptom, by adding a counter and looping only twice for non-zero order allocations. Looks good. (actually Rik had a patch similar to this which fixed a real case with cdda2wav just like

No Subject

2001-05-08 Thread Richard B. Johnson
To driver wizards: I have a driver which needs to wait for some hardware. Basically, it needs to have some code added to the run-queue so it can get some CPU time even though it's not being called. It needs to get some CPU time which can be turned on or turned off as a result of an interrupt

Re: [RFC] Direct Sockets Support??

2001-05-08 Thread Pete Wyckoff
[EMAIL PROTECTED] said: A couple of concerns I have: * How to pin or pagelock the application buffer without making a kernel transition. You need to pin them in advance. And pinning pages is _expensive_ so you dont want to keep pinning/unpinning pages I can't convince myself why this

oddity with page_launder() handling of dirty pages

2001-05-08 Thread Marcelo Tosatti
Hi, I was just wondering how bad the current way of writing out dirty pages is wrt multiple page_launder() users. We don't remove a dirty page from the inactive dirty list when writing it out (as opposed to direct page-buffers ll_rw_block() IO). When we have multiple users inside

[i386 arch] MTR messages significant?]

2001-05-08 Thread LA Walsh
I've been seeing these for a while now (2.4.4 - =2.4.2) also coincidental with a change to XFree86 X 4.0.3 from MetroX in the time frame. Am not sure exactly when they started but was wondering if they were significant. It seems some app is trying to delete or modify something. On console and

Re: your mail

2001-05-08 Thread Jens Axboe
On Tue, May 08 2001, Richard B. Johnson wrote: To driver wizards: I have a driver which needs to wait for some hardware. Basically, it needs to have some code added to the run-queue so it can get some CPU time even though it's not being called. It needs to get some CPU time which can

Re: your mail

2001-05-08 Thread Jens Axboe
On Tue, May 08 2001, Richard B. Johnson wrote: Use a kernel thread? If you don't need to access user space, context switches are very cheap. So, what am I supposed to do to add a piece of driver code to the run queue so it gets scheduled occasionally? Several, grep for

RE: [RFC] Direct Sockets Support??

2001-05-08 Thread Venkatesh Ramamurthy
But in the case of an application which fits in main memory, and has been running for a while (so all pages are present and dirty), all you'd really have to do is verify the page tables are in the proper state and skip the TLB flush, right? We really

Re: your mail

2001-05-08 Thread Richard B. Johnson
On Tue, 8 May 2001, Jens Axboe wrote: On Tue, May 08 2001, Richard B. Johnson wrote: To driver wizards: I have a driver which needs to wait for some hardware. Basically, it needs to have some code added to the run-queue so it can get some CPU time even though it's not being

[patch] 2.4.4: mmap() fails for certain legal requests

2001-05-08 Thread Maciej W. Rozycki
Hi, The mmap() call fails when addr is specified, MAP_FIXED is cleared in flags and no address space can be allocated either at addr or above it. This is a legal request and it should not fail as long as there is space available below addr. Following is a patch that fixes the problem. This

Re: your mail

2001-05-08 Thread Alan Cox
I have a driver which needs to wait for some hardware. Basically, it needs to have some code added to the run-queue so it can get some CPU time even though it's not being called. Wht does it have to wait ? Why cant it just poll and come back next time ? - To unsubscribe from this list: send

Re: [RFC] Direct Sockets Support??

2001-05-08 Thread Alan Cox
a. when a user app wants to receive some data, it allocates memory(using malloc) and waits for the hw to do zero-copy read. The kernel does not allocate physical page frames for the entire memory region allocated. We need to lock the memory (and locking is expensive due to

Re: Patch to improve readability of sock_rcvlowat() - comments wanted...

2001-05-08 Thread Jesper Juhl
Ronald Bultje wrote: On 2001.05.08 01:04:57 +0200 Jesper Juhl wrote: static inline int sock_rcvlowat(struct sock *sk, int waitall, int len) { int r = len; if (!waitall) r = min(sk-rcvlowat, len); return max(1,r); } return max(1,

Re: [PATCH][RFT] smbfs bugfixes for 2.4.4

2001-05-08 Thread Urban Widmark
On 7 May 2001, Linus Torvalds wrote: It has code to do that in smb_revalidate_inode(), but it may be that something else refreshes the inode size _without_ doing the proper invalidation checks. Or maybe Urban broke that logic by mistake while fixing the other one ;) No, I broke it when

  1   2   3   4   >