Re: exec format error

2001-06-10 Thread David Woodhouse
[EMAIL PROTECTED] said: > I have written a file system in 2.2.14 kernel similar to ramfs on 2.5 > kernel. I am able to register,mount and do file and directory > operations. I tried to write a C program and compile it. The > compilation gave me the object file. When i tried to run the object >

Re: pppd in 2.4 series

2001-06-10 Thread Jean Collonvillé
> PPP generic driver version 2.4.1 Oooops sorry, I forgot to open my eyes this morning :p On Sun, 10 Jun 2001 17:45:49 -0400 "Rose, Daniel" <[EMAIL PROTECTED]> wrote: > I seem to have lots of problems w/ the 2.4 series and PPP.. > Everything compiles fine, and boots fine, but try and run

[PATCH] fs/super.c stuff (3/10)

2001-06-10 Thread Alexander Viro
diff -urN S6-pre2-fsync_no_super/include/linux/fs.h S6-pre2-put_super/include/linux/fs.h --- S6-pre2-fsync_no_super/include/linux/fs.h Sun Jun 10 18:36:27 2001 +++ S6-pre2-put_super/include/linux/fs.hSun Jun 10 18:39:04 2001 @@ -1320,7 +1320,6 @@ extern struct file_system_type

[PATCH] fs/super.c stuff (8/10)

2001-06-10 Thread Alexander Viro
diff -urN S6-pre2-s_count/fs/inode.c S6-pre2-freeing/fs/inode.c --- S6-pre2-s_count/fs/inode.c Sun Jun 10 12:45:04 2001 +++ S6-pre2-freeing/fs/inode.c Sun Jun 10 12:45:47 2001 @@ -258,23 +258,6 @@ __sync_one(list_entry(tmp, struct inode, i_list), 0); } -static inline int

[PATCH] fs/super.c stuff (5/10)

2001-06-10 Thread Alexander Viro
diff -urN S6-pre2-put_super/fs/dquot.c S6-pre2-dquot/fs/dquot.c --- S6-pre2-put_super/fs/dquot.cThu May 24 18:26:44 2001 +++ S6-pre2-dquot/fs/dquot.cSun Jun 10 18:46:54 2001 @@ -325,7 +325,7 @@ memset(>dq_dqb, 0, sizeof(struct dqblk)); } -void invalidate_dquots(kdev_t dev,

Re: [PATCH] fs/super.c stuff (6/10)

2001-06-10 Thread Alexander Viro
diff -urN S6-pre2-dquot/arch/parisc/hpux/sys_hpux.c S6-pre2-drop_super/arch/parisc/hpux/sys_hpux.c --- S6-pre2-dquot/arch/parisc/hpux/sys_hpux.c Fri Feb 16 20:46:44 2001 +++ S6-pre2-drop_super/arch/parisc/hpux/sys_hpux.c Sun Jun 10 18:38:23 2001 @@ -109,9 +109,11 @@

[PATCH] fs/super.c stuff (10/10)

2001-06-10 Thread Alexander Viro
diff -urN S6-pre2-alloc_super/fs/inode.c S6-pre2-current/fs/inode.c --- S6-pre2-alloc_super/fs/inode.c Sun Jun 10 19:09:35 2001 +++ S6-pre2-current/fs/inode.c Sun Jun 10 19:26:27 2001 @@ -357,11 +357,7 @@ spin_unlock(_lock); down_read(>s_umount);

Re: [PATCH] fs/super.c stuff (3/10)

2001-06-10 Thread Alexander Viro
Grr... 4 of 10, that is. Sorry. On Mon, 11 Jun 2001, Alexander Viro wrote: > diff -urN S6-pre2-fsync_no_super/include/linux/fs.h >S6-pre2-put_super/include/linux/fs.h > --- S6-pre2-fsync_no_super/include/linux/fs.h Sun Jun 10 18:36:27 2001 > +++ S6-pre2-put_super/include/linux/fs.h

[PATCH] fs/super.c stuff (7/10)

2001-06-10 Thread Alexander Viro
diff -urN S6-pre2-put_super/fs/inode.c S6-pre2-s_count/fs/inode.c --- S6-pre2-put_super/fs/inode.cSun Jun 10 12:25:34 2001 +++ S6-pre2-s_count/fs/inode.c Sun Jun 10 12:29:35 2001 @@ -339,30 +339,48 @@ spin_unlock(_lock); } +/* + * Note: + * We don't need to grab a reference to

[PATCH] fs/super.c stuff (9/10)

2001-06-10 Thread Alexander Viro
diff -urN S6-pre2-freeing/fs/super.c S6-pre2-current/fs/super.c --- S6-pre2-freeing/fs/super.c Sun Jun 10 12:45:47 2001 +++ S6-pre2-current/fs/super.c Sun Jun 10 12:53:15 2001 @@ -59,8 +59,6 @@ /* this is initialized in init/main.c */ kdev_t ROOT_DEV; -int nr_super_blocks; -int

