Re: Patches for REALLY TINY 386 kernels

2007-07-17 Thread Jan Engelhardt
On Jul 15 2007 14:00, Jonathan Campbell wrote: > > These patches were written against the vanilla 2.6.21.1 kernel. They will have > no effect UNLESS you make menuconfig and explicitly enable them there. > > inline patches... >+config X86_DONT_CPUID >+ bool "Disable CPUID support" >+

Re: [PATCH 09/33] x86-64: update iommu/dma mapping functions to sg helpers

2007-07-17 Thread Muli Ben-Yehuda
On Mon, Jul 16, 2007 at 11:47:23AM +0200, Jens Axboe wrote: > This prepares x86-64 for sg chaining support. > > Additional improvements/fixups for pci-gart from > Benny Halevy <[EMAIL PROTECTED]> > > Cc: [EMAIL PROTECTED] > Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> > --- >

Re: [PATCH 09/33] x86-64: update iommu/dma mapping functions to sg helpers

2007-07-17 Thread Jens Axboe
On Tue, Jul 17 2007, Muli Ben-Yehuda wrote: > On Mon, Jul 16, 2007 at 11:47:23AM +0200, Jens Axboe wrote: > > > This prepares x86-64 for sg chaining support. > > > > Additional improvements/fixups for pci-gart from > > Benny Halevy <[EMAIL PROTECTED]> > > > > Cc: [EMAIL PROTECTED] > >

Re: [PATCH 09/33] x86-64: update iommu/dma mapping functions to sg helpers

2007-07-17 Thread Muli Ben-Yehuda
On Tue, Jul 17, 2007 at 01:05:03PM +0200, Jens Axboe wrote: > > FYI, here's the Calgary diff on top of the outstanding Calgary > > changes. > > When are these bits being merged into mainline? I'll hang on to this > version for helping me rebase the arch bits of chained sglists once > that

Re: sysfs root link count broken in 2.6.22-git5

2007-07-17 Thread Jean Delvare
Hi Greg, On Mon, 16 Jul 2007 20:48:44 -0700, Greg KH wrote: > On Sun, Jul 15, 2007 at 12:42:32PM +0200, Jean Delvare wrote: > > I'm running 2.6.22-git5 and noticed that the link count of the sysfs > > root is broken: > > > > $ ls -ld /sys > > drwxr-xr-x 2 root root 0 Jul 15 12:27 /sys > > > >

Re: BUG: unable to handle kernel NULL pointer dereference - nfs v3

2007-07-17 Thread Neil Brown
On Monday July 16, [EMAIL PROTECTED] wrote: > Hi, > > I'm not sure is the good place to poste that, and if not - please excuse me. This is the correct place to post this, thanks. > > I was running nfs server v2 since a year on one server, there is few days, i > have update my kernel to

[PATCH] SLAB_PANIC more (proc, posix-timers, shmem)

2007-07-17 Thread Alexey Dobriyan
These aren't modular, so SLAB_PANIC is OK. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- fs/proc/inode.c |4 +--- kernel/posix-timers.c |3 ++- mm/shmem.c|4 +--- 3 files changed, 4 insertions(+), 7 deletions(-) --- a/fs/proc/inode.c +++ b/fs/proc/inode.c

Re: [patch] CFS scheduler, -v19

2007-07-17 Thread Ian Kent
On Tue, 2007-07-17 at 09:45 +0200, Ingo Molnar wrote: > * Ian Kent <[EMAIL PROTECTED]> wrote: > > > Yes it does and I have two reported bugs so far. > > > > In several places I have code similar to: > > > > wait.tv_sec = time(NULL) + 1; > > wait.tv_nsec = 0; > > > > signaled = 0; > > while

Re: howto create partitions bigger than 2TB

2007-07-17 Thread Ingo Freund
On 14.07.2007 00:52, H. Peter Anvin wrote (please find the answer below the original text): > Ingo Freund wrote: >> Hi >> >> I've got a RAID5 (driver aacraid for an ICP9047MA) with four >> 750GB hdds which provides a 2.25TB sized device. >> None of the until now used tools will work with that

[PATCH] Pass nr_wake2 to futex_wake_op

2007-07-17 Thread Andreas Schwab
The fourth argument of sys_futex is ignored when op == FUTEX_WAKE_OP, but futex_wake_op expects it as its nr_wake2 parameter. The only user of this operation in glibc is always passing 1, so this bug had no consequences so far. Signed-off-by: Andreas Schwab <[EMAIL PROTECTED]> ---

ck1 patches for 2.6.22 and 2.6.20

2007-07-17 Thread [EMAIL PROTECTED]
Hi! I'm not happy with 2.6.22 stability so I want to stay on 2.6.20. Does -ck1 patches for 2.6.22 and 2.6.20 make the same job? Or it's better to backport -ck1 for 2.6.22 to 2.6.20? Thanks for your time! Best regards, Dmitry Milinevsky. - To unsubscribe from this list: send the line

