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: [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 something

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 hfs_inode_info as

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. tone polite What's stopping you? /tone You _are_ JFFS

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 I'm

Re: hundreds of mount --bind mountpoints?

2001-04-24 Thread David Woodhouse
[EMAIL PROTECTED] said: tone polite What's stopping you? /tone You _are_ JFFS maintainer, aren't you? It already uses... #define JFFS2_INODE_INFO(i) (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

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 told, you're

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: 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[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 Intel 810 +

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 compiler

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. tone polite What's stopping you? /tone You _are_ JFFS maintainer, aren't you? So is this the start to change all filesystems in 2.4? I am not sure we

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: 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 archs? Not if you plan to handle the CPU cycle counter in user space. That is at least what I would propose.

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 it...

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: 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. tone polite What's stopping you? /tone You _are_ JFFS maintainer, aren't you? So is this the start

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: 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 an

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: [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 about agcc,

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: 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: 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

[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: 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 wasn't

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: 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 know how to

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 the

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 Schaber

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 [EMAIL

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 it?

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 for

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 the none

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

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 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 about

[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 know about

Re: Fwd: [PATCH] 2.4.3-ac12 fix renaming of CONFIG_SGI_PROM_CONSOLE

2001-04-24 Thread Ralf Baechle
On Sun, Apr 22, 2001 at 08:00:17AM -0600, Steven Cole wrote: I neglected to cc you for this small patch I sent just a few minutes ago. I have several megs more of patches for Linus / Alan pending and this would also be part of them. Just to avoid driving Linus Alan completly into insanity I

Re: hundreds of mount --bind mountpoints?

2001-04-24 Thread David Woodhouse
[EMAIL PROTECTED] said: What I would like to avoid is scenario like Maintainers of filesystems with large private inodes: Why would we separate them? We would only waste memory, since the other filesystems stay in -u and keep it large. Maintainers of the rest of filesystems: Since there's

Re: [PATCH] Single user linux

2001-04-24 Thread Daniel Stone
On Tue, Apr 24, 2001 at 07:44:17PM +0700, [EMAIL PROTECTED] wrote: 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

Re: [repost] Announce: Linux-OpenLVM mailing list

2001-04-24 Thread Heinz J. Mauelshagen
On Thu, Apr 19, 2001 at 08:48:19PM +0200, Jens Axboe wrote: On Thu, Apr 19 2001, AJ Lewis wrote: It is unfortunate that this could not have been resolved in a more mature manner. Saying I don't like the way somebody is doing something. I won't bother to talk to them about it, I'll just

Re: [PATCH] Single user linux

2001-04-24 Thread Alexander Viro
On Tue, 24 Apr 2001 [EMAIL PROTECTED] wrote: [snip long wankage] Equivalent of your patch can be achieved by making login(1) and friends let everyone in as root without asking password. End of story. If you don't understand even _that_ - you don't understand the bloody basics of the system

Re: [PATCH] Single user linux

2001-04-24 Thread Roland Seuhs
Am Dienstag, 24. April 2001 14:44 schrieb [EMAIL PROTECTED]: On Tue, 24 Apr 2001, Alexander Viro wrote: So let him log in as root, do everything as root and be cracked like a bloody moron he is. Next? come on, it's hard for me as it's hard for you. not everybody expect a computer to be

Re: [repost] Announce: Linux-OpenLVM mailing list

2001-04-24 Thread Heinz J. Mauelshagen
Sorry, sorry. The lists are open. Please tell us if mailman still bothers. On Thu, Apr 19, 2001 at 03:46:53PM -0400, Martin K. Petersen wrote: Jens == Jens Axboe [EMAIL PROTECTED] writes: Jens First one gets a mail saying that the mail sent is queued for Jens moderator approval, since

Re: [PATCH] Single user linux

2001-04-24 Thread Alexander Viro
On Tue, 24 Apr 2001, Mohammad A. Haque wrote: [EMAIL PROTECTED] wrote: [snip] Sounds to me like you really don't get the whole concept of permissions and that it's how Unix works. Besides, why should the kernel do anythign different for you when there are userland tools that you can

Re: BUG: Global FPU corruption in 2.2

2001-04-24 Thread Victor Zandy
Someone else here traced the process flags of a FP-intensive program on a machine before and after it is put in the faulty FPU state. He periodically sampled /proc/pid/stat while the program was running. He found that PF_USEDFPU was always set before the machine was broken. After he found that

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

2001-04-24 Thread Andrea Arcangeli
On Tue, Apr 24, 2001 at 02:19:28PM +0200, Andrea Arcangeli wrote: I'm starting the benchmarks of the C version and I will post a number update and a new patch in a few minutes. (sorry for the below wrap around, just grow your terminal to read it stright) aa RW

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

2001-04-24 Thread David Howells
so you reproduced a deadlock with my patch applied, or you are saying you discovered that case with one of you testcases? It was my implementation that triggered it (I haven't tried it with yours), but the bug occurred because the SUBL happened to make the change outside of the spinlocked

Re: Request for comment -- a better attribution system

2001-04-24 Thread Horst von Brand
Roger Gammans [EMAIL PROTECTED] said: [...] 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. What stops you right now from to trying to find

Re: [PATCH] Single user linux

2001-04-24 Thread imel96
On Tue, 24 Apr 2001, Daniel Stone wrote: Hence, Microsoft Windows. It might not be stable, it might not be fast, it might not do RAID, packet-filtering and SQL, but it does a job. A simple job. To give Mum Dad(tm) (with apologies to maddog) a chance to use a computer. Since when, did

Re: hundreds of mount --bind mountpoints?

2001-04-24 Thread Erik Mouw
On Tue, Apr 24, 2001 at 06:01:12AM -0400, Alexander Viro wrote: For fsck sake! HFS patch. Time: 14 minutes, including checking that sucker builds (it had most of the accesses to -u.hfs_i already encapsulated). Al is right, it is no rocket science. Here is a patch against 2.4.4-pre6 for procfs

Re: Can't compile 2.4.3 with agcc

2001-04-24 Thread Horst von Brand
David Woodhouse [EMAIL PROTECTED] said: [EMAIL PROTECTED] said: Your patch (tries to) transform a compile and link time check into a runtime check. Not nice. It transforms a broken and cryptic compile-time check into a correct and informative runtime check. These broken and cryptic

Some problems in kernel 2.4.3

2001-04-24 Thread
Hello.. All.. I upgraded the linux servers' kernel verison from 2.2.16 to 2.4.3 . when my linux kernel version was 2.2.16, there is no problem to work. but After upgrading, some critical problem is occured. Surely, kernel compile option and method has no problem. (H/W spec is P3 733 Dual,

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Mohammad A. Haque
On Tue, 24 Apr 2001, Tomas Telensky wrote: :-) Great. You and Alex are right - I agree that this is a complete moronism. But, what I should say to the network security, is that AFAIK in the most of linux distributions the standard daemons (httpd, sendmail) are run as root! Having

Re: [PATCH] Single user linux

2001-04-24 Thread imel96
On Tue, 24 Apr 2001, Richard B. Johnson wrote: You are on the wrong list. You don't modify the kernel to make a single-user machine. You modify the password file in /etc/passwd. Until you know, and completely understand this, you will be laughed at. When an interactive process is started,

Re: hundreds of mount --bind mountpoints?

2001-04-24 Thread Christoph Rohland
Hi Al, On Tue, 24 Apr 2001, Alexander Viro wrote: So yes, IMO having such patches available _is_ a good thing. And in 2.5 we definitely want them in the tree. If encapsulation part gets there during 2.4 and separate allocation is available for all of them it will be easier to do without PITA

Re: serial driver not properly detecting modem

2001-04-24 Thread Alan Cox
I've fixed this here merely by adding an entry to the PCI table of serial.c for PCI_CLASS_COMMUNICATION_OTHER. Is this the best way to fix this? Is there some reason that this shouldn't be done in general? If not, I'd like to see it fix in the kernel proper. Most class other devices wont

Re: [PATCH] Single user linux

2001-04-24 Thread Daniel Stone
On Tue, Apr 24, 2001 at 08:27:56PM +0700, [EMAIL PROTECTED] wrote: On Tue, 24 Apr 2001, Daniel Stone wrote: Hence, Microsoft Windows. It might not be stable, it might not be fast, it might not do RAID, packet-filtering and SQL, but it does a job. A simple job. To give Mum Dad(tm) (with

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Alexander Viro
On Tue, 24 Apr 2001, Tomas Telensky wrote: of linux distributions the standard daemons (httpd, sendmail) are run as root! Having multi-user system or not! Why? For only listening to a port 1024? Is there any elegant solution? Sendmail is old. Consider it as a remnant of times when network

dirty entry in transmit queue on eth (fwd)

2001-04-24 Thread Axel Siebenwirth
sorry, my email address was wrong, it's [EMAIL PROTECTED] -- Forwarded message -- Date: Tue, 24 Apr 2001 15:36:12 +0200 (CEST) From: Axel Siebenwirth [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: dirty entry in transmit queue on eth oh

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Alexander Viro
On Tue, 24 Apr 2001, Mohammad A. Haque wrote: Correct. 1024 requires root to bind to the port. ... And nothing says that it should be done by daemon itself. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [PATCH] Single user linux

2001-04-24 Thread Mohammad A. Haque
On Tue, 24 Apr 2001 [EMAIL PROTECTED] wrote: okay, it wouldn't cost me. but it surely easier if everybody used linux, so i could put my ext2 disk everywhere i want. hey, it's obvious that it's not for a server! i try to point out a problem for people not on this list, don't work around that

Re: Some problems in kernel 2.4.3

2001-04-24 Thread Mohammad A. Haque
On Tue, 24 Apr 2001, [ks_c_5601-1987] ¿À´Ã°ú³»ÀÏ È«¼®¹ü wrote: (1) some process is not killed I built kernel 2.4.3 in my linux server which works in php+mysql. But after a few days, I found that my mysql daemon was not work. (But mysql process is seen) So I typed like this to kill the

Re: serial driver not properly detecting modem

2001-04-24 Thread Jeff Garzik
Alan Cox wrote: I've fixed this here merely by adding an entry to the PCI table of serial.c for PCI_CLASS_COMMUNICATION_OTHER. Is this the best way to fix this? Is there some reason that this shouldn't be done in general? If not, I'd like to see it fix in the kernel proper. Most

Re: [PATCH] Single user linux

2001-04-24 Thread Mike A. Harris
On Tue, 24 Apr 2001, Roland Seuhs wrote: with multi-user concept, conceptually there should be an administrator to create account, grant permission, etc. no my sister doesn't want that. i bet there are billions of people not willing to learn how to use a computer, they just want to use it.

RE: Delay Function

2001-04-24 Thread Rajeev Nigam
There is udelay(usecs) function which has told by Ofer Fryman one of the member of mailing list, not delay(usecs) and its working properly. Thanx to u all for ur cooperation. Regards, Rajeev -Original Message- From: Hubertus Franke [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24,

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Tomas Telensky
On Tue, 24 Apr 2001, Alexander Viro wrote: On Tue, 24 Apr 2001, Tomas Telensky wrote: of linux distributions the standard daemons (httpd, sendmail) are run as root! Having multi-user system or not! Why? For only listening to a port 1024? Is there any elegant solution? Sendmail

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

2001-04-24 Thread Andrea Arcangeli
On Tue, Apr 24, 2001 at 02:07:47PM +0100, David Howells wrote: It was my implementation that triggered it (I haven't tried it with yours), but the bug occurred because the SUBL happened to make the change outside of the spinlocked region in the slowpath at the same time as the wakeup routine

PIO disk writes using 100% system time and performing poorly with VIA vt82c686b on kernels 2.2 2.4

2001-04-24 Thread Thomas Ford
Heavy disc writes (eg. unzipping linux kernel source) cause the system processor usage (as reported by top/xosview) to jump to 100%, making the X mouse/audio freeze etc. Such problems occur with the drives connected to VIA vt82c686b south bridge: the same drives on a mvp3 show no such problems.

Re: [PATCH] Single user linux

2001-04-24 Thread Alan Cox
so what the hell is transmeta doing with mobile linux (midori). is it going to teach multi-user thing to tablet owners? Thats you problem. Distinguish the OS from the user interface. surely mortals expect midori to behave like their pc. lets say on redhat, they have to login as root to

problem found (was Re: [PATCH] Single user linux)

2001-04-24 Thread imel96
On Tue, 24 Apr 2001, Daniel Stone wrote: Aah. I see. Where was this? I never saw it. psst, it's a proto. That may be so, so hack up your own OS. It's a MOBILE PHONE, it needs to be absolutely *rock solid*. Look at the 5110, that's just about perfect. The 7110, on the other hand ...

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Alexander Viro
On Tue, 24 Apr 2001, Tomas Telensky wrote: Thanks for the comment. And why not just let it listen to 25 and then being run as uid=nobody, gid=mail? Handling of .forward, for one thing. Or pipe aliases, or... None of this stuff is unsolvable (e.g. handling of .forward belongs to MDA, not

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

2001-04-24 Thread Giacomo Catenazzi
Alan Cox wrote: Well, would it be possible to create some module under LGPL, and then have included it into the kernel? Maybe it needs to maintain the LGPL version out of the kernel, and transform a copy to the GPL before submitting? There is kernel code under a whole variety of

Re: [PATCH] Single user linux

2001-04-24 Thread imel96
On Tue, 24 Apr 2001, Alan Cox wrote: so what the hell is transmeta doing with mobile linux (midori). is it going to teach multi-user thing to tablet owners? Thats you problem. Distinguish the OS from the user interface. sigh. is that mean the little thing had to do capable() check each

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Alan Cox
On Tue, 24 Apr 2001, Mohammad A. Haque wrote: Correct. 1024 requires root to bind to the port. ... And nothing says that it should be done by daemon itself. Or that you shouldnt let inetd do it for you And that you shouldn't drop the capabilities except that bind It is possible to implement

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

2001-04-24 Thread Alan Cox
Well, would it be possible to create some module under LGPL, and then have included it into the kernel? Maybe it needs to maintain the LGPL version out of the kernel, and transform a copy to the GPL before submitting? There is kernel code under a whole variety of licenses. When linked

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Alexander Viro
On Tue, 24 Apr 2001, Alan Cox wrote: On Tue, 24 Apr 2001, Mohammad A. Haque wrote: Correct. 1024 requires root to bind to the port. ... And nothing says that it should be done by daemon itself. Or that you shouldnt let inetd do it for you And that you shouldn't drop the capabilities

Re: [PATCH] Single user linux

2001-04-24 Thread Mike A. Harris
On Tue, 24 Apr 2001 [EMAIL PROTECTED] wrote: Even my digital tv box has multiple users. The fact you cannot figure out how to make your UI present that to the end user in a suitable manner is not the kernels problem. Get a real UI designer if it's useful, it's okay. if not, what is it doing

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Gbor Lnrt
On Tue, Apr 24, 2001 at 03:18:11PM +0100, Alan Cox wrote: On Tue, 24 Apr 2001, Mohammad A. Haque wrote: Correct. 1024 requires root to bind to the port. ... And nothing says that it should be done by daemon itself. Or that you shouldnt let inetd do it for you And that you shouldn't

Re: [PATCH] Single user linux

2001-04-24 Thread Alan Cox
Even my digital tv box has multiple users. The fact you cannot figure out how to make your UI present that to the end user in a suitable manner is not the kernels problem. Get a real UI designer if it's useful, it's okay. if not, what is it doing there? For one it allowing you to build

Network driver: problem with insane (ported in 2.4.3)

2001-04-24 Thread Stephane List
Hi all, Has anybody ported insane or snull from Rubini to kernel 2.4.3? I'm porting Rubini's example: insane. /* -- * definition of the private data structure used by this interface */ struct insane_private { struct

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

2001-04-24 Thread Alan Cox
14USA-18X Serial Adapter. Distribution and/or Modification of the 15keyspan.c driver which includes this firmware, in whole or in part, 16requires the inclusion of this statement. 17 18 */ with a surelly non-free/non-GPL license. That one is being sorted out currently. The

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Alexander Viro
On Tue, 24 Apr 2001, Alan Cox wrote: It is possible to implement the entire mail system without anything running as root but xinetd. You want an MDA with elevated privileges, though... ^ What role requires priviledge once the port is open ? .forward handling may,

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Alan Cox
It is possible to implement the entire mail system without anything running as root but xinetd. You want an MDA with elevated privileges, though... What role requires priviledge once the port is open ? DNS lookup does not Spooling to disk does not Accepting a

where can I find the IP address ?

2001-04-24 Thread sébastien person
I'm dealing with a driver wich need the IP address for specifics using. I've read in the linux device driver (o'reilly) that I can use the field pa_addr in the struct device. but it doesn't exist on my computer. so I don't understand why ? Is anybody could tell me where finding the IP address

capabilities carried over execve()

2001-04-24 Thread Eric Buddington
I am attempting to write an init replacement that is capability-smart. Though I'm pleased that prctl() lets me keep capabilities across a setreuid(), maintaining caps over execve() seems impossible to do right. I currently see a few options: - use the CLOEXEC-pipe hack that execcap uses

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Pjotr Kourzanoff
On Tue, 24 Apr 2001, [iso-8859-2] Gábor Lénárt wrote: Or even without xinetd. Just use local port forwarding eg 2525 - 25, and This is more like 25 - 2525 :-) use port 2525 as SMTP port in your MTA. I've succeed to setup such a configuration. This requires you to ensure that your MTA

Re: high-res-timers start code.

2001-04-24 Thread george anzinger
Gabriel Paubert wrote: 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 archs? Not if you plan to handle the CPU cycle counter in user space. That is at

Re: Request for comment -- a better attribution system

2001-04-24 Thread Roger Gammans
On Tue, Apr 24, 2001 at 09:14:41AM -0400, Horst von Brand wrote: Roger Gammans [EMAIL PROTECTED] said: People who want to take over because it is s00 k3w1 to be a maintainer with no real interest in the code, just in the fact that it is orphaned... No. People who want to give something back

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Gerhard Mack
On Tue, 24 Apr 2001, Alan Cox wrote: On Tue, 24 Apr 2001, Mohammad A. Haque wrote: Correct. 1024 requires root to bind to the port. ... And nothing says that it should be done by daemon itself. Or that you shouldnt let inetd do it for you And that you shouldn't drop the capabilities

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread CaT
On Tue, Apr 24, 2001 at 03:37:34PM +0100, Alan Cox wrote: What role requires priviledge once the port is open ? DNS lookup does not Spooling to disk does not Accepting a connection from a client does not Doing peercred auth with a client does not Copying

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Alan Cox
Copying spool articles matching the peercred to the client does not Running procmail as the user who is to receive the email for local mail delivery as running it with gid mail (for eg) would allow one user to modify another's mail. What is this gid mail crap ? You don't need

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Alan Cox
I've always found the root 1024 to be quite limmited and find myself wishing I could assign permissions based on ip/port. Its been done. Search for 'sockfs' I believe it was called. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: problem found (was Re: [PATCH] Single user linux)

2001-04-24 Thread Xavier Bestel
Le 25 Apr 2001 00:06:57 +1000, Daniel Stone a écrit : problem is you guys are to unix-centric, try to be user-centric a little. We're too UNIX-centric, yet you're the one trying to put UNIX on a phone? Come on ... Hey ! We already put uClinux on a phone ! Full-fledge linux is not far,

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread Gbor Lnrt
On Tue, Apr 24, 2001 at 04:49:57PM +0200, Pjotr Kourzanoff wrote: On Tue, 24 Apr 2001, [iso-8859-2] Gbor Lnrt wrote: Or even without xinetd. Just use local port forwarding eg 2525 - 25, and This is more like 25 - 2525 :-) OK, that was a hard night for me, I need some sleep :)

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread CaT
On Tue, Apr 24, 2001 at 04:49:57PM +0200, Pjotr Kourzanoff wrote: use port 2525 as SMTP port in your MTA. I've succeed to setup such a configuration. This requires you to ensure that your MTA is started first on that port...Might be difficult to achieve reliably in an automatic way

Re: [OFFTOPIC] Re: [PATCH] Single user linux

2001-04-24 Thread CaT
On Tue, Apr 24, 2001 at 03:59:28PM +0100, Alan Cox wrote: What is this gid mail crap ? You don't need priviledge. You get the mail by asking the daemon for it. procmail needs no priviledge either if it is done right. You just need to think about the security models in the right way. Linux

ncurses 2.4.3

2001-04-24 Thread Tom Beer
Hi, I'm running 2.2.16-22 (Redhat Guiness) on a PC and wanna upgrade to 2.4.3. Unfourtunately I get Unable to open Ncurses libraries Error 1 if I make make menuconfig. I read around the web and found that I've to install the devel pack of ncurses too. No results, even if I do a make clean all in

Re: [PATCH] Single user linux

2001-04-24 Thread Jeremy Jackson
Alan Cox wrote: so what the hell is transmeta doing with mobile linux (midori). is it going to teach multi-user thing to tablet owners? Thats you problem. Distinguish the OS from the user interface. surely mortals expect midori to behave like their pc. lets say on redhat, they have to

<    1   2   3   4   5   >