[OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Mike A. Harris
On Tue, 24 Apr 2001 [EMAIL PROTECTED] wrote: >a friend of my asked me on how to make linux easier to use >for personal/casual win user. > >i found out that one of the big problem with linux and most >other operating system is the multi-user thing. > >i think, no personal computer user should

Re: [PATCH] Single user linux

2001-04-24 Thread Mohammad A. Haque
[EMAIL PROTECTED] wrote: > > hi, > > a friend of my asked me on how to make linux easier to use > for personal/casual win user. > > i found out that one of the big problem with linux and most > other operating system is the multi-user thing. > > i think, no personal computer user should know

patch-proposal: extended adjtime()

2001-04-24 Thread Ulrich Windl
Hello, someone found out that in Linux adjtime()'s correction is limited to something like 2000s (signed 32bit microseconds for i386). This is not a true problem, but for those who desperately need/want it, I have a patch proposal (incomplete, but essential) to implement the full range

Re: [PATCH] Single user linux

2001-04-24 Thread imel96
On Tue, 24 Apr 2001, Alexander Viro wrote: > What, makes it hard to write viruses for it? Awww, poor skr1pt k1dd13z... > > > And would that "use" by any chance include access to network? > > > So let him log in as root, do everything as root and be cracked > like a bloody moron he is. Next? >

Re: Can't compile 2.4.3 with agcc

2001-04-24 Thread David Woodhouse
[EMAIL PROTECTED] said: > grep '__BUG__' System.map | cut -d\ -f3 Nice try, but nothing prevents even a correct compiler from including it in System.map even though it wouldn't have been called. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH] drivers/ide/ide.c to work with more IDE controllers

2001-04-24 Thread Bjorn Wesen
Hi! Problem description: * drivers/ide/ide.c assumes the IDE controller is mapped in such a way that it can access it by "hardcoded" I/O commands (IN_BYTE/OUT_BYTE) * drivers/ide/ide.c assumes that polled ide/atapi transfers should be done the way a PC would *

Re: rwsem benchmark [was Re: [PATCH] rw_semaphores, optimisations try #3]

2001-04-24 Thread Andrea Arcangeli
There is a bug in both the C version and asm version of my rwsem and it is the slow path where I forgotten to drop the _irq part from the spinlock calls ;) Silly bug. (I inherit it also in the asm fast path version because I started hacking the same C slow path) I catched it now because it locks

Re: [PATCH] Move __GFP_IO check in shrink_icache_memory to prune_icache()

2001-04-24 Thread Alan Cox
> > The following patch moves the __GFP_IO check down to prune_icache(), > > allowing !__GFP_IO allocations to free clean unused inodes. > > Forget about this. > > We may have to write quota information back to disk while freeing the > inode and then we are fucked. Also you are looking at

Re: Request for comment -- a better attribution system

2001-04-24 Thread esr
Roger Gammans <[EMAIL PROTECTED]>: > It's entirley possible the problem will solve itself > when/if people like myself who hang around the edge of > kernel dev , find their favourite piece of kernel has > no maintainer - and volunteer. > > So Eric solution may get new maintainers to appear

Re: [PATCH] Single user linux

2001-04-24 Thread Alexander Viro
On Tue, 24 Apr 2001 [EMAIL PROTECTED] wrote: > a friend of my asked me on how to make linux easier to use > for personal/casual win user. > > i found out that one of the big problem with linux and most > other operating system is the multi-user thing. What, makes it hard to write viruses for

Re: AHA-154X/1535 not recognized any more [Repost]

2001-04-24 Thread Markus Schaber
As it seems my original Messages didn't get through, a Repost here: Original Message Subject: Re: AHA-154X/1535 not recognized any more Date: Fri, 20 Apr 2001 14:07:51 +0200 (MEST) From: Markus Schaber <[EMAIL PROTECTED]> To: Alan Cox <[EMAIL PROTECTED]> CC: Markus Schaber

Re: AHA-154X/1535 not recognized any more [Repost]

2001-04-24 Thread Markus Schaber
As my original message seems to have disappeared, here a Repost: Original Message Subject: Re: AHA-154X/1535 not recognized any more Date: Fri, 20 Apr 2001 14:28:14 +0200 (MEST) From: Markus Schaber <[EMAIL PROTECTED]> To: "Rafael E. Herrera" <[EMAIL PROTECTED]> CC: Markus

Re: Request for comment -- a better attribution system

2001-04-24 Thread Roger Gammans
On Sun, Apr 22, 2001 at 01:49:16PM -0300, Rik van Riel wrote: > On Sun, 22 Apr 2001, Eric S. Raymond wrote: > > David Woodhouse <[EMAIL PROTECTED]>: > > > Then you're going to conjure up maintainers for the code which is currently > > > orphaned? > > > > That's a *really* hard problem. I don't

Re: compile error 2.4.4pre6: inconsistent operand constraints in an

2001-04-24 Thread axel
How about correcting the needed gcc version in Documentation/Changes? On Mon, 23 Apr 2001, Alan Cox wrote: > > after having had trouble with compilation due to old gcc version, i have > > updated to gcc 3.0 and received the following error: > > 2.4.4pre6 only builds with gcc 2.96. If you apply

RE: Event and Semaphore

2001-04-24 Thread Rajeev Nigam
How can i implement "Event and Semaphore" at kernel leverl(in any driver) in Linux like KeInitializeEvent KeResetEvent KeInitializeSemaphore KeReleaseSemaphore KeWaitForSingleObject given in NT. I wud appriciate if there is any suggestion or guidence. Thanx & Regards Rajeev Nigam - To

Re: Device Registry (DevReg) Patch 0.2.0

2001-04-24 Thread Tim Jansen
On Tuesday 24 April 2001 11:40, Martin Dalecki wrote: > Tim Jansen wrote: > > The Linux Device Registry (devreg) is a kernel patch that adds a device > > database in XML format to the /proc filesystem. It collects all > OH SHIT!! ^^^ > Why don't you just add postscript output to /proc? XML

[PATCH] Single user linux

2001-04-24 Thread imel96
hi, a friend of my asked me on how to make linux easier to use for personal/casual win user. i found out that one of the big problem with linux and most other operating system is the multi-user thing. i think, no personal computer user should know about what's an operating system idea of a

Re: Announce: cryptoapi-2.4.3 [aka international crypto (non-)patch]

2001-04-24 Thread Jari Ruusu
Herbert Valerio Riedel wrote: > short version: >this is the international crypto patch, which is built outside of >the kernel source tree. you don't even have to reboot (unless your >kernel didn't have loop devices enabled, or some other unthought >situation exists... :) > > As a

