Re: [patch] epoll use a single inode ...

2007-03-08 Thread Eric Dumazet
On Thursday 08 March 2007 09:56, Christoph Hellwig wrote: > This patch needs a lot more documentation. It needs some really big > comments on why this should never ever be used for a real filesystem > (real as in user mountable), and probably add an assert for that > invariant somewhere. Please

Re: qla2xxx BUG: workqueue leaked lock or atomic

2007-03-08 Thread Jens Axboe
On Thu, Mar 08 2007, Andre Noll wrote: > On 10:02, Jens Axboe wrote: > > Do you still have the vmlinux? It'd be interesting to see what > > > > $ gbd vmlinux > > (gdb) l *cfq_dispatch_insert+0x28 > > > > says, > > The vmlinux in the kernel dir is dated March 5 and my bug report > was Feb 28.

Re: qla2xxx BUG: workqueue leaked lock or atomic

2007-03-08 Thread Andre Noll
On 10:02, Jens Axboe wrote: > Do you still have the vmlinux? It'd be interesting to see what > > $ gbd vmlinux > (gdb) l *cfq_dispatch_insert+0x28 > > says, The vmlinux in the kernel dir is dated March 5 and my bug report was Feb 28. So I'm afraid it's gone. I tried the gdb command anyway but

Re: Null pointer in autofs4 (_spin_lock) in 2.6.21-rc2

2007-03-08 Thread Andrew Morton
> On Thu, 08 Mar 2007 09:57:56 +0100 Thomas Renninger <[EMAIL PROTECTED]> wrote: > I saw this happening several times on 2.6.21-rc2. > Tell me how I can help... > Some nfs partitions are mounted via nfs using autofs. > It takes some hours to run into this: > > Unable to handle kernel NULL pointer

Re: [PATCH -mm] Blackfin: blackfin i2c driver

2007-03-08 Thread Jean Delvare
Hi Brian, Thanks for the quick update. > [PATCH] Blackfin: blackfin i2c driver > > The i2c linux driver for blackfin architecture which supports both GPIO > i2c operation and blackfin on-chip TWI controller i2c operation. > > Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> > Reviewed-by: Andrew

[PATCH] [scsi]: Add offline state checking while dispatch a scsi cmd

2007-03-08 Thread Joe Jin
While a scsi device hw error occured, device's status maybe setting to SDEV_OFFLINE, So at scsi_dispatch_cmd function, we should checking if device have offline, if yes, do nothing and just return error to user directly. Signed-off-by: Joe Jin <[EMAIL PROTECTED]> -- ---

Re: PROBLEM: 2.6.19.1 Oops while doing Disk IO + playing sound, 2.6.20 too -> STATUS git-bisect

2007-03-08 Thread Kevin Perros
Hi, I just had the same problem with a 2.6.20 kernel, just after the boot, after having launched Mozilla Firefox. The browser seemed to lag while rendering a page, and after say 20 seconds, I got an oops. I was *not* playing sound. This message is repeated a HUGE amount of times in my

Re: hardwired VMI crap

2007-03-08 Thread Ingo Molnar
* Zachary Amsden <[EMAIL PROTECTED]> wrote: > The correct solution here is to properly separate the APIC, SMP, and > timer code so the logic of it which we want to reuse is separated from > the hardware dependence. Clock events and clocksources take care of > most of the timer issues, but

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-08 Thread Paul Menage
On 3/7/07, Sam Vilain <[EMAIL PROTECTED]> wrote: Ok, they share this characteristic with namespaces: that they group processes. So, they conceptually hang off task_struct. But we put them on ns_proxy because we've got this vague notion that things might be better that way. Remember that I'm

Re: [PATCH 1/2] rcfs core patch

2007-03-08 Thread Paul Menage
On 3/7/07, Eric W. Biederman <[EMAIL PROTECTED]> wrote: Please next time this kind of patch is posted add a description of what is happening and why. I have yet to see people explain why this is a good idea. Why the current semantics were chosen. OK. I thought that the descriptions in my

Re: qla2xxx BUG: workqueue leaked lock or atomic

2007-03-08 Thread Jens Axboe
On Thu, Mar 08 2007, Andre Noll wrote: > On 19:46, Jens Axboe wrote: > > On Wed, Feb 28 2007, Andre Noll wrote: > > > On 16:18, Andre Noll wrote: > > > > > > > With 2.6.21-rc2 I am unable to reproduce this BUG message. However, > > > > writing to both raid systems at the same time via lvm still

Re: Kernel threads

