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

2007-07-12 Thread Jeremy Maitin-Shepard
Mark Lord [EMAIL PROTECTED] writes: [snip] Whoops.. wrong half of the script. For TuxOnIce in 10 seconds, it does this: [snip] I'd argue that for most usage patterns, it doesn't matter all that much how long it takes to hibernate and power off the system. What really matter is that it is

Re: Problem recovering a failed RIAD5 array with 4-drives.

2007-07-12 Thread James
On Thu, Jul 12, 2007 at 08:49:15AM -0500, James wrote: My apologies if this is not the correct forum. If there is a better place to post this please advise. Linux localhost.localdomain 2.6.17-1.2187_FC5 #1 Mon Sep 11 01:17:06 EDT 2006 i686 i686 i386 GNU/Linux (I was

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

2007-07-12 Thread Jesper Juhl
On 12/07/07, Ray Lee [EMAIL PROTECTED] wrote: On 7/11/07, Jesper Juhl [EMAIL PROTECTED] wrote: I'm wondering if it's time to make 4K stacks the default and to start considering removing the 8K stack option alltogether soon? Why? Leaving the option for 8k stacks isn't killing any kittens,

[x86_64 MCE] [RFC] mce.c race condition (or: when evil hacks are the only options)

2007-07-12 Thread Joshua Wise
Some time after my first[1] patch to mce.c, I had continued testing using the test method described there (inject hundreds of thousands of single-bit errors while reading from /dev/mcelog), and I came across a strange issue. Once every couple test cycles (i.e., every hundred-thousand injects),

Re: [PATCH] Chinese Language Maintainer

