Re: PROBLEM: Segmentation fault [SIGSEGV] reading from /proc/tty/driver/serial

2000-09-16 Thread David Ford
There was a round of discussion about /proc.../serial back in May. It covered corruption and bad addresses. Although it didn't specifically say "I'm fixing the segmentation fault that some people are going to report", they did indeed discuss the bad data, smp locking, and etc precisely on

Re: Ethernet Driver for Built in Network Card

2000-09-16 Thread David Ford
Craig Whitmore wrote: > Does anyone know what driver will work with the ethernet card in a New > Intel motherboard /proc/pci says its .. > PCI_DEVICE_ID_INTEL_82865 > 0x1227PCI_VENDOR_ID_INTEL 0x8086 But I can't find any > drivers for this device :-( Its a 820 Motherboard I think.

webcam II & kernel compiling

2000-09-16 Thread Joe
I have 2 questions. 1) Who is working on the webcam II cpia driver. Under NT I can get 15 to 25 fps, while Linux seems to be limited to 15 max. Is this a hard coded value in the lernel somewhere and is there plans for changing this? (I know that this is an experimental driver, but rebooting

Ethernet Driver for Built in Network Card

2000-09-16 Thread Craig Whitmore
Does anyone know what driver will work with the ethernet card in a New Intel motherboard   /proc/pci says its ..   PCI_DEVICE_ID_INTEL_82865   0x1227 PCI_VENDOR_ID_INTEL   0x8086   But I can't find any drivers for this device :-(   Its a 820 Motherboard I think.       Thanks

Re: [PATCH] arch/i386/kernel/acpi.c: get rid of check_region and other small fixes/cleanups

2000-09-16 Thread Arnaldo Carvalho de Melo
Em Sat, Sep 16, 2000 at 10:49:08PM -0400, Jeff Garzik escreveu: > Applied, but... :) > > In reviewing your patch, I noticed more ugliness. Can you be convinced > to take care of these, too? yap, I'm adding it to my todo list. > In acpi_init(), it is possible for the function to error exit

PROBLEM: Segmentation fault [SIGSEGV] reading from /proc/tty/driver/serial

2000-09-16 Thread David Ciemiewicz
Igmar, Thanks for attempting to validate that the problem is fixed in a later release. However, I still stand by my submission. If the readers will note, the problem is in 2.2.14 and AND in 2.3.5 as referenced by another auther. It looks like the info structure in

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Albert D. Cahalan
Rik van Riel writes: > It would be better to put that in a userspace tool like > vmstat. > > Oh, and now we're talking about vmstat, I guess that > program also needs support for displaying the number > of active/inactive_dirty/inactive_clean pages ... ;) > > (any volunteers?) Umm, OK. I

2.2 VIA 82Cxxx Audio Driver - help

2000-09-16 Thread Gregory Maxwell
Hi. I've had great success with your VIA 82Cxxx in 2.4test9 on a new system I'm helping a friend setup for his mom. Unfortunately, I'm not having so much luck with the rest of 2.4. Because of general stability issues, I need to move back to 2.2 on this system. However, the VIA 82Cxxx driver

RE: system hang with usb audio driver

2000-09-16 Thread Dunlap, Randy
> Hi, I have been having problems with the usb audio driver on a set of > Philips DSS330. The driver seemed to work properly up until 2.3.99-6. > The driver included with 2.3.99-6 worked correctly when included with > kernels up to 2.4.0test6 or so. The current driver (2.4.0test7+) will > hang

Re: [PATCH] arch/i386/kernel/acpi.c: get rid of check_region and other small fixes/cleanups

2000-09-16 Thread Jeff Garzik
Applied, but... :) In reviewing your patch, I noticed more ugliness. Can you be convinced to take care of these, too? In acpi_init(), it is possible for the function to error exit without cleaning up from a successful acpi_claim_ioports call. Further, acpi_claim_ioports itself is pretty nasty

Re: [BUG] That bloody /usr/local busy back again

2000-09-16 Thread Matthew Dharm
I'm seeing something very similar to this on test8 with my root partition. umount reports device is busy at shutdown. This is an IDE device. I'm using a x86 system based on RH6.2 with a few upgrades (modutils, etc). Matt On Sun, Sep 17, 2000 at 01:17:11PM -1100, Daniel Stone wrote: > I

[BUG] That bloody /usr/local busy back again

2000-09-16 Thread Daniel Stone
I haven't had time to test it thoroughly, but I've noticed from about test8-preX onwards (latest tested test8) that on shutdown, my /usr/local (/dev/ide/host0/bus0/target0/lun0/part6, ReiserFS), is always "busy" - the last thing I see in shutdown -r now is: "Unmounting filesystems...

smp_num_cpus undeclared compile error in 2.4.0-test8

