Re: query: IP over PCI?

2001-02-20 Thread Adrian Cox
Josh Fryman wrote: > there have been many references in the past (notably in the beowulf > community) about TCP/IP over PCI -- that was way back with kernel > 2.2.9 and thereabouts (1999). at that time, there were some patches > available to implement this... There are four versions of this

Re: hang on mount, 2.4.2-pre4, VIA

2001-02-20 Thread Tobias Ringstrom
On Tue, 20 Feb 2001, Dan Christian wrote: > Hello, > I just tried upgrading to 2.4.2-pre4 from 2.4.1 and get a hang when > mounting the file systems. I have the same problem with 2.4.1-ac18. Have you tried to set LOGLEVEL in /etc/sysconfig/init to something higher (8)? That way you may see

2.4.1-ac20 -- SMP option + Athlon target still causes the build to break

2001-02-20 Thread Miles Lane
/usr/src/linux/include/asm/hw_irq.h:198: `current' undeclared (first use in this function) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: [patch] VIA 4.2x driver for 2.2 kernels

2001-02-20 Thread Vojtech Pavlik
On Tue, Feb 20, 2001 at 11:15:02PM -0800, Shane Wegner wrote: > On Wed, Feb 21, 2001 at 08:09:19AM +0100, Vojtech Pavlik wrote: > > On Tue, Feb 20, 2001 at 03:59:27PM -0800, Shane Wegner wrote: > > > > > > You wanted my VIA driver for 2.2. Here is a patch that brings the very > > > > latest 4.2

Re: [patch] VIA 4.2x driver for 2.2 kernels

2001-02-20 Thread Shane Wegner
On Wed, Feb 21, 2001 at 08:09:19AM +0100, Vojtech Pavlik wrote: > On Tue, Feb 20, 2001 at 03:59:27PM -0800, Shane Wegner wrote: > > > > You wanted my VIA driver for 2.2. Here is a patch that brings the very > > > latest 4.2 driver to the 2.2 kernel. The patch is against the > > > 2.2.19-pre13

Re: [patch] VIA 4.2x driver for 2.2 kernels

2001-02-20 Thread Vojtech Pavlik
On Tue, Feb 20, 2001 at 03:59:27PM -0800, Shane Wegner wrote: > > You wanted my VIA driver for 2.2. Here is a patch that brings the very > > latest 4.2 driver to the 2.2 kernel. The patch is against the > > 2.2.19-pre13 kernel plus yours 1221 ide patch. > > This drivers breaks with my HP 8110

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Ed Tomlinson
Alan Cox wrote: >> probably a bad idea to use it, because in theory at least the VFS layer >> might decide to switch the hash function around. I'm more interested in >> hearing whether it's a good hash, and maybe we could improve the VFS hash >> enough that there's no reason to use anything

Re: loopback mount broken in 2.4.2-pre4

2001-02-20 Thread Nathan Dabney
On Wed, Feb 21, 2001 at 12:36:34AM -0500, [EMAIL PROTECTED] wrote: > The subject gives just about all the information I have. :) If I try to > mount an iso image via loopback while running 2.4.2-pre4, mount will hang > forever. Downgrading to 2.4.1 seems to resolve the issue (haven't tried >

Re: can somebody explain how linux support 64G memory

2001-02-20 Thread Robert Read
There are two ways, the PAE flag and the PSE-36 feature introduced in P3. These extensions are documented in the IA-32 Intel Architecture Software Developer's Manuals, which you can find here: http://developer.intel.com/design/Pentium4/manuals/ Look in Volume 3, Chapter 3 for this info.

loopback mount broken in 2.4.2-pre4

2001-02-20 Thread pf-kernel
The subject gives just about all the information I have. :) If I try to mount an iso image via loopback while running 2.4.2-pre4, mount will hang forever. Downgrading to 2.4.1 seems to resolve the issue (haven't tried any previous -pre patches). ---

Re: Different CFLAGS for arch and non-arch files.

2001-02-20 Thread Peter Samuelson
[Peter Bergner] > Hopefully someone can point me in the right direction here. > I need to use different CFLAGS options depending on whether > I'm compiling arch dependent code or arch independent code. Use the per-directory $(EXTRA_CFLAGS), and/or the per-file $(CFLAGS_foo.o). See also

Admin: don't cross-post to the LVM list!

2001-02-20 Thread Richard Gooch
Hi, all. Please do not cross-post messages on the LVM list to other (open) Linux lists. I just did a reply and got a nastygram saying my message pending moderator approval. That's a nasty trap, as people who respond to a cross-post should not be bounced. So, please don't crosspost when sending

Re: [PATCH] new setprocuid syscall

2001-02-20 Thread Peter Samuelson
[BERECZ Szabolcs] > The conclusion: it's cannot be implemented without slowdown. Or: it cannot be implemented 100% safely and correctly without slowdown. If you know the use you wish to put this to, and are willing to risk a permission check somewhere being confused momentarily by a non-atomic

Re: Newbie ask for help: cramfs port to isofs

2001-02-20 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:zhaoway <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > I plan to automatically de-compressing ``*.cramed'' files made with > cramit.c (which is a simplified version of mkcramfs.c also attached > below) from within isofs.o. This indeed isn't

Re: [lvm-devel] *** ANNOUNCEMENT *** LVM 0.9.1 beta5 available at www.sistina.com

2001-02-20 Thread Richard Gooch
Andrea Arcangeli writes: > On Tue, Feb 20, 2001 at 05:31:25PM -0700, Andreas Dilger wrote: > > The reason why the IOP was changed was because the VG_CREATE ioctl now > > depends on the vg_number in the supplied vg_t to determine which VG minor > > number to use. The old interface used the minor

Re: Reiserfs, 3 Raid1 arrays, 2.4.1 machine locks up

2001-02-20 Thread Colonel
>There seem to be several reports of reiserfs falling over when memory is >low. It seems to be undetermined if this problem is actually reiserfs > or MM related, but there are other threads on this list regarding similar > issues. This would explain why the same disk would

Re: [PATCH] exclusive wakeup for lock_buffer

2001-02-20 Thread Ulf Carlsson
> --- linux/include/linux/locks.h.orig Mon Feb 19 23:16:50 2001 > +++ linux/include/linux/locks.h Mon Feb 19 23:21:48 2001 > @@ -13,6 +13,7 @@ > * lock buffers. > */ > extern void __wait_on_buffer(struct buffer_head *); > +extern void __lock_buffer(struct buffer_head *); This doesn't

Re: Network console project (was: LILO and serial speeds over 9600)

2001-02-20 Thread H. Peter Anvin
Hi everyone, We have set up a network console project on sourceforge and are starting to work on actual details. If you're interested in this subject please do join that list. Please see: http://sourceforge.net/mail/?group_id=20426 -hpa -- <[EMAIL PROTECTED]> at work,

RE: finding Tekram SCSI dc395U linux patch driver:

2001-02-20 Thread James Cleverdon
:From: Juergen Schoew <[EMAIL PROTECTED]> :Date: Thu, 15 Feb 2001 22:46:22 +0100 (MEZ) :Reply-To: Juergen Schoew <[EMAIL PROTECTED]> :Organization: UNIX-AG Siegen :To: Thomas Lau <[EMAIL PROTECTED]> :Subject: RE: finding Tekram SCSI dc395U linux patch driver: :Cc: [EMAIL PROTECTED] : :Hi, :On

Re: Linux 2.4.1-ac15

2001-02-20 Thread Rusty Russell
In message <[EMAIL PROTECTED] .com> you write: > > We unlink the module > > We free the memory > > > > At the same time another cpu may be walking the exception table that we fre e. > > True. > > Rusty had a patch that locked the module list properly IIRC. This is a while back, but I thought

Re: problems with reiserfs + nfs using 2.4.2-pre4

2001-02-20 Thread Neil Brown
On Tuesday February 20, [EMAIL PROTECTED] wrote: > Hi, > > On Tue, 20 Feb 2001, Neil Brown wrote: > > > 2/ lookup(".."). > > A small question: > Why exactly is this needed? > > bye, Roman Having read the subsequent posts, I now see what you are thinking and know how to answer this. The

Different CFLAGS for arch and non-arch files.

2001-02-20 Thread Peter Bergner
Hopefully someone can point me in the right direction here. I need to use different CFLAGS options depending on whether I'm compiling arch dependent code or arch independent code. It seems the arch/XXX/Makefile only adds extra options to CFLAGS and doesn't allow me specify options I want to apply

Need help as a Linux newcomer

2001-02-20 Thread Sedat Sengul
Hi Guys; I am a newcomer for Linux world. I used largely pSOS and a little bit WinCE. I tried to find some sort of documents about Kernel structure, linux directory structure and dependency of source files in Linux. I am interested in Embedded Linux due to some resource restrictions. All I found

can somebody explain how linux support 64G memory

2001-02-20 Thread michaelc
Hi, How does linux support more than 4G memory? I 've read the documentation of Intel IA-32 Architecture, I knew that OS just address up to 4G physical address space, If OS want to access additional 4-GByte section of physical memory, it must change the pointer in register CR3 or

[BUG] 2.4.2-pre4 - kernel BUG at inode.c:885!

2001-02-20 Thread Shawn Starr
My friend has Linux on an Pentium Overdrive system I've attached the dmesg and kern.log files. Shawn. Linux version 2.4.2-pre4 (root@stucko) (gcc version 2.95.3 20010125 (prerelease)) #1 Mon Feb 19 18:37:12 EST 2001 BIOS-provided physical RAM map: BIOS-88: 0009f000 @

Very high bandwith packet based interface and performance problems

2001-02-20 Thread Nye Liu
I am working on a very high speed packet based interface but we are having severe problems related to bandwidth vs cpu horsepower. enclosed is a part of a summary. PLEASE cc responses directly to [EMAIL PROTECTED] Thanks!!! -- "Who would be stupid enough to quote a fictitious character?"

QUOTA broken?

2001-02-20 Thread Vibol Hou
Can someone confirm that the 2.4.1-ac15+ quota system is NOT broken? I am having problems running quota-2.00 on 2.4.1-ac15 although quota worked fine in 2.4.0. -- Vibol Hou - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: patch: loop-5

2001-02-20 Thread Jens Axboe
On Tue, Feb 20 2001, Adam Schrotenboer wrote: > Jens, > > Please excuse this possibly stupid q. I don't know as much about kernel > hacking as I would like to. > > I noticed that you are rewriting the loop block device to be a block > remapper (yes, I had noticed this before, the q just never

Re: [lvm-devel] *** ANNOUNCEMENT *** LVM 0.9.1 beta5 available at www.sistina.com

2001-02-20 Thread Andrea Arcangeli
On Tue, Feb 20, 2001 at 05:31:25PM -0700, Andreas Dilger wrote: > The reason why the IOP was changed was because the VG_CREATE ioctl now > depends on the vg_number in the supplied vg_t to determine which VG minor > number to use. The old interface used the minor number of the opened > device

Re: patch: loop-5

2001-02-20 Thread Adam Schrotenboer
Jens, Please excuse this possibly stupid q. I don't know as much about kernel hacking as I would like to. I noticed that you are rewriting the loop block device to be a block remapper (yes, I had noticed this before, the q just never occurred to me before); does this imply that the native

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Bernd Eckenfels
In article <01022100361408.18944@gimli> you wrote: > But actually, rm is not problem, it's open and create. To do a > create you have to make sure the file doesn't already exist, and > without an index you have to scan on average half the directory file. Unless you use a File System which is

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Andreas Dilger
Linus writes: > On Tue, 20 Feb 2001, Daniel Phillips wrote: > > You mean full_name_hash? I will un-static it and try it. I should have > > some statistics tomorrow. > > I was more thinking about just using "dentry->d_name->hash" directly, and > not worrying about how that hash was computed.

2.2.x: ReiserFS + NFSv3

2001-02-20 Thread Matthias Andree
The current state of ReiserFS + kNFSd for NFS v3 is best described as "broken", files get unaccessible when accessed across NFS (server logs ReiserFS warning vs-13048 and cannot itself locally access those files until the inode cache is flushed), at least for 2.2.18. I have seen that some people

Re: kernel_thread() & thread starting

2001-02-20 Thread Kenn Humborg
On Sun, Feb 18, 2001 at 10:53:16PM +, Russell King wrote: > Kenn Humborg writes: > > When starting bdflush and kupdated, bdflush_init() uses a semaphore to > > make sure that the threads have run before continuing. Shouldn't > > start_context_thread() do something similar? > > I think this

Re: reiserfs probs on 2.2.17

2001-02-20 Thread Chris Mason
On Wednesday, February 21, 2001 01:44:10 AM +0100 Arnaud Installe <[EMAIL PROTECTED]> wrote: > Hello, > > I've had a problem with a reiserfs partition on a 2.2.17 kernel the other > day. Everything I did on it just waited forever. (Since shutdown tries > to umount all partitions the only

Re: [PATCH] Better BUG() macro - take 2

2001-02-20 Thread J . A . Magallon
On 02.20 Paul Gortmaker wrote: > > +#ifdef CONFIG_DEBUG_ERRORS > +const char *kernel_bug = "kernel BUG at %s: line %d!\n"; > +#endif > .. > EXPORT_SYMBOL(daemonize); > +EXPORT_SYMBOL(kernel_bug); > Should also be #ifdef'd. -- J.A. Magallon

reiserfs probs on 2.2.17

2001-02-20 Thread Arnaud Installe
Resending it, as it doesn't seem it got through the previous times. - Forwarded message from Arnaud Installe <[EMAIL PROTECTED]> - To: [EMAIL PROTECTED] Subject: reiserfs probs on 2.2.17 Date: Tue, 20 Feb 2001 00:42:29 +0100 Hello, I've had a problem with a reiserfs partition on a

RE: netdev issues (3c905B)

2001-02-20 Thread Vibol Hou
Hi Martin, Here's /proc/interrupts: CPU0 CPU1 0:27480432754927IO-APIC-edge timer 1: 2 0IO-APIC-edge keyboard 2: 0 0 XT-PIC cascade 4: 2737 2892IO-APIC-edge serial 17:95736129568840

Re: [PATCH] 2.4.1-ac UP-APIC updates

2001-02-20 Thread Mikael Pettersson
On Tue, 20 Feb 2001 16:00:53 -0500 (EST), Ingo Molnar wrote: >my major gripe right now is that we still have bug reports that say that >systems hang when using nmi_watchdog=1 and work if nmi_watchdog=0. >Changing the NMI watchdog to be 1 Hz will make these bugreports "Linux >hangs once a week"

[VERY OT]...but funny - No flames :)

2001-02-20 Thread Shawn Starr
ALL YOUR LINUX ARE BELONG TO US ;-) *snicker* Shawn. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Alan Cox
> probably a bad idea to use it, because in theory at least the VFS layer > might decide to switch the hash function around. I'm more interested in > hearing whether it's a good hash, and maybe we could improve the VFS hash > enough that there's no reason to use anything else.. Reiserfs seems to

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Linus Torvalds
On Tue, 20 Feb 2001, Daniel Phillips wrote: > > You mean full_name_hash? I will un-static it and try it. I should have > some statistics tomorrow. I have a couple of simple metrics for > measuring the effectiveness of the hash function: the uniformity of > the hash space splitting (which in

Re: netdev issues (3c905B)

2001-02-20 Thread Martin Moerman
Vibol, I see that the card is on IRQ 17 ??? can you send us /proc/interrupts /Martin On Tue, 20 Feb 2001, Vibol Hou wrote: > Hi, > > I have some problems on a heavily loaded web server. The first is that the > kernel is spitting out a bunch of "NETDEV WATCHDOG: eth0: transmit timed >

Re: [lvm-devel] *** ANNOUNCEMENT *** LVM 0.9.1 beta5 available at www.sistina.com

2001-02-20 Thread Andreas Dilger
Andrea writes: > On Tue, Feb 20, 2001 at 10:49:07PM +, Heinz Mauelshagen wrote: > > A change in the i/o protocoll version *forces* you to update > > the driver as well. > > I didn't had much time to look into beta5 yet but I can't see why you changed > the protocol to 11. There's no breakage

Re: Is this the ultimate stack-smash fix?

2001-02-20 Thread Andreas Bombe
On Tue, Feb 20, 2001 at 10:09:55AM +0100, Xavier Bestel wrote: > Le 20 Feb 2001 02:10:12 +0100, Andreas Bombe a écrit : > > On Sat, Feb 17, 2001 at 09:53:48PM -0700, Eric W. Biederman wrote: > > > Peter Samuelson <[EMAIL PROTECTED]> writes: > > > > It also sounds like you will be > > > > breaking

Linux 2.4.1ac20

2001-02-20 Thread Alan Cox
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ 2.4.1-ac20 o Update fusion drivers (Steve Ralston) o Further VM page launder balancing (Rik van Riel) o Hopefully fix ext2 block size checking (Andries Brouwer) o

netdev issues (3c905B)

2001-02-20 Thread Vibol Hou
Hi, I have some problems on a heavily loaded web server. The first is that the kernel is spitting out a bunch of "NETDEV WATCHDOG: eth0: transmit timed out" errors. I do not recall this happening in 2.4.0 under the same conditions. Another problem that I seem to have, of which I have had

Re: [patch] VIA 4.2x driver for 2.2 kernels

2001-02-20 Thread Shane Wegner
On Tue, Feb 20, 2001 at 01:40:28PM +0100, Vojtech Pavlik wrote: > Hi Andre! > > You wanted my VIA driver for 2.2. Here is a patch that brings the very > latest 4.2 driver to the 2.2 kernel. The patch is against the > 2.2.19-pre13 kernel plus yours 1221 ide patch. Hi, This drivers breaks with my

Re: plugging in 2.4. Does it work?

2001-02-20 Thread Jens Axboe
On Wed, Feb 21 2001, Peter T. Breuer wrote: > I recall that in 2.2 the make_request code tested that the > buffers were contiguous in memory. From 2.2.18: > > /* Can we add it to the end of this request? */ > if (back) { >

Re: Reiserfs, 3 Raid1 arrays, 2.4.1 machine locks up

2001-02-20 Thread Roger Larsson
On Tuesday 20 February 2001 22:21, Colonel wrote: >From: "Tom Sightler" <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> >Date: Tue, 20 Feb 2001 14:43:07 -0500 >Content-Type: text/plain; > charset="iso-8859-1" > >>> >I'm building a firewall on a P133 with 48 MB of

Re: plugging in 2.4. Does it work?

2001-02-20 Thread Peter T. Breuer
"A month of sundays ago Jens Axboe wrote:" > On Wed, Feb 21 2001, Peter T. Breuer wrote: > > Hurrr ... are you saying that the buffers in the bh's in the request are > > not contiguous? My reading of the make_request code in 2.2 was that > > they were! Has that changed? There is now a

Re: DNS goofups galore...

2001-02-20 Thread James Antill
"Henning P. Schmiedehausen" <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (James Antill) writes: > > >"Henning P. Schmiedehausen" <[EMAIL PROTECTED]> writes: > > >> % telnet mail.bar.org smtp > >> 220 mail.foo.org ESMTP ready > >> > >> > >> This kills loop detection. Yes,

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Daniel Phillips
On Tue, 20 Feb 2001, Jeremy Jackson wrote: > Mike Dresser wrote: > > > the way i'm reading this, the problem is there's 65535 files in the directory > > /where/postfix/lives. rm * or what have you, is going to take forever and > > ever, and bog the machine down while its doing it. My

Re: [LONG RANT] Re: Linux stifles innovation...

2001-02-20 Thread Brian May
> "Jeff" == Jeff Garzik <[EMAIL PROTECTED]> writes: Jeff> FWIW, -every single- Windows driver source code I've seen Jeff> has been bloody awful. Asking them to release that code Jeff> would probably result in embarrassment. Same reasoning why Jeff> many companies won't

Re: problems with reiserfs + nfs using 2.4.2-pre4

2001-02-20 Thread Chris Mason
On Wednesday, February 21, 2001 09:54:19 AM +1100 Brian May <[EMAIL PROTECTED]> wrote: >> "dek" == dek ml <[EMAIL PROTECTED]> writes: > > dek> OK so I think what I can take from this is: for kernel 2.4 in > dek> the foreseeable future, reiserfs over NFS won't work without >

Re: plugging in 2.4. Does it work?

2001-02-20 Thread Jens Axboe
On Wed, Feb 21 2001, Peter T. Breuer wrote: > Actually I ignore the return value at present. I just wanted to know what > happened. I haven't the faintest idea whether running end_that_request_last > MEANS anything. end_that_request_last most important job is up'ing any waiters on the request

Re: plugging in 2.4. Does it work?

2001-02-20 Thread Peter T. Breuer
"A month of sundays ago Jens Axboe wrote:" > Forgot to mention that the above doesn't make much sense at all. If > there are no errors, you loop through ending all the buffers. Then Yes, that's right, thanks. I know I do one more end_that_request_first than is necessary, but it is harmless as

Re: eepro100.c, kernel 2.4.1

2001-02-20 Thread Andrey Savochkin
On Tue, Feb 20, 2001 at 05:18:37PM +0900, Augustin Vidovic wrote: > 00:0c.0 Ethernet controller: Intel Corporation 82557 (rev 08) > 00:0d.0 Ethernet controller: Intel Corporation 82557 (rev 08) It's i82559. It can't have that original bug which is checked by those EEPROM bits and workaround for

Re: plugging in 2.4. Does it work?

2001-02-20 Thread Peter T. Breuer
"A month of sundays ago Jens Axboe wrote:" > On Tue, Feb 20 2001, Peter T. Breuer wrote: > > More like "how does one get it to work". [snip muddy end_request code] Probably. I decided that accuracy might get a better response, though I did have to expand the macros to get to this. It's really:

Re: [PATCH] make nfsroot accept server addresses from BOOTP root

2001-02-20 Thread Tom Rini
On Tue, Feb 20, 2001 at 11:02:10PM +, Russell King wrote: > Ben LaHaise writes: > > Yeah, that's the problem I was trying to work around, mostly because the > > docs on dhcpd are sufficiently vague and obscure. Personally, I don't > > actually need tftp support, so I've just configured the

swap still stuck

2001-02-20 Thread J . A . Magallon
Hi, everyone. I seem to have again a problem that was talked about on the list, but I thought it was yet corrected with some VM constants balancing. I run 2.4.1-ac19-SMP. System works fine, but after a couple kernel untars and an open netscape, starts to swap. Read buffers are still there. Do

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Jonathan Morton
>Perhaps rm -rf . would be faster? Let rm do glob expansion, >without the sort. Care to recreate those 65535 files and try it? Perhaps, but I think that form is still fairly slow. It takes an "uncomfortable" amount of time to remove a complex directory structure using, eg. "rm -rf

Detecting SMP

2001-02-20 Thread Burton Windle
Hello. Is there a way, when running a non-SMP kernel, to detect or otherwise tell (software only; the machine is 2400 miles away) if the system has SMP capibilties? Would /proc/cpuinfo show two CPUs if the kernel is non-SMP? Thanks! (btw, the kernel in question is a stock RH6.2 kernel 2.2.14-5,

Re: [PATCH] make nfsroot accept server addresses from BOOTP root

2001-02-20 Thread Russell King
Ben LaHaise writes: > Yeah, that's the problem I was trying to work around, mostly because the > docs on dhcpd are sufficiently vague and obscure. Personally, I don't > actually need tftp support, so I've just configured the system to now > point at the NFS server. For anyone who cares, the

Re: [PATCH] trylock for rw_semaphores: 2.4.1

2001-02-20 Thread Brian J. Watson
Ben LaHaise wrote: > How about the following instead? Warning: compiled, not tested. > > -ben > > +/* returns 1 if it successfully obtained the semaphore for write */ > +static inline int down_write_trylock(struct rw_semaphore *sem) > +{ > + int old = RW_LOCK_BIAS, new =

RE: Assistance in understanding this...?

2001-02-20 Thread Tracy Camp
> Hi Tracy- > > There was a recent thread about ext2fs-- it was > something like doing a format of a large ext2 fs > could cause the VM to run out of memory. > The solution is to do a sync() calls every 10 (pick > a number) writes so that they get flushed to disk > and that memory can be

Re: plugging in 2.4. Does it work?

2001-02-20 Thread Jens Axboe
On Tue, Feb 20 2001, Peter T. Breuer wrote: > int my_end_request(struct request *req) { >unsigned long flags; int dequeue = 0; >spin_lock_irqsave(_request_lock, flags); >if (!req->errors) { > while (req->nr_sectors > 0) { >printk( KERN_DEBUG "running end_first on req

Re: plugging in 2.4. Does it work?

2001-02-20 Thread Jens Axboe
On Tue, Feb 20 2001, Peter T. Breuer wrote: > More like "how does one get it to work". > > Does anyone have a simple recipe for doing plugging right in 2.4? > I'm doing something wrong. > > When I disable plugging on my block driver (by registering a no-op > plugging function), the driver works

Re: problems with reiserfs + nfs using 2.4.2-pre4

2001-02-20 Thread Brian May
> "dek" == dek ml <[EMAIL PROTECTED]> writes: dek> OK so I think what I can take from this is: for kernel 2.4 in dek> the foreseeable future, reiserfs over NFS won't work without dek> a special patch. And, filesystems other than ext2 in general Does this apply to the user space

[PATCH] SysV IPC semaphores, kernel 2.2.x

2001-02-20 Thread Bhavesh P. Davda
Soliciting comments to some enhancements I have made to the implementation of SysV semaphores in the 2.2 kernel, to clean up kernel resources (semaphores) on process exits. Please Cc: me at bhavesh(at)avaya.com Thanks, - Bhavesh -- Bhavesh P. Davda Avaya Inc. ---

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Jeremy Jackson
Mike Dresser wrote: > the way i'm reading this, the problem is there's 65535 files in the directory > /where/postfix/lives. rm * or what have you, is going to take forever and > ever, and bog the machine down while its doing it. My understanding is you > could do the rm *, and instead of it

plugging in 2.4. Does it work?

2001-02-20 Thread Peter T. Breuer
More like "how does one get it to work". Does anyone have a simple recipe for doing plugging right in 2.4? I'm doing something wrong. When I disable plugging on my block driver (by registering a no-op plugging function), the driver works fine. In particular my end_request code works fine - it

Re: [lvm-devel] *** ANNOUNCEMENT *** LVM 0.9.1 beta5 available at www.sistina.com

2001-02-20 Thread Andrea Arcangeli
On Tue, Feb 20, 2001 at 10:49:07PM +, Heinz Mauelshagen wrote: > > Hi all, > > a tarball of the Linux Logical Volume Manager 0.9.1 Beta 5 is available now at > > > > for download (Follow the "LVM download page" link). > > This release fixes several bugs. >

Re: [PATCH] exclusive wakeup for lock_buffer

2001-02-20 Thread Alan Cox
> > > extern void __wait_on_buffer(struct buffer_head *); > > > +extern void __lock_buffer(struct buffer_head *); > > > > So are we starting 2.5 now ? > > Alan, > > This patch only avoids unecessary wakeups. It doesn't add any new > functionality. I think making potentially very hard to

Re: [PATCH] exclusive wakeup for lock_buffer

2001-02-20 Thread Marcelo Tosatti
On Tue, 20 Feb 2001, Alan Cox wrote: > > --- linux/include/linux/locks.h.origMon Feb 19 23:16:50 2001 > > +++ linux/include/linux/locks.h Mon Feb 19 23:21:48 2001 > > @@ -13,6 +13,7 @@ > > * lock buffers. > > */ > > extern void __wait_on_buffer(struct buffer_head *); > >

[PATCH] configurable printk buffer size

2001-02-20 Thread Robert Read
The obvious solution struck me just after the last email. I change the config parameter to be an order, like the argument to get_free_pages(). How does this look? It's not tested, but there isn't much to it... robert diff --exclude=*~ -ru linux-2.4.2-pre4/arch/i386/config.in

Re: [PATCH] Re: kernel/printk.c: increasing the buffer size to capture devfsd debug messages.

2001-02-20 Thread Robert Read
On Tue, Feb 20, 2001 at 02:53:04PM -0600, Thomas Dodd wrote: > Robert Read wrote: > > Why not just make the config option in Kbytes. > and do: > > #define LOG_BUF_LEN (CONFIG_PRINTK_BUF_LEN * 1024) > This is good idea, but I believe LOG_BUF_LEN needs to be a power of 2. A bitmask is used in

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Daniel Phillips
On Tue, 20 Feb 2001, Linus Torvalds wrote: > In article <01022020011905.18944@gimli>, > Daniel Phillips <[EMAIL PROTECTED]> wrote: > >Earlier this month a runaway installation script decided to mail all its > >problems to root. After a couple of hours the script aborted, having > >created 65535

make drivers/scsi/seagate.c use ioremap instead of isa_{read,write} (242p4)

2001-02-20 Thread Rasmus Andersen
Hi. (I have not been able to find a probable current maintainer for this code.) The following patch makes drivers/scsi/seagate.c use ioremap instead of isa_{read, write} (I have not been able to find a fitting place to put an iounmap since the driver does not have a release function). The patch

Re: kernel/printk.c: increasing the buffer size to capture devfsd debug messages.

2001-02-20 Thread Ishikawa
Robert Read wrote: > I have used 128k and larger buffer sizes, and I just noticed this > fragment in the RedHat Tux Webserver patch. It creates a 2MB buffer: > > I am encouraged to try a large buffer then. Thank you. - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Mike Dresser
the way i'm reading this, the problem is there's 65535 files in the directory /where/postfix/lives. rm * or what have you, is going to take forever and ever, and bog the machine down while its doing it. My understanding is you could do the rm *, and instead of it reading the tree over and over

Re: Reiserfs, 3 Raid1 arrays, 2.4.1 machine locks up

2001-02-20 Thread Colonel
From: "Tom Sightler" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Date: Tue, 20 Feb 2001 14:43:07 -0500 Content-Type: text/plain; charset="iso-8859-1" >> >I'm building a firewall on a P133 with 48 MB of memory using RH 7.0, >> >latest updates, etc. and kernel

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Jeremy Jackson
> In article <01022020011905.18944@gimli>, > Daniel Phillips <[EMAIL PROTECTED]> wrote: > >Earlier this month a runaway installation script decided to mail all its > >problems to root. After a couple of hours the script aborted, having > >created 65535 entries in Postfix's maildrop directory.

Re: [beta patch] SSE copy_page() / clear_page()

2001-02-20 Thread Manfred Spraul
Pavel Machek wrote: > > > > > + __asm__ __volatile__( > > > > + "mov %1, %0\n\t" > > > > + : "=r" (i) > > > > + : "r" (kaddr+offset)); /* load tlb entry */ > > > > + for(i=0;i > > > + __asm__ __volatile__( > > > > +

Re: Reiserfs, 3 Raid1 arrays, 2.4.1 machine locks up

2001-02-20 Thread James A. Pattie
Tom Sightler wrote: > > > There seem to be several reports of reiserfs falling over when memory is > > > low. It seems to be undetermined if this problem is actually reiserfs > or MM > > > related, but there are other threads on this list regarding similar > issues. > > > This would explain why

Re: [beta patch] SSE copy_page() / clear_page()

2001-02-20 Thread Alan Cox
> > Does the prefetch instruction fault on PIII/PIV then - the K7 one appears not > > to be a source of faults > > My fault. I was told that prefetch instructions are always > non-faulting. I also thought it was non faulting - To unsubscribe from this list: send the line "unsubscribe

radio-terratec.c + RDS

2001-02-20 Thread Rolf Offermanns
Hi! I have written the radio-terratec driver some time ago. I am searching for someone who has send me an email about him being able to get the RDS part of the terratec card to work. Unfortunately I have lost the mail and his address. If you are reading this, please contact me. Allthough I

Re: [PATCH] 2.4.1-ac UP-APIC updates

2001-02-20 Thread Ingo Molnar
On Tue, 20 Feb 2001, Alan Cox wrote: > > i dont like this one. 100 times a second makes absolutely no performance > > difference whatsoever - but eg. i'm driving kernel profiling from the NMI > > handler to get profiles of eg. IRQ handlers and other cli()-ed code areas. > > So set it to 100Hz

Re: [PATCH] Re: kernel/printk.c: increasing the buffer size to capture devfsd debug messages.

2001-02-20 Thread Thomas Dodd
Thomas Dodd wrote: > > Robert Read wrote: > > > > Ok, here is a simple patch to add a config option, I'm compiling it > > now, so it's not tested yet. One question: what is the best way to > > force this option to be a power of 2? > > Why not just make the config option in Kbytes. > and do: >

Re: [beta patch] SSE copy_page() / clear_page()

2001-02-20 Thread Pavel Machek
> > > + __asm__ __volatile__( > > > + "mov %1, %0\n\t" > > > + : "=r" (i) > > > + : "r" (kaddr+offset)); /* load tlb entry */ > > > + for(i=0;i > > + __asm__ __volatile__( > > > + "prefetchnta

Re: Probem with network performance 2.4.1

2001-02-20 Thread Mike Galbraith
On Tue, 20 Feb 2001, Richard B. Johnson wrote: > There is nothing in either the VXI/Bus driver or the the Ethernet > driver that gives up the CPU, i.e., nobody calls schedule() in any > (known) path. Check out IKD. Ktrace is wonderful for making such unknowns visible. -Mike - To

Re: [beta patch] SSE copy_page() / clear_page()

2001-02-20 Thread Alan Cox
> > + __asm__ __volatile__( > > + "mov %1, %0\n\t" > > + : "=r" (i) > > + : "r" (kaddr+offset)); /* load tlb entry */ > > + for(i=0;i > + __asm__ __volatile__( > > + "prefetchnta

Re: can somebody explain barrier() macro ?

2001-02-20 Thread Alan Cox
> barrier() is defined in kernel.h as follows : > > #define barrier() __asm__ __volatile__("": : :"memory") > > what does this mean ? is this like "nop" ? Its adds an empty piece of assembler (ie no code) and declares that this non code causes effects on memory. That forces gcc to writeback

Re: [PATCH] 2.4.1-ac UP-APIC updates

2001-02-20 Thread Alan Cox
> i dont like this one. 100 times a second makes absolutely no performance > difference whatsoever - but eg. i'm driving kernel profiling from the NMI > handler to get profiles of eg. IRQ handlers and other cli()-ed code areas. So set it to 100Hz as a debugging option like slab debugging - To

Re: Probem with network performance 2.4.1

2001-02-20 Thread Richard B. Johnson
On Tue, 20 Feb 2001, Mike Galbraith wrote: > On Tue, 20 Feb 2001, Richard B. Johnson wrote: > > > There is nothing in either the VXI/Bus driver or the the Ethernet > > driver that gives up the CPU, i.e., nobody calls schedule() in any > > (known) path. > > Check out IKD. Ktrace is wonderful

Re: [PATCH] Re: kernel/printk.c: increasing the buffer size to capture devfsd debug messages.

2001-02-20 Thread Thomas Dodd
Robert Read wrote: > > On Tue, Feb 20, 2001 at 01:37:16PM -0600, Thomas Dodd wrote: > > Robert Read wrote: > > > > > > On Wed, Feb 21, 2001 at 02:30:08AM +0900, Ishikawa wrote: > > > > > > > > Has anyone tried 128K buffer size in kernel/printk.c > > > > and still have the kernel boot (without >

patch: loop-5

2001-02-20 Thread Jens Axboe
Slightly delayed, but here is loop-5. It's against 2.4.2-pre4, as testing on 2.4.1-ac19 showed other problems (oom killer would kill dbench or bash before it could finish...). I'll take a look at ac19 next. Changes since loop-4: o Make sure loop_thread is up. A mount -o loop could sometimes

Re: [ANNOUNCE] Adaptive Domain Environment for Operating Systems

2001-02-20 Thread Karim Yaghmour
I've set up a sourceforge project for Adeos: http://www.sourceforge.net/projects/adeos There's also a development mailing list which can be found here: http://lists.sourceforge.net/lists/listinfo/adeos-devel There's also some code here: ftp://ftp.opersys.com/pub/Adeos/Adeos.tgz Be aware that

Re: *grin* Windows 2000 & HPC: Scalable, Inexpensive

2001-02-20 Thread Dr. Kelsey Hudson
On Wed, 14 Feb 2001, Mike Harrold wrote: > > The sad thing is, 3/4 of the page is an outright lie. It isn't > a first, W2k is not the de facto standard OS, and the TCO is > significantly higher than any cluster running Linux. No shit, not to mention that Linux is going to be faster and better

Re: [Xpert]Video drivers and the kernel

2001-02-20 Thread Pavel Machek
Hi! > (Aside, is this because X uses keyboard in raw mode? would be nice to still > be able to ctrl-alt-del to rebood from console) Anyone know about > using alt-sysrq to restore console? Alt-SysRq-U,S,B. Should work as long as kernel is alive. It is not completely clean shutdown, but will

  1   2   3   4   5   >