2007-07-12 Thread Pavel Machek
Hi! @@ -0,0 +1,20 @@ +The langauges in which the Linux kernel is developed are C and English. +(Note that Linus Torvalds' native language is Swedish, yet he chose choose? +A language maintainer accepts patches to the Linux kernel, written in C, from +authors who do not also speak English.

Re: Hibernation Redesign

2007-07-12 Thread Jeremy Maitin-Shepard
Al Boldi [EMAIL PROTECTED] writes: Mark Lord wrote: Jeremy Maitin-Shepard wrote: I'll certainly admit the kexec idea is vaporware currently, Your idea is starting to become a reality with this thread: [PATCH 0/2] Kexec jump: The first step to kexec base hibernation Someone else pointed

Re: [PATCH] sb1250-duart.c: SB1250 DUART serial support

2007-07-12 Thread Andrew Sharp
On Thu, 12 Jul 2007 11:47:12 -0700 Andrew Morton [EMAIL PROTECTED] wrote: On Thu, 12 Jul 2007 18:39:00 +0100 (BST) Maciej W. Rozycki [EMAIL PROTECTED] wrote: This is a driver for the SB1250 DUART, a dual serial port implementation included in the Broadcom family of SOCs descending from

Re: 2.6.22-rc6-mm1 reiser4_tree_by_page NULL pointer

2007-07-12 Thread Zan Lynx
Edward Shishkin wrote: I have found the bug, which kills data when booting after crash, power loss, etc. The patch is attached. Please, ping me, if it doesn't help.. It appears to be holding up well so far. About 5 hours of Gentoo updating and compiling. - To unsubscribe from this list:

Re: Hard drive - dead or dying?

2007-07-12 Thread David Sumbler
On Thu, 2007-07-12 at 09:35 -0400, Mark Lord wrote: David Sumbler wrote: My computer (Ubuntu Feisty) would not boot correctly a few days ago: it seemed to get into a loop with the following printed about every 7 seconds (all laboriously copied in longhand, since it wasn't logged!):

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

2007-07-12 Thread Rafael J. Wysocki
On Thursday, 12 July 2007 21:55, Jeremy Maitin-Shepard wrote: Rafael J. Wysocki [EMAIL PROTECTED] writes: [snip] There's more to it, though. If devices are suspended, the hibernation kernel will have to resume them (using platform, like ACPI, callbacks in the process) instead

Re: x86 status was Re: -mm merge plans for 2.6.23

2007-07-12 Thread Andi Kleen
On Thu, Jul 12, 2007 at 12:33:43PM -0700, Christoph Lameter wrote: On Wed, 11 Jul 2007, Andi Kleen wrote: These all need re-review: i386-add-support-for-picopower-irq-router.patch make-arch-i386-kernel-setupcremapped_pgdat_init-static.patch

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

2007-07-12 Thread Pavel Machek
Hi! Looks interesting... but I was feeling strange dejavu reading this... and that's because you pasted the changelog twice :-). Sorry, I should have re-checked the mail before sending out. Were your patches enough to get hibernation working? I got kexec to work here, so I guess I'm

Re: blink driver power saving

2007-07-12 Thread Pavel Machek
Hi! I'll take patches. Ofcourse we'll have to keep the current EV_LED interface for compatibility. Here's a working version. For some reason, it only works with capslock led. (But so does your code, is that thinkpad problem?) My code does blink NumLock on my box (Dell) so I

Re: [PATCH 1/2] Kexec jump: Hibernation image operations

2007-07-12 Thread Pavel Machek
On Wed 2007-07-11 15:30:34, Huang, Ying wrote: This patch make it possible to have multiple implementations of hibernation image operations such as write, read, check, etc, and they can be switched at run time through writing the /sys/power/hibernation_image_ops. The uswsusp is the default

Re: sysrq-t dumps of s2ram/fuse deadlock (was Re: [PATCH] Remove process freezer from suspend to RAM pathway)

2007-07-12 Thread Pavel Machek
On Wed 2007-07-11 14:28:20, Matthew Garrett wrote: On Mon, Jul 09, 2007 at 01:29:05PM +, Pavel Machek wrote: Hi! Can we get them? They are neccessary for debugging 'what in suspend calls fuse' problem. And yes, that problem is there even when you remove freezer. I can produce

Re: Hibernation Redesign

2007-07-12 Thread Pavel Machek
Hi! Freezing of tasks is slowing down suspend. Don't know how serious this is, suspend is pretty fast, but could possibly be even faster. It's FUD. Freezing of tasks normally takes next to no time. I've never understood the rediculously long timeout it has. If freezing succeeds,

Re: x86 status was Re: -mm merge plans for 2.6.23

2007-07-12 Thread Matt Mackall
On Thu, Jul 12, 2007 at 12:50:19AM +0200, Thomas Gleixner wrote: Linus, On Wed, 2007-07-11 at 15:20 -0700, Linus Torvalds wrote: For example, we can make sure that the code in question that actually touches the hardware stays exactly the same, and then just move the interfaces around -

Re: [PATCH 2/2] Kexec jump: Kexec jump

2007-07-12 Thread Pavel Machek
Hi! This patch provide the kexec based implementation of hibernation image operation. Now, only jumping between original kernel and kexeced kernel is supported, real image write/read/check will be provided in next patches. I'd prefer this not to use hibernation hooks... existing dumping

Re: [PATCH 01/61] Rules on how to use sysfs in userspace programs

2007-07-12 Thread Pavel Machek
On Wed 2007-07-11 16:31:20, Greg Kroah-Hartman wrote: From: Kay Sievers [EMAIL PROTECTED] Here's a document to help clear things up. Signed-off-by: Kay Sievers [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- Documentation/sysfs-rules.txt | 166

Re: Forward port of latest RT patch (2.6.21.5-rt20) to 2.6.22 available

2007-07-12 Thread Sven-Thorsten Dietrich
On Thu, 2007-07-12 at 18:33 +0200, Ingo Molnar wrote: * Gregory Haskins [EMAIL PROTECTED] wrote: ok. Make sure you check rt2 as well - and note that it's not fully bisectable with PREEMPT_RT enabled (but should probably be fully bisectable with PREEMPT_RT disabled). So check out first

RE: S3 state transition

2007-07-12 Thread Agarwal, Lomesh
I searched the archives but couldn't get much. Can you point me to code? Thanks, Lomesh -Original Message- From: Pavel Machek [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 7:14 AM To: Agarwal, Lomesh Cc: linux-kernel@vger.kernel.org Subject: Re: S3 state transition On Wed

Re: [PATCH 1/2] Kexec jump: Hibernation image operations

2007-07-12 Thread Rafael J. Wysocki
On Thursday, 12 July 2007 11:38, Pavel Machek wrote: On Wed 2007-07-11 15:30:34, Huang, Ying wrote: This patch make it possible to have multiple implementations of hibernation image operations such as write, read, check, etc, and they can be switched at run time through writing the

Re: S3 state transition

2007-07-12 Thread Pavel Machek
On Thu 2007-07-12 13:45:10, Agarwal, Lomesh wrote: I searched the archives but couldn't get much. Can you point me to code? kernel/power/* Thanks, Lomesh -Original Message- From: Pavel Machek [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 7:14 AM To: Agarwal, Lomesh

[PATCH] broken lilo check on make install

2007-07-12 Thread Gabriel C
Hello, on make install I get the this error: ... sh /work/crazy/linux-git/linux-2.6/arch/i386/boot/install.sh 2.6.22-g4eb6bf6b arch/i386/boot/bzImage System.map /boot /work/crazy/linux-git/linux-2.6/arch/i386/boot/install.sh: line 54: /etc/lilo/install: No such file or directory make[1]: ***

[ANNOUNCE] GIT 1.5.2.4

2007-07-12 Thread Junio C Hamano
The latest maintenance release GIT 1.5.2.4 is available at the usual places: http://www.kernel.org/pub/software/scm/git/ git-1.5.2.4.tar.{gz,bz2} (tarball) git-htmldocs-1.5.2.4.tar.{gz,bz2} (preformatted docs) git-manpages-1.5.2.4.tar.{gz,bz2}

Re: [GIT PULL] Blackfin arch fixes (try #2)

2007-07-12 Thread Mike Frysinger
On 7/6/07, Jan Dittmer [EMAIL PROTECTED] wrote: Mike Frysinger wrote: On 7/4/07, Jan Dittmer [EMAIL PROTECTED] wrote: Mike Frysinger wrote: On 7/3/07, Jan Dittmer [EMAIL PROTECTED] wrote: Bryan Wu wrote: Jie's patch is required because we will release our new Blackfin toolchain. So,

Re: [announce] split-up -rt patch-queue, v2.6.22.1-rt2

2007-07-12 Thread Serge Belyshev
Ingo Molnar [EMAIL PROTECTED] writes: We are pleased to announce something we've been working on for some time: a finegrained, split-up patch queue of the -rt kernel patch. From now on (as of 2.6.22.1-rt2) it will be part of every upstream -rt release and it is available from the -rt

Re: [2.6.23 PATCH 14/18] dm: netlink add to core

2007-07-12 Thread Alasdair G Kergon
On Thu, Jul 12, 2007 at 01:37:43PM -0600, Eric W. Biederman wrote: This of course assumes things are a good fit or the other pieces can be made to be a good fit. Currently I don't see the what makes device mapper's events not fit the existing models, and I don't see it in the description for

Re: [x86_64 MCE] [RFC] mce.c race condition (or: when evil hacks are the only options)

2007-07-12 Thread Andi Kleen
On Thursday 12 July 2007 22:24:36 Joshua Wise wrote: Some time after my first[1] patch to mce.c, I had continued testing using the test method described there (inject hundreds of thousands of single-bit errors while reading from /dev/mcelog), and I came across a strange issue. Once every

Re: [x86_64 MCE] [RFC] mce.c race condition (or: when evil hacks are the only options)

2007-07-12 Thread Tim Hockin
On 7/12/07, Andi Kleen [EMAIL PROTECTED] wrote: -- there may be other edge cases other than this one. I'm actually surprised that this wasn't a ring buffer to start with -- it certainly seems like it wanted to be one. The problem with a ring buffer is that it would lose old entries; but for

Re: v2.6.22.1-rt1

2007-07-12 Thread Michael Gerdau
to build a 2.6.22.1-rt1 tree, the following patches should be applied:      http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.1.tar.bz2    http://redhat.com/~mingo/realtime-preempt/patch-2.6.22.1-rt1 I get a compile error on my x86_64 dualcore sytem. could you check it

Re: -mm merge plans -- anti-fragmentation

2007-07-12 Thread Mel Gorman
On (12/07/07 12:29), Andrew Morton didst pronounce: On Tue, 10 Jul 2007 11:20:43 +0100 [EMAIL PROTECTED] (Mel Gorman) wrote: create-the-zone_movable-zone.patch allow-huge-page-allocations-to-use-gfp_high_movable.patch handle-kernelcore=-generic.patch Mel's moveable-zone work.

Re: [PATCH] fix idr_get_new_above id alias bugs

2007-07-12 Thread Andrew Morton
On Tue, 10 Jul 2007 16:05:31 -0400 Jim Houston [EMAIL PROTECTED] wrote: Hoang-Nam Nguyen reported a bug in idr_get_new_above() which occurred with a starting id value like 0x3ffc. His test module easily reproduced the problem. Thanks. The test revealed the following bugs: 1.

[RFT] skge: fiber carrier handling

2007-07-12 Thread Stephen Hemminger
Does this fix your problems? I don't have dual port boards but have an old SK-9843 fiber board. The XM PHY can give IRQ on lost carrier, which is better than polling. This version also solves an number of bonding/carrier related bugs. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED]

Re: [PATCH 01/61] Rules on how to use sysfs in userspace programs

2007-07-12 Thread Kay Sievers
On Thu, 2007-07-12 at 10:48 +0200, Pavel Machek wrote: On Wed 2007-07-11 16:31:20, Greg Kroah-Hartman wrote: From: Kay Sievers [EMAIL PROTECTED] Here's a document to help clear things up. Signed-off-by: Kay Sievers [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL

Re: malicious filesystems (was Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway)

2007-07-12 Thread Miklos Szeredi
Actually there's also a non-malicious case in which waiting for requests to finish won't work: when one fuse filesystem is accessing another. Since we are blocking new fuse requests, that might block a fuse daemon, which in turn makes it impossible to finish the pending request.

Re: [PATCH] fix idr_get_new_above id alias bugs

2007-07-12 Thread Chuck Ebbert
On 07/12/2007 05:35 PM, Andrew Morton wrote: With this patch, idr.c should work as advertised allocating id values in the range 0...0x7fff. Andrew had speculated that it should allow the full range 0...0x to be used. I was tempted to make changes to allow this, but it would

Re: Problem recovering a failed RIAD5 array with 4-drives.

2007-07-12 Thread Phil Turmel
James wrote: [snip /] On Thu, Jul 12, 2007 at 08:49:15AM -0500, James wrote: I've tried a few cautions things to bring the array back up with the three good drives with no luck. [snip /] mdadm --create --verbose /dev/md0 --assume-clean --level=raid5 --raid-devices=4 --spare-devices=0

Re: [PATCH] 2.6.22 - Documentation Cleanup

2007-07-12 Thread Jesper Juhl
On 12/07/07, Matt LaPlante [EMAIL PROTECTED] wrote: Version 2 with fixes suggested by Randy Joe. On Mon, 9 Jul 2007 13:45:16 -0400 Matt LaPlante [EMAIL PROTECTED] wrote: Fix misc small issues/typos/grammar in Documentation txts for 2.6.22. Looks good to me, except for a few minor bits

Re: Hibernation Redesign

2007-07-12 Thread Miklos Szeredi
Freezing of tasks is slowing down suspend. Don't know how serious this is, suspend is pretty fast, but could possibly be even faster. It's FUD. Freezing of tasks normally takes next to no time. I've never understood the rediculously long timeout it has. If freezing succeeds,

Re: [PATCH 01/61] Rules on how to use sysfs in userspace programs

2007-07-12 Thread Greg KH
On Thu, Jul 12, 2007 at 10:48:46AM +0200, Pavel Machek wrote: On Wed 2007-07-11 16:31:20, Greg Kroah-Hartman wrote: From: Kay Sievers [EMAIL PROTECTED] Here's a document to help clear things up. Signed-off-by: Kay Sievers [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL

Re: [RFT] skge: fiber carrier handling

2007-07-12 Thread Chris Stromsoe
On Thu, 12 Jul 2007, Stephen Hemminger wrote: Does this fix your problems? I don't have dual port boards but have an old SK-9843 fiber board. Nope. It still hangs with: fresno:~# ip li set eth2 up fresno:~# ip li set eth2 down fresno:~# ip li set eth3 up This is with 2.6.22.1 If I load

Re: [PATCH 3/3] Dynamic kmem cache allocator for pid namespaces

2007-07-12 Thread Andrew Morton
On Tue, 10 Jul 2007 18:28:10 +0400 Pavel Emelianov [EMAIL PROTECTED] wrote: Add kmem_cache to pid_namespace to allocate pids from. I'm having trouble understanding this changelog. Since booth implementations expand the struct pid to carry more numerical values each namespace should have

Re: [PATCH 01/61] Rules on how to use sysfs in userspace programs

2007-07-12 Thread Pavel Machek
Hi! +The kernel exported sysfs exports internal kernel implementation-details +and depends on internal kernel structures and layout. It is agreed upon +by the kernel developers that the Linux kernel does not provide a stable +internal API. As sysfs is a direct export of kernel

Re: Problem recovering a failed RIAD5 array with 4-drives.

2007-07-12 Thread Neil Brown
On Thursday July 12, [EMAIL PROTECTED] wrote: []# mdadm --create --verbose /dev/md0 --assume-clean --level=raid5 --raid-devices=4 --spare-devices=0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 snip Number Major Minor RaidDevice State 0 8 170

Re: [PATCH] BLOCK: Remove references to dead CONFIG_MM_MAP_MEMORY variable.

2007-07-12 Thread Neil Brown
On Thursday July 12, [EMAIL PROTECTED] wrote: On Thu, Jul 12 2007, Robert P. J. Day wrote: Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] Looks fine to me, I remember this being brought up a long time ago, but apparently it never got merged. Neil? Yes, Acked-by: NeilBrown [EMAIL

Re: Problem recovering a failed RIAD5 array with 4-drives.

2007-07-12 Thread Neil Brown
On Thursday July 12, [EMAIL PROTECTED] wrote: I don't know the original order of the array before all the problems started. Is there a way to determine the original order? No, unless you have some old kernel logs of the last time it assembled the array properly. The one thing that

Re: lguest, Re: -mm merge plans for 2.6.23

2007-07-12 Thread Rusty Russell
On Thu, 2007-07-12 at 14:10 +0300, Avi Kivity wrote: Rusty Russell wrote: Remove export of __put_task_struct, and usage in lguest lguest takes a reference count of tasks for two reasons. The first is bogus: the /dev/lguest close callback will be called before the task is destroyed

Re: [PATCH] Start to genericize kconfig for use by other projects.

2007-07-12 Thread Matt Mackall
On Thu, Jul 12, 2007 at 02:44:18PM -0400, Rob Landley wrote: On Thursday 12 July 2007 12:28:39 pm Roman Zippel wrote: Hi, On Wed, 11 Jul 2007, Rob Landley wrote: Replace name Linux Kernel in menuconfig with a macro (defaulting to Linux Kernel if not -Ddefined by the makefile), and

Re: malicious filesystems (was Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway)

2007-07-12 Thread Miklos Szeredi
Ok, I'll just blame fuse here. 'You have to write to /sys files for SIGKILL to work' is not funny. SIGKILL won't work on a stopped task. Neither on a traced task. Neither on a zombie (how many newbies are thoroughly confused about that ;) And it won't work on a task that is hanging on

Re: [PATCH] Make asm-generic/ioctl.h more generic using conditionals.

2007-07-12 Thread Andrew Morton
On Tue, 10 Jul 2007 06:33:26 -0400 (EDT) Robert P. J. Day [EMAIL PROTECTED] wrote: Allow individual architectures to override a small set of macros before including asm-generic/ioctl.h, in order to greatly simplify a number of existing ioctl.h files. The overrideable macros would be:

Weird oopses with 2.6.22-rc7

2007-07-12 Thread Christian Kujau
Hi there, Since a few days I'm experiencing weird oopses on my iBook/G4 with ubuntu's 2.6.22-7-powerpc and also with a vanilla 2.6.22-rc7-git8. Now for the weird part: The oops happens when doing make install for a piece of software (xine-ui media player) as *root*. No kidding, it does NOT

Re: [stable] Linux 2.6.22.1

2007-07-12 Thread Rene Herman
On 07/12/2007 08:52 PM, Chris Wright wrote: Nish, I think you might be the only user ;-) I never figured out a nice way to do this w/out having a coherency issue (well, triggers aside). Ideally git would allow for something more transparent than alternatives, actual moving view to another

Re: [stable] Linux 2.6.22.1

2007-07-12 Thread Domenico Andreoli
On Thu, Jul 12, 2007 at 11:52:19AM -0700, Chris Wright wrote: * Nish Aravamudan ([EMAIL PROTECTED]) wrote: On 7/12/07, Greg KH [EMAIL PROTECTED] wrote: That is a tree that Chris did, and I didn't realize we were maintaining it as the official stable tree, that is why it is not mentioned

Re: [patch 0/4] Cell SPE logos

2007-07-12 Thread Andrew Morton
On Tue, 10 Jul 2007 14:27:02 +0200 Geert Uytterhoeven [EMAIL PROTECTED] wrote: The Cell Broadband Engine contains a 64-bit PowerPC core with 2 hardware threads (called PPEs) and 8 Synergistic Processing Engines (called SPEs). When booting Linux, 2 penguins logos are shown on the graphical

[GIT PULL] please pull infiniband.git

2007-07-12 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This will get the first batch of changes for the

Re: Problem recovering a failed RIAD5 array with 4-drives.

2007-07-12 Thread James
On Thu July 12 2007 5:48 pm, you wrote: On Thursday July 12, [EMAIL PROTECTED] wrote: []# mdadm --create --verbose /dev/md0 --assume-clean --level=raid5 --raid-devices=4 --spare-devices=0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 snip Number Major Minor RaidDevice

Re: RFC: removing DONGLE_OLD drivers?

2007-07-12 Thread Samuel Ortiz
Hi Adrian, On Mon, Jul 09, 2007 at 07:25:39PM +0200, Adrian Bunk wrote: With one exception, all DONGLE_OLD drivers have newer counterparts. The DONGLE_OLD drivers depend on BROKEN_ON_SMP which e.g. implies that the many distributions shipping only SMP-kernels will never offer them. The

Re: [2.6.23 PATCH 13/18] dm: netlink

2007-07-12 Thread Mike Anderson
Matt Mackall [EMAIL PROTECTED] wrote: On Wed, Jul 11, 2007 at 02:27:12PM -0700, Andrew Morton wrote: On Wed, 11 Jul 2007 22:01:37 +0100 Alasdair G Kergon [EMAIL PROTECTED] wrote: From: Mike Anderson [EMAIL PROTECTED] This patch adds a dm-netlink skeleton support to the Makefile,

Further 2.6.23 merge plans...

2007-07-12 Thread Roland Dreier
As you can see, I just sent my first 2.6.23 pull request for Linus. There are still a few more things I plan to do in before the merge window closes (in ~10 days): - Write a patch to add P_Key handling to user_mad in the way we discussed (add an ioctl to enable P_Key mode without breaking old

Re: [2.6.23 PATCH 14/18] dm: netlink add to core

2007-07-12 Thread Mike Anderson
Eric W. Biederman [EMAIL PROTECTED] wrote: As for worry about kmallocs do these events happen often? The worst case would most likely be in a dm multipath configuration where you could get a burst of N number events (N being equal to the number of luns times the number of paths that are having

Re: [GIT] SELinux changes for 2.6.23 (updated)

2007-07-12 Thread Michal Piotrowski
Hi, On 12/07/07, James Morris [EMAIL PROTECTED] wrote: This is an updated set of 2.6.23 SELinux changes, rebased tested against current git. The vmsplice patch has been dropped from this and will be resubmitted via Jens. Also added an ack from Chris Wright for the mmap null dereference hooks

Re: Weird oopses with 2.6.22-rc7

2007-07-12 Thread Nathan Lynch
Hello- Christian Kujau wrote: Hi there, Since a few days I'm experiencing weird oopses on my iBook/G4 with ubuntu's 2.6.22-7-powerpc and also with a vanilla 2.6.22-rc7-git8. Now for the weird part: The oops happens when doing make install for a piece of software (xine-ui media player)

Re: [PATCH] Start to genericize kconfig for use by other projects.

2007-07-12 Thread Adrian Bunk
On Wed, Jul 11, 2007 at 05:18:57PM -0400, Rob Landley wrote: On Wednesday 11 July 2007 3:55:21 pm Adrian Bunk wrote: On Wed, Jul 11, 2007 at 03:22:13PM -0400, Rob Landley wrote: ... --- a/crypto/Makefile Tue Jul 10 17:51:13 2007 -0700 +++ b/crypto/Makefile Wed Jul 11 15:07:07

Re: [2.6.23 PATCH 13/18] dm: netlink

2007-07-12 Thread Andrew Morton
On Thu, 12 Jul 2007 18:19:20 -0500 Matt Mackall [EMAIL PROTECTED] wrote: On Wed, Jul 11, 2007 at 02:27:12PM -0700, Andrew Morton wrote: On Wed, 11 Jul 2007 22:01:37 +0100 Alasdair G Kergon [EMAIL PROTECTED] wrote: From: Mike Anderson [EMAIL PROTECTED] This patch adds a

[GIT PATCH] USB patches for 2.6.22

2007-07-12 Thread Greg KH
Here are a bunch of USB patches and fixes against your 2.6.22 git tree. They include a number of new drivers, some cleanups in anticipation of future API changes, new infrastructure to make writing USB drivers easier, and a lot of USB suspend work. There are a lot of minor little things in here

RE: [dm-devel] Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

2007-07-12 Thread Guy Watkins
} -Original Message- } From: [EMAIL PROTECTED] [mailto:linux-raid- } [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] } Sent: Thursday, July 12, 2007 1:35 PM } To: [EMAIL PROTECTED] } Cc: Tejun Heo; [EMAIL PROTECTED]; Stefan Bader; Phillip Susi; device-mapper } development; [EMAIL

[2.6 patch] drivers/mmc/core/: make 4 functions static

2007-07-12 Thread Adrian Bunk
This patch makes the following needlessly global functions static: - sd_ops.c: mmc_app_cmd() - sd_ops.c: mmc_wait_for_app_cmd() - core.c: __mmc_release_bus() - core.c: mmc_start_request() Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- drivers/mmc/core/core.c | 49

[2.6 patch] mm/: remove unused exports

2007-07-12 Thread Adrian Bunk
This patch removes the following unused EXPORT_SYMBOL's: - migrate.c: migrate_page - mm/mmap.c: get_unmapped_area - mm/mmap.c: get_unmapped_area Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- mm/migrate.c |1 - mm/mmap.c|2 -- mm/nommu.c |2 -- 3 files changed, 5

Re: [GIT PATCH] USB patches for 2.6.22

2007-07-12 Thread Andrew Morton
On Thu, 12 Jul 2007 17:03:46 -0700 (PDT) Linus Torvalds [EMAIL PROTECTED] wrote: On Thu, 12 Jul 2007, Greg KH wrote: Here are a bunch of USB patches and fixes against your 2.6.22 git tree. This also seems to contain some *totally*pointless* config variable changes, that actually break

Re: [GIT PATCH] USB patches for 2.6.22

2007-07-12 Thread Greg KH
On Thu, Jul 12, 2007 at 05:03:46PM -0700, Linus Torvalds wrote: On Thu, 12 Jul 2007, Greg KH wrote: Here are a bunch of USB patches and fixes against your 2.6.22 git tree. This also seems to contain some *totally*pointless* config variable changes, that actually break simple things

Re: OMAP: Add TI TWL92330/Menelaus Power Management chip driver

2007-07-12 Thread Andrew Morton
On Tue, 10 Jul 2007 12:23:06 +0530 Trilok Soni [EMAIL PROTECTED] wrote: Add Texas Instruments TWL92330/Menelaus Power Management chip driver. This includes voltage regulators, Dual slot memory card tranceivers and real-time clock(RTC). The support for RTC is integrated with this driver

[patch] x86_64: Avoid too many remote cpu references due to /proc/stat

2007-07-12 Thread Ravikiran G Thirumalai
Too many remote cpu references due to /proc/stat. On x86_64, with newer kernel versions, kstat_irqs is a bit of a problem. On every call to kstat_irqs, the process brings in per-cpu data from all online cpus. Doing this for NR_IRQS, which is now 256 + 32 * NR_CPUS results in (256+32*63) * 63

Re: [GIT PATCH] USB patches for 2.6.22

2007-07-12 Thread Linus Torvalds
On Thu, 12 Jul 2007, Greg KH wrote: Here are a bunch of USB patches and fixes against your 2.6.22 git tree. This also seems to contain some *totally*pointless* config variable changes, that actually break simple things like make oldconfig. This commit is insane:

[patch] Avoid too many remote cpu references due to /proc/stat

2007-07-12 Thread Ravikiran G Thirumalai
On Thu, Jul 12, 2007 at 05:06:15PM -0700, Ravikiran G Thirumalai wrote: Too many remote cpu references due to /proc/stat. On x86_64, with newer kernel versions, kstat_irqs is a bit of a problem. On every call to kstat_irqs, the process brings in per-cpu data from all online cpus. Doing this

[2.6 patch] EP93XX_ETH must select MII

2007-07-12 Thread Adrian Bunk
From: John Donoghue [EMAIL PROTECTED] CONFIG_EP93XX_ETH=y, CONFIG_MII=n results in an obvious link error. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- linux-2.6.20.2.orig/drivers/net/arm/Kconfig 2007-03-09 22:32:46.0 -0500 +++ linux-2.6.20.2/drivers/net/arm/Kconfig 2007-03-09

Re: [patch 2/4] fbdev: Add fb_append_extra_logo()

2007-07-12 Thread Antonino A. Daplas
On Tue, 2007-07-10 at 14:27 +0200, Geert Uytterhoeven wrote: plain text document attachment (spe-logo) Add fb_append_extra_logo(), to append extra lines of logos below the standard Linux logo. Signed-off-by: Geert Uytterhoeven [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED]

Re: [2.6.23 PATCH 13/18] dm: netlink

2007-07-12 Thread Matt Mackall
On Wed, Jul 11, 2007 at 02:27:12PM -0700, Andrew Morton wrote: On Wed, 11 Jul 2007 22:01:37 +0100 Alasdair G Kergon [EMAIL PROTECTED] wrote: From: Mike Anderson [EMAIL PROTECTED] This patch adds a dm-netlink skeleton support to the Makefile, and the dm directory. ...

[2.6 patch] kernel/sched.c: remove 2 unused exports

2007-07-12 Thread Adrian Bunk
This patch removes the following unused exports: - EXPORT_SYMBOL(cond_resched_softirq); - EXPORT_SYMBOL_GPL(__wake_up_sync); Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- kernel/sched.c |2 -- 1 file changed, 2 deletions(-) --- linux-2.6.22-rc6-mm1/kernel/sched.c.old 2007-07-12

[2.6 patch] make net/ipv4/inet_timewait_sock.c:__inet_twsk_kill() static

2007-07-12 Thread Adrian Bunk
This patch makes the needlessly global __inet_twsk_kill() static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- include/net/inet_timewait_sock.h |3 --- net/ipv4/inet_timewait_sock.c|5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) ---