[PATCH] fs/super.c stuff (3/10)

2001-06-10 Thread Alexander Viro
diff -urN S6-pre2-s_active/fs/block_dev.c S6-pre2-fsync_no_super/fs/block_dev.c --- S6-pre2-s_active/fs/block_dev.c Fri Jun 8 18:29:02 2001 +++ S6-pre2-fsync_no_super/fs/block_dev.c Sun Jun 10 12:13:03 2001 @@ -678,8 +678,10 @@ down(>bd_sem); /* syncing will go here */

[PATCHes] fs/super.c stuff

2001-06-10 Thread Alexander Viro
OK. It works here(tm). I'm sending first 10 chunks - about 70% of locking changes. That's a good intermediate point and I'd rather avoid doing too large steps. Contents (patches will go in separate postings): 1, Eliminates mnt_instances and s_mounts. Instead of it we add new field to struct

[PATCH] fs/super.c stuff (2/10)

2001-06-10 Thread Alexander Viro
diff -urN S6-pre2-mnt_instances/fs/super.c S6-pre2-s_active/fs/super.c --- S6-pre2-mnt_instances/fs/super.cSat Jun 9 19:18:31 2001 +++ S6-pre2-s_active/fs/super.c Sun Jun 10 12:07:40 2001 @@ -388,7 +388,6 @@ spin_lock(_lock); list_add(>mnt_list, vfsmntlist.prev);

[PATCH] fs/super.c stuff (1/10)

2001-06-10 Thread Alexander Viro
diff -urN S6-pre2/fs/super.c S6-pre2-mnt_instances/fs/super.c --- S6-pre2/fs/super.c Fri Jun 8 18:29:03 2001 +++ S6-pre2-mnt_instances/fs/super.cSat Jun 9 19:18:31 2001 @@ -386,19 +386,20 @@ mnt->mnt_parent = mnt; spin_lock(_lock); - list_add(>mnt_instances,

No Subject

2001-06-10 Thread kiran . thirumalai
Hi, Is there some kernel api to validate memory allocated using kmalloc. Suppose, I allocate some memory using kmalloc and at a later point of execution I would like to validate if the memory allocated is not possibly freed by some other thread. Pls suggest a patch/pointers if any. I also

Re: pppd in 2.4 series

2001-06-10 Thread Jean Collonvillé
Are you using pppd 2.4 ? On Sun, 10 Jun 2001 17:45:49 -0400 "Rose, Daniel" <[EMAIL PROTECTED]> wrote: > I seem to have lots of problems w/ the 2.4 series and PPP.. > Everything compiles fine, and boots fine, but try and run pppd, and "This > kernel as no support of PPP.." > PPP is shown in

exec format error

2001-06-10 Thread SATHISH.J
Hi, Sorry to disturb you. I have written a file system in 2.2.14 kernel similar to ramfs on 2.5 kernel. I am able to register,mount and do file and directory operations. I tried to write a C program and compile it. The compilation gave me the object file. When i tried to run the object file it

Re: 2.4.4 isapnp - wrong set of resources chosen

2001-06-10 Thread Scott Murray
On 11 Jun 2001, John Fremlin wrote: > Hi! > > Robin Cull and I have OPL3-SA2 isapnp cards. Sometimes we get assigned > the wrong resource set. These cards do not take kindly to Alternate > resources 0:1 Priority acceptable, in fact they are completely broke, > so it is important to us that they

what is using memory?

2001-06-10 Thread Ed Tomlinson
I have been trying to figure out what is using my memory My box has 320280K >From boot I see 924 kernel 8224 reserved (initrd ramdisk?) 1488 hash tables (dentry, inode, mount, buffer, page, tcp) from lsmod I caculate 876 for loaded modules from proc/slabinfo 11992 for

Re: [PATCH] 2.4.6-pre2 page_launder() improvements

2001-06-10 Thread Daniel Stone
On Sun, Jun 10, 2001 at 01:40:44AM -0300, Rik van Riel wrote: > [Request For Testers ... patch below] > > Hi, > > during my holidays I've written the following patch (forward-ported > to 2.4.6-pre2 and improved a tad today), which implements these > improvements to page_launder(): > > YMMV,

2.4.5-ac12: 3c590.c: Warning about 'nopnp' parameter

2001-06-10 Thread Dieter Nützel
Taken from boot.msg: Setting up network device eth1 insmod: Warning: /lib/modules/2.4.5-ac12/kernel/drivers/net/3c509.o symbol for parameter nopnp not found done I've tried with and without ISA PNP support. Any hints? Thanks, Dieter - To unsubscribe from this list: send the line

Re: [patch] truncate_inode_pages

2001-06-10 Thread Dieter Nützel
> Daniel Phillips wrote: > > > > This is easy, just set the list head to the page about to be truncated. > > Works for me. > > --- linux-2.4.5/mm/filemap.cMon May 28 13:31:49 2001 > +++ linux-akpm/mm/filemap.c Sun Jun 10 11:29:19 2001 > @@ -235,12 +235,13 @@ [snip] Works for me 12

Re: process table fills with DN state when nfs connection is lost

2001-06-10 Thread Lucca
>what happens is this : the other system reboots into windows o the nfs >connection gets lost. however, what happens is that now the process >table starts to fill with cron initiated mrtg calls and all get the DN >state in ps aux. The default is to do a hard-mount of NFS shares. Hardmounts hang

Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Linus Torvalds
On Mon, 11 Jun 2001 [EMAIL PROTECTED] wrote: > > On 10 Jun, Linus Torvalds wrote: > > > I've not figured out why the ATI Xv stuff from gatos seems to not have > > made it into the XFree86 CVS tree - it works better than much of the > > Xv stuff for some other chipsets that _are_ in the CVS

2.4.4 isapnp - wrong set of resources chosen

2001-06-10 Thread John Fremlin
Hi! Robin Cull and I have OPL3-SA2 isapnp cards. Sometimes we get assigned the wrong resource set. These cards do not take kindly to Alternate resources 0:1 Priority acceptable, in fact they are completely broke, so it is important to us that they get their first choice ;-) The trouble is that

