Re: Plain 2.4.5 VM... (and 2.4.5-ac3)

2001-05-30 Thread Mike Galbraith
On Wed, 30 May 2001, Vincent Stemen wrote: > On Wednesday 30 May 2001 15:17, Mike Galbraith wrote: > > On Wed, 30 May 2001, Vincent Stemen wrote: > > > On Wednesday 30 May 2001 01:02, Mike Galbraith wrote: > > > > On Tue, 29 May 2001, Vincent Stemen wrote: > > > > > On Tuesday 29 May 2001 15:16,

Re: [OFF-TOPIC] 4 ports ETH cards

2001-05-30 Thread Fabbione
First of all I would like to say thanks to everyone. I didn't expect so many answer in so few time ( I got most of them directly in my mailbox) Anyway I've ordered right now the D-Link DFE-570 that seems the one with the best price/quality ratio so I can test it on the "battle field". Best

Re: Plain 2.4.5 VM

2001-05-30 Thread Mike Galbraith
On Wed, 30 May 2001, Marcelo Tosatti wrote: > On Wed, 30 May 2001, Mike Galbraith wrote: > > > On Wed, 30 May 2001, Rik van Riel wrote: > > > > > On Wed, 30 May 2001, Marcelo Tosatti wrote: > > > > > > > The problem is that we allow _every_ task to age pages on the system > > > > at the same

one link missing for a directory

2001-05-30 Thread SATHISH.J
Hi, Sorry to disturb you. I tried to create a file system similar to ramfs on 2.2.14 kernel. I was able to insert it as a module and mount it to ram disk at /dev/ram0 at a mount point called /mnt. It gets mounted . But after mounting it the link count of directory /mnt becomes 1 and size becomes

[PATCH] ip_masq_vdolive.c typo fix

