Re: innd mmap bug in 2.4.0-test12 (UNIMPORTANT)

2000-12-28 Thread Pau
On Thu, 28 Dec 2000, Alan Cox wrote: > The ramfs maintainer has patches (in -ac) which deal with the size limiting > of RAMfs. I'm using it on a PDA and its really really nice to be able to > pop up a GUI app and drag the bar to '60% for apps' like other PDA systems ;) May I ask which PDA do

Re: linux 2.2.19pre and thttpd (VM-global problem?)

2000-12-28 Thread Petru Paler
On Fri, Dec 29, 2000 at 03:47:12AM +0100, Andrea Arcangeli wrote: > PS. I'm very suprised thttpd isn't threaded, it should really be threaded at > least on the x86 family to run fast. This is one of the main thttpd design points: run in a select() loop. Since it is intended for mainly static

Re: Oops when mounting cdrom

2000-12-28 Thread Keith Owens
On Fri, 29 Dec 2000 01:55:51 +0100, "Udo A. Steinberg" <[EMAIL PROTECTED]> wrote: >Can someone explain to me what all those ksymoops warnings are >about? >Warning (compare_maps): ksyms_base symbol acpi_clear_event_R__ver_acpi_clear_event >not found in System.map. Ignoring ksyms_base entry

Re: 2.2.19pre3 on sparc64: Hangs on boot, "no cont in shutdown!"??

2000-12-28 Thread David S. Miller
"make check_asm" should fix it. Later, David S. Miller [EMAIL PROTECTED] - 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: Repeatable 2.4.0-test13-pre4 nfsd Oops rears it head again

2000-12-28 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Mike Elmore <[EMAIL PROTECTED]> wrote: > >I really need to get rid of this 8139 card. Since >yall are the oracle, which nice 100mbs card is fine >hardware and is coupled with a well debugged driver? There are always problems with some hardware, but my personal

Re: test13-pre5

2000-12-28 Thread Albert Cranford
Simply executing *p++ = htonl(fl->fl_pid); before start = loff_t_to_s64(fl->fl_start); also works. Later, Albert Linus Torvalds wrote: > > On Fri, 29 Dec 2000, Stefan Traby wrote: > > On Thu, Dec 28, 2000 at 03:37:51PM -0800, Linus Torvalds wrote: > > > > > Too bad. Maybe

Re: linux 2.4.0-test12 compile error

2000-12-28 Thread Matthew D. Pitts
My fault. The ia64 patch was the problem. - Original Message - From: Matthew D. Pitts To: [EMAIL PROTECTED] Sent: Thursday, December 28, 2000 4:39 PM Subject: linux 2.4.0-test12 compile error Forgive me if this question has already been answered. I am

Re: Repeatable 2.4.0-test13-pre4 nfsd Oops rears it head again

2000-12-28 Thread Mike Elmore
All, You are some damn smart people. Whatever evil was happening is fixed in test13-pre5. I pounded it with 3 successive full backups of my multigig nfs mounted home directory to my Onstream drive while downloading a kernel and doing multiple >100M file copies over nfs at the same time while

aic7xxx 2.4.0 test12 hang

2000-12-28 Thread Armin Obersteiner
hi! kernel: 2.4.0.test12 hardware: Adaptec AIC-7892 Ultra 160/m SCSI host adapter (19160) problem: kernel hangs when using my cdrom with cdparanoia to read cdda data. (i have nothing else on the bus for now.) i'd like 2 provide more info, but after 2 *long* fsck ... (maybe tomorrow :-( i've

Why was this APM patch not fully applied?

2000-12-28 Thread John Fremlin
On Tue Apr 04 2000 - 23:19:12 EDT, Stephen Rothwell posted a patch to linux-kernel. See http://boudicca.tux.org/hypermail/linux-kernel/2000week15/0481.html To quote: This patch (against 2.3.99pre4-4) does the following: Allow user mode programs to reject standby and suspend

Re: linux 2.2.19pre and thttpd (VM-global problem?)

2000-12-28 Thread Andrea Arcangeli
On Fri, Dec 29, 2000 at 03:29:53AM +0100, Andrea Arcangeli wrote: > On Fri, Dec 29, 2000 at 02:32:32AM +0100, Jure Pecar wrote: > > Hi all, > > > > I'm expiriencing a problem with thttpd web server > > (www.acme.com/software/thttpd) on recent linux 2.2 kernels with Andrea's I downloaded the

Re: linux 2.2.19pre and thttpd (VM-global problem?)

2000-12-28 Thread Andrea Arcangeli
On Fri, Dec 29, 2000 at 02:32:32AM +0100, Jure Pecar wrote: > Hi all, > > I'm expiriencing a problem with thttpd web server > (www.acme.com/software/thttpd) on recent linux 2.2 kernels with Andrea's > VM-global patches. Without the patch server runs normally with its usual Before the -7