2007-03-08 Thread Andrew Morton
> On Tue, 6 Mar 2007 11:03:48 -0500 "linux-os \(Dick Johnson\)" <[EMAIL > PROTECTED]> wrote: > > Hello, > > In linux-2.6.16.24, there is a problem with kernel threads > and the aic79xx.c driver. > > When nash is executing /initrd/linuxrc in the initial RAM disk > during boot, it will be

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Christoph Hellwig
On Thu, Mar 08, 2007 at 03:18:04AM +0100, Roman Zippel wrote: > Hi, > > On Tuesday 06 March 2007 10:29, Christoph Hellwig wrote: > > > PAGE_SIZE should not be available at all. Please use getpagesize() > > instead. > > While I agree, NBPG is a bit of a problem, although it's only needed for

Re: [patch] epoll use a single inode ...

2007-03-08 Thread Christoph Hellwig
This patch needs a lot more documentation. It needs some really big comments on why this should never ever be used for a real filesystem (real as in user mountable), and probably add an assert for that invariant somewhere. Please also update Documentation/filesystems/Locking and

Null pointer in autofs4 (_spin_lock) in 2.6.21-rc2

2007-03-08 Thread Thomas Renninger
I saw this happening several times on 2.6.21-rc2. Tell me how I can help... Some nfs partitions are mounted via nfs using autofs. It takes some hours to run into this: Unable to handle kernel NULL pointer dereference at 0008 RIP: [] _spin_lock+0x0/0xf PGD 1dde23067 PUD 1d3060067 PMD

Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler

2007-03-08 Thread Ingo Molnar
* Con Kolivas <[EMAIL PROTECTED]> wrote: > This message is to announce the first general public release of the > "Rotating Staircase DeadLine" cpu scheduler. > > Based on previous work from the staircase cpu scheduler I set out to > design, from scratch, a new scheduling policy design which

Re: qla2xxx BUG: workqueue leaked lock or atomic

2007-03-08 Thread Andre Noll
On 19:46, Jens Axboe wrote: > On Wed, Feb 28 2007, Andre Noll wrote: > > On 16:18, Andre Noll wrote: > > > > > With 2.6.21-rc2 I am unable to reproduce this BUG message. However, > > > writing to both raid systems at the same time via lvm still locks up > > > the system within minutes. > > > >

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-08 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: > you are obsessed with avoiding a hypercall, but why? Granted it's slow > especially on things like SVN/VMX, but it's not fundamentally slow. We > definitely do not want to design our whole APIs and abstractions around > the temporary notion that 'hypercalls are slow'.

Re: 2.6.21-rc2-mm2