2000-09-16 Thread Hao Xu
Hi, I found a bug on the 2.4.0-test8 release: I was not able to build linux-2.4.0-test8 on my dual PIII box if I did NOT choose the "smp support". Here is the compile error message: /usr/src/linux/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared (first use in this function)

Streams (again)

2000-09-16 Thread Cesar Eduardo Barros
This is a proposal for a simple way of adding streams support to the Linux kernel, without significant changes in current Unix-like semantics. It was inspired by a recent discussion in the #kernelnewbies IRC channel, and by the recent talk about the subject in the Linux Kernel mailing lists. I

Re: CONFIG_VIDEO_BT848 in 2.4.0-test9pre1 missing

2000-09-16 Thread Rui Sousa
Michael Elizabeth Chastain wrote: > > Hi Dietmar, > > First go to 'General Setup' and make sure that 'PCI support' is turned on. > > Then go to 'Character Devices' -> 'I2C support'. Turn on both > 'I2C support' and 'I2C bit-banging interfaces'. > > Then go to 'Multimedia devices'. Turn on

Re: /proc/sys/vm/freepages not writable.

2000-09-16 Thread davej
> I compiled kernel 2.4.0test9-pre1 (kernel names are a real mess > these days ...) and noticed that /proc/sys/vm/freepages is no > longer writable: > If this was intentional, why has it changed ? New VM in test9-pre1. Changing this field is no longer relevant to the restructured code. Dave.

Re: SCSI scanning

2000-09-16 Thread Torben Mathiasen
On Sat, Sep 16 2000, Jan Niehusmann wrote: > test9-pre1 does not contain a fix for the test8 scsi scanning problem. SCSI > disks are detected twice if scsi is not compiled as a module. Torben already > posted a patch. > Linus, The proper way of fixing this is to add #ifdef MODULE around the

/proc/sys/vm/freepages not writable.

2000-09-16 Thread Patrick Mau
Dear kernel-hackers, I compiled kernel 2.4.0test9-pre1 (kernel names are a real mess these days ...) and noticed that /proc/sys/vm/freepages is no longer writable: [root@oscar] ll /proc/sys/vm/freepages -r--r--r--1 root root0 Sep 17 02:25 /proc/sys/vm/freepages If this was

[PATCH] update to new VM

2000-09-16 Thread Rik van Riel
Hi Linus, after increasing the test base, the following 2 problems have been noticed with the VM patch, and are (hopefully) fixed in this patch: 1) if __alloc_pages() is called without __GFP_IO in the gfp_mask, we cannot wait for kswapd -> use try_to_free_pages() the oldfashioned

Re: Q: sock output serialization

2000-09-16 Thread Andi Kleen
On Sat, Sep 16, 2000 at 11:39:45PM +0200, Henner Eisen wrote: > int netif_would_drop(dev) > { > return (queue->input_pkt_queue.qlen > netdev_max_backlog) > || ( (queue->input_pkt_queue.qlen) && (queue->throttle) ) > } > > would fulfil those requirements. It would just be

Re: An elevator algorithm (patch)

2000-09-16 Thread Peter Osterlund
Ragnar Kjørstad <[EMAIL PROTECTED]> writes: > If I understand the current code correctly, it works like this: [ example deleted ] > So we've ended up with a very silly queue Indeed, the elevator logic is somewhat flawed. There are two problems with the current code: 1. The test that

Re: [ANNOUNCE] Darkstar Development Project

2000-09-16 Thread Thomas Graichen
Larry McVoy <[EMAIL PROTECTED]> wrote: > On Mon, Sep 11, 2000 at 09:55:01PM +0200, Jamie Lokier wrote: >> > Err, "faster"? The following is the moral equiv of 4 kernel updates >> > which had nothing to do using BitKeeper instead of CVS. The local copy >> > was in San Francisco and the remote

Re: Q: sock output serialization

2000-09-16 Thread Alan Cox
> > With the current scheme, lapb first acknowleges reception of the frame > > and after that, netif_rx() might still discard it -- which is evil. > > This might screw things a bit. Can you defer to say first call > netif_rx() then acknowledge or is this hard-coded into the f/ware? I think its

Re: Q: sock output serialization

2000-09-16 Thread jamal
Seems all the good network stuff gets discussed on l-k instead ;-< (hint: some people are not subscribed to l-k) On Sat, 16 Sep 2000, Henner Eisen wrote: > > What about a function to query the state of the backlog queue? > > Something like > > if(netif_would_drop(dev)){ >

system hang with usb audio driver

2000-09-16 Thread Narayan Desai
Hi, I have been having problems with the usb audio driver on a set of Philips DSS330. The driver seemed to work properly up until 2.3.99-6. The driver included with 2.3.99-6 worked correctly when included with kernels up to 2.4.0test6 or so. The current driver (2.4.0test7+) will hang my system

Re: Q: sock output serialization

2000-09-16 Thread Henner Eisen
Hi, > "Alan" == Alan Cox <[EMAIL PROTECTED]> writes: >> However, for drivers which support intelligent controllers >> (with lapb in firmware) this is not an option and the problem >> will persist. Alan> 'Smart hardware is broken' repeat .. ;) - but yes its an Alan>