Re: [PATCH] x86_64: Make ACPI the default reset option

2007-07-17 Thread Andi Kleen
On Monday 16 July 2007 20:02:21 Aaron Durbin wrote: > > Make ACPI be the default reset method for x86_64. If the reset mechanism fails > using ACPI, it will default to using the keyboard controller. Again why? You really can't just throw out these patches without any explanation. -Andi - To

Re: [PATCH] ACPI: Add reboot mechanism

2007-07-17 Thread Andi Kleen
On Monday 16 July 2007 20:00:19 Aaron Durbin wrote: > > Add the ability to reset the machine using the RESET_REG in ACPI's FADT table. Why? I had such a patch at some point as experiment, but it never helped actually fix a box. -Andi - To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 0/2] Kexec jump: The first step to kexec base hibernation

2007-07-17 Thread Rafael J. Wysocki
On Tuesday, 17 July 2007 06:18, [EMAIL PROTECTED] wrote: > On Mon, 16 Jul 2007, Rafael J. Wysocki wrote: > > > On Monday, 16 July 2007 16:42, Huang, Ying wrote: > >> On Mon, 2007-07-16 at 14:17 +0200, Rafael J. Wysocki wrote: > is this a matter of running some test to find out, or is this a

Re: howto create partitions bigger than 2TB

2007-07-17 Thread Jesper Juhl
On 17/07/07, Ingo Freund <[EMAIL PROTECTED]> wrote: On 14.07.2007 00:52, H. Peter Anvin wrote (please find the answer below the original text): > Ingo Freund wrote: >> Hi >> >> I've got a RAID5 (driver aacraid for an ICP9047MA) with four >> 750GB hdds which provides a 2.25TB sized device. >>

Re: Fwd: timerfd read only gets single byte?

2007-07-17 Thread Davi Arnaut
Michael Kerrisk wrote: > > Hi Davide, > > While writing a test program to incorporate into the timerfd.2 man page, I > think I've found a bug. It looks like only the least significant byte of > ticks is being returned from read(2), even though I am providing a 4 byte > buffer. > > The test

Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-17 Thread Geert Uytterhoeven
On Mon, 16 Jul 2007, Al Boldi wrote: > Satyam Sharma wrote: > > Or just "cp -al" to create multiple trees at (almost) no disk cost > > that won't interfere with each other in any way, and makes the > > development process / generating patchsets trifle easier as well ... > > That would be correct

[patch] softlockup watchdog: fix Xen bogosity

2007-07-17 Thread Ingo Molnar
Subject: softlockup: fix Xen bogosity From: Ingo Molnar <[EMAIL PROTECTED]> this Xen related commit: commit 966812dc98e6a7fcdf759cbfa0efab77500a8868 Author: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Date: Tue May 8 00:28:02 2007 -0700 Ignore stolen time in the softlockup

Re: Hibernating To Swap Considered Harmful

2007-07-17 Thread Rafael J. Wysocki
On Tuesday, 17 July 2007 09:34, [EMAIL PROTECTED] wrote: > On Tue, 17 Jul 2007, Joseph Fannin wrote: > > > On Mon, Jul 16, 2007 at 11:42:08PM -0700, [EMAIL PROTECTED] wrote: > >> On Tue, 17 Jul 2007, Joseph Fannin wrote: > > > >>> root is free to "dd if=/dev/random of=/dev/mem". Root owned > >>>

[PATCH] ivtv: don't recompile needlessly

2007-07-17 Thread Alexey Dobriyan
Driver prints 3l33t banner including kernel version. Could we _please_ never do this in future. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- drivers/media/video/ivtv/ivtv-driver.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/drivers/media/video/ivtv/ivtv-driver.c

Re: [PATCH 0/2] Kexec jump: The first step to kexec base hibernation

2007-07-17 Thread Rafael J. Wysocki
On Tuesday, 17 July 2007 10:13, [EMAIL PROTECTED] wrote: > Ying, as the kexec guru in this thread I have a question for you about how > kexec works (and possibly where you are going with this) > > for the power-off hibernate with ACPI disabled the hibernation seems > fairly straightforward

[PATCH] Don't define empty struct bsg_class_device if !CONFIG_BLK_DEV_BSG (was: Re: block/bsg.c)

2007-07-17 Thread Geert Uytterhoeven
Don't define an empty struct bsg_class_device if !CONFIG_BLK_DEV_BSG. It's embedded in struct request_queue, but there we have #if defined(CONFIG_BLK_DEV_BSG) struct bsg_class_device bsg_dev; #endif anyway. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- At first I considered

Re: Hibernation considerations

2007-07-17 Thread Al Boldi
[EMAIL PROTECTED] wrote: > On Mon, 16 Jul 2007, Al Boldi wrote: > > We have to go through ACPI, for wakeup functions to succeed. A simple > > power-off won't do. > > the kexec switch being posted requires ACPI be disabled, so it's clearly > possible to switch kernels and initialize devices