Re: Problem recovering a failed RIAD5 array with 4-drives. --RESOLVED

2007-07-12 Thread James
I don't know the original order of the array before all the problems started. Is there a way to determine the original order? No, unless you have some old kernel logs of the last time it assembled the array properly. The one thing that --create does destroy is the information

Re: blink driver power saving

2007-07-12 Thread Jiri Kosina
On Thu, 12 Jul 2007, Pavel Machek wrote: I'm not sure what you mean here. Should the code be moved to atkbd.c? ...and then duplicated to usbkbd.c? Hi Pavel, just a sidenote - usbkbd.c is probably a confusing misnomer, renaming it to something more appropriate is on my todo for one day. It

Re: RFC: CONFIG_PAGE_SHIFT (aka software PAGE_SIZE)

2007-07-12 Thread Andrea Arcangeli
On Thu, Jul 12, 2007 at 12:53:09PM -0500, Matt Mackall wrote: On Sat, Jul 07, 2007 at 12:26:51AM +0200, Andrea Arcangeli wrote: The original idea of having a software page size larger than a hardware page size, originated at SUSE by myself and Andi Kleen while helping AMD to design their

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

2007-07-12 Thread Jeremy Fitzhardinge
Jesper Juhl wrote: If, on the other hand, we consider 4K stacks to be the superior solution, then we should work to get all code fixed to be able to handle it so that it's actually something distros will start to enable so that we can eventually get rid of the 8K stack option alltogether. Making

