Re: [patch 1/3] split mmap

2007-03-25 Thread Peter Zijlstra
On Sat, 2007-03-24 at 23:07 +0100, Miklos Szeredi wrote: > From: Miklos Szeredi <[EMAIL PROTECTED]> > > This is a straightforward split of do_mmap_pgoff() into two functions: > > - do_mmap_pgoff() checks the parameters, and calculates the vma >flags. Then it calls > > - mmap_region(),

Re: [patch 3/3] update ctime and mtime for mmaped write

2007-03-25 Thread Peter Zijlstra
On Sat, 2007-03-24 at 23:11 +0100, Miklos Szeredi wrote: > From: Miklos Szeredi <[EMAIL PROTECTED]> > > Changes: > v3: > o rename is_page_modified to test_clear_page_modified > v2: > o set AS_CMTIME flag in clear_page_dirty_for_io() too > o don't clear AS_CMTIME in file_update_time() > o

[PATCH 1/2] MSR: Add support for safe variants

2007-03-25 Thread Jean Delvare
From: Rudolf Marek <[EMAIL PROTECTED]> Add support for _safe (exception handled) variants of rdmsr_on_cpu and wrmsr_on_cpu. This is needed for the upcoming coretemp hardware monitoring driver, which might step into non-existing (poorly documented) MSR. Signed-off-by: Rudolf Marek <[EMAIL

Re: [1/5] 2.6.21-rc4: known regressions (v2)

2007-03-25 Thread Adrian Bunk
On Sat, Mar 24, 2007 at 09:45:09PM -0700, David Miller wrote: > From: Adrian Bunk <[EMAIL PROTECTED]> > Date: Fri, 23 Mar 2007 19:48:17 +0100 > > > Subject: problem with sockets > > References : http://lkml.org/lkml/2007/3/21/248 > > Submitter : Jose Alberto Reguero <[EMAIL PROTECTED]> > >

[PATCH] dynticks: fix hrtimer rounding error in next_timer_interrupt

2007-03-25 Thread Thomas Gleixner
The rework of next_timer_interrupt() fixed the timer wheel bugs, but invented a rounding error versus the next hrtimer event. This is caused by the conversion of the hrtimer internal representation to relative jiffies. This causes bug #8100: http://bugzilla.kernel.org/show_bug.cgi?id=8100

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-25 Thread Rafael J. Wysocki
On Sunday, 25 March 2007 14:03, Eric W. Biederman wrote: > Thomas Meyer <[EMAIL PROTECTED]> writes: > > > Eric W. Biederman schrieb: > >> > >> Thomas could you verify the patch below makes the problem go away > >> for you. > >> > > > > The patch solves the problem. I'm writing this after the

Re: debug rsdl 0.33

2007-03-25 Thread Andy Whitcroft
Con Kolivas wrote: > On Saturday 24 March 2007 08:45, Con Kolivas wrote: >> On Friday 23 March 2007 23:28, Andy Whitcroft wrote: >>> Andy Whitcroft wrote: Con Kolivas wrote: > On Friday 23 March 2007 05:17, Andy Whitcroft wrote: >> Ok, I have yet a third x86_64 machine is is blowing

Re: [patch] sched: accurate user accounting

2007-03-25 Thread Gene Heskett
On Sunday 25 March 2007, Con Kolivas wrote: >On Sunday 25 March 2007 21:46, Con Kolivas wrote: >> On Sunday 25 March 2007 21:34, malc wrote: >> > On Sun, 25 Mar 2007, Ingo Molnar wrote: >> > > * Con Kolivas <[EMAIL PROTECTED]> wrote: >> > >> For an rsdl 0.33 patched kernel. Comments? Overhead

[PATCH] clocksource: Fix thinko in watchdog selection

2007-03-25 Thread Thomas Gleixner
The watchdog implementation excludes low res / non continuous clocksources from being selected as a watchdog reference unintentionally. Allow using jiffies/PIT as a watchdog reference as long as no better clocksource is available. This is necessary to detect TSC breakage on systems, which have no

Re: [patch] sched: accurate user accounting

2007-03-25 Thread Con Kolivas
On Sunday 25 March 2007 22:32, Gene Heskett wrote: > On Sunday 25 March 2007, Con Kolivas wrote: > >On Sunday 25 March 2007 21:46, Con Kolivas wrote: > >> On Sunday 25 March 2007 21:34, malc wrote: > >> > On Sun, 25 Mar 2007, Ingo Molnar wrote: > >> > > * Con Kolivas <[EMAIL PROTECTED]> wrote: >

Re: [patch] ntp: avoid integer overflow in do_adjtimex()

2007-03-25 Thread Thomas Gleixner
On Sun, 2007-03-25 at 13:14 +0200, Ingo Molnar wrote: > * Thomas Gleixner <[EMAIL PROTECTED]> wrote: > > > Here you go. It's ugly, but it should do the trick for now. > > > > tglx > > here's your patch with proper metadata: > > -> > From: Thomas Gleixner <[EMAIL

Kernel 2.6.20 takes a long time to load

2007-03-25 Thread Helmut Auer
Hello List, The kernel 2.6.20 makes a long delay during booting ( about 15 seconds ) after showing: NET: Registered protocol family 2 then it goes along with: IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 98304 bytes) ...

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-25 Thread Eric W. Biederman
"Rafael J. Wysocki" <[EMAIL PROTECTED]> writes: > Yes, in kernel/power/disk.c:power_down() . > > Please comment out the disable_nonboot_cpus() in there and retest (but please > test the latest Linus' tree). Why do we even need a disable_nonboot_cpus in that path? machine_shutdown on i386 and

Re: [patch] sched: accurate user accounting

2007-03-25 Thread malc
On Sun, 25 Mar 2007, Con Kolivas wrote: On Sunday 25 March 2007 21:46, Con Kolivas wrote: On Sunday 25 March 2007 21:34, malc wrote: On Sun, 25 Mar 2007, Ingo Molnar wrote: * Con Kolivas <[EMAIL PROTECTED]> wrote: For an rsdl 0.33 patched kernel. Comments? Overhead worth it? we want to do

Re: [patch] sched: accurate user accounting

2007-03-25 Thread malc
On Sun, 25 Mar 2007, Con Kolivas wrote: On Sunday 25 March 2007 21:46, Con Kolivas wrote: On Sunday 25 March 2007 21:34, malc wrote: On Sun, 25 Mar 2007, Ingo Molnar wrote: * Con Kolivas <[EMAIL PROTECTED]> wrote: For an rsdl 0.33 patched kernel. Comments? Overhead worth it? [..snip..]

some PCMCIA SCSI drivers can be built *only* as modules

2007-03-25 Thread Robert P. J. Day
drivers/scsi/pcmcia/Kconfig: ... config PCMCIA_AHA152X tristate "Adaptec AHA152X PCMCIA support" depends on m && !64BIT select SCSI_SPI_ATTRS help Say Y here if you intend to attach this type of PCMCIA SCSI host adapter to your computer.

Re: [patch] sched: accurate user accounting

2007-03-25 Thread Gene Heskett
On Sunday 25 March 2007, Con Kolivas wrote: >On Sunday 25 March 2007 22:32, Gene Heskett wrote: >> On Sunday 25 March 2007, Con Kolivas wrote: >> >On Sunday 25 March 2007 21:46, Con Kolivas wrote: >> >> On Sunday 25 March 2007 21:34, malc wrote: >> >> > On Sun, 25 Mar 2007, Ingo Molnar wrote: >>

Re: [PATCH] Add additional error check to mm/mincore.c

2007-03-25 Thread Hugh Dickins
On Sat, 24 Mar 2007, Bruce Dubbs wrote: > I some circumstances, mincore can succeed when it shouldn't. > > Example: > Two files are mmapped to a process and they are adjacent in memory. > If mincore is run with a requested length that is too large, the > function does not differentiate between

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-25 Thread Thomas Meyer
Eric W. Biederman schrieb: > Sounds possible. You could probably verify it isn't my patch but running > an unpatched kernel without msi support. As I think the crash you saw should > only be reproducible when using devices that support msi. > Without your patch and with pci=nomsi option the

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-25 Thread Thomas Meyer
Rafael J. Wysocki schrieb: > On Sunday, 25 March 2007 14:03, Eric W. Biederman wrote: > >> Thomas Meyer <[EMAIL PROTECTED]> writes: >> >> >>> Eric W. Biederman schrieb: >>> Thomas could you verify the patch below makes the problem go away for you. >>>

Re: [patch] sched: accurate user accounting

2007-03-25 Thread Con Kolivas
On Sunday 25 March 2007 23:06, malc wrote: > On Sun, 25 Mar 2007, Con Kolivas wrote: > > On Sunday 25 March 2007 21:46, Con Kolivas wrote: > >> On Sunday 25 March 2007 21:34, malc wrote: > >>> On Sun, 25 Mar 2007, Ingo Molnar wrote: > * Con Kolivas <[EMAIL PROTECTED]> wrote: > > For an

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-25 Thread Parag Warudkar
On 3/25/07, Jiri Kosina <[EMAIL PROTECTED]> wrote: First, is there any specific kernel version where this started to happen to you, or is this long-standing bug you have been experiencing with older kernels too? I am not sure about specific kernel version but I think this (2.6.20) is the first

Re: Early hang with 2.6.21-rc4-rt1

2007-03-25 Thread Roland Dreier
> > I'm trying to use 2.6.21-rc4-rt1 to track down who's keeping > > interrupts off for too long. [...] > btw., is this something you know for sure (if yes, how do you know?) - > or is it that you would like to double-check the irqs-off times of > v2.6.21-to-be? I finally got curious

Re: Linux-VServer example results for sharing vs. separate mappings ...

2007-03-25 Thread Herbert Poetzl
On Sat, Mar 24, 2007 at 08:29:51PM -0800, Andrew Morton wrote: > On Sun, 25 Mar 2007 04:21:56 +0200 Herbert Poetzl <[EMAIL PROTECTED]> wrote: > > > > a) slice the machine into 128 fake NUMA nodes, use each node as the > > >basic block of memory allocation, manage the binding between these > >

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-25 Thread Adrian Bunk
On Sun, Mar 25, 2007 at 01:41:33PM +0200, Thomas Meyer wrote: >... > The first suspend to disk is ok. The second suspend to disk has a > strange behaviour: > 1.) write pm image > 2.) the system disable the non-boot cpus again (i guess this happens in > power_down()) > 3.) the system doesn't power