Re: [PATCH] Don't define empty struct bsg_class_device if !CONFIG_BLK_DEV_BSG (was: Re: block/bsg.c)

2007-07-17 Thread Jens Axboe
On Tue, Jul 17 2007, Geert Uytterhoeven wrote: > Don't define an empty struct bsg_class_device if !CONFIG_BLK_DEV_BSG. > > It's embedded in struct request_queue, but there we have > > #if defined(CONFIG_BLK_DEV_BSG) > struct bsg_class_device bsg_dev; > #endif > > anyway. Thanks, applied.

Re: [PATCH] ivtv: don't recompile needlessly

2007-07-17 Thread Hans Verkuil
> Driver prints 3l33t banner including kernel version. > Could we _please_ never do this in future. Thanks for reporting this. This was a leftover from when the driver was standalone. I've merged this patch in my repository and will push it upstream. Regards, Hans > > Signed-off-by:

[patch] softlockup: make asm/irq_regs.h available on every platform

2007-07-17 Thread Ingo Molnar
Subject: core: make asm/irq_regs.h available on every platform From: Ingo Molnar <[EMAIL PROTECTED]> the softlockup detector would like to use get_irq_regs(), so generalize the availability on every Linux architecture. (it is fine for an architecture to always return NULL to get_irq_regs(),

Re: Hibernating To Swap Considered Harmful

2007-07-17 Thread Rafael J. Wysocki
On Tuesday, 17 July 2007 09:26, Joseph Fannin wrote: > On Mon, Jul 16, 2007 at 11:42:08PM -0700, [EMAIL PROTECTED] wrote: > > On Tue, 17 Jul 2007, Joseph Fannin wrote: > > > >root is free to "dd if=/dev/random of=/dev/mem". Root owned > > >daemons which do bad things are bugs. > > > > in this

[patch] softlockup: improve debug output

2007-07-17 Thread Ingo Molnar
Subject: softlockup: improve debug output From: Ingo Molnar <[EMAIL PROTECTED]> improve the debuggability of kernel lockups by enhancing the debug output of the softlockup detector: print the task that causes the lockup and try to print a more intelligent backtrace. the old format was: BUG:

[patch 0/8] s390 update.

2007-07-17 Thread Martin Schwidefsky
The second s390 patchset for 2.6.23. This one contains bug fixes as usual and one new feature: the z/VM unit record device driver (vmur). This driver allows to access the virtual reader, punch and printer when running under z/VM. This is useful, e.g. to access the spool file containing a dump of

[patch 1/8] Update default configuration.

2007-07-17 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/defconfig | 109 ++-- 1 file changed, 31 insertions(+), 78 deletions(-) Index: quilt-2.6/arch/s390/defconfig

[patch 2/8] Fix disassembly of RX_URRD, SI_URD & PC-relative instructions.

2007-07-17 Thread Martin Schwidefsky
From: Christian Borntraeger <[EMAIL PROTECTED]> The instructions with format RX_URRD and SI_URD and instructions with a PC relative operand are not disassembled correctly. For RX_URRD and SI_URD instructions find_insn sets opfrag to code[0]. The mask byte of these two formats is 0x00.

[patch 3/8] qdio: output queue stall on FCP and network devices

2007-07-17 Thread Martin Schwidefsky
From: Frank Pavlic <[EMAIL PROTECTED]> When running QIOASSIST enabled qdio devices in a z/VM environment the output queue for such devices stall in heavy workload situations. When SQBS and EQBS instructions returns CCQ=96 qdio does not reissue the instruction again with the register settings done

[patch 4/8] vmcp cleanup

2007-07-17 Thread Martin Schwidefsky
From: Christian Borntraeger <[EMAIL PROTECTED]> A number of small changes to vmcp: - Change preferred email address. - Use PRINT_xxx machros from debug.h like most s390 drivers, define "vmcp:" as PRINTK_HEADER and wrap error message at column 80. - Add error number to error message. -

[patch 5/8] z/VM unit record device driver

2007-07-17 Thread Martin Schwidefsky
From: Frank Munzert <[EMAIL PROTECTED]> z/VM Unit record character device driver to access VM reader, punch, and printer. Signed-off-by: Frank Munzert <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/defconfig|1 drivers/s390/char/Kconfig |

[patch 6/8] Simplify stack trace.

2007-07-17 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> sparse gives us a few of these: stacktrace.c:69:38: warning: incorrect type in argument 2 (different signedness) stacktrace.c:69:38:expected unsigned int *skip Just get rid of the 'skip' argument since it is contained in the struct

[patch 8/8] Fix broken logic, SIGA flags must be bitwise ORed

2007-07-17 Thread Martin Schwidefsky
From: Jan Glauber <[EMAIL PROTECTED]> Signed-off-by: Jan Glauber <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/cio/qdio.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Index: quilt-2.6/drivers/s390/cio/qdio.c

[patch 7/8] cio: Dont print trailing \0 in modalias_show().

2007-07-17 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/cio/device.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: quilt-2.6/drivers/s390/cio/device.c

Please pull git390 'for-linus' branch

2007-07-17 Thread Martin Schwidefsky
Please pull from 'for-linus' branch of git://git390.osdl.marist.edu/pub/scm/linux-2.6.git for-linus to receive the following updates: arch/s390/defconfig | 110 ++ arch/s390/kernel/dis.c|7 +- arch/s390/kernel/stacktrace.c | 26 +- drivers/s390/char/Kconfig

[patch] softlockup watchdog: style cleanups

2007-07-17 Thread Ingo Molnar
Subject: softlockup watchdog: style cleanups From: Ingo Molnar <[EMAIL PROTECTED]> kernel/softirq.c grew a few style uncleanlinesses in the past few months, clean that up. No functional changes: textdata bss dec hex filename 1126 76 41206 4b6

[PATCH] Fix leaks on /proc/{*/sched,sched_debug,timer_list,timer_stats}

2007-07-17 Thread Alexey Dobriyan
On every open/close one struct seq_operations leaks. Kudos to /proc/slab_allocators. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- fs/proc/base.c|2 +- kernel/sched_debug.c |2 +- kernel/time/timer_list.c |2 +- kernel/time/timer_stats.c |2 +- 4 files

Re: [2.6 patch] crypto/Kconfig: remove "default m"s

2007-07-17 Thread Herbert Xu
On Sat, Jul 14, 2007 at 06:53:50AM +0200, Adrian Bunk wrote: > Other options requiring specific block cipher algorithms already have > the appropriate select's. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Applied. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu

Re: [2.6 patch] Makefile: use -fno-optimize-sibling-calls unconditionally

2007-07-17 Thread Sam Ravnborg
On Fri, Jul 13, 2007 at 06:18:47AM +0200, Adrian Bunk wrote: > We don't have to check for -fno-optimize-sibling-calls since even > gcc 3.2 supports it. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Applied, Sam - To unsubscribe from this list: send the line "unsubscribe

Re: [2.6 patch] drivers/crypto/Kconfig: hardware drivers shouldn't "default m"

2007-07-17 Thread Herbert Xu
On Sun, Jul 15, 2007 at 12:00:13PM +0200, Adrian Bunk wrote: > Hardware drivers shouldn't default to m. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Applied. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page:

Re: [PATCH] Fix leaks on /proc/{*/sched,sched_debug,timer_list,timer_stats}

2007-07-17 Thread Ingo Molnar
* Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > On every open/close one struct seq_operations leaks. > Kudos to /proc/slab_allocators. > > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> ouch ... Acked-by: Ingo Molnar <[EMAIL PROTECTED]> -stable material too, as far as timer_info/stats

Re: [patch-mm 01/33] clockevents: Remove unused inline function

2007-07-17 Thread Andi Kleen
On Sunday 15 July 2007 18:10:42 Thomas Gleixner wrote: > Index: linux-2.6.22-rc6-mm/include/linux/clockchips.h > === > --- linux-2.6.22-rc6-mm.orig/include/linux/clockchips.h 2007-07-15 > 09:44:00.0 +0200 > +++

[PATCH] AFS: Fix file locking

2007-07-17 Thread David Howells
Fix file locking for AFS: (*) Start the lock manager thread under a mutex to avoid a race. (*) Made the locking non-fair: New readlocks will jump pending writelocks if there's a readlock currently granted on a file. This makes the behaviour similar to Linux's VFS locking.

Re: [PATCH 0/2] Kexec jump: The first step to kexec base hibernation

2007-07-17 Thread Huang, Ying
On Tue, 2007-07-17 at 01:13 -0700, [EMAIL PROTECTED] wrote: > however, since the resume designed for ACPI won't work would the following > approach work > > 1. boot one kernel > 2. setup a kexec the same way you would for hibernate > 3. kexec to the new kernel > 4. overwrite the memory of the

Re: [patch-mm 14/33] x86_64: Consolidate tsc calibration

2007-07-17 Thread Andi Kleen
On Sunday 15 July 2007 18:10:55 Thomas Gleixner wrote: > Move the TSC calibration code to tsc.c. Reimplement it so the > pm timer can be used as a reference as well. Why is the pm timer better than the PIT for this? I've had mixed success with the pmtimer too. > > Index:

[PATCH] Fix leak on /proc/lockdep_stats

2007-07-17 Thread Alexey Dobriyan
On Tue, Jul 17, 2007 at 02:36:10PM +0200, Ingo Molnar wrote: > * Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > > > On every open/close one struct seq_operations leaks. > > Kudos to /proc/slab_allocators. > > > > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> > > ouch ... > > Acked-by: Ingo

[PATCH (resend) 0/2] workqueue lockup debugging

2007-07-17 Thread Johannes Berg
I recently experienced a lockup in the wireless code due to the scenario described in patch 1 and wanted to have lockdep warn about such scenarios as a way to catch such bugs in other subsystems as well as to make sure we wouldn't get such things ever again. In discussions with Oleg and Ingo it

[PATCH (resend) 1/2] workqueue: debug flushing deadlocks with lockdep

2007-07-17 Thread Johannes Berg
In the following scenario: code path 1: my_function() -> lock(L1); ...; flush_workqueue(); ... code path 2: run_workqueue() -> my_work() -> ...; lock(L1); ... you can get a deadlock when my_work() is queued or running but my_function() has acquired L1 already. This patch adds a pseudo-lock

Re: [PATCH] introduce __init_exit function annotation

2007-07-17 Thread Sam Ravnborg
On Tue, Jul 17, 2007 at 10:02:48AM +0200, Domen Puncer wrote: > Introduce __init_exit, which is useful ie. for drivers that call > cleanup functions when they fail in __init functions. This is wrong. On arm (just one example of several) the __exit section are discarded at buildtime so any

Re: [PATCH 1/3] leds-clevo-mail: export i8042_command()

2007-07-17 Thread Dmitry Torokhov
On 7/17/07, Németh Márton <[EMAIL PROTECTED]> wrote: From: Márton Németh <[EMAIL PROTECTED]> Export the i8042_command() function which manages the mutual exclusion with the help of the i8042_lock spinlock. This lets possible to use the i8042 hardware safely from other part of the kernel, too.

[PATCH (resend) 2/2] workqueue: debug work related deadlocks with lockdep

2007-07-17 Thread Johannes Berg
In the following scenario: code path 1: my_function() -> lock(L1); ...; cancel_work_sync(my_work) [or cancel_rearming_delayed_work(my_work)] code path 2: run_workqueue() -> my_work.f() -> ...; lock(L1); ... you can get a deadlock if my_work.f() is running but my_function() has acquired L1

Re: [PATCH 2/3] leds-clevo-mail: hw accelerated LED blink extension

2007-07-17 Thread Dmitry Torokhov
On 7/17/07, Németh Márton <[EMAIL PROTECTED]> wrote: +Hardware accelerated blink of LEDs +== + +Some LEDs can be programmed to blink without any CPU interaction. To +support this feature, a LED driver can optionally implement the +blink_set() function (see ). If

Re: [PATCH] appletouch powersaving - please apply for 2.6.23-rc1

2007-07-17 Thread Johannes Berg
Hi, Good stuff :) > + int idlecount; /* number of empty packets */ should probably use tabs here. > + size = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), > +ATP_GEYSER3_MODE_WRITE_REQUEST_ID, > +

