[RFC] Allow open intents to return a fully initialized file

2005-03-30 Thread Trond Myklebust
The following patch is to allow filesystems that support the lookup with open intents optimization to return a fully initialized file pointer. The main use for this is stuff like NFSv4 that does lookup + sets up open state in a single atomic RPC call, and that wishes to cache the state information

AMD64 Machine hardlocks when using memset

2005-03-30 Thread Philip Lawatsch
Hi, I do have a very strange problem: If I memset a ~1meg buffer some thousand times (in the userspace) it will hardlock my machine. I've been using 2.6.12-rc1 and also a lot of other kernels (2.6.9, 2.6.11). I've tried it both using a 32 bit kernel and a 64 bit kernel. When running on the 32 b

question about do_IRQ + 4k stacks

2005-03-30 Thread Terence Ripperda
I'm investigating some 4k stack issues with our driver, and I noticed this ordering in do_IRQ: asmlinkage unsigned int do_IRQ(struct pt_regs regs) { ... #ifdef CONFIG_DEBUG_STACKOVERFLOW /* Debugging check for stack overflow: is there less than 1KB free? */ { ...

Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)

2005-03-30 Thread Pau Aliagas
On Wed, 30 Mar 2005, H. J. Lu wrote: On Wed, Mar 30, 2005 at 07:57:28AM -0800, Linus Torvalds wrote: There is no such an instruction of "movl %ds,(%eax)". The old assembler accepts it and turns it into "movw %ds,(%eax)". I disagree. Violently. As does the old assembler, which does not turn "mov" i

Re: [PATCH] Set MS_ACTIVE in isofs_fill_super()

2005-03-30 Thread Jan Harkes
On Wed, Mar 30, 2005 at 12:39:07PM -0800, Andrew Morton wrote: > Russ Weight <[EMAIL PROTECTED]> wrote: > > This patch sets the MS_ACTIVE bit in isofs_fill_super() prior to calling > > iget() or iput(). This eliminates a race condition between mount > > (for isofs) and kswapd that results in a syst

Marvell 88W8310 (libertas) 802.11g support

2005-03-30 Thread Alex Deucher
I was just wondering if anyone has started working on a driver for the marvell wifi chips. I just bought a new Asus motherboard and it has built in wifi. I contacted Marvell and they claimed they could provide databooks under NDA. If no one else is working on it, I may try my hand at it, althoug

Re: [ckrm-tech] Re: [patch 0/8] CKRM: Core patch set

2005-03-30 Thread Shailabh Nagar
Diego Calleja wrote: El Tue, 29 Mar 2005 22:05:30 -0800, Paul Jackson <[EMAIL PROTECTED]> escribió: worth having. I for one am a CKRM skeptic, so won't be much help to you in that quest. Good luck. I don't see any performance numbers, either on small systems, or scalability on large systems. Ce

Re: [PATCH] Set MS_ACTIVE in isofs_fill_super()

2005-03-30 Thread Russ Weight
On Wed, 2005-03-30 at 12:39 -0800, Andrew Morton wrote: > Russ Weight <[EMAIL PROTECTED]> wrote: > > > > This patch sets the MS_ACTIVE bit in isofs_fill_super() prior to calling > > iget() or iput(). This eliminates a race condition between mount > > (for isofs) and kswapd that results in a system

Re: Hangcheck problem

2005-03-30 Thread Noah Silverman
Sorry 2.6.7 Burton Windle wrote: > Kernel version? > On Wed, 30 Mar 2005, Noah Silverman wrote: > Hi, > > I'm been experiencing a weird problem > > I get endlessly repeated hangcheck errors in my syslog with no explanation: > > Mar 30 12:41:43 db kernel: Hangcheck: hangcheck value past ma

Re: [PATCH] API for true Random Number Generators to add entropy (2.6.11)

2005-03-30 Thread Paul Jackson
Jeff wrote: > Or all 1's (more likely), or all 0x55's, or... Stray thought - to follow up stray thought: Hmmm ... run some numbers through a good compression program, and complain if they compress much. -- I won't rest till it's the best ... Programme

Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O

2005-03-30 Thread Andrew Morton
Trond Myklebust <[EMAIL PROTECTED]> wrote: > > In NFSv4 we often want to serialize asynchronous RPC calls with ordinary > RPC calls (OPEN and CLOSE for instance). On paper, semaphores would > appear to fit the bill, however there is no support for asynchronous I/O > with semaphores. > What's more,

Re: Continuing woes - Yenta PCMCIA and USB 2.0 Cardbus Card

2005-03-30 Thread Ron Gage
On Wednesday 30 March 2005 05:02, Magnus Damm wrote: > I recently realized that there are no firewire pccards on the market > today that can power my firewire-powered cd-burner without using an > external ac adapter. My Apple G4 Mac can power the darn thing over > firewire though. Maybe the same th

Re: Can't use SYSFS for "Proprietry" driver modules !!!.