2001-05-30 Thread Keitaro Yosimura
Hi. I found typo at ip_masq_vdolive.c. 2.2.{19,20-pre2} typo fix --- linux.orig/net/ipv4/ip_masq_vdolive.c Thu May 31 13:29:14 2001 +++ linux/net/ipv4/ip_masq_vdolive.cThu May 31 13:30:47 2001 @@ -242,7 +242,7 @@ ports[i]))) {

Re: cs46xx oops in 2.4.5-ac4

2001-05-30 Thread Wayne . Brown
This problem is still present in 2.4.5-ac5. Here's the latest oops: ksymoops 2.4.1 on i686 2.4.5-ac5. Options used -v /usr/src/linux-2.4.5-ac5/vmlinux (specified) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.5-ac5/ (default) -m

Re: Plain 2.4.5 VM... (and 2.4.5-ac3)

2001-05-30 Thread Vincent Stemen
On Wednesday 30 May 2001 15:17, Mike Galbraith wrote: > On Wed, 30 May 2001, Vincent Stemen wrote: > > On Wednesday 30 May 2001 01:02, Mike Galbraith wrote: > > > On Tue, 29 May 2001, Vincent Stemen wrote: > > > > On Tuesday 29 May 2001 15:16, Alan Cox wrote: > > > > > > a reasonably stable

Re: How to know HZ from userspace?

2001-05-30 Thread Albert D. Cahalan
Harald Welte writes: > Is there any way to read out the compile-time HZ value of the kernel? > > I had a brief look at /proc/* and didn't find anything. Look again, this time with a sick mind. Got your barf bag? Kubys made me do it.

Re: How to know HZ from userspace?

2001-05-30 Thread Albert D. Cahalan
Jonathan Lundell writes: > At 5:07 PM -0700 2001-05-30, H. Peter Anvin wrote: >>> If you now want to set those values from a userspace program / script in >>> a portable manner, you need to be able to find out of HZ of the currently >>> running kernel. >> >> Yes, but that's because the

Re: Plain 2.4.5 VM... (and 2.4.5-ac3)

2001-05-30 Thread Vincent Stemen
On Wednesday 30 May 2001 15:30, Rik van Riel wrote: > On Wed, 30 May 2001, Vincent Stemen wrote: > > The problem is, that's not true. These problems are not slipping > > through because of lack of testers. As Alan said, the VM problem has > > been lurking, which means that it was known already.

[PATCH] mtdram.c

2001-05-30 Thread John Martin
this seemed to be a straight forward null pointer bug. i just copied the error handling code from about 5 lines below what i added in. -john martin --- drivers/mtd/mtdram.c.orig Fri Feb 9 11:30:23 2001 +++ drivers/mtd/mtdram.cSat May 26 20:52:56 2001 @@ -115,6 +115,11 @@

Re: select() - Linux vs. BSD

2001-05-30 Thread Dr. Kelsey Hudson
On Tue, 29 May 2001, John Chris Wren wrote: > Should the man pages be changed to reflect reality, or select() fixed to > act like BSD? > BSD should be destroyed :) Kelsey Hudson [EMAIL PROTECTED] Software Engineer Compendium Technologies, Inc

Re: How to know HZ from userspace?

2001-05-30 Thread Martin Dalecki
Joel Becker wrote: > > On Wed, May 30, 2001 at 05:24:37PM -0700, Jonathan Lundell wrote: > > FWIW (perhaps not much in this context), the POSIX way is sysconf(_SC_CLK_TCK) > > > > POSIX sysconf is pretty useful for this kind of thing (not just HZ, either). > > Well, how many hundred

Re: How to know HZ from userspace?

2001-05-30 Thread Mike Castle
On Wed, May 30, 2001 at 05:44:39PM -0700, Jonathan Lundell wrote: > Lots. Maybe we oughta have /proc/sysconf/... (there's no reason > sysconf() can't be a library reading /proc). You don't mount proc? mrc -- Mike Castle [EMAIL PROTECTED] www.netcom.com/~dalgoda/ We are all

Re: How to know HZ from userspace?

2001-05-30 Thread Jonathan Lundell
At 1:38 AM +0100 2001-05-31, Joel Becker wrote: >On Wed, May 30, 2001 at 05:24:37PM -0700, Jonathan Lundell wrote: >> FWIW (perhaps not much in this context), the POSIX way is >>sysconf(_SC_CLK_TCK) >> >> POSIX sysconf is pretty useful for this kind of thing (not just HZ, either). > >

Re: How to know HZ from userspace?

2001-05-30 Thread Joel Becker
On Wed, May 30, 2001 at 05:24:37PM -0700, Jonathan Lundell wrote: > FWIW (perhaps not much in this context), the POSIX way is sysconf(_SC_CLK_TCK) > > POSIX sysconf is pretty useful for this kind of thing (not just HZ, either). Well, how many hundred things on Linux are available from

Re: How to know HZ from userspace?

2001-05-30 Thread Jonathan Lundell
At 5:07 PM -0700 2001-05-30, H. Peter Anvin wrote: > > If you now want to set those values from a userspace program / script in >> a portable manner, you need to be able to find out of HZ of the currently >> running kernel. >> > >Yes, but that's because the interfaces are broken. The decision

RE: [OFF-TOPIC] 4 ports ETH cards

2001-05-30 Thread George Bonser
> I've been working with these boards for a couple months and thought they > were great. However, now it turns out that they won't fit into our > systems too well (a little too long). Does anyone have knowledge of > another brand that has a (slightly) smaller form factor? I did some > checking

Re: How to know HZ from userspace?

2001-05-30 Thread Joel Becker
On Wed, May 30, 2001 at 05:07:22PM -0700, H. Peter Anvin wrote: > Followup to: <[EMAIL PROTECTED]> > By author:Harald Welte <[EMAIL PROTECTED]> > In newsgroup: linux.dev.kernel > > Is there any way to read out the compile-time HZ value of the kernel? > > Yes, but that's because the

Re: How to know HZ from userspace?

2001-05-30 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Harald Welte <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > Is there any way to read out the compile-time HZ value of the kernel? > > I had a brief look at /proc/* and didn't find anything. > > The background, why it is needed: > > There

Re: 2.4.5 Oops at boot

2001-05-30 Thread D. Stimits
Chris Mason wrote: > > On Wednesday, May 30, 2001 03:03:32 PM -0600 "D. Stimits" > <[EMAIL PROTECTED]> wrote: > > [ snip ] > > > RAMDISK: Compressed image found at block 0 > > Freeing initrd memory: 249k freed > > VFS: Mounted root (ext2 filesystem). > > Red Hat nash version 3.0.10 starting >

How to know HZ from userspace?

2001-05-30 Thread Harald Welte
Hi! Is there any way to read out the compile-time HZ value of the kernel? I had a brief look at /proc/* and didn't find anything. The background, why it is needed: There are certain settings, for example the icmp rate limiting values, which can be set using sysctl. Those setting are basically

Only 5 undocumented configuration symbols left

2001-05-30 Thread Eric S. Raymond
The current list of symbols with missing help is very short. Here it is: PPC port: CONFIG_BLK_DEV_MPC8xx_IDE CONFIG_IRQ_ALL_CPUS CONFIG_USE_MDIO CRIS port: CONFIG_ETRAX_FLASH_BUSWIDTH CONFIG_ETRAX_I2C_USES_PB_NOT_PB_I2C Let's finish this off, people! --

Re: [CHECKER] 2.4.5-ac4 non-init functions calling init functions

2001-05-30 Thread Dawson Engler
> > drivers/mtd/docprobe.c:195:DoC_Probe: ERROR:INIT: non-init fn > > 'DoC_Probe' calling init fn 'doccheck' > > Strictly speaking, not actually a bug. DoC_Probe() itself is only ever > called from __init code. But it's probably not worth trying to make the > checker notice that situation -

Re: [OFF-TOPIC] 4 ports ETH cards

2001-05-30 Thread Martin Josefsson
On Wed, 30 May 2001, Michael H. Warfield wrote: [snip] > Just got three of these suckers and I'm about to order a bunch > more (happy camper)... yes the Dlink DFE570-TX is a very nice card indeed. [snip] > Because the D-Link cards were less than half of the nearest > competitor [ <

Re: [PATCH] reclaim dirty dead swapcache pages

2001-05-30 Thread Marcelo Tosatti
On Thu, 31 May 2001, J . A . Magallon wrote: > > On 05.30 Marcelo Tosatti wrote: > > > > > > Its at > > http://bazar.conectiva.com.br/~marcelo/patches/v2.4/2.4.5ac4/reapswap.patch > > > > Please test. > > > > Which kind of test, something like the gcc think I posted recently ? I don't

Re: [OFF-TOPIC] 4 ports ETH cards

2001-05-30 Thread Jeff Golds
"Michael H. Warfield" wrote: > > On Wed, May 30, 2001 at 06:34:16PM -0300, Harald Welte wrote: > > On Tue, May 29, 2001 at 09:52:41AM +0200, Fabbione wrote: > > > Hi all, > > > sorry for the offtopic msg. > > > > > > Can someone point me to a 4 ports fast/eth card solution for linux? > > >

Re: Remaining undocumented Configure.help symbols

2001-05-30 Thread Eric S. Raymond
Harald Welte <[EMAIL PROTECTED]>: > On Tue, May 29, 2001 at 02:59:40PM -0400, Eric S. Raymond wrote: > > > CONFIG_NET_CLS_TCINDEX > > If you say Y here, you will be able to classify outgoing packets > according to the tc_index field of the skb. You will want this > feature if you want

Re: [PATCH] reclaim dirty dead swapcache pages

2001-05-30 Thread J . A . Magallon
On 05.30 Marcelo Tosatti wrote: > > > Its at > http://bazar.conectiva.com.br/~marcelo/patches/v2.4/2.4.5ac4/reapswap.patch > > Please test. > Which kind of test, something like the gcc think I posted recently ? Just stress vm, fill swap, and try to do it again ? -- J.A. Magallon

Re: Linux 2.4.5-ac5

2001-05-30 Thread J . A . Magallon
On 05.30 Alan Cox wrote: > > 2.4.5-ac5 > o Move the pagecache and pagemap_lru_lock to (Andrea Arcangeli) > different cache lines Nice bit. One other bit from aa I think perhaps is usefull for SMP (don't understand fully the difference, but if it makes cache usage better...) is

Makefile patch for cscope and saner Ctags

2001-05-30 Thread Mark Frazer
The following patch generates saner Ctags and will build cscope output. It's against 2.4.5 --- Makefile.oldMon May 28 22:44:01 2001 +++ MakefileWed May 30 17:50:01 2001 @@ -334,11 +334,32 @@ # Exuberant ctags works better with -I tags: dummy - CTAGSF=`ctags --version |

Re: ln -s broken on 2.4.5

2001-05-30 Thread Marcus Meissner
On Wed, May 30, 2001 at 10:49:18PM +0100, Alan Cox wrote: > > The problem is only there if you specify a directory for the linked to > > component. > > > > [marcus@wine /tmp]$ strace -f ln -s fupp/berk xxx > > execve("/bin/ln", ["ln", "-s", "fupp/berk", "xxx"], [/* 39 vars */]) = 0 > > ... ld