Re: [PATCH] posix-timer: fix deletion race

2007-07-17 Thread Oleg Nesterov
On 07/17, Thomas Gleixner wrote: > > Jeremy Katz experienced a posix-timer related bug on 2.6.14. This is > caused by a subtle race, which is there since the original posix timer > commit and persists until today. > > timer_delete does: > lock_timer(); > timer->it_process = NULL; >

Re: [patch] CFS scheduler, -v19

2007-07-17 Thread Markus
> could you please send me the cfs-debug-info output nevertheless? private mail (4,9K) > > Nothing is printed for a disapeared app for me. > > > > Is there anything more I can try? > > sure - could you start one of those apps via: > > strace -ttt -TTT -o trace.log -f > > and wait for

[ANNOUNCE] util-linux-ng 2.13-rc2

2007-07-17 Thread Karel Zak
The second util-linux-ng 2.13 release candidate is available at ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/ v2.13-rc2 changelog: ~~~ readprofile: - also search for __stext in readprofile [Mike Frysinger] build-sys: - remove libtool [Karel Zak] cal: -

Re: BUG: unable to handle kernel NULL pointer dereference - nfs v3

2007-07-17 Thread David CHANIAL
Le mardi 17 juillet 2007 13:13, Neil Brown a écrit : > What is "-sdf88-core" ?? Are there any extra patches that we should > know about? I have upgraded to 2.6.22.1-sdf90-intel -sdf90 is a set of a configuration with one little patch : http://www.ssi.bg/~ja/#hidden intel or core juste