Re: Q: sock output serialization

2000-09-16 Thread Henner Eisen
Hi, > "kuznet" == kuznet <[EMAIL PROTECTED]> writes: kuznet> Hello! >> scheduler may re-order frames kuznet> It cannot, provided sender holds order until kuznet> dev_queue_xmit(). But if I set different skb->priority? ;) Well that would be my fault than .. >> or

boot sequence in linux

2000-09-16 Thread Tulika Pradhan
i would like to boot linux (ported for a ppc based board) from ROM. This is how i think the booting should happen - Code in ROM should contain - - crt0.S (entry point in ROM code) - head.S (something like what is there is arch/ppc/boot/head.S) - other files containing code to download and

Re: 2.4.0-test8 tried to kill init! (addendum)

2000-09-16 Thread Nils Faerber
On Sat, 16 Sep 2000, Harley Anderson wrote: > > This sounds like either some bit errors in memory > > (memtest86 will find those), or a device driver > > scribbling over memory, or the memory not being > > refreshed or operated at the right speed (memory > > to slow for the speed you're running

Tailmerging for Ext2 - release 0.0

2000-09-16 Thread Daniel Phillips
Here we are, finally: code. I do not make any claim that this code is elegant, correct, complete, esthetically pleasing or that it will refrain from eating your hard disk. What this code will do is let you verify for yourself whether my proposed approach to tailmerging for Ext2 is worth the

Re: (reiserfs) Re: More on 2.2.18pre2aa2

2000-09-16 Thread James Sutherland
On Sat, 16 Sep 2000, Giuliano Pochini wrote: > I wrote, then got air-brushed out of the thread?! > > That's one approach; I prefer my "weighted scoring" approach. Supposing we > > have three devices: a solid state disk (instant "seeks"), a hard drive and > > a tape. The SSD will benefit from

Re: Attempting to mount Zip causes floppy access (2.2.16)

2000-09-16 Thread Andries Brouwer
On Sat, Sep 16, 2000 at 11:35:24AM +0100, Nick Holloway wrote: > I have a zip disk which I attempted to mount using the following fstab > entry: > > /dev/sda4 /zip vfat noauto,nodev,nosuid,user > > This caused a spew of "bread failed" errors, and the mount process ended > up blocked in

Re: test9-pre1 hang when loading scsi-ide cdrom

2000-09-16 Thread Frank van de Pol
On Sat, Sep 16, 2000 at 09:04:55PM +0200, Kenneth Johansson wrote: > > If it worked for you in test8 the only thing that changed is that in sr.c the > init_sr() function been maked with __init and the exit_sr() with __exit. You > could test removing them (__init and __exit that is not the

Re: RAID HW Questions...

2000-09-16 Thread Ricky Beam
On Sat, 16 Sep 2000, Bryan Whitehead wrote: >> Have you bothered tell us what that error is? I've not seen anything on >> dpt's mail-list. (Which is where this should be discussed.) > >I've emailed [EMAIL PROTECTED] (that's what the linuxi2oreadme.txt says to >do for help) MANY times pleading

Re: RAID HW Questions...

2000-09-16 Thread Alan Cox
> One of the primary reasons for use the DPT driver is to use the DPT RAID > mananger. The Linux I2O code doesn't (currently) have that support. It > could be added later, but someone's got to get the card to work with the DPT don't do standard I2O block management. Linux supports the standard

Re: folk: no more resource available

2000-09-16 Thread Alan Cox
> How can I run more that 500 process ? is there any > /proc to change or is the hard limitation of kernel > 2.2.x ? Edit include/linux/tasks.h - 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

Re: (reiserfs) Re: More on 2.2.18pre2aa2

2000-09-16 Thread Giuliano Pochini
> The current HUGE queue size is probably another reason for > the very bad latencies we sometimes see... Yes, but if the queue is short processes are likely to remain blocked in D state for more time and the chances to merge rq are smaller. IMHO we should add a way to give priority to rqs from

Re: (reiserfs) Re: More on 2.2.18pre2aa2

2000-09-16 Thread Giuliano Pochini
> That's one approach; I prefer my "weighted scoring" approach. Supposing we > have three devices: a solid state disk (instant "seeks"), a hard drive and > a tape. The SSD will benefit from merges (fewer commands to process), but > not hugely - set both the metrics at 1, so a 64Kb request is

Re: insmod failure in kernel-2.2.14

2000-09-16 Thread Alan Cox
> i wrote a simple module to just printk a a message and tried to insmod it, > but > it gave error message: resource/device busy (EBUSY) > but the message gets printed in /var/log/messages Compile it with -Wall and you should see why - To unsubscribe from this list: send the line "unsubscribe

Re: RAID HW Questions...

2000-09-16 Thread Bryan Whitehead
On Sat, 16 Sep 2000, Ricky Beam wrote: > This is true of _any_ binary module. That's why I never use binary modules. That's why I don't want to use them either. > Have you bothered tell us what that error is? I've not seen anything on > dpt's mail-list. (Which is where this should be

Re: insmod failure in kernel-2.2.14

2000-09-16 Thread Christoph Hellwig
In article <[EMAIL PROTECTED]> you wrote: > i am using kernel-2.2.14-5.0, > i wrote a simple module to just printk a a message and tried to insmod it, > but > it gave error message: resource/device busy (EBUSY) > but the message gets printed in /var/log/messages > the code is: >

Re: test9-pre1 hang when loading scsi-ide cdrom

2000-09-16 Thread Kenneth Johansson
Frank van de Pol wrote: > Just experienced a (reproducable) hang of the system when loading the > drivers for my cdrom drives. (ide-cd and ide-scsi). System freezes > completely; interupts / alt-sysreq is still working. > ... > > It appears to me that something breaks during the

Re: NFS locking bug -- limited mtime resolution means nfs_lock()does not provide coherency guarantee

2000-09-16 Thread Linus Torvalds
On 16 Sep 2000, Trond Myklebust wrote: > > Yes. fs/read_write calls the NFS subsystem. The problem then is that > NFS uses the generic_file_{read,write,mmap}() interfaces. These are > what enforce use of the page cache. > > You could drop these functions, but that would mean designing an >

Re: bug in blkdev <-> VFS interaction. (oops) (fwd)

2000-09-16 Thread Alain Knaff
>On Sat, 16 Sep 2000, Alain Knaff wrote: > >> >Flush >> >> What is so shocking about flushing away the cache for a >> write-protected floppy? > >Erm... The fact that final close() will do it anyway? Well it shouldn't, that would be a useless performance hit. > Oh, and the fact >that we have a

Re: folk: no more resource available

2000-09-16 Thread Rik van Riel
On Sat, 16 Sep 2000, octave klaba wrote: > Running on 2.2.17 / raid-soft (piii600/512ram) I have the > problems with the number of process. When ps auxw | wc -l > is more than 500 process no command works and all I get is > folk: no more resource available. > > How can I run more that 500

[PATCH 2.4.0.9.1] Re: sisfb compile error (2.4.0-test8)

2000-09-16 Thread Jeff Garzik
This patch should fix sisfb the right way... You don't want to define ...LINUXBIOS for normal situations.. Jeff -- Jeff Garzik | Would you *really* want to Building 1024| get on a non-stop flight? MandrakeSoft, Inc. | -- George Carlin Index:

folk: no more resource available

2000-09-16 Thread octave klaba
Hi, Running on 2.2.17 / raid-soft (piii600/512ram) I have the problems with the number of process. When ps auxw | wc -l is more than 500 process no command works and all I get is folk: no more resource available. How can I run more that 500 process ? is there any /proc to change or is the hard

Re: bug in blkdev <-> VFS interaction. (oops) (fwd)

2000-09-16 Thread Alexander Viro
On Sat, 16 Sep 2000, Alain Knaff wrote: > >You know, I have nothing against having it that way for CDs and Zips. > >And you have an interesting idea of old-fashioned - I'ld say that > >echo(1) was in place way before ioctl(2)... > > You're right, echo is indeed older than ioctl. However,

Re: NFS locking bug -- limited mtime resolution means nfs_lock() does not provide coherency guarantee

2000-09-16 Thread Alan Cox
> I'm not a Linux kernel literate. However, I found your > assertion surprising. Does procfs do page i/o as well? No. An fs isnt required to use the page caches at all. It makes life a lot saner to do so - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Rik van Riel
On Sat, 16 Sep 2000, Byron Stanoszek wrote: > On Sat, 16 Sep 2000, Byron Stanoszek wrote: > > > I'd like to be able to use that extra 16mb for process memory more than I would > > for cache. When most of my programs get loaded up, it totals to around 24mb on > > average, and medium-to-low disk

[PATCH] Fix floppy ioctls, REVISED edition

2000-09-16 Thread Alain Knaff
The following patch (against 2.4.0-test8) restores floppy ioctl functionality, which has been broken in 2.4.0-test6-pre7. It now tests for fake ioctl's, so their should be no interaction with read-only mounts: --- 2.4.0-test8/linux/drivers/block/floppy.cMon Sep 11 20:09:28 2000 +++

Re: RAID HW Questions...

2000-09-16 Thread Ricky Beam
On Sat, 16 Sep 2000, Bryan Whitehead wrote: >> The driver should be on DPT's site. Im not sure on the current state with the (The driver _IS_ on DPT's site. It always has been.) >The driver directory is on thier web site. true. But it only works for >specific versions of kernel's from RH. They