Re: [OT] gcc-3 problem (oops in df)

2001-06-10 Thread Steve Kieu
Hi, I use gcc 2.96 from Mandrake 8.0 which according to one guy in Mandrake team , is a snapshot from gcc 3.0 source tree. compile 2.4.5-ac11 ; no problem, rub df is fine. I will try with 2.4.5-ac13 now and see... bye = S.KIEU

Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread egger
On 10 Jun, Linus Torvalds wrote: > I've not figured out why the ATI Xv stuff from gatos seems to not have > made it into the XFree86 CVS tree - it works better than much of the > Xv stuff for some other chipsets that _are_ in the CVS tree. > I imported it into the XFree86 CVS some months ago,

Re: process table fills with DN state when nfs connection is lost

2001-06-10 Thread Roeland Th. Jansen
On Sun, Jun 10, 2001 at 10:34:28PM +, Roeland Th. Jansen wrote: > I have a network with a different linux system hat exports a few dirs to > this system. oops, this is 2.4.5. but happened before as well. -- Grobbebol's Home | Don't give in to spammers. -o)

process table fills with DN state when nfs connection is lost

2001-06-10 Thread Roeland Th. Jansen
hi * I have a network with a different linux system hat exports a few dirs to this system. what happens is this : the other system reboots into windows o the nfs connection gets lost. however, what happens is that now the process table starts to fill with cron initiated mrtg calls and all get

Re: Break 2.4 VM in five easy steps

2001-06-10 Thread Rob Landley
>I realize that assembly is platform-specific. Being >that I use the IA32 class machine, that's what I >would write for. Others who use other platforms could >do the deed for their native language. Meaning we'd still need a good C implementation anyway for the 75% of platforms nobody's going

pppd in 2.4 series

2001-06-10 Thread Rose, Daniel
I seem to have lots of problems w/ the 2.4 series and PPP.. Everything compiles fine, and boots fine, but try and run pppd, and "This kernel as no support of PPP.." PPP is shown in dmesg: PPP generic driver version 2.4.1 PPP Deflate Compression module registered PPP BSD Compression module

oops with 2.4.5-ac12