[PATCH 01/02] USB: sierra: Add TRU-Install (c) Support [ATTEMPT 4]

2007-07-12 Thread Kevin Lloyd
From: Kevin Lloyd [EMAIL PROTECTED] This patch adds compatibility with Sierra Wireless' new TRU-Install feature. Future devices that use this feature will not work unless this patch has been applied. This attempt of the patch corrects a hard-coded return and the dev_dbg messages form the

[PATCH 02/02] USB: sierra: Add new devices

2007-07-12 Thread Kevin Lloyd
From: Kevin Lloyd [EMAIL PROTECTED] This patch adds new devices to the sierra wireless driver. This is being resubmitted because the dependent patch (patch 01/02) needed to be resubmitted. This patch was tested on the 2.6.21.1 kernel source patched with the following patches (found at

[GIT PULL] sh updates for 2.6.23-rc1

2007-07-12 Thread Paul Mundt
Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.git Which contains: Erik Johansson (1): sh: fix race in parallel out-of-tree build Kaz Kojima (1): sh: Fix up futex implementation. Kristoffer Ericson (2): sh: hd64461.h cleanup and added

Re: [ofa-general] Further 2.6.23 merge plans...

2007-07-12 Thread Hal Rosenstock
On Thu, 2007-07-12 at 19:15, Roland Dreier wrote: As you can see, I just sent my first 2.6.23 pull request for Linus. There are still a few more things I plan to do in before the merge window closes (in ~10 days): - Write a patch to add P_Key handling to user_mad in the way we discussed

Re: [PATCH] Make asm-generic/ioctl.h more generic using conditionals.

2007-07-12 Thread Robert P. J. Day
On Thu, 12 Jul 2007, Andrew Morton wrote: On Tue, 10 Jul 2007 06:33:26 -0400 (EDT) Robert P. J. Day [EMAIL PROTECTED] wrote: Allow individual architectures to override a small set of macros before including asm-generic/ioctl.h, in order to greatly simplify a number of existing ioctl.h

Re: [ofa-general] Further 2.6.23 merge plans...

2007-07-12 Thread Sean Hefty
- Take a look at Sean's local SA caching patches. I merged everything else from Sean's tree, but I'm still undecided about these. I haven't read them carefully yet, but even aside from that I don't have a good feeling about whether there's consensus about this yet. Any opinions

test [IGNORE]

2007-07-12 Thread Micah Gruber
test [IGNORE] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 01/61] Rules on how to use sysfs in userspace programs

