[patch 1/9] genirq: cleanup mismerge artifact

2007-11-02 Thread Greg KH
2.6.22-stable review patch. If anyone has any objections, please let us know. -- From: Thomas Gleixner <[EMAIL PROTECTED]> patch 496634217e5671ed876a0348e9f5b7165e830b20 in mainline. Commit 5a43a066b11ac2fe84cf67307f20b83bea390f83: "genirq: Allow fasteoi handler to retrigger dis

Re: 2.6.34-rc1 eat my photo SD card :-(

2007-11-02 Thread Pierre Ossman
On Thu, 01 Nov 2007 13:17:42 -0400 Chuck Ebbert <[EMAIL PROTECTED]> wrote: > > I always flip the write-protect switch when I use mine with a computer, > and only let the camera write to the card. Just so noone gets any optimistic ideas, that switch is software enforced so it's no guarantee agai

Linux 2.6.22.11

2007-11-02 Thread Greg Kroah-Hartman
We (the -stable team) are announcing the release of the 2.6.22.11 kernel. It fixes a number of reported bugs, and any user of the 2.6.22 series is encouraged to upgrade. I'll also be replying to this message with a copy of the patch between 2.6.22.10 and 2.6.22.11 Based on the responses of the la

[PATCH 8/10] 9p: loopback transport

2007-11-02 Thread Latchesar Ionkov
9P loopback transport that can be used between 9P in-kernel servers and v9fs on the same machine. Signed-off-by: Latchesar Ionkov <[EMAIL PROTECTED]> --- net/9p/Kconfig |7 + net/9p/Makefile |4 + net/9p/trans_loop.c | 371 +++ 3

[PATCH 5/10] 9p: marshalling changes for in-kernel server

2007-11-02 Thread Latchesar Ionkov
This patch implements serialization/deserialization for the server-side 9P messages. Signed-off-by: Latchesar Ionkov <[EMAIL PROTECTED]> --- include/net/9p/9p.h | 16 ++ net/9p/conv.c | 457 +-- 2 files changed, 462 insertions(+), 11 delet

[PATCH 4/10] 9p: tranport interface changes for in-kernel server

2007-11-02 Thread Latchesar Ionkov
This patch adds in-kernel 9P server support to the transport interface. Signed-off-by: Latchesar Ionkov <[EMAIL PROTECTED]> --- fs/9p/v9fs.c |2 +- include/net/9p/transport.h | 31 --- net/9p/mux.c |6 +++--- 3 files changed, 32 i

Re: delayacct regression in 2.6.24 git

2007-11-02 Thread Balbir Singh
Ingo Molnar wrote: > * Balbir Singh <[EMAIL PROTECTED]> wrote: > >> Hi, Ingo, >> >> I missed commit 75d4ef16a6aa84f708188bada182315f80aab6fa >> "sched: fix delay accounting performance regression" >> >> Without these changes, I find that delay accounting does >> not work as expected, I see zeros i

Re: [patch 1/4] x86: FIFO ticket spinlocks

2007-11-02 Thread Linus Torvalds
On Fri, 2 Nov 2007, Chuck Ebbert wrote: > > There's also a very easy way to get better fairness with our current > spinlocks: > use xchg to release the lock instead of mov. That does nothing at all. Yes, it slows the unlock down, which in turn on some machines will make it easier for another

Re: [AppArmor 19/45] Add struct vfsmount parameters to vfs_rename()

2007-11-02 Thread Peter Zijlstra
On Fri, 2007-11-02 at 11:14 +0100, Bodo Eggert wrote: > /me prepares for the impact of a large round object on earth. /me ponders the implications of the impact of a 2 dimensional object colliding with a 3 dimensional object in real life. - To unsubscribe from this list: send the line "unsubscri

Re: [PATCH] Fix delay accounting regression

2007-11-02 Thread Balbir Singh
Ingo Molnar wrote: > * Balbir Singh <[EMAIL PROTECTED]> wrote: > >> Fix the delay accounting regression introduced by commit >> 75d4ef16a6aa84f708188bada182315f80aab6fa. rq no longer has sched_info >> data associated with it. task_struct sched_info structure is used by >> delay accounting to pr

Re: kernel 2.6.24-rc1-git10 crash report

2007-11-02 Thread Rafael J. Wysocki
On Friday, 2 November 2007 09:24, w.landgraf wrote: > A detailed crash report is in your letter box > [EMAIL PROTECTED] . It returned steady-steady > because was considered como spam by your mailer. > w.landgraf www.copaya.yi.org Can you please send a problem description, in plain text, first? T

Re: [2.6.24-rc1][BUG] Oops on battery removal

2007-11-02 Thread Alexey Starikovskiy
Rolf Eike Beer wrote: Alexey Starikovskiy wrote: Rolf Eike Beer wrote: Rolf Eike Beer wrote: Hi, this happened while I removed my battery on bootup. Complete dmesg is attached. Kernel is 2.6.24-rc1-git of yesterday (last commit was d919fd433b5823d1cf9d0688eb2eec183de9b74c). Ok, I found out t

Re: 2.6.23 regression: accessing invalid mmap'ed memory from gdb causes unkillable spinning

2007-11-02 Thread Nick Piggin
On Thu, Nov 01, 2007 at 10:02:04PM -0700, David Miller wrote: > From: David Miller <[EMAIL PROTECTED]> > Date: Wed, 31 Oct 2007 00:44:25 -0700 (PDT) > > > From: Nick Piggin <[EMAIL PROTECTED]> > > Date: Wed, 31 Oct 2007 08:41:06 +0100 > > > > > You could possibly even do a generic "best effort" k

Re: [PATCH] CRISv10 serial driver rewrite

2007-11-02 Thread Jiri Slaby
On 11/02/2007 10:34 AM, Jesper Nilsson wrote: > Resubmission of the new and improved serial driver for CRISv10, > this time with both patches in the same mail and with hopefully > useful subject. > > - Removed CVS tags. > - Removed defines and comments for CRIS_BUF_SIZE and TTY_THRESHOLD_THROTTLE

Re: pdflush stuck in D state with v2.6.24-rc1-192-gef49c32

2007-11-02 Thread Fengguang Wu
On Thu, Nov 01, 2007 at 09:10:02PM -0500, Florin Iucha wrote: > On Fri, Nov 02, 2007 at 09:33:21AM +0800, Fengguang Wu wrote: > > > I will try that with a USB disk - I hope that won't make a difference. > > > > Thank you. I guess a reiserfs on loop file would also be OK. > > > > > > btw, what's t

Re: writeout stalls in current -git

2007-11-02 Thread Fengguang Wu
On Fri, Nov 02, 2007 at 11:15:32AM +0100, Peter Zijlstra wrote: > On Fri, 2007-11-02 at 10:21 +0800, Fengguang Wu wrote: > > > Interestingly, no background_writeout() appears, but only > > balance_dirty_pages() and wb_kupdate. Obviously wb_kupdate won't > > block the process. > > Yeah, the backg

Re: [linux-pm] [RFC][PATCH 1/3] Suspend: Testing facility

2007-11-02 Thread Johannes Berg
> 5 - test the freezing of processes > +/* Suspend test levels */ > +enum { > + TEST_NONE, Without reading the code, I assume that this enum controls those levels. I think a comment that it is user-space visible API and should not be reordered would be warranted. johannes signature.asc D

Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead

2007-11-02 Thread Peter Zijlstra
On Thu, 2007-11-01 at 15:58 -0700, David Miller wrote: > Since you're the one who wants to change the semantics and guarentees > of this interface, perhaps it might help if you did some greps around > the tree to see how alloc_percpu() is actually used. That's what > I did when I started running

Re: [PATCH] ehea: add kexec support

2007-11-02 Thread Christoph Raisch
Michael Ellerman <[EMAIL PROTECTED]> wrote on 02.11.2007 07:30:08: > On Wed, 2007-10-31 at 20:48 +0100, Christoph Raisch wrote: > > Michael Ellerman <[EMAIL PROTECTED]> wrote on 30.10.2007 23:50:36: > If that's really the way it works then eHEA is more or less broken for > kdump I'm afraid. We t

Re: [2.6.24-rc1][BUG] Oops on battery removal

2007-11-02 Thread Alexey Starikovskiy
Rolf Eike Beer wrote: Rolf Eike Beer wrote: Hi, this happened while I removed my battery on bootup. Complete dmesg is attached. Kernel is 2.6.24-rc1-git of yesterday (last commit was d919fd433b5823d1cf9d0688eb2eec183de9b74c). Ok, I found out that it has nothing to do with the actual removal a

Re: [2.6.24-rc1][BUG] Oops on battery removal

2007-11-02 Thread Rolf Eike Beer
Rolf Eike Beer wrote: > Hi, > > this happened while I removed my battery on bootup. Complete dmesg is > attached. Kernel is 2.6.24-rc1-git of yesterday (last commit was > d919fd433b5823d1cf9d0688eb2eec183de9b74c). Ok, I found out that it has nothing to do with the actual removal as it seems. When

Re: sata_nv: ata2 errors

2007-11-02 Thread Amit Shah
On 11/2/07, Jeff Garzik <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > > On Thu, 25 Oct 2007 13:18:50 +0530 > > "Amit Shah" <[EMAIL PROTECTED]> wrote: > > > >> On 2.6.24-rc1 (AMD Opteron 1216), my sata_nv driver produces this > >> output on bootup: > >> > >> ata2: EH in SWNCQ mode,QC:qc_active

[2.6 patch] make srcu_readers_active() static

2007-11-02 Thread Adrian Bunk
This patch makes the needlessly global srcu_readers_active() static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- kernel/srcu.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 42cffc77c0fc5bde75564dd7f9c9dc7e5c5364fd diff --git a/kernel/srcu.c b/kernel/srcu.c index 3507cab..b

Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead

2007-11-02 Thread Peter Zijlstra
On Fri, 2007-11-02 at 07:35 -0700, Christoph Lameter wrote: > Well I wonder if I should introduce it not as a replacement but as an > alternative to allocpercpu? We can then gradually switch over. The > existing API does not allow the specification of gfp_masks or alignements. I've thought abou

[patch 3/9] genirq: mark io_apic level interrupts to avoid resend

2007-11-02 Thread Greg KH
2.6.22-stable review patch. If anyone has any objections, please let us know. -- From: Thomas Gleixner <[EMAIL PROTECTED]> patch cc75b92d11384ba14f93828a2a0040344ae872e7 in mainline. Level type interrupts do not need to be resent. It was also found that some chipsets get confus

[PATCH] Use i8253.c lock for PC speaker on MIPS, too.

2007-11-02 Thread Ralf Baechle
The Jazz machines have to use the PIT timer for dyntick and highresolution kernels. This may break because currently just like i386 used to do MIPS uses two separate spinlocks in the actual PIT code and the PC speaker code. So switch to do it the same that x86 currently does PIT locking. Signed-

Re: [PATCH 00/33] Swap over NFS -v14

2007-11-02 Thread Pavel Machek
Hi! > > 2) Nonetheless, swap over NFS is a pretty rare case. I view this work > > as interesting, but I really don't see a huge need, for swapping over > > NBD or swapping over NFS. I tend to think swapping to a remote resource > > starts to approach "migration" rather than merely swapping.

Re: Device mapper regression 2.6.23 vs. v2.6.23-6597-gcfa76f0

2007-11-02 Thread Kay Sievers
On Fri, 2007-11-02 at 18:03 +0100, Thomas Meyer wrote: > Kay Sievers schrieb: > > On Mon, 2007-10-29 at 00:18 -0700, Andrew Morton wrote: > > > >> On Sun, 21 Oct 2007 21:23:21 +0200 Thomas Meyer <[EMAIL PROTECTED]> wrote: > >> > >>> I have an external hard drive with an encrypted partition

Re: [patch] PID namespace design bug, workaround

2007-11-02 Thread Linus Torvalds
On Fri, 2 Nov 2007, Dave Hansen wrote: > > There are certainly more of these, but here is one In the futex > userspace address, we install the current pid's vnr into a userspace > address. Now, realistically, why not just say "you can't use these things across namespaces"? Does anybody reall

[PATCH 2/3] tty - fix tty network driver interactions with TCGET/TCSET calls

2007-11-02 Thread Alan Cox
We conciously make a change here - we permit mode and speed setting to be done in things like SLIP mode. There isn't actually a technical reason to disallow this. It's usually a silly thing to do but we can do it and soemone might wish to do so. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u

[PATCH 3/3] POWERPC: convert the IOMMU to use iova

2007-11-02 Thread FUJITA Tomonori
This converts the PPC64 IOMMU to use iova for free area management. TODO: we might need to modify iova to use the tricks like avoiding cacheline bouncing. Performance tests are necessary. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- arch/powerpc/kernel/iommu.c| 169 ++-

[git pull] Input updates for 2.6.24-rc1

2007-11-02 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. Changelog: - Adrian Bunk (1): Input: hp_sdc.c - f

Re: [patch] PID namespace design bug, workaround

2007-11-02 Thread Pavel Emelyanov
Ulrich Drepper wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Pavel Emelyanov wrote: >> So is "everything else", you mentioned, covered with the problems >> above? > > No, it's not. If you'd read the mail carefully you'd notice that the > use of PIDs especially in robust futexes is

Re: [PATCH] Fix delay accounting regression

2007-11-02 Thread Balbir Singh
On Fri, Nov 02, 2007 at 04:53:58PM +0100, Ingo Molnar wrote: > > * Balbir Singh <[EMAIL PROTECTED]> wrote: > > > Fix the delay accounting regression introduced by commit > > 75d4ef16a6aa84f708188bada182315f80aab6fa. rq no longer has sched_info > > data associated with it. task_struct sched_info

RE: [PATCH resend] Make the dev_*() family of macros in device.hcomplete

2007-11-02 Thread Medve Emilian-EMMEDVE1
Hello Andrew, Thanks for the detailed background. By now I also submitted a patch with extra spaces. Which one would be a better candidate for applying in a maintainer's tree (which tree?)? Could you please pick up one of the versions? Should I resubmit the first version without extra spaces?

Re: "Fix ATAPI transfer lengths" causes CD writing regression

2007-11-02 Thread Jeff Garzik
Daniel Drake wrote: Again, ignore me if I'm not contributing anything useful, but I'm increasingly thinking that the SG_IO command block in question is perfectly valid, and doing a short read of the mode page in question (and probably others too) is in fact required before you can know its tru

Re: [stable] patch remove-broken-ptrace-special-case-code-from-file-mapping.patch queued to -stable tree

2007-11-02 Thread Greg KH
On Fri, Nov 02, 2007 at 05:52:25PM +, Duane Griffin wrote: > On 02/11/2007, Chuck Ebbert <[EMAIL PROTECTED]> wrote: > > On 11/02/2007 12:58 PM, Greg KH wrote: > > > Unless Nick really objects, and then I'll drop yours and use his, but I > > > don't think that Duane verified that his patch fixed

[patch 7/9] x86: fix global_flush_tlb() bug

2007-11-02 Thread Greg KH
2.6.22-stable review patch. If anyone has any objections, please let us know. -- From: Ingo Molnar <[EMAIL PROTECTED]> patch 9a24d04a3c26c223f22493492c5c9085b8773d4a upstream While we were reviewing pageattr_32/64.c for unification, Thomas Gleixner noticed the following serious

Re: [AppArmor 19/45] Add struct vfsmount parameters to vfs_rename()

2007-11-02 Thread Bodo Eggert
Al Viro <[EMAIL PROTECTED]> wrote: > On Fri, Oct 26, 2007 at 11:23:53AM -0700, John Johansen wrote: >> In the current code, both vfsmounts are always identical, and so one of >> the two should go, agreed. >> >> The thought behind passing both vfsmounts was that they could differ but >> point to t

Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?

2007-11-02 Thread Dave Johnson
Dave Johnson writes: > Ben Greear writes: > > Currently, VLAN devices offer the ability to 'reorder' the header > > and explicitly remove the VLAN header. I assume we keep this > > feature and have the AF_PACKET logic check the device flags to see > > if it should insert the VLAN header for hw-acc

Re: writeout stalls in current -git

2007-11-02 Thread Peter Zijlstra
On Fri, 2007-11-02 at 10:21 +0800, Fengguang Wu wrote: > Interestingly, no background_writeout() appears, but only > balance_dirty_pages() and wb_kupdate. Obviously wb_kupdate won't > block the process. Yeah, the background threshold is not (yet) scaled. So it can happen that the bdi_dirty limit

Re: [PATCH 9/16] CRIS architecture: Correct compile errors

2007-11-02 Thread Jesper Nilsson
On Tue, Oct 30, 2007 at 04:32:35PM +0100, Roel Kluin wrote: > Jesper Nilsson wrote: > > + if (np->mii_if.phy_id == 32) > > return -ENODEV; > You need to unlock before this return. Thanks for spotting this! /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED]