insmod failure in kernel-2.2.14

2000-09-16 Thread aprasad
i am using kernel-2.2.14-5.0, i wrote a simple module to just printk a a message and tried to insmod it, but it gave error message: resource/device busy (EBUSY) but the message gets printed in /var/log/messages the code is: -- #define MODULE

Re: bug in blkdev <-> VFS interaction. (oops) (fwd)

2000-09-16 Thread Alain Knaff
> > >On Sat, 16 Sep 2000, Alain Knaff wrote: > >> Moreover you seem to have an interesting definition of "most": for >> many of those ioctls, sysctl would be rather clumsy: FDRAWCMD, >> FDSETPRM, FDCLRPRM, FDDEFPRM, FDFMTBEG, FDFMTTRK, FDFMTEND, FDFLUSH, >> FDRESET, FDTWADDLE, FDEJECT. Or do you

Re: bug in blkdev <-> VFS interaction. (oops) (fwd)

2000-09-16 Thread Alain Knaff
> > >On Sat, 16 Sep 2000, Alain Knaff wrote: > >> Ok, now could you tell me a way how to easily detect a "fake inode", >> and I rewrite my "restore ioctl functionality patch" in a way as not >> to break floppy root mounts. > >s/root// > >fake means NULL ->i_sb, nothing fancy about that.

