Re: [PATCH] keyspan: init termios properly

2007-12-02 Thread Borislav Petkov
On Fri, Nov 30, 2007 at 09:23:43AM -0800, Lucy McCoy wrote: Hi All, I've been too busy to get to this but i'd rather not use the code fragment i sent Boris to try. It would be better to go ahead with the tty setup if the pointer is not NULL, otherwise use the defaults and not reference the

any value in centralizing common 32/64 x86 content in vmlinux.lds.S?

2007-12-02 Thread Robert P. J. Day
given the amount of common content between arch/x86/kernel/vmlinux_32.lds.S and arch/x86/kernel/vmlinux_64.lds.S, what about just defining macros for some of that stuff in arch/x86/kernel/vmlinux.lds.S and cutting down on all the duplication? as is done in include/asm-generic/vmlinux.lds.S,

[PATCH] Add EXPORT_SYMBOL(ksize);

2007-12-02 Thread Tetsuo Handa
mm/slub.c exports ksize(), but mm/slob.c and mm/slab.c don't. I don't know why. Signed-off-by: Tetsuo Handa [EMAIL PROTECTED] --- mm/slab.c |1 + mm/slob.c |1 + 2 files changed, 2 insertions(+) --- linux-2.6-mm.orig/mm/slab.c +++ linux-2.6-mm/mm/slab.c @@ -4479,3 +4479,4 @@ size_t

Re: 2.6.24-rc3-mm1 make headers_check fails

2007-12-02 Thread Avi Kivity
Andrew Morton wrote: On Wed, 21 Nov 2007 12:17:14 +0200 Avi Kivity [EMAIL PROTECTED] wrote: Avi Kivity wrote: The make headers_check fails, CHECK include/linux/usb/gadgetfs.h CHECK include/linux/usb/ch9.h CHECK include/linux/usb/cdc.h CHECK

Re: [BUG] Strange 1-second pauses during Resume-from-RAM

2007-12-02 Thread Ingo Molnar
* Jörn Engel [EMAIL PROTECTED] wrote: ah. You should mark pit_read() function as notrace. PIT clocksource is rare. (add the 'notrace' word to the function prototype) Hardly a change at all. Apart from some offsets, this dump is identical. stopped custom tracer. BUG: spinlock

Re: [feature] automatically detect hung TASK_UNINTERRUPTIBLE tasks

2007-12-02 Thread Ingo Molnar
* Ingo Oeser [EMAIL PROTECTED] wrote: On Saturday 01 December 2007, Ingo Molnar wrote: maybe, but we'd have to see how often this gets triggered. An OOM is something that could happen in any overloaded system - while a hung task is likely due to a kernel bug. What about a client

Re: Kernel 2.6.23.9 / P35 Chipset + WD 750GB Drives (reset port)

2007-12-02 Thread Justin Piszcz
On Sat, 1 Dec 2007, Justin Piszcz wrote: On Sat, 1 Dec 2007, Janek Kozicki wrote: Justin Piszcz said: (by the date of Sat, 1 Dec 2007 07:23:41 -0500 (EST)) dd if=/dev/zero of=/dev/sdc The purpose is with any new disk its good to write to all the blocks and let the drive to all of

Re: [PATCH 09/28] blk_end_request: changing ps3disk (take 3)

2007-12-02 Thread Geert Uytterhoeven
On Fri, 30 Nov 2007, Kiyoshi Ueda wrote: This patch converts ps3disk to use blk_end_request(). ^^^ Patch subject and description are inconsistent with actual change. Signed-off-by: Kiyoshi Ueda [EMAIL PROTECTED] Signed-off-by: Jun'ichi Nomura

[BUG 2.6.24-rc3-git6] SLUB's ksize() fails for size 2048.

2007-12-02 Thread Tetsuo Handa
Hello. I can't pass memory allocated by kmalloc() to ksize() if it is allocated by SLUB allocator and size is larger than (I guess) PAGE_SIZE / 2. Regards. -- Kernel config (grep CONFIG_SLUB .config) -- CONFIG_SLUB_DEBUG=y CONFIG_SLUB=y # CONFIG_SLUB_DEBUG_ON is not set

[PATCH 00/10]: KVM updates for 2.6.23.9 (-stable)

2007-12-02 Thread Avi Kivity
The following patchset fixes some bugs in KVM for the next 2.6.23.y stable release. Please apply. Amit Shah (2): KVM: x86 emulator: Use emulator_write_emulated and not emulator_write_std KVM: SVM: Fix FPU leak while emulating clts Aurelien Jarno (1): KVM: x86 emulator: fix

[PATCH 03/10] KVM: x86 emulator: invd instruction

2007-12-02 Thread Avi Kivity
Emulate the 'invd' instruction (opcode 0f 08). Signed-off-by: Avi Kivity [EMAIL PROTECTED] --- drivers/kvm/x86_emulate.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c index 08cd4a3..14ad4b4 100644 ---

[PATCH 02/10] KVM: x86 emulator: fix access registers for instructions with ModR/M byte and Mod = 3

2007-12-02 Thread Avi Kivity
From: Aurelien Jarno [EMAIL PROTECTED] The patch belows changes the access type to register from memory for instructions that are declared as SrcMem or DstMem, but have a ModR/M byte with Mod = 3. It fixes (at least) the lmsw and smsw instructions on an AMD64 CPU, which are needed for FreeBSD.