Re: [PATCH] 2.6.23: Filesystem capabilities 0.17

2007-11-02 Thread Olaf Dietsche
Casey Schaufler <[EMAIL PROTECTED]> writes: > --- Olaf Dietsche <[EMAIL PROTECTED]> wrote: > >> The bits are stored in a sparse file named /.capabilities in the >> directory of the mount point, where the corresponding executable >> lives. The inode number of the file is the index into this file. >

Re: [PATCH -mm 0/3] convert IOMMUs to use iova

2007-11-02 Thread FUJITA Tomonori
On Fri, 2 Nov 2007 19:12:27 +0200 Muli Ben-Yehuda <[EMAIL PROTECTED]> wrote: > On Sat, Nov 03, 2007 at 02:05:39AM +0900, FUJITA Tomonori wrote: > > > This patchset convert the PPC64 IOMMU to use the iova code for free > > area management. > > > > The IOMMUs ignores low level drivers' restriction

[ANNOUNCE] The Linux Test Project has been Released for OCTOBER 2007

2007-11-02 Thread Subrata Modak
Dear All, The Linux Test Project test suite has been released for the month of OCTOBER 2007. The latest version of the test-suite contains 3000+ tests for the Linux OS and can be found at http://ltp.sourceforge.net/. Latest happenings in LTP can also be found at: http://ltp.sourceforge.net/wiki/,

