Re: AppArmor Security Goal

2007-11-11 Thread Rob Meijer
On Sat, November 10, 2007 22:04, Andi Kleen wrote: > Crispin Cowan <[EMAIL PROTECTED]> writes: > > The document should be a good base for a merge. > >> * A confined process can operate on a file descriptor passed to it >> by an unconfined process, even if it manipulates a file not in the

Re: [2.6 patch] net/ipv4/ipvs/: remove unused exports

2007-11-11 Thread Simon Horman
On Sun, Nov 11, 2007 at 07:48:40AM +0100, Adrian Bunk wrote: > This patch removes the following unused EXPORT_SYMBOL's: > - ip_vs_try_bind_dest > - ip_vs_find_dest > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Looks fine to me. Should Dave Miller put this in his tree, or do you want to hand

Re: [2.6 patch] x86 pci-calgary_64.c: make a variable static

2007-11-11 Thread Muli Ben-Yehuda
On Fri, Nov 09, 2007 at 07:03:30AM +0100, Adrian Bunk wrote: > "debugging" is a horrible name for a global variable - thankfully it can > become static. > > Also put it out of __read_mostly so that gcc no longer has to emit it > at all. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Thanks,

[patch] mm: unlockless reclaim

2007-11-11 Thread Nick Piggin
Combined with the previous and subsequent patches, throughput of pages through the pagecache on an Opteron system here goes up by anywhere from 50% to 500%, depending on the number of files and threads involved. -- unlock_page is fairly expensive. It can be avoided in page reclaim. Signed-off-by:

Re: Coding Style: indenting with tabs vs. spaces

2007-11-11 Thread Benny Halevy
On Nov. 10, 2007, 14:27 +0200, Xavier Bestel <[EMAIL PROTECTED]> wrote: > Le samedi 10 novembre 2007 à 13:04 +0100, DervishD a écrit : >> Hi Benny :) >> >> * Benny Halevy <[EMAIL PROTECTED]> dixit: >>> I would like to hear peoples opinion about the indentation convention >>> described below that I

drivers/net/ax88796.c compile error on sh64

2007-11-11 Thread Adrian Bunk
Commit 8687991a734a67f1638782c968f46fff0f94bb1f causes the following compile error on sh64: <-- snip --> ... CC [M] drivers/net/ax88796.o /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/net/ax88796.c: In function 'ax_get_8390_hdr': /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/net/ax

Re: [PATCH 1/3] include files for kvmclock