Re: [2.6.23 PATCH 07/18] dm io: fix panic on large request

2007-07-17 Thread Patrick McHardy
Alasdair G Kergon wrote: > From: "Jun'ichi Nomura" <[EMAIL PROTECTED]> > > bio_alloc_bioset() will return NULL if 'num_vecs' is too large. > Use bio_get_nr_vecs() to get estimation of maximum number. > > Signed-off-by: "Jun'ichi Nomura" <[EMAIL PROTECTED]> > Signed-off-by: Alasdair G Kergon

Re: [PATCH 3/3] leds-clevo-mail: driver for Clevo mail LED

2007-07-17 Thread Dmitry Torokhov
On 7/17/07, Németh Márton <[EMAIL PROTECTED]> wrote: + +#define TRUE 1 +#define FALSE 0 + +#define CLEVO_MAIL_LED_OFF 0x0084 +#define CLEVO_MAIL_LED_BLINK_1HZ 0x008A +#define CLEVO_MAIL_LED_BLINK_0_5HZ 0x0083 + +#define MODULE_FNAME

Re: uninline check_signature()

2007-07-17 Thread Geert Uytterhoeven
On Tue, 17 Jul 2007, Heiko Carstens wrote: > On Mon, Jul 16, 2007 at 03:35:34PM -0700, Linus Torvalds wrote: > > On Mon, 16 Jul 2007, Andrew Morton wrote: > > > > > > No, no revert, please. If the architecture doesn't support readb() then > > > we > > > need some reliable way of working that

