Re: Linux 2.6.20-rc6 - sky2 resume breakage

2007-01-30 Thread Jeff Garzik
Ingo Molnar wrote: btw., it would be great if you could help us here: could you perhaps, from a past example, outline a specific case of such an ATA/USB IRQ storm and how it occured (precisely) - and what the fix was? I'd like to analyze a specific case to make sure the genirq layer recovers fr

Re: Linux 2.6.20-rc6 - sky2 resume breakage

2007-01-30 Thread Ingo Molnar
* Jeff Garzik <[EMAIL PROTECTED]> wrote: > Sharing irqs /sucks/. [...] btw., MSI is not really needed to avoid the sharing of irqs: x86 has 224 IRQ vectors which is abundant for all but the largest boxes. Even the smallest laptop tends to have an IO-APIC with at least 24 pins - which is enoug

Re: Linux 2.6.20-rc6 - sky2 resume breakage

2007-01-30 Thread Ingo Molnar
* Jeff Garzik <[EMAIL PROTECTED]> wrote: > Easy to name an example, as they are pretty generic. When sharing > irqs -- usually ATA is configured to PCI native (IO-APIC-fasteoi) -- > any interrupt storm causes the other devices sharing that irq to crap > themselves (kernel turns off irq, sugge

Re: [BUG] 2.6.20-rc3-mm1: can not mount root

2007-01-30 Thread Andrew Morton
On Fri, 5 Jan 2007 17:20:38 +0300 "Tomasz Kvarsin" <[EMAIL PROTECTED]> wrote: > I can not boot machine with 2.6.20-rc3-mm1 and 2.6.20-rc2-mm1. > I made binary search, patch bellow cause this bug: > $quilt top > patches/sched-improve-sched_clock-on-i686.patch > > backtrace which I got by connecti

Re: Linux 2.6.20-rc6 - sky2 resume breakage

2007-01-30 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > I /think/ my two patches should automatically avoid the 'cap themselves' ^--crap > effect you outlined: the absolutely worst case should be that we'll > have twice the IRQ rate of the optimal

Re: 2.6.20-rc6-mm3

2007-01-30 Thread Sunil Naidu
On 1/30/07, Andrew Morton <[EMAIL PROTECTED]> wrote: - If you hit a bug in -mm and it is not obvious which patch caused it, it is most valuable if you can perform a bisection search to identify which patch introduced the bug. Instructions for this process are at I am hit with a compile er

Re: [BUG] 2.6.20-rc3-mm1: can not mount root

2007-01-30 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > Tomasz, is this still happening in 2.6.20-rc6-mm3? > > err. We merged that patch. So perhaps 2.6.20-rc6 now crashes in the > same manner? no, we havent merged that patch yet, but it's: x86_64-mm-improve-sched_clock-on-i686.patch I bet this is

Re: [BUG] 2.6.20-rc3-mm1: can not mount root

2007-01-30 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > I'll try to reproduce this. cannot see the crash in qemu - i suspect it's .config dependent. Tomasz, could you send me the .config you used? Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

Re: via irq quirk breakage

2007-01-30 Thread Nick Piggin
Hi Jean, Jean Delvare wrote: You have an old VT82C686 south bridge, which was tagged as "special" by Alan. For this chip, Alan's code only allows devices 00:00.x to be quirked. As my code was merely a reimplementation of Alan's idea, it does the same. Your USB controllers are at 00:07.x, so I'm

Re: 2.6.20-rc6-mm3

2007-01-30 Thread Andrew Morton
On Tue, 30 Jan 2007 13:46:54 +0530 "Sunil Naidu" <[EMAIL PROTECTED]> wrote: > On 1/30/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > - If you hit a bug in -mm and it is not obvious which patch caused it, it is > > most valuable if you can perform a bisection search to identify which > > p

Re: [Ksummit-2007-discuss] Re: [Ksummit-2006-discuss] 2007 LinuxKernel Summit

2007-01-30 Thread Arnd Bergmann
On Tuesday 30 January 2007 05:24, Dirk Hohndel wrote: > > > I thought there was coldfire mentioned too, or maybe my memory is > > playing tricks on me.  Maybe I'm misremembering the ppc bit. > > I believe we had AMD, Freescale and Intel last year, no PPC. Freescale's bigger CPUs are all PPC, alt

Re: [PATCH] sysctl selinux: Don't look at table->de

2007-01-30 Thread Russell Coker
On Tuesday 30 January 2007 05:43, Stephen Smalley <[EMAIL PROTECTED]> wrote: > True, but a system that disables proc is likely a system with a custom > policy anyway, In practice we have to extensively customise policy long before getting to the non-proc stage of optimising for small hardware. T

Re: [RFC, PATCH 0/4] Add support to OProfile for profiling Cell BE SPUs -- update

2007-01-30 Thread Arnd Bergmann
On Monday 29 January 2007 20:45, Maynard Johnson wrote: > On December 14, 2006, I posted a patch that added support to the > OProfile kernel driver for profiling Cell SPUs.  There have been some > changes/fixes to this patch since the original posting (including > forward porting from 2.6.18-bas

Re: Linux 2.6.20-rc6 - sky2 resume breakage

2007-01-30 Thread Len Brown
On Monday 29 January 2007 19:12, Linus Torvalds wrote: > > On Mon, 29 Jan 2007, Stephen Hemminger wrote: > > > > Why do you insist on maintaining the wrong initialization order > > on resume? When I raised the issue, Len brought up that the resume > > order did not match spec, but then there has

Re: [BUG] 2.6.20-rc3-mm1: can not mount root

2007-01-30 Thread Tomasz Kvarsin
On 1/30/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Fri, 5 Jan 2007 17:20:38 +0300 "Tomasz Kvarsin" <[EMAIL PROTECTED]> wrote: > I can not boot machine with 2.6.20-rc3-mm1 and 2.6.20-rc2-mm1. > I made binary search, patch bellow cause this bug: > $quilt top > patches/sched-improve-sched_clo

Re: 2.6.20-rc6-mm3

2007-01-30 Thread Olivier Galibert
On Mon, Jan 29, 2007 at 08:45:28PM -0800, Andrew Morton wrote: > -x86_64-mm-share-whats-shareable.patch > -x86_64-mm-only-call-unreachable_devices-when-type-1-is-available.patch > -x86_64-mm-only-map-whats-necessary.patch > -x86_64-mm-detect-and-support-the-e7520-and-the-945g-gz-p-pl.patch > -x86_6

Re: Multiple ip= boot arguments?

2007-01-30 Thread Jan Engelhardt
On Jan 30 2007 03:53, pradeep wrote: > Jan Engelhardt wrote: >> On Jan 29 2007 12:36, Kevin Nicoll wrote: >> >> > or if I'm supposed to use a startup script instead. >> >> This is the preffered way nowadays. One day, hopefully, >> CONFIG_IP_PNP can go away. >> > CONFIG_IP_PNP is required while

Re: [Ksummit-2007-discuss] 2007 Linux Kernel Summit

2007-01-30 Thread Oleg Verych
> From: Theodore Tso > Newsgroups: gmane.linux.kernel > Subject: Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit > Date: Thu, 25 Jan 2007 22:28:49 -0500 [] > I did give you a response. Find a way to pay for 80+ kernel summit > invitees to travel to India (preferably in business class :-), and

hunting on open source developers (Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit)

2007-01-30 Thread Oleg Verych
> From: Theodore Tso > Newsgroups: gmane.linux.kernel > Subject: Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit > Date: Thu, 25 Jan 2007 22:28:49 -0500 [] > (Unless perhaps in some conspiracy theory scenario where Microsoft pays > $$$ to some VC company to sponsor an event in Moskow, and then

Re: 2.6.20-rc6-mm3

2007-01-30 Thread Andrew Morton
On Tue, 30 Jan 2007 10:06:45 +0100 Olivier Galibert <[EMAIL PROTECTED]> wrote: > On Mon, Jan 29, 2007 at 08:45:28PM -0800, Andrew Morton wrote: > > -x86_64-mm-share-whats-shareable.patch > > -x86_64-mm-only-call-unreachable_devices-when-type-1-is-available.patch > > -x86_64-mm-only-map-whats-neces

[patch] genirq: do not mask interrupts by default

2007-01-30 Thread Ingo Molnar
Subject: [patch] genirq: do not mask interrupts by default From: Ingo Molnar <[EMAIL PROTECTED]> never mask interrupts immediately upon request. Disabling interrupts in high-performance codepaths is rare, and on the other hand this change could recover lost edges (or even other types of lost int

[patch] genirq: remove IRQ_DISABLED

2007-01-30 Thread Ingo Molnar
Subject: [patch] genirq: remove IRQ_DISABLED From: Ingo Molnar <[EMAIL PROTECTED]> now that disable_irq() defaults to delayed-disable semantics, the IRQ_DISABLED flag is not needed anymore. Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> --- arch/arm/kernel/irq.c |3 +-- arch

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-30 Thread Vojtech Pavlik
On Mon, Jan 29, 2007 at 11:42:08PM +0100, Alessandro Di Marco wrote: > Pavel Machek <[EMAIL PROTECTED]> writes: > >Hi! > >>The /proc/bus/input/devices has an extensible structure. You can just >>add an "A:" line (for Activity) instead of adding a new proc file. >> >>

Re: [Ksummit-2007-discuss] 2007 Linux Kernel Summit

2007-01-30 Thread Dave Airlie
Rather, than "business class ;-)", i whould like to see comments about good quality video coverage of the KS, which (KS) is that, as you described here: KS isn't a conference that lends itself to recording ppl a lot of people seem to think it is like a mini-OLS or mini-LCA, it is more discussio

Re: [ANN] Userspace M-on-N threading model implementation. Alpha release.

2007-01-30 Thread Evgeniy Polyakov
On Mon, Jan 29, 2007 at 10:40:42AM -0600, Chris Friesen ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov wrote: > >Hello. > > > >I'm pleased to announce initial userspace M-on-N threading model > >implementation (for hackers) called NTL. > > If you haven't already, I suggest you look into the story

Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages

2007-01-30 Thread Peter Zijlstra
On Mon, 2007-01-29 at 16:09 -0800, Andrew Morton wrote: > On Mon, 29 Jan 2007 15:37:29 -0800 (PST) > Christoph Lameter <[EMAIL PROTECTED]> wrote: > > > With a alloc_pages_range() one would be able to specify upper and lower > > boundaries. > > Is there a proposal anywhere regarding how this woul

Re: [ANN] Userspace M-on-N threading model implementation. Alpha release.

2007-01-30 Thread Evgeniy Polyakov
On Tue, Jan 30, 2007 at 02:18:17AM +0100, Samuel Thibault ([EMAIL PROTECTED]) wrote: > Hi, > > Evgenity, le Mon 29 Jan 2007 16:47:36 +0100, a écrit : > > Userspace M-on-N threading model is based on the idea, that when signal > > is delivered, kernel saves all information related to previous cont

Re: 2.6.20-rc6-mm3

2007-01-30 Thread Evgeniy Polyakov
On Mon, Jan 29, 2007 at 09:11:39PM -0800, Andrew Morton ([EMAIL PROTECTED]) wrote: > > Now that kevent work has settled down, would you be open to including it > > in -mm? > > > > I just haven't had the bandwidth to track what's been happening there > lately. The two main things which need to

Re: [PATCH 4/4] fs/unionfs/: Don't duplicate the struct nameidata

2007-01-30 Thread Christoph Hellwig
On Mon, Jan 29, 2007 at 03:37:42PM -0500, Josef 'Jeff' Sipek wrote: > The only fields that we have to watch out for are the dentry and vfsmount. > Additionally, this makes Unionfs gentler on the stack as nameidata is rather > large. That's onviously not true at all. To handle any filesystems usin

Re: Why active list and inactive list?

2007-01-30 Thread Howard Chu
Peter Zijlstra <[EMAIL PROTECTED]> said: I'm still torn between CLOCK-Pro and CART. CLOCK-Pro is still vulnerable to the cyclic scan use case, since at that time all pages will have equal distance. I was recently testing CLOCK-Pro for the entry cache in OpenLDAP, with this cyclic scan case.

Re: bug reading /proc/sys/kernel/*: only first byte read.

2007-01-30 Thread Andrew Morton
On Fri, 20 Oct 2006 16:43:39 +0400 Michael Tokarev <[EMAIL PROTECTED]> wrote: > I were debugging a weird problem with busybox, and come across > this chunk of strace output: > > open("/proc/sys/kernel/osrelease", O_RDONLY) = 3 > read(3, "2", 1) = 1 > read(3, "", 1)

Re: [PATCH] sysctl selinux: Don't look at table->de

2007-01-30 Thread Christoph Hellwig
On Mon, Jan 29, 2007 at 11:08:39AM -0800, Casey Schaufler wrote: > Alternativly you could move the SELinux specific > bits out of /proc/self/attr into an equivalent > /selinux/self/attr and avoid that /proc dependency. Why? procfs is essential for any kind of fullblown linux system, and the selin

[PATCH 0/6] AKT - Automatic Kernel Tunables

2007-01-30 Thread Nadia . Derbey
Re-sending the series of patches for the automatic kernel tunables feature: have done some fixes after the remarks sent back by Andrew and Randy. 1) All the type independent macros have been removed, except for the automatic tuning routine: it manages pointers to the tunable and to the value to be

[PATCH 1/6] AKT - Tunable structure and registration routines

2007-01-30 Thread Nadia . Derbey
[PATCH 01/06] Defines the auto_tune structure: this is the structure that contains the information needed by the adjustment routine for a given tunable. Also defines the registration routines. The fork kernel component defines a tunable structure for the threads-max tunable and registers it. Si

[PATCH 3/6] AKT - tunables associated kobjects

2007-01-30 Thread Nadia . Derbey
[PATCH 03/06] Introduces the kobjects associated to each tunable and the sysfs registration Signed-off-by: Nadia Derbey <[EMAIL PROTECTED]> --- include/linux/akt.h | 25 - init/main.c |1 kernel/autotune/Makefile|2 kernel/autotune/akt.c

[PATCH 2/6] AKT - auto_tuning activation

2007-01-30 Thread Nadia . Derbey
[PATCH 02/06] Introduces the auto-tuning activation routine The auto-tuning routine is called by the fork kernel component Signed-off-by: Nadia Derbey <[EMAIL PROTECTED]> --- include/linux/akt.h | 51 +++ kernel/exit.c | 11 ++

Re: [PATCH] TSL2550 support (I2C device driver)

2007-01-30 Thread Rodolfo Giometti
On Mon, Jan 29, 2007 at 06:39:50PM -0800, Andrew Morton wrote: > > +/* Insmod parameters */ > > +I2C_CLIENT_INSMOD_1(tsl2550); > > + > > +static int operating_mode = 0; > > The `= 0' is unneeded and undesirable. Fixed. > > ... > > > > +static int tsl2550_get_adc_value(struct i2c_client *client,

[PATCH 5/6] AKT - per namespace tunables

2007-01-30 Thread Nadia . Derbey
[PATCH 05/06] This patch introduces all that is needed to process per namespace tunables. Signed-off-by: Nadia Derbey <[EMAIL PROTECTED]> --- include/linux/akt.h | 12 ++ kernel/autotune/akt.c | 94 +- 2 files changed, 83 insertions(+

[PATCH 6/6] AKT - automatic tuning applied to some kernel components

2007-01-30 Thread Nadia . Derbey
[PATCH 06/06] The following kernel components register a tunable structure and call the auto-tuning routine: . file system . shared memory (per namespace) . semaphore (per namespace) . message queues (per namespace) Signed-off-by: Nadia Derbey <[EMAIL PROTECTED]> --- fs/file_table.c

[PATCH 4/6] AKT - min and max kobjects

2007-01-30 Thread Nadia . Derbey
[PATCH 04/06] Introduces the kobjects associated to each tunable min and max value Signed-off-by: Nadia Derbey <[EMAIL PROTECTED]> --- include/linux/akt.h | 14 kernel/autotune/akt.c | 148 kernel/autotune/akt_sysfs.c | 16

Re: 2.6.20-rc6-mm2

2007-01-30 Thread Maciej Rutecki
Thomas Gleixner napisał(a): > On Mon, 2007-01-29 at 12:02 +0100, Jiri Kosina wrote: >> I guess that it's caused by some timer changes (added Thomas and Ingo to >> CC), which confuse the softlockup detector sense of time? > > Does the patch below fix this ? > I had similar bug while resume, thi

Re: [Ksummit-2007-discuss] Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-30 Thread Christoph Hellwig
On Mon, Jan 29, 2007 at 11:34:21PM -0500, Dave Jones wrote: > It might be worth putting together a list of do's and don'ts for the > CPU architects if we have a panel again this year (and its usually > a fairly popular session, so I'd be surprised if it got dropped). > something along the lines of

Re: [Ksummit-2007-discuss] Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-30 Thread Christoph Hellwig
On Mon, Jan 29, 2007 at 11:11:54PM -0600, James Bottomley wrote: > Networking > Wireless > Filesystems > Storage > Power Management > > And probably several others I can't remember. Right at the moment, the > organisation and funding for all of these is completely ad-hoc, so if > mini summits are

Re: [PATCH] TSL2550 support (I2C device driver)

2007-01-30 Thread Andrew Morton
On Tue, 30 Jan 2007 11:26:42 +0100 Rodolfo Giometti <[EMAIL PROTECTED]> wrote: > > > +static int tsl2550_get_adc_value(struct i2c_client *client, int channel) > > > +{ > > > + u8 cmd = channel == 0 ? TSL2550_READ_ADC0 : TSL2550_READ_ADC1; > > > + int timeout, ret; > > > + > > > + /* Read ADC chann

Re: [Cbe-oss-dev] [RFC, PATCH 1/4] Add support to OProfile for profiling Cell BE SPUs -- update

2007-01-30 Thread Christoph Hellwig
On Mon, Jan 29, 2007 at 01:46:50PM -0600, Maynard Johnson wrote: > > I don't think the macro removal is helpful, getting rid of the names makes the code less readable to me. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mo

Re: [Cbe-oss-dev] [RFC, PATCH 4/4] Add support to OProfile for profiling Cell BE SPUs -- update

2007-01-30 Thread Christoph Hellwig
On Tue, Jan 30, 2007 at 06:53:50PM +1100, Benjamin Herrenschmidt wrote: > > > > +/* Defines used for sync_start */ > > > +#define SKIP_GENERIC_SYNC 0 > > > +#define SYNC_START_ERROR -1 > > > +#define DO_GENERIC_SYNC 1 > > > + > > > +typedef struct vma_map > > > +{ > > > + struct vma_map *nex

Re: [ANN] Userspace M-on-N threading model implementation. Alpha release.

2007-01-30 Thread Evgeniy Polyakov
On Tue, Jan 30, 2007 at 11:24:51AM +0100, Samuel Thibault ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov, le Tue 30 Jan 2007 12:53:16 +0300, a écrit : > > > You may want to have a look at some existing implementations: > > > > I saw most of them. > > As far as I recall, only PTL (is not shown here

Re: XFS or Kernel Problem / Bug

2007-01-30 Thread Stefan Priebe - FH
Hi! Any News? Stefan Stefan Priebe - FH schrieb: Hi! OK - i rechecked everything. We've 22 Servers with the DFI PM-12 Mainboard with VIA Chipset. But only the 5 oldest of them (before 2004 / 01 / 20) (we've buyed all in a range of 10 month) have this problem. So i think it is a mixture

Re: SATA ahci Bug in 2.6.19.x

2007-01-30 Thread Stefan Priebe - FH
Hi! Any News? Stefan Stefan Priebe - FH schrieb: Hi! acpi=off does not help i've already tried that. Ok here some outputs: 1.) complete dmesg with 2.6.16.27 (works) Linux version 2.6.16.27amd ([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #6 SMP Sat Aug 26 14:29:07 CEST 2006

Re: [PATCH] cdev.h needs struct inode; add forward declaration

2007-01-30 Thread Jan Engelhardt
>include/linux/cdev.h defines cd_forget to take a struct inode *, but does not >pull in any definition or declaration for struct inode. This generates a >compiler warning if a source file pulls in cdev.h without first pulling in >fs.h. Add a forward declaration of struct inode to cdev.h, to elim

Re: [ANN] Userspace M-on-N threading model implementation. Alpha release.

2007-01-30 Thread Samuel Thibault
Evgeniy Polyakov, le Tue 30 Jan 2007 12:53:16 +0300, a écrit : > > You may want to have a look at some existing implementations: > > I saw most of them. > As far as I recall, only PTL (is not shown here) has preemptible > scheduler. NTL has it too, but is based on different approach. Marcel has a

Re: [Bluez-devel] trouble with sysfs and bluetooth

2007-01-30 Thread Marcel Holtmann
Hi Oliver, > I am constantly getting these messages in 2.6.20-rc6 Greg's tree: > > Jan 30 11:26:42 valisk kernel: Bluetooth: Core ver 2.11 > Jan 30 11:26:42 valisk kernel: PM: Adding info for platform:bluetooth > Jan 30 11:26:42 valisk kernel: kobject_add failed for bluetooth with -EEXIST, > don

Re: Free Linux Driver Development!

2007-01-30 Thread Jan Engelhardt
>Subject: Free Linux Driver Development! > >Free Linux Driver Development! > >Yes, that's right, the Linux kernel community is offering all companies >free Linux driver development. No longer do you have to suffer through >all of the different examples in the Linux Device Driver Kit, or pick >th

Re: Concurrent Page Cache

2007-01-30 Thread Howard Chu
This ladder locking is also known as lock-coupling in the database world. It's a good solution when you have lots of tasks and need high concurrency, and proven in a lot of literature. You might notice more overhead if you only have a small number of tasks (e.g. 2-3) but it definitely scales bet

Re: Why active list and inactive list?

2007-01-30 Thread Howard Chu
Rik van Riel <[EMAIL PROTECTED]> wrote: CLOCK-Pro is still vulnerable to the cyclic scan use case, since at that time all pages will have equal distance. That's fixable. Just bias in favor of the already active pages and only let pages with a clearly smaller interreference distance replace the

2.6.19.1: kernel BUG at mm/slab.c:2911!

2007-01-30 Thread Martin MOKREJŠ
Hi, is this a known issue? Should I bother to upgrade to 2.6.19.2 if it contains the fix? Thank you any help. It might be related to NFS. The machine in question is NFSv3 client, udp. And used for computations. The process which died is from torque cluster management package. Please Cc: me in

swap map

2007-01-30 Thread Howard Chu
In the it-would-be-nice department... While I was twiddling with swappiness and benchmarking some code, I thought it would be pretty cool if there was a node in /proc/ that would show which pages of a process are resident or nonresident. I'm not sure that it would be useful very often, but I was

Re: swap map

2007-01-30 Thread Christoph Hellwig
On Tue, Jan 30, 2007 at 03:12:35AM -0800, Howard Chu wrote: > In the it-would-be-nice department... While I was twiddling with swappiness > and benchmarking some code, I thought it would be pretty cool if there was > a node in /proc/ that would show which pages of a process are resident > or non

[PATCH 001/001] I2C: TSL2550 support

2007-01-30 Thread Rodolfo Giometti
From: Rodolfo Giometti <[EMAIL PROTECTED]> Patch to add support for Taos TSL2550 ambient light sensors. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig index 87ee3ce..18e60ec 100644 --- a/drivers/i2c/chips/Kconfig +++ b/

[PATCH] Add "is_power_of_2" checking to log2.h.

2007-01-30 Thread Robert P. J. Day
Add the inline function "is_power_of_2()" to log2.h, where the value zero is *not* considered to be a power of two. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- while people are coming up with more and more clever ways to do rounding, we can at least add the check for power-of-2

Re: swap map

2007-01-30 Thread Nick Piggin
Christoph Hellwig wrote: On Tue, Jan 30, 2007 at 03:12:35AM -0800, Howard Chu wrote: In the it-would-be-nice department... While I was twiddling with swappiness and benchmarking some code, I thought it would be pretty cool if there was a node in /proc/ that would show which pages of a process

Re: via irq quirk breakage

2007-01-30 Thread Sergey Vlasov
On Tue, 30 Jan 2007 08:54:05 +0100 Jean Delvare wrote: > You have an old VT82C686 south bridge, which was tagged as "special" by > Alan. For this chip, Alan's code only allows devices 00:00.x to be quirked. > As my code was merely a reimplementation of Alan's idea, it does the same. > Your USB con

Re: 2.6.20-rc6-mm3 - interesting dmesg

2007-01-30 Thread Sunil Naidu
Hi Andrew, I did compile the same, it's a trouble free boot. I did observe interesting changes in the dmesg between 2.6.20-rc6 & 2.6.20-rc6-mm3 (wondering why there are so many changes in the output). Anyway, the changes in brief:- a) ACPI values b) pnp - iomem range reserved values c) Drive sel

[ OOPS ] at do_futex with 2.6.20-RC5-RT10

2007-01-30 Thread Henri Hunnekens
Dear Ingo, I've an made an application which causes an OOPS using kernel version 2.6.20-RC5-RT10 ( also seen with older verison 2.6.19.1-rt15 ) + FC6 userland. The application periodically calls the libc system() routine. The system() routine just calls a simple external bash script. The applica

Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-30 Thread Martin Schwidefsky
On Tue, 2007-01-30 at 08:40 +0300, Dmitriy Monakhov wrote: > > > > The function changes mem limit to USER_DS before possible modprobe, but > > > > never restored it again. > Truly. The road to hell is paved with good intentions. :-) > > For architectures with a split address space there has to be

Re: [PATCH] Add "is_power_of_2" checking to log2.h.

2007-01-30 Thread Nick Piggin
Robert P. J. Day wrote: Add the inline function "is_power_of_2()" to log2.h, where the value zero is *not* considered to be a power of two. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> /* + * Determine whether some value is a power of two, where zero is + * *not* considered a powe

[PATCH] VIA IRQ quirk breakage fix

2007-01-30 Thread Jean Delvare
Hi Sergey, Le Mardi 30 Janvier 2007 12:47, Sergey Vlasov a écrit : > On Tue, 30 Jan 2007 08:54:05 +0100 Jean Delvare wrote: > > You have an old VT82C686 south bridge, which was tagged as "special" by > > Alan. For this chip, Alan's code only allows devices 00:00.x to be > > quirked. As my code was

Re: via irq quirk breakage

2007-01-30 Thread Jean Delvare
Alan, Le Lundi 29 Janvier 2007 16:51, Alan a écrit : > This is a lot neater than the original patch too. Only problem I see is > pci=reverse might need more care. What do you mean exactly? I thought pci=reverse had been dropped years ago? -- Jean Delvare Suse L3 - To unsubscribe from this list:

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-30 Thread Alessandro Di Marco
Vojtech Pavlik <[EMAIL PROTECTED]> writes: On Mon, Jan 29, 2007 at 11:42:08PM +0100, Alessandro Di Marco wrote: > OK, but what about the time-warp problem?. To fix it I need to know when the > system goes to sleep/resumes. In SIN I've solved via the platform driver, > introducing sus

Re: intel-agp PM experiences (was: 2.6.20-rc5: usb mouse breaks suspend to ram)

2007-01-30 Thread Wang Zhenyu
On 2007.01.29 22:30:53 +, Andreas Mohr wrote: > > I've post a patch which trys to resolve pci config restore issue, see > > http://lkml.org/lkml/2007/1/16/297. It resolves s3 issue with my 965G > > machine, > > that my X can come back to live after s3, but I wasn't aware of the issues > > And

Re: [PATCH 0/4] coredump: core dump masking support v2

2007-01-30 Thread Robin Holt
On Tue, Jan 30, 2007 at 04:36:34PM +0900, Kawai, Hidehiro wrote: > Hi Robin, > > Robin Holt wrote: > > Can you make this a little more transparent? Having a magic bitmask does > > not seem like the best way to do stuff. Could you maybe make a core_flags > > directory with a seperate file for eac

Re: Oops on serial access on kernel 2.6.16.38

2007-01-30 Thread Jose Goncalves
Jose Goncalves wrote: > Frederik Deweerdt wrote: > >> On Fri, Jan 26, 2007 at 06:17:03PM +, Jose Goncalves wrote: >> >> >>> Frederik Deweerdt wrote: >>> >>> On Fri, Jan 26, 2007 at 03:50:25PM +, Jose Goncalves wrote: > I'm ha

Re: [PATCH] Add "is_power_of_2" checking to log2.h.

2007-01-30 Thread Robert P. J. Day
On Tue, 30 Jan 2007, Nick Piggin wrote: > Robert P. J. Day wrote: > > Add the inline function "is_power_of_2()" to log2.h, where the value > > zero is *not* considered to be a power of two. > > > > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> > > > > /* > > + * Determine whether some

Re: [Ksummit-2007-discuss] 2007 Linux Kernel Summit

2007-01-30 Thread Oleg Verych
> From: "Dave Airlie" > Newsgroups: gmane.linux.kernel > Subject: Re: [Ksummit-2007-discuss] 2007 Linux Kernel Summit > Date: Tue, 30 Jan 2007 20:44:49 +1100 [] >> Rather, than "business class ;-)", i whould like to see comments about >> good quality video coverage of the KS, which (KS) is that, as

2.6.20-rc6-rt4 register_cpu_notification undefined

2007-01-30 Thread Rui Nuno Capela
Hi, Just to let you know that this my simple patch solves the 'register_cpu_notifier' being undefined when SMP is set but not HOTPLUG_CPU. Dunno if its the right thing, tho. Cheers -- rncbc aka Rui Nuno Capela [EMAIL PROTECTED] linux-2.6.20-rc6-rt4-cpu.patch Description: Binary data

Re: intel-agp PM experiences (was: 2.6.20-rc5: usb mouse breaks suspend to ram)

2007-01-30 Thread Andreas Mohr
Hi, On Tue, Jan 30, 2007 at 08:36:32PM +0800, Wang Zhenyu wrote: > On 2007.01.29 22:30:53 +, Andreas Mohr wrote: > Sorry I don't have 815G board nowadays, this board seems has two > pci devs, one for AGP bridge, another for integrated gfx card if no add-in > card. > So have you tried both cas

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-30 Thread Vojtech Pavlik
On Tue, Jan 30, 2007 at 01:33:10PM +0100, Alessandro Di Marco wrote: > Vojtech Pavlik <[EMAIL PROTECTED]> writes: > >On Mon, Jan 29, 2007 at 11:42:08PM +0100, Alessandro Di Marco wrote: > >> OK, but what about the time-warp problem?. To fix it I need to know when > the >> system goes

[PATCH] missing exports of pm_power_off() on alpha and sparc32

2007-01-30 Thread Al Viro
Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- arch/alpha/kernel/process.c |1 + arch/sparc/kernel/process.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c index 3370e6f..c151863 100644 --- a/arch/alpha/kernel

[PATCH] mtd/nand/cafe.c missing include of dma-mapping.h

2007-01-30 Thread Al Viro
Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- drivers/mtd/nand/cafe.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/cafe.c b/drivers/mtd/nand/cafe.c index b8d9b64..65f9bd3 100644 --- a/drivers/mtd/nand/cafe.c +++ b/drivers/mtd/nand/cafe.c @@ -14,6 +14,

[PATCH] fix indentation-related breakage in Kconfig.i386

2007-01-30 Thread Al Viro
Kconfig recognizes the end of help text by receding indentation depth. Recent patch had broken HOST_VMSPLIT_... choice in arch/um/Kconfig.i386 - all alternatives are interpreted as part of help text now. Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- arch/um/Kconfig.i386 | 16

[PATCH] pata_platform: fallout from set_mode() change

2007-01-30 Thread Al Viro
Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- drivers/ata/pata_platform.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c index 443b1d8..40ae11c 100644 --- a/drivers/ata/pata_platform.c +++ b/drivers/ata/pata_pl

[PATCH] b44: src_desc->addr is little-endian

2007-01-30 Thread Al Viro
Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- drivers/net/b44.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 5eb2ec6..cfc89bc 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c @@ -752,7 +752,7 @@ static void b44_recycl

[PATCH] dma-mapping.h stubs fix

2007-01-30 Thread Al Viro
do { } while(0) is not a good imitation of function returning void; use ((void)0) instead. Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- include/asm-alpha/dma-mapping.h |6 +++--- include/asm-powerpc/dma-mapping.h | 12 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff

Re: bug reading /proc/sys/kernel/*: only first byte read.

2007-01-30 Thread Oleg Nesterov
On 01/30, Andrew Morton wrote: > > @@ -1705,18 +1704,38 @@ static int _proc_do_string(void* data, i > ((char *) data)[len] = 0; > *ppos += *lenp; > } else { > - len = strlen(data); > + loff_t pos = *ppos; > + const size_t slen =

[PATCH] missing dma_sync_single_range_for{cpu,device} on alpha

2007-01-30 Thread Al Viro
no-op as all dma_sync_... there. Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- include/asm-alpha/dma-mapping.h | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/include/asm-alpha/dma-mapping.h b/include/asm-alpha/dma-mapping.h index 57e09f5..1919d72 100644 --

Re: [Ksummit-2007-discuss] Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-30 Thread Theodore Tso
On Mon, Jan 29, 2007 at 11:11:54PM -0600, James Bottomley wrote: > And probably several others I can't remember. Right at the moment, the > organisation and funding for all of these is completely ad-hoc, so if > mini summits are the way to go, it would certainly be better to move > them on to a mo

Re: [PATCH] pata_platform: fallout from set_mode() change

2007-01-30 Thread Jeff Garzik
Al Viro wrote: Signed-off-by: Al Viro <[EMAIL PROTECTED]> This is already in the queue via Andrew, who caught the same problem. Sometimes it seems like you and Andrew are the only people to build on non-x86 these days... Jeff - To unsubscribe from this list: send the line "unsubs

Re: [PATCH] VIA IRQ quirk breakage fix

2007-01-30 Thread Nick Piggin
Jean Delvare wrote: Hi Sergey, Le Mardi 30 Janvier 2007 12:47, Sergey Vlasov a écrit : The VT82C686 is very different from other devices, because it is a PCI chip, and its device number is determined by IDSEL wiring. Google shows that several different assignments are in use: 00:01.0: http:

Re: [Ksummit-2007-discuss] Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-30 Thread Peter Zijlstra
On Tue, 2007-01-30 at 08:30 -0500, Theodore Tso wrote: > On Mon, Jan 29, 2007 at 11:11:54PM -0600, James Bottomley wrote: > > And probably several others I can't remember. Right at the moment, the > > organisation and funding for all of these is completely ad-hoc, so if > > mini summits are the wa

Re: [PATCH] VIA IRQ quirk breakage fix

2007-01-30 Thread Jean Delvare
Hi Nick, Le Mardi 30 Janvier 2007 14:38, Nick Piggin a écrit : > Jean Delvare wrote: > > Yes, this sounds like the right thing to do. So here comes the third > > (and hopefully last) iteration of the patch: > > Thanks Jean, this patch works fine for me. Great, thanks for testing. > Is this 2.6.2

Re: [Ksummit-2007-discuss] Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-30 Thread Paul Mundt
On Tue, Jan 30, 2007 at 08:30:00AM -0500, Theodore Tso wrote: > On Mon, Jan 29, 2007 at 11:11:54PM -0600, James Bottomley wrote: > > And probably several others I can't remember. Right at the moment, the > > organisation and funding for all of these is completely ad-hoc, so if > > mini summits are

Re: bug reading /proc/sys/kernel/*: only first byte read.

2007-01-30 Thread Oleg Nesterov
On 01/30, Oleg Nesterov wrote: > > On 01/30, Andrew Morton wrote: > > > > + if (len + pos < maxlen) { > ^^^ > Shouldn't this be > if (len < *lenp) > > ? On the other hand. If we may assume that original code was c

Re: Fw: Re: [mm PATCH 4/6] RCU: (now) CPU hotplug

2007-01-30 Thread Gautham R Shenoy
On Mon, Jan 29, 2007 at 06:45:49PM -0800, Paul E. McKenney wrote: > > static int _cpu_down(unsigned int cpu) > { > int err; > struct task_struct *p; > cpumask_t old_allowed, tmp; > > if (num_online_cpus() == 1) >

Re: Advice on APM-EMU reunion

2007-01-30 Thread Ralf Baechle
On Tue, Jan 30, 2007 at 10:00:55AM +0900, Paul Mundt wrote: > http://article.gmane.org/gmane.linux.kernel/485831 > > However, it has since been reposted: > > http://article.gmane.org/gmane.linux.kernel/485833 > http://article.gmane.org/gmane.linux.kernel/485834 > http://article.gmane.org/gmane.l

Re: [PATCH] pata_platform: fallout from set_mode() change

2007-01-30 Thread Paul Mundt
On Tue, Jan 30, 2007 at 08:36:28AM -0500, Jeff Garzik wrote: > Al Viro wrote: > >Signed-off-by: Al Viro <[EMAIL PROTECTED]> > > This is already in the queue via Andrew, who caught the same problem. > > Sometimes it seems like you and Andrew are the only people to build on > non-x86 these days...

Re: Free Linux Driver Development!

2007-01-30 Thread Florian Weimer
* Greg KH: > Yes, that's right, the Linux kernel community is offering all companies > free Linux driver development. No longer do you have to suffer through > all of the different examples in the Linux Device Driver Kit, or pick > through the thousands of example drivers in the Linux kernel sour

Re: [PATCH] pata_platform: fallout from set_mode() change

2007-01-30 Thread Jeff Garzik
Paul Mundt wrote: On Tue, Jan 30, 2007 at 08:36:28AM -0500, Jeff Garzik wrote: Al Viro wrote: Signed-off-by: Al Viro <[EMAIL PROTECTED]> This is already in the queue via Andrew, who caught the same problem. Sometimes it seems like you and Andrew are the only people to build on non-x86 these

Re: via irq quirk breakage

2007-01-30 Thread Alan
> Well it works because I know I need that particular quirk applied to > my USB IRQ. But definitely it is a hack because I've otherwise got no > idea what I'm doing ;) The VIA quirks depend upon so many interacting things - the BIOS irq routing data being correct, the ACPI tables being coded by so

init/Kconfig:263: can't open file "usr/Kconfig" ==> when trying to configure new kernel

2007-01-30 Thread Philippe Dhont \(Sea-ro\)
hello, i have a 2.6.8.-3-686 etch debian system. i want to manually download and install a new kernel because of some errors when installing vmware for linux. so i downloaded the new kernel 2.6.19.2 and when i do a "make menuconfig", i get: ca-phlinux:/usr/src/linux-2.6.19.2# make menuconfig

Re: [-mm patch] BUG at net/sunrpc/svc.c:128 (was Re: 2.6.20-rc6-mm2)

2007-01-30 Thread Frederik Deweerdt
On Mon, Jan 29, 2007 at 09:49:50AM -0800, Christoph Lameter wrote: > On Mon, 29 Jan 2007, Andrew Morton wrote: > > > > static int > > > svc_pool_map_init_percpu(struct svc_pool_map *m) > > > { > > > - unsigned int maxpools = nr_node_ids; > > > + unsigned int maxpools = num_online_cpus(); > > >

  1   2   3   4   5   >