Re: odd messages in dmesg (network I think)

2001-04-24 Thread Matt Johnston
I've noticed the same for 2.4.x kernels for quite a while back The first appearence in logs/kernel is for 2.4.2-ac17. Afaik I haven't noticed any resultant problems so I presume its just some over-informative debugging code?? Cheers, Matt Johnston. On Tue, 24 Apr 2001 07:32, Byron Albert

Re: Matrox FB console driver

2001-04-24 Thread Andy Carlson
time prime before x real1m23.535s user0m40.550s sys 0m42.980s /proc/mtrr before x reg00: base=0x ( 0MB), size= 256MB: write-back, count=1 reg01: base=0xfd80 (4056MB), size= 4MB: write-combining, count=1 time prime after x real0m48.732s user0m41.070s sys

Re: [Semi-OT] Dual Athlon support in kernel

2001-04-24 Thread Andreas Jaeger
Joseph Carter <[EMAIL PROTECTED]> writes: > On Tue, Apr 24, 2001 at 01:18:57PM +0300, Ville Herva wrote: > > There's also AthlonLinux http://athlonlinux.org/ and AthlonGCC > > http://athlonlinux.org/agcc/about.shtml, but I have no experience with those > > (I have no Athlon ;( ). > > A warning

Re[2]: Problem with i810_audio driver

2001-04-24 Thread Eugene Kuznetsov
Hello Doug, Monday, April 23, 2001, 9:54:35 PM, you wrote: DL> Both B and C are cases of the whole chip acting flat busted. I would suspect DL> that possibly Win2k drivers set this thing up some way that we don't recover DL> from. Is there any pattern like maybe "I listen to X in Win2k then

Re: serial driver not properly detecting modem

2001-04-24 Thread Jeff Garzik
Steven Walter wrote: > > It would seem that I have a modem (hardware based, not winmodem) of > PCI_CLASS_COMMUNICATION_OTHER. This, unfortunately, prevents it from > being automagically detected by the serial driver, which only looks for > devices of > > I've fixed this here merely by adding

Re: [Fully-OT] Dual Athlon support in kernel

2001-04-24 Thread Ville Herva
On Tue, Apr 24, 2001 at 03:39:22AM -0700, you [Joseph Carter] claimed: > > A warning about agcc, I've discovered that it does not always compile code > quite the way you expect it. This is unsurprising given it's based on > pgcc which is known to change alignments on you in ways that sometimes

Re: hundreds of mount --bind mountpoints?

2001-04-24 Thread Alexander Viro
On 24 Apr 2001, Christoph Rohland wrote: > Hi Al, > > On Tue, 24 Apr 2001, Alexander Viro wrote: > >> Half an hour? If it takes more than about 5 minutes for JFFS2 I'd > >> be very surprised. > > > > What's stopping you? > > You _are_ JFFS maintainer, aren't you? > > So is this the start