[-mm patch] lguest: remove check_bug_kill()

2007-03-25 Thread Adrian Bunk
On Sun, Mar 25, 2007 at 05:33:45PM +1000, Rusty Russell wrote: > On Sat, 2007-03-24 at 14:06 +0100, Adrian Bunk wrote: > > On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: > > >... > > > Changes since 2.6.21-rc3-mm1: > > >... > > >

[2.6 patch] drivers/media/video/cpia_pp.c: convert to module_{init,exit}

2007-03-25 Thread Adrian Bunk
After looking at a section bug (in the non-modular case, clearly non-init code referenced the __initdata parport_nr[]), I thought it was time to convert this driver to module_{init,exit}. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/media/video/cpia_pp.c | 46

[-mm patch] drivers/eisa/pci_eisa.c:pci_eisa_init() should be init

2007-03-25 Thread Adrian Bunk
I was looking at the following section error: <-- snip --> WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:eisa_root_register from .text between 'pci_eisa_init' (at offset 0xabf670) and 'virtual_eisa_release' <-- snip --> AFAIK a PCI to EISA bridge isn't anything

[2.6 patch] make remove_inode_dquot_ref() static

2007-03-25 Thread Adrian Bunk
remove_inode_dquot_ref() can now become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Jan Kara <[EMAIL PROTECTED]> --- This patch was already sent on: - 20 Feb 2007 fs/dquot.c |3 ++- include/linux/quotaops.h |3 --- 2 files changed, 2 insertions(+), 4