[patch 9/9] Revert "x86_64: allocate sparsemem memmap above 4G"

2007-11-02 Thread Greg KH
2.6.22-stable review patch. If anyone has any objections, please let us know. -- From: Linus Torvalds <[EMAIL PROTECTED]> patch 6a22c57b8d2a62dea7280a6b2ac807a539ef0716 in mainline. This reverts commit 2e1c49db4c640b35df13889b86b9d62215ade4b6. First off, testing in Fedora has s

Re: [PATCH][REFERENCE ONLY] 9p: ramfs 9p server

2007-11-02 Thread Chris Snook
Latchesar Ionkov wrote: Sample ramfs file server that uses the in-kernel 9P file server support. This code is for reference only. Reference code generally goes in Documentation/ -- Chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

[patch 8/9] dm snapshot: fix invalidation deadlock

2007-11-02 Thread Greg KH
2.6.22-stable review patch. If anyone has any objections, please let us know. -- From: Milan Broz <[EMAIL PROTECTED]> patch fcac03abd325e4f7a4cc8fe05fea2793b1c8eb75 in mainline Process persistent exception store metadata IOs in a separate thread. A snapshot may become invalid w

[PATCH 6/7] d_path: Make d_path() use a struct path (2nd try)

2007-11-02 Thread Jan Blunck
d_path() is used on a pair. Lets use a struct path to reflect this. Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> --- arch/blackfin/kernel/traps.c | 12 +--- drivers/md/bitmap.c |8 +--- drivers/usb/gadget/file_storage.c |8 +++- fs/compat_ioctl.c