Re: [OFF-TOPIC] 4 ports ETH cards

2001-05-30 Thread Michael H. Warfield
On Wed, May 30, 2001 at 06:34:16PM -0300, Harald Welte wrote: > On Tue, May 29, 2001 at 09:52:41AM +0200, Fabbione wrote: > > Hi all, > > sorry for the offtopic msg. > > > > Can someone point me to a 4 ports fast/eth card solution for linux? > D-Link DFE-570 has a reasonable pricing and is

Re: Plain 2.4.5 VM... (and 2.4.5-ac3)

2001-05-30 Thread Vincent Stemen
Ronald Bultje writes: > On 30 May 2001 14:58:57 -0500, Vincent Stemen wrote: > > There was a new 8139too driver added to the the 2.4.5 (I think) kernel > > which Alan Cox took back out and reverted to the old one in his > > 2.4.5-ac? versions because it is apparently causing lockups. > >

Re: [CHECKER] 2.4.5-ac4 non-init functions calling init functions

2001-05-30 Thread Oliver Xymoron
On Wed, 30 May 2001, David Woodhouse wrote: > > [EMAIL PROTECTED] said: > > drivers/mtd/docprobe.c:195:DoC_Probe: ERROR:INIT: non-init fn > > 'DoC_Probe' calling init fn 'doccheck' > > Strictly speaking, not actually a bug. DoC_Probe() itself is only ever > called from __init code. But it's