KVM: Late fixes for the 2.6.23 merge window

2007-07-17 Thread Avi Kivity
A trio of issues were discovered and fixed while bringing up smp guests: - An nx huge page table shadow could alias a real mode shadow page table, causing the real mode page to be treated as not executable. For certain newer Linux kernels, this caused kvm to spin on the smp trampoline.

[PATCH 1/3] KVM: MMU: Store nx bit for large page shadows

2007-07-17 Thread Avi Kivity
We need to distinguish between large page shadows which have the nx bit set and those which don't. The problem shows up when booting a newer smp Linux kernel, where the trampoline page (which is in real mode, which uses the same shadow pages as large pages) is using the same mapping as a kernel

[PATCH 3/3] KVM: x86 emulator: implement rdmsr and wrmsr

2007-07-17 Thread Avi Kivity
Allow real-mode emulation of rdmsr and wrmsr. This allows smp Windows to boot, presumably for its sipi trampoline. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- drivers/kvm/kvm.h |2 ++ drivers/kvm/kvm_main.c|8 drivers/kvm/x86_emulate.c | 26

[PATCH 2/3] KVM: Fix memory slot management functions for guest smp

2007-07-17 Thread Avi Kivity
The memory slot management functions were oriented against vcpu 0, where they should be kvm-wide. This causes hangs starting X on guest smp. Fix by making the functions (and resultant tail in the mmu) non-vcpu-specific. Unfortunately this reduces the efficiency of the mmu object cache a bit. We

Re: [PATCH 5/5] Move alloc_pid call to copy_process

2007-07-17 Thread Oleg Nesterov
On 07/16, [EMAIL PROTECTED] wrote: > > Oleg Nesterov [EMAIL PROTECTED] wrote: > | > | Could you please give more details why we need this change? > > Well, with multiple pid namespaces, we may need to allocate a new > 'struct pid_namespace' if the CLONE_NEWPID flag is specified. And > as a part

[PATCH 10/10] Use standard CR8 flags, and fix TPR definition

2007-07-17 Thread Rusty Russell
Intel manual (and KVM definition) say it's TPR is 4 bits wide. Also fix CR8_RESEVED_BITS typo. Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> diff -r 6ef0b4c0d6f7 drivers/kvm/kvm_main.c --- a/drivers/kvm/kvm_main.cTue Jul 17 18:07:48 2007 +1000 +++ b/drivers/kvm/kvm_main.cTue Jul 17

Re: [kvm-devel] [PATCH 2/3] KVM - Fix hypercall arguments

2007-07-17 Thread Anthony Liguori
Avi Kivity wrote: Jeff Dike wrote: It looks like kvm_hypercall is trying to match the system call convention and mixed up the call number and first argument in the 32-bit case. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- drivers/kvm/kvm_main.c |4 ++-- 1 file changed, 2

Re: [PATCH 3/5] Use task_pid() to find leader's pid

2007-07-17 Thread Oleg Nesterov
On 07/16, [EMAIL PROTECTED] wrote: > > Oleg Nesterov [EMAIL PROTECTED] wrote: > | > | Stupid question: why do we need to put the pid namespace into the struct > | pid? Isn't it better if the user of the struct pid should know its ns? > | For example, if /proc does put_pid(), that pid should be

Re: [PATCH 10/10] Use standard CR8 flags, and fix TPR definition

2007-07-17 Thread Avi Kivity
Rusty Russell wrote: Intel manual (and KVM definition) say it's TPR is 4 bits wide. Also fix CR8_RESEVED_BITS typo. Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> diff -r 6ef0b4c0d6f7 include/asm-i386/processor-flags.h --- a/include/asm-i386/processor-flags.hTue Jul 17 18:07:48 2007

Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

2007-07-17 Thread Rene Herman
On 07/17/2007 01:38 AM, Matt Mackall wrote: On Sun, Jul 15, 2007 at 12:19:15AM +0200, Rene Herman wrote: Quite. Ofcourse, saying "our stacks are 1 page" would be the by far easiest solution to that. Personally, I've been running with 4K stacks exclusively on a variety of machines for quite

Re: [PATCH] Immunize rcu_dereference() against crazy compiler writers