Re: bug in blkdev <-> VFS interaction. (oops) (fwd)

2000-09-16 Thread Alexander Viro
On Sat, 16 Sep 2000, Alain Knaff wrote: > Moreover you seem to have an interesting definition of "most": for > many of those ioctls, sysctl would be rather clumsy: FDRAWCMD, > FDSETPRM, FDCLRPRM, FDDEFPRM, FDFMTBEG, FDFMTTRK, FDFMTEND, FDFLUSH, > FDRESET, FDTWADDLE, FDEJECT. Or do you really

Re: bug in blkdev <-> VFS interaction. (oops) (fwd)

2000-09-16 Thread Alain Knaff
> > >On Sat, 16 Sep 2000, Alain Knaff wrote: > >> >Probably the clean solution would be to add a character device per >> >controller (/dev/fdc), turning eject /dev/fd0 into >> >% echo eject 0 > /dev/fdc0 >> >> Why do that for floppies, when we still eject CD-Roms, Zips, "the >> old-fashioned

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Rik van Riel
On Sat, 16 Sep 2000, Byron Stanoszek wrote: > On Sat, 16 Sep 2000, Rik van Riel wrote: > > > MemFree: memory on the freelist, contains no data > > Buffers: buffer cache memory > > Cached: page cache memory > > > > Active: buffer or page cache memory which is in active > >

Re: NFS locking bug -- limited mtime resolution means nfs_lock() does not provide coherency guarantee

2000-09-16 Thread Trond Myklebust
> " " == Michael Eisler <[EMAIL PROTECTED]> writes: > I'm not a Linux kernel literate. However, I found your > assertion surprising. Does procfs do page i/o as well? No. It has its own setup. > file.c in fs/nfs suggests that the Linux VFS has non-page > interfaces in

Re: [PATCH] Fix floppy ioctl (which were broken in 2.4.0-test5)

2000-09-16 Thread Alain Knaff
> > >On Sat, 16 Sep 2000, Alain Knaff wrote: >> >> The following patch (against 2.4.0-test8) restores ioctl functionality, >> which has been broken in 2.4.0-test6-pre7: > >No. Th epatch breaks things. You cannot use "permission" at that point, >and the code was removed on purpose before. Nobody

Re: bug in blkdev <-> VFS interaction. (oops) (fwd)