RE: [Acpi] RE: [patch]: ide dma timeout retry in pio

2001-05-30 Thread Christopher B. Liebman
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Diefenbaugh, Paul S > > Chris/All: > > I think your assumptions are correct. I'm guessing that IDE DMA > activity is > not being properly handled when the CPU is in C3, resulting in memory (and >

Re: ln -s broken on 2.4.5

2001-05-30 Thread Mike Castle
On Wed, May 30, 2001 at 11:30:05PM +0200, Marcus Meissner wrote: > The problem is only there if you specify a directory for the linked to > component. > > [marcus@wine /tmp]$ strace -f ln -s fupp/berk xxx Is it only a directory, or the length? ln -s fupp_berk xxx for instance. -- Mike

Re: ln -s broken on 2.4.5

2001-05-30 Thread Sergey Kubushin
On Wed, 30 May 2001, Marcus Meissner wrote: > On Wed, May 30, 2001 at 09:08:56PM +0100, Alan Cox wrote: > > > > What file system. Its find on my 2.4.5-ac with ext2 > > > > > > 100% reproducible on NFS and EXT2 here, with following: > > > > > > > $ ls -la bar > > > lrwxrwxrwx 1 marcus users

Re: here comes the summer...

2001-05-30 Thread Mohammad A. Haque
On Wed, 30 May 2001, J . A . Magallon wrote: > Anybody knows if sensors will get into kernel anytime in this century ? > Yes, it can generate patches automagically, but there is a big big lack > of sync with latest kernels. Patches generated are silly big because of > things like Any big reason

Re: [PATCH] Procfs Guide

2001-05-30 Thread Erik Mouw
On Wed, May 30, 2001 at 03:10:32PM -0600, [EMAIL PROTECTED] wrote: > So where can find the whole docbook ? I could not find under > linux/Documentation directory. That's correct, I only submitted it for inclusion into the kernel, so it's not yet there. Just patch your kernel source with my

Re: [CHECKER] 2.4.5-ac4 non-init functions calling init functions

2001-05-30 Thread Harald Welte
On Wed, May 30, 2001 at 01:08:40PM -0700, Dawson Engler wrote: > Here are *uninspected* 2.4.5-ac4 results of a checker that warns when a > non-__init function calls an __init function (suggested by > [EMAIL PROTECTED]). There seem to be two cases: > > 1. The best case: the caller

Re: [OFF-TOPIC] 4 ports ETH cards

2001-05-30 Thread Harald Welte
On Tue, May 29, 2001 at 09:52:41AM +0200, Fabbione wrote: > Hi all, > sorry for the offtopic msg. > > Can someone point me to a 4 ports fast/eth card solution for linux? D-Link DFE-570 has a reasonable pricing and is well supported by the tulip driver > I found some cards based on the

Re: [CHECKER] 2.4.5-ac4 non-init functions calling init functions

2001-05-30 Thread David Woodhouse
[EMAIL PROTECTED] said: > drivers/mtd/docprobe.c:195:DoC_Probe: ERROR:INIT: non-init fn > 'DoC_Probe' calling init fn 'doccheck' Strictly speaking, not actually a bug. DoC_Probe() itself is only ever called from __init code. But it's probably not worth trying to make the checker notice that

here comes the summer...

2001-05-30 Thread J . A . Magallon
...again (I think I asked just the same last summer) and lm_sensors is still out of the kernel (we have got 40ÂșC in Spain this week, and I would like to know how my PIIs suffer...) Anybody knows if sensors will get into kernel anytime in this century ? Yes, it can generate patches automagically,

Re: [ PATCH ]: disable pcspeaker kernel: 2.4.2 - 2.4.5

2001-05-30 Thread Daniel Phillips
On Wednesday 30 May 2001 17:25, Ingo Molnar wrote: > On Wed, 30 May 2001, Nico Schottelius wrote: > > > the default value is 0, that is good enough. > > > > hmm.. I don't think so... value of 1 would be much better, because > > 0 normally disables the speaker. > > i confused the value. Yes, an

udelay() on machines with speedstep [IBM ThinkPad T20 has real problems]

2001-05-30 Thread Pavel Machek
Hi! It seems there's machine where changing CPU clocks actually does something very bad [was it keyboard freeze?]. Can the unhappy thinkpad T20 owner please step up and test this patch? Alan, is something like this candidate for -ac series?

Re: 2.4.5 Oops at boot