2005-03-30 Thread John Pearson
On Tue, Mar 29, 2005 at 07:15:01AM -0500, linux-os wrote [snip] > > In the United States there is something called "restraint of trade". > Suppose there was a long-time facility or API that got replaced > with one that was highly restrictive. To use the new facility, one > would have to buy a lice

Big GCC bug!!! [Was: Re: Do not misuse Coverity please]

2005-03-30 Thread Kyle Moffett
On Mar 30, 2005, at 14:14, Paulo Marques wrote: Just a minor nitpick, though: wouldn't it be possible for an application to catch the SIGSEGV and let the code proceed, making invalid the assumption made by gcc? Uhh, it's even worse than that. Have a look at the following code: #include #include

Re: [PATCH] embarassing typo

2005-03-30 Thread John Pearson
On Wed, Mar 30, 2005 at 12:53:28AM -0500, Gene Heskett wrote > On Tuesday 29 March 2005 20:40, Dmitry Torokhov wrote: > >On Tuesday 29 March 2005 16:58, Michael Tokarev wrote: > >> Well, it's a matter of readability mostly. ?For now at least, when > >> char is always 8 bytes... > > > >Wow, that's o

Re: forkbombing Linux distributions

2005-03-30 Thread Felipe Alfaro Solana
On Mon, 28 Mar 2005 19:28:20 +0200, Matthieu Castet <[EMAIL PROTECTED]> wrote: > > The memory limits aren't good enough either: if you set them low > > enough that memory-forkbombs are unperilous for > > RLIMIT_NPROC*RLIMIT_DATA, it's probably too low for serious > > applications. > > yes, if you

Re: Big GCC bug!!! [Was: Re: Do not misuse Coverity please]

2005-03-30 Thread Robert Hancock
Kyle Moffett wrote: Dereferencing null pointers is relied upon by a number of various emulators and such, and is "platform-defined" in the standard, so since Linux allows mmap at NULL, GCC shouldn't optimize that case any differently. From the GCC manual: "The compiler assumes that dereferencing a

Re: AMD64 Machine hardlocks when using memset

2005-03-30 Thread Matthias-Christian Ott
Philip Lawatsch schrieb: Hi, I do have a very strange problem: If I memset a ~1meg buffer some thousand times (in the userspace) it will hardlock my machine. I've been using 2.6.12-rc1 and also a lot of other kernels (2.6.9, 2.6.11). I've tried it both using a 32 bit kernel and a 64 bit kernel. Whe

Reading root bridge resources

2005-03-30 Thread Rajesh Shah
Greg, A while back I had volunteered to write a patch that stores the resource ranges being decoded by root bridges for ACPI based i386 and x86_64 systems. The thread at: http://sourceforge.net/mailarchive/message.php?msg_id=10604487 has some context regarding this. The basic intent was to allow h

2.6.12-rc1-RT-V0.7.41-15: it_real_fn oops on boot in run_timer_softirq

2005-03-30 Thread Lee Revell
Since 2.6.12-rc1-RT something I get this Oops on boot about 50% of the time. It's clearly some kind of race because if I just reboot again it works. Seems to happen shortly after ksoftirqd startup (maybe the first time we hit the timer softirq?). This is (lazily) hand copied and incomplete, but

Re: Fw: Hangcheck problem

2005-03-30 Thread Noah Silverman
Joel, I'm not specifically loading hangcheck anywhere. I just installed slackware and mysql on the box. Nothing special. -N Joel Becker wrote: >>Date: Wed, 30 Mar 2005 12:45:43 -0800 >>From: Noah Silverman <[EMAIL PROTECTED]> >>To: linux-kernel@vger.kernel.org >>Subject: Hangcheck problem >>

Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)

2005-03-30 Thread H. J. Lu
On Thu, Mar 31, 2005 at 12:18:55AM +0200, Pau Aliagas wrote: > On Wed, 30 Mar 2005, H. J. Lu wrote: > > >On Wed, Mar 30, 2005 at 07:57:28AM -0800, Linus Torvalds wrote: > > >>>There is no such an instruction of "movl %ds,(%eax)". The old assembler > >>>accepts it and turns it into "movw %ds,(%eax