[PATCH 04/10] KVM: SVM: Intercept the 'invd' and 'wbinvd' instructions

2007-12-02 Thread Avi Kivity
'invd' can destroy host data, and 'wbinvd' allows the guest to induce long (milliseconds) latencies. Noted by Ben Serebrin. Signed-off-by: Avi Kivity [EMAIL PROTECTED] --- drivers/kvm/svm.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/kvm/svm.c

[PATCH 01/10] KVM: x86 emulator: implement 'movnti mem, reg'

2007-12-02 Thread Avi Kivity
From: Sheng Yang [EMAIL PROTECTED] Implement emulation of instruction: movnti m32/m64, r32/r64 opcode: 0x0f 0xc3 Needed to support Linux 2.6.16 as guest (used for mmio). Signed-off-by: Sheng Yang [EMAIL PROTECTED] Signed-off-by: Avi Kivity [EMAIL PROTECTED] ---

[PATCH 08/10] KVM: Skip pio instruction when it is emulated, not executed

2007-12-02 Thread Avi Kivity
If we defer updating rip until pio instructions are executed, we have a problem with reset: a pio reset updates rip, and when the instruction completes we skip the emulated instruction, pointing rip somewhere completely unrelated. Fix by updating rip when we see decode the instruction, not after

[PATCH 05/10] KVM: x86 emulator: Use emulator_write_emulated and not emulator_write_std

2007-12-02 Thread Avi Kivity
From: Amit Shah [EMAIL PROTECTED] emulator_write_std() is not implemented, and calling write_emulated should work just as well in place of write_std. Fixes emulator failures with the push r/m instruction. Signed-off-by: Amit Shah [EMAIL PROTECTED] Signed-off-by: Avi Kivity [EMAIL PROTECTED] ---

[PATCH 09/10] KVM: VMX: Force vm86 mode if setting flags during real mode

2007-12-02 Thread Avi Kivity
When resetting from userspace, we need to handle the flags being cleared even after we are in real mode. Signed-off-by: Avi Kivity [EMAIL PROTECTED] --- drivers/kvm/vmx.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index

[PATCH 06/10] KVM: Fix hang on uniprocessor

2007-12-02 Thread Avi Kivity
From: Marko Kohtala [EMAIL PROTECTED] first_cpu(cpus) returns the only CPU when NR_CPUS is 1 regardless of the cpus mask. Therefore we avoid a kernel hang in KVM_SET_MEMORY_REGION ioctl on uniprocessor by not entering the loop at all. Signed-off-by: Marko Kohtala [EMAIL PROTECTED] Signed-off-by:

[PATCH 07/10] KVM: SVM: Fix FPU leak while emulating clts