2007-11-11 Thread Avi Kivity
Gerd Hoffmann wrote: +/* + * Guest has page alignment and padding requirements. At the host, it will + * only lead to wasted space at the vcpu struct. For this reason, the struct + * is not anonymous + */ +union kvm_hv_clock { + struct kvm_hv_clock_s { + u64 tsc_mult; +

Re: Coding Style: indenting with tabs vs. spaces

2007-11-11 Thread James Courtier-Dutton
DervishD wrote: Bonjour Xavier :) * Xavier Bestel <[EMAIL PROTECTED]> dixit: Le samedi 10 novembre 2007 à 13:04 +0100, DervishD a écrit : * Benny Halevy <[EMAIL PROTECTED]> dixit: I would like to hear peoples opinion about the indentation convention described below that I

Re: drivers/net/ax88796.c compile error on sh64

2007-11-11 Thread Paul Mundt
On Sun, Nov 11, 2007 at 10:06:21AM +0100, Adrian Bunk wrote: > Commit 8687991a734a67f1638782c968f46fff0f94bb1f causes the following > compile error on sh64: > > <-- snip --> > > ... > CC [M] drivers/net/ax88796.o > /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/net/ax88796.c: In function

Re: [PATCH] netx: remove bogus defconfig patch with wrong -p

2007-11-11 Thread Russell King
So what's happening with this? Who's going to merge it? On Sat, Nov 10, 2007 at 02:41:54PM +0100, Robert Schwebel wrote: > Remove bogus commit f33bac8dd4573428b94c67149c5607be489092d1 which had > an incorrect path in the patch, leading to modify arm/... instead of > arch/arm/..., then re-add the

Bind mount bug?

2007-11-11 Thread Frans Pop
I'm not sure whether this is a bug or expected behavior. Suppose I create a "looped" bind mount situation as follows. # mkdir test # touch test/foo # mkdir bindtest # touch bindtest/bar # mkdir bindtest/test # mount --bind test/ bindtest/test/ # ls bindtest/test/ foo # mount --bind bindtest/ test/

Re: [PATCH 2/3] kvmclock - the host part.

2007-11-11 Thread Avi Kivity
Glauber de Oliveira Costa wrote: This is the host part of kvm clocksource implementation. As it does not include clockevents, it is a fairly simple implementation. We only have to register a per-vcpu area, and start writting to it periodically. Missing live migration support (a way for use

Re: Bind mount bug?

2007-11-11 Thread Frans Pop
On Sunday 11 November 2007, Frans Pop wrote: > I'd expected the last command to list "foo", but it shows an empty dir. > Shouldn't it also show the original contents of test (as they were before > the first bind mount)? The problem is of course also that any changes made into /test/test will get

Re: [PATCH 1/6] Suppress A.OUT library support if !CONFIG_BINFMT_AOUT [try #5]

2007-11-11 Thread Adrian Bunk
On Fri, Nov 09, 2007 at 03:34:37PM +, David Howells wrote: > Suppress A.OUT library support if CONFIG_BINFMT_AOUT is not set. > > Not all architectures support the A.OUT binfmt, so the ELF binfmt should not > be permitted to go looking for A.OUT libraries to load in such a case. Not > only th

[2.6 patch] libata: remove unused functions

2007-11-11 Thread Adrian Bunk
This patch removes the following obsolete functions: - libata-core.c: __sata_phy_reset() - libata-core.c: sata_phy_reset() - libata-eh.c: ata_qc_timeout() - libata-eh.c: ata_eng_timeout() Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/ata/libata-core.c | 78 ---

Re: [PATCH 0/5] introduce K64BIT=y and backward compatibility ARCH={i386,x86_64} for x86

2007-11-11 Thread Sam Ravnborg
On Sun, Nov 11, 2007 at 06:09:45AM +0100, Adrian Bunk wrote: > On Sat, Nov 10, 2007 at 09:40:38PM +0100, Sam Ravnborg wrote: > > > As discussed in another thread the right thing is to add a generic solution > > to select between 32 and 64 bit - useable for powerpc, s390, ppc et al. > >... > > I s

Re: 2.6.24-rc1-g74521c28: oops during boot [] :power_supply:power_supply_show_property+0x94/0x150

2007-11-11 Thread Thomas Bächler
Thomas Bächler schrieb: > Rafael J. Wysocki schrieb: >> On Saturday, 3 November 2007 12:31, Thomas Bächler wrote: >>> I am trying to boot 2.6.24-rc1-g74521c28 from the linux-2.6 git tree. >>> During boot, I get a kernel oops when udevtrigger is running, thus most >>> devices are not created and the

[PATCH] fs/hfs: remove duplicated defines

2007-11-11 Thread Nicolas Kaiser
Remove duplicated defines. Signed-off-by: Nicolas Kaiser <[EMAIL PROTECTED]> --- fs/hfs/btree.h |5 - 1 file changed, 5 deletions(-) --- a/fs/hfs/btree.h2007-10-09 22:31:38.0 +0200 +++ b/fs/hfs/btree.h2007-11-11 12:42:59.0 +0100 @@ -153,11 +153,6 @@ u32 r

Re: [PATCH] kconfig: use $K64BIT to set 64BIT with all*config targets

2007-11-11 Thread Guillaume Chazarain
Hi Adrian, On 11/11/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: > What exactly are the use cases where someone would need this? Glad you asked. Today, when I want to recompile a kernel while changing a CONFIG_ option, I manually edit the .config, remove the appropriate line and then run make oldco

Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser(2)

2007-11-11 Thread Pavel Machek
Hi! > > A Smack Rule in an "egrep" format is: > > > > "^[:space:]*Subject[:space:]+Object[:space:]+[rwxaRWXA-]+[:space:]*\n" Perhaps you should make it space, not 'space or tab', and only allow lowercase permissions? That way, parser will be slightly simpler, and you'll still have a chance to us

Re: [PATCH] kconfig: use $K64BIT to set 64BIT with all*config targets

2007-11-11 Thread Adrian Bunk
On Sun, Nov 11, 2007 at 01:43:28PM +0100, Guillaume Chazarain wrote: > Hi Adrian, Hi Guillaume, > On 11/11/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: > > What exactly are the use cases where someone would need this? > > Glad you asked. Today, when I want to recompile a kernel while > changing a

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

2007-11-11 Thread Thomas
Florin Iucha iucha.net> writes: > > It's really curious - I tried your .config and commands, and still > > could not trigger the high iowait. I'm running 64bit Intel Core 2, > > and kernel 2.6.24-rc1-git6 with the above patch. > > Curious but 100% reproducible, at least on my box. What I'm goin

DaveM collecting netdev patches this week

2007-11-11 Thread Jeff Garzik
I'm about to disappear (virtually) through Friday for vacation. David Miller has agreed to collect net driver bug fix patches in my absence, with Stephen and Francois (and others, hopefully) helping out with patch review. David -- note that my 2.6.25 was opened a little while ago. If you fee

Tejun collecting libata patches this week

2007-11-11 Thread Jeff Garzik
I'm about to disappear (virtually) through Friday for vacation. Tejun Heo has agreed to collect libata bug fix patches in my absence. Thanks! Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info a

Re: [PATCH 1/6] Suppress A.OUT library support if !CONFIG_BINFMT_AOUT [try #5]

2007-11-11 Thread David Howells
Adrian Bunk <[EMAIL PROTECTED]> wrote: > - too many cleanups lumped into one patch Perhaps, but unfortunately a lot of them are related and required for a compilable patch. I can probably split it up 4 ways if you really want me to, in order: (1) Move STACK_TOP[_MAX]. (2) Rename dump_thread(

Re: [PATCH 6/6] MN10300: Add MTD flash support for the ASB2303 board [try #5]

2007-11-11 Thread David Howells
David Woodhouse <[EMAIL PROTECTED]> wrote: > Dunno why it's called "try #5" when I haven't directly received it even > once yet. As far as LKML is concerned, it's part of patchset try #5. > We're trying to avoid taking new simple map drivers -- you should be > able to use a platform device inste

Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask

2007-11-11 Thread Mel Gorman
On (09/11/07 09:26), Christoph Lameter didst pronounce: > On Fri, 9 Nov 2007, Lee Schermerhorn wrote: > > > > On the other hand, if we call alloc_pages() with GFP_THISNODE set, there > > > is no nid to base the allocation on, so we "fallback" to numa_node_id() > > > [ almost like the nid had been

Re: [PATCH] kernel/capability.c get_task_comm compile error (MMOTM)

2007-11-11 Thread Ingo Molnar
* Erez Zadok <[EMAIL PROTECTED]> wrote: > Small patch below fixes compile error. > + char name[sizeof(current->comm)]; > warned++; > printk(KERN_INFO > "warning: process `%s' sets w/ old libcap\n", > -

Re: [PATCH 1/6] Suppress A.OUT library support if !CONFIG_BINFMT_AOUT [try #5]

2007-11-11 Thread Adrian Bunk
On Sun, Nov 11, 2007 at 01:59:29PM +, David Howells wrote: > Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > - too many cleanups lumped into one patch > > Perhaps, but unfortunately a lot of them are related and required for a > compilable patch. I can probably split it up 4 ways if you really

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-11 Thread Thorsten Leemhuis
On 10.11.2007 00:32, Matthias Schniedermeyer wrote: > [...] > My computer/mainboard @work has such a "broken" BIOS. Of the 5 > SATA-Ports this MB has only 1 (and 1 "missing" that is reported by > linux but i can't find on the MB) is configured as AHCI [...] There is nothing "broken" here. You ha

Re: [PATCH 5/6] MN10300: Add the MN10300/AM33 architecture to the kernel [try #5]

2007-11-11 Thread David Howells
Andrew Morton <[EMAIL PROTECTED]> wrote: > If it is indeed the case that this architecture is used internally by a > single organisation then perhaps it doesn't make sense for us to merge it. I don't know that this is so. I can ask them, but I don't know if they'll tell me that. Furthermore, it

Re: [PATCH, RFC] improved hacks to allow -rt to run kernbench on POWER

2007-11-11 Thread Steven Rostedt
On Sun, 11 Nov 2007, Benjamin Herrenschmidt wrote: > > > Removed this as well, also seemed to work. Please note, however, that > > this is just running kernbench. But this did seem to get rid of some > > of the warnings as well. ;-) Now only have the xics_startup() warning. > > > > > Overall,

Re: [PATCH 5/6] MN10300: Add the MN10300/AM33 architecture to the kernel [try #5]

2007-11-11 Thread David Howells
Alan Cox <[EMAIL PROTECTED]> wrote: > memory mapped registers should be read with readw and friends and that > should contain the volatile not the public code. So you would say change the global h/w register variables[*] to be addresses instead, and change all the references to be readX and write

Re: [PATCH] kconfig: use $K64BIT to set 64BIT with all*config targets

2007-11-11 Thread Guillaume Chazarain
On 11/11/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: > Another important point is that users that know about and see CONFIG_* > variables are kernel hackers, not the normal kconfig users. But kconfig is mainly for kernel hackers, otherwise it would be called CML2 ;-) > > Also, when working on a sp

Re: [PATCH 1/6] Suppress A.OUT library support if !CONFIG_BINFMT_AOUT [try #5]

2007-11-11 Thread David Howells
Adrian Bunk <[EMAIL PROTECTED]> wrote: > It's BTW not an improvement that you do not only rename them but change > such big functions to static inline functions in header files. I'm not sure what you meant by that. Renaming them indicates more clearly that their only purpose is for A.OUT suppor

Re: [PATCH 5/6] MN10300: Add the MN10300/AM33 architecture to the kernel [try #5]

2007-11-11 Thread David Howells
Alan Cox <[EMAIL PROTECTED]> wrote: > memory mapped registers should be read with readw and friends and that > should contain the volatile not the public code. Actually, I can think of a good reason for *not* doing that. What I have at the moment encodes the size of the register to be accessed i

Re: [PATCH] drivers/video/s1d13xxxfb.c as module with dbg

2007-11-11 Thread Thibaut VARENE
On Nov 11, 2007 12:29 AM, dave chung <[EMAIL PROTECTED]> wrote: > we also need to look at splitting out the "chip revision", which is > currently hard set, as I have had very good results with this driver > and chip S1D13506, which is functionally similar but without the > external clocking and

Re: [PATCH 5/6] MN10300: Add the MN10300/AM33 architecture to the kernel [try #5]

2007-11-11 Thread Alan Cox
> So you would say change the global h/w register variables[*] to be addresses > instead, and change all the references to be readX and writeX? I'm wary of Ok so these are not addresses but magic registers in the processor ? Then I guess volatile makes complete sense. > > Similarly spin_lock/unl

Re: [PATCH 1/6] Suppress A.OUT library support if !CONFIG_BINFMT_AOUT [try #5]

2007-11-11 Thread Adrian Bunk
On Sun, Nov 11, 2007 at 03:03:56PM +, David Howells wrote: > Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > It's BTW not an improvement that you do not only rename them but change > > such big functions to static inline functions in header files. > > I'm not sure what you meant by that. > > R

PCI card initialisation at boot

2007-11-11 Thread Keith Chew
Hi I am looking for someone to help explain my findings, which I have searched the net but could not find any related infomation. We have 40 linux PCs deployed in a mobile environment, so they are subjected to pretty harsh conditions that can cause BIOS corruptions. In one of the units, I notice

Re: [PATCH] kconfig: use $K64BIT to set 64BIT with all*config targets

2007-11-11 Thread Sam Ravnborg
On Sun, Nov 11, 2007 at 03:59:54PM +0100, Guillaume Chazarain wrote: > > I'm wondering why you don't use two different O= output directories > > instead? > > > > Depending on the CONFIG_ option in question this might even greatly > > reduce your compile times. > > /me is filled with wonder at the

Re: [PATCH 1/6] Suppress A.OUT library support if !CONFIG_BINFMT_AOUT [try #5]

2007-11-11 Thread Andi Kleen
> My thoughts go more into the direction that we have hundreds of similar > cases where e.g. a VFS function might currently only by used by OCFS2 > and therefore be dead code for most users, and the only maintainable > solution will be to solve these at the compiler and/or linker level. -ffuncti

Re: [PATCH] kconfig: use $K64BIT to set 64BIT with all*config targets

2007-11-11 Thread Guillaume Chazarain
On 11/11/07, Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > So it's not strictly an > > output directory, more a build directory. > The opposite > All output is placed there - including the configuration generated by > the *config frontends. I meant, it's not strictly an output directory as if I

Re: [RFC 13/13] Char: nozomi, cleanup read and write

2007-11-11 Thread Frank Seidel
On Sonntag 11 November 2007 03:37:28, you (Frank Seidel) wrote: > While in the read_mem32 the unlikekly really seems to be of no use at all (the > switch-case ahead seems to be hit nearly always), the unlikely in the > write_mem32 seems to be fine. > I compared after each 30 seconds and got median

Re: [PATCH 1/6] Suppress A.OUT library support if !CONFIG_BINFMT_AOUT [try #5]

2007-11-11 Thread Adrian Bunk
On Sun, Nov 11, 2007 at 04:46:26PM +0100, Andi Kleen wrote: > > > My thoughts go more into the direction that we have hundreds of similar > > cases where e.g. a VFS function might currently only by used by OCFS2 > > and therefore be dead code for most users, and the only maintainable > > solution

Re: PCI card initialisation at boot

2007-11-11 Thread Andi Kleen
"Keith Chew" <[EMAIL PROTECTED]> writes: > > My question is: Will setting the BIOS to "Resource allocation by > Manual" prevent the crash from happening in the future? More > specifically, does Linux still depend on ESCD even if the resource > allocation is set to Manual? Linux does not directly u

Re: [PATCH 1/6] Suppress A.OUT library support if !CONFIG_BINFMT_AOUT [try #5]

2007-11-11 Thread David Howells
Andi Kleen <[EMAIL PROTECTED]> wrote: > One problem is that EXPORT_SYMBOL always creates a reference to the function > even when nothing uses it. Exactly. This function is for use in something that can be compiled as a module, therefore this sort of thing is academic - unless we take away the ab

Re: [PATCH 5/6] MN10300: Add the MN10300/AM33 architecture to the kernel [try #5]

2007-11-11 Thread David Howells
Alan Cox <[EMAIL PROTECTED]> wrote: > Ok so these are not addresses but magic registers in the processor ? Then > I guess volatile makes complete sense. They are such magic registers, though of various grades. Some are part of the CPU core and affect things like CPU core itself, CPU caches, MMU/

Re: [PATCH 5/6] MN10300: Add the MN10300/AM33 architecture to the kernel [try #5]

2007-11-11 Thread Alan Cox
> Some are part of the CPU core and affect things like CPU core itself, CPU > caches, MMU/TLB and exceptions/interrupts. Others are on-silicon devices such > as the serial ports, the bus controller, the SDRAM controller. How are they addressed - as CPU registers or as memory/IO space ? - To unsu

[RFC] Re: nozomi version 2.1d for review

2007-11-11 Thread Frank Seidel
Hello, this one also holds the - little reworked and optimized - cleanup of the read/write_mem32 functions. Comments and any feedback is more than welcome. Thanks a lot - especially to Jiri, Alan and Greg, Frank --- >From [EMAIL PROTECTED] Tue Apr 9 12:12:43 2002 Date: Thu, 24 Aug 2006 01:25:46

Re: PCI card initialisation at boot

2007-11-11 Thread Alan Cox
> I am guessing that the ESCD has been corrupted, and putting a spare > device caused the BIOS to reset the ESCD. In the BIOS, it has been > setup as "Resource allocation by Auto(ESCD)". Quite possibily. It may also be that the card had simply developed a bad connection. > There is another optio

[PATCH] powerpc: Add EXPORT_SYMBOL for symbols required by fs_enet and cpm_uart

2007-11-11 Thread Jochen Friedrich
fs_enet and cpm_uart need symbols from commproc.c (for CPM1) or cpm2_common.c. Add EXPORT_SYMBOL for cpmp, cpm_setbrg and cpm2_immr, so the drivers can be compiled as modules. Building modules, stage 2. MODPOST 5 modules ERROR: "cpm2_immr" [drivers/net/fs_enet/fs_enet.ko] undefined! ERROR: "cpm

laptop reboots right after hibernation

2007-11-11 Thread Tomas Carnecky
echo disk > /sys/power/state successfully saves that state to the disk, but just as the laptop is about to turn itself off, it reboots (successfully, so the hibernation/resume process works well, even with X running! which is awesome :) ). But I'd rather like the computer turned off after I hibern

[PATCH] powerpc: Add support for PORTA sor and PORTB odr registers

2007-11-11 Thread Jochen Friedrich
PORTA has an so register and PORTB had an odr register, as well. However, the PORTB odr register is only 16bit. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/commproc.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/sysde

Re: [PATCH] kernel/capability.c get_task_comm compile error (MMOTM)

2007-11-11 Thread Erez Zadok
In message <[EMAIL PROTECTED]>, Ingo Molnar writes: > > * Erez Zadok <[EMAIL PROTECTED]> wrote: > > > Small patch below fixes compile error. > > > + char name[sizeof(current->comm)]; > > warned++; > > printk(KERN_INFO > >

Re: [PATCH] netx: remove bogus defconfig patch with wrong -p

2007-11-11 Thread Linus Torvalds
On Sun, 11 Nov 2007, Russell King wrote: > > So what's happening with this? Who's going to merge it? Well, I already removed the bogus file. But whether the defconfig file in arch/arm needs updating or not is up to you guys. Linus - To unsubscribe from this list: send the li

Re: [PATCH 24/24] make vsmp a paravirt client

2007-11-11 Thread Andi Kleen
On Fri, Nov 09, 2007 at 04:43:05PM -0200, Glauber de Oliveira Costa wrote: > This patch makes vsmp a paravirt client. It now uses the whole > infrastructure provided by pvops. When we detect we're running > a vsmp box, we change the irq-related paravirt operations (and so, > it have to happen quite

Re: 2.6.24 regression: hibernation hangs on "Suspending console" in low-battery condition

2007-11-11 Thread Rafael J. Wysocki
On Sunday, 11 of November 2007, Andrey Borzenkov wrote: > On Monday 05 November 2007, Andrey Borzenkov wrote: > > Notice "hung" not "hangs". This happened so far only once - when low > > battery > > condition triggered suspend to disk. I was not able to reproduce it after > > this running on AC.

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-11 Thread Matthias Schniedermeyer
On 11.11.2007 15:05, Thorsten Leemhuis wrote: > On 10.11.2007 00:32, Matthias Schniedermeyer wrote: > > [...] > > My computer/mainboard @work has such a "broken" BIOS. Of the 5 > > SATA-Ports this MB has only 1 (and 1 "missing" that is reported by > > linux but i can't find on the MB) is configur

Re: 2.6.24-rc2 STD with s2disk fails to activate suspended system after loading

2007-11-11 Thread Rafael J. Wysocki
On Saturday, 10 of November 2007, Chris Friedhoff wrote: > please cc me, I'm not not subscribed to LKML > > Hello, > > with kernel 2.6.24-rc2 STD with s2disk suspends the system to disk, but > when I start the system and the suspended systemimage is loaded, it > fails to "activate" this suspended

Re: Temporary lockup on loopback block device

2007-11-11 Thread Mikulas Patocka
> > Why are there over-limit dirty pages that no one is writing? > > Please do a sysrq-t, and cat /proc/vmstat during the hang. Those > will show us what exactly is happening. I did and I posted relevant information from my finding --- it looped in balance_dirty_pages. > I've seen this type of

Re: [PATCH] log2.h: Define order_base_2() macro for convenience.

2007-11-11 Thread Randy Dunlap
On Sat, 10 Nov 2007 22:53:36 -0500 (EST) Robert P. J. Day wrote: > > Given a number of places in the tree that need to calculate this value > explicitly, might as well just create a macro for it. > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> > > --- > > run-time tested for the firs

Strage buffer behaviour

2007-11-11 Thread Tino Keitel
Hi folks, I noticed that the kernel (2.6.23.1) seems to buffer only certain partitions on my system: $ for i in 1 2 3 4 ; do for j in 1 2 ; do dd if=/dev/sda$i of=/dev/null bs=1024k count=100 ; done ; done 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 3.01471 seconds, 34.8 M

Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser(2)

2007-11-11 Thread Ahmed S. Darwish
Hi Pavel, On Nov 11, 2007 2:44 PM, Pavel Machek <[EMAIL PROTECTED]> wrote: > Hi! > > > > A Smack Rule in an "egrep" format is: > > > > > > "^[:space:]*Subject[:space:]+Object[:space:]+[rwxaRWXA-]+[:space:]*\n" > > Perhaps you should make it space, not 'space or tab', and only allow > lowercase per

Re: [PATCH] Unionfs: stop using iget() and read_inode()

2007-11-11 Thread Erez Zadok
Andrew, the following small patch is critical to have after: iget-stop-unionfs-from-using-iget-and-read_inode.patch Question: since the above patch isn't in my unionfs.git tree (not until the whole iget series makes it to Linus), then do you prefer if I give you a replacement patch to the above p

Re: 2.6.24-rc2: Reported regressions from 2.6.23

2007-11-11 Thread Rafael J. Wysocki
On Saturday, 10 of November 2007, Frans Pop wrote: > Rafael J. Wysocki wrote: > > If you know of any other unresolved regressions from 2.6.23, please let me > > know either and I'll add them to the list. > > Probably this issue should be added: > http://lkml.org/lkml/2007/11/1/207 > Latest propos

Re: 2.6.24 regression: hibernation hangs on "Suspending console" in low-battery condition

2007-11-11 Thread Andrey Borzenkov
On Sunday 11 November 2007, Rafael J. Wysocki wrote: > On Sunday, 11 of November 2007, Andrey Borzenkov wrote: > > On Monday 05 November 2007, Andrey Borzenkov wrote: > > > Notice "hung" not "hangs". This happened so far only once - when low > > > battery > > > condition triggered suspend to disk

Re: 2.6.24 regression: hibernation hangs on "Suspending console" in low-battery condition

2007-11-11 Thread Rafael J. Wysocki
On Sunday, 11 of November 2007, Andrey Borzenkov wrote: > On Sunday 11 November 2007, Rafael J. Wysocki wrote: > > On Sunday, 11 of November 2007, Andrey Borzenkov wrote: > > > On Monday 05 November 2007, Andrey Borzenkov wrote: > > > > Notice "hung" not "hangs". This happened so far only once - wh

Re: 2.6.24-rc1-g74521c28: oops during boot [] :power_supply:power_supply_show_property+0x94/0x150

2007-11-11 Thread Thomas Bächler
>>> http://bugzilla.kernel.org/show_bug.cgi?id=9299 > > I just tested again (with 2.6.24-rc2-gecd744ee). If I only load the 'ac' > kernel module and not the 'battery' kernel module, then the system boots > fine. However, if I load the 'battery' module during boot or later, I > still get the oops.

Re: 2.6.24-rc1-g74521c28: oops during boot [] :power_supply:power_supply_show_property+0x94/0x150

2007-11-11 Thread Rafael J. Wysocki
On Sunday, 11 of November 2007, Thomas Bächler wrote: > >>> http://bugzilla.kernel.org/show_bug.cgi?id=9299 > > > > I just tested again (with 2.6.24-rc2-gecd744ee). If I only load the 'ac' > > kernel module and not the 'battery' kernel module, then the system boots > > fine. However, if I load the

enable dual rng on VIA C7

2007-11-11 Thread Udo van den Heuvel
Hello, Any reason why the second rng on the VIA C7 CPU is not enabled? Kind regards, Udo --- old/drivers/char/hw_random/via-rng.c2007-11-11 19:39:49.0 +0100 +++ new/drivers/char/hw_random/via-rng.c2007-11-11 19:40:41.0 +0100 @@ -41,6 +41,7 @@ VIA_STRFILT_

Re: 2.6.24-rc1: pata_acpi fails to activate DMA for DVD-ROM on ALi M5229 secondary channel

2007-11-11 Thread Andrey Borzenkov
On Friday 26 October 2007, Alan Cox wrote: > On Fri, 26 Oct 2007 21:30:02 +0400 > Andrey Borzenkov <[EMAIL PROTECTED]> wrote: > > > Running legacy IDE drivers apparently works in DMA mode for both: > > Thanks - can you send me an lspci -vvxxx off list > BTW in rc2 it does not even boot - it bab

[patch] x86: fix taking DNA during 64bit sigreturn

2007-11-11 Thread Siddha, Suresh B
restore sigcontext is taking a DNA exception while restoring FP context from the user stack, during the sigreturn. Appended patch fixes it by doing clts() if the app doesn't touch FP during the signal handler execution. This will stop generating a DNA, during the fxrstor in the sigreturn. This imp

Re: [PATCH] kernel/capability.c get_task_comm compile error (MMOTM)

2007-11-11 Thread Andrew Morton
On Sun, 11 Nov 2007 15:15:10 +0100 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Erez Zadok <[EMAIL PROTECTED]> wrote: > > > Small patch below fixes compile error. > > > + char name[sizeof(current->comm)]; > > warned++; > > printk(KERN_IN

Re: Strage buffer behaviour

2007-11-11 Thread Heikki Orsila
On Sun, Nov 11, 2007 at 07:33:35PM +0100, Tino Keitel wrote: > I noticed that the kernel (2.6.23.1) seems to buffer only certain > partitions on my system: > > $ for i in 1 2 3 4 ; do for j in 1 2 ; do dd if=/dev/sda$i of=/dev/null > bs=1024k count=100 ; done ; done > 100+0 records in > 100+0 reco

Re: 2.6.24-rc1-g74521c28: oops during boot [] :power_supply:power_supply_show_property+0x94/0x150

2007-11-11 Thread Thomas Bächler
Rafael J. Wysocki schrieb: >> Replying to myself again. Apparently, a fix for this bug was applied to >> the linux-acpi tree independently of my bug report, see here: >> http://git.kernel.org/?p=linux/kernel/git/lenb/linux-acpi-2.6.git;a=commit;h=4c41d3ad6544f1c9aec37c441af04f5d0ad3a731 > > I'm ha

2.6.24-rc2: Reported regressions from 2.6.23 (updated)

2007-11-11 Thread Rafael J. Wysocki
[Note: Due to git.kernel.org not responding I'm unable to check which fixes have already been merged since the last report.] This message contains a list of some regressions from 2.6.23 which have been reported since 2.6.24-rc1 was released and for which there are no fixes in the mainline that I k

Re: dio_get_page() lockdep complaints

2007-11-11 Thread Peter Zijlstra
On Fri, 2007-11-09 at 12:45 -0500, Trond Myklebust wrote: > On Fri, 2007-11-09 at 09:30 -0800, Zach Brown wrote: > > So, reiserfs and NFS are nesting i_mutex inside the mmap_sem. > > > > >>[] mutex_lock+0x1c/0x1f > > >>[] reiserfs_file_release+0x54/0x447 > > >>[] __fput+0x

Race in setup_irq?

2007-11-11 Thread Adrian McMenamin
I am writing a device driver for the Dreamcast CD Drive (the "GD Rom") and I am hitting what looks like some sort of race in kernel/irq/manage.c. Can anybody point me in the right direction or is there a bug here? This never seems to return in setup_irq: spin_unlock_irqrestore(&desc->lock

Re: [PATCH] Unionfs: stop using iget() and read_inode()

2007-11-11 Thread Andrew Morton
On Sun, 11 Nov 2007 13:38:04 -0500 Erez Zadok <[EMAIL PROTECTED]> wrote: > Andrew, the following small patch is critical to have after: > > iget-stop-unionfs-from-using-iget-and-read_inode.patch Thanks > Question: since the above patch isn't in my unionfs.git tree (not until the > whole iget se

Re: 2.6.24-rc1: pata_acpi fails to activate DMA for DVD-ROM on ALi M5229 secondary channel

2007-11-11 Thread Alan Cox
> BTW in rc2 it does not even boot - it babbles something about > Unable to determine IRQ for 00:04.0 (which is IDE controller) and that is > the end of story. No IDE device is found. Thats not an IDE breakage I suspect. Various people are reporting IRQ related breakage with -rc2 so you should pr

Re: 2.6.24-rc2: Reported regressions from 2.6.23 (updated)

2007-11-11 Thread Alan Cox
> Subject : 2.6.24-rc1: pata_acpi fails to activate DMA for > DVD-ROM on ALi M5229 secondary channel > Submitter : Andrey Borzenkov <[EMAIL PROTECTED]> > References: http://marc.info/?l=linux-kernel&m=119342005216716&w=2 > http://bugzilla.kernel.org/show_bug.c

Re: [PATCH] powerpc: Add EXPORT_SYMBOL for symbols required by fs_enet and cpm_uart

2007-11-11 Thread Christoph Hellwig
On Sun, Nov 11, 2007 at 06:01:37PM +0100, Jochen Friedrich wrote: > --- a/arch/powerpc/sysdev/commproc.c > +++ b/arch/powerpc/sysdev/commproc.c > @@ -51,6 +51,8 @@ static void m8xx_cpm_dpinit(void); > static uint host_buffer; /* One page of host buffer */ > static uint host_end;/* end + 1 */ >

Re: 2.6.24-rc2: Reported regressions from 2.6.23 (updated)

2007-11-11 Thread Rafael J. Wysocki
On Sunday, 11 of November 2007, Alan Cox wrote: > > Subject : 2.6.24-rc1: pata_acpi fails to activate DMA for > > DVD-ROM on ALi M5229 secondary channel > > Submitter : Andrey Borzenkov <[EMAIL PROTECTED]> > > References : http://marc.info/?l=linux-kernel&m=119342005216716&w=2 > >

Re: 2.6.23: no more free evdev devices - evdev leak?

2007-11-11 Thread Soeren Sonnenburg
On Tue, 2007-11-06 at 15:52 +0100, Jiri Kosina wrote: > On Tue, 6 Nov 2007, Dmitry Torokhov wrote: > > > Could you please try sticking a printk in > > hidinput_disconnect(drivers/hid/hid-input.c) to verify that > > input_unregister_device is in fact being called? > > Also, is 2.6.23 the only ke

Re: 2.6.24-rc2: Reported regressions from 2.6.23 (updated)

2007-11-11 Thread Ingo Molnar
* Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > Subject : [regression] v2.6.24-rc1-497-gb1d08ac: kde battery > icon gone > Submitter : Thomas Meyer <[EMAIL PROTECTED]> > References: http://lkml.org/lkml/2007/11/2/165 > http://bugzilla.kernel.org/show_bug.cg

Re: 2.6.24-rc2: Reported regressions from 2.6.23 (updated)

2007-11-11 Thread Francois Romieu
Rafael J. Wysocki <[EMAIL PROTECTED]> : > [Note: Due to git.kernel.org not responding I'm unable to check which fixes > have already been merged since the last report.] [...] > Subject : 2.6.24-rc1 kills onboard r8169 (rtl8111b) NIC > Submitter : "Sergey S. Kostyliov" <[EMAIL PROTECTED]>

Re: [regression] v2.6.24-rc1-497-gb1d08ac: kde battery icon gone

2007-11-11 Thread Ingo Molnar
* Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > See this commit: > > > > commit fb804714560463534ebcb538a3b0a3c687a830ec > > Author: Len Brown <[EMAIL PROTECTED]> > > Date: Tue Jul 24 01:50:46 2007 -0400 > > > > ACPI: Kconfig: CONFIG_ACPI_PROCFS now defaults to N > > > > delete "d

Re: [PATCH] kernel/capability.c get_task_comm compile error (MMOTM)

2007-11-11 Thread Ingo Molnar
* Erez Zadok <[EMAIL PROTECTED]> wrote: > Ingo, I don't see how it can return NULL. This is what get_task_comm > looks like in MMOTM-2007-11-10-19-05: > > char *get_task_comm(char *buf, struct task_struct *tsk) > { > /* buf must be at least sizeof(tsk->comm) in size */ > task_lock(

Re: [PATCH, RFC] improved hacks to allow -rt to run kernbench on POWER

2007-11-11 Thread Benjamin Herrenschmidt
On Sun, 2007-11-11 at 09:45 -0500, Steven Rostedt wrote: > > Well, I suppose the patch could go in, maybe with some ifdef's > around > > the bits in _switch_to, there's little point in doing that on non-rt > > kernels. > > As Nick Piggin already stated, and I'll even state it for the RT > kernel,

Re: [PATCH 0/11 v3] enable "make ARCH=x86"

2007-11-11 Thread Bodo Eggert
Theodore Tso <[EMAIL PROTECTED]> wrote: > On Sat, Nov 10, 2007 at 12:35:01PM -0800, H. Peter Anvin wrote: >> In fact, we should be able to get rid of ARCH entirely; CONFIG_ options >> have the huge advantage that they're saved in a file, and you don't have to >> type them on every make run. The o

Re: Race in setup_irq?

2007-11-11 Thread Dmitry Adamushko
On 11/11/2007, Adrian McMenamin <[EMAIL PROTECTED]> wrote > I am writing a device driver for the Dreamcast CD Drive (the "GD Rom") > and I am hitting what looks like some sort of race in > kernel/irq/manage.c. Can anybody point me in the right direction or is > there a bug here? > > This never seem

Re: Race in setup_irq?

2007-11-11 Thread Adrian McMenamin
On 11/11/2007, Dmitry Adamushko <[EMAIL PROTECTED]> wrote: > On 11/11/2007, Adrian McMenamin <[EMAIL PROTECTED]> wrote > > I am writing a device driver for the Dreamcast CD Drive (the "GD Rom") > > and I am hitting what looks like some sort of race in > > kernel/irq/manage.c. Can anybody point me i

Re: 2.6.24-rc2 STD with s2disk fails to activate suspended system after loading

2007-11-11 Thread Chris Friedhoff
kernel config attached to comment#2 for bugreport 9345 s2disk comes from suspend-0.7 package Thanks, Chris On Sun, 11 Nov 2007 19:45:06 +0100 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > On Saturday, 10 of November 2007, Chris Friedhoff wrote: > > please cc me, I'm not not subscribed to LKML

Re: Bind mount bug?

2007-11-11 Thread Roland Kuhn
Hi Frans! Let's see whether I can explain this (I'm not a guru...) On 11 Nov 2007, at 11:06, Frans Pop wrote: I'm not sure whether this is a bug or expected behavior. Suppose I create a "looped" bind mount situation as follows. # mkdir test # touch test/foo # mkdir bindtest # touch bindtest/b

Re: 2.6.24-rc2: Reported regressions from 2.6.23 (updated)

2007-11-11 Thread Bartlomiej Zolnierkiewicz
On Sunday 11 November 2007, Alan Cox wrote: > > Subject : 2.6.24-rc1: pata_amd fails to detect 80-pin wire > > Submitter : "Thomas Lindroth" <[EMAIL PROTECTED]> > > References : http://lkml.org/lkml/2007/11/7/152 > > http://bugzilla.kernel.org/show_bug.cgi?id=9322 htt

[PATCH] init/calibrate.c compile error (MMOTM-2007-11-10-19-05)

2007-11-11 Thread Erez Zadok
I'm using -mm (MMOTM-2007-11-10-19-05) and getting $ make CC init/calibrate.o In file included from include/linux/jiffies.h:8, from init/calibrate.c:7: include/linux/timex.h:246: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_current_timer' init/calib

Re: Bind mount bug?

2007-11-11 Thread Jan Engelhardt
>> I'm not sure whether this is a bug or expected behavior. >> Suppose I create a "looped" bind mount situation as follows. >> >> # mkdir test >> # touch test/foo >> # mkdir bindtest >> # touch bindtest/bar >> # mkdir bindtest/test >> # mount --bind test/ bindtest/test/ >> # ls bindtest/test/ >> f

[PATCH] arch/x86/kernel/setup_64.c compile error (MMOTM-2007-11-10-19-05)

2007-11-11 Thread Erez Zadok
I'm using -mm (MMOTM-2007-11-10-19-05) and getting $ make CC arch/x86/kernel/setup_64.o arch/x86/kernel/setup_64.c: In function 'setup_arch': arch/x86/kernel/setup_64.c:420: error: implicit declaration of function 'early_quirks' That's because the externs for early_quirks() aren't on unle

Re: Bind mount bug?

2007-11-11 Thread Frans Pop
On Sunday 11 November 2007, Roland Kuhn wrote: > This mounts the bindtest/ tree on test/ _without_ copying the mount > points which are found on subtrees. Right. I guess this is the key point that tripped me up. > So, you see, test/test/test/a was (as it should) physically created   > in test/tes

  1   2   >