2007-07-12 Thread Greg KH
On Fri, Jul 13, 2007 at 12:41:14AM +0200, Pavel Machek wrote: Hi! +The kernel exported sysfs exports internal kernel implementation-details +and depends on internal kernel structures and layout. It is agreed upon +by the kernel developers that the Linux kernel does not provide

Re: [RFT][PATCH v7] sata_mv: convert to new EH

2007-07-12 Thread dean gaudet
On Thu, 12 Jul 2007, Jeff Garzik wrote: dean gaudet wrote: On Thu, 12 Jul 2007, Jeff Garzik wrote: dean gaudet wrote: oh very nice... no warnings on boot, and no warnings while i dd if=/dev/sdX of=/dev/null and i'm seeing 74MB/s+ from each disk on this simple read test.

[PATCH] Simplify /proc/pid|self/exe symlink code

2007-07-12 Thread Matt Helsley
This patch avoids holding the mmap semaphore while walking VMAs in response to programs which read or follow the /proc/pid|self/exe symlink. This also allows us to merge mmu and nommu proc_exe_link() functions. The costs are holding the task lock, a separate reference to the executable file stored

[PATCH] replace kmem_cache_alloc with kmem_cache_zalloc to remove some following zero initializations.

2007-07-12 Thread Denis Cheng
From 4d87e14b67890f06885a76b5792ca034de2e9d06 Mon Sep 17 00:00:00 2001 From: Denis Cheng [EMAIL PROTECTED] Date: Thu, 12 Jul 2007 11:53:58 +0800 Subject: [PATCH] replace kmem_cache_alloc with kmem_cache_zalloc to remove some following zero initializations. Signed-off-by: Denis Cheng [EMAIL

Re: [PATCH] Optimize struct task_delay_info

2007-07-12 Thread Zhang, Yanmin
On Thu, 2007-07-12 at 14:21 -0400, Frank Ch. Eigler wrote: Zhang, Yanmin [EMAIL PROTECTED] writes: [...] 2) Delete lock. [..] In addition, the result is for performance data collection, so it's unnecessary to add such lock. Not sure that's a good idea. People expect their