NIC + PCI busmaster problems? (2.2, 2.4) - Was: Re: 8139too driver broken? (2.4-test12)

2000-12-28 Thread Stefan Hoffmeister
: On Sat, 23 Dec 2000 18:50:53 +0100, Stefan Hoffmeister wrote: >: On Fri, 22 Dec 2000 18:34:46 + (GMT), Alan Cox wrote: > >>2.2.18 might help and also as an '8139too' driver rewrite which may work > >Advancing further to a 2.4-test12 kernel (with the latest available >8139too driver -

Re: Repeatable Oops in 2.4t13p4ac2

2000-12-28 Thread Alan Cox
> I am fairly confident something in ac2 is fishy. I can repeatable get > ac2 to fail with PCMCIA and also reiserfs under load, I absolutely > cannot get these failures without ac2. The PCMCIA thing is unlikely to be related (there are no changes on any PCMCIA that actually worked on 13pre4).

Re: Oops when mounting cdrom

2000-12-28 Thread Jens Axboe
On Fri, Dec 29 2000, Udo A. Steinberg wrote: > Hi all, > > When mounting a 700 MB CD-RW in my Plextor CD-ROM, my machine > reliably oopses. Below is the first oops decoded. > > >>EIP; c01be6df<= Fixed in pre5 -- * Jens Axboe <[EMAIL PROTECTED]> * SuSE Labs - To unsubscribe from this

linux 2.2.19pre and thttpd (VM-global problem?)

2000-12-28 Thread Jure Pecar
Hi all, I'm expiriencing a problem with thttpd web server (www.acme.com/software/thttpd) on recent linux 2.2 kernels with Andrea's VM-global patches. Without the patch server runs normally with its usual dose of complaints on the linux platform (it's being developed on BSD afaik), but with the

Re: CCFOUND and more

2000-12-28 Thread J . A . Magallon
On 2000.12.28 Keith Owens wrote: > > Yes. Some arch files change CROSS_COMPILE after CC has been set and > expect the change to flow into the definition of CC. This "feature" > only works because '=' stores the value as text and reevaluates the > text each time, automatically picking up any

Re: test13-pre5

2000-12-28 Thread Linus Torvalds
On Fri, 29 Dec 2000, Stefan Traby wrote: > On Thu, Dec 28, 2000 at 03:37:51PM -0800, Linus Torvalds wrote: > > > Too bad. Maybe somebody should tell gcc maintainers about programmers that > > know more than the compiler again. > > I know that {p,}gcc-2.95.2{,.1} are not officially supported.

Re: test13-pre5

2000-12-28 Thread Linus Torvalds
On Thu, 28 Dec 2000, Marcelo Tosatti wrote: > > We also want to move the page to the per-address-space clean list in > ClearPageDirty I suppose. I would actually advice against this. - it's ok to have too many pages on the dirty list (think o fthe dirty list as a "these pages _can_ be

Oops when mounting cdrom

2000-12-28 Thread Udo A. Steinberg
Hi all, When mounting a 700 MB CD-RW in my Plextor CD-ROM, my machine reliably oopses. Below is the first oops decoded. Can someone explain to me what all those ksymoops warnings are about? -Udo. ksymoops 2.3.5 on i686 2.4.0-test13-pre4. Options used -V (default) -k /proc/ksyms

Re: test13-pre5

2000-12-28 Thread Stefan Traby
On Thu, Dec 28, 2000 at 03:37:51PM -0800, Linus Torvalds wrote: > Too bad. Maybe somebody should tell gcc maintainers about programmers that > know more than the compiler again. I know that {p,}gcc-2.95.2{,.1} are not officially supported. Did you know that it's impossible to compile nfsv4

Re: New driver

2000-12-28 Thread Pixel
> > On Thu, 28 Dec 2000 22:19:37 +0100 (CET), > [EMAIL PROTECTED] wrote: > >I wanted to share what I've done but since I'm very new to kernel hacking > >I don't know what to do with my patch. Could you give me some hints? > > linux/Documentation/SubmittingPatches > Ok. Since it's a new

Re: NETDEV WATCHDOG: eth0: transmit timed out

2000-12-28 Thread idalton
On Thu, Dec 28, 2000 at 12:26:06PM +0100, Manfred wrote: > David wrote: > > > > Same old story, bugger still does it. Have to set the link down/up to > > get it running again. > > > > 00:12.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev > > 20) > > > > I missed your earlier

Re: USB web cam

2000-12-28 Thread Greg KH
On Thu, Dec 28, 2000 at 05:32:15PM -0500, Wakko Warner wrote: > I would have tried linux-usb, but I didn't know where it was, sorry. try http://www.linux-usb.org/ greg k-h -- greg@(kroah|wirex).com http://immunix.org/~greg - To unsubscribe from this list: send the line "unsubscribe

Re: 2.2.18 dies on my 486..

2000-12-28 Thread Mike A. Harris
On Thu, 28 Dec 2000, Alan Cox wrote: >> I just upgraded my 486 firewall's kernel to pure 2.2.18 from >> 2.2.17, with no other changes, and now it dies with all sorts >> of hard disk failures. >> >> I get: >> >> hdb: lost interrupt >> And stuff about DRQ lost... > >What hardware config, what

[PATCH] e820 memory detection fix for ThinkPad

2000-12-28 Thread Marc Joosen
Hi Linus, Alan, lkml-readers, I first sent this two weeks ago, but other than a suggestion from a linux-kernel reader, I got no response. This small patch didn't appear in a 2.4.0-test kernel either, so I'm just submitting it again. This is a tiny patch to make the int15/e820 memory

Re: test13-pre5

2000-12-28 Thread Marcelo Tosatti
On Thu, 28 Dec 2000, Linus Torvalds wrote: > - make "SetPageDirty()" do something like > > if (!test_and_set(PG_dirty, >flags)) { > spin_lock(_cache_lock); > list_del(page->list); > list_add(page->list, page->mapping->dirty_pages); >

Re: [PATCH] Re: innd mmap bug in 2.4.0-test12

2000-12-28 Thread Daniel Phillips
Linus Torvalds wrote: > Ok, pre-5 should have all the same places you found already fixed, but > please do give it some heavy-duty testing to make sure there isn't > anything hidden.. I've beaten on it fairly heavily with the BUG in there as you suggested, with no problems. This kernel even

[PATCH] swap write clustering for 2.4 (again :))

2000-12-28 Thread Marcelo Tosatti
Linus, The following patch changes swap_writepage() to try to do write clustering of phisically contiguous pages which are dirty and in the swapcache. Do you want to include it in 2.4 ? diff -Nur --exclude-from=exclude linux.orig/include/linux/mm.h linux/include/linux/mm.h ---

Re: test13-pre5

2000-12-28 Thread Andi Kleen
On Thu, Dec 28, 2000 at 03:37:51PM -0800, Linus Torvalds wrote: > > > On Fri, 29 Dec 2000, Andi Kleen wrote: > > > > Hopefully all the "goto out" micro optimizations can be taken out then too, > > "goto out" often generates much more readable code, so the optimization is > secondary. I was

Re: test13-pre5

2000-12-28 Thread Andi Kleen
On Thu, Dec 28, 2000 at 03:14:56PM -0800, David S. Miller wrote: >Date: Fri, 29 Dec 2000 00:17:21 +0100 >From: Andi Kleen <[EMAIL PROTECTED]> > >On Thu, Dec 28, 2000 at 02:54:52PM -0800, David S. Miller wrote: >> To make things like "page - mem_map" et al. use shifts instead of >

Re: test13-pre5

2000-12-28 Thread Linus Torvalds
On Fri, 29 Dec 2000, Andi Kleen wrote: > > Hopefully all the "goto out" micro optimizations can be taken out then too, "goto out" often generates much more readable code, so the optimization is secondary. > I recently found out that gcc 2.97's block moving pass has the tendency > to move the

Re: test13-pre5

2000-12-28 Thread Linus Torvalds
On Fri, 29 Dec 2000, Andi Kleen wrote: > On Thu, Dec 28, 2000 at 02:54:52PM -0800, David S. Miller wrote: > >Date: Thu, 28 Dec 2000 23:58:36 +0100 > >From: Andi Kleen <[EMAIL PROTECTED]> > > > >Why exactly a power of two ? To get rid of ->index ? > > > > To make things like

Re: test13-pre5

2000-12-28 Thread David S. Miller
Date: Fri, 29 Dec 2000 00:17:21 +0100 From: Andi Kleen <[EMAIL PROTECTED]> On Thu, Dec 28, 2000 at 02:54:52PM -0800, David S. Miller wrote: > To make things like "page - mem_map" et al. use shifts instead of > expensive multiplies... I thought that is what ->index is for ?

Re: USB web cam

2000-12-28 Thread J . A . Magallon
On 2000.12.28 Wakko Warner wrote: > I really hate to ask on the list, but if I was to buy a usb web cam, what > would be a good choice? > > I would have tried linux-usb, but I didn't know where it was, sorry. > Try a fresh new kernel, at least 2.2.18 or any 19-preX. They include usb right

Re: test13-pre5

2000-12-28 Thread Rik van Riel
On Fri, 29 Dec 2000, Andi Kleen wrote: > On Thu, Dec 28, 2000 at 02:54:52PM -0800, David S. Miller wrote: > >Date: Thu, 28 Dec 2000 23:58:36 +0100 > >From: Andi Kleen <[EMAIL PROTECTED]> > > > >Why exactly a power of two ? To get rid of ->index ? > > > > To make things like "page -

Re: test13-pre5

2000-12-28 Thread Andi Kleen
On Thu, Dec 28, 2000 at 03:15:01PM -0800, Linus Torvalds wrote: > > (first number for 32bit, second for 64bit) > > > > - Do not compile virtual in when the kernel does not support highmem > > (saves 4/8 bytes) > > Even on UP, "virtual" often helps. The conversion from "struct page" to > the

Re: test13-pre5

2000-12-28 Thread Andi Kleen
On Thu, Dec 28, 2000 at 02:54:52PM -0800, David S. Miller wrote: >Date: Thu, 28 Dec 2000 23:58:36 +0100 >From: Andi Kleen <[EMAIL PROTECTED]> > >Why exactly a power of two ? To get rid of ->index ? > > To make things like "page - mem_map" et al. use shifts instead of > expensive

Re: test13-pre5

2000-12-28 Thread Linus Torvalds
On Thu, 28 Dec 2000, Andi Kleen wrote: > > BTW.. > > The current 2.4 struct page could be already shortened a lot, saving a lot > of cache. Not that much, but some. > (first number for 32bit, second for 64bit) > > - Do not compile virtual in when the kernel does not support highmem >

Re: 2.2.19 hard hang from userspace while accessing /dev/mdXX devices

2000-12-28 Thread Jeff V. Merkey
On Thu, Dec 28, 2000 at 11:09:34PM +, Alan Cox wrote: > > If you open a non-existant md device (i.e. /dev/md11) from userspace > > with an open() call, then send an ioctl() command, it results in the > > following message then hard hangs the entire system if you attempt > > to open any

Re: test13-pre5

2000-12-28 Thread David S. Miller
Date: Thu, 28 Dec 2000 23:58:36 +0100 From: Andi Kleen <[EMAIL PROTECTED]> Why exactly a power of two ? To get rid of ->index ? To make things like "page - mem_map" et al. use shifts instead of expensive multiplies... Later, David S. Miller [EMAIL PROTECTED] - To unsubscribe from

Re: 2.2.19 hard hang from userspace while accessing /dev/mdXX devices

2000-12-28 Thread Alan Cox
> If you open a non-existant md device (i.e. /dev/md11) from userspace > with an open() call, then send an ioctl() command, it results in the > following message then hard hangs the entire system if you attempt > to open any /dev/mdXX device with a minor number greater than 10. > Used to work

2.2.19 hard hang from userspace while accessing /dev/mdXX devices

2000-12-28 Thread Jeff V. Merkey
Hard hand in 2.2.19 If you open a non-existant md device (i.e. /dev/md11) from userspace with an open() call, then send an ioctl() command, it results in the following message then hard hangs the entire system if you attempt to open any /dev/mdXX device with a minor number greater than 10.

Re: test13-pre5

2000-12-28 Thread Rik van Riel
On Thu, 28 Dec 2000, Andi Kleen wrote: > On Thu, Dec 28, 2000 at 02:33:07PM -0800, David S. Miller wrote: > >Date:Thu, 28 Dec 2000 23:17:22 +0100 > >From: Andi Kleen <[EMAIL PROTECTED]> > > > >Would you consider patches for any of these points? > > > > To me it seems just as

Re: test13-preX: DRM (tdfx.o) unresolved symbols fixed?

2000-12-28 Thread Dieter Nützel
Am Donnerstag, 28. Dezember 2000 17:40 schrieb Tony Hoyle: > Dieter Nützel wrote: > > Am Mittwoch, 27. Dezember 2000 11:07 schrieb Nils Philippsen: > > > Hi all, > > > > > > On Wed, 27 Dec 2000, Dieter [iso-8859-1] Nützel wrote: > > > > I got this since test13-pre1 (pre4, now): > > > > > > > >

Re: test13-pre5

2000-12-28 Thread Andi Kleen
On Thu, Dec 28, 2000 at 02:33:07PM -0800, David S. Miller wrote: >Date: Thu, 28 Dec 2000 23:17:22 +0100 >From: Andi Kleen <[EMAIL PROTECTED]> > >Would you consider patches for any of these points? > > To me it seems just as important to make sure struct page is > a power of 2

Re: USB web cam

2000-12-28 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 28, 2000 at 05:32:15PM -0500, Wakko Warner escreveu: > I really hate to ask on the list, but if I was to buy a usb web cam, what > would be a good choice? > > I would have tried linux-usb, but I didn't know where it was, sorry. one based on the ov511 chipset, like the Creative Web

Re: USB web cam

2000-12-28 Thread Rik van Riel
On Thu, 28 Dec 2000, Wakko Warner wrote: > I really hate to ask on the list, but if I was to buy a usb web > cam, what would be a good choice? The ov511-based cameras seem to work really nicely. (this is a cheap chip, used in lots of different cameras) And while we're on the topic of webcams:

Re: 2.4.0-test12: PCMCIA IRQ assignments?

2000-12-28 Thread Andreas Bombe
On Tue, Dec 26, 2000 at 07:24:39AM -0500, [EMAIL PROTECTED] wrote: > > Hello, > > I have a Sager NP9820 laptop with an ALI chipset and a TI PCI1251BGFN > PCMCIA chipset. For some reason, when I use the yenta module under 2.4.0, > it gets an incorrect IRQ assignment. It uses IRQ11, which is

Re: test13-pre5

2000-12-28 Thread David S. Miller
Date:Thu, 28 Dec 2000 23:17:22 +0100 From: Andi Kleen <[EMAIL PROTECTED]> Would you consider patches for any of these points? To me it seems just as important to make sure struct page is a power of 2 in size, with the waitq debugging turned off this is true for both 32-bit and

[PATCH] VM fixes + RSS limits 2.4.0-test13-pre5

2000-12-28 Thread Rik van Riel
Hi Linus, I know this is probably not the birthday present you've been hoping for, but here is a patch agains 2.4.0-test13-pre5 which does the following - trivial - things: 1. trivially implement RSS ulimit support, with p->rlim[RLIMIT_RSS].rlim_max treated as a hard limit and .rlim_cur

USB web cam

2000-12-28 Thread Wakko Warner
I really hate to ask on the list, but if I was to buy a usb web cam, what would be a good choice? I would have tried linux-usb, but I didn't know where it was, sorry. -- Lab tests show that use of micro$oft causes cancer in lab animals - To unsubscribe from this list: send the line

Re: test13-pre5

2000-12-28 Thread Andi Kleen
On Thu, Dec 28, 2000 at 12:59:22PM -0800, Linus Torvalds wrote: > - we absolutely do _not_ want to make "struct page" bigger. We can't >afford to just throw away another 8 bytes per page on adding a new list >structure, I feel. Even if this would be the simplest solution. BTW.. The

Re: [Patch] shmmin behaviour back to 2.2 behaviour

2000-12-28 Thread Alan Cox
> You can get the Linux special behaviour to be able to attach to a > removed segment by its shmid by passing the file descriptor for the > posix shm from the attached process to the attaching process. > > Did I miss something? Not that I've ever used 8) - To unsubscribe from this list: send

Re: Repeatable 2.4.0-test13-pre4 nfsd Oops rears it head again

2000-12-28 Thread David S. Miller
Try pre5 Later, David S. Miller [EMAIL PROTECTED] - 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: [Patch] shmmin behaviour back to 2.2 behaviour

2000-12-28 Thread Christoph Rohland
Alan Cox <[EMAIL PROTECTED]> writes: > There are fundmental things shm* can do that mmap cannot. Does posix > shm handle those (leaving segments alive but unattached being the > obvious one) Yes: shmget == shm_open (+ ftruncate(fd, size)) shmat== mmap (0,

Re: [Patch] shmem_unuse race fix

2000-12-28 Thread Christoph Rohland
Linus Torvalds <[EMAIL PROTECTED]> writes: > On 28 Dec 2000, Christoph Rohland wrote: > > > > First we need the following patch since otherwise we use a swap entry > > without having the count increased: > > No, that shouldn't be needed. > > Look at the code-path: the kernel has the page

Repeatable 2.4.0-test13-pre4 nfsd Oops rears it head again

2000-12-28 Thread Mike Elmore
All, Had another nfsd oops today. I was listening to a mp3 that is located on a nfs partition mounted off the machine that oops'd with no other network activity. Ksymoops output is attached as well as the regular console text. What the heck, I say what the heck is goin on here? -- Mike

Re: Abysmal RAID 0 performance on 2.4.0-test10 for IDE?

2000-12-28 Thread Mathieu Chouquet-Stringer
[EMAIL PROTECTED] (Tim Wright) writes: > On Wed, Dec 27, 2000 at 04:23:43PM +, Paul Jakma wrote: > > On Tue, 26 Dec 2000, Ian Stirling wrote: > > > > > The PCI bus can move around 130MB/sec, > > > > in bursts yes, but sustained data bandwidth of PCI is a lot lower, > > maybe 30 to 50MB/s.

Re: New driver

2000-12-28 Thread Keith Owens
On Thu, 28 Dec 2000 22:19:37 +0100 (CET), [EMAIL PROTECTED] wrote: >I wanted to share what I've done but since I'm very new to kernel hacking >I don't know what to do with my patch. Could you give me some hints? linux/Documentation/SubmittingPatches - To unsubscribe from this list: send the

Re: [PATCH] 8139too fix

2000-12-28 Thread Andre Hedrick
Jeff Garzik, is offline for the next three weeks.. He claims that his wrists hurt from the keyboard ;-)... Cheers, Andre Hedrick CTO Timpanogas Research Group EVP Linux Development, TRG Linux ATA Development - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: sharing text segments of all programs

2000-12-28 Thread Rik van Riel
On Thu, 28 Dec 2000, Ari Heitner wrote: > this has to be a dumb idea Not really, you're just 8 (9?) years too late... > The question is, why shouldn't it be possible to share the text > segments of *all* running programs? Linux uses shared mmap() for "loading" executables (well, they're just

Re: Abysmal RAID 0 performance on 2.4.0-test10 for IDE?

2000-12-28 Thread Tim Wright
On Wed, Dec 27, 2000 at 04:23:43PM +, Paul Jakma wrote: > On Tue, 26 Dec 2000, Ian Stirling wrote: > > > The PCI bus can move around 130MB/sec, > > in bursts yes, but sustained data bandwidth of PCI is a lot lower, > maybe 30 to 50MB/s. And you won't get sustained RAID performance > >

[PATCH] 8139too fix

2000-12-28 Thread Rik van Riel
Hi, with the fix below, newer versions of modutils won't complain about the (missing) symbol debug... Could you please apply this for the next pre-patch? thanks, Rik -- Hollywood goes for world dumbination, Trailer at 11. http://www.surriel.com/

Re: test13-pre5

2000-12-28 Thread Daniel Phillips
Linus Torvalds wrote: > - global dirty list for global syn(). We don't have one, and I don't >think we want one. We could add a few lists, and split up the active >list into "active" and "active_dirty", for example, but I don't like >the implications that would probably have for the

Re: innd mmap bug in 2.4.0-test12

2000-12-28 Thread Mo McKinlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > does anyone other than me think that the pm code is *way* too agressive about > spinning down the hard drive? my 256mb laptop (2.2.16) will only spin down the > disk for about 30 seconds before it decides it's got something else it feels >

linux 2.4.0-test12 compile error

2000-12-28 Thread Matthew D. Pitts
Forgive me if this question has already been answered. I am unable to compile 2.4.0-test12 on my system.   Linux-Mandrake 7.1 gcc-2.95.3 (might be a gcc snapshot) binutils-2.10.0.33 (freshly compiled today) modutils-2.3.23 (compiled yesterday)   the following is the message I get   gcc

sharing text segments of all programs

2000-12-28 Thread Ari Heitner
this has to be a dumb idea -- either it's way harder to implement than i think, or it's just plain impossible. but i'm curious why it won't work. So, if you fork, all the pages in both the child and the parent are marked COW. Since the text segment is read only, it'll never be written to; all

Re: test13-pre5 (via82cxxx_audio.c)

2000-12-28 Thread Jonathan Hudson
In article <[EMAIL PROTECTED]>, Linus Torvalds <[EMAIL PROTECTED]> writes: LT> LT> The mm cleanups also include removing "swapout()" as a VM operation, as swapout was not removed from drivers/sound/via82cxxx_audio.c; the following does so (compiles and produces sound, someone who

Re: [wildly off-topic] Re: test13-pre5

2000-12-28 Thread Marcelo Tosatti
On Thu, 28 Dec 2000, Rik van Riel wrote: > On Thu, 28 Dec 2000, Marcelo Tosatti wrote: > > On Thu, 28 Dec 2000, Linus Torvalds wrote: > > > > > If somebody (you? hint, hint) wants to do this, > > > > Ok, I'll do it because I love Tove. > > Marcelo, you should buy some glasses ;) > > Tove

[wildly off-topic] Re: test13-pre5

2000-12-28 Thread Rik van Riel
On Thu, 28 Dec 2000, Marcelo Tosatti wrote: > On Thu, 28 Dec 2000, Linus Torvalds wrote: > > > If somebody (you? hint, hint) wants to do this, > > Ok, I'll do it because I love Tove. Marcelo, you should buy some glasses ;) Tove != Tux It's ok and probably safe to love Tux, the nice cuddly

New driver

2000-12-28 Thread Pixel
Hello! I've just joined this mailing-list so forgive-me if I do some mistakes. I've done a little add-on to the linux kernel source in order to build directly the driver for the em8300 chip. This chip is the main chip of the DXR3 and Hollywood Plus mpeg decompression cards. Since now, the

Re: test13-pre5

2000-12-28 Thread Marcelo Tosatti
On Thu, 28 Dec 2000, Linus Torvalds wrote: > If somebody (you? hint, hint) wants to do this, Ok, I'll do it because I love Tove. > I'd be very happy - I can do it myself, but because it's my birthday > I'm supposed to drag myself off the computer soon and be social, or > Tove will be grumpy.

[BUG] in 2.4.0test12 and earlier

2000-12-28 Thread Ray Strode
I've posted these problems several times before, but I've never received any response, and I'd really like this problems worked out. I'd be happy to try anything that I can to assist in the bug tracking process. Basically, the kernel locks up on my Alpha PC164 when network load is high. It does

Re: test13-pre5

2000-12-28 Thread Linus Torvalds
On Thu, 28 Dec 2000, Marcelo Tosatti wrote: > > On Thu, 28 Dec 2000, Linus Torvalds wrote: > > > This still doesn't tell "sync()" about dirty pages (ie the "innd loses the > > active file after a reboot" bug), but now the places that mark pages dirty > > are under control. Next step.. > > Do

Re: [PATCH] Re: innd mmap bug in 2.4.0-test12

2000-12-28 Thread Linus Torvalds
On Thu, 28 Dec 2000, Daniel Phillips wrote: > > OK, I see you just posted -pre5 while I was making the patch, but here > it is anyway, as a cross-check. Ok, pre-5 should have all the same places you found already fixed, but please do give it some heavy-duty testing to make sure there isn't

Re: [PATCH] Re: innd mmap bug in 2.4.0-test12

2000-12-28 Thread Daniel Phillips
Linus Torvalds wrote: > We don't want to lose dirty bits by mistake. The only cases where it's ok > to clear the dirty bit is when we truncate a page completely (so it won't > be needed and obviously really shouldn't be written out) and when we've > lost the last user of a swap cache entry. > >

Re: test13-pre5

2000-12-28 Thread Marcelo Tosatti
On Thu, 28 Dec 2000, Linus Torvalds wrote: > This still doesn't tell "sync()" about dirty pages (ie the "innd loses the > active file after a reboot" bug), but now the places that mark pages dirty > are under control. Next step.. Do you really want to split the per-address-space pages list in

[PATCH] remove __mark_buffer_dirty and related changes

2000-12-28 Thread Marcelo Tosatti
On Thu, 28 Dec 2000, Linus Torvalds wrote: > I would actually prefer not having the balance_dirty() in > mark_buffer_dirty() at all, and then just potentially adding an explicit > balance_dirty to strategic places. There would probably not be that many > of those strategic places. > > As it

Re: New discoveries in the EEPro100 init saga

2000-12-28 Thread Dragan Stancevic
On Sat, Dec 23, 2000, Udo A. Steinberg <[EMAIL PROTECTED]> wrote: ; ; Hi all, ; ; After enabling the option "EEPRO100_PM" and upgrading to test13-pre4 ; my problems with the eepro100 driver mysteriously ceased to exist. ; I no longer see any "Card reports no RX buffers" or "Card reports no ;

test13-pre5

2000-12-28 Thread Linus Torvalds
The main notables are the network fixes (uninitialized skb->dev could and did cause oopses in ip_defrag) and the mm fixes (dirty pages without mappings etc, causing problems in page_launder). The mm cleanups also include removing "swapout()" as a VM operation, as nobody can sanely do anything

[PATCH] ulimit RSS enforcement for 2.4.0-test13-pre4

2000-12-28 Thread Rik van Riel
Hi Linus, Alan, Stephen, the patch below implements trivial RSS ulimit enforcement for the 2.4 kernel. The hard limit (rlim_max) is enforced as a true hard limit, both at page fault time and again from kswapd. The soft limit is "enforced" by simply scanning and swapping the process more

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

2000-12-28 Thread Linus Torvalds
On Thu, 28 Dec 2000, Chris Mason wrote: > > Linus and Rik are cc'd in to find out if this is a good idea in > general. Probably. There are some arguments for starting the writeout early, but there are tons of arguments against it too (the main one being "avoid doing IO if you can do so"),

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

2000-12-28 Thread Chris Mason
On Thursday, December 28, 2000 16:49:14 +0100 Daniel Phillips <[EMAIL PROTECTED]> wrote: [ dbench 48 test on the anon space mapping patch ] > > This benchmark doesn't seem to suffer a lot from noise, so the 7% > slowdown with your patch likely real. > Ok, page_launder is supposed to run

Re: [PATCH] Re: innd mmap bug in 2.4.0-test12

2000-12-28 Thread Daniel Phillips
Linus Torvalds wrote: > No, I'd much rather have > > if (PageDirty(page)) BUG(); > > there, and then have the free_swap_cache code clear the dirty bit. > > We don't want to lose dirty bits by mistake. The only cases where it's ok > to clear the dirty bit is when we truncate a page

Re: innd mmap bug in 2.4.0-test12

2000-12-28 Thread Alan Cox
> > I use ramfs for /tmp on my laptop -- it's very handy because it > > extends the amount of the the disk had spent spun down and therefore > > battery life; but writing large files into /tmp can blow away the > > system or at the very least eat away at otherwise usable ram. Not > > terribly

Re: [PATCH] Re: innd mmap bug in 2.4.0-test12

2000-12-28 Thread Linus Torvalds
On Thu, 28 Dec 2000, Daniel Phillips wrote: > [in vmscan.c] > > Between line 573 and 594 the page can have 1 user and be unlocked, so it > > can be removed by invalidate_inode_pages, and the mapping will be > > cleared here: > >

Re: innd mmap bug in 2.4.0-test12

2000-12-28 Thread Linus Torvalds
On Thu, 28 Dec 2000, Chris Wedgwood wrote: > > this remind me; perhaps you or Al could answer this. > > How hard would it be to have ramfs backed by swap? The goal being > try to achieve something like a FreeBSDs mfs. > > I use ramfs for /tmp on my laptop -- it's very handy because it >

Re: [prepatch] 2.4 waitqueues

2000-12-28 Thread Linus Torvalds
On Wed, 27 Dec 2000, Andrew Morton wrote: > > - Introduces a kernel-wide macro `SMP_KERNEL'. This is designed to > be used as a `compiled ifdef' in place of `#ifdef CONFIG_SMP'. There > are a few examples in __wake_up_common(). Please don't do this, it screws up the config option

Re: Activating APIC on single processor

2000-12-28 Thread Mikael Pettersson
Francis Pieraut wrote: >I try to activate APIC interrruption on a single processor(PIII) with >kernel2.4.0-test11. > >I activate APIC interruption with the configuration of linux kernel >2.4.0test-11. In the linux kernel configuration under processor type and >features I activate "APIC and

[PATCH] Re: innd mmap bug in 2.4.0-test12

2000-12-28 Thread Daniel Phillips
[in vmscan.c] > Between line 573 and 594 the page can have 1 user and be unlocked, so it > can be removed by invalidate_inode_pages, and the mapping will be > cleared here: > http://innominate.org/~graichen/projects/lxr/source/mm/filemap.c?v=v2.3#L98 This seems like the obvious thing to do: ---

Re: [PATCH] not sleep while holding a locked page in block_truncate_page

2000-12-28 Thread Linus Torvalds
On Thu, 28 Dec 2000, Marcelo Tosatti wrote: > > If we call mark_buffer_dirty() on an already dirty buffer, we may sleep > waiting for bdflush even if we haven't caused _any_ real disk IO (because > the buffer was already dirty anyway). > > I think it makes more sense if we only call

Re: Repeatable Oops in 2.4t13p4ac2

2000-12-28 Thread Marcelo Tosatti
On Thu, 28 Dec 2000 [EMAIL PROTECTED] wrote: > > > > > > > > > > Do you remember if the reports you've got always oopsed the same > > > > > address (004) ? > > > > > > Hi - Here's another Oops from the same machine. It looks to be in a totally > different place in the code which

Re: Activating APIC on single processor

2000-12-28 Thread fpieraut
Hi I have try to activate APIC in my BIOS, but I didn't have this option. Have you ever try it? Tanks Francis Pieraut Francis Pieraut On Thu, 28 Dec 2000, John Levon wrote: > On 28 Dec 2000, David Huggins-Daines wrote: > > > <[EMAIL PROTECTED]> writes: > > > > > I activate APIC

Re: innd mmap bug in 2.4.0-test12

2000-12-28 Thread Chris Mason
On Thursday, December 28, 2000 15:51:24 -0200 Rik van Riel <[EMAIL PROTECTED]> wrote: > On Thu, 28 Dec 2000, Chris Mason wrote: > >> I think a dirty page without a writepage func seems a bit >> broken. How about we give ramfs a writepage func that just >> returns 1. That way nobody does any

Re: [PATCH] not sleep while holding a locked page in block_truncate_page

2000-12-28 Thread Marcelo Tosatti
On Thu, 28 Dec 2000, Linus Torvalds wrote: > > > On Thu, 28 Dec 2000, Marcelo Tosatti wrote: > > > > Hi Linus, > > > > block_truncate_page() function unecessarily calls mark_buffer_dirty(), > > which may wait on bdflush, while holding a locked page. > > Good catch. It should be ok to

Re: Repeatable Oops in 2.4t13p4ac2

2000-12-28 Thread chris
> > > > > > > > Do you remember if the reports you've got always oopsed the same > > > > address (004) ? > > > Hi - Here's another Oops from the same machine. It looks to be in a totally different place in the code which probably means it's a memory problem? I'll try installing on

Re: [Patch] shmem_unuse race fix

2000-12-28 Thread Linus Torvalds
On 28 Dec 2000, Christoph Rohland wrote: > > First we need the following patch since otherwise we use a swap entry > without having the count increased: No, that shouldn't be needed. Look at the code-path: the kernel has the page locked, so nothing will de-allocate the swap entry - so it's

Re: innd mmap bug in 2.4.0-test12

2000-12-28 Thread Rik van Riel
On Thu, 28 Dec 2000, Linus Torvalds wrote: > On Thu, 28 Dec 2000, Rik van Riel wrote: > > > > I've made a small debugging patch that simply checks > > for this illegal state in add_page_to_active_list and > > add_page_to_inactive_dirty_list. > > I bet it won't catch the real bad guy, which

Re: [PATCH] not sleep while holding a locked page in block_truncate_page

2000-12-28 Thread Linus Torvalds
On Thu, 28 Dec 2000, Marcelo Tosatti wrote: > > Hi Linus, > > block_truncate_page() function unecessarily calls mark_buffer_dirty(), > which may wait on bdflush, while holding a locked page. Good catch. It should be ok to sleep for bdflush while holding the page, but at the same time it's

  1   2   3   4   >