2001-05-30 Thread Chris Mason
On Wednesday, May 30, 2001 03:03:32 PM -0600 "D. Stimits" <[EMAIL PROTECTED]> wrote: [ snip ] > RAMDISK: Compressed image found at block 0 > Freeing initrd memory: 249k freed > VFS: Mounted root (ext2 filesystem). > Red Hat nash version 3.0.10 starting > VFS: Mounted root (ext2 filesystem)

Re: determining size of cdrom

2001-05-30 Thread Jens Axboe
On Wed, May 30 2001, Jeff Meininger wrote: > > I'm not subscribed to the mailing list, so please Cc a copy of your > replies straight to my email address: [EMAIL PROTECTED] > > > I'm trying to determine the raw size of a cdrom disc, as in the size of > the file you'd get by doing 'dd

RE: [PATCH] Procfs Guide

2001-05-30 Thread hiren_mehta
So where can find the whole docbook ? I could not find under linux/Documentation directory. Regards, -hiren (408)970-3062 [EMAIL PROTECTED] > -Original Message- > From: Erik Mouw [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 30, 2001 1:36 PM > To: Tim Waugh > Cc: Linux kernel

RE: [patch]: ide dma timeout retry in pio

2001-05-30 Thread Diefenbaugh, Paul S
Chris/All: I think your assumptions are correct. I'm guessing that IDE DMA activity is not being properly handled when the CPU is in C3, resulting in memory (and therefore file system) corruption. We haven't seen corruption on our development systems, but this is probably due to the fact that

determining size of cdrom

2001-05-30 Thread Jeff Meininger
I'm not subscribed to the mailing list, so please Cc a copy of your replies straight to my email address: [EMAIL PROTECTED] I'm trying to determine the raw size of a cdrom disc, as in the size of the file you'd get by doing 'dd if=/dev/cdrom of=size_of_this.img'. I've tried the following

Re: Plain 2.4.5 VM

2001-05-30 Thread Marcelo Tosatti
On Wed, 30 May 2001, Mike Galbraith wrote: > On Wed, 30 May 2001, Rik van Riel wrote: > > > On Wed, 30 May 2001, Marcelo Tosatti wrote: > > > > > The problem is that we allow _every_ task to age pages on the system > > > at the same time --- this is one of the things which is fucking up. > >

Re: [2.4.4ac11 - 2.4.5 and 2.4.5ac5] problems with stat continue (ln -s broken ...?)

2001-05-30 Thread Andreas Hartmann
Hallo all! I know that I'm repeating myself - but the problem is still the same. It's impossible for me to use these kernels mentioned in the subject. I think there is a parallelism to the mail "ln -s broken on 2.4.5" or am I the problem? Who can help me? Regards, Andreas Hartmann > Hallo

2.4.5 Oops at boot

2001-05-30 Thread D. Stimits
I have two systems, one running RH 7.1 as base, the other RH 7.1 beta. Both are x86 SMP. The following Oops is from the RH 7.1 machine (non-beta) for kernel 2.4.5 (compiled with kgcc, no patches). Please note that both machines will fail to create a bootable floppy with make bzdisk; I have tried

Re: Kernel 2.4.x TODO

2001-05-30 Thread Arnaldo Carvalho de Melo
Em Wed, May 30, 2001 at 01:46:50PM -0700, Dunlap, Randy escreveu: > > From: Sasi Peter [mailto:[EMAIL PROTECTED]] > > > > > Check out the kernel janitor project at > > > http://bazar.conectiva.com.br/~acme/TODO (original) > > > > Is this information up2date? If it is, sad to see we have > >

RE: Kernel 2.4.x TODO

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Dunlap, Randy wrote: The memory management subsystem uses a Bugzilla as its TODO list: http://linux-mm.org/bugzilla.shtml regards, Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose... http://www.surriel.com/

RE: Kernel 2.4.x TODO

2001-05-30 Thread Dunlap, Randy
> From: Sasi Peter [mailto:[EMAIL PROTECTED]] > > > Check out the kernel janitor project at > > http://bazar.conectiva.com.br/~acme/TODO (original) > > Is this information up2date? If it is, sad to see we have > this many bugs... "Last updated in: Mon Feb 26 21:19:49 EST 2001" The other

Re: [CHECKER] new floating point bugs in 2.4.5-ac4

2001-05-30 Thread arjan
In article <[EMAIL PROTECTED]> you wrote: > Here are two new uses of floating point that popped up in the 2.4.5-ac4 > kernel. While the expressions that use FP are trivial, at least my > version of gcc does not calculate them at compile time. > [BUG] DMFE_TX_KICK is (HZ * 0.5) which gcc does as

Segfault during network calls

2001-05-30 Thread Leonid Timochouk
Hello colleagues, We have a strange problem with our multi-threaded SMTP client: at very heavy load (e.g. 150 threads, each with a pool of 5 persistent connections) it sometimes receives SIGSEGV while making network kernel calls (mostly in "recvfrom" for both TCP and UDP, but also in "connect").

Re: Plain 2.4.5 VM

2001-05-30 Thread Mike Galbraith
On Wed, 30 May 2001, Rik van Riel wrote: > On Wed, 30 May 2001, Marcelo Tosatti wrote: > > > The problem is that we allow _every_ task to age pages on the system > > at the same time --- this is one of the things which is fucking up. > > This should not have any effect on the ratio of cache >

Re: [PATCH] Procfs Guide

2001-05-30 Thread Erik Mouw
On Wed, May 30, 2001 at 09:30:48AM +0100, Tim Waugh wrote: > On Wed, May 30, 2001 at 01:29:17AM +0200, Erik Mouw wrote: > > I'm still looking for a proper way to automatically include the example > > source into the SGML file, this patch with the same content in two > > files is a bit of an ugly

[CHECKER] new floating point bugs in 2.4.5-ac4

2001-05-30 Thread Dawson Engler
Here are two new uses of floating point that popped up in the 2.4.5-ac4 kernel. While the expressions that use FP are trivial, at least my version of gcc does not calculate them at compile time. As a bonus, two old, but still existing FP uses are also included. Dawson MC linux bug database:

Re: calculation of ac_mem (in BSD accounting) misleading?

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Doug Bagley wrote: > Does it make sense to others that ac_mem should be changed to reflect > the resident set size? It does, but doesn't have all that much priority at the moment. Feel free to send patches, though. regards, Rik -- Virtual memory is like a game you can't

calculation of ac_mem (in BSD accounting) misleading?

2001-05-30 Thread Doug Bagley
I'm interested in understanding better why the value of ac_mem in the BSD process accounting code (linux/kernel/acct.c) is calculated the way it is. My humble uninformed opinion is that it's current definition is possibly misleading at best and mostly useless at worst. As a little background:

Linux 2.4.5-ac5

2001-05-30 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: Plain 2.4.5 VM... (and 2.4.5-ac3)

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Vincent Stemen wrote: > The problem is, that's not true. These problems are not slipping > through because of lack of testers. As Alan said, the VM problem has > been lurking, which means that it was known already. Fully agreed, it went through because of a lack of hours

Oops on 2.2.5

2001-05-30 Thread Lukasz Trabinski
Hello There is two "Oops" from user's space (pine,epic) programs. On 2.2.x kernels, on this machine, it had never happened. (2.4.5 #1 SMP Pentium III (Coppermine), 800MHz, RH 7.1, gcc 2.96) ksymoops 2.4.0 on i686 2.4.5. Options used -V (default) -k /proc/ksyms (default) -l

[CHECKER] 2.4.5-ac4 non-init functions calling init functions

2001-05-30 Thread Dawson Engler
Here are *uninspected* 2.4.5-ac4 results of a checker that warns when a non-__init function calls an __init function (suggested by [EMAIL PROTECTED]). There seem to be two cases: 1. The best case: the caller should actually be an __init function as well. This is a performance

Re: boundary condition bug in do_mmap()

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Tania Oka wrote: > if ((offset + PAGE_ALIGN(len)) < offset) Why are you mailing this the week after it was fixed ? :) Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose... http://www.surriel.com/

