Re: [GIT PULL] MMC updates

2007-12-17 Thread Pierre Ossman
On Wed, 12 Dec 2007 20:12:47 +0100 Pierre Ossman <[EMAIL PROTECTED]> wrote: > Linus, please pull from > > git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git for-linus > *ping* -- -- Pierre Ossman Linux kernel, MMC maintainerhttp://www.kernel.org

Re: [PATCH] arch/ia64/: Spelling fixes

2007-12-17 Thread Jes Sorensen
Joe, I'm curious, do you have a patch that actually fixes something and adds value to the code? Maybe you could include the spelling fix with that to improve the S/N ratio? In addition, posting a patch with no commit comment is no good, please read through Documentation/SubmittingPatches before

Re: [rfc][patch 1/3] block: non-atomic queue_flags prep

2007-12-17 Thread Jens Axboe
On Sat, Dec 15 2007, Nick Piggin wrote: > Hi, > > This is just an idea I had, which might make request processing a little > bit cheaper depending on queue behaviour. For example if it is getting plugged > unplugged frequently (as I think is the case for some database workloads), > then we might

Re: [PATCH] MAINTAINERS: remove Adam Fritzler, update his email address in other sources

2007-12-17 Thread Adrian Bunk
On Mon, Dec 17, 2007 at 08:28:00PM -0800, Andrew Morton wrote: >... > I'd suggest that you find out if Adrian is still running the trivial tree > and if so, patchbomb him. I do. Simply Cc [EMAIL PROTECTED] for trivial patches and they might magically appear in Linus' tree during the next merge

Re: [PATCH -mm -v3] x86 boot : export boot_params via sysfs

2007-12-17 Thread Huang, Ying
On Mon, 2007-12-17 at 21:34 -0700, Eric W. Biederman wrote: > "H. Peter Anvin" <[EMAIL PROTECTED]> writes: > > > This is directly analogous to how we treat identity information in IDE, or > > PCI > > configuration space -- some fields are pre-digested, but the entire raw > > information is also

Re: [PATCH]: Atmel Serial Console interrupt handler splitup

2007-12-17 Thread Remy Bohmer
Hello Haavard, > > Yep. All calls that block on a Mutex somehow on Preempt-RT. (such as > > spinlocks, wakeup_interruptible() and many of its friends.) > Right. Looks like the DMA patch call these functions from irq context > too...I guess it'll need the same treatment? That is correct. DMA code

Re: [RFC/PATCH 2/8] revoke: inode revoke lock V7

2007-12-17 Thread Pekka J Enberg
Hi Serge, (Thanks for looking at this. I appreciate the review!) On Mon, 17 Dec 2007, [EMAIL PROTECTED] wrote: > > struct vfsmount *mnt = nd->mnt; > > - struct dentry *dentry = __d_lookup(nd->dentry, name); > > + struct dentry *dentry; > > > > +again: > > + dentry =

[PATCH RFC] hrtimers: add slop parameter

2007-12-17 Thread Rusty Russell
(I don't really like this patch yet, but wanted to get something out there) After discussion with Thomas Gleixner, we came up with the idea of introducing a new parameter to hrtimers (and probably eventually all timers in the kernel, then onto userspace). I call it "slop", and it is an

Re: [RFC] [patch 1/2] add non_init_kernel_text_address

2007-12-17 Thread Rusty Russell
On Tuesday 18 December 2007 17:46:15 Srinivasa Ds wrote: > Rusty Russell wrote: > > On Friday 14 December 2007 18:51:06 Ananth N Mavinakayanahalli wrote: > >> On Thu, Dec 13, 2007 at 11:09:16PM -0800, Andrew Morton wrote: > >>> regular_kernel_text_address()? Dunno. > >> > >> Sounds better :-) > >

About mounting the sysfs

2007-12-17 Thread wit
Hi all, Currently, I'm studying the code of the sysfs. But I got the following questions: 1. What is the d_alloc_root used for? Actually, the question should be: why we have to call d_alloc_root. I think the root already has its dentry, why we have to allocate another while we mounting a file

Re: [PATCH] drivers/parisc/: Spelling fixes

2007-12-17 Thread Grant Grundler
Andrew, ditto - thanks On Mon, Dec 17, 2007 at 11:40:10AM -0800, Joe Perches wrote: > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> Signed-off-by: Grant Grundler <[EMAIL PROTECTED]> thanks again, grant > --- > drivers/parisc/ccio-dma.c |4 ++-- > drivers/parisc/hppb.c |2 +- >

Re: [PATCH 1/5] power: RFC: introduce a new power API

2007-12-17 Thread Andres Salomon
On Mon, 17 Dec 2007 14:24:16 +0300 Anton Vorontsov <[EMAIL PROTECTED]> wrote: > On Mon, Dec 17, 2007 at 02:41:39AM -0500, Andres Salomon wrote: > [...] > > > > On Sun, 2007-12-16 at 21:24 -0500, Andres Salomon wrote: > > > > > This API has the power_supply drivers device their own > > > > >