[2.6 patch] block2mtd_paramline[] mustn't be __initdata

2007-03-25 Thread Adrian Bunk
block2mtd_paramline[] is used in the non-__init block2mtd_setup() Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.21-rc4-mm1/drivers/mtd/devices/block2mtd.c.old2007-03-25 15:56:10.0 +0200 +++ linux-2.6.21-rc4-mm1/drivers/mtd/devices/block2mtd.c2007-03-25

Re: [patch] sched: accurate user accounting

2007-03-25 Thread malc
On Mon, 26 Mar 2007, Con Kolivas wrote: On Sunday 25 March 2007 23:06, malc wrote: On Sun, 25 Mar 2007, Con Kolivas wrote: On Sunday 25 March 2007 21:46, Con Kolivas wrote: On Sunday 25 March 2007 21:34, malc wrote: On Sun, 25 Mar 2007, Ingo Molnar wrote: * Con Kolivas <[EMAIL PROTECTED]>

[2.6 patch] make mptspi_target_destroy() static

2007-03-25 Thread Adrian Bunk
This patch makes the needlessly global mptspi_target_destroy() static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Eric Moore <[EMAIL PROTECTED]> --- This patch was already sent on: - 20 Feb 2007 --- linux-2.6.20-mm1/drivers/message/fusion/mptspi.c.old2007-02-18

[2.6 patch] remove nfs4_acl_add_ace()

2007-03-25 Thread Adrian Bunk
nfs4_acl_add_ace() can now be removed. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 20 Feb 2007 fs/nfsd/nfs4acl.c| 17 - include/linux/nfs4_acl.h |1 - 2 files changed, 18 deletions(-) ---

2.6.21-rc3-rt0 hang randomely + usb can't set config #1, error -62

2007-03-25 Thread Dominique Michel
Hi all, My system hang randomly with a 2.6.21-rc3-rt0. I also have a 2.6.19.1-rt15 that is working fine. I googled a lot and find at I missed the shift to the APIC timer with such rt kernels with the 2.6.19-rt15. I try to enable it in the 2.6.21-rc3-rt0, but it continue to hang from time to time.

Re: [patch] sched: accurate user accounting

2007-03-25 Thread Con Kolivas
On Monday 26 March 2007 00:57, malc wrote: > On Mon, 26 Mar 2007, Con Kolivas wrote: > > On Sunday 25 March 2007 23:06, malc wrote: > >> On Sun, 25 Mar 2007, Con Kolivas wrote: > >>> On Sunday 25 March 2007 21:46, Con Kolivas wrote: > On Sunday 25 March 2007 21:34, malc wrote: > > On Sun,

Re: [BUG] Code reordering in swsusp breaks suspend on SMP systems

2007-03-25 Thread Maxim
On Sunday 25 March 2007 14:13:07 Rafael J. Wysocki wrote: > On Sunday, 25 March 2007 01:40, Maxim wrote: > > On Friday 23 March 2007 16:42:44 Rafael J. Wysocki wrote: > > > On Friday, 23 March 2007 00:30, Rafael J. Wysocki wrote: > > > > On Thursday, 22 March 2007 00:53, Rafael J. Wysocki wrote: >

Re: [patch] sched: accurate user accounting

2007-03-25 Thread malc
On Mon, 26 Mar 2007, Con Kolivas wrote: On Monday 26 March 2007 00:57, malc wrote: On Mon, 26 Mar 2007, Con Kolivas wrote: On Sunday 25 March 2007 23:06, malc wrote: On Sun, 25 Mar 2007, Con Kolivas wrote: On Sunday 25 March 2007 21:46, Con Kolivas wrote: On Sunday 25 March 2007 21:34,

Re: [patch] sched: accurate user accounting

2007-03-25 Thread Con Kolivas
On Monday 26 March 2007 01:19, malc wrote: > On Mon, 26 Mar 2007, Con Kolivas wrote: > > So before we go any further with this patch, can you try the following > > one and see if this simple sanity check is enough? > > Sure (compiling the kernel now), too bad old axiom that testing can not >

drivers/pci/probe.c patch in 2.6.20.4 causes 'cannot adjust BAR0 (not I/O)' on NVidia MCP51