Re: Plain 2.4.5 VM... (and 2.4.5-ac3)

2001-05-30 Thread Alan Cox
> There was a new 8139too driver added to the the 2.4.5 (I think) kernel > which Alan Cox took back out and reverted to the old one in his > 2.4.5-ac? versions because it is apparently causing lockups. > Shouldn't this new driver have been released in a 2.5.x development > kernel and proven there

Re: Plain 2.4.5 VM... (and 2.4.5-ac3)

2001-05-30 Thread Vincent Stemen
On Wednesday 30 May 2001 01:02, Mike Galbraith wrote: > On Tue, 29 May 2001, Vincent Stemen wrote: > > On Tuesday 29 May 2001 15:16, Alan Cox wrote: > > > > a reasonably stable release until 2.2.12. I do not understand why > > > > code with such serious reproducible problems is being introduced

Re: ln -s broken on 2.4.5

2001-05-30 Thread LA Walsh
Marcus Meissner wrote: > $ ln -s fupp/bar bar > $ ls -la bar --- Is it peculiar to a specific architecture? What does strace show for args to the symlink cmd? -l -- The above thoughts and | They may have nothing to do with writings are my own. | the opinions of my

RE: 2.4.5 -ac series broken on Sparc64

2001-05-30 Thread Leif Sawyer
Alan Cox responded to: > Leif Sawyer, who wrote: >> include/linux/irq.h:61: asm/hw_irq.h: No such file or directory >> *** [sched.o] Error 1 >> >> a find . -name 'hw_irq.h' shows appropriate versions >> in i386, ia64, mips, mips64, alpha, ppc, parisc, um, and sh >> > The sparc64 tree isnt very

