Re: [PATCH 05/14] all-archs: consolidate .data section definition in asm-generic

2007-05-18 Thread Sam Ravnborg
On Fri, May 18, 2007 at 03:21:26AM -0700, David Miller wrote: From: Sam Ravnborg [EMAIL PROTECTED] Date: Fri, 18 May 2007 11:42:31 +0200 On Fri, May 18, 2007 at 12:16:04AM -0700, David Miller wrote: Looking at these patches reminds me of a quirk in the generic RODATA definition:

[patch] fix unused setup_nr_node_ids

2007-05-18 Thread Miklos Szeredi
This is now the only (!) compiler warning I get in my UML build :) From: Miklos Szeredi [EMAIL PROTECTED] mm/page_alloc.c:931: warning: 'setup_nr_node_ids' defined but not used Signed-off-by: Miklos Szeredi [EMAIL PROTECTED] --- Index: linux/mm/page_alloc.c

[patch 1/2] fuse: generic_write_checks() for direct_io

2007-05-18 Thread Miklos Szeredi
Andrew, These are for 2.6.22, please apply. Thanks. From: Miklos Szeredi [EMAIL PROTECTED] This fixes O_APPEND in direct IO mode. Also checks writes against file size limits, notably rlimits. Reported by Greg Bruno. Signed-off-by: Miklos Szeredi [EMAIL PROTECTED] --- Index:

Re: [PATCH 7/15] Make ISDN CAPI use seq_list_xxx helpers

2007-05-18 Thread Karsten Keil
The similar code exists here and is called capi_driver_get_idx(). Use generic helpers now and remember to convert list_head to struct capi_driver in .show callback. Acked-by: Karsten Keil [EMAIL PROTECTED] Signed-off-by: Pavel Emelianov [EMAIL PROTECTED] --- diff --git

Re: usb-storage nice value

2007-05-18 Thread DervishD
Hi Heikki :) * Heikki Orsila [EMAIL PROTECTED] dixit: On Thu, May 17, 2007 at 12:03:08PM +0200, DervishD wrote: I'm having problems when reading/writing to external USB harddisks: my *internal* harddisk stalls from time to time, so watching a movie while copying data is a

Re: usb-storage nice value

2007-05-18 Thread DervishD
Hi Jan :) * Jan Engelhardt [EMAIL PROTECTED] dixit: On May 18 2007 10:21, DervishD wrote: Or try echo 10 /proc/sys/kernel/dirty_ratio Not in my proc :?? Perhaps /proc/sys/vm/dirty_ratio? Mine is 40, which I think is too high. Linus also thinks it is too high; I do not

Re: Fork Bombing Attack

2007-05-18 Thread Anand Jahagirdar
Hello All I tried to execute a program which creates 8152 process.( i=0; while( i14) i++ fork(); ) with ulimit 8200. This program created 8152 processes and then stopped and came back to command prompt. this proves that my machine do have sufficient resources to create 8000 processes.

RE: [PATCH] drivers/ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-05-18 Thread Kuan Luo
Thanks for your comment, see the explaination inline. We'll apply your advice in later patch. -Original Message- From: Robert Hancock [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 9:48 AM To: Peer Chen Cc: linux-kernel@vger.kernel.org; Jeff Garzik; [EMAIL PROTECTED]; Kuan Luo;

Re: This kernel requires the following features not present on the CPU... (on a VIA C7 CPU)

2007-05-18 Thread Claas Langbehn
H. Peter Anvin schrieb: Claas Langbehn wrote: Now my question is: Would it be possible to override the BIOS settings of cx8 and nx and activate it with linux anyway? The CPU supports it and I don't see any reason to disable it. Yes, that code is already in the git.newsetup tree.

Re: Asynchronous scsi scanning

2007-05-18 Thread Matthew Wilcox
On Fri, May 18, 2007 at 09:11:58AM +0530, Satyam Sharma wrote: It's also somewhat a matter of *taste* (and hence subjective), if you _still_ don't get it, Matthew, then there's no point continuing this thread and trying to convince you ad infinitum. Right. It's a matter of taste. What makes

Re: Asynchronous scsi scanning