Re: [PATCH] Smackv9: Use a stateful parser for parsing Smack rules

2007-11-02 Thread Ahmed S. Darwish
On 11/1/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Nov 1 2007 17:54, Ahmed S. Darwish wrote: > >+ > >+static inline int isblank(char c) > >+{ > >+ return (c == ' ' || c == '\t'); > >+} > > Use isspace(). > isspace accepts newlines and carriage-returns too which is not accepted betwe

Re: Strange system hangs

2007-11-02 Thread Thomas Osterried
Hello, This report tends to become a novel. In short, the most important facts: - after some days uptime, suddenly a process like rsync is in a write congestion; other processes follow. - balance_dirty_pages_ratelimited_nr Problem - great amount of dirty pages - processes do not termin

Re: [IDE] Fix build bug

2007-11-02 Thread Ralf Baechle
On Thu, Nov 01, 2007 at 06:43:16PM +, Denys Vlasenko wrote: > We can intrduce new, ro sections or teach gcc that combining const objects > into > non-ro sections is not a crime. I wonder why it currently disallows that. > (And it does it only _somethimes_, const pointers happily go into rw >

Re: nmi_watchdog on x86_64

2007-11-02 Thread Yinghai Lu
On Oct 17, 2007 1:21 PM, Thomas Gleixner <[EMAIL PROTECTED]> wrote: > > > > On Mon, 15 Oct 2007, Yinghai Lu wrote: > > > just found my on hand ck804, and mcp55 based AMD servers: > > nmi_watchdog=1 doesn't work > > but nmi_watchdog=2 does work > > > > =1, it say: IOAPIC 8259A virtual wire mode... >

Re: [PATCH 6/7] d_path: Make d_path() use a struct path

2007-11-02 Thread Jan Blunck
On Fri, Nov 02, Bharata B Rao wrote: > > Did you miss the d_path() caller > arch/blackfin/kernel/traps.c:printk_address() ? > Sorry, yes I missed that one. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo inf

[patch 5/9] minixfs: limit minixfs printks on corrupted dir i_size (CVE-2006-6058)

2007-11-02 Thread Greg KH
2.6.22-stable review patch. If anyone has any objections, please let us know. -- From: Eric Sandeen <[EMAIL PROTECTED]> patch 44ec6f3f89889a469773b1fd894f8fcc07c29cf in mainline This attempts to address CVE-2006-6058 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6058 f

[patch 6/9] param_sysfs_builtin memchr argument fix

2007-11-02 Thread Greg KH
2.6.22-stable review patch. If anyone has any objections, please let us know. -- From: Dave Young <[EMAIL PROTECTED]> patch faf8c714f4508207a9c81cc94dafc76ed6680b44 in mainline. If memchr argument is longer than strlen(kp->name), there will be some weird result. It will casuse

Re: build failure, missing libvdeplug.h?

2007-11-02 Thread Jeff Dike
On Fri, Nov 02, 2007 at 01:05:59PM +0100, [EMAIL PROTECTED] wrote: > I tried 2.6.24-rc1-git11 with "allmodconfig ARCH=um" today. > > this gave at least two errors - i needed to set CONFIG_SMP=n SMP should depend on BROKEN for now, and I thought it did. > and CONFIG_UML_NET_VDE=n to make it comp

Re: [2.6.23] IBM X41 looses time after Suspend2Disk

2007-11-02 Thread Philipp Matthias Hahn
Hello! On Tue, Oct 30, 2007 at 10:08:01PM +0100, Pavel Machek wrote: > > > On Monday, 29 October 2007 21:19, Philipp Matthias Hahn wrote: > > > > I have an IBM X41 tablet pc running 2.6.23 with the following problem: > > > > Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > > > > >

Re: Device mapper regression 2.6.23 vs. v2.6.23-6597-gcfa76f0

2007-11-02 Thread Thomas Meyer
Kay Sievers schrieb: > On Mon, 2007-10-29 at 00:18 -0700, Andrew Morton wrote: > >> On Sun, 21 Oct 2007 21:23:21 +0200 Thomas Meyer <[EMAIL PROTECTED]> wrote: >> >>> I have an external hard drive with an encrypted partition. I am using >>> kde so all i had to do under 2.6.23 was >>> "cryp

[PATCH 0/3] eCryptfs: extent offset fix, crypto performance, and larger header regions

2007-11-02 Thread Michael Halcrow
This patch set includes some minor fixes for eCryptfs, including: - An enhancement to allow larger header regions - A bugfix for hosts with page size >4K - An enhancement to reduce crypto overhead I recommend merging at least the bugfix into 2.6.24. - To unsubscribe from this list: send the

[PATCH 1/3] eCryptfs: Track header bytes rather than extents

2007-11-02 Thread Michael Halcrow
Remove internal references to header extents; just keep track of header bytes instead. Headers can easily span multiple pages with the recent persistent file changes. Signed-off-by: Michael Halcrow <[EMAIL PROTECTED]> --- fs/ecryptfs/crypto.c | 98 +++---

[patch 0/9] 2.6.22-stable review

2007-11-02 Thread Greg KH
This is the start of the stable review cycle for the 2.6.22.12 release. There are 9 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let us know. If anyone is a maintainer of the proper subsystem, and wants to add a Si

Re: patch remove-broken-ptrace-special-case-code-from-file-mapping.patch queued to -stable tree

2007-11-02 Thread Chuck Ebbert
On 11/02/2007 12:58 PM, Greg KH wrote: > On Fri, Nov 02, 2007 at 09:48:34AM -0700, Linus Torvalds wrote: >> >> On Fri, 2 Nov 2007, [EMAIL PROTECTED] wrote: >>> This is a note to let you know that we have just queued up the patch titled >>> >>> Subject: Remove broken ptrace() special-case code

[patch 4/9] IB/uverbs: Fix checking of userspace object ownership

2007-11-02 Thread Greg KH
2.6.22-stable review patch. If anyone has any objections, please let us know. -- From: Roland Dreier <[EMAIL PROTECTED]> Upstream as cbfb50e6e2e9c580848c0f51d37c24cdfb1cb704 Commit 9ead190b ("IB/uverbs: Don't serialize with ib_uverbs_idr_mutex") rewrote how userspace objects are

[PATCH][REFERENCE ONLY] 9p: ramfs 9p server

2007-11-02 Thread Latchesar Ionkov
Sample ramfs file server that uses the in-kernel 9P file server support. This code is for reference only. Signed-off-by: Latchesar Ionkov <[EMAIL PROTECTED]> --- net/9p/Kconfig |8 +- net/9p/Makefile |1 + net/9p/ramfs/ramfs.c | 986 +++

dead(?) CONFIG variables under drivers/ directory

2007-11-02 Thread Robert P. J. Day
as of this morning, broken down by subdirectory: http://www.crashcourse.ca/wiki/index.php/Dead_CONFIG_variables rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA

Re: [kvm-devel] [BUG] 2.6.23.1 host freezes when running kvm

2007-11-02 Thread Bart Trojanowski
* Avi Kivity <[EMAIL PROTECTED]> [071023 10:21]: > Thanks, that will be most helpful. If userspace won't compile against > some intermediate version, let me know the commit hash and I'll add a fixup. A bisect didn't find anything between 2.6.22 and 2.6.23. Which made me very confused. I think,

Re: patch remove-broken-ptrace-special-case-code-from-file-mapping.patch queued to -stable tree

2007-11-02 Thread Duane Griffin
On 02/11/2007, Chuck Ebbert <[EMAIL PROTECTED]> wrote: > On 11/02/2007 12:58 PM, Greg KH wrote: > > Unless Nick really objects, and then I'll drop yours and use his, but I > > don't think that Duane verified that his patch fixed the issue. > > > > I put Nick's in Fedora, so it had better work... ;

Re: [PATCH] Forbid user to change file flags on quota files

2007-11-02 Thread Jan Engelhardt
On Nov 1 2007 16:52, Jan Kara wrote: >--- linux-2.6.24-rc1/fs/ext2/ioctl.c 2007-10-24 20:43:56.0 +0200 >+++ linux-2.6.24-rc1-1-forbid_setflags/fs/ext2/ioctl.c 2007-11-01 >16:01:26.0 +0100 >@@ -47,6 +47,11 @@ int ext2_ioctl (struct inode * inode, st > flags

Re: [patch 0/9] 2.6.22-stable review

2007-11-02 Thread Greg KH
On Fri, Nov 02, 2007 at 10:37:33AM -0700, Greg KH wrote: > This is the start of the stable review cycle for the 2.6.22.12 release. > There are 9 patches in this series, all will be posted as a response to > this one. If anyone has any issues with these being applied, please let > us know. If anyo

question about sata-error on boot.

2007-11-02 Thread Hemmann, Volker Armin
Hi, for some time (and I can't say for how long, but the board is less than a month old) I get this error on boot: [ 42.116273] ahci :00:0a.0: version 2.2 [ 42.116482] ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 23 [ 42.116653] ACPI: PCI Interrupt :00:0a.0[A] -> Link [LSA0] -> G

[PATCH 2/3] eCryptfs: Increment extent_offset once per loop interation

2007-11-02 Thread Michael Halcrow
The extent_offset is getting incremented twice per loop iteration through any given page. It should only be getting incremented once. This bug should only impact hosts with >4K page sizes. Signed-off-by: Michael Halcrow <[EMAIL PROTECTED]> --- fs/ecryptfs/crypto.c |2 -- 1 files changed, 0 in

[PATCH 3/3] eCryptfs: Set inode key only once per crypto operation

2007-11-02 Thread Michael Halcrow
There is no need to keep re-setting the same key for any given eCryptfs inode. This patch optimizes the use of the crypto API and helps performance a bit. Signed-off-by: Trevor Highland <[EMAIL PROTECTED]> Signed-off-by: Michael Halcrow <[EMAIL PROTECTED]> --- fs/ecryptfs/crypto.c |7

Re: build #337 failed for 2.6.24-rc1-gb1d08ac In function `usbnet_set_settings':

2007-11-02 Thread Adrian Bunk
On Fri, Nov 02, 2007 at 11:45:15AM -0700, David Brownell wrote: > On Thursday 01 November 2007, Adrian Bunk wrote: > > The following combination of options is simply an unusual one: > > > > CONFIG_MII=m > > CONFIG_USB_USBNET=y > > CONFIG_USB_USBNET_MII=n > > I though that had been fixed for ages

Re: build #337 failed for 2.6.24-rc1-gb1d08ac In function `usbnet_set_settings':

2007-11-02 Thread David Brownell
On Thursday 01 November 2007, Adrian Bunk wrote: > The following combination of options is simply an unusual one: > > CONFIG_MII=m > CONFIG_USB_USBNET=y > CONFIG_USB_USBNET_MII=n I though that had been fixed for ages ... This should do a better job of it. - Dave == CUT HERE Simpli

Re: [PATCH] 9p: basic sysfs support

2007-11-02 Thread Greg KH
On Fri, Nov 02, 2007 at 10:53:31AM -0600, Latchesar Ionkov wrote: > This patch implements the basic sysfs support for 9p. If CONFIG_NET_9P_DEBUG > is defined, allows reading and modifying the debug level via > /sysfs/fs/9p/debuglevel. Since this is a debug-only type file, why not just put it in de

Error in __bread reading a 4K block from a SATA device

2007-11-02 Thread Thanos McAtos
Hello, I'm trying to read a 4KB block using __bread from a SATA device but I get the following error: __find_get_block_slow() failed. block=1, b_blocknr=0 b_state=0x0029, b_size=4096 If I try to read a 2K block (which is the hard sector size of the device), it works fine. Kernel version is

Re: writeout stalls in current -git

2007-11-02 Thread Torsten Kaiser
On 11/2/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > On Fri, 2007-11-02 at 10:21 +0800, Fengguang Wu wrote: > > > Interestingly, no background_writeout() appears, but only > > balance_dirty_pages() and wb_kupdate. Obviously wb_kupdate won't > > block the process. > > Yeah, the background thresh

Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang

2007-11-02 Thread Anton Altaparmakov
Hi Mike, On 30 Oct 2007, at 09:23, Anton Altaparmakov wrote: On 30 Oct 2007, at 08:00, Mike Galbraith wrote: On Mon, 2007-10-29 at 16:18 +0100, Mike Galbraith wrote: Not being very good at walking away from unsolved mysteries, I chased it down. The problem is that... commit[a32ea1e1f925399

Re: [PATCH] 9p: basic sysfs support

2007-11-02 Thread Latchesar Ionkov
This patch adds only the basic 9p functionality, we use the sysfs interface extensively for configuring the 9p in-kernel servers (patch 7 in the series). The v9fs filesyste will probably add some more subdirectories for authenticating users and mapping user names to uids... Thanks, Lucho On 1

Re: [PATCH] add_partition silently ignored errors

2007-11-02 Thread Bob Copeland
On 11/2/07, Dirk Hohndel <[EMAIL PROTECTED]> wrote: > > > @@ -554,8 +573,11 @@ int rescan_partitions(struct gendisk *disk, struct > > > block_device *bdev) > > > if (from + size > get_capacity(disk)) { > > > printk(" %s: p%d exceeds device capacity\n", > > >

Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'

2007-11-02 Thread Russell King - ARM Linux
On Fri, Nov 02, 2007 at 08:29:31PM -0700, Kristoffer Ericson wrote: > Greetings, > > Haven't found anyone reporting this. Taken from the very latest linux-2.6.git > pull. > > dnsdomainname: Unknown host > UPD include/linux/compile.h > CC init/version.o > LD init/built-in.o >

Re: [PATCH] add_partition silently ignored errors

2007-11-02 Thread Dirk Hohndel
On Fri, Nov 02, 2007 at 02:04:39PM +0100, Jens Axboe wrote: > > > > > > > > > IIRC, Al recently vetoed a similar patch. As far as I'm concerned, > > > > > > with > > > > > > the correct return values, the patch then looks fine to me. > > > > So Al, are you ok with this one? Still haven't seen f

[BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'

2007-11-02 Thread Kristoffer Ericson
Greetings, Haven't found anyone reporting this. Taken from the very latest linux-2.6.git pull. dnsdomainname: Unknown host UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 kernel/built-in.o(.text+0x18db0): In function `destroy_workqueue

Re: [PATCH] Remove unused code from mm/tiny-shmem.c

2007-11-02 Thread Matt Mackall
[resent due to damaged header] On Fri, Nov 02, 2007 at 10:50:56PM +0530, Balbir Singh wrote: > This code in mm/tiny-shmem.c is under #if 0, do we really need it? This > patch removes it. > > Signed-off-by: Balbir Singh <[EMAIL PROTECTED]> Adrian added the #ifdefs in March, not sure why he didn't

Re: build #337 failed for 2.6.24-rc1-gb1d08ac In function `usbnet_set_settings':

2007-11-02 Thread David Brownell
On Friday 02 November 2007, Adrian Bunk wrote: > This approach has two disadvantages: > - it's complicated No more so than the problem itself. > - the MII stuff is an implementation detail, and we shouldn't bother >   the user with it (especially since we can do better) That's a Kconfig policy

Re: Quad core CPU detected but shows as single core in 2.6.23.1

2007-11-02 Thread Zurk Tech
dmesg (new) with disabled GART error reporting if anyone wants to compare to previous dmesg with GART error reporting : dmesg Linux version 2.6.23.1 ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #5 SMP Fri Oct 26 04:07:27 EDT 2007 Command line: root=/dev/md1 ro BIO

Re: build #337 failed for 2.6.24-rc1-gb1d08ac In function `usbnet_set_settings':

2007-11-02 Thread Adrian Bunk
On Fri, Nov 02, 2007 at 12:30:22PM -0700, David Brownell wrote: > On Friday 02 November 2007, Adrian Bunk wrote: > > This approach has two disadvantages: > > - it's complicated > > No more so than the problem itself. > > > > - the MII stuff is an implementation detail, and we shouldn't bother >

Re: build #337 failed for 2.6.24-rc1-gb1d08ac In function `usbnet_set_settings':

2007-11-02 Thread Adrian Bunk
On Fri, Nov 02, 2007 at 11:45:15AM -0700, David Brownell wrote: >... > --- a.orig/drivers/net/usb/usbnet.c 2007-10-13 15:16:10.0 -0700 > +++ a/drivers/net/usb/usbnet.c2007-11-02 11:39:59.0 -0700 > @@ -682,10 +682,17 @@ done_nopm: > /* ethtool methods; minidrivers may need

Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel

2007-11-02 Thread Andreas Mohr
Hi, On Fri, Nov 02, 2007 at 10:01:18AM +0800, Herbert Xu wrote: > On Thu, Nov 01, 2007 at 04:08:57PM -0700, Randy Dunlap wrote: > > I think that this is the part that bothers me. I can't find > > anything at > > http://www.opengroup.org/onlinepubs/95399/utilities/xcu_chap02.html > > that says

Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'

2007-11-02 Thread Sam Ravnborg
On Fri, Nov 02, 2007 at 07:48:18PM +, Russell King - ARM Linux wrote: > On Fri, Nov 02, 2007 at 08:29:31PM -0700, Kristoffer Ericson wrote: > > Greetings, > > > > Haven't found anyone reporting this. Taken from the very latest > > linux-2.6.git pull. > > > > dnsdomainname: Unknown host > >

Re: [PATCH 3/3] eCryptfs: Set inode key only once per crypto operation

2007-11-02 Thread Andrew Morton
On Fri, 2 Nov 2007 13:53:08 -0500 Michael Halcrow <[EMAIL PROTECTED]> wrote: > There is no need to keep re-setting the same key for any given > eCryptfs inode. This patch optimizes the use of the crypto API and > helps performance a bit. > > Signed-off-by: Trevor Highland <[EMAIL PROTECTED]> > Si

[PATCH] mtrr use type bool [RESEND]

2007-11-02 Thread Paul Jimenez
(Resending and copying the x86 maintainers since I'm not sure that Richard Gooch is still actively the mtrr maintainer. Also incorporated feedback from Richard Knutsson and Lennart Sorensen.) This is a janitorish patch to 1) remove private TRUE/FALSE #def's in favor of using the standard enum fr

Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel

2007-11-02 Thread Randy Dunlap
On Fri, 2 Nov 2007 21:09:35 +0100 Andreas Mohr wrote: > Hi, > I'm now quite certain on which side to tweak things ;) The other parts of your patch should probably be merged IMO. Would you resend a trimmed-down patch? or should I do it? Thanks, --- ~Randy - To unsubscribe from this list: send t

Re: [2.6 patch] kernel/power/: move function prototypes to header

2007-11-02 Thread Rafael J. Wysocki
On Friday, 2 November 2007 16:44, Adrian Bunk wrote: > This patch moves the prototypes of count_highmem_pages() and > restore_highmem() to kernel/power/power.h > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Rafael J. Wysocki <[EMAIL PROTECTED]> > --- > > kernel/power/power.h

Re: [PATCH 3/3] eCryptfs: Set inode key only once per crypto operation

2007-11-02 Thread Michael Halcrow
On Fri, Nov 02, 2007 at 01:10:31PM -0700, Andrew Morton wrote: > On Fri, 2 Nov 2007 13:53:08 -0500 > Michael Halcrow <[EMAIL PROTECTED]> wrote: > > > There is no need to keep re-setting the same key for any given > > eCryptfs inode. This patch optimizes the use of the crypto API and > > helps perf

Re: [PATCH] add_partition silently ignored errors

2007-11-02 Thread Dirk Hohndel
On Fri, Nov 02, 2007 at 03:50:29PM -0400, Bob Copeland wrote: > On 11/2/07, Dirk Hohndel <[EMAIL PROTECTED]> wrote: > > > > @@ -554,8 +573,11 @@ int rescan_partitions(struct gendisk *disk, struct > > > > block_device *bdev) > > > > if (from + size > get_capacity(disk)) { > > > >

Re: writeout stalls in current -git

2007-11-02 Thread David Chinner
On Fri, Nov 02, 2007 at 08:22:10PM +0100, Torsten Kaiser wrote: > [ 630.00] SysRq : Emergency Sync > [ 630.12] Emergency Sync complete > [ 632.85] SysRq : Show Blocked State > [ 632.85] taskPC stack pid father > [ 632.85] pdflush D 8100

[PATCH] eCryptfs: Release mutex on hash error path

2007-11-02 Thread Michael Halcrow
On Mon, Oct 29, 2007 at 03:10:09PM +0900, Kazuki Ohta wrote: > When IS_ERR(desc.tfm) is true, unlocking > crypt_stat->cs_hash_tfm_mutex is forgotten. Thanks for reporting this, Kazuki. --- Release the crypt_stat hash mutex on allocation error. Check for error conditions when doing crypto hash cal

Re: writeout stalls in current -git

2007-11-02 Thread Torsten Kaiser
On 11/2/07, David Chinner <[EMAIL PROTECTED]> wrote: > On Fri, Nov 02, 2007 at 08:22:10PM +0100, Torsten Kaiser wrote: > > [ 630.00] SysRq : Emergency Sync > > [ 630.12] Emergency Sync complete > > [ 632.85] SysRq : Show Blocked State > > [ 632.85] task

<    1   2   3   4   >