Re: rwsem benchmark [was Re: [PATCH] rw_semaphores, optimisations try #3]

2001-04-24 Thread Andrea Arcangeli
On Tue, Apr 24, 2001 at 11:33:13AM +0100, David Howells wrote: > *grin* Fun ain't it... Try it on a dual athlon or P4 and the answer may come > out differently. compile with -mathlon and the compiler then should generate (%%eax) if that's faster even if the sem is a constant, that's a compiler

Re: rwsem benchmark [was Re: [PATCH] rw_semaphores, optimisations try #3]

2001-04-24 Thread Andrea Arcangeli
On Tue, Apr 24, 2001 at 11:25:23AM +0100, David Howells wrote: > > I'd love to hear this sequence. Certainly regression testing never generated > > this sequence yet but yes that doesn't mean anything. Note that your slow > > path is very different than mine. > > One of my testcases fell over on

Re: high-res-timers start code.

2001-04-24 Thread Gabriel Paubert
On Mon, 23 Apr 2001, george anzinger wrote: > "Robert H. de Vries" wrote: > > > > On Monday 23 April 2001 19:45, you wrote: > > > > > By the way, is the user land stuff the same for all "arch"s? > > > > Not if you plan to handle the CPU cycle counter in user space. That is at > > least what

Re: [Semi-OT] Dual Athlon support in kernel

2001-04-24 Thread Joseph Carter
On Tue, Apr 24, 2001 at 01:18:57PM +0300, Ville Herva wrote: > There's also AthlonLinux http://athlonlinux.org/ and AthlonGCC > http://athlonlinux.org/agcc/about.shtml, but I have no experience with those > (I have no Athlon ;( ). A warning about agcc, I've discovered that it does not always

Re: hundreds of mount --bind mountpoints?

2001-04-24 Thread Christoph Rohland
Hi Al, On Tue, 24 Apr 2001, Alexander Viro wrote: >> Half an hour? If it takes more than about 5 minutes for JFFS2 I'd >> be very surprised. > > What's stopping you? > You _are_ JFFS maintainer, aren't you? So is this the start to change all filesystems in 2.4? I am not sure we should do

Re[2]: Problem with i810_audio driver

2001-04-24 Thread Eugene Kuznetsov
Hello Doug, Monday, April 23, 2001, 9:54:35 PM, you wrote: DL> Eugene Kuznetsov wrote: >> >> Hello, >> >> I am a happy owner of Intel D815EEA2 mother board. This board >> comes with integrated AC-97 audio. When I try to load i810_audio >> driver for it, driver identifies the device as

Re: rwsem benchmark [was Re: [PATCH] rw_semaphores, optimisations try #3]

2001-04-24 Thread David Howells
> I see what you meant here and no, I'm not lucky, I thought about that. gcc x > 2.95.* seems smart enough to produce (%%eax) that you hardcoded when the > sem is not a constant (I'm not clobbering another register, if it does it's > stupid and I consider this a compiler mistake). It is a

Re: rwsem benchmark [was Re: [PATCH] rw_semaphores, optimisations try #3]

2001-04-24 Thread David Howells
> I'd love to hear this sequence. Certainly regression testing never generated > this sequence yet but yes that doesn't mean anything. Note that your slow > path is very different than mine. One of my testcases fell over on it... > I don't feel the need of any xchg to enforce additional

Re: init_rwsem redefinition warning in usbdevice_fs.h

2001-04-24 Thread Thomas Sailer
Alex Riesen wrote: > Should it be fixed? And, maybe the other define's around > should be fixed too? The comment line above actually says it all. The defines have been added because at the time of writing this file rw semaphores did not work in a module, so they were replaced with mutexes using

Re: [Semi-OT] Dual Athlon support in kernel

2001-04-24 Thread Ville Herva
On Tue, Apr 24, 2001 at 03:33:00AM -0400, you [Tom Leete] claimed: > > The build problen with Athlon+SMP was solved by AA's patch. I had tested a > similar patch on UP over 2.4.0-test and previous 2.4 releases with nary a > problem. > > This may be too experimental for your purposes, but FWIW

Re: hundreds of mount --bind mountpoints?

2001-04-24 Thread David Woodhouse
[EMAIL PROTECTED] said: > What's stopping you? You _are_ JFFS maintainer, > aren't you? It already uses... #define JFFS2_INODE_INFO(i) (>u.jffs2_i) It's trivial to switch over when the size of the inode union goes below the size of struct jffs2_inode_info. Until then, I'd just be wasting

Re: rwsem benchmark [was Re: [PATCH] rw_semaphores, optimisations try #3]

2001-04-24 Thread Andrea Arcangeli
On Tue, Apr 24, 2001 at 09:56:11AM +0100, David Howells wrote: > | +: "+m" (sem->count), "+a" (sem) ^^ I think you were comenting on the +m not +a ok > > >From what I've been

Re: hundreds of mount --bind mountpoints?

2001-04-24 Thread Alexander Viro
On Tue, 24 Apr 2001, David Woodhouse wrote: > > [EMAIL PROTECTED] said: > > Oh, for crying out loud. All it takes is half an hour per filesystem. > > Half an hour? If it takes more than about 5 minutes for JFFS2 I'd be very > surprised. What's stopping you? You _are_ JFFS maintainer,

Re: hundreds of mount --bind mountpoints?

2001-04-24 Thread Alexander Viro
On Mon, 23 Apr 2001, Andreas Dilger wrote: > Al posted a patch to the NFS code which removes nfs_inode_info from the > inode union. Since it is (AFAIK) the largest member of the union, we > have just saved 24 bytes per inode (hfs_inode_info is also rather large). > If we removed

Re: [PATCH] rw_semaphores, optimisations try #3

2001-04-24 Thread David Howells
Linus Torvalds <[EMAIL PROTECTED]> wrote: > Note that the generic list structure already has support for "batching". > It only does it for multiple adds right now (see the "list_splice" > merging code), but there is nothing to stop people from doing it for > multiple deletions too. The code is

Re: hundreds of mount --bind mountpoints?

2001-04-24 Thread David Woodhouse
[EMAIL PROTECTED] said: > Oh, for crying out loud. All it takes is half an hour per filesystem. Half an hour? If it takes more than about 5 minutes for JFFS2 I'd be very surprised. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: Device Registry (DevReg) Patch 0.2.0

2001-04-24 Thread Martin Dalecki
Tim Jansen wrote: > > The Linux Device Registry (devreg) is a kernel patch that adds a device > database in XML format to the /proc filesystem. It collects all information OH SHIT!! ^^^ Why don't you just add postscript output to /proc? > about the system's physical devices, creates

[ANNOUNCE] Gujin-0.3 boot/Linux system loader

2001-04-24 Thread Etienne Lorrain
Just if you are interrested in Linux startup, you may have a look at gujin/vmlinuz.[ch]: Howto (with changelog at end): http://sourceforge.net/docman/display_doc.php?docid=1989_id=15465 Download: http://sourceforge.net/project/showfiles.php?group_id=15465_id=18235 Discussion Forum:

Re: read perf improved by mounting ext2?

2001-04-24 Thread Jens Axboe
On Tue, Apr 24 2001, Kurt Garloff wrote: > > You wouldn't happen to have 4kB ext2 filesystems on those? > > Sure I do. > > > When ext2 mounts, it sets the soft blocksize to that then, I would expect > > this to give at least some benefit over using 1kB blocks (as your IDE > > partition

Re: read perf improved by mounting ext2?

2001-04-24 Thread Kurt Garloff
On Tue, Apr 24, 2001 at 10:58:58AM +0200, Jens Axboe wrote: > On Tue, Apr 24 2001, Kurt Garloff wrote: > > There are enough partitions to see a clear pattern: Those with mounted ext2 > > filesystems perform better. Umounting them does not harm, they just need to > > have been mounted once. reiser

Re: Delay Function

2001-04-24 Thread alad
It may be possible that this is not the good choice... but u can try ... schedule_timeout(timeout) function see kernel/sched.c for more details about this function Amol Rajeev Nigam <[EMAIL PROTECTED]> on 04/24/2001 03:29:04 PM To: [EMAIL PROTECTED] cc:(bcc: Amol Lad/HSS)

Re: BUG: Global FPU corruption in 2.2

2001-04-24 Thread alad
Hi, I want to look into this problem. Its seems to be very interesting. But I was not following the thread from the beginning (and I mistakely deleted all these mails :( .. ).. I hope you won't mind answering following questions... 1) you are doing this on an MP or a uniprocessor ? 2)

Re: Delay Function

2001-04-24 Thread alad
Rajeev Nigam <[EMAIL PROTECTED]> on 04/24/2001 03:29:04 PM To: [EMAIL PROTECTED] cc:(bcc: Amol Lad/HSS) Subject: Delay Function What function i have to use to put a delay in a driver at kernel mode between reading from and writing to com port. Looking forward for ur help.

Re: rwsem benchmark [was Re: [PATCH] rw_semaphores, optimisations try #3]

2001-04-24 Thread David Howells
> Ok I finished now my asm optimized rwsemaphores and I improved a little my > spinlock based one but without touching the icache usage. And I can break it. There's a very good reason the I changed __up_write() to use CMPXCHG instead of SUBL. I found a sequence of operations that locked up on

Re: read perf improved by mounting ext2?

2001-04-24 Thread Jens Axboe
On Tue, Apr 24 2001, Kurt Garloff wrote: > I get it. But not over the whole disk. > Doing a read speed measurement on /dev/hda, I constantly get ~16 MB/s. > Not bad, but less than I'd expect. Measuring single partitions, some show > the same, some show significantly more, 26MB/s--18MB/s,

Re: Can't compile 2.4.3 with agcc

2001-04-24 Thread Russell King
On Mon, Apr 23, 2001 at 11:54:10PM +0100, David Woodhouse wrote: > On Tue, 24 Apr 2001, Andrzej Krzysztofowicz wrote: > > - extern void __buggy_fxsr_alignment(void); > > - __buggy_fxsr_alignment(); > > + extern void

Delay Function

2001-04-24 Thread Rajeev Nigam
What function i have to use to put a delay in a driver at kernel mode between reading from and writing to com port. Looking forward for ur help. Thanx & Regards Rajeev Nigam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [kbuild-devel] Request for comment -- a better attribution system

2001-04-24 Thread Markus Schaber
Hi, mirabilos wrote: > > > It whould nice also if we include the type of the license (GPL,...). > > > This for a fast parsing (and maybe also to replace the few lines > > > of license) > > Is there any kernel code that isn't GPLed? > It must not, due to the GPL viral effect. Well, would it be

init_rwsem redefinition warning in usbdevice_fs.h

2001-04-24 Thread Alex Riesen
Hi, again i do not know whether it may be important, but the warning makes me anyway curios. In 2.4.3-ac13 the compiler says that init_rwsem in the usbdevice_fs.h is redefined. It was previously defined in a .ver-file. /* * sigh. rwsemaphores do not (yet) work from modules */ #define

Re: [help] TCP rate control and Linux TCP/IP Stack?

2001-04-24 Thread Matti Aarnio
On Tue, Apr 24, 2001 at 10:11:15AM +0200, Paolo Castagna wrote: > Hi, > I'm an Italian student and I'm doing a Master Thesis on TCP rate > control. You have already posted this very same message to [EMAIL PROTECTED] and: [EMAIL PROTECTED] lists. If you don't get reply

Re: [PATCH] pedantic code cleanup - am I wasting my time with this?

2001-04-24 Thread Stephen Satchell
At 05:58 PM 4/23/01 +0200, you wrote: >>On Mon, Apr 23, 2001 at 05:26:27PM +0200, Jesper Juhl wrote: >>>last entry should not have a trailing comma. >>Sadly not. This isn't a gcc thing: ANSI says that trailing comma is ok (K >>Second edition, A8.7 - pg 218 &219 in my copy) > >You are right, I

[help] TCP rate control and Linux TCP/IP Stack?

2001-04-24 Thread Paolo Castagna
Hi, I'm an Italian student and I'm doing a Master Thesis on TCP rate control. TCP rate control is a new technique for transparently augmenting end-to-end TCP performance by controlling the sending rate of a TCP source. The sending rate of a TCP source is determined by its window size, the

Re: BUG: Global FPU corruption in 2.2

2001-04-24 Thread alad
Hi, I want to look into this problem. Its seems to be very interesting. But I was not following the thread from the beginning (and I mistakely deleted all these mails :( .. ).. I hope you won't mind answering following questions... 1) you are doing this on an MP or a uniprocessor ? 2) I

Re: Has the iptables security patch been vetted?

2001-04-24 Thread Rusty Russell
In message <[EMAIL PROTECTED]> you write: > I'm sure you've run across this one: > > http://netfilter.samba.org/security-fix/ > > I'd like to know how official this patch is, ie how > well checked out? Hi Dale, The preferred patch is available, and has been tested (several new

Re: [PATCH] pedantic code cleanup - am I wasting my time with this?

2001-04-24 Thread Rusty Russell
In message <[EMAIL PROTECTED]> you write: > return (waitall ? len : min(sk->rcvlowat, len)) ? : 1; > > To be strictly correct the second expression (between '?' and ':' ) > should not be omitted (all you guys already know that ofcourse). It's a GCC extension. From

Re: [Semi-OT] Dual Athlon support in kernel

2001-04-24 Thread Tom Leete
"Mike A. Harris" wrote: > > Would the current state of athlon support be considered stable? > I've got a colleague interested in getting a dual athlon box, and > I'll be making the decision as to what hardware to purchase. I'm > wondering is dual Athlon viable for a business solution right >

FA311 fails on set_power_state()

2001-04-24 Thread Paul Komarek
Hello, SUMMARY: Netgear FA311TX with natsemi.o driver fails when set_power_state(0x100, APM_STATE_READY) is called. DESCRIPTION: I have been trying to figure out why my Netgear FA311TX would stop seeing packets on the lan when an X server quit. I have traced the problem through the VT code

Re: [PATCH] Longstanding elf fix (2.4.3 fix)

2001-04-24 Thread Eric W. Biederman
"Manfred Spraul" <[EMAIL PROTECTED]> writes: > > Well looking a little more closely than I did last night it looks like > > access_process_vm (called from ptrace) can cause what amounts to a > > page fault at pretty arbitrary times. > > It's also used for several /proc/ files. > > I remember

Re: rmmod take all CPU and I can't stop it under 2.4.3-ac{9,11}

2001-04-24 Thread Keith Owens
On Sun, 22 Apr 2001 10:42:06 +0200, FAVRE Gregoire <[EMAIL PROTECTED]> wrote: >I am using DVB and sometimes I have to reload the driver, some times, I >can just do it without problem, but often, it result in a (from top): > 1359 root 19 0 532 532 360 R77.7 0.2 8:32 rmmod It

RAWIO-5 and O_DIRECT-3 updates

2001-04-24 Thread Andrea Arcangeli
I fixed a new bug pointed out by Andrew and discussed on the kiobuf lis= t (thanks Andrew!) (lock_kiovec was not handling correctly a failed trylo= ckpage and could unlock pages locked by other people, not a big deal though as= such function is never called in the whole pre6 and I'm wondering if

Re: hundreds of mount --bind mountpoints?

2001-04-24 Thread Christoph Rohland
Hi Alexander, On Mon, 23 Apr 2001, Alexander Viro wrote: >> I like it. ext2fs does the same, so there should be no VFS >> hassles involved. Al? > > We should get ext2 and friends to move the sucker _out_ of struct > inode. As it is, sizeof(struct inode) is way too large. This is 2.5 > stuff,

[patch] swap-speedup-2.4.3-B3

2001-04-24 Thread Ingo Molnar
the latest swap-speedup patch can be found at: http://people.redhat.com/mingo/swap-speedup/swap-speedup-2.4.3-B3 (the patch is against 2.4.4-pre6 or 2.4.3-ac13.) -B3 includes Marcelo's patch for another area that blocks unnecesserily on locked swapcache pages: async swapcache readahead.

disable_irq don't work corectly (ps2/kbd related)

2001-04-24 Thread Catalin BOIE
Hi, guys! I made a module that in init_module issue a "disable_irq (1)" and in remove_module "enable_irq (1)". Of course that I connect from the network to remove the module :)) This module don't works as expected. It disables the keyboard and the PS/2 mouse (irq 12)! Not from the beggining.

Re: [Semi-OT] Dual Athlon support in kernel

2001-04-24 Thread Miles Lane
Andrea Arcangeli wrote: > > On Tue, Apr 24, 2001 at 08:03:18AM +0200, Antwerpen, Oliver wrote: > > I am also highly interested in information about dual Athlon (which > > kernel/compiler/tools to use?), as we will get a dual Athlon sample before > > kernel >= 2.4.3 (better >= 2.4.4pre2 for

RE: [Semi-OT] Dual Athlon support in kernel

2001-04-24 Thread Antwerpen, Oliver
Moin Andrea, > From: Andrea Arcangeli [mailto:[EMAIL PROTECTED]] > > On Tue, Apr 24, 2001 at 08:03:18AM +0200, Antwerpen, Oliver wrote: > > I am also highly interested in information about dual Athlon (which > > kernel/compiler/tools to use?), as we will get a dual > Athlon sample before > >

Re: [PATCH] Single user linux

2001-04-24 Thread Disconnect
On Tue, 24 Apr 2001, Aaron Lehmann did have cause to say: On Wed, Apr 25, 2001 at 10:07:48AM +1000, Daniel Stone wrote: What real value does it have, apart from the geek look at me, I'm using bash value? I don't really want to get into it at the moment, but imagine hacking netfilter

RE: [Semi-OT] Dual Athlon support in kernel

2001-04-24 Thread Antwerpen, Oliver
Moin Andrea, From: Andrea Arcangeli [mailto:[EMAIL PROTECTED]] On Tue, Apr 24, 2001 at 08:03:18AM +0200, Antwerpen, Oliver wrote: I am also highly interested in information about dual Athlon (which kernel/compiler/tools to use?), as we will get a dual Athlon sample before kernel =

Re: [Semi-OT] Dual Athlon support in kernel

2001-04-24 Thread Miles Lane
Andrea Arcangeli wrote: On Tue, Apr 24, 2001 at 08:03:18AM +0200, Antwerpen, Oliver wrote: I am also highly interested in information about dual Athlon (which kernel/compiler/tools to use?), as we will get a dual Athlon sample before kernel = 2.4.3 (better = 2.4.4pre2 for other rasons)

disable_irq don't work corectly (ps2/kbd related)

2001-04-24 Thread Catalin BOIE
Hi, guys! I made a module that in init_module issue a disable_irq (1) and in remove_module enable_irq (1). Of course that I connect from the network to remove the module :)) This module don't works as expected. It disables the keyboard and the PS/2 mouse (irq 12)! Not from the beggining. After

[patch] swap-speedup-2.4.3-B3

2001-04-24 Thread Ingo Molnar
the latest swap-speedup patch can be found at: http://people.redhat.com/mingo/swap-speedup/swap-speedup-2.4.3-B3 (the patch is against 2.4.4-pre6 or 2.4.3-ac13.) -B3 includes Marcelo's patch for another area that blocks unnecesserily on locked swapcache pages: async swapcache readahead.

RAWIO-5 and O_DIRECT-3 updates

2001-04-24 Thread Andrea Arcangeli
I fixed a new bug pointed out by Andrew and discussed on the kiobuf lis= t (thanks Andrew!) (lock_kiovec was not handling correctly a failed trylo= ckpage and could unlock pages locked by other people, not a big deal though as= such function is never called in the whole pre6 and I'm wondering if

Re: hundreds of mount --bind mountpoints?

2001-04-24 Thread Christoph Rohland
Hi Alexander, On Mon, 23 Apr 2001, Alexander Viro wrote: I like it. ext2fs does the same, so there should be no VFS hassles involved. Al? We should get ext2 and friends to move the sucker _out_ of struct inode. As it is, sizeof(struct inode) is way too large. This is 2.5 stuff, but it

Re: rmmod take all CPU and I can't stop it under 2.4.3-ac{9,11}

2001-04-24 Thread Keith Owens
On Sun, 22 Apr 2001 10:42:06 +0200, FAVRE Gregoire [EMAIL PROTECTED] wrote: I am using DVB and sometimes I have to reload the driver, some times, I can just do it without problem, but often, it result in a (from top): 1359 root 19 0 532 532 360 R77.7 0.2 8:32 rmmod It is not

Re: [PATCH] Longstanding elf fix (2.4.3 fix)

2001-04-24 Thread Eric W. Biederman
Manfred Spraul [EMAIL PROTECTED] writes: Well looking a little more closely than I did last night it looks like access_process_vm (called from ptrace) can cause what amounts to a page fault at pretty arbitrary times. It's also used for several /proc/pid files. I remember that I got

Re: [Semi-OT] Dual Athlon support in kernel

2001-04-24 Thread Tom Leete
Mike A. Harris wrote: Would the current state of athlon support be considered stable? I've got a colleague interested in getting a dual athlon box, and I'll be making the decision as to what hardware to purchase. I'm wondering is dual Athlon viable for a business solution right now, or is

FA311 fails on set_power_state()

2001-04-24 Thread Paul Komarek
Hello, SUMMARY: Netgear FA311TX with natsemi.o driver fails when set_power_state(0x100, APM_STATE_READY) is called. DESCRIPTION: I have been trying to figure out why my Netgear FA311TX would stop seeing packets on the lan when an X server quit. I have traced the problem through the VT code

Re: [PATCH] pedantic code cleanup - am I wasting my time with this?

2001-04-24 Thread Rusty Russell
In message [EMAIL PROTECTED] you write: return (waitall ? len : min(sk-rcvlowat, len)) ? : 1; To be strictly correct the second expression (between '?' and ':' ) should not be omitted (all you guys already know that ofcourse). It's a GCC extension. From

Re: Has the iptables security patch been vetted?

2001-04-24 Thread Rusty Russell
In message [EMAIL PROTECTED] you write: I'm sure you've run across this one: http://netfilter.samba.org/security-fix/ I'd like to know how official this patch is, ie how well checked out? Hi Dale, The preferred patch is available, and has been tested (several new testsuite

Re: BUG: Global FPU corruption in 2.2

2001-04-24 Thread alad
Hi, I want to look into this problem. Its seems to be very interesting. But I was not following the thread from the beginning (and I mistakely deleted all these mails :( .. ).. I hope you won't mind answering following questions... 1) you are doing this on an MP or a uniprocessor ? 2) I

[help] TCP rate control and Linux TCP/IP Stack?

2001-04-24 Thread Paolo Castagna
Hi, I'm an Italian student and I'm doing a Master Thesis on TCP rate control. TCP rate control is a new technique for transparently augmenting end-to-end TCP performance by controlling the sending rate of a TCP source. The sending rate of a TCP source is determined by its window size, the

Re: [PATCH] pedantic code cleanup - am I wasting my time with this?

2001-04-24 Thread Stephen Satchell
At 05:58 PM 4/23/01 +0200, you wrote: On Mon, Apr 23, 2001 at 05:26:27PM +0200, Jesper Juhl wrote: last entry should not have a trailing comma. Sadly not. This isn't a gcc thing: ANSI says that trailing comma is ok (KR Second edition, A8.7 - pg 218 219 in my copy) You are right, I just

Re: [help] TCP rate control and Linux TCP/IP Stack?

2001-04-24 Thread Matti Aarnio
On Tue, Apr 24, 2001 at 10:11:15AM +0200, Paolo Castagna wrote: Hi, I'm an Italian student and I'm doing a Master Thesis on TCP rate control. You have already posted this very same message to [EMAIL PROTECTED] and: [EMAIL PROTECTED] lists. If you don't get reply

init_rwsem redefinition warning in usbdevice_fs.h

2001-04-24 Thread Alex Riesen
Hi, again i do not know whether it may be important, but the warning makes me anyway curios. In 2.4.3-ac13 the compiler says that init_rwsem in the usbdevice_fs.h is redefined. It was previously defined in a .ver-file. /* * sigh. rwsemaphores do not (yet) work from modules */ #define

Re: Can't compile 2.4.3 with agcc

2001-04-24 Thread Russell King
On Mon, Apr 23, 2001 at 11:54:10PM +0100, David Woodhouse wrote: On Tue, 24 Apr 2001, Andrzej Krzysztofowicz wrote: - extern void __buggy_fxsr_alignment(void); - __buggy_fxsr_alignment(); + extern void

Delay Function

2001-04-24 Thread Rajeev Nigam
What function i have to use to put a delay in a driver at kernel mode between reading from and writing to com port. Looking forward for ur help. Thanx Regards Rajeev Nigam - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED]

Re: read perf improved by mounting ext2?

2001-04-24 Thread Jens Axboe
On Tue, Apr 24 2001, Kurt Garloff wrote: I get it. But not over the whole disk. Doing a read speed measurement on /dev/hda, I constantly get ~16 MB/s. Not bad, but less than I'd expect. Measuring single partitions, some show the same, some show significantly more, 26MB/s--18MB/s, depending on

Re: Delay Function

2001-04-24 Thread alad
Rajeev Nigam [EMAIL PROTECTED] on 04/24/2001 03:29:04 PM To: [EMAIL PROTECTED] cc:(bcc: Amol Lad/HSS) Subject: Delay Function What function i have to use to put a delay in a driver at kernel mode between reading from and writing to com port. Looking forward for ur help.

Re: read perf improved by mounting ext2?

2001-04-24 Thread Kurt Garloff
On Tue, Apr 24, 2001 at 10:58:58AM +0200, Jens Axboe wrote: On Tue, Apr 24 2001, Kurt Garloff wrote: There are enough partitions to see a clear pattern: Those with mounted ext2 filesystems perform better. Umounting them does not harm, they just need to have been mounted once. reiser or

Re: Delay Function

2001-04-24 Thread alad
It may be possible that this is not the good choice... but u can try ... schedule_timeout(timeout) function see kernel/sched.c for more details about this function Amol Rajeev Nigam [EMAIL PROTECTED] on 04/24/2001 03:29:04 PM To: [EMAIL PROTECTED] cc:(bcc: Amol Lad/HSS)

Re: BUG: Global FPU corruption in 2.2

2001-04-24 Thread alad
Hi, I want to look into this problem. Its seems to be very interesting. But I was not following the thread from the beginning (and I mistakely deleted all these mails :( .. ).. I hope you won't mind answering following questions... 1) you are doing this on an MP or a uniprocessor ? 2)

Re: read perf improved by mounting ext2?

2001-04-24 Thread Jens Axboe
On Tue, Apr 24 2001, Kurt Garloff wrote: You wouldn't happen to have 4kB ext2 filesystems on those? Sure I do. When ext2 mounts, it sets the soft blocksize to that then, I would expect this to give at least some benefit over using 1kB blocks (as your IDE partition otherwise would

Re: [kbuild-devel] Request for comment -- a better attribution system

2001-04-24 Thread Markus Schaber
Hi, mirabilos wrote: It whould nice also if we include the type of the license (GPL,...). This for a fast parsing (and maybe also to replace the few lines of license) Is there any kernel code that isn't GPLed? It must not, due to the GPL viral effect. Well, would it be possible to

Re: rwsem benchmark [was Re: [PATCH] rw_semaphores, optimisations try #3]

2001-04-24 Thread David Howells
Ok I finished now my asm optimized rwsemaphores and I improved a little my spinlock based one but without touching the icache usage. And I can break it. There's a very good reason the I changed __up_write() to use CMPXCHG instead of SUBL. I found a sequence of operations that locked up on

[ANNOUNCE] Gujin-0.3 boot/Linux system loader

2001-04-24 Thread Etienne Lorrain
Just if you are interrested in Linux startup, you may have a look at gujin/vmlinuz.[ch]: Howto (with changelog at end): http://sourceforge.net/docman/display_doc.php?docid=1989group_id=15465 Download: http://sourceforge.net/project/showfiles.php?group_id=15465release_id=18235 Discussion

Re: Device Registry (DevReg) Patch 0.2.0

2001-04-24 Thread Martin Dalecki
Tim Jansen wrote: The Linux Device Registry (devreg) is a kernel patch that adds a device database in XML format to the /proc filesystem. It collects all information OH SHIT!! ^^^ IRONY Why don't you just add postscript output to /proc? /IRONY about the system's physical devices,

<    1   2   3   4   5   >