Re: test [IGNORE]

2007-07-12 Thread Jesper Juhl
On 13/07/07, Micah Gruber [EMAIL PROTECTED] wrote: test [IGNORE] http://www.kernel.org/pub/linux/docs/lkml/#s3 : ... Test messages are very, very inappropriate on the lkml or any other list, for that matter. If you want to know whether the subscribe succeeded, wait for a couple of hours after

Full buffer cache not working properly

2007-07-12 Thread Thanos Makatos
I run several times the following test and what I've seen is that when the buffer cache becomes full, unneeded dirty buffer heads are not evicted and no other memory allocation can happen (including reading a block from the disk to the buffer cache). Should this happen? Here's the code that

Re: [dm-devel] Re: [2.6.23 PATCH 13/18] dm: netlink

2007-07-12 Thread Mike Anderson
Andrew Morton [EMAIL PROTECTED] wrote: On Thu, 12 Jul 2007 18:19:20 -0500 Matt Mackall [EMAIL PROTECTED] wrote: On Wed, Jul 11, 2007 at 02:27:12PM -0700, Andrew Morton wrote: On Wed, 11 Jul 2007 22:01:37 +0100 Alasdair G Kergon [EMAIL PROTECTED] wrote: From: Mike Anderson

Re: [PATCH] Simplify /proc/pid|self/exe symlink code

2007-07-12 Thread Al Viro
On Thu, Jul 12, 2007 at 07:00:12PM -0700, Matt Helsley wrote: This patch avoids holding the mmap semaphore while walking VMAs in response to programs which read or follow the /proc/pid|self/exe symlink. This also allows us to merge mmu and nommu proc_exe_link() functions. The costs are

<    3   4   5   6   7   8   9   >