2007-05-18 Thread Matthew Wilcox
On Fri, May 18, 2007 at 10:58:05AM +0530, Satyam Sharma wrote: [ BTW, this is the last time I'll try explaining this to you. ] Oh good. Perhaps you can just drop the idea entirely and give up? The one-line patch you're suggesting *would*not*allow* one to use the async scanning _at_all_. If

Re: [RFC][PATCH 10/14] In-kernel file copy between union mounted filesystems

2007-05-18 Thread Bharata B Rao
On Wed, May 16, 2007 at 09:57:28AM +0200, Jan Engelhardt wrote: On May 14 2007 15:13, Bharata B Rao wrote: + +if (flag 0x2) { +error = union_copyup(nd, flag); +if (error) +goto exit; +} What I dislike (and that also goes for

Re: [RFC] LZO1X de/compression support

2007-05-18 Thread Nitin Gupta
Hi, Thanks for review. My comments inline. On 5/18/07, Heikki Orsila [EMAIL PROTECTED] wrote: Good work.. On Fri, May 18, 2007 at 03:28:31PM +0530, Nitin Gupta wrote: Facts for LZO (at least for original code. Should hold true for this port also - hence the RFC!): - The compressor can

Re: [RFC][PATCH 8/14] Union-mount lookup

2007-05-18 Thread Bharata B Rao
On Tue, May 15, 2007 at 10:00:45AM -0400, Trond Myklebust wrote: On Mon, 2007-05-14 at 15:12 +0530, Bharata B Rao wrote: From: Jan Blunck [EMAIL PROTECTED] Subject: Union-mount lookup Modifies the vfs lookup routines to work with union mounted directories. The existing lookup

Re: [PATCH] sdhci: Add quirk to support polling for card presence

2007-05-18 Thread Tobias Bengtsson
Pierre Ossman skrev: Tobias, did you test this patch and did it solve your problem? I compiled it with 2.6.21-mm2 and 2.6.22-rc1 but both of them hangs at startup after setting up portmap. So atleast init starts.. I suppose I should set up remote syslog to debug.. and ofcourse apply the

Fwd: [BUG] HOWTO

2007-05-18 Thread debian developer
-- Forwarded message -- From: debian developer [EMAIL PROTECTED] Date: May 18, 2007 4:24 PM Subject: [BUG] HOWTO To: [EMAIL PROTECTED], linux-kernel@vger.kernel.org There is a repetition of the below para in the HOWTO. :) sorry, me being newbie( thts y i was goin thru the HOWTO)

Re: [PATCH] ubi: kill homegrown endian macros

2007-05-18 Thread John Anthony Kazos Jr.
On Fri, 18 May 2007, David Woodhouse wrote: On Thu, 2007-05-17 at 22:57 -0400, John Anthony Kazos Jr. wrote: Wouldn't the appropriate test be to demonstrate that the same program text opcodes are generated in both cases for all architectures? No, empirical testing with the compiler is

Re: [RFC] LZO1X de/compression support

2007-05-18 Thread Richard Purdie
On Fri, 2007-05-18 at 16:57 +0530, Nitin Gupta wrote: On 5/18/07, Heikki Orsila [EMAIL PROTECTED] wrote: Good work.. On Fri, May 18, 2007 at 03:28:31PM +0530, Nitin Gupta wrote: Facts for LZO (at least for original code. Should hold true for this port also - hence the RFC!): - The

[PATCH 2.6.22-rc1] net/core/skbuff.c gcc-3.2.3 compilation error

2007-05-18 Thread Mikael Pettersson
[Resend. First message reached netdev but not linux-kernel due to Cc: typo] Compiling 2.6.22-rc1 with gcc-3.2.3 for i486 fails with: gcc -m32 -Wp,-MD,net/core/.skbuff.o.d -nostdinc -isystem /home/mikpe/pkgs/linux-x86/gnu/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include -D__KERNEL__ -Iinclude

Re: [RFC] LZO1X de/compression support

2007-05-18 Thread Richard Purdie
Hi, On Fri, 2007-05-18 at 15:28 +0530, Nitin Gupta wrote: This is kernel port of LZO1X de/compression algo stripped down to just ~500 LOC! It is derived from original LZO 2.02 code found at: http://www.oberhumer.com/opensource/lzo/download/ The code has also been reformatted to match

Re: 2.6.22-rc1 killed my ext3 filesystem cleanly unmounted

2007-05-18 Thread Kalpak Shah
On Fri, 2007-05-18 at 11:06 +0200, Martin Mokrejs wrote: Hi, I just tried the 2.6.22-r1 candidate to test whether some bug I have hit in the past still exists. I did use 2.6.20.6 so far. So, I have cleanly rebooted to use the new kernel, after the machine came up I tried to mess with the

Re: signals logged / [RFC] log out-of-virtual-memory events

2007-05-18 Thread Andi Kleen
I do not see such on i386, so why for x86_64? So that you know that one of your programs crashed. That's a feature. -Andi - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [patch] x86_64, irq: check remote IRR bit before migrating level triggered irq

2007-05-18 Thread Andi Kleen
On Friday 18 May 2007 01:03, Siddha, Suresh B wrote: Normally, the EOI generated by local APIC for level trigger interrupt contains vector number. The IOAPIC will take this vector number and search the IOAPIC RTE entries for an entry with matching vector number and clear the remote IRR bit

Re: 2.6.21-mm1 and now 2.6.21-git: SLUB Crashes on boot - crypto?

2007-05-18 Thread Luca
On 5/18/07, Herbert Xu [EMAIL PROTECTED] wrote: On Tue, May 15, 2007 at 08:52:12PM +0200, Luca Tettamanti wrote: CONFIG_CRYPTO_ALGAPI=m Are you sure you're actually running 2.6.22-rc1? Due to a bug in the padlock patch present in 2.6.22-rc1 it shouldn't be possible to select ALGAPI as a

Re: [rfc] increase struct page size?!

2007-05-18 Thread Andi Kleen
I'd say all up this is going to decrease overall cache footprint in fastpaths, both by reducing text and data footprint of page_address and related operations, and by reducing cacheline footprint of most batched operations on struct pages. I suspect the cache line footprint is not the main

Re: Kernel NFS lockd freezes notebook on shutdown (Linux 2.6.22-rc1 + CFS v12)

2007-05-18 Thread Zilvinas Valinskas
Hello, Have found this in dmesg (well earlier because of initcall_debug) I've never noticed that during boot (scrolls away too fast). Anyway - [7.841871] NetLabel: Initializing [7.841983] NetLabel: domain hash size = 128 [7.842095] NetLabel: protocols = UNLABELED CIPSOv4 [

Re: [PATCH] x86_64: mcelog tolerant level cleanup

2007-05-18 Thread Andi Kleen
On Wednesday 16 May 2007 22:29, Tim Hockin wrote: From: Tim Hockin [EMAIL PROTECTED] Background: The MCE handler has several paths that it can take, depending on various conditions of the MCE status and the value of the 'tolerant' knob. The exact semantics are not well defined and the

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Matt Sealey
Sergei Shtylyov wrote: Hello. Kumar Gala wrote: Kumar Gala wrote: I haven't looked at all the new clock/timer code, is there any utility in having support for more than one clock source? Of course, you may register as many as you like. Sure, but is there any utility in

[PATCH] Fix a simple issue w.r.t mounting of containers

2007-05-18 Thread Balbir Singh
Fix containers mounting issue. With the current v9 patches if a container hierarchy is mounted and then umounted. A second mount of the hierarchy fails Steps to reproduce the problem 1. mount -t container container /mnt point 2. umount /mnt point 3. mount -t container container /mnt point

Re: [RFC] LZO1X de/compression support

2007-05-18 Thread Andrey Panin
On 138, 05 18, 2007 at 03:28:31PM +0530, Nitin Gupta wrote: Hi, This is kernel port of LZO1X de/compression algo stripped down to just ~500 LOC! It is derived from original LZO 2.02 code found at: http://www.oberhumer.com/opensource/lzo/download/ The code has also been reformatted to

Re: [BUG] local_softirq_pending storm

2007-05-18 Thread Thomas Gleixner
On Thu, 2007-05-17 at 12:11 +0530, Anant Nitya wrote: On Friday 11 May 2007 03:28:46 Thomas Gleixner wrote: Ok, that's consistent with earlier reports. The problem surfaces when one of the SMT-cpus goes idle. The problem goes away when you disable hyperthreading. Yes with HT disabled in

Fwd: [BUG] HOWTO

2007-05-18 Thread debian developer
There is a repetition of the below para in the HOWTO. :) sorry, me being newbie( thts y i was goin thru the HOWTO) cannot write the PATCH for this. Please correct it. 378 Managing bug reports 379 380 381 One of the best ways to put into practice your hacking skills is by