2007-07-17 Thread Paul E. McKenney
On Tue, Jul 17, 2007 at 02:46:00AM -0700, Andrew Morton wrote: > On Wed, 11 Jul 2007 18:00:58 -0700 "Paul E. McKenney" <[EMAIL PROTECTED]> > wrote: > > > Turns out that compiler writers are a bit more aggressive about optimizing > > than one might expect. This patch prevents a number of such

[GIT PATCES] kbuild updates for merge window

2007-07-17 Thread Sam Ravnborg
Hi Linus. First kbuild push for the merge window. A bit late since I have been on vacation. The most noteworthy are quite some refactoring to produce better section mismatch warnings. The rest is basically just small changes with no major impact. The optimised header-check was not ready - it

Re: [PATCH] CFS: Fix missing digit off in wmult table

2007-07-17 Thread Roman Zippel
Hi, On Tue, 17 Jul 2007, Ingo Molnar wrote: > Roman, please do me a favor, and ask me the following question: > > " Ingo, you've been maintaining the scheduler for years. In fact you >wrote the old nice code we are talking about here. You changed it a >number of times since then. So

[PATCH 01/33] kbuild: asm-offsets.h is now cleaned with O=.. builds

2007-07-17 Thread Sam Ravnborg
Reported by: "Robert P. J. Day" <[EMAIL PROTECTED]> Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> Cc: "Robert P. J. Day" <[EMAIL PROTECTED]> --- Kbuild |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Kbuild b/Kbuild index 163f8cb..56b8edf 100644 --- a/Kbuild +++

[PATCH 03/33] powerpc: Refuse to build 64-bit with GCC-4.2.0 and CONFIG_MODULES

2007-07-17 Thread Sam Ravnborg
From: Segher Boessenkool <[EMAIL PROTECTED]> ...since this won't work (compiler bug, see ). Signed-off-by: Segher Boessenkool <[EMAIL PROTECTED]> Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- arch/powerpc/Makefile |8 1 files changed, 8

[PATCH 02/33] kbuild: New 'cc-fullversion' macro

2007-07-17 Thread Sam Ravnborg
From: Segher Boessenkool <[EMAIL PROTECTED]> Prints a six-digit string including the GCC patchlevel. Also fix the 'usage' comment for cc-version. Signed-off-by: Segher Boessenkool <[EMAIL PROTECTED]> Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- scripts/Kbuild.include |7 ++-

[PATCH 05/33] kbuild: avoid environment to set variables used by kbuild

2007-07-17 Thread Sam Ravnborg
A few of the variables used by kbuild has fixed naming. Make sure we do not pick up random values from the environment. Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- scripts/Makefile.build | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git

[PATCH 07/33] kconfig: use POSIX equality test in check-lxdialog.sh

2007-07-17 Thread Sam Ravnborg
From: Mike Frysinger <[EMAIL PROTECTED]> The "==" operator is not in POSIX, so use -eq instead. Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- scripts/kconfig/lxdialog/check-lxdialog.sh |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 04/33] kbuild: document cc-fullversion

2007-07-17 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- Documentation/kbuild/makefiles.txt | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index bb5306e..e08ef87 100644 ---

[PATCH 08/33] kbuild: add support for reading stdin with gen_init_cpio

2007-07-17 Thread Sam Ravnborg
From: Mike Frysinger <[EMAIL PROTECTED]> Treat an argument of "-" as meaning "read stdin for cpio files" so gen_init_cpio can be piped into. Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> ---

[PATCH 10/33] kconfig: fix update-po-config

2007-07-17 Thread Sam Ravnborg
Massimo Maiurana <[EMAIL PROTECTED]> reported that update-po-config was broken: 1) spelling errors in Makefile so arch/um failed 2) UTF-8 was not supported The following patch address the above problems. kxgettext now append the output to the .pot file generated by xgettext - so we have a header.

[PATCH 18/33] kbuild: warn about references from .init.text to .exit.text

2007-07-17 Thread Sam Ravnborg
The .exit.text section may be discarded either at build or at runtime. So let modpost warn if this situation is detected. Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- scripts/mod/modpost.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/scripts/mod/modpost.c

[PATCH 19/33] kbuild: remove hardcoded apic_es7000 from modpost

2007-07-17 Thread Sam Ravnborg
Replace the hardcoded variable name apic_es7000 in modpost with a __initdata_refok marker. Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- arch/i386/mach-generic/es7000.c |2 +- scripts/mod/modpost.c |1 - 2 files changed, 1 insertions(+), 2 deletions(-) diff --git

[PATCH 14/33] kbuild: .paravirtprobe section is obsolete, so modpost doesn't need to handle it

2007-07-17 Thread Sam Ravnborg
From: Jeremy Fitzhardinge <[EMAIL PROTECTED]> The .paravirtprobe section is obsolete, so modpost doesn't need to handle it. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Cc: Rusty Russell <[EMAIL PROTECTED]> Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- scripts/mod/modpost.c |

[PATCH 16/33] kbuild: refactor code in modpost to improve maintainability