Re: [PATCH 24/28] AFS: Add a function to excise a rejected write from the pagecache [try #2]

2007-12-17 Thread Nick Piggin
On Tuesday 18 December 2007 09:54, David Howells wrote: > Nick Piggin <[EMAIL PROTECTED]> wrote: > > This reintroduces the fault vs truncate race window, which must be fixed. > > Hmmm... perhaps. What do you mean by perhaps? > I remember that cropped up in NFS, but I'm doing things > a bit

Re: [PATCH] include/asm-parisc/: Spelling fixes

2007-12-17 Thread Grant Grundler
Andrew, Please include in -mm. "Cosmetic" - but I appreciate correct spelling too. On Mon, Dec 17, 2007 at 11:30:11AM -0800, Joe Perches wrote: > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> Signed-off-by: Grant Grundler <[EMAIL PROTECTED]> thanks, grant > --- > include/asm-parisc/elf.h

Re: [PATCH 09/28] FS-Cache: Release page->private after failed readahead [try #2]

2007-12-17 Thread Nick Piggin
On Tuesday 18 December 2007 09:42, David Howells wrote: > Nick Piggin <[EMAIL PROTECTED]> wrote: > > This is pretty nasty. > > Why? If the fs doesn't set PG_private or PG_fscache on any pages before > calling read_cache_pages(), there's no difference. It is conceptually wrong. > Furthermore,

Re: [PATCH 10/28] FS-Cache: Recruit a couple of page flags for cache management [try #2]

2007-12-17 Thread Nick Piggin
On Tuesday 18 December 2007 09:36, David Howells wrote: > Nick Piggin <[EMAIL PROTECTED]> wrote: > > I'd much prefer if you would handle this in the filesystem, and have it > > set PG_private whenever fscache needs to receive a callback, and DTRT > > depending on whether PG_fscache etc. is set or

Re: Top kernel oopses/warnings this week

2007-12-17 Thread Arjan van de Ven
Theodore Tso wrote: On Mon, Dec 17, 2007 at 04:21:12PM -0800, Linus Torvalds wrote: which also gets bonus points for being totally unreadable, and thus 100% in the spirit of uuid's. Heh. UUID's don't have to be readable; just universally unique. Code on the other hand should be readable.

[GIT PULL] XFS update for 2.6.24-rc6

2007-12-17 Thread Lachlan McIlroy
Please pull from the for-linus branch: git pull git://oss.sgi.com:8090/xfs/xfs-2.6.git for-linus This will update the following files: fs/xfs/linux-2.6/xfs_file.c |4 ++-- fs/xfs/xfs_dir2_block.c |6 ++ fs/xfs/xfs_dir2_leaf.c |2 +- fs/xfs/xfs_dir2_sf.c|

Re: [PATCH] sysctl: Fix ax25 checks

2007-12-17 Thread David Miller
From: [EMAIL PROTECTED] (Eric W. Biederman) Date: Mon, 17 Dec 2007 15:44:08 -0700 > Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]> Applied, thanks Eric. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [RFC] [patch 1/2] add non_init_kernel_text_address

2007-12-17 Thread Srinivasa Ds
Rusty Russell wrote: On Friday 14 December 2007 18:51:06 Ananth N Mavinakayanahalli wrote: On Thu, Dec 13, 2007 at 11:09:16PM -0800, Andrew Morton wrote: regular_kernel_text_address()? Dunno. Sounds better :-) The better answer was to invert it and use "discarded_kernel_text_address()",

[PATCH] eCryptfs: Change the type of cipher_code from u16 to u8

2007-12-17 Thread Trevor Highland
Only one byte of cipher_code is being written to the file header so it should be of type u8. Trevor 0001-Change-the-type-of-cipher_code-from-u16-to-u8.txt Description: application/mbox

Re: [PATCH] ia64: Avoid unnecessary TLB flushes when allocating memory

2007-12-17 Thread KAMEZAWA Hiroyuki
On Tue, 18 Dec 2007 01:00:15 -0500 Kyle McMartin <[EMAIL PROTECTED]> wrote: > On Tue, Dec 18, 2007 at 10:05:45AM +0900, KAMEZAWA Hiroyuki wrote: > > On Thu, 13 Dec 2007 15:03:07 + > > > > > + if (mm != active_mm) { > > > + /* Restore region IDs for mm */ > > > +

[PATCH] eCryptfs: Load each file decryption key only once

2007-12-17 Thread Trevor Highland
There is no need to set the decryption key every time eCryptfs decrypts an extent. Trevor 0001-eCryptfs-Load-each-file-decryption-key-only-once.patch Description: application/mbox

Re: init_timer_deferrable conversion

2007-12-17 Thread Parag Warudkar
On Dec 17, 2007 9:29 AM, Eric Dumazet <[EMAIL PROTECTED]> wrote: > Parag, could you please try this patch ? > > [NET] ARP : Convert neigh garbage collection from softirq to workqueue > I will - a little later. Thanks Parag -- To unsubscribe from this list: send the line "unsubscribe

[PATCH x86/mm] x86: TLS desc_struct cleanup

2007-12-17 Thread Roland McGrath
This cleans up the x86 TLS code to use desc_struct in place of hand-coded bit-twiddling, and cleans up a few of the inlines for the type too. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/x86/kernel/tls.c | 89

Re: [PATCH] ia64: Avoid unnecessary TLB flushes when allocating memory

2007-12-17 Thread Kyle McMartin
On Tue, Dec 18, 2007 at 10:05:45AM +0900, KAMEZAWA Hiroyuki wrote: > On Thu, 13 Dec 2007 15:03:07 + > > > + if (mm != active_mm) { > > + /* Restore region IDs for mm */ > > + if (mm && active_mm) { > > + activate_context(mm); > > +

[PATCH] Avoid overflows in kernel/time.c (version 5)

2007-12-17 Thread H. Peter Anvin
When the conversion factor between jiffies and milli- or microseconds is not a single multiply or divide, as for the case of HZ == 300, we currently do a multiply followed by a divide. The intervening result, however, is subject to overflows, especially since the fraction is not simplified (for

Re: [PATCH 3/21] [PATCH] move desc_empty to where they belong

2007-12-17 Thread Roland McGrath
> I'll have a TLS cleanup patch soon that makes the (only) use of desc_empty > pass a struct user_desc pointer. Oops, I meant struct desc_struct of course. But in fact the only use is already using the right struct pointer, so we can clean up desc_empty now (in x86/mm). Thanks, Roland -- To

Re: [PATCH] scripts/checkpatch.pl: add a check for the patch level (patch -p)

2007-12-17 Thread Borislav Petkov
On Mon, Dec 17, 2007 at 08:11:05AM +0100, Borislav Petkov wrote: A slightly microoptimized version 1.1: --- From: Borislav Petkov <[EMAIL PROTECTED]> Check the patch level of the single hunks in a patch file, however only when checkpatch.pl is called from within the kernel tree.

Re: [PATCH] drivers/infiniband/: Spelling fixes

2007-12-17 Thread Roland Dreier
what the heck, applied -- 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 13/21] [PATCH] change bitwise operations to get a void parameter.

2007-12-17 Thread H. Peter Anvin
Rusty Russell wrote: On Tuesday 18 December 2007 09:52:36 Glauber de Oliveira Costa wrote: This patch changes the bitwise operations in bitops.h to get a void pointers as a parameter. Before this patch, a lot of warnings can be seen. They're gone after it. No, this is a backwards step! These

kobject_add failed for tts/0 (-13)-EACCES

2007-12-17 Thread ManojKwal
Greetings! System details: Board: DTSP-ARM926Ej-S(new board) Cross-toolchain: ELDK4.1 Linux kernel: 2.6.18 u-boot: 1.1.6 I have been able to successfully run u-boot and linux kernel with root file system but when kernel is start the following error message come.."kobject_add failed

Re: [PATCH] Avoid overflows in kernel/time.c (version 4)

2007-12-17 Thread Sam Ravnborg
> diff --git a/kernel/Makefile b/kernel/Makefile > index dfa9695..749825a 100644 > --- a/kernel/Makefile > +++ b/kernel/Makefile > @@ -80,3 +80,11 @@ quiet_cmd_ikconfiggz = IKCFG $@ > targets += config_data.h > $(obj)/config_data.h: $(obj)/config_data.gz FORCE > $(call

Re: [PATCH 3/21] [PATCH] move desc_empty to where they belong

2007-12-17 Thread Roland McGrath
I'll have a TLS cleanup patch soon that makes the (only) use of desc_empty pass a struct user_desc pointer. Thanks, Roland -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

[RFC][PATCH 3/4][AGP] intel_agp: add support for graphics dma remapping on G33

2007-12-17 Thread Zhenyu Wang
[PATCH] [AGP] intel_agp: add support for graphics dma remapping on G33 When graphics dma remapping engine is active, we must fill gart table with dma address from dmar engine, as now graphics device access to graphics memory must go through dma remapping table to get real physical address. Add

[RFC][PATCH 2/4][AGP] Add generic support for graphics dma remapping

2007-12-17 Thread Zhenyu Wang
[PATCH] [AGP] Add generic support for graphics dma remapping New driver hooks for support graphics memory dma remapping are introduced in this patch. It makes generic code can tell if current device needs dma remapping, then call driver provided interfaces for mapping and unmapping. Change has

Re: [PATCH 13/21] [PATCH] change bitwise operations to get a void parameter.

2007-12-17 Thread Rusty Russell
On Tuesday 18 December 2007 09:52:36 Glauber de Oliveira Costa wrote: > This patch changes the bitwise operations in bitops.h to get > a void pointers as a parameter. Before this patch, a lot of warnings > can be seen. They're gone after it. No, this is a backwards step! These warnings are

[RFC][PATCH 1/4][intel_iommu] explicit export current graphics dmar status

2007-12-17 Thread Zhenyu Wang
[PATCH] [intel_iommu] explicit export current graphics dmar status To make it possbile to tell other modules about curent graphics dmar engine status, that could decide if graphics driver should remap physical address to dma address. Also this one trys to make dmar_disabled really present

Re: [PATCH 3/21] [PATCH] move desc_empty to where they belong

2007-12-17 Thread Rusty Russell
On Tuesday 18 December 2007 09:52:26 Glauber de Oliveira Costa wrote: > +static inline int desc_empty(const void *ptr) > +{ > + const u32 *desc = ptr; > + return !(desc[0] | desc[1]); > +} Erk. This really needs to be a union, not a void *. I guess we can clean it later. Rusty. -- To

[RFC][PATCH 0/4] enabling graphics memory dma remapping

2007-12-17 Thread Zhenyu Wang
Intel IOMMU (a.k.a VT-d) is under rapid deployment on desktop and mobile platforms. As platform provides multiple dma remap engines for devices like those lives on south bridge (net, sound, etc.), and we also have one engine specific to graphics device. If this engine is functioning, the access

RE: /dev/urandom uses uninit bytes, leaks user data

2007-12-17 Thread David Schwartz
> Has anyone *proven* that using uninitialized data this way is safe? You can probably find dozens of things in the Linux kernel that have not been proven to be safe. That means nothing. > As > a *user* of this stuff, I'm *very* hesitant to trust Linux's RNG when I > hear things like this.

Re: [RFC PATCH 08/12] PAT 64b: coherent mmap and sysfs bin ioctl

2007-12-17 Thread H. Peter Anvin
Eric W. Biederman wrote: _00FD_FC00_h - _00FD_FDFF_h On a hypertransport based system should work. There is a 32MB window for it. It doesn't. The termination on MMIO and IOIO transaction is different, and poking this memory window with an MMIO transaction will lock the

Re: [RFC] [patch 1/2] add non_init_kernel_text_address

2007-12-17 Thread Rusty Russell
On Friday 14 December 2007 18:51:06 Ananth N Mavinakayanahalli wrote: > On Thu, Dec 13, 2007 at 11:09:16PM -0800, Andrew Morton wrote: > > regular_kernel_text_address()? Dunno. > > Sounds better :-) The better answer was to invert it and use "discarded_kernel_text_address()", which is what you

Re: [RFC PATCH 02/12] PAT 64b: Basic PAT implementation

2007-12-17 Thread Eric W. Biederman
Venki Pallipadi <[EMAIL PROTECTED]> writes: > Checking the manual for this. You are right, we had missed some steps here. > Actually, manual says on MP, PAT MSR on all CPUs must be consistent (even when > they are not really using it in their page tables. > So, this will change the init and

Re: [PATCH] MAINTAINERS: remove Adam Fritzler, update his email address in other sources

2007-12-17 Thread Joe Perches
On Mon, 2007-12-17 at 20:28 -0800, Andrew Morton wrote: > Please: just replace all instances with plain old "Adam Fritzler" and then > ensure that the lookup key "Adam Fritzler" has an accurate (and > non-duplicated anywhere else!) entry in MAINTAINERS or CREDITS or whatever. Sure. See new patch

xfs mknod regression

2007-12-17 Thread Bret Towe
I hit a bug in 2.6.24-rc looks to be in 2.6.23 also so not sure how long it's been there with an xfs filesystem pbuilder has an issue using device files it makes for chroot the mknod command looks to work fine the file is created however when attempting to use one of the created files you see

Re: [RFC PATCH 02/12] PAT 64b: Basic PAT implementation

2007-12-17 Thread Eric W. Biederman
Andi Kleen <[EMAIL PROTECTED]> writes: >> I do know we need to use the low 4 pat mappings to avoid most of the PAT >> errata issues. > > They don't really matter. These are all very old systems who have run > fine for many years without PAT. It is no problem to let them > continue to do so and

Re: [PATCH -mm -v3] x86 boot : export boot_params via sysfs

2007-12-17 Thread Eric W. Biederman
"H. Peter Anvin" <[EMAIL PROTECTED]> writes: > This is directly analogous to how we treat identity information in IDE, or PCI > configuration space -- some fields are pre-digested, but the entire raw > information is also available. Add to that a totally unchanged value can just be easier to get

Re: [RFC PATCH 08/12] PAT 64b: coherent mmap and sysfs bin ioctl

2007-12-17 Thread Eric W. Biederman
Andi Kleen <[EMAIL PROTECTED]> writes: > On Mon, Dec 17, 2007 at 08:57:50AM +1100, Paul Mackerras wrote: >> Greg KH writes: >> >> > Ok, sorry, it wasn't blindingly obvious that this was for pci sysfs >> > devices that are mmaped, that makes a bit more sense. >> > >> > But I'd like to see what

Re: [PATCH] apm_event{,info}_t are userspace types.

2007-12-17 Thread Rusty Russell
On Saturday 01 December 2007 07:02:43 Adam Jackson wrote: > These types define the size of data read from /dev/apm_bios. They > should not be hidden behind #ifdef __KERNEL__. Acked-by: Rusty Russell <[EMAIL PROTECTED]> My mistake, sorry. Rusty. -- To unsubscribe from this list: send the line

Re: [PATCH] MAINTAINERS: remove Adam Fritzler, update his email address in other sources

2007-12-17 Thread Andrew Morton
On Mon, 17 Dec 2007 20:12:06 -0800 Joe Perches <[EMAIL PROTECTED]> wrote: > Adam isn't a maintainer anymore. > His old email address bounces. > Update to new email address. > > On Mon, Dec 17, 2007 at 01:03:48PM -0800, Joe Perches wrote: > > > You seem to have an old email address in the > > >

Re: /dev/urandom uses uninit bytes, leaks user data

2007-12-17 Thread Theodore Tso
On Tue, Dec 18, 2007 at 02:39:00PM +1030, David Newall wrote: > > Thus, the entropy saved at shutdown can be known at boot-time. (You can > examine the saved entropy on disk.) > If you can examine the saved entropy on disk, you can also introduce a trojan horse kernel that logs all keystrokes

[PATCH] MAINTAINERS: remove Adam Fritzler, update his email address in other sources

2007-12-17 Thread Joe Perches
Adam isn't a maintainer anymore. His old email address bounces. Update to new email address. On Mon, Dec 17, 2007 at 01:03:48PM -0800, Joe Perches wrote: > > You seem to have an old email address in the > > linux-kernel MAINTAINERS file. > > Should it be deleted or changed? On Mon, 2007-12-17 at

Re: /dev/urandom uses uninit bytes, leaks user data

2007-12-17 Thread David Newall
Theodore Tso wrote: On Tue, Dec 18, 2007 at 01:43:28PM +1030, David Newall wrote: On a server, keyboard and mouse are rarely used. As you've described it, that leaves only the disk, and during the boot process, disk accesses and timing are somewhat predictable. Whether this is sufficient

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v3)

2007-12-17 Thread Tejun Heo
Please apply the attached patch and try to use cdrom w/o specifying any parameter and report kernel log. Thanks. -- tejun diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 4753a18..acaa8b8 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4537,6

Re: /dev/urandom uses uninit bytes, leaks user data

2007-12-17 Thread Theodore Tso
On Tue, Dec 18, 2007 at 01:43:28PM +1030, David Newall wrote: > On a server, keyboard and mouse are rarely used. As you've described it, > that leaves only the disk, and during the boot process, disk accesses and > timing are somewhat predictable. Whether this is sufficient to break the > RNG

Re: [patch 1/2] [RFC] Simple tamper-proof device filesystem.

2007-12-17 Thread Tetsuo Handa
Hello. Serge E. Hallyn wrote: > Nope, try > > touch /root/hda1 > ls -l /root/hda1 > mount --bind /dev/hda1 /root/hda1 > ls -l /root/hda1 [EMAIL PROTECTED] ~]# touch /root/hda1 [EMAIL PROTECTED] ~]# ls -l /root/hda1 -rw-r--r-- 1 root root 0 Dec 18 12:04 /root/hda1 [EMAIL PROTECTED] ~]#

[PATCH 3/7] Modify several rtc drivers to use the alias names list property of i2c

2007-12-17 Thread Jon Smirl
This patch modifies the ds1307, ds1374, and rs5c372 i2c drivers to support device tree names using the new i2c mod alias support Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> ---

[PATCH 6/7] Convert pfc8563 i2c driver from old style to new style

2007-12-17 Thread Jon Smirl
Convert pfc8563 i2c driver from old style to new style. The driver is also modified to support device tree names via the i2c mod alias mechanism. Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> ---

Re: [PATCH] sched: dynamically update the root-domain span/online maps

2007-12-17 Thread Steven Rostedt
Gregory Haskins wrote: Hi Steven, I posted a suspend-to-ram fix to sched-devel earlier today: http://lkml.org/lkml/2007/12/17/445 This fix should also be applied to -rt as I introduced the same regression there. Here is a version of the fix for 23-rt13. I can submit a version for

Re: "ip neigh show" not showing arp cache entries?

2007-12-17 Thread Herbert Xu
Chris Friesen <[EMAIL PROTECTED]> wrote: > > However, if I specifically try to print out one of the missing entries, > it shows up: > > [EMAIL PROTECTED]:/root> /tmp/ip neigh show 192.168.24.81 > 192.168.24.81 dev bond2 lladdr 00:01:af:14:e9:8a REACHABLE What about ip -4 neigh show

Re: /dev/urandom uses uninit bytes, leaks user data

2007-12-17 Thread David Newall
Theodore Tso wrote: On Mon, Dec 17, 2007 at 07:52:53PM -0500, Andy Lutomirski wrote: It runs on a freshly booted machine (no DSA involved, so we're not automatically hosed), so an attacker knows the initial pool state. Not just a freshly booted system. The system has to be a

[PATCH] x86: kprobes use stack_addr() macro

2007-12-17 Thread Harvey Harrison
Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- Replacement for the last patch in the kprobes series I just sent. arch/x86/kernel/kprobes.c | 45 + 1 files changed, 21 insertions(+), 24 deletions(-) diff --git a/arch/x86/kernel/kprobes.c

Re: No dma_sync_* during pci_probe? (Sparc, post 2.6.22 regression)

2007-12-17 Thread Chris Newport
On Tue, 18 Dec 2007, Stefan Richter wrote: It's a 100% reproducible oops on Sparc (with FireWire controller) for 2.6.23 and 2.6.24 kernels, but not 2.6.22. The reporter confirmed that the bug also happens How do you achieve a sparc system with firewire ? AFAIK there is no SBUS firewire card.

Re: [PATCH 1/2 2.6.25] cxgb3 - parity initialization for T3C adapters.

2007-12-17 Thread Jeff Garzik
Divy Le Ray wrote: From: Divy Le Ray <[EMAIL PROTECTED]> Add parity initialization for T3C adapters. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> applied 1-2 to #upstream -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: /dev/urandom uses uninit bytes, leaks user data

2007-12-17 Thread Theodore Tso
On Mon, Dec 17, 2007 at 07:52:53PM -0500, Andy Lutomirski wrote: > It runs on a freshly booted machine (no > DSA involved, so we're not automatically hosed), so an attacker knows the > initial pool state. Not just a freshly booted system. The system has to be a freshly booted, AND freshly

Re: No dma_sync_* during pci_probe? (Sparc, post 2.6.22 regression)

2007-12-17 Thread David Miller
From: Chris Newport <[EMAIL PROTECTED]> Date: Tue, 18 Dec 2007 02:58:29 + (GMT) > On Tue, 18 Dec 2007, Stefan Richter wrote: > > > It's a 100% reproducible oops on Sparc (with FireWire controller) for > > 2.6.23 and 2.6.24 kernels, but not 2.6.22. The reporter confirmed that > > the bug

[PATCH] sched: dynamically update the root-domain span/online maps

2007-12-17 Thread Gregory Haskins
Hi Steven, I posted a suspend-to-ram fix to sched-devel earlier today: http://lkml.org/lkml/2007/12/17/445 This fix should also be applied to -rt as I introduced the same regression there. Here is a version of the fix for 23-rt13. I can submit a version for 24-rc5-rt1 at your request.

Re: [patch 1/2] [RFC] Simple tamper-proof device filesystem.

2007-12-17 Thread Oren Laadan
Serge E. Hallyn wrote: > Quoting Oren Laadan ([EMAIL PROTECTED]): >> I hate to bring this again, but what if the admin in the container >> mounts an external file system (eg. nfs, usb, loop mount from a file, >> or via fuse), and that file system already has a device that we would >> like to ban

Re: [patch 1/2] [RFC] Simple tamper-proof device filesystem.

2007-12-17 Thread serge
Quoting Tetsuo Handa ([EMAIL PROTECTED]): > Hello. > > Serge E. Hallyn wrote: > > But your requirements are to ensure that an application accessing a > > device at a well-known location get what it expect. > > Yes. That's the purpose of this filesystem. > > > > So then the main quesiton is

Re: 2.6.24-rc5-mm1 - wonky disk cache and CDROM behavior...

2007-12-17 Thread Andrew Morton
On Tue, 18 Dec 2007 10:37:32 +0800 Dave Young <[EMAIL PROTECTED]> wrote: > On Mon, Dec 17, 2007 at 09:07:56PM -0500, [EMAIL PROTECTED] wrote: > > On Mon, 17 Dec 2007 14:56:44 PST, Andrew Morton said: > > > > (Adding Al Viro to the list, he's listed as "file systems" and MAINTAINERS > > doesn't

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v3)

2007-12-17 Thread Tejun Heo
Hello, [EMAIL PROTECTED] wrote: > --- sata_nv.c.orig2007-12-17 21:08:12.0 +0530 > +++ sata_nv.c 2007-12-17 21:08:25.0 +0530 > @@ -2407,6 +2407,12 @@ > type = GENERIC; > } > > + /* set 64bit dma masks, may fail */ > + if (type == ADMA) { >

[PATCH 1/2 2.6.25] cxgb3 - parity initialization for T3C adapters.

2007-12-17 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Add parity initialization for T3C adapters. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/adapter.h |1 drivers/net/cxgb3/cxgb3_main.c| 82 drivers/net/cxgb3/cxgb3_offload.c | 15 ++

[PATCH 2/2 2.6.25] cxgb3 - Fix EEH, missing softirq blocking

2007-12-17 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> set_pci_drvdata() stores a pointer to the adapter, not the net device. Add missing softirq blocking in t3_mgmt_tx. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/cxgb3_main.c | 14 -- drivers/net/cxgb3/sge.c|

Re: QUEUE_FLAG_CLUSTER: not working in 2.6.24 ?

2007-12-17 Thread Matt Mackall
On Mon, Dec 17, 2007 at 11:24:57AM -0800, Randy Dunlap wrote: > On Sun, 16 Dec 2007 21:55:20 + Mel Gorman wrote: > > > > > Just using cp to read the file is enough to cause problems but I > > > > included > > > > a very basic program below that produces the BUG_ON checks. Is this a > > > >

Re: [PATCH 7/7] Makefile

2007-12-17 Thread Jon Smirl
Ignore this patch, I forgot to remove it before mailing the series. On 12/17/07, Jon Smirl <[EMAIL PROTECTED]> wrote: > Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> > > Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> > --- > > Makefile |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-)

[PATCH 7/7] Makefile

2007-12-17 Thread Jon Smirl
Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> --- Makefile |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index c1825aa..15ada3f 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,9 @@ MAKEFLAGS += -rR

[PATCH] update module-init-tools to support the i2c subsystem

2007-12-17 Thread Jon Smirl
Follow on to: "Series to add device tree naming to i2c" Teach module-init-tools about the i2c subsystem. diff --git a/depmod.c b/depmod.c index 0281c79..209eb0c 100644 --- a/depmod.c +++ b/depmod.c @@ -793,6 +793,7 @@ static struct depfile depfiles[] = { { "modules.inputmap",

[PATCH 2/7] Implement module aliasing for i2c to translate from device tree names

2007-12-17 Thread Jon Smirl
This patch allows new style i2c chip drivers to have alias names using the official kernel aliasing system and MODULE_DEVICE_TABLE(). I've tested it on PowerPC and x86. This change is required for PowerPC device tree support. Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> Signed-off-by: Jon Smirl

[PATCH 4/7] Clean up error returns

2007-12-17 Thread Jon Smirl
Return errors that were being ignored in the mpc-i2c driver Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> --- drivers/i2c/busses/i2c-mpc.c | 30 +- 1 files changed, 17

[PATCH 5/7] Convert PowerPC MPC i2c to of_platform_driver from platform_driver

2007-12-17 Thread Jon Smirl
Convert MPC i2c driver from being a platform_driver to an open firmware version. Error returns were improved. Routine names were changed from fsl_ to mpc_ to make them match the file name. Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> Signed-off-by:

[PATCH 1/7] Copy mpc-i2c to preserve support for ARCH=ppc and allow changes on ARCH=powerpc

2007-12-17 Thread Jon Smirl
Temporarily copy the mpc-i2c driver to continue support for the ppc architecture until it is removed in mid-2008. This file should be deleted as part of ppc's final removal. Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> Signed-off-by: Jon Smirl

[PATCH 0/7] Series to add device tree naming to i2c

2007-12-17 Thread Jon Smirl
Another rework of the i2c for powerpc device tree patch. This version implements standard alias naming only on the powerpc platform and only for the device tree names. The old naming mechanism of i2c_client.name,driver_name is left in place and not changed for non-powerpc platforms. This patch

Re: 2.6.24-rc5-mm1 - wonky disk cache and CDROM behavior...

2007-12-17 Thread Dave Young
On Mon, Dec 17, 2007 at 09:07:56PM -0500, [EMAIL PROTECTED] wrote: > On Mon, 17 Dec 2007 14:56:44 PST, Andrew Morton said: > > (Adding Al Viro to the list, he's listed as "file systems" and MAINTAINERS > doesn't list 'isofs' anyplace. Will Al or Andrew please vector to whoever > actually does

Re: [PATCH 3/3] net: wireless: bcm43xx: big_buffer_sem semaphore to mutex

2007-12-17 Thread mvtodevnull
On Dec 17, 2007 8:16 PM, Larry Finger <[EMAIL PROTECTED]> wrote: > > I hope that you have now convinced yourself that you should be using b43 and > not messing around > forcing b43legacy to use a device for which it was not intended. > I was convinced the moment I realized it worked exactly the

Re: Top kernel oopses/warnings this week

2007-12-17 Thread Theodore Tso
On Mon, Dec 17, 2007 at 04:21:12PM -0800, Linus Torvalds wrote: > which also gets bonus points for being totally unreadable, and thus 100% > in the spirit of uuid's. Heh. UUID's don't have to be readable; just universally unique. Code on the other hand should be readable. :-) If you want

RE: [PATCH] drivers/scsi/: Spelling fixes

2007-12-17 Thread David Somayajulu
On Mon, 17 Dec 2007, Joe Perches wrote: > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > drivers/scsi/qla4xxx/ql4_def.h|2 +- > drivers/scsi/qla4xxx/ql4_init.c |2 +- Acked-by: David Somayajulu <[EMAIL PROTECTED]> -- To unsubscribe from this list: send the line

BAN CAN HO CAO CAP V-STAR (SAIGON) -CHI CON 2 CAN -GIA DAC BIET

2007-12-17 Thread NHA DAT SAI GON
Chao cac ban, Ban nhan duoc email nay la do ban hoac mot ai do da dang ky dia chi email cua ban tai trang web: www.nhaban.net.tf, www.nhaban.vnn.bz, www.nhadep.us de nhan cac thong tin nha dat moi nhat cua chung toi. Nay chung toi han hanh thong bao voi cac ban cac can ho cao cap chung toi dang

Re: [patch 1/2] [RFC] Simple tamper-proof device filesystem.

2007-12-17 Thread Tetsuo Handa
Hello. Serge E. Hallyn wrote: > But your requirements are to ensure that an application accessing a > device at a well-known location get what it expect. Yes. That's the purpose of this filesystem. > So then the main quesiton is still the one I think Al had asked - what > keeps a rogue

Re: [patch 1/2] [RFC] Simple tamper-proof device filesystem.

2007-12-17 Thread Serge E. Hallyn
Quoting Oren Laadan ([EMAIL PROTECTED]): > > I hate to bring this again, but what if the admin in the container > mounts an external file system (eg. nfs, usb, loop mount from a file, > or via fuse), and that file system already has a device that we would > like to ban inside that container ?

[PATCH 1/3]pci: fix typo in pci_save_pcix_state

2007-12-17 Thread Shaohua Li
pci_save/store_state has multiple bugs, which will cause cap can't be saved/restored correctly. Below 3 patches fix them. fix the typo in pci_save_pcix_state Signed-off-by: Shaohua Li <[EMAIL PROTECTED]> Index: linux/drivers/pci/pci.c

Re: 2.6.24-rc5-mm1 - wonky disk cache and CDROM behavior...

2007-12-17 Thread Valdis . Kletnieks
On Mon, 17 Dec 2007 14:56:44 PST, Andrew Morton said: (Adding Al Viro to the list, he's listed as "file systems" and MAINTAINERS doesn't list 'isofs' anyplace. Will Al or Andrew please vector to whoever actually does that code?) > > I try it again, and it reports it died at the same exact

[patch 2/3] pci: correctly initialize a structure

2007-12-17 Thread Shaohua Li
save_state->cap_nr should be correctly set, otherwise we can't find the saved cap at resume. Signed-off-by: Shaohua Li <[EMAIL PROTECTED]> Index: linux/drivers/pci/pci.c === --- linux.orig/drivers/pci/pci.c2007-12-18

[git patches] net driver fixes

2007-12-17 Thread Jeff Garzik
A couple serious fixes (wireless, e100, sky2) and a bevy of minor ones. Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-linus to receive the following updates: MAINTAINERS|6 ++

[git patches] libata fixes

2007-12-17 Thread Jeff Garzik
In 2.6.24, we turned on ACPI support in libata. This is needed in order to support suspend/resume and BIOS passworded drives, but it inevitably brought with it a host of new regressions -- which is what happens anytime you blindly accept ATA commands the BIOS has decided to toss your way. :)

[patch 3/3]pci: avoid save the same type of cap multiple times

2007-12-17 Thread Shaohua Li
Avoid adding the same type of cap multiple times, otherwise we will see dead loop. Signed-off-by: Shaohua Li <[EMAIL PROTECTED]> Index: linux/drivers/pci/pci.c === --- linux.orig/drivers/pci/pci.c2007-12-18

Re: [patch 1/2] [RFC] Simple tamper-proof device filesystem.

2007-12-17 Thread Serge E. Hallyn
Quoting Serge E. Hallyn ([EMAIL PROTECTED]): > Quoting Tetsuo Handa ([EMAIL PROTECTED]): > > Hello. > > > > Serge E. Hallyn wrote: > > > CAP_MKNOD will be removed from its capability > > I think it is not enough because the root can rename/unlink device files > > (mv /dev/sda1 /dev/tmp; mv

Re: [PATCH 2.6.24-rc5-mm 3/3] gpiolib: obsolete drivers/i2c/chips/pca9539.c

2007-12-17 Thread eric miao
Well, I guess it would be a smooth path if we rename the drivers/i2c/chips/pca9539.c since that's old style I2C driver, which means the driver name is not so useful external so the impact is actually minimum. On Dec 18, 2007 4:29 AM, Jean Delvare <[EMAIL PROTECTED]> wrote: > Hi David, > > > On

[PATCH 19/21] [PATCH] unify asm nops

2007-12-17 Thread Glauber de Oliveira Costa
There's only one difference between the NOPs used in asm code for i386 and x86_64: i386 has a lot more variants. The code is moved to processor.h, and adjusted accordingly. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> --- include/asm-x86/processor.h| 85

Re: swapping in 2.6.24-rc5-git3

2007-12-17 Thread KAMEZAWA Hiroyuki
On Tue, 18 Dec 2007 10:38:13 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > > Is there a way to avoid it except turning off the swap? > > > Maybe...no. > Ah, sorry. If too much dirty page by ftp is trouble, tuning /proc/sys/vm/dirty_ratio /proc/sys/vm/dirty_writeback/centisecs etc.. may

  1   2   3   4   5   6   7   8   9   10   >