2001-06-10 Thread Walter Hofmann
I got the following oops with 2.4.5-ac12 after I issued "rmmod -a" twice. I only notices the oops after I issued "rmmod -a" once which might explan that ksymoops cannot name the module which caused the oops. This is possibly ALSA-related (although I never had problems with unloading alsa modules

Re: 2.4.5-ac13: Where is your change log gone? Can't find it on LKM.

2001-06-10 Thread Dieter Nützel
Am Sonntag, 10. Juni 2001 22:02 schrieb Frank Davis: > Dieter, >I don't believe Alan has posted it yet...should be out soon. > Regards, > Frank Sorry Frank, I have it since 20.00 CEST (UT +0200). It is on ftp.de.kernel.org/pub/linux/kernel/people/alan/2.4 since 17:42 CEST. Regards,

Linux 2.4.5-ac13

2001-06-10 Thread Alan Cox
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ Intermediate diffs are available from http://www.bzimage.org In terms of going through the code audit almost all the sound drivers still need fixing to lock against format changes during a

Re: 2.4.5-ac13: Where is your change log gone? Can't find it on LKM.

2001-06-10 Thread Frank Davis
Dieter, I don't believe Alan has posted it yet...should be out soon. Regards, Frank -On Sunday, June 10, 2001 9:54 PM +0200 Dieter Ntzel <[EMAIL PROTECTED]> wrote: > Thanks, > Dieter > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a

Re: Threads and the LDT (Intel-specific)?

2001-06-10 Thread Jeff Dike
[EMAIL PROTECTED] said: > I'm trying to do something a bit unorthodox: I want to share the > address space between threads, but I want a certain region of the > address space to be writeable only for a particular thread -- for all > other threads this region is read-only. UML does this in a

2.4.5-ac13: Where is your change log gone? Can't find it on LKM.

2001-06-10 Thread Dieter Nützel
Thanks, Dieter - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: No DMA with ATAPI devices on PDC20267

2001-06-10 Thread Andre Hedrick
On Sun, 10 Jun 2001, Stephen Mollett wrote: > Greetings, > > When using ATAPI devices on a Promise Ultra100 (PDC20267), DMA is not > enabled. Is this a bug in the pdc202xx driver or a limitation of the chipset? > > eg. > With the drive attached to a VIA 82C686: > hdb: ATAPI 40X CD-ROM CD-R/RW

RE: [PATCH] 2.4.6-pre2 page_launder() improvements

2001-06-10 Thread George Bonser
Ok, new test. Apache, no keepalives. 85 requests/sec for a 10K file 128MB of RAM Processor is UP 700MHz Intel vanilla 2.4.6-pre2 After everything settles down I have about 230-250 apache process running. about 4% of CPU in user and roughly 6% in system. Top shows: 18:12:47 up 59 min, 2

[OT] gcc-3 problem (oops in df)

2001-06-10 Thread Ken Moffat
I see people on this list are using gcc-3 snapshots, so I thought I'd ask advice here to narrow the problem down, before posting a gcc bug report. I've been sitting on this for a couple of days without getting anywhere. If I use a recent gcc snapshot (example : 4th June), I get an oops if I try

Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Stelian Pop <[EMAIL PROTECTED]> wrote: > >> 2. Using the YUV overlay/expand hardware in the ATI card >> (see www.gatos.org for X stuff for ATI for this) > >:s/www.gatos.org/www.linuxvideo.org/gatos/ > >I took a quick look on their site but it seems that

Threads and the LDT (Intel-specific)?

2001-06-10 Thread Scott Long
I'm trying to do something a bit unorthodox: I want to share the address space between threads, but I want a certain region of the address space to be writeable only for a particular thread -- for all other threads this region is read-only. I've considered several approaches. I'll only go

Re: scsi disk defect or kernel driver defect ?

2001-06-10 Thread Geert Uytterhoeven
On Thu, 7 Jun 2001, Nico Schottelius wrote: > Or does anybody have a hp c1536 streamer and can help me ? The manual for my C1536A says: | The C1536A does not support termination on the device itself. Normally, the | unit will not be placed at the end of a bus. However, if this is | unavoidable,

Re: 3C905b partial lockup in 2.4.5-pre5 and up to 2.4.6-pre1

2001-06-10 Thread Jeff Garzik
Russell King wrote: > Indeed. However, I don't believe user space should _rely_ on the flag. > The reason is that there are network cards out there where the only way > to get the link status _is_ to transmit a packet, even on 10baseT. > > PCNET is one example - the "oh my god my link is down"

Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Stelian Pop
On Sun, Jun 10, 2001 at 04:58:42PM +0100, Alan Cox wrote: > > Yes. But, even if I know how to program the mchip to output to > > the video bus, there is something missing to enable overlay > > (either in the mchip or in the ati video driver). > > It could be using the YUV digital inputs to the

Re: [patch] truncate_inode_pages

2001-06-10 Thread Daniel Phillips
On Sunday 10 June 2001 03:31, Andrew Morton wrote: > Daniel Phillips wrote: > > This is easy, just set the list head to the page about to be truncated. > > Works for me. It looks good, but it's black magic - it could use a comment along the lines of: /* * Ensure at least one pass through all

Re: 3C905b partial lockup in 2.4.5-pre5 and up to 2.4.6-pre1

2001-06-10 Thread Russell King
On Sun, Jun 10, 2001 at 12:06:08PM -0400, Ben LaHaise wrote: > I doubt it's a change, more likely an undocumented requirement. Look at > it another way: is the transmitter ready when the link is down? No. > Why? Because if it does attempt to transmit a packet, it will get a > transmit error,

Re: [PATCH] Re: Oops with kernel 2.4.5 on heavy disk traffic

2001-06-10 Thread Alois Treindl
On Sun, 10 Jun 2001, Alexander Viro wrote: > Please, apply. What's happing here is simple - we set i_ino by > PID and get something out of range of per-process inode. Confusion > follows... Fix: move initializing ->u.proc_i.task past the check. > Then proc_delete_inode() will be happy with

Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Stelian Pop
On Sun, Jun 10, 2001 at 03:39:26PM +0100, Alan Cox wrote: > > The driver does not yet support overlay (no docs... :-( ), but it does = > > support > > Are you sure the hardware supports overlay ? Yes. But, even if I know how to program the mchip to output to the video bus, there is something

[PATCH] Re: Oops with kernel 2.4.5 on heavy disk traffic

2001-06-10 Thread Alexander Viro
Please, apply. What's happing here is simple - we set i_ino by PID and get something out of range of per-process inode. Confusion follows... Fix: move initializing ->u.proc_i.task past the check. Then proc_delete_inode() will be happy with it. Alois, Bryce - that ought to fix the

What happend to ASTOR like astor@fast.no ?

2001-06-10 Thread L Larssen
Hello, Sorry if this does not fit in the kernel list. Does anybody know what happend to astor from kerneli.org? I hope no bad things. This since kerneli development is falling far behind without any notice in the media. We are developing for the real world also remember?! Many users of the

Driver for ADC 7841 Analogue Digital Converter

2001-06-10 Thread johna
I've put this driver on my web page at : http://phaedra.apana.org.au/johna This is not an attempt to do anything "official", merely point out that it's there so that anyone wanting to develop a driver for a serial type chip (or use that chip) has the option of a driver to start with. I'm not

Re: Please test: workaround to help swapoff behaviour

2001-06-10 Thread Bulent Abali
>The fix is to kill the dead/orphaned swap pages before we get to >swapoff. At shutdown time there is practically nothing active in > ... >Once the dead swap pages problem is fixed it is time to optimize >swapoff. I think fixing the orphaned swap pages problem will eliminate the problem all

Re: [CHECKER] a couple potential deadlocks in 2.4.5-ac8

2001-06-10 Thread David Woodhouse
[EMAIL PROTECTED] said: > In message <[EMAIL PROTECTED]> you write: > > [EMAIL PROTECTED] said: > > > Good point. Spinlocks (with the exception of read-read locks, of > > > course) and semaphores will deadlock on recursive use, while the BKL > > > has this "process usage counter" recursion

Oops with kernel 2.4.5 on heavy disk traffic - reproduce

2001-06-10 Thread Alois Treindl
I have reported before a kernel oops. I now oberserved the same oops, with the same stack trace, and a Dell Poweredge 1550 with dual CPU, 1 gb RAM, only one disk and with little disk usage (most file activity via NFS, where this system is a client). The kernel is identical to the one reported

Re: [CHECKER] a couple potential deadlocks in 2.4.5-ac8

2001-06-10 Thread Rusty Russell
In message <[EMAIL PROTECTED]> you write: > > [EMAIL PROTECTED] said: > > Good point. Spinlocks (with the exception of read-read locks, of > > course) and semaphores will deadlock on recursive use, while the BKL > > has this "process usage counter" recursion protection. > > Obtaining a read

Re: (driver) New life for Serial mice

2001-06-10 Thread Pavel Machek
Hi! > > > Can't it make mouse jump forward and back when user suddenly stops? > > > > In theory - yes. It doesn't seem to be a problem in practice, though. > > It'll happen when a user slows down the mouse pointer motion faster than > > exponentially (base 2). I haven't been able to stop that

Re: CacheFS

2001-06-10 Thread Pavel Machek
Hi! > > * Can the kernel part of CODA can be used for this? > > Not if you want to intercept and redirect every single read and write > call. That's a whole other can of worms, and I'd advise you to let the > userspace cachemanager to act as an NFS daemon. In my opinion, the Coda > kernel

Oops with kernel 2.4.5 on heavy disk traffic

2001-06-10 Thread Alois Treindl
I run kernel 2.4.5 on Dell Poweredge 2450 with 1.5 Gb RAM and an onboard adaptec disk driver, dual pentium III 933 Mhz, 3 disks (160 mb transfer rate, 36 Gb each). When I put the system under heavy load today (load level 15, about 20 httpd processes and three concurrent copies of large file

Re: [patch] ess maestro, support for hardware volume control

2001-06-10 Thread Abramo Bagnara
Zach Brown wrote: > > > I now have a patch that will output the hwv buttons pressed (up, > > down, mute) to a new dynamically allocated misc device as letters > > u, d, m, instead of directly modifying the mixer. Anyone want > > that? It's more flexible than either the patch that's currently >

Re: 3C905b partial lockup in 2.4.5-pre5 and up to 2.4.6-pre1

2001-06-10 Thread arjan
In article <[EMAIL PROTECTED]> you wrote: > Is this a change of requirements for ethernet drivers? Many other drivers > do exactly the same (drop the first few packets while they're negotiating > with a hub), unless they're using 10base2, even back to the days of 2.0 > kernels. I think it would

RE: [PATCH] 2.4.6-pre2 page_launder() improvements

2001-06-10 Thread George Bonser
My bad, I just looked at my notes again. It both went away and returned with right around 500 processes. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: [PATCH] 2.4.6-pre2 page_launder() improvements

2001-06-10 Thread George Bonser
> > That sounds like the machine just gets a working set > larger than the amount of available memory. It should > work better with eg. 96, 128 or more MBs of memory. Now that I think about it a little more ... once I took it out of the balancer and I got control back, I had over 500 apache kids

RE: [PATCH] 2.4.6-pre2 page_launder() improvements

2001-06-10 Thread George Bonser
> > That sounds like the machine just gets a working set > larger than the amount of available memory. It should > work better with eg. 96, 128 or more MBs of memory. > Right, I run them with 256M ... thought I would try to squeeze it a bit to see what broke. - To unsubscribe from this list:

RE: [PATCH] 2.4.6-pre2 page_launder() improvements

2001-06-10 Thread Rik van Riel
On Sun, 10 Jun 2001, George Bonser wrote: > I took it out of the load balancer and regained control in > seconds. The 15 minute load average showed somewhere over 150 > with a bazillion apache processes. Even top -q would not update > when I put it back into the balancer. The load average and >

Re: 3C905b partial lockup in 2.4.5-pre5 and up to 2.4.6-pre1

2001-06-10 Thread Russell King
On Sun, Jun 10, 2001 at 01:54:13AM -0400, Ben LaHaise wrote: > I doubt it's related to pump: a few times I've seen the 3c59x driver drop > the first few transmit packets. Try loading the driver as a module and > putting the whole modprobe ; ifconfig ; ping set of commands > into a script and

RE: [PATCH] 2.4.6-pre2 page_launder() improvements

2001-06-10 Thread George Bonser
> > This patch has given excellent results on my laptop and my > workstation here and seems to improve kernel behaviour in tests > quite a bit. I can play mp3's unbuffered during moderate write > loads or moderately heavy IO ;) > > YMMV, please test it. If it works great for everybody I'd like >

Re: [CHECKER] a couple potential deadlocks in 2.4.5-ac8

2001-06-10 Thread Dawson Engler
> > Sure, it's a pretty interaction. To be sure about the rule: any *_user > > call can be treated as an implicit invocation of do_page_fault? > > As a first approximation, yes. The exception cases are certain callers > that use kernel addresses and set_fs(KERNEL_DS) in order to "fake" >

Re: VFS bug? Trying to free free buffer

2001-06-10 Thread Tachino Nobuhiro
Hello, At Fri, 8 Jun 2001 16:42:54 +0300, Alexey Vyskubov wrote: > > Hello. > > Kernel 2.4.5. > > $ sudo mount -o iocharset=garbage /dev/cdrom /cdrom > > VFS: brelse: Trying to free free buffer I think this is the ISOFS's bug. If invalid iocharset is specified as a mount option,

2.4.5-ac12 -- Unresolved symbols in drivers/net/wan/comx.o -- "proc_get_inode"

2001-06-10 Thread Mr Miles T Lane
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.5-ac12; fi depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac12/kernel/drivers/net/wan/comx.o depmod: proc_get_inode

2.4.5-ac12 -- Unresolved symbols in drivers/net/wan/comx.o -- proc_get_inode

2001-06-10 Thread Mr Miles T Lane
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.5-ac12; fi depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac12/kernel/drivers/net/wan/comx.o depmod: proc_get_inode

Re: VFS bug? Trying to free free buffer

2001-06-10 Thread Tachino Nobuhiro
Hello, At Fri, 8 Jun 2001 16:42:54 +0300, Alexey Vyskubov wrote: Hello. Kernel 2.4.5. $ sudo mount -o iocharset=garbage /dev/cdrom /cdrom VFS: brelse: Trying to free free buffer I think this is the ISOFS's bug. If invalid iocharset is specified as a mount option,

Re: [CHECKER] a couple potential deadlocks in 2.4.5-ac8

2001-06-10 Thread Dawson Engler
Sure, it's a pretty interaction. To be sure about the rule: any *_user call can be treated as an implicit invocation of do_page_fault? As a first approximation, yes. The exception cases are certain callers that use kernel addresses and set_fs(KERNEL_DS) in order to fake arguments to

Re: 3C905b partial lockup in 2.4.5-pre5 and up to 2.4.6-pre1

2001-06-10 Thread Russell King
On Sun, Jun 10, 2001 at 01:54:13AM -0400, Ben LaHaise wrote: I doubt it's related to pump: a few times I've seen the 3c59x driver drop the first few transmit packets. Try loading the driver as a module and putting the whole modprobe ; ifconfig ; ping somehost set of commands into a script

RE: [PATCH] 2.4.6-pre2 page_launder() improvements

2001-06-10 Thread George Bonser
This patch has given excellent results on my laptop and my workstation here and seems to improve kernel behaviour in tests quite a bit. I can play mp3's unbuffered during moderate write loads or moderately heavy IO ;) YMMV, please test it. If it works great for everybody I'd like to get

RE: [PATCH] 2.4.6-pre2 page_launder() improvements

2001-06-10 Thread Rik van Riel
On Sun, 10 Jun 2001, George Bonser wrote: I took it out of the load balancer and regained control in seconds. The 15 minute load average showed somewhere over 150 with a bazillion apache processes. Even top -q would not update when I put it back into the balancer. The load average and

RE: [PATCH] 2.4.6-pre2 page_launder() improvements

2001-06-10 Thread George Bonser
That sounds like the machine just gets a working set larger than the amount of available memory. It should work better with eg. 96, 128 or more MBs of memory. Right, I run them with 256M ... thought I would try to squeeze it a bit to see what broke. - To unsubscribe from this list: send

RE: [PATCH] 2.4.6-pre2 page_launder() improvements

2001-06-10 Thread George Bonser
That sounds like the machine just gets a working set larger than the amount of available memory. It should work better with eg. 96, 128 or more MBs of memory. Now that I think about it a little more ... once I took it out of the balancer and I got control back, I had over 500 apache kids

RE: [PATCH] 2.4.6-pre2 page_launder() improvements

2001-06-10 Thread George Bonser
My bad, I just looked at my notes again. It both went away and returned with right around 500 processes. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: 3C905b partial lockup in 2.4.5-pre5 and up to 2.4.6-pre1

2001-06-10 Thread arjan
In article [EMAIL PROTECTED] you wrote: Is this a change of requirements for ethernet drivers? Many other drivers do exactly the same (drop the first few packets while they're negotiating with a hub), unless they're using 10base2, even back to the days of 2.0 kernels. I think it would make

Re: [patch] ess maestro, support for hardware volume control

2001-06-10 Thread Abramo Bagnara
Zach Brown wrote: I now have a patch that will output the hwv buttons pressed (up, down, mute) to a new dynamically allocated misc device as letters u, d, m, instead of directly modifying the mixer. Anyone want that? It's more flexible than either the patch that's currently in -ac

Re: CacheFS

2001-06-10 Thread Pavel Machek
Hi! * Can the kernel part of CODA can be used for this? Not if you want to intercept and redirect every single read and write call. That's a whole other can of worms, and I'd advise you to let the userspace cachemanager to act as an NFS daemon. In my opinion, the Coda kernel module fills

Oops with kernel 2.4.5 on heavy disk traffic

2001-06-10 Thread Alois Treindl
I run kernel 2.4.5 on Dell Poweredge 2450 with 1.5 Gb RAM and an onboard adaptec disk driver, dual pentium III 933 Mhz, 3 disks (160 mb transfer rate, 36 Gb each). When I put the system under heavy load today (load level 15, about 20 httpd processes and three concurrent copies of large file

Re: (driver) New life for Serial mice

2001-06-10 Thread Pavel Machek
Hi! Can't it make mouse jump forward and back when user suddenly stops? In theory - yes. It doesn't seem to be a problem in practice, though. It'll happen when a user slows down the mouse pointer motion faster than exponentially (base 2). I haven't been able to stop that fast. Put

Oops with kernel 2.4.5 on heavy disk traffic - reproduce

2001-06-10 Thread Alois Treindl
I have reported before a kernel oops. I now oberserved the same oops, with the same stack trace, and a Dell Poweredge 1550 with dual CPU, 1 gb RAM, only one disk and with little disk usage (most file activity via NFS, where this system is a client). The kernel is identical to the one reported

Re: [CHECKER] a couple potential deadlocks in 2.4.5-ac8

2001-06-10 Thread Rusty Russell
In message [EMAIL PROTECTED] you write: [EMAIL PROTECTED] said: Good point. Spinlocks (with the exception of read-read locks, of course) and semaphores will deadlock on recursive use, while the BKL has this process usage counter recursion protection. Obtaining a read lock twice can

Re: [CHECKER] a couple potential deadlocks in 2.4.5-ac8

2001-06-10 Thread David Woodhouse
[EMAIL PROTECTED] said: In message [EMAIL PROTECTED] you write: [EMAIL PROTECTED] said: Good point. Spinlocks (with the exception of read-read locks, of course) and semaphores will deadlock on recursive use, while the BKL has this process usage counter recursion protection.

Re: Please test: workaround to help swapoff behaviour

2001-06-10 Thread Bulent Abali
The fix is to kill the dead/orphaned swap pages before we get to swapoff. At shutdown time there is practically nothing active in ... Once the dead swap pages problem is fixed it is time to optimize swapoff. I think fixing the orphaned swap pages problem will eliminate the problem all

Driver for ADC 7841 Analogue Digital Converter

2001-06-10 Thread johna
I've put this driver on my web page at : http://phaedra.apana.org.au/johna This is not an attempt to do anything official, merely point out that it's there so that anyone wanting to develop a driver for a serial type chip (or use that chip) has the option of a driver to start with. I'm not

What happend to ASTOR like astor@fast.no ?

2001-06-10 Thread L Larssen
Hello, Sorry if this does not fit in the kernel list. Does anybody know what happend to astor from kerneli.org? I hope no bad things. This since kerneli development is falling far behind without any notice in the media. We are developing for the real world also remember?! Many users of the

[PATCH] Re: Oops with kernel 2.4.5 on heavy disk traffic

2001-06-10 Thread Alexander Viro
Please, apply. What's happing here is simple - we set i_ino by PID and get something out of range of per-process inode. Confusion follows... Fix: move initializing -u.proc_i.task past the check. Then proc_delete_inode() will be happy with it. Alois, Bryce - that ought to fix the

Re: [PATCH] Re: Oops with kernel 2.4.5 on heavy disk traffic

2001-06-10 Thread Alois Treindl
On Sun, 10 Jun 2001, Alexander Viro wrote: Please, apply. What's happing here is simple - we set i_ino by PID and get something out of range of per-process inode. Confusion follows... Fix: move initializing -u.proc_i.task past the check. Then proc_delete_inode() will be happy with it.

Re: 3C905b partial lockup in 2.4.5-pre5 and up to 2.4.6-pre1

2001-06-10 Thread Russell King
On Sun, Jun 10, 2001 at 12:06:08PM -0400, Ben LaHaise wrote: I doubt it's a change, more likely an undocumented requirement. Look at it another way: is the transmitter ready when the link is down? No. Why? Because if it does attempt to transmit a packet, it will get a transmit error, but

Re: [patch] truncate_inode_pages

2001-06-10 Thread Daniel Phillips
On Sunday 10 June 2001 03:31, Andrew Morton wrote: Daniel Phillips wrote: This is easy, just set the list head to the page about to be truncated. Works for me. It looks good, but it's black magic - it could use a comment along the lines of: /* * Ensure at least one pass through all three

Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Stelian Pop
On Sun, Jun 10, 2001 at 04:58:42PM +0100, Alan Cox wrote: Yes. But, even if I know how to program the mchip to output to the video bus, there is something missing to enable overlay (either in the mchip or in the ati video driver). It could be using the YUV digital inputs to the ATI

Re: 3C905b partial lockup in 2.4.5-pre5 and up to 2.4.6-pre1

2001-06-10 Thread Jeff Garzik
Russell King wrote: Indeed. However, I don't believe user space should _rely_ on the flag. The reason is that there are network cards out there where the only way to get the link status _is_ to transmit a packet, even on 10baseT. PCNET is one example - the oh my god my link is down status

Re: scsi disk defect or kernel driver defect ?

2001-06-10 Thread Geert Uytterhoeven
On Thu, 7 Jun 2001, Nico Schottelius wrote: Or does anybody have a hp c1536 streamer and can help me ? The manual for my C1536A says: | The C1536A does not support termination on the device itself. Normally, the | unit will not be placed at the end of a bus. However, if this is | unavoidable,

Threads and the LDT (Intel-specific)?

2001-06-10 Thread Scott Long
I'm trying to do something a bit unorthodox: I want to share the address space between threads, but I want a certain region of the address space to be writeable only for a particular thread -- for all other threads this region is read-only. I've considered several approaches. I'll only go

Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Linus Torvalds
In article [EMAIL PROTECTED], Stelian Pop [EMAIL PROTECTED] wrote: 2. Using the YUV overlay/expand hardware in the ATI card (see www.gatos.org for X stuff for ATI for this) :s/www.gatos.org/www.linuxvideo.org/gatos/ I took a quick look on their site but it seems that the Rage

[OT] gcc-3 problem (oops in df)

2001-06-10 Thread Ken Moffat
I see people on this list are using gcc-3 snapshots, so I thought I'd ask advice here to narrow the problem down, before posting a gcc bug report. I've been sitting on this for a couple of days without getting anywhere. If I use a recent gcc snapshot (example : 4th June), I get an oops if I try

  1   2   >