Re: ln -s broken on 2.4.5

2001-05-30 Thread Edsel Adap
On Wed, May 30, 2001 at 07:24:30PM +0100, Alan Cox wrote: > > I downloaded the linux 2.4.5 sources and built and installed them on my > > system. Since then, I've noticed strange file system behavior: > > What file system. Its find on my 2.4.5-ac with ext2 Filesystem: ext2 Architecture: i386

RE: [PATCH] 2.4.x: update for PCI vendor id 0x12d4

2001-05-30 Thread Khachaturov, Vassilii
[Updated patch is in the end of this mail] Thanks, Mark! > submit patches as text in your message, since people want > to read them, and not waste time saving to a file, etc. > also, explain patches: who is vid 0x12d4, how did you get > the information, what does it effect, etc. BTW I noticed

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Andrea Arcangeli wrote: > On Wed, May 30, 2001 at 08:57:50PM +0200, Yoann Vandoorselaere wrote: > > I remember the 2.3.51 kernel as the most usable kernel I ever used > > talking about VM. > > I also don't remeber anything strange in that kernel about the VM (I > instead

Re: ln -s broken on 2.4.5

2001-05-30 Thread Marcus Meissner
In article <[EMAIL PROTECTED]> you wrote: >> I downloaded the linux 2.4.5 sources and built and installed them on my >> system. Since then, I've noticed strange file system behavior: > What file system. Its find on my 2.4.5-ac with ext2 100% reproducible on NFS and EXT2 here, with following:

Re: Plain 2.4.5 VM

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Mike Galbraith wrote: > I wouldn't go so far as to say totally broken (mostly because I've > tried like _hell_ to find a better way, and [despite minor successes] > I've not been able to come up with something which covers all cases > that even _I_ [hw tech] can think of

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Andrea Arcangeli
On Wed, May 30, 2001 at 08:57:50PM +0200, Yoann Vandoorselaere wrote: > I remember the 2.3.51 kernel as the most usable kernel I ever used > talking about VM. I also don't remeber anything strange in that kernel about the VM (I instead remeber well the VM breakage introduced in 2.3.99-pre).

OOpses in memory allocator with 2.4.5-ac2

2001-05-30 Thread Christoph Lameter
Following is a series of oopses that kept my server not responding for a while this morning. Running lots of services amoung them a hub for the openproject IRC network: May 30 07:58:01 melchi kernel: invalid operand: May 30 07:58:01 melchi kernel: CPU:0 May 30 07:58:01 melchi kernel:

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Andrea Arcangeli
On Wed, May 30, 2001 at 03:42:51PM -0300, Rik van Riel wrote: > On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: > > > btw, I think such heuristic is horribly broken ;), the highmem zone > > simply needs to be balanced if it is under the pages_low mark, just > > skipping it and falling back into the

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Yoann Vandoorselaere
Rik van Riel <[EMAIL PROTECTED]> writes: > On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: > > > btw, I think such heuristic is horribly broken ;), the highmem zone > > simply needs to be balanced if it is under the pages_low mark, just > > skipping it and falling back into the normal zone that

Re: Plain 2.4.5 VM

2001-05-30 Thread Marcelo Tosatti
On Wed, 30 May 2001, Rik van Riel wrote: > On Wed, 30 May 2001, Marcelo Tosatti wrote: > > > The problem is that we allow _every_ task to age pages on the system > > at the same time --- this is one of the things which is fucking up. > > This should not have any effect on the ratio of cache >

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Jens Axboe wrote: > You are right, this is definitely something that needs checking. I > really want this to work though. Rik, Andrea? Will the balancing > handle the extra zone? In as far as it handles balancing the current zones, it'll also work with one more. In places

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: > btw, I think such heuristic is horribly broken ;), the highmem zone > simply needs to be balanced if it is under the pages_low mark, just > skipping it and falling back into the normal zone that happens to be > above the low mark is the wrong thing

Re: [PATCH] 245-ac4