Re: Weird hard disk noise on shutdown (bug #7674)

2007-05-18 Thread Alan Cox
On Fri, 18 May 2007 03:16:45 -0400 Rob Landley [EMAIL PROTECTED] wrote: On Thursday 17 May 2007 11:04 am, Lennart Sorensen wrote: On Thu, May 17, 2007 at 12:39:47AM -0300, Henrique de Moraes Holschuh wrote: Actually, in my limited experience, SAS is marginally less crappy than SATA,

Re: [PATCH] drivers/ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-05-18 Thread Alan Cox
That shouldn't be a problem, libata default DMA mask is 32 bits (which isn't overridden with this controller) and so the block layer will bounce any data being read/written above that point with IOMMU or swiotlb. The comment is a bit unnecessarily scary. Adding a BUG_ON for this would be

Re: Asynchronous scsi scanning

2007-05-18 Thread Satyam Sharma
On 5/18/07, Matthew Wilcox [EMAIL PROTECTED] wrote: On Fri, May 18, 2007 at 09:11:58AM +0530, Satyam Sharma wrote: It's also somewhat a matter of *taste* (and hence subjective), if you _still_ don't get it, Matthew, then there's no point continuing this thread and trying to convince you ad

Re: Fork Bombing Attack

2007-05-18 Thread Michael Tokarev
Anand Jahagirdar wrote: [] I found one more interesting thing on the same machine having FC6 distribution and Linux Kernel 2.6.18. i have set ulimit -u 100. after setting this limit i tried to execute fork bombing program with guest account. after executing it expected result:-

Re: [patch] CFS scheduler, -v12