2007-03-08 Thread Magnus Damm
On 3/6/07, KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: Following panic ouccurred (always) on ia64/NUMA(with empty node.) Bug in here. == void move_native_irq(int irq) { struct irq_desc *desc = irq_desc + irq; if (likely(!(desc->status & IRQ_MOVE_PENDING)))

Request change in behaviour of capability inheritance.

2007-03-08 Thread rgarcia
I think that the current behaviour of capability inheritance across exec() is not optimal. The current behaviour consists in all effective and permitted capabilities are cleared across a exec(). This is because it seems to be intended that in the future the executable files have a set of

Re: [patch] epoll use a single inode ...

2007-03-08 Thread Michael K. Edwards
On 3/7/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: No, I just checked, and Intel's own optimization manual makes it clear that you should be careful. They talk about performance penalties due to resource constraints - which makes tons of sense with a core that is good at handling its own

Re: [PATCH] Fix building kernel under Solaris

2007-03-08 Thread Christoph Hellwig
On Wed, Mar 07, 2007 at 11:45:11PM +0100, Jan Engelhardt wrote: > > On Mar 7 2007 09:42, Christoph Hellwig wrote: > >> #include > >> #include > >> #include > >> +#ifndef __sun__ > >> #include > >> #endif > >> +#endif > > > >So if solaris doesn't need it, why do we need it on Linux? > >

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Christoph Hellwig
On Wed, Mar 07, 2007 at 09:28:15PM -0800, David Brown wrote: > >While I agree, NBPG is a bit of a problem, although it's only needed for > >aout > >coredumps AFAICT, but still needed to compile e.g. gdb. > > Well then how does gdb deal with ia64? because PAGE_SIZE and friends > aren't available

Re: [PATCH 0/20] x86_64 Relocatable bzImage support (V4)

2007-03-08 Thread Vivek Goyal
On Thu, Mar 08, 2007 at 07:07:23PM +1100, Nigel Cunningham wrote: > Hi. > > On Thu, 2007-03-08 at 10:10 +0530, Vivek Goyal wrote: > > On Thu, Mar 08, 2007 at 10:15:02AM +1100, Nigel Cunningham wrote: > > > Hi. > > > > > > On Thu, 2007-03-08 at 07:49 +1100, Nigel Cunningham wrote: > > > > Hi. > >

RE: Linux v2.6.20-rc5

2007-03-08 Thread albcamus
I guess that it is because 'paravirt_ops' was exported as GPL symbol, whereas the vmware module doen't declare any license. I tried to add the following line: MODULE_LICENSE("GPL"); into vmmon.tar and vmnet.tar under /usr/lib/vmare/modules/source/, then it works. (but maybe will tear the

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-08 Thread Keir Fraser
On 8/3/07 08:01, "Ingo Molnar" <[EMAIL PROTECTED]> wrote: > you are obsessed with avoiding a hypercall, but why? Granted it's slow > especially on things like SVN/VMX, but it's not fundamentally slow. We > definitely do not want to design our whole APIs and abstractions around > the temporary

[2.6 patch] x86_64: X86_P4_CLOCKMOD must select CPU_FREQ_TABLE

2007-03-08 Thread Adrian Bunk
On Wed, Mar 07, 2007 at 01:54:58AM -0500, Dave Jones wrote: > On Tue, Mar 06, 2007 at 10:33:05PM -0800, David Rientjes wrote: > > arch/x86_64/kernel/built-in.o: In function > `cpufreq_p4_verify':p4-clockmod.c:(.text.cpufreq_p4_verify+0x8): undefined > reference to

Re: userspace pagecache management tool

2007-03-08 Thread Andrew Morton
> On Thu, 08 Mar 2007 13:29:02 +0530 Vaidyanathan Srinivasan <[EMAIL > PROTECTED]> wrote: > > That all sounds reasonably doable. It'd be pretty complex to do it > > in-kernel but we could do it there too. Problem is if course that the > > above strategy is explicitly optimised for the backup

Re: Linux v2.6.21-rc3

2007-03-08 Thread Benjamin Herrenschmidt
On Wed, 2007-03-07 at 21:52 +0100, Arnd Bergmann wrote: > On Wednesday 07 March 2007 16:39:00 Linus Torvalds wrote: > > So did you hunt it down to a particular cases where it triggers? > > IIRC, it crashed on boot in the powerpc iommu code when slab > debugging is enabled. Not sure if it was on

Re: Linux v2.6.21-rc3

2007-03-08 Thread Benjamin Herrenschmidt
On Wed, 2007-03-07 at 07:39 -0800, Linus Torvalds wrote: > > On Wed, 7 Mar 2007, Benjamin Herrenschmidt wrote: > > > > On Tue, 2007-03-06 at 20:59 -0800, Linus Torvalds wrote: > > > > > Linus Torvalds (2): > > > Revert "[PATCH] LOG2: Alter get_order() so that it can make use of > > >

Re: [PATCH 0/20] x86_64 Relocatable bzImage support (V4)

2007-03-08 Thread Nigel Cunningham
Hi. On Thu, 2007-03-08 at 10:10 +0530, Vivek Goyal wrote: > On Thu, Mar 08, 2007 at 10:15:02AM +1100, Nigel Cunningham wrote: > > Hi. > > > > On Thu, 2007-03-08 at 07:49 +1100, Nigel Cunningham wrote: > > > Hi. > > > > > > On Wed, 2007-03-07 at 07:07 -0800, Arjan van de Ven wrote: > > > > On

Re: OOPS with 2.6.21rc2-git (ata: conflict with ide0/1)

2007-03-08 Thread Tejun Heo
[cc'ing Greg, Hi] Kok, Auke wrote: > > Attached dmesg. config.gz. here's the OOPS part. > > ata_piix :00:1f.2: version 2.10 > ata_piix :00:1f.2: MAP [ P0 P2 P1 P3 ] > ACPI: PCI Interrupt :00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19 > ata: 0x1F0 IDE port busy > ata: conflict with

Re: 2.6.21-rc2-mm2: drivers/net/wireless/libertas/debugfs.c addr bogosity

2007-03-08 Thread Adrian Bunk
On Wed, Mar 07, 2007 at 03:00:57PM -0800, Andrew Morton wrote: > On Wed, 7 Mar 2007 23:41:16 +0100 > Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > On Tue, Mar 06, 2007 at 12:44:08AM -0800, Andrew Morton wrote: > > >... > > > Changes since 2.6.20-rc2-mm1: > > >... > > > git-netdev-all.patch > >

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-08 Thread Ingo Molnar
* Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > > Your implementation is almost the perfect prototype, if you move the > > 128 bit hackery into the hypervisor and hide it away from the kernel > > :) > > The point is to use the tsc to avoid making any hypercalls, so dealing > with the

Kernel oops with dvb_usb_umt_010 module (x86_64 2.6.21-rc3)

2007-03-08 Thread Alexis Ballier
Hi, I bought a HanfTek UMT-010 dvb-T usb stick, so I compiled yesterday's linus' git tree (2.6.21-rc3) and downloaded the firmware from linuxtv.org. The driver loads fine : [ 170.316104] usb 1-4: new high speed USB device using ehci_hcd and address 5 [ 170.448372] usb 1-4: configuration #1

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-08 Thread Zachary Amsden
Thomas Gleixner wrote: On Wed, 2007-03-07 at 17:01 -0800, Daniel Arai wrote: But more importantly, we want a kernel that can run both on native hardware and in a paravirtualized environment. Linux doesn't really provide abstractions for replacing the appropriate code. We tried to hook

Re: userspace pagecache management tool

2007-03-08 Thread Vaidyanathan Srinivasan
Andrew Morton wrote: > On Sun, 4 Mar 2007 00:01:55 +0100 bert hubert <[EMAIL PROTECTED]> wrote: > >> On Sat, Mar 03, 2007 at 02:26:09PM -0800, Andrew Morton wrote: > It is *not* a global instruction. It uses setenv, so the user's policy > affects only the target process and its forked

Re: libata: Fix host-simplex_claimed != ap typo

2007-03-08 Thread Jeff Garzik
Alan Cox wrote: On Thu, 08 Mar 2007 23:17:00 +0900 OGAWA Hirofumi [EMAIL PROTECTED] wrote: Hi, the following patch is needed to boot my laptop using pata_ali.ko, at least. Please apply. NAK - correct fix is to check != != NULL. The correct fix was posted to the list earlier by Vojtech.

Re: Linux v2.6.20-rc5

2007-03-08 Thread Jeff Chua
On 3/8/07, albcamus [EMAIL PROTECTED] wrote: I guess that it is because 'paravirt_ops' was exported as GPL symbol, whereas the vmware module doen't declare any license. I tried to add the following line: MODULE_LICENSE(GPL); into vmmon.tar and vmnet.tar under /usr/lib/vmare/modules/source/,

Re: libata: Fix host-simplex_claimed != ap typo

2007-03-08 Thread Alan Cox
On Thu, 08 Mar 2007 10:18:24 -0500 Jeff Garzik [EMAIL PROTECTED] wrote: Alan Cox wrote: On Thu, 08 Mar 2007 23:17:00 +0900 OGAWA Hirofumi [EMAIL PROTECTED] wrote: Hi, the following patch is needed to boot my laptop using pata_ali.ko, at least. Please apply. NAK - correct

Re: 2.6.21-rc3-mm1

2007-03-08 Thread John W. Linville
On Wed, Mar 07, 2007 at 08:18:39PM -0800, Andrew Morton wrote: - The wireless changes in here need a lot of testers, please. It is major rework. Of course the config files got all changed around so `make oldconfig' breaks everything. I was able to get ipw2200 working after some

Re: Problem with freezable workqueues

2007-03-08 Thread Johannes Berg
On Tue, 2007-03-06 at 21:31 +0100, Rafael J. Wysocki wrote: For now, we have decided to make the workqueues nonfreezable (the patch for that has already been merged, AFAICT). It isn't in 2.6.21-rc3. I wanted to adapt the BUG_ON(block IO not from suspend code) patch from suspend2 but

Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler

2007-03-08 Thread Tim Tassonis
Hi Con Just also wanted to throw in my less than two cents: I applied the patch and also have the very strong subjective impression that my system feels much more responsive than with stock 2.6.20. Thanks for the great work. Bye Tim - To unsubscribe from this list: send the line unsubscribe

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Michal Piotrowski
Takashi Iwai napisał(a): At Wed, 07 Mar 2007 23:22:36 +0100, Michal Piotrowski wrote: Hi Takashi, Takashi Iwai napisał(a): At Wed, 7 Mar 2007 11:50:24 -0800, Andrew Morton wrote: On Wed, 7 Mar 2007 20:41:30 +0100 Michal Piotrowski [EMAIL PROTECTED] wrote:

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Davide Libenzi
On Thu, 8 Mar 2007, David M. Lloyd wrote: On Wed, 2007-03-07 at 17:21 -0800, Davide Libenzi wrote: int signalfd_dequeue(int fd, siginfo_t *info, long timeo); The fd parameter must ba a signalfd file descriptor. The info parameter is a pointer to the siginfo that will receive the

[PATCH] tty: Revised diff for the i386/x86_64 arbitary speed support

2007-03-08 Thread Alan Cox
Adding some more test cases found a bug in the definition of IBSHIFT. At the moment we have no hardware support for split baud rates but this showed up once I did testing of that... Replaces the previous diff. Signed-off-by: Alan Cox [EMAIL PROTECTED] diff -u --new-file --recursive

Re: Problem with libata-pata, ATAPI DVD reader and a copy-protected audio cd

2007-03-08 Thread GhePeU
Il giorno gio, 08/03/2007 alle 14.35 +0100, GhePeU ha scritto: Well, it happened again, with a different cd, and this time I never started the player: hal/g-v-m tried to access the CD and now my driver is in PIO2 mode and pretty much unusable. Is there a way to fix this without rebooting?

[RFC][Patch 0/6] integrity service framework and provider

2007-03-08 Thread Mimi Zohar
This is a request for comments for updates to the integrity service framework, previously accepted into -mm, and EVM a new integrity service provider. A new LSM module called Integrity Based Access Control(IBAC), a consumer of the integrity framework API, will be posted separately to the LSM

[RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Mimi Zohar
This patch adds integrity hooks used to implement an integrity service provider and updates the previously submitted dummy provider to support these new hooks. Index: linux-2.6.21-rc3-mm2/security/integrity_dummy.c === ---

[RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Mimi Zohar
This patch places calls to the new integrity hooks in the appropriate places in the fs directory. It is not meant in any way to be viewed as a complete set, but used as a basis for an initial discussion. Index: linux-2.6.21-rc3-mm2/fs/ext3/xattr_security.c

[RFC][Patch 3/6] integrity: EVM as an integrity service provider

2007-03-08 Thread Mimi Zohar
This is a re-release of EVM as an integrity service provider. The initial EVM release was as an LSM module. It has been substantially rewritten to provide support for the new integrity service framework API, which permits applications, such as LSM modules, to verify the integrity of the metadata

[RFC][Patch 4/6] integrity: IMA integrity_measure() support

2007-03-08 Thread Mimi Zohar
This is a re-release of Integrity Measurement Architecture(IMA) as a method of providing support for the integrity service framework API integrity_measure() call. When integrity_measure() is called, IMA submits the measurement (hash) of the file to the TPM chip, for inclusion in one of the chip's

[RFC][Patch 6/6] integrity: TPM internal kernel interface

2007-03-08 Thread Mimi Zohar
Index: linux-2.6.21-rc3-mm2/drivers/char/tpm/tpm.c === --- linux-2.6.21-rc3-mm2.orig/drivers/char/tpm/tpm.c +++ linux-2.6.21-rc3-mm2/drivers/char/tpm/tpm.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004 IBM Corporation + * Copyright (C)

[RFC][Patch 5/6] integrity: mtime patch for mmap files

2007-03-08 Thread Mimi Zohar
This is a minimal subset of Peter Staubach's July patch, updated to apply to the latest kernel. The subset was chosen to demonstrate that mmaped files are hashed and hmac properly by EVM after being modified when a file's mtime is updated correctly. Index: linux-2.6.21-rc3-mm2/fs/inode.c

Re: [patch] epoll use a single inode ...

2007-03-08 Thread Linus Torvalds
On Thu, 8 Mar 2007, Eric Dumazet wrote: Signed-off-by: Eric Dumazet [EMAIL PROTECTED] CC: Christoph Hellwig [EMAIL PROTECTED] CC: Linus Torvalds [EMAIL PROTECTED] Acked-by: Linus Torvalds [EMAIL PROTECTED] Except you should fix the subject line when you send it out to Andrew ;)

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Arjan van de Ven
On Thu, 2007-03-08 at 09:00 +, Christoph Hellwig wrote: On Thu, Mar 08, 2007 at 03:18:04AM +0100, Roman Zippel wrote: Hi, On Tuesday 06 March 2007 10:29, Christoph Hellwig wrote: PAGE_SIZE should not be available at all. Please use getpagesize() instead. While I agree,

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Takashi Iwai napisał(a): At Wed, 07 Mar 2007 23:22:36 +0100, Michal Piotrowski wrote: Hi Takashi, Takashi Iwai napisał(a): At Wed, 7 Mar 2007 11:50:24 -0800, Andrew Morton wrote: On Wed, 7 Mar 2007 20:41:30 +0100

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the patch. This reveals which register bits differ actually. a2.txt is form 2.6.21-rc3 witchout

Re: Radeon xpress 200m and radeonfb kinda work

2007-03-08 Thread Chuck Ebbert
johan henriksson wrote: As you can see in the patch I have disabled Dynamic Clock PM since it makes my card freak out (Don't know why :( ). Is there a reason why the default_dynclk parameter only is available when radeonfb is built as a module or should it be added to radeonfb_setup? I don't

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-08 Thread Alan Stern
On Thu, 8 Mar 2007, Oliver Neukum wrote: Hi, after a lightning bolt from high above I've been looking into refcounting the data structures drivers use to provide the data used to refill sysfs buffers. I've come to the following conclusion. 1. struct sysfs_buffer must have a struct kref *

Re: Problem with libata-pata, ATAPI DVD reader and a copy-protected audio cd

2007-03-08 Thread Alan Cox
Well, it happened again, with a different cd, and this time I never started the player: hal/g-v-m tried to access the CD and now my driver is in PIO2 mode and pretty much unusable. Is there a way to fix this without rebooting? Hard to tell. If it happens again then a dmesg after it misbehaves

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Christoph Hellwig
On Thu, Mar 08, 2007 at 07:53:49AM -0800, Arjan van de Ven wrote: PAGE_SIZE should not be available at all. Please use getpagesize() instead. While I agree, NBPG is a bit of a problem, although it's only needed for aout coredumps AFAICT, but still needed to compile e.g.

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the patch. This reveals which register bits differ actually. a2.txt is form 2.6.21-rc3 witchout

[PATCH] PPC: Correct apparently misspelled XMON preprocessor directive.

2007-03-08 Thread Robert P. J. Day
Correct the apparent misspelling of XMON to CONFIG_XMON. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- i'm only *guessing* that this is a typo, given that the file arch/powerpc/Kconfig.debug defines the XMON config variable. diff --git a/arch/powerpc/platforms/chrp/setup.c

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Linus Torvalds
On Thu, 8 Mar 2007, Davide Libenzi wrote: This patch, if you get a POLLIN, you have a signal to read for sure (well, unless you another thread/task reads it before you - but that's just somthing you have to take care). There is not explicit check for O_NONBLOCK now, but a zero timeout

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Michal Piotrowski
On 08/03/07, Takashi Iwai [EMAIL PROTECTED] wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the patch. This reveals which register bits differ actually. a2.txt is

Re: Problem with libata-pata, ATAPI DVD reader and a copy-protected audio cd

2007-03-08 Thread GhePeU
Il giorno gio, 08/03/2007 alle 17.07 +, Alan Cox ha scritto: Well, it happened again, with a different cd, and this time I never started the player: hal/g-v-m tried to access the CD and now my driver is in PIO2 mode and pretty much unusable. Is there a way to fix this without

Re: Request change in behaviour of capability inheritance.

2007-03-08 Thread Casey Schaufler
--- [EMAIL PROTECTED] wrote: I think that the current behaviour of capability inheritance across exec() is not optimal. The current behaviour consists in all effective and permitted capabilities are cleared across a exec(). This is because it seems to be intended that in the future the

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 8 Mar 2007 17:26:48 +0100, Michal Piotrowski wrote: On 08/03/07, Takashi Iwai [EMAIL PROTECTED] wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Takashi Iwai napisał(a): Or, does it happen if you play a real 5.1 channel file? (for example, try

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Davide Libenzi
On Thu, 8 Mar 2007, Linus Torvalds wrote: You missed David's worry, I think. Not only is POLLIN potentially an edge event (depending on the interface you use to fetch it), but even as a level-triggered one you generally want to read as much as possible per POLLIN event, and go back to the

Networking Question [ot]

2007-03-08 Thread Marc Perkel
This may be a little off topic but I know there's people here that can give me a quick answer. I'm running Fedora Core 6 and I have two blocks of IP addresses on eth0. 69.50.231.0/28 69.50.231.128/26 Do I need to set some kind of static route so that IPs in one set can talk to the other? If so

Re: 2.6.21-rc3-mm1

2007-03-08 Thread Dave Jones
On Thu, Mar 08, 2007 at 09:50:43AM -0500, John W. Linville wrote: On Wed, Mar 07, 2007 at 08:18:39PM -0800, Andrew Morton wrote: By removing NET_RADIO, these changes pave the way to making wireless extensions optional when cfg80211 can fully take over for some drivers

Re: Kernel threads

2007-03-08 Thread Oleg Nesterov
Andrew Morton wrote: On Tue, 6 Mar 2007 11:03:48 -0500 linux-os \(Dick Johnson\) [EMAIL PROTECTED] wrote: In linux-2.6.16.24, there is a problem with kernel threads and the aic79xx.c driver. When nash is executing /initrd/linuxrc in the initial RAM disk during boot, it will be

[QUESTION] outl and writel endianity

2007-03-08 Thread Jiri Slaby
Hi. If I use outl everything seems to be OK. Is there any difference in endianity between outl and writel (or iowrite32, which calls writel, I guess). When I do outl(val, p-ibase + 4*off); everyhting is OK, but when I do writel(val, p-iaddr + off); bad value is written unless I use

Re: [RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Chris Wright
* Mimi Zohar ([EMAIL PROTECTED]) wrote: +static int dummy_inode_setxattr(struct dentry *dentry, char *name, void *value, + size_t size, int flags) +{ + if (!strncmp(name, XATTR_SECURITY_PREFIX, + sizeof(XATTR_SECURITY_PREFIX) - 1) +

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Michael K. Edwards
On 3/8/07, Davide Libenzi davidel@xmailserver.org wrote: The reason for the special function, was not to provide a non-blocking behaviour with zero timeout (that just a side effect), but to read the siginfo. I was all about using read(2) (and v1 used it), but when you have to transfer complex

Re: [PATCH] chaostables

2007-03-08 Thread Jan Engelhardt
(I suspect a mailserver issue on my side, since I did not receive the replies from Alan or Patrick. But lkml.org has them, so I will be replying to both them there.) On Mar 8 2007 09:55, James Morris wrote: On Thu, 8 Mar 2007, Alan Cox wrote: Any chance of tweaking the name - it's just

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Chris Wright
* Mimi Zohar ([EMAIL PROTECTED]) wrote: + integrity_d_instantiate(entry, inode); security_d_instantiate(entry, inode); + integrity_d_instantiate(entry, inode); security_d_instantiate(entry, inode); spin_unlock(dcache_lock); +

swsusp: platform notifications not properly undone in case of error

2007-03-08 Thread Pavel Machek
Hi! Using IPI No-Shortcut mode swsusp: Resume From Partition /dev/sda1 PM: Checking swsusp image. swsusp: Signature found, resuming PM: Preparing processes for restore. Stopping tasks ... done. PM: Reading swsusp image. Loading image data pages (125285 pages) ... 3swsusp: Resume mismatch:

Re: [Patch 1/2] add for_each_substring() and match_substring()

2007-03-08 Thread Bastian Blank
On Tue, Mar 06, 2007 at 08:19:23PM +0100, Martin Peschke wrote: +char *match_to(const char *cs, const char *ct) +{ + char *delim = strpbrk(cs, ct); + if (delim) + return delim; + else if (*cs != '\0') + return (char *)(cs + strlen(cs)); This disallows

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Daniel Jacobowitz
On Thu, Mar 08, 2007 at 04:08:52PM +, Christoph Hellwig wrote: No, no no. We should never export PAGE_SIZE. We might export NBPG as deprecated symbol for gdb if it really needs it, but that should happen only on a.out systems, and it it should be a true constant, not depending on

[PATCH] tty: Turn on arbitary baud rate ioctls for i386 platform

2007-03-08 Thread Alan Cox
Adds the needed TCGETS2/TCSETS2 ioctl calls, structures, defines and the like. Tested against the test suite and passes. Other platforms should need roughly the same change. Signed-off-by: Alan Cox [EMAIL PROTECTED] diff -u --new-file --recursive --exclude-from /usr/src/exclude

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Robin Getz
On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: 2007/3/7, Robin Getz [EMAIL PROTECTED]: Right - so the question is where to manage the default state? I was thinking in the resource might be a good idea, but there isn't really a good place for it. (You could re-use some bits if flags, but

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Russell King
On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote: On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: 2007/3/7, Robin Getz [EMAIL PROTECTED]: Right - so the question is where to manage the default state? I was thinking in the resource might be a good idea, but there isn't really a

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Carl-Daniel Hailfinger
Hi, On 08.03.2007 14:48, Russell King wrote: As I've said already, having a console on the same port as your application program is just asking for trouble. All bets are off - the kernel _will_ corrupt your data stream in random places. Don't do it - it will _NEVER_ be reliable. Never,

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Russell King
On Thu, Mar 08, 2007 at 03:16:08PM +0100, Carl-Daniel Hailfinger wrote: Hi, On 08.03.2007 14:48, Russell King wrote: As I've said already, having a console on the same port as your application program is just asking for trouble. All bets are off - the kernel _will_ corrupt your data

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Oleksiy Kebkal
2007/3/8, Russell King [EMAIL PROTECTED]: On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote: On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: 2007/3/7, Robin Getz [EMAIL PROTECTED]: Right - so the question is where to manage the default state? I was thinking in the resource

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Oleksiy Kebkal
2007/3/8, Russell King [EMAIL PROTECTED]: On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote: On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: 2007/3/7, Robin Getz [EMAIL PROTECTED]: Right - so the question is where to manage the default state? I was thinking in the resource

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Russell King
On Thu, Mar 08, 2007 at 03:23:49PM +0100, Oleksiy Kebkal wrote: 2007/3/8, Russell King [EMAIL PROTECTED]: On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote: On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: 2007/3/7, Robin Getz [EMAIL PROTECTED]: Right - so the question is

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Oleksiy Kebkal
2007/3/8, Russell King [EMAIL PROTECTED]: On Thu, Mar 08, 2007 at 03:23:49PM +0100, Oleksiy Kebkal wrote: Ok. I understand now one of the sources of misunderstanding. I don't want to mix console and application serial port. It's not a misunderstanding if you realise that email is threaded and

Re: [PATCH] tty: Turn on arbitary baud rate ioctls for i386 platform

2007-03-08 Thread Arjan van de Ven
On Thu, 2007-03-08 at 14:44 +, Alan Cox wrote: Adds the needed TCGETS2/TCSETS2 ioctl calls, structures, defines and the like. Tested against the test suite and passes. Other platforms should need roughly the same change. should this then really be in include/asm/* ? If everyone needs the

Re: [PATCH] tty: Turn on arbitary baud rate ioctls for i386 platform

2007-03-08 Thread Andreas Schwab
Arjan van de Ven [EMAIL PROTECTED] writes: should this then really be in include/asm/* ? If everyone needs the same change I'd think it should go into include/linux/* somewhere. How about asm-generic/ioctls.h? asm/ioctls.h is one of the few ABI headers for glibc. Andreas. -- Andreas

Re: [PATCH] tty: Turn on arbitary baud rate ioctls for i386 platform

2007-03-08 Thread Alan Cox
On Thu, 08 Mar 2007 06:39:47 -0800 Arjan van de Ven [EMAIL PROTECTED] wrote: On Thu, 2007-03-08 at 14:44 +, Alan Cox wrote: Adds the needed TCGETS2/TCSETS2 ioctl calls, structures, defines and the like. Tested against the test suite and passes. Other platforms should need roughly the

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-08 Thread Srivatsa Vaddagiri
On Thu, Mar 08, 2007 at 01:50:01PM +1300, Sam Vilain wrote: 7. resource namespaces It should be. Imagine giving 20% bandwidth to a user X. X wants to divide this bandwidth further between multi-media (10%), kernel compilation (5%) and rest (5%). So, Is the subservient namespace's resource

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-08 Thread Srivatsa Vaddagiri
On Wed, Mar 07, 2007 at 04:16:00PM -0700, Eric W. Biederman wrote: I think implementation wise this tends to make sense. However it should have nothing to do with semantics. If we have a lot of independent resource controllers. Placing the pointer to their data structures directly in

Re: [SLUB 0/3] SLUB: The unqueued slab allocator V4

2007-03-08 Thread Christoph Lameter
On Thu, 8 Mar 2007, Mel Gorman wrote: On x86_64, it completed successfully and looked reliable. There was a 5% performance loss on kernbench and aim9 figures were way down. However, with slub_debug enabled, I would expect that so it's not a fair comparison performance wise. I'll rerun the

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Michal Piotrowski
On 08/03/07, Takashi Iwai [EMAIL PROTECTED] wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the patch. This reveals which register bits differ actually. a2.txt is

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 8 Mar 2007 17:52:43 +0100, Michal Piotrowski wrote: On 08/03/07, Takashi Iwai [EMAIL PROTECTED] wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the

[PATCH] VFS : Delay the dentry name generation on sockets and pipes.

2007-03-08 Thread Eric Dumazet
Hi Andrew Could you please put this final version in mm for testing ? Thank's to all contributors. [PATCH] VFS : Delay the dentry name generation on sockets and pipes. 1) Introduces a new method in 'struct dentry_operations'. This method called d_dname() might be called from d_path() to build

Re: [patch] epoll use a single inode ...

2007-03-08 Thread Valdis . Kletnieks
On Thu, 08 Mar 2007 08:24:04 +0100, Eric Dumazet said: But what is the cost of the conditional branch you added in prefetch(x) ? if (!x) return; (correctly predicted or not, but do powerPC have a BTB ?) About the NULL 'potential problem', maybe we could use a dummy nil (but mapped)

<    1   2   3   4   5   6   7   8   9   10   >