2007-12-02 Thread Avi Kivity
From: Amit Shah [EMAIL PROTECTED] The clts code didn't use set_cr0 properly, so our lazy FPU processing wasn't being done by the clts instruction at all. (this isn't called on Intel as the hardware does the decode for us) Signed-off-by: Amit Shah [EMAIL PROTECTED] Signed-off-by: Avi Kivity

[PATCH 10/10] KVM: VMX: Reset mmu context when entering real mode

2007-12-02 Thread Avi Kivity
From: Eddie Dong [EMAIL PROTECTED] Resetting an SMP guest will force AP enter real mode (RESET) with paging enabled in protected mode. While current enter_rmode() can only handle mode switch from nonpaging mode to real mode which leads to SMP reboot failure. Fix by reloading the mmu context on

Correct types for mod_devicetable.h (was: Re: m68k build failure)

2007-12-02 Thread Geert Uytterhoeven
On Sat, 1 Dec 2007, Pierre Ossman wrote: On Wed, 28 Nov 2007 13:34:02 +0100 (CET) Geert Uytterhoeven [EMAIL PROTECTED] wrote: On Wed, 28 Nov 2007, Pierre Ossman wrote: Is there no directive we can stick in there that forces a reasonable alignment (e.g. alignment == sizeof(type))

Re: RTC wakealarm write-only, still has 644 permissions

2007-12-02 Thread Pavel Machek
Hi! It's not an issue of accidental writes, it's an issue of there being no other synchronization for setting those alarms. Remember that both RTC_WKALM_SET and RTC_ALM_SET ioctls can set that same alarm, and so could a different userspace activity ... We have 3 interfaces to

Re: [BUG] Strange 1-second pauses during Resume-from-RAM

2007-12-02 Thread Jörn Engel
On Sun, 2 December 2007 09:56:08 +0100, Ingo Molnar wrote: * Jörn Engel [EMAIL PROTECTED] wrote: ah. You should mark pit_read() function as notrace. PIT clocksource is rare. (add the 'notrace' word to the function prototype) Hardly a change at all. Apart from some offsets, this

RE: [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHYlayer functionality

2007-12-02 Thread Joakim Tjernlund
[SNIP] ^^ the correct solution is to implement arch_initcall function which will create fixed PHYs, and then leave only snprintf(fpi-bus_id, 16, PHY_ID_FMT, 0, *data); part in the fs_enet's find_phy(). Try add something like this to the fsl_soc.c (compile untested): - - - - static int

[PATCH] mm/backing-dev.c: fix percpu_counter_destroy call bug in bdi_init

2007-12-02 Thread Denis Cheng
this call should use the array index j, not i: --- mm/backing-dev.c.orig 2007-12-02 19:42:57.0 +0800 +++ mm/backing-dev.c2007-12-02 19:43:14.0 +0800 @@ -22,7 +22,7 @@ int bdi_init(struct backing_dev_info *bd if (err) {

[PATCH] WATCHDOG: Use SGI_HAS_INDYDOG for INDYDOG depends

2007-12-02 Thread Thomas Bogendoerfer
Use SGI_HAS_INDYDOG for INDYDOG depends. Signed-off-by: Thomas Bogendoerfer [EMAIL PROTECTED] --- Please apply for 2.6.25. drivers/watchdog/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index

[PATCH] PARTITION: Use DEFAULT_SGI_PARTITION for SGI_PARTION default

2007-12-02 Thread Thomas Bogendoerfer
Use DEFAULT_SGI_PARTITION for SGI_PARTION default Signed-off-by: Thomas Bogendoerfer [EMAIL PROTECTED] --- Please apply for 2.6.25. fs/partitions/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/partitions/Kconfig b/fs/partitions/Kconfig index

[PATCH] CHAR: Use SGI_HAS_DS1286 for SGI_DS1286 depends

2007-12-02 Thread Thomas Bogendoerfer
Use SGI_HAS_DS1286 for SGI_DS1286 depends Signed-off-by: Thomas Bogendoerfer [EMAIL PROTECTED] --- Please apply for 2.6.25. drivers/char/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index a509b8d..06271e8 100644

[PATCH] SERIAL: Use SGI_HAS_ZILOG for IP22_ZILOG depends

2007-12-02 Thread Thomas Bogendoerfer
- Use SGI_HAS_ZILOG for IP22_ZILOG depends - remove IP22 from description, because the driver works on more than IP22 SGI machines Signed-off-by: Thomas Bogendoerfer [EMAIL PROTECTED] --- Please apply for 2.6.25. drivers/serial/Kconfig |8 1 files changed, 4 insertions(+), 4

[PATCH] teach checkpatch.pl about list_for_each

2007-12-02 Thread Christer Weinigel
Hi Andy, you seem to be the last person messing around with checkpatch.pl so I'm addressing this to you. :-) checkpatch complains about the following: WARNING: no space between function name and open parenthesis '(' #520: FILE: drivers/spi/spi_s3c24xx_dma.c:478: + list_for_each_entry

Re: [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHYlayer functionality

2007-12-02 Thread Anton Vorontsov
On Sun, Dec 02, 2007 at 12:54:36PM +0100, Joakim Tjernlund wrote: [SNIP] ^^ the correct solution is to implement arch_initcall function which will create fixed PHYs, and then leave only snprintf(fpi-bus_id, 16, PHY_ID_FMT, 0, *data); part in the fs_enet's find_phy(). Try add

Re: Out of tree module using LSM

2007-12-02 Thread Pavel Machek
Hi! Personally I admit I never quite saw the point of intercepting all file accesses for everything. That will just always be slow as often demonstrated on other operating systems and racey and unreliable too. And at least the internal daemons should be already reasonably well protected

Re: suspend-related lockdep warning

2007-12-02 Thread Pavel Machek
Hi! 2.6.24-rc3-mm2 (which will be released if it boots on two more machines and if I stay awake) will say this during suspend-to-RAM on the Vaio: [ 91.876445] Syncing filesystems ... done. [ 92.382595] Freezing user space processes ... WARNING: at kernel/lockdep.c:2662 check_flags()

Re: [BUG] Strange 1-second pauses during Resume-from-RAM

2007-12-02 Thread Jörn Engel
On Sun, 2 December 2007 12:31:43 +0100, Jörn Engel wrote: This time not even the offsets have changed. Dump is identical. After another ten or so notrace annotations throughout the spinlock code, the latency tracer appears to work. Not sure how many useful information is missing through all

[PATCH 1/5] Remove trailing NULs from network bonding sysfs interface.

2007-12-02 Thread Wagner Ferenc
Also remove trailing spaces from multivalued files. This fixes output like for example: $ od -c /sys/class/net/bond0/bonding/slaves 000 e t h - l e f t e t h - r i g 020 h t \n \0 025 It mostly entails deleting '+1'-s after sprintf()

[PATCH 2/5] net/bonding: Return nothing for not applicable values

2007-12-02 Thread Wagner Ferenc
The previous code returned '\n' (that is, a single empty line) from most files, with one exception (xmit_hash_policy), where it returned 'NA\n'. This patch consolidates each file to return nothing at all if not applicable, not even a '\n'. I find this behaviour more usual, more useful, more

[PATCH 3/5] net/bonding: Purely cosmetic: rename a local variable

2007-12-02 Thread Wagner Ferenc
Code for rendering multivalue sysfs files occurs three times in this module. Rename 'buffer' to 'buf' in the first, for the sake of consistency. Signed-off-by: Ferenc Wagner [EMAIL PROTECTED] --- drivers/net/bonding/bond_sysfs.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-)

[PATCH 4/5] net/bonding: Adhere to coding style: break line after the if condition

2007-12-02 Thread Wagner Ferenc
Signed-off-by: Ferenc Wagner [EMAIL PROTECTED] --- drivers/net/bonding/bond_sysfs.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c index 5c31f5c..9de2c52 100644 ---

[PATCH 5/5] net/bonding: Allow setting and querying xmit policy regardless of mode

2007-12-02 Thread Wagner Ferenc
For consistency with the behaviour of the arp_ip_target option, let /sys/class/net/bond0/bonding/xmit_hash_policy accept and report current policy even if the bonding mode in effect does not use it. Signed-off-by: Ferenc Wagner [EMAIL PROTECTED] --- drivers/net/bonding/bond_sysfs.c | 21

[PATCH 3/3] x86_64: use __PAGE_KERNEL_EXEC in ioremap_64.c

2007-12-02 Thread Joerg Roedel
This patch replaces the manual permission setup for pages in ioremap_64.c with the pre-defined __PAGE_KERNEL_EXEC value. Signed-off-by: Joerg Roedel [EMAIL PROTECTED] --- arch/x86/mm/ioremap_64.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/x86/mm/ioremap_64.c

[PATCH 0/3] x86_64: some minor paging cleanups

2007-12-02 Thread Joerg Roedel
This small series of patches cleans up the definition and use of the _PAGE_* and __PAGE_KERNEL* permissions for the x86_64 code in the x86 architecture a little bit. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

[PATCH 1/3] x86_64: define all _PAGE_* in terms of _PAGE_BIT_*

2007-12-02 Thread Joerg Roedel
This patch defines the _PAGE_* paging attributes in pgtable_64.h in terms of the former defined _PAGE_BIT_* values. Signed-off-by: Joerg Roedel [EMAIL PROTECTED] --- include/asm-x86/pgtable_64.h | 27 +++ 1 files changed, 15 insertions(+), 12 deletions(-) diff --git

[PATCH 2/3] x86_64: use __PAGE_KERNEL* instead of _KERNPG_TABLE for 2MB PTEs in memory initialization

2007-12-02 Thread Joerg Roedel
This minor cleanup replaces _KERNPG_TABLE with the __PAGE_KERNEL* for 2MB PTEs in the x86_64 memory initialization code. The __PAGE_KERNEL* defines are more appropriate for PTEs. Signed-off-by: Joerg Roedel [EMAIL PROTECTED] --- arch/x86/mm/init_64.c |4 ++-- 1 files changed, 2

Re: [PATCH] teach checkpatch.pl about list_for_each

2007-12-02 Thread Arnaldo Carvalho de Melo
Em Sun, Dec 02, 2007 at 01:03:35PM +0100, Christer Weinigel escreveu: Hi Andy, you seem to be the last person messing around with checkpatch.pl so I'm addressing this to you. :-) checkpatch complains about the following: WARNING: no space between function name and open parenthesis '('

Re: [PATCH] Declare PNP option parsing functions as __init

2007-12-02 Thread Thomas Renninger
On Fri, 2007-11-30 at 16:52 -0700, Bjorn Helgaas wrote: On Friday 30 November 2007 04:37:26 pm Rene Herman wrote: On 30-11-07 18:04, Thomas Renninger wrote: If I have not overseen something, it should be rather obvious that those can all be declared __init... ---

Re: [PATCH] Declare PNP option parsing functions as __init

2007-12-02 Thread Thomas Renninger
On Sat, 2007-12-01 at 01:33 +0100, Rene Herman wrote: On 01-12-07 00:52, Bjorn Helgaas wrote: On Friday 30 November 2007 04:37:26 pm Rene Herman wrote: On 30-11-07 18:04, Thomas Renninger wrote: If I have not overseen something, it should be rather obvious that those can all be

Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure (v2)

2007-12-02 Thread Amit Shah
* Anthony Liguori wrote: This patch refactors the current hypercall infrastructure to better support live migration and SMP. It eliminates the hypercall page by trapping the UD exception that would occur if you used the wrong hypercall instruction for the underlying architecture and replacing

Re: [PATCH] Add EXPORT_SYMBOL(ksize);

2007-12-02 Thread Adrian Bunk
On Sun, Dec 02, 2007 at 05:43:39PM +0900, Tetsuo Handa wrote: mm/slub.c exports ksize(), but mm/slob.c and mm/slab.c don't. I don't know why. ... That's due to the fact that my patch to remove this unused export from slub was not yet applied... Where is the modular in-kernel user? cu

Re: [PATCH] Declare PNP option parsing functions as __init

2007-12-02 Thread Rene Herman
On 02-12-07 14:34, Thomas Renninger wrote: On Sat, 2007-12-01 at 01:33 +0100, Rene Herman wrote: On 01-12-07 00:52, Bjorn Helgaas wrote: I agree this is probably safe in the current implementation. However, I think the current implementation is just broken because we can't really handle

Re: namespace support requires network modules to say GPL

2007-12-02 Thread Alan Cox
On Sat, 1 Dec 2007 16:30:35 -0800 Stephen Hemminger [EMAIL PROTECTED] wrote: On Sat, 1 Dec 2007 11:17:36 -0800 Stephen Hemminger [EMAIL PROTECTED] wrote: Then init_net needs to be not GPL limited. Sorry, we need to allow non GPL network drivers. There is a fine line between keeping the

Re: [BUG] Strange 1-second pauses during Resume-from-RAM

2007-12-02 Thread Ingo Molnar
* Jörn Engel [EMAIL PROTECTED] wrote: On Sun, 2 December 2007 09:56:08 +0100, Ingo Molnar wrote: * Jörn Engel [EMAIL PROTECTED] wrote: ah. You should mark pit_read() function as notrace. PIT clocksource is rare. (add the 'notrace' word to the function prototype) Hardly a

Re: [BUG] Strange 1-second pauses during Resume-from-RAM

2007-12-02 Thread Ingo Molnar
* Jörn Engel [EMAIL PROTECTED] wrote: On Sun, 2 December 2007 12:31:43 +0100, Jörn Engel wrote: This time not even the offsets have changed. Dump is identical. After another ten or so notrace annotations throughout the spinlock code, the latency tracer appears to work. Not sure how

Re: [PATCH] keyspan: init termios properly

2007-12-02 Thread Alan Cox
On Sun, 2 Dec 2007 09:03:40 +0100 Borislav Petkov [EMAIL PROTECTED] wrote: On Fri, Nov 30, 2007 at 09:23:43AM -0800, Lucy McCoy wrote: Hi All, I've been too busy to get to this but i'd rather not use the code fragment i sent Boris to try. It would be better to go ahead with the tty

Re: Relax permissions for reading hard drive serial number?

2007-12-02 Thread Pavel Machek
Hi! http://marc.info/?l=linux-kernelm=96836765403118w=2, Linus wrote: Hmm.. I have this feeling that it would be much nicer to just implement the NT system calls directly. ... I wouldn't be adverse to supporting Wine better... A few years on, Wine has matured to the point where it's

Re: [BUG] Strange 1-second pauses during Resume-from-RAM

2007-12-02 Thread Jörn Engel
On Sun, 2 December 2007 14:57:11 +0100, Ingo Molnar wrote: hm, do you have CONFIG_FRAME_POINTERS=y, i.e. are the dumps reliable? I do. Went through 10odd runs and annotated the function right below mcount each time. Seems to work now. Trouble is that it doesn't solve my real problem at

Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure (v2)

2007-12-02 Thread Avi Kivity
Amit Shah wrote: * Anthony Liguori wrote: This patch refactors the current hypercall infrastructure to better support live migration and SMP. It eliminates the hypercall page by trapping the UD exception that would occur if you used the wrong hypercall instruction for the underlying

Re: 20000+ wake-ups/second in 2.6.24. Bug?

2007-12-02 Thread Adrian Bunk
On Sat, Dec 01, 2007 at 06:43:39PM -0500, Mark Lord wrote: Mark Lord wrote: Arjan van de Ven wrote: On Fri, 30 Nov 2007 22:31:17 -0500 Mark Lord [EMAIL PROTECTED] wrote: ... Speaking of which.. what's with powertop on 2.6.24 ??? It's gone from 100-200 wakeups/sec to 2 wakeups/sec

Re: [BUG] Strange 1-second pauses during Resume-from-RAM

2007-12-02 Thread Jörn Engel
On Sun, 2 December 2007 13:31:25 +0100, Jörn Engel wrote: After another ten or so notrace annotations throughout the spinlock code, the latency tracer appears to work. Not sure how many useful information is missing through all the annotations, though. And here is a patch with the needed

Re: 20000+ wake-ups/second in 2.6.24. Bug?

2007-12-02 Thread Mark Lord
Adrian Bunk wrote: On Sat, Dec 01, 2007 at 06:43:39PM -0500, Mark Lord wrote: Mark Lord wrote: Arjan van de Ven wrote: On Fri, 30 Nov 2007 22:31:17 -0500 Mark Lord [EMAIL PROTECTED] wrote: ... Speaking of which.. what's with powertop on 2.6.24 ??? It's gone from 100-200 wakeups/sec to 2

Re: Strange system hangs

2007-12-02 Thread Krzysztof Oledzki
On Sat, 29 Sep 2007, Nick Piggin wrote: On Friday 28 September 2007 18:42, Krzysztof Oledzki wrote: Hello, I am experiencing weird system hangs. Once about 2-5 weeks system freezes and stops accepting remote connections, so it is no longer possible to connect to most important services:

Re: 20000+ wake-ups/second in 2.6.24. Bug?

2007-12-02 Thread Adrian Bunk
On Sun, Dec 02, 2007 at 09:59:57AM -0500, Mark Lord wrote: Adrian Bunk wrote: On Sat, Dec 01, 2007 at 06:43:39PM -0500, Mark Lord wrote: Mark Lord wrote: Arjan van de Ven wrote: On Fri, 30 Nov 2007 22:31:17 -0500 Mark Lord [EMAIL PROTECTED] wrote: ... Speaking of which.. what's with

RE: About Christmas Presents

2007-12-02 Thread Jemmy
Dear Friend, Christmas Day is coming. Maybe you need some presents for your family,friends or colleague. There is a good choice.We are a professional trading company. Our main products include all kinds of brand name products. Such as LV, Chanel, Coach, Gucci, Ed Hardy, Christian Dior, Chloe,

[PATCH 0/2] fix the long standing exec vs kill race

2007-12-02 Thread Oleg Nesterov
Depends on [PATCH] __group_complete_signal: fix coredump with group stop race http://marc.info/?l=linux-kernelm=119653436116036 Needs review and testing. Please comment, I think at least the idea is promising. Oleg. -- To unsubscribe from this list: send the line unsubscribe

[PATCH 2/2] exec: rework the group exit and fix the race with kill

2007-12-02 Thread Oleg Nesterov
As Roland pointed out, we have the very old problem with exec. de_thread() sets SIGNAL_GROUP_EXIT, kills other threads, changes -group_leader and then clears signal-flags. All signals (even fatal ones) sent in this window (which is not too small) will be lost. With this patch exec doesn't abuse

[PATCH 1/2] remove handle_group_stop() in favor of do_signal_stop()

2007-12-02 Thread Oleg Nesterov
Every time we set SIGNAL_GROUP_EXIT or clear SIGNAL_STOP_DEQUEUED we also reset -group_stop_count. This means that the SIGNAL_GROUP_EXIT check in handle_group_stop() is not needed, and do_signal_stop() should check SIGNAL_STOP_DEQUEUED only when -group_stop_count == 0. With these changes

Re: [BUG] Strange 1-second pauses during Resume-from-RAM

2007-12-02 Thread Ingo Molnar
* Jörn Engel [EMAIL PROTECTED] wrote: On Sun, 2 December 2007 13:31:25 +0100, Jörn Engel wrote: After another ten or so notrace annotations throughout the spinlock code, the latency tracer appears to work. Not sure how many useful information is missing through all the annotations,

Re: 20000+ wake-ups/second in 2.6.24. Bug?

2007-12-02 Thread Mark Lord
Here's the info from 2.6.23: dmesg + lsmod + lspci-v + PowerTop: [0.00] Linux version 2.6.23.8 ([EMAIL PROTECTED]) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #10 SMP PREEMPT Sun Dec 2 10:24:11 EST 2007 [0.00] BIOS-provided physical RAM map: [0.00] BIOS-e820:

Re: 20000+ wake-ups/second in 2.6.24. Bug?

2007-12-02 Thread Mark Lord
Here's the info from 2.6.24: dmesg + lsmod + lspci-v + PowerTop: [0.00] Linux version 2.6.24-rc3-git5 ([EMAIL PROTECTED]) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #3 SMP PREEMPT Fri Nov 30 22:35:04 EST 2007 [0.00] BIOS-provided physical RAM map: [0.00] BIOS-e820:

Re: [BUG] Strange 1-second pauses during Resume-from-RAM

2007-12-02 Thread Ingo Molnar
* Jörn Engel [EMAIL PROTECTED] wrote: I do. Went through 10odd runs and annotated the function right below mcount each time. Seems to work now. Trouble is that it doesn't solve my real problem at hand. Something is causing significant delays when writing to logfs. Core logfs code

Re: [feature] automatically detect hung TASK_UNINTERRUPTIBLE tasks

2007-12-02 Thread David Rientjes
On Sun, 2 Dec 2007, Ingo Oeser wrote: maybe, but we'd have to see how often this gets triggered. An OOM is something that could happen in any overloaded system - while a hung task is likely due to a kernel bug. What about a client using hard mounted NFS shares here? That shouldn't be

Re: [BUG 2.6.24-rc3-git6] SLUB's ksize() fails for size 2048.

2007-12-02 Thread Mark Lord
Tetsuo Handa wrote: Hello. I can't pass memory allocated by kmalloc() to ksize() if it is allocated by SLUB allocator and size is larger than (I guess) PAGE_SIZE / 2. Regards. -- Kernel config (grep CONFIG_SLUB .config) -- CONFIG_SLUB_DEBUG=y CONFIG_SLUB=y #

Re: [BUG 2.6.24-rc3-git6] SLUB's ksize() fails for size 2048.

2007-12-02 Thread Mark Lord
Mark Lord wrote: Tetsuo Handa wrote: Hello. I can't pass memory allocated by kmalloc() to ksize() if it is allocated by SLUB allocator and size is larger than (I guess) PAGE_SIZE / 2. Regards. -- Kernel config (grep CONFIG_SLUB .config) -- CONFIG_SLUB_DEBUG=y CONFIG_SLUB=y #

Re: RTC wakealarm write-only, still has 644 permissions

2007-12-02 Thread David Brownell
On Sunday 02 December 2007, Pavel Machek wrote: Anyway, with wildcarded dates, no-clobber is a problem -- because you need to kill the alarm after you waken up, or it will repeat. And I've started to fix that problem. Alarms need to act only in oneshot mode for other reasons too. - Dave -- To

Re: Reproducible data corruption with sendfile+vsftp - splice regression?

2007-12-02 Thread Holger Hoffstaette
On Fri, 30 Nov 2007 10:26:54 -0800, Rick Jones wrote: Could the corruption be seen in a tcpdump trace prior to transmission (ie taken on the sender) or was it only seen after the data passed out the NIC? I did the following: 1) turn on tso on the server's r8169: ethtool --offload eth0 tso

Re: [BUG 2.6.24-rc3-git6] SLUB's ksize() fails for size 2048.

2007-12-02 Thread Adrian Bunk
On Sun, Dec 02, 2007 at 07:39:59PM +0900, Tetsuo Handa wrote: Hello. I can't pass memory allocated by kmalloc() to ksize() if it is allocated by SLUB allocator and size is larger than (I guess) PAGE_SIZE / 2. Regards. -- Kernel config (grep CONFIG_SLUB .config) --

Re: [BUG 2.6.24-rc3-git6] SLUB's ksize() fails for size 2048.

2007-12-02 Thread Adrian Bunk
On Sun, Dec 02, 2007 at 10:56:11AM -0500, Mark Lord wrote: Tetsuo Handa wrote: ... kernel BUG at mm/slub.c:2562! ... Is p NULL ? Where'd your printk() output go to? Check the source, that's not the BUG_ON(!object), it's the BUG_ON(!page). cu Adrian -- Is there not promise of

Re: [BUG 2.6.24-rc3-git6] SLUB's ksize() fails for size 2048.

2007-12-02 Thread Vegard Nossum
On Dec 2, 2007 11:39 AM, Tetsuo Handa [EMAIL PROTECTED] wrote: Hello. I can't pass memory allocated by kmalloc() to ksize() if it is allocated by SLUB allocator and size is larger than (I guess) PAGE_SIZE / 2. Regards. Take a look at mm/slub.c around line 2560, in __kmalloc: if

Re: [lm-sensors] [PATCH 1/1] HWMON: coretemp, suspend fix

2007-12-02 Thread Mark M. Hoffman
Hi: * Rafael J. Wysocki [EMAIL PROTECTED] [2007-12-01 00:51:40 +0100]: On Saturday, 1 of December 2007, Rafael J. Wysocki wrote: On Friday, 30 of November 2007, Jiri Slaby wrote: On 11/30/2007 11:15 PM, Jean Delvare wrote: Hi Jiri, [--snip--] Should this change go to the

2.6.24: false double-clicks from USB mouse

2007-12-02 Thread Mark Lord
I've only just recently tried running 2.6.24 on my main machine. And it appears that I'll have to go back to 2.6.23, because the USB mouse is not working correctly. Single-clicking on things with 2.6.24 very frequently gives a double-click. This does not happen with 2.6.23.8. I wonder what

[PATCH] x86: disable hpet legacy replacement for kdump

2007-12-02 Thread OGAWA Hirofumi
OGAWA Hirofumi [EMAIL PROTECTED] writes: This seems to introduced after 2.6.23, so if possible, I'd like to fix before 2.6.24. What do you think the following? The following patch fixes the kdump path. Please apply. -- OGAWA Hirofumi [EMAIL PROTECTED] [PATCH] x86: disable hpet legacy

Re: [PATCH] x86: disable hpet legacy replacement for kdump

2007-12-02 Thread Ingo Molnar
* OGAWA Hirofumi [EMAIL PROTECTED] wrote: OGAWA Hirofumi [EMAIL PROTECTED] writes: This seems to introduced after 2.6.23, so if possible, I'd like to fix before 2.6.24. What do you think the following? The following patch fixes the kdump path. Please apply. thanks, added.

Re: [BUG 2.6.24-rc3-git6] SLUB's ksize() fails for size 2048.

2007-12-02 Thread Vegard Nossum
On Dec 2, 2007 5:30 PM, Vegard Nossum [EMAIL PROTECTED] wrote: On Dec 2, 2007 11:39 AM, Tetsuo Handa [EMAIL PROTECTED] wrote: Hello. I can't pass memory allocated by kmalloc() to ksize() if it is allocated by SLUB allocator and size is larger than (I guess) PAGE_SIZE / 2. Regards.

Re: [BUG] 2.6.24-rc3-mm2 kernel bug on nfs cifs mounted partitions

2007-12-02 Thread Kamalesh Babulal
Jan Kara wrote: On Thu 29-11-07 17:27:08, Kamalesh Babulal wrote: Andrew Morton wrote: On Thu, 29 Nov 2007 14:30:14 +0530 Kamalesh Babulal [EMAIL PROTECTED] wrote: Hi Andrew, While running file system stress on nfs and cifs mounted partitions, the machine drops to xmon 1:mon e cpu

Re: Oops with 2.6.24 git when loading iwl3945

2007-12-02 Thread Cyrill Gorcunov
[Thomas Tuttle - Tue, Nov 27, 2007 at 03:43:57PM -0500] | Hey. | | I'm using a git snapshot that gentoo distributed mere hours ago (so I'm | fairly confident it's current), and I'm getting an Oops when I try to | load the iwl3945 driver. I've attached it as plain text. | | Hope this helps, | |

Re: Relax permissions for reading hard drive serial number?

2007-12-02 Thread Matti Aarnio
On Thu, Nov 29, 2007 at 10:07:46PM +0100, Bartlomiej Zolnierkiewicz wrote: There are people who, for privacy reasons, really don't like that unique unchangeable serial numbers can be retrieved by untrusted users. You should probably chmod the file on the users system, if he is fine with

Re: [Bugme-new] [Bug 9482] New: kernel GPF in 2.6.24 (g09f345da)

2007-12-02 Thread Jon Nelson
I upgraded to a more recent commit, 92d499d991ec4f5cbd00d6f33967eab9d3ee8d6c and rebuilt. Now I get lots and lots of AoE errors, over and over again, but no GPF. aoe: can't get a frame. This shouldn't happen. It's possible the previous kernel had been patched, so I made really REALLY sure that

Re: 2.6.24: false double-clicks from USB mouse

2007-12-02 Thread Mark Lord
Mark Lord wrote: I've only just recently tried running 2.6.24 on my main machine. And it appears that I'll have to go back to 2.6.23, because the USB mouse is not working correctly. Single-clicking on things with 2.6.24 very frequently gives a double-click. This does not happen with 2.6.23.8.

Re: [PATCH 0/2] fix the long standing exec vs kill race

2007-12-02 Thread Simon Holm Thøgersen
søn, 02 12 2007 kl. 18:14 +0300, skrev Oleg Nesterov: Depends on [PATCH] __group_complete_signal: fix coredump with group stop race http://marc.info/?l=linux-kernelm=119653436116036 Needs review and testing. Please comment, I think at least the idea is promising. I have an

BUG: XFS/firefox-bin (2.6.23.8)

2007-12-02 Thread Avuton Olrich
Hello, 2.6.23.8 just crashed here, it had been up 8 days and suspended to disk many times in those 8 days. The process that crashed it was firefox-3.0b1. It crashed and could not be killed (please excuse me, I failed to get ps auxf output). All of the following information was after reboot,

REGRESSION: 2.6.24: false double-clicks from USB mouse

2007-12-02 Thread Mark Lord
Mark Lord wrote: Mark Lord wrote: I've only just recently tried running 2.6.24 on my main machine. And it appears that I'll have to go back to 2.6.23, because the USB mouse is not working correctly. Single-clicking on things with 2.6.24 very frequently gives a double-click. This does not

[patch] clean up drivers/char/rtc.c

2007-12-02 Thread Ingo Molnar
Subject: clean up drivers/char/rtc.c From: Ingo Molnar [EMAIL PROTECTED] tons of style cleanup in drivers/char/rtc.c - no code changed: textdata bss dec hex filename 6400 384 3268161aa0 rtc.o.before 6400 384 3268161aa0 rtc.o.after since

Re: BUG: XFS/firefox-bin (2.6.23.8)

2007-12-02 Thread Avuton Olrich
Adding xfs to CC On Dec 2, 2007 9:02 AM, Avuton Olrich [EMAIL PROTECTED] wrote: Hello, 2.6.23.8 just crashed here, it had been up 8 days and suspended to disk many times in those 8 days. The process that crashed it was firefox-3.0b1. It crashed and could not be killed (please excuse me, I

Re: Peculiar out-of-sync boot log lines

2007-12-02 Thread Nick Warne
On Sat, 1 Dec 2007 22:59:35 +0100 Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] wrote: Thanks for reporting/debugging it guys! Something in there needs to insert a '\n' before the skipping word message. Since it doesn't do that right now, the KERN_DEBUG string appears as 7 This seems

Re: [PATCH 0/2] fix the long standing exec vs kill race

2007-12-02 Thread Oleg Nesterov
On 12/02, Simon Holm Th?gersen wrote: s??n, 02 12 2007 kl. 18:14 +0300, skrev Oleg Nesterov: Please comment, I think at least the idea is promising. I have an issue that sounds related, but I might be completely off. I would expect the simple attached program to keep receiving the

Re: REGRESSION: 2.6.24: false double-clicks from USB mouse

2007-12-02 Thread Arjan van de Ven
On Sun, 02 Dec 2007 12:04:45 -0500 Mark Lord [EMAIL PROTECTED] wrote: Mark Lord wrote: Mark Lord wrote: I've only just recently tried running 2.6.24 on my main machine. And it appears that I'll have to go back to 2.6.23, because the USB mouse is not working correctly. Single-clicking

Re: REGRESSION: 2.6.24: false double-clicks from USB mouse

2007-12-02 Thread Mark Lord
Arjan van de Ven wrote: On Sun, 02 Dec 2007 12:04:45 -0500 Mark Lord [EMAIL PROTECTED] wrote: Mark Lord wrote: Mark Lord wrote: I've only just recently tried running 2.6.24 on my main machine. And it appears that I'll have to go back to 2.6.23, because the USB mouse is not working correctly.

Re: Oops with 2.6.24 git when loading iwl3945

2007-12-02 Thread Thomas Tuttle
On Sun, 2 Dec 2007 19:43:16 +0300, Cyrill Gorcunov [EMAIL PROTECTED] said: [Thomas Tuttle - Tue, Nov 27, 2007 at 03:43:57PM -0500] | Hey. | | I'm using a git snapshot that gentoo distributed mere hours ago (so I'm | fairly confident it's current), and I'm getting an Oops when I try to |

Re: REGRESSION: 2.6.24: false double-clicks from USB mouse

2007-12-02 Thread Jeff Garzik
Mark Lord wrote: Mark Lord wrote: Mark Lord wrote: I've only just recently tried running 2.6.24 on my main machine. And it appears that I'll have to go back to 2.6.23, because the USB mouse is not working correctly. Single-clicking on things with 2.6.24 very frequently gives a double-click.

Re: [PATCH 0/2] fix the long standing exec vs kill race

2007-12-02 Thread Simon Holm Thøgersen
søn, 02 12 2007 kl. 20:18 +0300, skrev Oleg Nesterov: On 12/02, Simon Holm Th?gersen wrote: s??n, 02 12 2007 kl. 18:14 +0300, skrev Oleg Nesterov: Please comment, I think at least the idea is promising. I have an issue that sounds related, but I might be completely off. I

Re: Oops with 2.6.24 git when loading iwl3945

2007-12-02 Thread Cyrill Gorcunov
[Thomas Tuttle - Sun, Dec 02, 2007 at 12:46:01PM -0500] | On Sun, 2 Dec 2007 19:43:16 +0300, Cyrill Gorcunov | [EMAIL PROTECTED] said: | [Thomas Tuttle - Tue, Nov 27, 2007 at 03:43:57PM -0500] | | Hey. | | | | I'm using a git snapshot that gentoo distributed mere hours ago (so I'm | | fairly

  1   2   3   4   5   >