2007-05-18 Thread Peter Williams
Ingo Molnar wrote: * Peter Williams [EMAIL PROTECTED] wrote: I've now done this test on a number of kernels: 2.6.21 and 2.6.22-rc1 with and without CFS; and the problem is always present. It's not nice related as the all four tasks are run at nice == 0. could you try -v13 and did this

Re: 2.6.21-mm1 and now 2.6.21-git: SLUB Crashes on boot - crypto?

2007-05-18 Thread Herbert Xu
On Fri, May 18, 2007 at 02:09:54PM +0200, Luca wrote: Well, pretty sure. The OOPS says 2.6.22-rc1-libata-g705962cc-dirty, git agrees and I've done a full rebuild. The .config is generated using 'make oldconfig' using the 2.6.21 as baseline, maybe ALGAPI is coming from there? Sorry, my

Re: Asynchronous scsi scanning

2007-05-18 Thread Satyam Sharma
On 5/18/07, Matthew Wilcox [EMAIL PROTECTED] wrote: On Fri, May 18, 2007 at 10:58:05AM +0530, Satyam Sharma wrote: [ BTW, this is the last time I'll try explaining this to you. ] Oh good. Perhaps you can just drop the idea entirely and give up? Well, I do plan to, at least as far as

Re: [BUG] HOWTO

2007-05-18 Thread Greg KH
On Fri, May 18, 2007 at 04:24:59PM +0530, debian developer wrote: There is a repetition of the below para in the HOWTO. :) sorry, me being newbie( thts y i was goin thru the HOWTO) cannot write the PATCH for this. Please correct it. Can you take a look at Documentation/SubmittingPatches

[PATCH - 1/1] Documentation/HOWTO

2007-05-18 Thread debian developer
Heres a patch. It's my first. so any mistakes to be pardoned. :) --- linux-2.6.21.1/Documentation/HOWTO.orig 2007-05-18 18:54:18.0 +0530 +++ linux-2.6.21.1/Documentation/HOWTO 2007-05-18 18:55:03.0 +0530 @@ -383,26 +383,6 @@ One of the best ways to put into practic bugs

Re: [PATCH] make cancel_rearming_delayed_work() reliable

2007-05-18 Thread Tejun Heo
Hello, Jarek Poplawski wrote: 2. IMHO the current solution with smp barriers is very good: these barriers are really needed and they should be enough. Oleg repeats all the time he hates barriers, but I think it's wrong approach - they should be seen as something natural for programming

Re: [oops] in bluetooth

2007-05-18 Thread Marcel Holtmann
Hi Pavel, I played with rfcomm here -- I'm trying to emulate bluetooth gps using normal pc -- and got couple of oopses. [EMAIL PROTECTED]:~$ uname -a Linux amd 2.6.21 #421 SMP Fri Apr 27 15:06:54 CEST 2007 i686 GNU/Linux [EMAIL PROTECTED]:~$ can you try with 2.6.22-rc1. I have seen this

Re: 2.6.22-rc1 killed my ext3 filesystem cleanly unmounted

2007-05-18 Thread Jesper Juhl
On 18/05/07, Martin Mokrejs [EMAIL PROTECTED] wrote: Hi, I just tried the 2.6.22-r1 candidate to test whether some bug I have hit in the past still exists. I did use 2.6.20.6 so far. So, I have cleanly rebooted to use the new kernel, after the machine came up I tried to mess with the bug, and

Re: [patch] x86_64, irq: check remote IRR bit before migrating level triggered irq

2007-05-18 Thread Eric W. Biederman
Andi Kleen [EMAIL PROTECTED] writes: On Friday 18 May 2007 01:03, Siddha, Suresh B wrote: Normally, the EOI generated by local APIC for level trigger interrupt contains vector number. The IOAPIC will take this vector number and search the IOAPIC RTE entries for an entry with matching vector

[oops] in bluetooth

2007-05-18 Thread Pavel Machek
Hi! I played with rfcomm here -- I'm trying to emulate bluetooth gps using normal pc -- and got couple of oopses. [EMAIL PROTECTED]:~$ uname -a Linux amd 2.6.21 #421 SMP Fri Apr 27 15:06:54 CEST 2007 i686 GNU/Linux [EMAIL PROTECTED]:~$

Re: [PATCH - 1/1] Documentation/HOWTO

2007-05-18 Thread Pekka Enberg
Hi Debian Developer, On 5/18/07, debian developer [EMAIL PROTECTED] wrote: Heres a patch. It's my first. so any mistakes to be pardoned. :) Three major problems: (1) no real name in the email, (2) no patch description and (3) no signed-off-by line. Please see the following URL for details:

joydev.c and saitek cyborg evo force

2007-05-18 Thread Renato Golin
Hi, I'm a kernel newbie so please, pardon my French. I have a Saitek Cyborg Evo Force, a very good joystick with force- feedback. Problem is, on Windows it works well (its drivers know its own idiosyncrasies) but on Linux it gets a bit fuzzy. The behaviour is that, all axis are working fine,