2001-05-30 Thread Mikulas Patocka
> Hi all, > > This patch remove some NULL parameters tests in kfree-like functions and > add this directly in function. > > - dev_kfree_skb_irq == dev_kfree_skb == kfree_skb > - kfree already handle null parameters : > void kfree (const void *objp) > { > kmem_cache_t *c; >

Re: Plain 2.4.5 VM

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Marcelo Tosatti wrote: > The problem is that we allow _every_ task to age pages on the system > at the same time --- this is one of the things which is fucking up. This should not have any effect on the ratio of cache reclaiming vs. swapout use, though... > The another

cs46xx oops in 2.4.5-ac4

2001-05-30 Thread Wayne . Brown
Since upgrading to 2.4.5-ac4 the Crystal Soundfusion card in my Thinkpad 600X has stopped working. Trying to play an audio file (with /usr/bin/play from sox 12.16) gives me an oops. Here is the init stuff from dmesg for the sound card: Crystal 4280/46xx + AC97 Audio, version 1.27.32,

Re: ln -s broken on 2.4.5

2001-05-30 Thread Alan Cox
> I downloaded the linux 2.4.5 sources and built and installed them on my > system. Since then, I've noticed strange file system behavior: What file system. Its find on my 2.4.5-ac with ext2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [CHECKER] 4 security holes in 2.4.4-ac8

2001-05-30 Thread Greg KH
On Tue, May 29, 2001 at 03:00:56PM -0700, Dawson Engler wrote: > - > [BUG] ./drivers/usb/bluetooth.c: dereference of 'buf' at the beginning of > the switch, and then does a copyin. This is a real bug, thanks. The

[PATCH] 245-ac4

2001-05-30 Thread Carlos E Gorges
Hi all, This patch remove some NULL parameters tests in kfree-like functions and add this directly in function. - dev_kfree_skb_irq == dev_kfree_skb == kfree_skb - kfree already handle null parameters : void kfree (const void *objp) { kmem_cache_t *c; unsigned long flags; >>

Athlon fast_copy_page revisited

2001-05-30 Thread Jimmie Mayfield
Hi. A few weeks ago there was a discussion centering on the Athlon-optimized fast_copy_page routine and how the prefetch might be causing problems on Via motherboards. Unfortunately Alan's proposed fixes (to not prefetch the final 320 bytes) don't seem to help...at least on my iWill KT-133A

Re: POSIX/1003.b/whatever docs free?

2001-05-30 Thread dean gaudet
if you go to opengroup.org you can read the single-unix standard for free... you need to register though. (it's not quite the same as POSIX...) -dean On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: > Is there somewhere I can download the collection of POSIX standards docs > free of charge? > >

Re: via-rhine DFE-530TX rev A1

2001-05-30 Thread Urban Widmark
On Wed, 30 May 2001, Rose, Daniel wrote: > It seems as though my card will not reset anymore after running windows 98, > even after a cold boot, and recompiling the kernel. Below is the output of > dmesg, lspci -n and ifconfig. Does anyone have any ideas? (please cc > replies) Have you tried

Re: pte_page

2001-05-30 Thread Ingo Molnar
On Wed, 30 May 2001, Pete Wyckoff wrote: > > __pa(page_address(pte_page(pte))) is the address you want. [or > > pte_val(*pte) & (PAGE_SIZE-1) on x86 but this is platform-dependent.] > > Does this work on x86 non-kmapped highmem user pages too? (i.e. is > page->virtual valid for every potential

Re: Zerocopy NBD

2001-05-30 Thread Marcelo Tosatti
On Wed, 30 May 2001, Steve Whitehouse wrote: > Hi, > > > > > On Wed, 30 May 2001, Steve Whitehouse wrote: > > > > [info about NBD patch deleted] > > > > > Cool. > > > > Are you seeing performance improvements with the patch ? > > > > Yes, but my testing is not in anyway complete yet.

Re: ln -s broken on 2.4.5

2001-05-30 Thread Rasmus B. Hansen
On Wed, 30 May 2001, Edsel Adap wrote: > I downloaded the linux 2.4.5 sources and built and installed them on my > system. Since then, I've noticed strange file system behavior: > marvin:/tmp> ln -s foo bar > lrwxrwxrwx1 adap users 3 May 30 12:09 bar -> bar > Notice that

Re: Zerocopy NBD

2001-05-30 Thread Steve Whitehouse
Hi, > > On Wed, 30 May 2001, Steve Whitehouse wrote: > > [info about NBD patch deleted] > > > Cool. > > Are you seeing performance improvements with the patch ? > Yes, but my testing is not in anyway complete yet. The only network device I have which is supported by zerocopy is loopback

Re: pte_page

2001-05-30 Thread Pete Wyckoff
[EMAIL PROTECTED] said: > On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: > > I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page' > > inside a module to get the physical address of a user space virtual > > address. The physical address returned by 'pte_page' is not page > > aligned

Re: empeg-car serial-over-USB driver

2001-05-30 Thread Greg KH
On Tue, May 29, 2001 at 11:16:08PM +0100, Philip Blundell wrote: > Has anybody used this successfully in a recent kernel? With 2.4.5 it seems to > detect the device successfully: Are you _sure_ you are using usb-uhci and not uhci? :) Any oops message available from a serial console? >

  1   2   3   4   >