2000-09-16 Thread Alexander Viro
On Sat, 16 Sep 2000, Alain Knaff wrote: > >Probably the clean solution would be to add a character device per > >controller (/dev/fdc), turning eject /dev/fd0 into > >% echo eject 0 > /dev/fdc0 > > Why do that for floppies, when we still eject CD-Roms, Zips, "the > old-fashioned way" with

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Byron Stanoszek
On Sat, 16 Sep 2000, Rik van Riel wrote: > MemFree: memory on the freelist, contains no data > Buffers: buffer cache memory > Cached: page cache memory > > Active: buffer or page cache memory which is in active > use (that is, page->age > 0 or many

Re: bug in blkdev <-> VFS interaction. (oops) (fwd)

2000-09-16 Thread Alexander Viro
On Sat, 16 Sep 2000, Alain Knaff wrote: > >Flush > > What is so shocking about flushing away the cache for a > write-protected floppy? Erm... The fact that final close() will do it anyway? Oh, and the fact that we have a generic ioctl() doing the same. > > and format on write-protected

Re: sisfb compile error (2.4.0-test8)

2000-09-16 Thread Hayden James
--- sisfb.c.origSat Sep 16 14:43:19 2000 +++ sisfb.c Sat Sep 16 14:43:28 2000 @@ -10,7 +10,7 @@ #define EXPORT_SYMTAB #undef SISFBDEBUG -#undef CONFIG_FB_SIS_LINUXBIOS +#define CONFIG_FB_SIS_LINUXBIOS #include #include This patch will make it compile...I don't know if its

Re: CONFIG_VIDEO_BT848 in 2.4.0-test9pre1 missing

2000-09-16 Thread Michael Elizabeth Chastain
Hi Dietmar, First go to 'General Setup' and make sure that 'PCI support' is turned on. Then go to 'Character Devices' -> 'I2C support'. Turn on both 'I2C support' and 'I2C bit-banging interfaces'. Then go to 'Multimedia devices'. Turn on 'Video for Linux' and enter the 'Video for Linux'

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Byron Stanoszek
On Sat, 16 Sep 2000, Rik van Riel wrote: > It would be better to put that in a userspace tool like > vmstat. Or modify 'free', which is what I was going to do. How would I find the number of actual pages-in-use from those variables? I've tried adding and subtracting several and can't seem to

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Rik van Riel
On Sat, 16 Sep 2000, Byron Stanoszek wrote: > Active pages increased to 18688kB, and we see some inact_clean. > Is this normal as intended? Yes. There are 2 things going on during that find. 1) find touches buffers all over the place, those buffers will be added to the active list 2)

Re: [PATCH] Fix floppy ioctl (which were broken in 2.4.0-test5)

2000-09-16 Thread Alain Knaff
> > >On Sat, 16 Sep 2000, Alain Knaff wrote: > >> The following patch (against 2.4.0-test8) restores ioctl functionality, >> which has been broken in 2.4.0-test6-pre7: > >I would reserve "broken" for original state. What's wrong with "if you >want write permissions to be checked during open() -

Re: bug in blkdev <-> VFS interaction. (oops) (fwd)

2000-09-16 Thread Alain Knaff
> > >On Sat, 16 Sep 2000, Alain Knaff wrote: > >> >FYI, here is a chunk of our conversation - I just realized that most of it >> >was private with AV and Linus so it is reasonable that you didn't see it. >> >> Thanks for mailing me this. Well, I would have actually preferred to >> take part in

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Byron Stanoszek
On Sat, 16 Sep 2000, Byron Stanoszek wrote: > I'd like to be able to use that extra 16mb for process memory more than I would > for cache. When most of my programs get loaded up, it totals to around 24mb on > average, and medium-to-low disk access is used. I like the way it is now, where > it

machine check handler

2000-09-16 Thread Andrea Arcangeli
This patch fixes two little bugs in the IA32 machine check handler, it's against 2.2.17pre7. The first bug is that the MC0_MISC is at address 403H, the second is that wmb() as implemented in IA32 doesn't serialize, a lock on the bus as given from mb() will serialize instead. ---

Re: Q: sock output serialization

2000-09-16 Thread kuznet
Hello! > scheduler may re-order frames It cannot, provided sender holds order until dev_queue_xmit(). Actually, it is true about all the schedulers, except for the cases, when reordering is allowed explicitly with special policing rules. > or drop them. Yes. And if you share _single_ device

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Byron Stanoszek
On Sat, 16 Sep 2000, Rik van Riel wrote: > OTOH, maybe we want to do /some/ background swapping of > sleeping tasks, to smooth out the VM a bit at the point > where we start to run into the situation where we need > to swap something out... This is something like what the previous VM did, and

sisfb compile error (2.4.0-test8)