2007-03-25 Thread Kevin P. Fleming
I just upgraded from 2.6.20.2 to 2.6.20.4 on my Compaq V6000 laptop, which has an NVidia core chipset. It has the MCP51 and uses it for PATA and SATA. Booting the 2.6.20.4 kernel causes two messages (and a kernel lockup) like this: :00:0d.0: cannot adjust BAR0 (not I/O) :00:0d.0: cannot

Re: kmem_cache_create loop for find the proper gfporder

2007-03-25 Thread Pekka Enberg
On 3/25/07, Bin Chen <[EMAIL PROTECTED]> wrote: It is done by increase gfporder for low number to high(possibly 0 to MAX_GFP_ORDER). But why increase the gfporder(or slab size) can decrease the internal fragmentation?) A simple example, suppose the slab management stuff is kept off-slab, if the

[PATCH] Fix kernel build with EMBEDDED & PROC_FS & !PROC_SYSCTL

2007-03-25 Thread Mika Kukkonen
Without attached patch against current -git I get following with !PROC_SYSCTL (with EMBEDDED and PROC_FS set): CC init/version.o LD init/built-in.o LD vmlinux fs/built-in.o: In function `do_proc_sys_lookup': proc_sysctl.c:(.text+0x26583): undefined reference to

Re: [Patch 7/7] IBAC Patch

2007-03-25 Thread Pavel Machek
Hi! > This is a new Integrity Based Access Control(IBAC) LSM module which > bases access control decisions on the new integrity framework services. > IBAC is a sample LSM module to help clarify the interaction between > LSM and Linux Integrity Modules(LIM). > >- Updated Kconfig

Re: [Patch 3/7] integrity: EVM as an integrity service provider

2007-03-25 Thread Pavel Machek
Hi! > > +++ linux-2.6.21-rc4-mm1/security/evm/Kconfig > > @@ -0,0 +1,17 @@ > > +config INTEGRITY_EVM > > + boolean "EVM support" > > + depends on INTEGRITY && KEYS > > + select CRYPTO_HMAC > > + select CRYPTO_MD5 > > + select CRYPTO_SHA1 > > + default 0 > > + help > > + The

[PATCH -mm] drivers/char/ip2/i2ellis.c remove unused function

2007-03-25 Thread Michal Piotrowski
This patch removes unused function CC drivers/char/ip2/ip2main.o drivers/char/ip2/i2ellis.c:108: warning: ‘iiEllisCleanup’ defined but not used Regards, Michal -- Michal K. K. Piotrowski LTG - Linux Testers Group (PL) (http://www.stardust.webpages.pl/ltg/) LTG - Linux Testers Group (EN)

[PATCH -mm] drivers/kvm/svm.c remove unused function

2007-03-25 Thread Michal Piotrowski
Remove unused function CC drivers/kvm/svm.o drivers/kvm/svm.c:207: warning: ‘inject_db’ defined but not used Regards, Michal -- Michal K. K. Piotrowski LTG - Linux Testers Group (PL) (http://www.stardust.webpages.pl/ltg/) LTG - Linux Testers Group (EN)

Re: [patch 2/3] only allow nonlinear vmas for ram backed filesystems

2007-03-25 Thread Matt Mackall
On Sun, Mar 25, 2007 at 02:12:32PM +0200, Peter Zijlstra wrote: > On Sat, 2007-03-24 at 23:09 +0100, Miklos Szeredi wrote: > > From: Miklos Szeredi <[EMAIL PROTECTED]> > > > > Dirty page accounting/limiting doesn't work for nonlinear mappings, so > > for non-ram backed filesystems emulate with

apm.c: get rid of unused variables

2007-03-25 Thread Parag Warudkar
The patch below (against latest git) gets rid of following unused variables - clock_cmos_diff and got_clock_diff. 2 less compiler warnings. Compile tested on i386. Signed-off-by: Parag Warudkar <[EMAIL PROTECTED]> --- linux-2.6/arch/i386/kernel/apm.c2007-03-24 21:43:35.0 -0400

[PATCH]fdomain.c: get rid of unused stuff

2007-03-25 Thread Parag Warudkar
fdomain.c uses the below stuff only if PCMCIA is not defined. This causes unused variables to be defined when PCMCIA is not defined. Wrap variables and functions around #ifndef PCMCIA appropriately to avoid this. 4 less compiler warnings. Compile tested on i386. Signed-off-by: Parag

Re: drivers/pci/probe.c patch in 2.6.20.4 causes 'cannot adjust BAR0 (not I/O)' on NVidia MCP51

2007-03-25 Thread Greg KH
On Sun, Mar 25, 2007 at 08:23:23AM -0700, Kevin P. Fleming wrote: > I just upgraded from 2.6.20.2 to 2.6.20.4 on my Compaq V6000 laptop, > which has an NVidia core chipset. It has the MCP51 and uses it for PATA > and SATA. > > Booting the 2.6.20.4 kernel causes two messages (and a kernel lockup)

Re: [PATCH] utsns: fix !CONFIG_UTS_NS behavior

2007-03-25 Thread Serge E. Hallyn
Quoting Andrew Morton ([EMAIL PROTECTED]): > On Fri, 23 Mar 2007 15:00:39 -0500 "Serge E. Hallyn" <[EMAIL PROTECTED]> > wrote: > > > When CONFIG_UTS_NS=n, clone(CLONE_NEWUTS) quietly refuses. So correctly > > does > > not unshare a new uts namespace, but also does not return -EINVAL. > > > >

Re: apm.c: get rid of unused variables

2007-03-25 Thread Adrian Bunk
On Sun, Mar 25, 2007 at 12:06:19PM -0400, Parag Warudkar wrote: > > The patch below (against latest git) gets rid of following unused > variables - clock_cmos_diff and got_clock_diff. > > 2 less compiler warnings. > > Compile tested on i386. > > Signed-off-by: Parag Warudkar <[EMAIL

Re: Early hang with 2.6.21-rc4-rt1

2007-03-25 Thread Roland Dreier
> the 64-bit kernel indeed hangs. Does the patch below fix it for you? Yes, that boots and seems to work fine. Thanks. - 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: kmalloc() with size zero

2007-03-25 Thread Folkert van Heusden
> > I'd say "feature", glibc's malloc also returns an address on > > malloc(0). > > > This is implementation defined-the standard allows for return of either > null or an address. Entirely for entertainment: AIX (5.3) returns NULL, IRIX returns a valid address. Folkert van Heusden --

Re: [patch 00/31] 2.6.20-stable review

2007-03-25 Thread Adrian Bunk
On Tue, Mar 20, 2007 at 11:53:55PM -0400, Gene Heskett wrote: > On Tuesday 20 March 2007, Greg KH wrote: > [...] > >> It looks like, from the series files contents, that I grabbed the > >> wrong 'queue', its all 2.6.21 stuff. url please. > > > >The patch queue can be found at: > >

Re: [Patch 7/7] IBAC Patch

2007-03-25 Thread Serge E. Hallyn
Quoting Pavel Machek ([EMAIL PROTECTED]): > Hi! > > > This is a new Integrity Based Access Control(IBAC) LSM module which > > bases access control decisions on the new integrity framework services. > > IBAC is a sample LSM module to help clarify the interaction between > > LSM and Linux

[PATCH] Fix race between attach_task and cpuset_exit

2007-03-25 Thread Srivatsa Vaddagiri
Currently cpuset_exit() changes the exiting task's ->cpuset pointer w/o taking task_lock(). This can lead to ugly races between attach_task and cpuset_exit. Details of the races are described at http://lkml.org/lkml/2007/3/24/132. Patch below closes those races. It is against 2.6.21-rc4 and has

Re: drivers/pci/probe.c patch in 2.6.20.4 causes 'cannot adjust BAR0 (not I/O)' on NVidia MCP51

2007-03-25 Thread Gabriel C
Kevin P. Fleming wrote: I just upgraded from 2.6.20.2 to 2.6.20.4 on my Compaq V6000 laptop, which has an NVidia core chipset. It has the MCP51 and uses it for PATA and SATA. Booting the 2.6.20.4 kernel causes two messages (and a kernel lockup) like this: :00:0d.0: cannot adjust BAR0 (not

Re: [patch] queued spinlocks (i386)

2007-03-25 Thread Oleg Nesterov
I am sorry for being completely off-topic, but I've been wondering for the long time... What if we replace raw_spinlock_t.slock with "struct task_struct *owner" ? void _spin_lock(spinlock_t *lock) { struct task_struct *owner; for (;;) {

Re: (usagi-core 32638) Re: [linux-usb-devel] [PATCH 0/2] [SERIAL] [USB] fixed to skip NULL entry in struct serial usb_serial_port.

2007-03-25 Thread Greg KH
On Sun, Mar 25, 2007 at 02:47:40PM +0900, Noriaki TAKAMIYA wrote: > Hi, > > >> Sat, 24 Mar 2007 14:22:53 -0700 > >> [Subject: (usagi-core 32638) Re: [linux-usb-devel] [PATCH 0/2] [SERIAL] > >> [USB] fixed to skip NULL entry in struct serial usb_serial_port.] > >> Greg KH <[EMAIL PROTECTED]>

Re: [linux-usb-devel] possible USB regression with 2.6.21-rc4: iPod doesn't work

2007-03-25 Thread Tino Keitel
On Thu, Mar 22, 2007 at 20:42:44 +0100, Oliver Neukum wrote: > Am Donnerstag, 22. März 2007 20:17 schrieb Tino Keitel: > > On Thu, Mar 22, 2007 at 09:50:29 +0100, Oliver Neukum wrote: > > > Am Mittwoch, 21. März 2007 21:47 schrieb Tino Keitel: > > > > > > > along with other USB error messages. I

Re: Early hang with 2.6.21-rc4-rt1

2007-03-25 Thread Roland Dreier
> I finally got curious enough to want to debug why starting kvm with > tun/tap networking produces a bunch of > > rtc: lost some interrupts at 1024Hz. > > messages. So I'm assuming it's a ~millisecond irqs-off section > somewhere. And after everything, it's a heisenbug -- I

Re: [2.6 patch] make remove_inode_dquot_ref() static

2007-03-25 Thread Christoph Hellwig
On Sun, Mar 25, 2007 at 04:58:25PM +0200, Adrian Bunk wrote: > remove_inode_dquot_ref() can now become static. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > Acked-by: Jan Kara <[EMAIL PROTECTED]> Looks good to me. - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: apm.c: get rid of unused variables

2007-03-25 Thread Parag Warudkar
On 3/25/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: On Sun, Mar 25, 2007 at 12:06:19PM -0400, Parag Warudkar wrote: You could also remove the APM_RTC_IS_GMT config option. Yep, that isn't used anymore. Separate Kconfig patch below and also attached. Parag Signed-off-by: Parag Warudkar

Re: [patch] sched: accurate user accounting

2007-03-25 Thread malc
On Mon, 26 Mar 2007, Con Kolivas wrote: On Monday 26 March 2007 01:19, malc wrote: On Mon, 26 Mar 2007, Con Kolivas wrote: So before we go any further with this patch, can you try the following one and see if this simple sanity check is enough? Sure (compiling the kernel now), too bad old

Re: drivers/pci/probe.c patch in 2.6.20.4 causes 'cannot adjust BAR0 (not I/O)' on NVidia MCP51

2007-03-25 Thread Kevin P. Fleming
Greg KH wrote: > Kevin, does 2.6.21-rc4 work properly for you? No, it seems to exhibit the same behavior. However, I should note that this laptop is not 100% stable under any kernel release anyway... in text console mode it frequently locks up tight (although not with the NVidia closed-source

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-25 Thread Thomas Meyer
Adrian Bunk schrieb: > On Sun, Mar 25, 2007 at 01:41:33PM +0200, Thomas Meyer wrote: > >> ... >> The first suspend to disk is ok. The second suspend to disk has a >> strange behaviour: >> 1.) write pm image >> 2.) the system disable the non-boot cpus again (i guess this happens in >>

RE: Linux 2.6.20.4

2007-03-25 Thread Chris Rankin
[Linux version 2.6.20.4 ([EMAIL PROTECTED]) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 PREEMPT Sun Mar 25 17:31:32 BST 2007] Hi, I have just booted the 2.6.20.4 kernel on an old 350 MHz P2, and am now seeing these messages in my boot log: Setting up standard PCI resources ACPI:

Re: [PATCH] Fix race between attach_task and cpuset_exit

2007-03-25 Thread Balbir Singh
Hi, Vatsa, Srivatsa Vaddagiri wrote: diff -puN kernel/cpuset.c~cpuset_race_fix kernel/cpuset.c --- linux-2.6.21-rc4/kernel/cpuset.c~cpuset_race_fix2007-03-25 21:08:27.0 +0530 +++ linux-2.6.21-rc4-vatsa/kernel/cpuset.c 2007-03-25 21:25:05.0 +0530 @@ -1182,6 +1182,7 @@

[PATCH] UML - Fix static linking

2007-03-25 Thread Jeff Dike
[ This is both 2.6.21 and -stable material ] During a static link, ld has started putting a .note section in the .uml.setup.init section. This has the result that the UML setups begin with 32 bytes of garbage and UML crashes immediately on boot. This patch creates a specific .note section for

[PATCH] UML - use correct register file size everywhere

2007-03-25 Thread Jeff Dike
This patch uses MAX_REG_NR consistently to refer to the register file size. FRAME_SIZE isn't sufficient because on x86_64, it is smaller than the ptrace register file size. MAX_REG_NR was introduced as a consistent way to get the number of registers, but wasn't used everywhere it should be.

[PATCH] aoe, tb0219: fix late spin_lock_init() and friends

2007-03-25 Thread Alexey Dobriyan
Some drivers do register_chrdev() before lock or semaphore used in corresponding file_operations is initialized. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- drivers/block/aoe/aoechr.c |4 ++-- drivers/char/tb0219.c |4 ++-- 2 files changed, 4 insertions(+), 4

[PATCH] PCMCIA: Allow PCMCIA SCSI drivers to be built into the kernel.

2007-03-25 Thread Robert P. J. Day
Remove the Kconfig requirement that the PCMCIA SCSI drivers be built only as modules, and allow them to be built into the kernel. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- i imagine there's a historical reason for these drivers being forced to be built only as modules. and i'm

Re: drivers/pci/probe.c patch in 2.6.20.4 causes 'cannot adjust BAR0 (not I/O)' on NVidia MCP51

2007-03-25 Thread Torsten Kaiser
On 3/25/07, Gabriel C <[EMAIL PROTECTED]> wrote: Kevin P. Fleming wrote: > I just upgraded from 2.6.20.2 to 2.6.20.4 on my Compaq V6000 laptop, > which has an NVidia core chipset. It has the MCP51 and uses it for PATA > and SATA. > > Booting the 2.6.20.4 kernel causes two messages (and a kernel

Re: [BUG] __copy_to_user_inatomic broken on non Pentium machines

2007-03-25 Thread Linus Torvalds
On Sun, 25 Mar 2007, Thomas Gleixner wrote: > > Environment: Pre Pentium systems, (boot_cpu_data.wp_works_ok == 0) This shouldn't be "pre-pentium", afaik. WP-works-ok on i486 too. I think only the original i386 had this bug ("feature"). But I agree, it does seem to be broken on such machines

Re: debug rsdl 0.33

2007-03-25 Thread Torsten Kaiser
On 3/24/07, Con Kolivas <[EMAIL PROTECTED]> wrote: kernel/sched.c | 51 +++ 1 file changed, 51 insertions(+) 2.6.21-rc4-mm1 also fails for me. I tried pure 2.6.21-rc4-mm1, +hotfixes, +hotfixes+rsdl33 and at last also added above debug patch.

Re: [BUG] __copy_to_user_inatomic broken on non Pentium machines

2007-03-25 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > On Sun, 25 Mar 2007, Thomas Gleixner wrote: > > > > Environment: Pre Pentium systems, (boot_cpu_data.wp_works_ok == 0) > > This shouldn't be "pre-pentium", afaik. WP-works-ok on i486 too. I > think only the original i386 had this bug ("feature"). >

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-25 Thread Rafael J. Wysocki
On Sunday, 25 March 2007 16:17, Thomas Meyer wrote: > Rafael J. Wysocki schrieb: > > On Sunday, 25 March 2007 14:03, Eric W. Biederman wrote: > > > >> Thomas Meyer <[EMAIL PROTECTED]> writes: > >> > >> > >>> Eric W. Biederman schrieb: > >>> > Thomas could you verify the patch

Re: Linux-VServer example results for sharing vs. separate mappings ...

2007-03-25 Thread Andrew Morton
On Sun, 25 Mar 2007 15:20:35 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > > > The problem is memory reclaim. A number of schemes which have been > > proposed require a per-container page reclaim mechanism - basically a > > separate scanner. > > > > This is a huge,

Interesting locking in vivi driver

2007-03-25 Thread Alexey Dobriyan
I have some question: what's going on? How can it work? Local spinlock _on_stack_, initialized, acquired and dropped. drivers/media/video/vivi.c: 271 static void gen_line(struct sg_to_addr to_addr[],int inipos,int pages,int wmax, 272 int hmax, int line, char

Re: drivers/pci/probe.c patch in 2.6.20.4 causes 'cannot adjust BAR0 (not I/O)' on NVidia MCP51

2007-03-25 Thread Alan Cox
> Jan, any thoughts about this? > Should this be backed out of the -stable releases? All the code does if it prints that message.. is print that message. The fact the message appears at all appears to indicate a slightly odd BIOS but since the values in those registers are undefined in this mode

Re: drivers/pci/probe.c patch in 2.6.20.4 causes 'cannot adjust BAR0 (not I/O)' on NVidia MCP51

2007-03-25 Thread Grzegorz Chwesewicz
On Sun, 25 Mar 2007 19:13:50 +0100, Torsten Kaiser wrote > On 3/25/07, Gabriel C <[EMAIL PROTECTED]> wrote: > > Kevin P. Fleming wrote: > > > I just upgraded from 2.6.20.2 to 2.6.20.4 on my Compaq V6000 laptop, > > > which has an NVidia core chipset. It has the MCP51 and uses it for PATA > > > and

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-25 Thread Rafael J. Wysocki
On Sunday, 25 March 2007 19:25, Thomas Meyer wrote: > Adrian Bunk schrieb: > > On Sun, Mar 25, 2007 at 01:41:33PM +0200, Thomas Meyer wrote: > > > >> ... > >> The first suspend to disk is ok. The second suspend to disk has a > >> strange behaviour: > >> 1.) write pm image > >> 2.) the system

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-25 Thread Rafael J. Wysocki
On Sunday, 25 March 2007 14:56, Eric W. Biederman wrote: > "Rafael J. Wysocki" <[EMAIL PROTECTED]> writes: > > > Yes, in kernel/power/disk.c:power_down() . > > > > Please comment out the disable_nonboot_cpus() in there and retest (but > > please > > test the latest Linus' tree). > > > > Why

Re: [PATCH 2/3] Trec driver.

2007-03-25 Thread Randy Dunlap
On Sat, 24 Mar 2007 16:51:38 -0700 Wink Saville wrote: > This is the Trec driver, Makefile, header files. > Enable trec in Kernel hacking configuration menu. > > Signed-off-by: Wink Saville <[EMAIL PROTECTED]> > --- > diff --git a/drivers/trec/trec.c b/drivers/trec/trec.c > new file mode 100644

Re: Kernel 2.6.20 takes a long time to load

2007-03-25 Thread Dave Jones
On Sun, Mar 25, 2007 at 02:22:08PM +0200, Helmut Auer wrote: > Hello List, > > The kernel 2.6.20 makes a long delay during booting ( about 15 seconds ) > after showing: > > NET: Registered protocol family 2 > > then it goes along with: > > IP route cache hash table entries: 2048

Re: drivers/pci/probe.c patch in 2.6.20.4 causes 'cannot adjust BAR0 (not I/O)' on NVidia MCP51

2007-03-25 Thread Adrian Bunk
On Sun, Mar 25, 2007 at 09:08:46PM +0100, Alan Cox wrote: > > Jan, any thoughts about this? > > Should this be backed out of the -stable releases? > > All the code does if it prints that message.. is print that message. >... It also adds PCI_BASE_ADDRESS_SPACE_IO to the flags which it didn't

Re: [PATCH 1/3] Documention for trace records (trec).

2007-03-25 Thread Randy Dunlap
On Sat, 24 Mar 2007 16:51:37 -0700 Wink Saville wrote: > Trec is a light weight tracing mechanism that places > trace information into a buffer. The contents of the > buffer is dumped when errors occurs or when enabled > via SYSRQ commands. > > Signed-off-by: Wink Saville <[EMAIL PROTECTED]> >

Re: [BUG] Code reordering in swsusp breaks suspend on SMP systems

2007-03-25 Thread Rafael J. Wysocki
On Sunday, 25 March 2007 17:10, Maxim wrote: > On Sunday 25 March 2007 14:13:07 Rafael J. Wysocki wrote: > > On Sunday, 25 March 2007 01:40, Maxim wrote: > > > On Friday 23 March 2007 16:42:44 Rafael J. Wysocki wrote: > > > > On Friday, 23 March 2007 00:30, Rafael J. Wysocki wrote: > > > > > On

Re: [PATCH] x86_64: avoid sending LOCAL_TIMER_VECTOR IPI to itself

2007-03-25 Thread Ray Lee
Ingo Molnar wrote: > * Ray Lee <[EMAIL PROTECTED]> wrote: > >> Subject: [PATCH] x86_64: avoid sending LOCAL_TIMER_VECTOR IPI to >> itself >> >> Ray Lee reported, that on an UP kernel with "noapic" command line >> option set, the box locks hard during boot. > > i think this bug deserves a bit

[PATCH 2.6.20.4] ieee1394: dv1394: fix CardBus card ejection

2007-03-25 Thread Stefan Richter
Fix NULL pointer dereference on hot ejection of a FireWire card while dv1394 was loaded. http://bugzilla.kernel.org/show_bug.cgi?id=7121 I did not test card ejection with open /dev/dv1394 files yet. Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> --- Picked from 2.6.21-rc1.

[PATCH 2.6.16.44] ieee1394: dv1394: fix CardBus card ejection

2007-03-25 Thread Stefan Richter
Fix NULL pointer dereference on hot ejection of a FireWire card while dv1394 was loaded. http://bugzilla.kernel.org/show_bug.cgi?id=7121 I did not test card ejection with open /dev/dv1394 files yet. Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> --- Backport from 2.6.21-rc1.

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-25 Thread Rafael J. Wysocki
On Sunday, 25 March 2007 21:06, Rafael J. Wysocki wrote: > On Sunday, 25 March 2007 19:25, Thomas Meyer wrote: > > Adrian Bunk schrieb: > > > On Sun, Mar 25, 2007 at 01:41:33PM +0200, Thomas Meyer wrote: > > > > > >> ... > > >> The first suspend to disk is ok. The second suspend to disk has a >

Re: [BUG] __copy_to_user_inatomic broken on non Pentium machines

2007-03-25 Thread Thomas Gleixner
On Sun, 2007-03-25 at 11:14 -0700, Linus Torvalds wrote: > > Environment: Pre Pentium systems, (boot_cpu_data.wp_works_ok == 0) > > This shouldn't be "pre-pentium", afaik. WP-works-ok on i486 too. I think > only the original i386 had this bug ("feature"). > > But I agree, it does seem to be

Re: Kernel 2.6.20 takes a long time to load

2007-03-25 Thread Thomas Gleixner
On Sun, 2007-03-25 at 14:22 +0200, Helmut Auer wrote: > Hello List, > > The kernel 2.6.20 makes a long delay during booting ( about 15 seconds ) > after showing: > > NET: Registered protocol family 2 > > then it goes along with: > > IP route cache hash table entries: 2048 (order: 1, 8192

Re: [PATCH] Fix race between attach_task and cpuset_exit

2007-03-25 Thread Paul Jackson
> + task_lock(tsk); > cs = tsk->cpuset; > tsk->cpuset = _cpuset; /* the_top_cpuset_hack - see above */ > + atomic_dec(>count); > + task_unlock(tsk); > > if (notify_on_release(cs)) { > char *pathbuf = NULL; > > mutex_lock(_mutex); >

Re: [PATCH] Fix race between attach_task and cpuset_exit

2007-03-25 Thread Paul Jackson
> How about using a local variable like ref_count and using > > ref_count = atomic_dec_and_test(>count); This will avoid the two > atomic operations, atomic_dec() and atomic_read() below. This would also seem to address the race I just noticed in my previous reply. Though I would suggest that

Re: Fix sudden warps in mousedev

2007-03-25 Thread Pete Zaitcev
On Sun, 25 Mar 2007 01:34:02 -0400, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > +    * Without this, a touchpad may report an unchanged > > position, > > +    * then a sync. The input_event() eats the position report, > > but > > +    * lets the sync

[BUG] Patch "CPU hotplug: call check_tsc_sync_source() with irqs off" breaks some drivers

2007-03-25 Thread Nicolas Boichat
Hello, I'm running a Macbook Pro first generation (Core Duo, so x86). I ran accross these two problems while upgrading from 2.6.21-rc3 to the current git HEAD: 1. appletouch cannot initialize the device properly at boot time (the module is automatically loaded by Gentoo), I have to reload the

[BUG]pci layer may report wrong iomem resources data to drivers

2007-03-25 Thread thomas schorpp
lo, aic7xxx driver mmio / dma on x86_64 and some pre 2.6.19.5 ix86 linux kernels are broken here with the adaptec asc19160 PCI/32 scsi hba pci card. well, i've got several live cd systems < 2.6.19.5i386 like whax 3.0 and knoppix that oops and hang boot in aic7xxx init, only one booting here

Re: [patch 0/7] Add IRQF_IRQPOLL_IRQ flag to allow irqpoll

2007-03-25 Thread Bernhard Walle
* Guennadi Liakhovetski <[EMAIL PROTECTED]> [2007-03-24 00:21]: > On Fri, 23 Mar 2007, Bernhard Walle wrote: > > > * Guennadi Liakhovetski <[EMAIL PROTECTED]> [2007-03-23 23:15]: > > > On Fri, 23 Mar 2007, Bernhard Walle wrote: > > > > > > > irqpoll is broken on some architectures that don't use

<    1   2   3   4   5   >