2007-07-17 Thread Sam Ravnborg
There were a great deal of overlap between the two functions that check which sections may reference .init.text and .exit.text. Factor out common check to a separate function and sort entries in the original functions. Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- scripts/mod/modpost.c |

[PATCH 21/33] kbuild: whitelist references from variables named _timer to .init.text

2007-07-17 Thread Sam Ravnborg
arm uses a lot of ops structures named *_timer that has legitimite references to .init.text. So let's add this variable to the list of variables that may reference .init.text without causing any warning. Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- scripts/mod/modpost.c |3 ++- 1

[PATCH 17/33] kbuild: consolidate section checks

2007-07-17 Thread Sam Ravnborg
Move more checks from whitelist to the section check functions. Remove the redundent pci_fixup check. Renumber the patterns. No functional changes. Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- scripts/mod/modpost.c | 32 +++- 1 files changed, 7 insertions(+),

[PATCH 25/33] kbuild: use POSIX BRE in headers install target

2007-07-17 Thread Sam Ravnborg
From: Mike Frysinger <[EMAIL PROTECTED]> The sed expression used at the moment in scripts/Makefile.headersinst relies on the (handy) GNU extension where you can escape ERE's in an otherwise BRE without using the GNU -r option. The following patch replaces this "\+" usage with a functionally

[PATCH 26/33] kconfig: strip 'CONFIG_' automatically in kernel configuration search

2007-07-17 Thread Sam Ravnborg
From: Bernhard Walle <[EMAIL PROTECTED]> Modify the ncurses configuration tool ('make menuconfig') in a way that the user can enter the search string (/) both with or without the leading 'CONFIG_'. This simplifies using copy & paste from .config files because you can select the whole word.

[PATCH 22/33] kbuild: do section mismatch check on full vmlinux

2007-07-17 Thread Sam Ravnborg
Previously we did do the check on the .o files used to link vmlinux but that failed to find questionable references across the .o files. Create a dedicated vmlinux.o file used only for section mismatch checks that uses the defualt linker script so section does not get renamed. The vmlinux.o may

[PATCH 31/33] cris: use DATA_DATA in cris

2007-07-17 Thread Sam Ravnborg
From: Mathieu Desnoyers <[EMAIL PROTECTED]> * Sam Ravnborg ([EMAIL PROTECTED]) wrote: > From your patch it looks like I originally missed out > powerpc + xtensa when introducing DATA_DATA - would be nice if > you could fix that. > Use DATA_DATA in CRIS Signed-off-by: Mathieu Desnoyers <[EMAIL

[PATCH 33/33] xtensa: use DATA_DATA in xtensa

2007-07-17 Thread Sam Ravnborg
From: Mathieu Desnoyers <[EMAIL PROTECTED]> * Sam Ravnborg ([EMAIL PROTECTED]) wrote: > From your patch it looks like I originally missed out > powerpc + xtensa when introducing DATA_DATA - would be nice if > you could fix that. > > Sam Use DATA_DATA in xtensa Signed-off-by: Mathieu

[PATCH 32/33] powerpc: add missing DATA_DATA to powerpc

2007-07-17 Thread Sam Ravnborg
From: Mathieu Desnoyers <[EMAIL PROTECTED]> * Sam Ravnborg ([EMAIL PROTECTED]) wrote: > From your patch it looks like I originally missed out > powerpc + xtensa when introducing DATA_DATA - would be nice if > you could fix that. > > Sam Add missing DATA_DATA in powerpc Signed-off-by:

[PATCH 28/33] kconfig: reset generated values only if Kconfig and .config agree.

2007-07-17 Thread Sam Ravnborg
From: Roman Zippel <[EMAIL PROTECTED]> Normally generated values (Kconfig entries without a prompt) are cleared as they are regenerated anyway and so they appear as new should they become visible and defaults work as expected (once a value is set defaults aren't used anymore). The detection

[PATCH 29/33] kbuild: use -fno-optimize-sibling-calls unconditionally

2007-07-17 Thread Sam Ravnborg
From: Adrian Bunk <[EMAIL PROTECTED]> We don't have to check for -fno-optimize-sibling-calls since even gcc 3.2 supports it. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[PATCH 23/33] modpost white list pattern adjustment

2007-07-17 Thread Sam Ravnborg
From: Jan Beulich <[EMAIL PROTECTED]> gcc puts data into .data.rel or .data.rel.* on some architectures (e.g. ia64) or under certain conditions, so whatever is legal relative to .data should also be legal for those other sections. Fixes a few modpost warnings on ia64. Signed-off-by: Jan Beulich

[PATCH 20/33] kbuild: remove hardcoded _logo names from modpost

2007-07-17 Thread Sam Ravnborg
Replaced this with a __init_refok marker in front of fb_find_logo(). I think that the __initdata marker for the logo's are wrong but I have not justified this so I did not remove it. Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- drivers/video/logo/logo.c |7 +--

<    4   5   6   7   8   9   10   11   12   13   >