2000-09-16 Thread komur
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686 -fno-strict-aliasing -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o sisfb.o sisfb.c sisfb.c: In function `get_modeID_length': sisfb.c:1443:

test9-pre1 hang when loading scsi-ide cdrom

2000-09-16 Thread Frank van de Pol
Just experienced a (reproducable) hang of the system when loading the drivers for my cdrom drives. (ide-cd and ide-scsi). System freezes completely; interupts / alt-sysreq is still working. Just before the lockup I get next message on my console: " scsi1 : SCSI host adapter emulation for IDE

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Rik van Riel
On Sat, 16 Sep 2000, Byron Stanoszek wrote: > On Sat, 16 Sep 2000, Rik van Riel wrote: > > On Sat, 16 Sep 2000, Dietmar Kling wrote: > > > > > i thought i add a report to the new VM in 2.4.0pre9 > > > When I tried to restart my work after 2 hours, > > > the machine started swapping madly. > >

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Byron Stanoszek
On Sat, 16 Sep 2000, Byron Stanoszek wrote: > I think I might have a similar problem with 2.4.0-t8-vmpatch2, related to > caching. Without the vmpatch, my standard system 'used' would be near 28mb > actual in use, the rest cached or in buffers. When I tried vmpatch2, standard > usage eventually

[Fwd: Very aggressive swapping after 2 hours rest]

2000-09-16 Thread safemode
Trever Adams wrote: > Rik van Riel wrote: > > > I believe this is a tuning issue, so > > > i do not complain :) > > > > Indeed. Now that the testing base for the VM patch > > has increased so much, there are a few as-of-yet > > untested workloads popping up that don't perform > > very well.

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Byron Stanoszek
On Sat, 16 Sep 2000, Rik van Riel wrote: > On Sat, 16 Sep 2000, Dietmar Kling wrote: > > > i thought i add a report to the new VM in 2.4.0pre9 > > > > My Machine has 256 MB of memory > > I left it for two hours ( several Netscapes -Instances, > > Mail and xmms running _nothing in swap_ ) > >

Re: NFS locking bug -- limited mtime resolution means nfs_lock() does not provide coherency guarantee

2000-09-16 Thread Michael Eisler
> > " " == Michael Eisler <[EMAIL PROTECTED]> writes: > > > Focus on correctness and do the expedient thing first, which > > is: > > - The first time a file is locked, flush dirty pages > >to the server, and then invalidate the page cache > > This would

Re: 2.2.17 doesnt build on sparc64 with CONFIG_IP_PNP

2000-09-16 Thread David S. Miller
The fix is to change, in arch/sparc64/kernel/setup.c: if (!ic_set_manually) { to: if (ic_myaddr == INADDR_NONE) { Shows how much this facility is used on sparc64 :-) I'll send this fix off to Alan. Later, David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list:

Re: (reiserfs) Re: An elevator algorithm

2000-09-16 Thread Xuan Baldauf
"Ragnar Kjørstad" wrote: > On Sat, Sep 16, 2000 at 01:17:53PM +0200, Xuan Baldauf wrote: > > I'm not a kernel hacker (and therefore I'm not familiar with the kernel > > terminology), and maybe this idea is already old, but here is an > > algorithm for an elevator which tries to guarantee

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Trever Adams
Rik van Riel wrote: > > I believe this is a tuning issue, so > > i do not complain :) > > Indeed. Now that the testing base for the VM patch > has increased so much, there are a few as-of-yet > untested workloads popping up that don't perform > very well. > > I'm gathering details about those

02 Quantum lct08 & Promise Ultra66

2000-09-16 Thread Mike
- Original Message - From: Theodore Y. Ts'o <[EMAIL PROTECTED]> To: Mike <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, September 14, 2000 10:30 PM Subject: Re: Quantum lct08 & Promise Ultra66 > Can you send your bug report again with the exact error message? One of > the

Re: Very aggressive swapping after 2 hours rest

2000-09-16 Thread Rik van Riel
On Sat, 16 Sep 2000, Dietmar Kling wrote: > i thought i add a report to the new VM in 2.4.0pre9 > > My Machine has 256 MB of memory > I left it for two hours ( several Netscapes -Instances, > Mail and xmms running _nothing in swap_ ) > > When I tried to restart my work after 2 hours, > the

Very aggressive swapping after 2 hours rest

2000-09-16 Thread Dietmar Kling
hi, i thought i add a report to the new VM in 2.4.0pre9 My Machine has 256 MB of memory I left it for two hours ( several Netscapes -Instances, Mail and xmms running _nothing in swap_ ) When I tried to restart my work after 2 hours, the machine started swapping madly. I couldn't run the

Re: NFS locking bug -- limited mtime resolution means nfs_lock() does not provide coherency guarantee

2000-09-16 Thread Trond Myklebust
> " " == Michael Eisler <[EMAIL PROTECTED]> writes: > Focus on correctness and do the expedient thing first, which > is: > - The first time a file is locked, flush dirty pages > to the server, and then invalidate the page cache This would be implemented with the

Re: attempt to access beyond end of device

2000-09-16 Thread Andries Brouwer
On Sat, Sep 16, 2000 at 09:35:46AM -0400, Stephen E. Clark wrote: > How do I relate dev 08:02 to my actual physical devices. I have 2 ide > drives and 3 scsi drives. dev 08:02 is /dev/sda2, your swap device. > Sep 15 19:01:55 joker kernel: Adding Swap: 66020k swap-space (priority > -1) > Sep

Re: bug in blkdev <-> VFS interaction. (oops) (fwd)

2000-09-16 Thread Alexander Viro
On Sat, 16 Sep 2000, Alain Knaff wrote: > Ok, now could you tell me a way how to easily detect a "fake inode", > and I rewrite my "restore ioctl functionality patch" in a way as not > to break floppy root mounts. s/root// fake means NULL ->i_sb, nothing fancy about that. IS_RDONLY() used to

Re: Preallocated skb's?

2000-09-16 Thread jamal
On Fri, 15 Sep 2000, Bogdan Costescu wrote: > On Fri, 15 Sep 2000, jamal wrote: > > > Only the timer runs at HZ granularity ;-< > > Some cards provide their own high resolution timers; latest 3Com cards > provide several with different purposes (none currently used). The > question is how

2.2.18pre7 [OOPS] + [PATCH]

2000-09-16 Thread Andrzej Krzysztofowicz
>From kufel!ankry Fri Sep 15 23:04:36 2000 Return-Path: Received: from kufel.UUCP (uucp@localhost) by green.mif.pg.gda.pl (8.9.3/8.9.3) with UUCP id XAA15722 for green.mif.pg.gda.pl!ankry; Fri, 15 Sep 2000 23:04:36 +0200 Received: (from ankry@localhost) by kufel.dom

Re: bug in blkdev <-> VFS interaction. (oops) (fwd)

2000-09-16 Thread Alexander Viro
On Sat, 16 Sep 2000, Alain Knaff wrote: > >FYI, here is a chunk of our conversation - I just realized that most of it > >was private with AV and Linus so it is reasonable that you didn't see it. > > Thanks for mailing me this. Well, I would have actually preferred to > take part in this

ISAPnP + Soundblaster doesn't work without 'multiple=0'

2000-09-16 Thread Harald Dunkel
Hi folks, According to Documentation/sound/Soundblaster I have to report that I had to set the option 'multiple=0' to make my Soundblaster16 work. Without this option I get the following message at boot time: : : Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996 SB 4.13

Ooops with 2.2.17

2000-09-16 Thread Jens Hoffrichter
Hi, On my Server just happenend a Kernel-Ooops, and afterwards some programs crashed, e.g. "w" crashed with a Segmentation fault and "ps" crashed with a Signal 11. Recently I encountered Oopse on a regularly basis, but after upgrading to 2.2.17, everything seemed to be alright, but now, 3 days

Re: (reiserfs) Re: More on 2.2.18pre2aa2

2000-09-16 Thread Jamie Lokier
[EMAIL PROTECTED] wrote: > If we played some "zippy" music that would add to the "feel". Of > course, we could actually use benchmarks instead. Benchmarks, famed for their universal appeal :-) > And, to me, if kernel compiles take longer, I don't care how fast it "feels". A kernel compile _by

Re: 2.4.0-test8 tried to kill init! (addendum)

2000-09-16 Thread Harley Anderson
> This sounds like either some bit errors in memory > (memtest86 will find those), or a device driver > scribbling over memory, or the memory not being > refreshed or operated at the right speed (memory > to slow for the speed you're running it at?)... Hmm, Andrew just informed me that the

VM comparison

2000-09-16 Thread James Lewis Nance
Hello All, I am interested in Rik's new VM system so I am running some "How long does it take to build mozilla" benchmarks. I only have results for 2.2.17 and 2.4.0-test9-pre1 right now, but the results look very good and I wanted to share them: bessie> cat 2.2.17/time.* 4086.110u

Re: Linux 2.2.18pre9

2000-09-16 Thread Matthias Andree
On Sat, 16 Sep 2000, Alan Cox wrote: > Resynchronize the USB stuff and starting bringing the ARM into line > > 2.2.18pre9 > o NFSv3 support and NFS updates (Trond Myklebust and co) Great. Will test. -- Matthias Andree - To unsubscribe from this list: send the line

Re: Update Linux 2.4 Status/TODO list

2000-09-16 Thread Marco d'Itri
On Sep 15, Alexander Viro <[EMAIL PROTECTED]> wrote: >> I tried doing that for Andrea but I think it's not useful, active is >> mmapped and strace shows nothing interesting. >mmapped... Does mmap() go past the end of file? I asked INN developers and they think it should not. The file size is

Re: [PATCH] Fix floppy ioctl (which were broken in 2.4.0-test5)

2000-09-16 Thread Andries Brouwer
On Sat, Sep 16, 2000 at 03:26:33PM +0200, Alain Knaff wrote: > The following patch (against 2.4.0-test8) restores ioctl functionality, > which has been broken in 2.4.0-test6-pre7: > + /* Allow ioctls if we have write-permissions even if read-only open. > + * Needed so that programs

  1   2   3   >