Re: [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering

2005-03-30 Thread Jeff Garzik
Linux Kernel Mailing List wrote: ChangeSet 1.2181.4.72, 2005/03/24 15:31:29-08:00, [EMAIL PROTECTED] [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering This converts most of the usbnet code to actually use the ethtool message flags. The ASIX code is left unto

Re: [PATCH] USB: pegasus uses netif_msg_*() filters

2005-03-30 Thread Jeff Garzik
Linux Kernel Mailing List wrote: ChangeSet 1.2181.4.70, 2005/03/24 15:30:57-08:00, [EMAIL PROTECTED] [PATCH] USB: pegasus uses netif_msg_*() filters This updates the messaging for the pegasus driver: - Use driver model diagnostics or printk using the inte

Re: 2.6.11, USB: High latency?

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 14:57 -0800, David Brownell wrote: > Quoth [EMAIL PROTECTED]: > > I think this is connected to a problem people have been reporting on the > > Linux audio lists. With some USB chipsets, USB audio interfaces just > > don't work. There are dropouts even at very high latencies.

Re: [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering

2005-03-30 Thread David Brownell
On Wednesday 30 March 2005 4:30 pm, Jeff Garzik wrote: > Linux Kernel Mailing List wrote: > > ChangeSet 1.2181.4.72, 2005/03/24 15:31:29-08:00, [EMAIL PROTECTED] > > > > [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering > > > > This converts most of the usbnet code to actually

Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)

2005-03-30 Thread Pau Aliagas
On Wed, 30 Mar 2005, H. J. Lu wrote: That is what the assembler generates, and should have generated, for "movw %ds,(%eax)" since Nov. 4, 2004. Could this be the reason for the reported slowdown in the last six months? Can you elaborate? There's an unexplained slowdown of kernel 2.6 detailed in thi

Re: Not a GCC bug (was Re: Big GCC bug!!! [Was: Re: Do not misuse Coverity please])

2005-03-30 Thread Kyle Moffett
On Mar 30, 2005, at 18:38, Jakub Jelinek wrote: This testcase violates ISO C99 6.3.2.3: If a null pointer constant is converted to a pointer type, the resulting pointer, called a null pointer, is guaranteed to compare unequal to a pointer to any object or function. Except that the result of derefe

Re: [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering

2005-03-30 Thread Jeff Garzik
David Brownell wrote: On Wednesday 30 March 2005 4:30 pm, Jeff Garzik wrote: Linux Kernel Mailing List wrote: ChangeSet 1.2181.4.72, 2005/03/24 15:31:29-08:00, [EMAIL PROTECTED] [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering This converts most of the usbnet code t

Re: [PATCH] USB: pegasus uses netif_msg_*() filters

2005-03-30 Thread David Brownell
On Wednesday 30 March 2005 4:39 pm, Jeff Garzik wrote: > > @@ -85,6 +85,11 @@ > > MODULE_PARM_DESC(loopback, "Enable MAC loopback mode (bit 0)"); > > MODULE_PARM_DESC(mii_mode, "Enable HomePNA mode (bit 0),default=MII mode = > > 0"); > > > > +/* use ethtool to change the level for any given d

Re: Not a GCC bug (was Re: Big GCC bug!!! [Was: Re: Do not misuse Coverity please])

2005-03-30 Thread Nick Piggin
Kyle Moffett wrote: On Mar 30, 2005, at 18:38, Jakub Jelinek wrote: This testcase violates ISO C99 6.3.2.3: If a null pointer constant is converted to a pointer type, the resulting pointer, called a null pointer, is guaranteed to compare unequal to a pointer to any object or function. Except that

Re: 2.6.11, USB: High latency?

2005-03-30 Thread David Brownell
On Wednesday 30 March 2005 4:43 pm, Lee Revell wrote: > On Wed, 2005-03-30 at 14:57 -0800, David Brownell wrote: > > Quoth [EMAIL PROTECTED]: > > > I think this is connected to a problem people have been reporting on the > > > Linux audio lists. With some USB chipsets, USB audio interfaces just >

Re: 2.6.11, USB: High latency?

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 17:13 -0800, David Brownell wrote: > On Wednesday 30 March 2005 4:43 pm, Lee Revell wrote: > > On Wed, 2005-03-30 at 14:57 -0800, David Brownell wrote: > > > Quoth [EMAIL PROTECTED]: > > > > I think this is connected to a problem people have been reporting on the > > > > Linux

Re: Not a GCC bug (was Re: Big GCC bug!!! [Was: Re: Do not misuse Coverity please])

2005-03-30 Thread Kyle Moffett
On Mar 30, 2005, at 20:12, Nick Piggin wrote: Why should this be in the kernel makefiles? If my_struct is NULL, then the kernel will never reach the if statement. Well, I think there is probably some arch code that uses 16-bit that might use a null pointer, or at least a struct that starts at the 0

Re: 2.6.11, USB: High latency?

2005-03-30 Thread David Brownell
> > Please don't assume everyone subscribes to LKML, or that > > everything crafted to be threaded more-or-less-correctly > > was really crafted with any kind of "reply" command. :) > > Um, that's exactly why reply-to-all should be used, There you go, assuming that there was a message to which

Re: [PATCH 0/5] ppc RT: Realtime preempt support for PPC

2005-03-30 Thread Frank Rowand
Frank Rowand wrote: Ingo Molnar wrote: hi Frank - sorry about the late reply, was busy with other things. Your My turn to be late, but now I'm back from vacation :-). ppc patches look mostly mergeable, with some small details still open: * Frank Rowand <[EMAIL PROTECTED]> wrote: The patches are:

Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)

2005-03-30 Thread H. J. Lu
On Thu, Mar 31, 2005 at 02:57:57AM +0200, Pau Aliagas wrote: > On Wed, 30 Mar 2005, H. J. Lu wrote: > > >>>That is what the assembler generates, and should have generated, for > >>>"movw %ds,(%eax)" since Nov. 4, 2004. > >> > >>Could this be the reason for the reported slowdown in the last six mon

Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O

2005-03-30 Thread Andrew Morton
Trond Myklebust <[EMAIL PROTECTED]> wrote: > > This is required in order to allow threads such as rpciod or keventd > itself (for which sleeping may cause deadlocks) to ask the iosem manager > code to simply queue the work that need to run once the iosem has been > granted. That work function is th

Re: Directory link count wrapping on Linux/XFS/i386?

2005-03-30 Thread Nathan Scott
On Wed, Mar 30, 2005 at 01:06:01PM -0700, Andreas Dilger wrote: > On Mar 30, 2005 20:43 +0100, David Malone wrote: > > It seems that internally xfs uses a 32 bit field for the link count, > > and the stat64 syscalls use a 32 bit field. These fields are copied > > via the vattr structure in xfs_vno

Re: [1/5] Orinoco merge updates, part the fourth: wireless stats updates

2005-03-30 Thread Jeff Garzik
applied 1-5 - 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: 2.6.11, USB: High latency?

2005-03-30 Thread Lee Revell
[cc list restored] On Wed, 2005-03-30 at 14:57 -0800, David Brownell wrote: > Quoth [EMAIL PROTECTED]: > > I think this is connected to a problem people have been reporting on the > > Linux audio lists. With some USB chipsets, USB audio interfaces just > > don't work. There are dropouts even at

Re: 2.6.11, USB: High latency?

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 17:28 -0800, David Brownell wrote: > On Wednesday 30 March 2005 4:51 pm, Lee Revell wrote: > > [cc list restored] > > Thanks, I never had one to start with ... :) > > Thank you. Sorry for the tone of my reply... > > On Wed, 2005-03-30 at 14:57 -0800, David Brownell wrote

Re: 2.6.11, USB: High latency?

2005-03-30 Thread David Brownell
On Wednesday 30 March 2005 4:51 pm, Lee Revell wrote: > [cc list restored] Thanks, I never had one to start with ... :) > On Wed, 2005-03-30 at 14:57 -0800, David Brownell wrote: > > Quoth [EMAIL PROTECTED]: > > > I think this is connected to a problem people have been reporting on the > > > Lin

Re: 2.6.11, USB: High latency?

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 17:28 -0800, David Brownell wrote: > This is what Greg just posted (and Linus merged into BK, so it'll be > in BK snapshots starting tomorrow): > > http://marc.theaimsgroup.com/?l=linux-usb-devel&m=111221966815043&w=2 Wow, just checked my mail and there were at least 5 thr

Re: 2.6.11, USB: High latency?

2005-03-30 Thread David Brownell
On Wednesday 30 March 2005 5:32 pm, Lee Revell wrote: > On Wed, 2005-03-30 at 17:28 -0800, David Brownell wrote: > > On Wednesday 30 March 2005 4:51 pm, Lee Revell wrote: > > > > > > This is the exact configuration of one of the users who reported the > > > problem on LAU. Got a pointer to the pa

Re: 2.6.11, USB: High latency?

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 17:40 -0800, David Brownell wrote: > This all seems off-topic for latency though. :) > Disagree, in the bug reports I saw from JACK users the symptoms are exactly the same as a kernel latency problem. The only clear hint that it's something else is that the RT kernel and m

Re: [patch 0/8] CKRM: Core patch set

2005-03-30 Thread Diego Calleja
El Wed, 30 Mar 2005 13:29:53 -0800, Gerrit Huizenga <[EMAIL PROTECTED]> escribió: > been under so much revision lately. However, resource utilization at the > priority level does not allow you to say "OpenOffice can have up to 30% > of my CPU, my email client is guaranteed to get at least 5%, and

Re: [ckrm-tech] Re: [patch 0/8] CKRM: Core patch set

2005-03-30 Thread Chandra Seetharaman
On Wed, Mar 30, 2005 at 10:55:05PM +0200, Diego Calleja wrote: > El Tue, 29 Mar 2005 22:05:30 -0800, > Paul Jackson <[EMAIL PROTECTED]> escribió: > > > > worth having. I for one am a CKRM skeptic, so won't be much help to you > > in that quest. Good luck. > > > > I don't see any performance nu

Re: [patch 0/8] CKRM: Core patch set

2005-03-30 Thread Paul Jackson
Diego wrote: > I bet I'm not the only one here > who can't understand it either. You're not alone. See an email thread entitled: Classes: 1) what are they, 2) what is their name? http://sourceforge.net/mailarchive/forum.php?thread_id=5328162&forum_id=35191 on the ckrm-tech@lists.so

[BK PATCHES] 2.6.x net driver fixes

2005-03-30 Thread Jeff Garzik
Please do a bk pull bk://gkernel.bkbits.net/net-drivers-2.6 This will update the following files: drivers/net/b44.c | 36 +++--- drivers/net/b44.h |3 drivers/net/e1000/e1000.h |1 drivers/net/e1000/e1000_main.c | 21 +++ drivers/net/macsoni

Re: Do not misuse Coverity please

2005-03-30 Thread Patrick McFarland
On Wednesday 30 March 2005 01:55 pm, Olivier Galibert wrote: > Actually it is. Dereferencing a null pointer is either undefined or > implementation-dependant in the standard (don't remember which), and > as such the compiler can do whatever it wants, be it starting nethack Can this be configured

Re: [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering

2005-03-30 Thread David Brownell
On Wednesday 30 March 2005 5:09 pm, Jeff Garzik wrote: > David Brownell wrote: > > http://www.tux.org/hypermail/linux-vortex/2001-Nov/0021.html > > > > If there are other rules, they belong in Documentation/netif-msg.txt > > don't they? That way folk won't be forced to guess. Or risk > > accid

Re: question about do_IRQ + 4k stacks

2005-03-30 Thread Brian Gerst
Terence Ripperda wrote: I'm investigating some 4k stack issues with our driver, and I noticed this ordering in do_IRQ: asmlinkage unsigned int do_IRQ(struct pt_regs regs) { ... #ifdef CONFIG_DEBUG_STACKOVERFLOW /* Debugging check for stack overflow: is there less than 1KB free? */

Re: klists and struct device semaphores

2005-03-30 Thread Patrick Mochel
On Mon, 28 Mar 2005, Alan Stern wrote: > > For now, I'm willing to punt on those and consider them subsystem-specific > > until more is known about those situations' characteristics. As it > > currently stands, the core will not lock more than 1 device at a time. > > That's absolutely not true.

Re: klists and struct device semaphores

2005-03-30 Thread Patrick Mochel
On Tue, 29 Mar 2005, Alan Stern wrote: > On Mon, 28 Mar 2005, Patrick Mochel wrote: > > > How is this related to (8) above? Do you need some sort of protected, > > short path through the core to add the device, but not bind it or add it > > to the PM core? > > Having thought it through, I believe

Re: RFC: 2.6.release.patchlevel: Patch against 2.6.release[.0] ?

2005-03-30 Thread L. A. Walsh
Chris Wright wrote: The patches on kernel.org in v2.6/ are already against the base (i.e. patch-2.6.11.6.bz2 is against 2.6.11). The patches in v2.6/incr/ are incremental between -stable releases (i.e. patch-2.6.11.5-6.bz2 is against 2.6.11.5). I see. I had looked at the "Changelog" page on

Re: [RFC] CryptoAPI & Compression

2005-03-30 Thread Herbert Xu
Hi Artem: On Tue, Mar 29, 2005 at 12:55:11PM +0100, Artem B. Bityuckiy wrote: > > I'm not sure. David Woodhouse (the author) said that this is probably > enough in any case but a lot of time has gone since the code was written > and he doesn't remember for sure. I have also seen some magic numbe

Re: NFS client latencies

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 16:14 -0500, Trond Myklebust wrote: > on den 30.03.2005 Klokka 11:56 (-0800) skreiv Andrew Morton: > > > That's normal and cannot be avoided: when writing, we have to look for > > > the existence of old nfs_page requests. The reason is that if one does > > > exist, we must eit

Re: [NFS] [PATCH] SGI 926917: make knfsd interact cleanly with HSMs

2005-03-30 Thread Greg Banks
On Thu, 2005-03-31 at 11:58, Neil Brown wrote: > On Thursday March 31, [EMAIL PROTECTED] wrote: > > On Tue, 2005-03-15 at 18:49, Greg Banks wrote: > > > This patch seeks to remedy the interaction between knfsd and HSMs by > > > providing mechanisms to allow knfsd to tell an underlying filesystem >

Re: Directory link count wrapping on Linux/XFS/i386?

2005-03-30 Thread Nathan Scott
On Thu, Mar 31, 2005 at 10:42:58AM +1000, Nathan Scott wrote: > On Wed, Mar 30, 2005 at 01:06:01PM -0700, Andreas Dilger wrote: > > The correct fix, used for reiserfs (and a patch for ext3 also) is to > > set i_nlink = 1 in case the filesystem count has wrapped. When nlink==1 > > the fts/find code

Re: NFS client latencies

2005-03-30 Thread Andrew Morton
Lee Revell <[EMAIL PROTECTED]> wrote: > > > Yes. Together with the radix tree-based sorting of dirty requests, > > that's pretty much what I've spent most of today doing. Lee, could you > > see how the attached combined patch changes your latency numbers? > > > > Different code path, and the

Re: NFS client latencies

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 18:39 -0800, Andrew Morton wrote: > Lee Revell <[EMAIL PROTECTED]> wrote: > > > > > Yes. Together with the radix tree-based sorting of dirty requests, > > > that's pretty much what I've spent most of today doing. Lee, could you > > > see how the attached combined patch chang

Slow SCSI perf in RH 7.3

2005-03-30 Thread Nachman Yaakov Ziskind
I have a server: 2.4.20-28.7 #1 Thu Dec 18 11:31:59 EST 2003 i686 with SCSI hard disks (not raid): SCSI subsystem driver Revision: 1.00 scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs scsi1 : Adaptec AIC7XX

Re: klists and struct device semaphores

2005-03-30 Thread Dmitry Torokhov
On Wednesday 30 March 2005 21:16, Patrick Mochel wrote: > > On Tue, 29 Mar 2005, Alan Stern wrote: > > > On Mon, 28 Mar 2005, Patrick Mochel wrote: > > > > > How is this related to (8) above? Do you need some sort of protected, > > > short path through the core to add the device, but not bind it

Poor SATA / RAID performance (2.6.11 and promise SATAII150 TX4)

2005-03-30 Thread Tim Harvey
Greetings, I'm attempting to benchmark software RAID5 on a system with: - Promise SATAII150 TX4 card - 4 Segate ST3300831AS drives - custom built kernel 2.6.11 (to get driver for promise SATAIITX4) - FC3 install - EPIA M1 mainboard, 256MB memory The tools I'm familiar with for benc

Re: 2.6.12-rc1-mm3: class_simple API

2005-03-30 Thread Valdis . Kletnieks
On Sun, 27 Mar 2005 13:04:31 EST, Nick Orlov said: > Problem is that the latest bk-driver-core patch included in the 2.6.12-rc1-mm3 > removes class_simple API without providing EXPORT_SYMBOL'ed (as opposed to > EXPORT_SYMBOL_GPL) alternative. > > As the result I don't see a way how out-of-the-ker

Re: drivers/acpi/video.c: null pointer dereference

2005-03-30 Thread Len Brown
On Thu, 2005-03-24 at 15:37, Adrian Bunk wrote: > The Coverity checker found the following null pointer dereference in > drivers/acpi/video.c: > > <-- snip --> > > ... > static int > acpi_video_switch_output( > ... > { > ... > struct acpi_video_device *dev=NULL; > ... > list_for

Re: [patch 0/8] CKRM: Core patch set

2005-03-30 Thread Gerrit Huizenga
On Wed, 30 Mar 2005 17:32:32 PST, Paul Jackson wrote: > A question for the CKRM developers: > > What middleware packages, outside the kernel, exist or are > in the works that will rely on CKRM? Primarily, CKRM classes can be instantiated today by simple echo's into the /rcfs files

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread sean
Randy.Dunlap wrote: Did you look in http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/old/ ? Yes I did. Latest is 2.6.12-rc1-bk2, March 26. None since then? sean - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordom

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread Randy.Dunlap
sean wrote: Randy.Dunlap wrote: Did you look in http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/old/ ? Yes I did. Latest is 2.6.12-rc1-bk2, March 26. None since then? I can't explain it other than "the snapshots are broken." All I do is look around for them, and behold, just look in http://ww

Re: NFS client latencies

2005-03-30 Thread Trond Myklebust
on den 30.03.2005 Klokka 21:47 (-0500) skreiv Lee Revell: > On Wed, 2005-03-30 at 18:39 -0800, Andrew Morton wrote: > > Lee Revell <[EMAIL PROTECTED]> wrote: > > > > > > > Yes. Together with the radix tree-based sorting of dirty requests, > > > > that's pretty much what I've spent most of today do

Re: [PATCH] Pageset Localization V2

2005-03-30 Thread Christoph Lameter
Patch to fix the issues mentioned so far. The MAKE_LIST macro would also not be good to some things that I have planned so lets drop it. Index: linux-2.6.11/mm/page_alloc.c === --- linux-2.6.11.orig/mm/page_alloc.c 2005-03-30 19:45:

Re: [PATCH] API for true Random Number Generators to add entropy (2.6.11)

2005-03-30 Thread David McCullough
Jivin Jeff Garzik lays it down ... ... > >If kernelspace can assist and driver _knows_ in advance that data > >produced is cryptographically strong, why not allow it directly > >access pools? > > A kernel driver cannot know in advance that the data from a hardware RNG > is truly random, unless t

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread Dave Jones
On Wed, Mar 30, 2005 at 07:47:24PM -0800, Randy.Dunlap wrote: > sean wrote: > >Randy.Dunlap wrote: > > > >> > >>Did you look in > >>http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/old/ ? > >> > > > >Yes I did. > > > >Latest is 2.6.12-rc1-bk2, March 26. > > > >None since then? >

[patch] bug fix in usbdevfs

2005-03-30 Thread Christopher Li
Hi, I am sorry that the last patch about 32 bit compat ioctl on 64 bit kernel actually breaks the usbdevfs. That is on the current BK tree. I am retarded. Here is the patch to fix it. Tested with USB hard disk and webcam in both 32bit compatible mode and native 64bit mode. Again, sorry about th

LSM hooks

2005-03-30 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well the LSM mailing list seems to be dead, even the archives stop at Jan 15 2005. My own mails don't come back to me (I'm subscribed). So, Which version of Linux will first implement stacking in LSM as per Serge Hallyn's patches? Where is the new

Re: [PATCH] embarassing typo

2005-03-30 Thread Gene Heskett
On Wednesday 30 March 2005 18:38, John Pearson wrote: >On Wed, Mar 30, 2005 at 12:53:28AM -0500, Gene Heskett wrote > >> On Tuesday 29 March 2005 20:40, Dmitry Torokhov wrote: >> >On Tuesday 29 March 2005 16:58, Michael Tokarev wrote: >> >> Well, it's a matter of readability mostly. ?For now at lea

init process freezed after run_init_process

2005-03-30 Thread rjy
Hi, My computer freezed after the kernel start. It started with normal console messages and stopped with these messages: -- ... (just as the normal ones.) NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 Bridge firew

Re: 2.6.12-rc1-mm3: class_simple API

2005-03-30 Thread Nick Orlov
On Wed, Mar 30, 2005 at 10:19:42PM -0500, [EMAIL PROTECTED] wrote: > On Sun, 27 Mar 2005 13:04:31 EST, Nick Orlov said: > > > Problem is that the latest bk-driver-core patch included in the > > 2.6.12-rc1-mm3 > > removes class_simple API without providing EXPORT_SYMBOL'ed (as opposed to > > EXPOR

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread Jeff Garzik
Randy.Dunlap wrote: sean wrote: Randy.Dunlap wrote: Did you look in http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/old/ ? Yes I did. Latest is 2.6.12-rc1-bk2, March 26. None since then? I can't explain it other than "the snapshots are broken." All I do is look around for them, and behold, j

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread Dave Jones
On Wed, Mar 30, 2005 at 11:17:42PM -0500, Jeff Garzik wrote: > >with the requirement (for me) that I not be required to use BK? > >I'll munge scripts or whatever... > >but I guess that I'll also need a kernel.org account to do that. > > Should hopefully just be changing get-version.pl ... hm

Re: AMD64 Machine hardlocks when using memset

2005-03-30 Thread Robert Hancock
Matthias-Christian Ott wrote: You want to allocate a lot of memory (16 GB), you don't have that much space, so the Kernel hangs. No, this is not what it is doing. The program is simply wiping the same 1MB block of memory over and over. If it was doing what you say it would not (or should not) lo

Re: AMD64 Machine hardlocks when using memset

2005-03-30 Thread Robert Hancock
Philip Lawatsch wrote: Hi, I do have a very strange problem: If I memset a ~1meg buffer some thousand times (in the userspace) it will hardlock my machine. I thought that this must be impossible, but I tried it on my machine which is very similar (Asus A8N-SLI, Athlon 64 3500+, 2GB RAM) and to my

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread Jeff Garzik
Dave Jones wrote: On Wed, Mar 30, 2005 at 11:17:42PM -0500, Jeff Garzik wrote: > >with the requirement (for me) that I not be required to use BK? > >I'll munge scripts or whatever... > >but I guess that I'll also need a kernel.org account to do that. > > Should hopefully just be changing get-

Re: Hangcheck problem

2005-03-30 Thread Peter Chubb
> "Noah" == Noah Silverman <[EMAIL PROTECTED]> writes: Noah> Sorry 2.6.7 Noah> Burton Windle wrote: >> Kernel version? Are you running on an x86 machine without TSC, e.g., a 486? the Hangcheck timer then devolves into using jiffies, and a single jiffy error gives you the printout you menti

Re: alsa es1371's joystick functionality broken in 2.6.11-mm4

2005-03-30 Thread Patrick McFarland
On Sunday 27 March 2005 06:23 am, Patrick McFarland wrote: > On Friday 25 March 2005 09:28 am, Patrick McFarland wrote: > > Nope, 2.6.10 is broken too. Now, off to 2.6.9... > > Hrm, 2.6.9 is also broke. 2.6.8 is next. (I should be coming along a > working kernel any time now...) That whacky real l

HELP: PC104 IO card driver Problem

2005-03-30 Thread nobin matthew
Dear Friends, Can anybody Help me in this Pc104 driver Problem; What is the basics steps in doing read and write on Pc104 cards. Deatails Given Below: I am writing a Linux device driver for Diamond systems IR104 digital IO card. This is a PC104 bus device(that means it ISA bus compa

Re: [RFD] 'nice' attribute for executable files

2005-03-30 Thread Jan Engelhardt
>> You could wrap /lib/ld-linux.so, and get all dynamically linked >> programs done in one sweep. That does not handle static binaries :) Jan Engelhardt -- No TOFU for me, please. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTE

Re: klists and struct device semaphores

2005-03-30 Thread Patrick Mochel
On Wed, 30 Mar 2005, Dmitry Torokhov wrote: > Will the lock be exported (via helper functions)? I always felt dirty using > subsys.rwsem because it I think it was supposed to be implementation detail. Sure, why not? See the attached patch for helpers, exported GPL only of course. Thanks,

Re: [RFD] 'nice' attribute for executable files

2005-03-30 Thread Matt Mackall
On Tue, Mar 29, 2005 at 09:55:36PM +0200, Wiktor wrote: > Hi all, > > recently i had to run some program (xmms) with lowered nice value as > normal user. See the new nice rlimit in recent -mm. This allows you to give various users permission to raise priorities without root privileges. -- Math

Re: How's the nforce4 support in Linux?

2005-03-30 Thread Martin Schlemmer
On Wed, 2005-03-30 at 16:01 -0500, Lee Revell wrote: > On Wed, 2005-03-30 at 21:19 +0200, Martin Schlemmer wrote: > > On Wed, 2005-03-30 at 17:00 +0200, Tomasz Torcz wrote: > > > > > quake3 still segfaults when run through "aoss". And can't be fixed, > > > > > as > > > > > it's closed source stil

Re: LSM hooks

2005-03-30 Thread Greg KH
On Wed, Mar 30, 2005 at 11:13:45PM -0500, John Richard Moser wrote: > So, Which version of Linux will first implement stacking in LSM as per > Serge Hallyn's patches? Why do you think the stacking patches will ever be in mainline? greg k-h - To unsubscribe from this list: send the line "unsubscri

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread Greg KH
On Wed, Mar 30, 2005 at 11:17:42PM -0500, Jeff Garzik wrote: > > Should hopefully just be changing get-version.pl ... Nah, this simple patch to snapshot fixes it. I've also generated the 2.6.12-rc1-bk3 snapshot and fixed up the directory on kernel.org so it should now work properly if you apply

Re: no need to check for NULL before calling kfree() -fs/ext2/

2005-03-30 Thread P Lavin
Hi Jesper, I'm sending this mail to mailing list coz in my company we have some restrictions on o/g mails, Sorry for that... Lemme ask u smthing, herez the code 199 sndpkt = (RSI_sndpkt_t *) RSI_MALLOC(sizeof(RSI_sndpkt_t)); 200 sndpkt->buf_list = (RSI_buf_t *) RSI_MALLOC(sizeof(RSI

Re: problem with suspending linux-2.6.12-rc1

2005-03-30 Thread Andy Isaacson
On Tue, Mar 29, 2005 at 12:20:49AM +0200, Pavel Machek wrote: > On Po 28-03-05 10:03:06, Ulrich Lauther wrote: > > > > since upgrading from 2.6.11 to 2.6.12-rc1 software suspend doesn't work > > > > anymore for me: > > > > The last I see when suspending (echo 4 > /proc/acpi/sleep) is a > > > > mes

Timers to threads

2005-03-30 Thread Banu R Reefath
Dear Sir/Mam We are using Linux in one of our embedded products.This is the first time we are working in this Platform.We have few doubts regarding implementing s/w timers & how to pass the timer interrupts to threads . In net we coudnt find exactly what we want .Could you please help us i

Re: [patch] oom lca -- fork bombing killer

2005-03-30 Thread Coywolf Qi Hunt
Andrew Morton wrote: Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote: Linux OOM LCA (Least Common Ancestor) Patch ... --- 2.6.12-rc1-mm3/include/linux/sched.h 2005-03-26 13:21:11.0 +0800 +++ 2.6.12-rc1-mm3-cy/include/linux/sched.h 2005-03-28 10:18:24.0 +0800 @@ -656,11

Re: [2.6.12-rc1-mm3] BUG: atomic counter underflow in smbfs

2005-03-30 Thread Jan Engelhardt
>tried it? (Last time I looked, cifs didn't work against win98 servers - >maybe that got fixed). Well, win98 by itself does not have CIFS support. Jan Engelhardt -- No TOFU for me, please. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [E

Re: LSM hooks

2005-03-30 Thread Chris Wright
* John Richard Moser ([EMAIL PROTECTED]) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Well the LSM mailing list seems to be dead, even the archives stop at > Jan 15 2005. My own mails don't come back to me (I'm subscribed). They're coming through just fine, not sure why the archi

Re: Directory link count wrapping on Linux/XFS/i386?

2005-03-30 Thread Jan Engelhardt
>but it does let you can hide files from find/fts, as demonstrated >below. That's because `find` optimizes its searching by looking at the link count. IIRC, the -noleaf option should make it visible again. >turing 7% mkdir .hidden >turing 8% touch .hidden/secret >turing 9% find . -name secret -p

<    1   2   3   4   >