Re: 2.6.22-rc1 killed my ext3 filesystem cleanly unmounted

2007-05-18 Thread Martin Mokrejs
On Fri, May 18, 2007 at 05:17:06PM +0530, Kalpak Shah wrote: On Fri, 2007-05-18 at 11:06 +0200, Martin Mokrejs wrote: Hi, I just tried the 2.6.22-r1 candidate to test whether some bug I have hit in the past still exists. I did use 2.6.20.6 so far. So, I have cleanly rebooted to use

Re: select(0, ..) is valid ?

2007-05-18 Thread Andi Kleen
On Wednesday 16 May 2007 17:37, Anton Blanchard wrote: Hi Hugh, It's interesting that compat_core_sys_select() shows this kmalloc(0) failure but core_sys_select() does not. That's because core_sys_select() avoids kmalloc by using a buffer on the stack for small allocations (and 0 sure

Re: Fork Bombing Attack

2007-05-18 Thread Ahmed S. Darwish
On 5/18/07, Anand Jahagirdar [EMAIL PROTECTED] wrote: Hello All I tried to execute a program which creates 8152 process.( i=0; while( i14) i++ fork(); ) with ulimit 8200. This program created 8152 processes and then stopped and came back to command prompt. this proves that my machine

Re: [patch] CFS scheduler, -v12

2007-05-18 Thread Peter Williams
Peter Williams wrote: Ingo Molnar wrote: * Peter Williams [EMAIL PROTECTED] wrote: I've now done this test on a number of kernels: 2.6.21 and 2.6.22-rc1 with and without CFS; and the problem is always present. It's not nice related as the all four tasks are run at nice == 0. could you try

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Sergei Shtylyov
Hello. Benjamin Herrenschmidt wrote: Yes, on some implementations there can be other conditions that make a decrementer exception go away; there is no contradiction here (thankfully). My wording was sloppy. Some CPUs have the DEC exceptions basically edge triggered (yeah I know for

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Sergei Shtylyov
Hello. Matt Sealey wrote: I haven't looked at all the new clock/timer code, is there any utility in having support for more than one clock source? Of course, you may register as many as you like. Sure, but is there any utility in registering more than the decrementer on PPC?

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Sergei Shtylyov
Hello, I wrote: Yes, on some implementations there can be other conditions that make a decrementer exception go away; there is no contradiction here (thankfully). My wording was sloppy. Some CPUs have the DEC exceptions basically edge triggered (yeah I know for example? it sucks).

Re: Asynchronous scsi scanning

2007-05-18 Thread Stefan Richter
Peter Jones wrote: So really, either way means we need to update the tools. It also doesn't really solve the problem -- when I insert usb-storage, the SCSI scan may still finish while we're still enumerating the bus for USB devices. (I'd be willing to believe I'm wrong about this specific

Re: 2.6.22-rc1 killed my ext3 filesystem cleanly unmounted

2007-05-18 Thread Kalpak Shah
On Fri, 2007-05-18 at 15:51 +0200, Martin Mokrejs wrote: On Fri, May 18, 2007 at 05:17:06PM +0530, Kalpak Shah wrote: On Fri, 2007-05-18 at 11:06 +0200, Martin Mokrejs wrote: Hi, I just tried the 2.6.22-r1 candidate to test whether some bug I have hit in the past still exists. I did

[PATCH 1/1] FIX HOWTO: removing duplicated entry.

2007-05-18 Thread Pranith Kumar D
Hello, Sorry for submitting the previous patch without description, name signed off line. This removes the duplicated paragraph in the Documentation/HOWTO file. Signed-off-by: D Pranith Kumar[EMAIL PROTECTED] --- linux-2.6.21.1/Documentation/HOWTO.orig 2007-05-18 18:54:18.0

Re: [PATCH] timerfd/eventfd context lock doesn't protect against poll_wait

2007-05-18 Thread Linus Torvalds
On Thu, 17 May 2007, Davide Libenzi wrote: Thx Davi, patch is correct. Nice catch. But at this point instead of ending up getting two locks, we may look into using Andrew suggestion of reusing the waitqueue lock. Is it universally considered a legal operation? Yes. Perhaps not for

[PATCH -mm] LZO: Further cleanup of the kernel LZO library headers

2007-05-18 Thread Richard Purdie
A further cleanup of the kernel LZO library headers which untangles and removes ~400 lines of defines. This doesn't change the core minilzo code so diffability is maintained. Signed-off-by: Richard Purdie [EMAIL PROTECTED] --- lib/lzo/lzoconf.h | 96 +--- lib/lzo/lzodefs.h | 412

Re: [PATCH] ubi: kill homegrown endian macros

2007-05-18 Thread David Woodhouse
On Fri, 2007-05-18 at 07:52 -0400, John Anthony Kazos Jr. wrote: Out of curiosity, why would a compiler ever insert padding in a structure that has all its elements properly-aligned? Well, it might decide it would be nicer if some elements were aligned to 64 bits. Or to a cache line. Or

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Matt Sealey
Sergei Shtylyov wrote: Hello. Sure, but is there any utility in registering more than the decrementer on PPC? Not yet. I'm not sure I know any other PPC CPU facility fitting for clockevents. In theory, FIT could be used -- but its period is measured in powers of 2, IIRC. Wouldn't

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Thomas Gleixner
On Fri, 2007-05-18 at 15:28 +0100, Matt Sealey wrote: I guess the real question is, how high resolution does a high resolution timer need to be, In the order of microseconds. I think both the MPC52xx GPT0-7 and the SLT0-1 fulfil this fairly easily. There is some basic work for

Re: [BUG] (regression) AMD k6-III/450 won't boot w/2.6.22-rc1

2007-05-18 Thread Joachim Deguara
On Friday 18 May 2007 01:38:13 [EMAIL PROTECTED] wrote: Andi Kleen wrote: Hmpf. We cold either use rdmsr_safe or add a family check again or clear it in k6 setup. I think clearing it in setup is cleanest. Does this patch work? -Andi Clear MCE flag on AMD K6 It reports

Re: [PATCH] drivers/ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-05-18 Thread Jeff Garzik
Alan Cox wrote: That shouldn't be a problem, libata default DMA mask is 32 bits (which isn't overridden with this controller) and so the block layer will bounce any data being read/written above that point with IOMMU or swiotlb. The comment is a bit unnecessarily scary. Adding a BUG_ON for

Re: [RFC][PATCH 10/14] In-kernel file copy between union mounted filesystems

2007-05-18 Thread Shaya Potter
Bharata B Rao wrote: Not really. This is called during copyup of a file residing in a lower layer. And that is done only for regular files. That is broken. You should be able to change the permissions on a device node on a layer that is RO. so it would copy it up (1. mknod, 2. copy

Re: 2.6.22-rc1 killed my ext3 filesystem cleanly unmounted

2007-05-18 Thread Martin Mokrejs
On Fri, May 18, 2007 at 07:38:18PM +0530, Kalpak Shah wrote: On Fri, 2007-05-18 at 15:51 +0200, Martin Mokrejs wrote: On Fri, May 18, 2007 at 05:17:06PM +0530, Kalpak Shah wrote: On Fri, 2007-05-18 at 11:06 +0200, Martin Mokrejs wrote: Hi, I just tried the 2.6.22-r1 candidate to

Re: 2.6.22-rc1 killed my ext3 filesystem cleanly unmounted

2007-05-18 Thread Martin Mokrejs
On Fri, May 18, 2007 at 04:20:39PM +0200, Jesper Juhl wrote: On 18/05/07, Martin Mokrejs [EMAIL PROTECTED] wrote: Hi, I just tried the 2.6.22-r1 candidate to test whether some bug I have hit in the past still exists. I did use 2.6.20.6 so far. So, I have cleanly rebooted to use the new

Re: [PATCH] Fix a simple issue w.r.t mounting of containers

2007-05-18 Thread Paul Menage
Thanks. I've added that to my tree. Paul On 5/18/07, Balbir Singh [EMAIL PROTECTED] wrote: Fix containers mounting issue. With the current v9 patches if a container hierarchy is mounted and then umounted. A second mount of the hierarchy fails Steps to reproduce the problem 1. mount -t

Re: [patch] x86_64, irq: check remote IRR bit before migrating level triggered irq

2007-05-18 Thread Eric W. Biederman
Siddha, Suresh B [EMAIL PROTECTED] writes: On Thu, May 17, 2007 at 05:30:13PM -0700, Eric W. Biederman wrote: So why does any of this matter? My memory says that the ioapic state for sending irqs gets reset when we unmask the irq. No. Atleast not on the platform we have tested. Ok. It

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Sergei Shtylyov
Hello. Albert Cahalan wrote: I haven't looked at all the new clock/timer code, is there any utility in having support for more than one clock source? Of course, you may register as many as you like. Sure, but is there any utility in registering more than the decrementer on PPC? Not

Re: [patch] CFS scheduler, -v13

2007-05-18 Thread Michael Lothian
Just thought I'd let you know that CFS is working on the PS3 neutrino boot # dmesg Using PS3 machine description Page orders: linear mapping = 24, virtual = 12, io = 12 Starting Linux PPC64 #1 SMP Fri May 18 09:26:38 UTC 2007 - ppc64_pft_size

Re: [PATCH] x86_64: mcelog tolerant level cleanup

2007-05-18 Thread Tim Hockin
On 5/18/07, Andi Kleen [EMAIL PROTECTED] wrote: * If RIPV is set it is not safe to restart, so set the 'no way out' flag rather than the 'kill it' flag. Why? It is not PCC. We cannot return of course, but killing isn't returning. My understanding is that the absence of RIPV

Re: [PATCH] drivers/ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-05-18 Thread Alan Cox
On Fri, 18 May 2007 10:34:35 -0400 Jeff Garzik [EMAIL PROTECTED] wrote: Alan Cox wrote: That shouldn't be a problem, libata default DMA mask is 32 bits (which isn't overridden with this controller) and so the block layer will bounce any data being read/written above that point with IOMMU

[PATCH/REDIFF] Cleanup libata HPA support

2007-05-18 Thread Ben Collins
(Rediffed against latest git) The original HPA patch that Kyle worked on has gone into current git without some fixes that we worked through late in the Ubuntu feisty release. Here's the main copy of the notes I sent to Alan a few weeks ago in regards to the original patch, and a repatch against

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Sergei Shtylyov
Daniel Walker wrote: I haven't looked at all the new clock/timer code, is there any utility in having support for more than one clock source? There is if the main clocksource has some issues where it can't be used. You mean, having more than one clocksource is *useful* in this case?

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Daniel Walker
On Thu, 2007-05-17 at 13:17 -0500, Kumar Gala wrote: I haven't looked at all the new clock/timer code, is there any utility in having support for more than one clock source? There is if the main clocksource has some issues where it can't be used. On x86 there are lots of different issues

Re: [oops] in bluetooth

2007-05-18 Thread Pavel Machek
Hi! I played with rfcomm here -- I'm trying to emulate bluetooth gps using normal pc -- and got couple of oopses. [EMAIL PROTECTED]:~$ uname -a Linux amd 2.6.21 #421 SMP Fri Apr 27 15:06:54 CEST 2007 i686 GNU/Linux [EMAIL PROTECTED]:~$ can you try with 2.6.22-rc1. I have seen

Dumping the checksums in a module

2007-05-18 Thread John Sigler
Hello everyone, I'm getting disagrees about version of symbol struct_module messages, and I'm trying to understand why. As far as I understand (which is not very far), if I define CONFIG_MODVERSIONS, then checksums for various functions (all exported functions?) and various structures

Re: Kernel NFS lockd freezes notebook on shutdown (Linux 2.6.22-rc1 + CFS v12)

2007-05-18 Thread Andrew Morton
On Fri, 18 May 2007 15:17:36 +0300 Zilvinas Valinskas [EMAIL PROTECTED] wrote: Have found this in dmesg (well earlier because of initcall_debug) I've never noticed that during boot (scrolls away too fast). Anyway - [7.841871] NetLabel: Initializing [7.841983] NetLabel: domain hash

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Matt Sealey
I already have that stuff, but it only implements the decrementer (in fact it's the patch submitted at the beginning of this thread). I got it because I was far more interested in the GPIO handling.. -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations Thomas Gleixner wrote:

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Daniel Walker
On Fri, 2007-05-18 at 19:06 +0400, Sergei Shtylyov wrote: Daniel Walker wrote: I haven't looked at all the new clock/timer code, is there any utility in having support for more than one clock source? There is if the main clocksource has some issues where it can't be used. You

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Sergei Shtylyov
Hello. Daniel Walker wrote: Well, the decrementer frequency may change, at least in theory (if the bus clock changes). Does that happen very often? Never, I hope. :-) Daniel WBR, Sergei - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [RFC] log out-of-virtual-memory events

2007-05-18 Thread Andrea Righi
Robin Holt wrote: On Fri, May 18, 2007 at 09:50:03AM +0200, Andrea Righi wrote: Rik van Riel wrote: Andrea Righi wrote: I'm looking for a way to keep track of the processes that fail to allocate new virtual memory. What do you think about the following approach (untested)? Looks like an

Increased ipw2200 power usage with dynticks

2007-05-18 Thread Björn Steinbrink
Hi, while playing around with powertop, I noticed that my power usage wasn't what it used to be. In total idle mode, everything was fine, but as soon as I loaded the ipw2200 module and bring up the device, power usage rises to about 16.8W, while kernel up to 2.6.20 used only about 15.3W. A day

Re: [rfc] increase struct page size?!

2007-05-18 Thread Hugh Dickins
On Fri, 18 May 2007, Nick Piggin wrote: If we add 8 bytes to struct page on 64-bit machines, it becomes 64 bytes, which is quite a nice number for cache purposes. However we don't have to let those 8 bytes go to waste: we can use them to store the virtual address of the page, which kind of

Re: [patch] CFS scheduler, -v13

2007-05-18 Thread Ingo Molnar
* Michael Lothian [EMAIL PROTECTED] wrote: Just thought I'd let you know that CFS is working on the PS3 heh, an important milestone i think =B-) Ingo - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [PATCH] Kconfig powernow-k8 driver should depend on ACPI P-States driver

2007-05-18 Thread Dave Jones
On Fri, May 18, 2007 at 12:09:38AM -0400, Ed Sweetman wrote: the previous post i keep referring you to has a patch that was mangled ...here is the non-mangled version --- ./linux-backup/arch/x86_64/kernel/cpufreq/Kconfig 2007-02-04 13:44:54.0 -0500 +++

Re: [RFC] log out-of-virtual-memory events

2007-05-18 Thread Andrea Righi
Andrea Righi wrote: Robin Holt wrote: On Fri, May 18, 2007 at 09:50:03AM +0200, Andrea Righi wrote: Rik van Riel wrote: Andrea Righi wrote: I'm looking for a way to keep track of the processes that fail to allocate new virtual memory. What do you think about the following approach

Re: [PATCH -mm] LZO: Further cleanup of the kernel LZO library headers

2007-05-18 Thread Heikki Orsila
On Fri, May 18, 2007 at 03:51:26PM +0100, Richard Purdie wrote: A further cleanup of the kernel LZO library headers which untangles and removes ~400 lines of defines. This doesn't change the core minilzo code so diffability is maintained. You should just throw away that. Guptas implementation

Re: [PATCH/REDIFF] Cleanup libata HPA support

2007-05-18 Thread Ben Collins
On Fri, 2007-05-18 at 11:06 -0400, Ben Collins wrote: (Rediffed against latest git) Added error check for ata_dev_read_id (Thanks tj) Also, since hpa is disabled by default, print the native size, even when HPA isn't asked for (so users and developers can know that it may need to be used).

Re: [PATCH - 1/1] Documentation/HOWTO

2007-05-18 Thread Robert P. J. Day
On Fri, 18 May 2007, debian developer wrote: ... -Managing bug reports - - -One of the best ways to put into practice your hacking skills is by fixing -bugs reported by other people. Not only you will help to make the kernel -more stable, you'll learn to fix real world

Re: [PATCH] Chaining sg lists for big IO commands v5

2007-05-18 Thread Badari Pulavarty
On Fri, 2007-05-18 at 09:33 +0200, Jens Axboe wrote: On Thu, May 17 2007, Badari Pulavarty wrote: On Thu, 2007-05-17 at 08:27 +0200, Jens Axboe wrote: .. Ah ok, you need the updated patch series for ppc64 support. Builds fine here on ppc64. See the #sglist branch of the

RE: 2.6.22-rc1-mm1 - s390 vs. md

2007-05-18 Thread Williams, Dan J
From: Cornelia Huck [mailto:[EMAIL PROTECTED] Finer granularity is certainly better here, but I'm not quite sure if this solves our s390 problem (we don't have dma support). All those backends should also have a non-dma version... In fact that is already there. Here is the form of

[2.6 patch] drivers/net/wireless/libertas/rx.c: fix use-after-free

2007-05-18 Thread Eugene Teo
libertas_upload_rx_packet() calls netif_rx() before returning, and it always return 0. Also within libertas_upload_rx_packet(), it will initialize skb-protocol anyways. Spotted by the Coverity checker. Signed-off-by: Eugene Teo [EMAIL PROTECTED] diff --git a/drivers/net/wireless/libertas/rx.c

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Matt Sealey
Kumar Gala wrote: On May 18, 2007, at 9:48 AM, Thomas Gleixner wrote: On Fri, 2007-05-18 at 15:28 +0100, Matt Sealey wrote: I think both the MPC52xx GPT0-7 and the SLT0-1 fulfil this fairly easily. There is some basic work for MPC5200 available:

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Matt Sealey
Thomas Gleixner wrote: On Fri, 2007-05-18 at 11:31 -0500, Kumar Gala wrote: I asked this earlier, but figured you might have a better insight. Is their value in having 'drivers' for more than one clock source? I'd say most (of not all) the PPC SoCs have timers on the system side that

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Thomas Gleixner
On Fri, 2007-05-18 at 11:31 -0500, Kumar Gala wrote: I asked this earlier, but figured you might have a better insight. Is their value in having 'drivers' for more than one clock source? I'd say most (of not all) the PPC SoCs have timers on the system side that we could provide drivers

Re: [RFC] log out-of-virtual-memory events

2007-05-18 Thread Bernd Eckenfels
In article [EMAIL PROTECTED] you wrote: + printk(KERN_INFO + out of virtual memory for process %d (%s): total_vm=%lu, uid=%d\n, + current-pid, current-comm, total_vm, current-uid); And align this one with the print_fatal layout: printk(KERN_WARNING

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-18 Thread Kumar Gala
On May 18, 2007, at 9:48 AM, Thomas Gleixner wrote: On Fri, 2007-05-18 at 15:28 +0100, Matt Sealey wrote: I guess the real question is, how high resolution does a high resolution timer need to be, In the order of microseconds. I think both the MPC52xx GPT0-7 and the SLT0-1 fulfil

<    1   2   3   4   5   6   7   8   >