Re: [PATCH] Missed "," character in printf in print_delayacct().

2007-08-14 Thread Balbir Singh
Maxim Uvarov wrote: > Sorry I've removed "," character from Documentation/accounting/getdelays.c > with taskstats-add-context-switch-counters.patch. > > It is needed to turn it back. > > > Signed-off-by: Maxim Uvarov <[EMAIL PROTECTED]> >

Re: [PATCH] PSS(proportional set size) accounting in smaps

2007-08-14 Thread Matt Mackall
On Tue, Aug 14, 2007 at 09:33:50AM +0800, Fengguang Wu wrote: > The "proportional set size" (PSS) of a process is the count of pages it has in > memory, where each page is divided by the number of processes sharing it. So > if > a process has 1000 pages all to itself, and 1000 shared with one

[git patches] net driver fixes

2007-08-14 Thread Jeff Garzik
Minor stuff except for the xen-netfront fix. e1000 change is an adds-pci-ids-only change. 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

Re: [PATCH] hres_timers_resume must block interrupts

2007-08-14 Thread Thomas Gleixner
On Tue, 2007-08-14 at 07:36 +0200, Thomas Gleixner wrote: > On Mon, 2007-08-13 at 19:26 -0400, Joe Korty wrote: > > Retrigger_next_event() must be called with interrupts disabled. > > > > All internal (to hrtimer.c) uses of retrigger_next_event() are correct. > > But the version exported to other

Re: [2/4] 2.6.23-rc3: known regressions

2007-08-14 Thread Michal Piotrowski
On 14/08/07, Luca Tettamanti <[EMAIL PROTECTED]> wrote: > Michal Piotrowski ha scritto: > > Hi all, > > > > Here is a list of some known regressions in 2.6.23-rc3. > > > > Feel free to add new regressions/remove fixed etc. > > http://kernelnewbies.org/known_regressions > [...] > > > > Subject

Re: EHCI Regression in 2.6.23-rc2

2007-08-14 Thread Daniel Exner
David Brownell wrote: > On Monday 13 August 2007, [EMAIL PROTECTED] wrote: > > With the VIA controller I have, > > Which kind is that? The VT6202 is buggy as all get-out, and > they sold a *LOT* of those discrete chips for use in add-on PCI > cards. We generally warn people away from those. A

[M68KNOMMU]: include linux/fs.h for getname()

2007-08-14 Thread Greg Ungerer
Include linux/fs.h to get the prototype for getname(). Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur ORG.linux-2.6.23-rc3/arch/m68knommu/kernel/process.c linux-2.6.23-rc3/arch/m68knommu/kernel/process.c --- ORG.linux-2.6.23-rc3/arch/m68knommu/kernel/process.c2007-08-14

[M68KNOMMU]: include asm-generic/pgtable.h

2007-08-14 Thread Greg Ungerer
Include asm-generic/pgtable.h to pick up the lazy_mmu_mode and lazy_cpu_mode macros. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur ORG.linux-2.6.23-rc3/include/asm-m68knommu/pgtable.h linux-2.6.23-rc3/include/asm-m68knommu/pgtable.h ---

[M68KNOMMU]: include linux/fs.h for do_pip()

2007-08-14 Thread Greg Ungerer
Include linux/fs.h to get the prototype for do_pipe(). Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur ORG.linux-2.6.23-rc3/arch/m68knommu/kernel/sys_m68k.c linux-2.6.23-rc3/arch/m68knommu/kernel/sys_m68k.c --- ORG.linux-2.6.23-rc3/arch/m68knommu/kernel/sys_m68k.c

Re: [PATCH] PSS(proportional set size) accounting in smaps

2007-08-14 Thread WU Fengguang
On Tue, Aug 14, 2007 at 10:57:31AM +0530, Balbir Singh wrote: > I keep forgetting to check that you are on the cc. My email client > loves dropping you from the to/cc list. hehe, sorry for my crappy smtp server ;) > Fengguang Wu wrote: > > The "proportional set size" (PSS) of a process is the

Re: [patch] slab: revert "slab: fix alien cache handling"

2007-08-14 Thread Siddha, Suresh B
On Mon, Aug 13, 2007 at 01:58:48PM -0700, Christoph Lameter wrote: > On Mon, 13 Aug 2007, Siddha, Suresh B wrote: > > > Can we revert git commit 3cdc0ed0cea50ea08dd146c1bbc82b1bcc2e1b80 ? > > Only if you find another way to fix the bug that is addressed there. Does the appended version fix both

Re: [patch 0/3] [patch 0/3] genirq: Suppress resend of level interrupts

2007-08-14 Thread Marcin Ĺšlusarz
2007/8/12, Thomas Gleixner <[EMAIL PROTECTED]>: > The delayed irq disable functionality introduced a bug due to > retriggering level type interrupts in case of the delayed disable. The > resulting problem was discussed and debugged here: > http://marc.info/?l=linux-kernel=118202978609968=2 > > The

Re: [Fwd: Re: 2.6.23-rc3 regression and bisection query]

2007-08-14 Thread Norbert Preining
Hi Alexey, On Die, 14 Aug 2007, Alexey Starikovskiy wrote: > ACPI: EC: Fix regression > Undelete call to register query methods. I am now using a kernel with only this patch (reapplied ec/battery which you sent me). On Die, 14 Aug 2007, Alexey Starikovskiy wrote: > cat

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

2007-08-14 Thread Jarek Poplawski
On Mon, Aug 13, 2007 at 06:30:20PM +0200, Thomas Gleixner wrote: > On Mon, 2007-08-13 at 15:53 +0200, Jarek Poplawski wrote: > > On Mon, Aug 13, 2007 at 02:07:15PM +0200, Thomas Gleixner wrote: > > > On Mon, 2007-08-13 at 13:28 +0200, Jarek Poplawski wrote: > > > > Maybe I miss something, but: > >

Re: PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out"

2007-08-14 Thread Francois Romieu
Karl Meyer <[EMAIL PROTECTED]> : [...] > dmesg, interrupts and .config are attached. I will have a look at git bisect. Can you reproduce the problem when nvidia binary-only stuff is not loaded after boot ? -- Ueimor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH] [305/2many] MAINTAINERS - M68K ARCHITECTURE

2007-08-14 Thread Geert Uytterhoeven
On Sun, 12 Aug 2007, [EMAIL PROTECTED] wrote: > Add file pattern to MAINTAINER entry > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > > diff --git a/MAINTAINERS b/MAINTAINERS > index e4ba367..b01052d 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -2930,6 +2930,8 @@ L: [EMAIL

Re: [PATCH 6/24] make atomic_read() behave consistently on frv

2007-08-14 Thread Herbert Xu
On Tue, Aug 14, 2007 at 03:34:25PM +1000, Nick Piggin wrote: > > What do you think of this crazy idea? > > /* Enforce a compiler barrier for only operations to location X. > * Call multiple times to provide an ordering between multiple > * memory locations. Other memory operations can be

[patch 00/12] 2.6.22-stable review

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

[patch 01/12] fix oops in __audit_signal_info()

2007-08-14 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Al Viro <[EMAIL PROTECTED]> Check for audit_signals is misplaced and check for audit_dummy_context() is missing; as the result, if we send signal to auditd from task with NULL

[patch 02/12] random: fix bound check ordering (CVE-2007-3105)

2007-08-14 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Matt Mackall <[EMAIL PROTECTED]> If root raised the default wakeup threshold over the size of the output pool, the pool transfer function could overflow the stack with RNG bytes, causing a DoS or

[patch 03/12] softmac: Fix deadlock of wx_set_essid with assoc work

2007-08-14 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Michael Buesch <[EMAIL PROTECTED]> The essid wireless extension does deadlock against the assoc mutex, as we don't unlock the assoc mutex when flushing the workqueue, which also holds the lock.

[patch 04/12] ata_piix: update map 10b for ich8m

2007-08-14 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Tejun Heo <[EMAIL PROTECTED]> Fix map entry 10b for ich8. It's [P0 P2 IDE IDE] like ich6 / ich6m. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> Acked-by: Kristen Carlson Accardi <[EMAIL PROTECTED]>

[patch 06/12] PPC: Revert "Add mdio to bus scan id list for platforms with QE UEC"

2007-08-14 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Kim Phillips <[EMAIL PROTECTED]> This reverts commit 3baee955953957be5496cd28e9c544d9db214262. this was a mistake from the start; I added mdio type to the bus scan list early on in my ucc_geth

[patch 07/12] powerpc: Fix size check for hugetlbfs

2007-08-14 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Benjamin Herrenschmidt <[EMAIL PROTECTED]> My "slices" address space management code that was added in 2.6.22 implementation of get_unmapped_area() doesn't properly check that the size is a multiple

[patch 05/12] PPC: Revert "Dont complain if size-cells == 0 in prom_parse()"

2007-08-14 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Paul Mackerras <[EMAIL PROTECTED]> This reverts commit fd6e9d3945ee122eb513ada8b17296d243c1ce5e. Having #size-cells == 0 in a node indicates that things under the node aren't directly accessible,

[patch 08/12] direct-io: fix error-path crashes

2007-08-14 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Badari Pulavarty <[EMAIL PROTECTED]> Need to initialize map_bh.b_state to zero. Otherwise, in case of a faulty user-buffer its possible to go into dio_zero_block() and submit a page by mistake -

[patch 12/12] CPUFREQ: ondemand: add a check to avoid negative load calculation

2007-08-14 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Venki Pallipadi <[EMAIL PROTECTED]> Due to rounding and inexact jiffy accounting, idle_ticks can sometimes be higher than total_ticks. Make sure those cases are handled as zero load case.

[patch 11/12] CPUFREQ: ondemand: fix tickless accounting and software coordination bug

2007-08-14 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Venki Pallipadi <[EMAIL PROTECTED]> With tickless kernel and software coordination os P-states, ondemand can look at wrong idle statistics. This can happen when ondemand sampling is happening on CPU

[patch 10/12] pata_atiixp: add SB700 PCI ID

2007-08-14 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Jeff Garzik <[EMAIL PROTECTED]> [libata] pata_atiixp: add SB700 PCI ID >From AMD. Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc: Chuck Ebbert <[EMAIL PROTECTED]> Signed-off-by: Greg

[patch 09/12] stifb: detect cards in double buffer mode more reliably

2007-08-14 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Helge Deller <[EMAIL PROTECTED]> Visualize-EG, Graffiti and A4450A graphics cards on PARISC can be configured in double-buffer and standard mode, but the stifb driver supports standard mode only.

Re: 2.6.23-rc3 regression and bisection query

2007-08-14 Thread Sergey Dolgov
On Mon, Aug 13, 2007 at 11:56:22PM +0100, Hugh Dickins wrote: > On Tue, 14 Aug 2007, Alexey Starikovskiy wrote: > > Sergey Dolgov wrote: > > > On Mon, Aug 13, 2007 at 07:44:48PM +0100, Hugh Dickins wrote: > > > > > >> Git bisection (with manual fixups to i386 mmiocfg horror, thanks > > >> for

Re: [patch 07/12] powerpc: Fix size check for hugetlbfs

2007-08-14 Thread David Gibson
On Tue, Aug 14, 2007 at 12:29:18AM -0700, Greg KH wrote: > -stable review patch. If anyone has any objections, please let us know. > > -- > From: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > > My "slices" address space management code that was added in 2.6.22 > implementation of

Re: [PATCH 00/23] per device dirty throttling -v8

2007-08-14 Thread Brice Figureau
On Tue, 2007-08-14 at 04:25 +0200, Andi Kleen wrote: > On Tue, Aug 14, 2007 at 11:44:56AM +1000, Stewart Smith wrote: > > > Since the database fits in RAM, the only kind of access Mysql is doing > > > is writing to the innodb log, the mysql binlog and finally to the innodb > > > database files. >

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

2007-08-14 Thread Jarek Poplawski
On Mon, Aug 13, 2007 at 02:07:37PM -0500, Benjamin Herrenschmidt wrote: > On Mon, 2007-08-13 at 15:53 +0200, Jarek Poplawski wrote: > > > > I've thought e.g. about "fasteoi" for this "Virtual Wire" timer for > > i386: I hope it's OK, but since is it any problem to add some comment > > here, why

Re: EHCI Regression in 2.6.23-rc2

2007-08-14 Thread David Brownell
On Monday 13 August 2007, Daniel Exner wrote: > David Brownell wrote: > > On Monday 13 August 2007, [EMAIL PROTECTED] wrote: > > > With the VIA controller I have, > > > > Which kind is that? The VT6202 is buggy as all get-out, and > > they sold a *LOT* of those discrete chips for use in add-on

Re: [PATCH] [467/2many] MAINTAINERS - SVGA HANDLING

2007-08-14 Thread Martin Mares
> Martin, do you still want to be CC'd on changes > to arch/i386/boot/vid* here? Yes, I would like to. Although HPA has rewritten the code to C, the logic remains. Have a nice fortnight -- Martin `MJ' Mares <[EMAIL PROTECTED]>

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

2007-08-14 Thread Thomas Gleixner
On Tue, 2007-08-14 at 09:12 +0200, Jarek Poplawski wrote: > > No, the point is that the resend is suppressed for all interrupts which > > are marked with IRQ_LEVEL: > > > > /* > > * We do not resend level type interrupts. Level type > > * interrupts are resent by

Re: I have two 1394 port in my computer, why did I get only one eth1394 interface?

2007-08-14 Thread Jan Engelhardt
On Aug 13 2007 17:24, Stefan Richter wrote: > >>3. If I must plug my firewire line in some port, can I change the >> default port to use? > >The PHY may have several ports, but all of these ports belong to the same >FireWire bus. The PHY not only connect the link layer controller with each

[PATCH] sh: replace mutexes which are used in SH-4 user page copy/clear functions in 2.6.22.X

2007-08-14 Thread Katsuya MATSUBARA
sh: replace mutexes which are used in SH-4 user page copy/clear functions in 2.6.22.X This patch replaces mutexes in copy_user_pages() and clear_user_pages() for SH-4 in 2.6.22.X. A 2.6.22.X kernel with CONFIG_PREEMPT_VOLUNTARY=y shows the following error because mutexes are sleepable. BUG:

Re: [patch] add kdump_after_notifier

2007-08-14 Thread Takenori Nagano
Vivek Goyal wrote: > On Fri, Aug 03, 2007 at 02:05:47PM +1000, Keith Owens wrote: > > > To sum up, couple of options come to mind. > > - Register all the RAS tools on die notifier and panic > notifier lists with fairly high priority. Export list > of RAS tools to user space and allow users

Re: [patch] add kdump_after_notifier

2007-08-14 Thread Bernhard Walle
* Takenori Nagano <[EMAIL PROTECTED]> [2007-08-14 10:34]: > Vivek Goyal wrote: > > On Fri, Aug 03, 2007 at 02:05:47PM +1000, Keith Owens wrote: > > > > > > To sum up, couple of options come to mind. > > > > - Register all the RAS tools on die notifier and panic > > notifier lists with fairly

Re: [accounting regression since rc1] scheduler updates

2007-08-14 Thread Christian Borntraeger
This is a 2nd try with correct email address, sorry for the duplicates. Am Sonntag, 12. August 2007 schrieb Ingo Molnar: > Linus, please pull the latest scheduler git tree from: Hello Ingo, this is a followup to the discussion in http://lkml.org/lkml/2007/7/19/538 Since 2.6.12, s390 already

Re: Block device throttling [Re: Distributed storage.]

2007-08-14 Thread Evgeniy Polyakov
On Mon, Aug 13, 2007 at 06:04:06AM -0700, Daniel Phillips ([EMAIL PROTECTED]) wrote: > Perhaps you never worried about the resources that the device mapper > mapping function allocates to handle each bio and so did not consider > this hole significant. These resources can be significant, as is

Re: [patch] add kdump_after_notifier

2007-08-14 Thread Takenori Nagano
Bernhard Walle wrote: > * Takenori Nagano <[EMAIL PROTECTED]> [2007-08-14 10:34]: >> Vivek Goyal wrote: >>> On Fri, Aug 03, 2007 at 02:05:47PM +1000, Keith Owens wrote: >>> >>> >>> To sum up, couple of options come to mind. >>> >>> - Register all the RAS tools on die notifier and panic >>>

[RFC][PATCH] /proc//pmaps - memory maps in granularity of pages

2007-08-14 Thread Fengguang Wu
Hello, Matt Mackall brings us many memory-footprint-optimization opportunities with his pagemap/kpagemap patches. However I wonder if the binary interface can be improved. This seq_file based implementation iterates in the unit of vmas. So super large vmas can be a problem. The next step is to

Re: [patch] add kdump_after_notifier

2007-08-14 Thread Bernhard Walle
* Takenori Nagano <[EMAIL PROTECTED]> [2007-08-14 10:48]: > Bernhard Walle wrote: > > * Takenori Nagano <[EMAIL PROTECTED]> [2007-08-14 10:34]: > >> Vivek Goyal wrote: > >>> On Fri, Aug 03, 2007 at 02:05:47PM +1000, Keith Owens wrote: > >>> > >>> > >>> To sum up, couple of options come to mind. >

Keyboard CapsShift Lock

2007-08-14 Thread Samuel Thibault
Hi, There exists a CapsShift lock called KG_CAPSSHIFT, but no associated lock/slock, here is a patch. Samuel Add CapsShift lock and slock. Signed-off-by: Samuel Thibault <[EMAIL PROTECTED]> diff --git a/include/linux/keyboard.h b/include/linux/keyboard.h index d97066f..61f12d4 100644 ---

Re: [PATCH] [1/2many] - FInd the maintainer(s) for a patch - scripts/get_maintainer.pl

2007-08-14 Thread Alan Cox
> MODULE_MAINTAINER() was discussed a while ago but embedding information into > the binary has the problem you can't ever change deployed systems, meaning > it lags by design. If a maintainer changes, people would still be using the > information from their old binaries, meaning a replaced

Re: [PATCH again] [libata] libata driver for bf548 on chip ATAPI controller.

2007-08-14 Thread Alan Cox
> +/** > + * Register transfer timing table > + */ Libata has a complete set of transfer mode tables and timing functions - any reason for not using them ? > + /* increase tcyc - tdvs (tcyc_tdvs) until we > meed > +* the minimum cycle length > +

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

2007-08-14 Thread Jarek Poplawski
On Tue, Aug 14, 2007 at 10:10:32AM +0200, Thomas Gleixner wrote: > On Tue, 2007-08-14 at 09:12 +0200, Jarek Poplawski wrote: > > > No, the point is that the resend is suppressed for all interrupts which > > > are marked with IRQ_LEVEL: > > > > > > /* > > > * We do not resend

Re: sata_nv + ADMA + Samsung disk problem

2007-08-14 Thread Tejun Heo
Gabor Gombas wrote: > Hi, > > Since I have upgraded to 2.6.22.1 from 2.6.20 I have problems with > Samsung disks. Sometimes the disks stall for about half a minute and > then I have these messages in the logs: > > Aug 6 20:10:11 twister kernel: ata7: EH in ADMA mode, notifier 0x0 >

Re: [PATCH 00/16] Permit filesystem local caching [try #3]

2007-08-14 Thread David Howells
Casey Schaufler <[EMAIL PROTECTED]> wrote: > With Smack you can leave the label alone, raise CAP_MAC_OVERRIDE, > do your business of setting the label correctly, and then drop > the capability. No new hooks required. That sounds like a contradiction. How can you both leave it alone and set it?

Re: [PATCH 7/23] make atomic_read() and atomic_set() behavior consistent on frv

2007-08-14 Thread David Howells
Chris Snook <[EMAIL PROTECTED]> wrote: > Use volatile consistently in atomic.h on frv. Acked-By: David Howells <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: How to make -mm a more viable testbed

2007-08-14 Thread Tilman Schmidt
Zan Lynx schrieb: > I thought most people running -mm were running klive, which shou > ld tell kernel versions, uptime and other things. I run it, anyway. > > http://klive.cpushare.com/ I don't, even though I try to at least build and boot each -mm release once. Should I? Perhaps I should.

Re: EHCI Regression in 2.6.23-rc2

2007-08-14 Thread Daniel Exner
David Brownell wrote: > On Monday 13 August 2007, Daniel Exner wrote: [..] > > Where exactly should I search for this? Neither lspci nor lsusb showed > > any hint on the EHCI rev. the chip conforms to.. > > The driver logs that information as it starts; on this sytem: > > ehci_hcd :00:02.2:

Re: Bad addresses in MAINTAINERS

2007-08-14 Thread Alan Cox
> There is a public mailing list - but it is closed - must be subscribed to > post > (cuts down on spam), and I thought the requirement was to have these be open > lists? No, but the MAINTAINERS entry should indicate which lists are subscriber only - To unsubscribe from this list: send the

linux-kernel@vger.kernel.org

2007-08-14 Thread bizu
Hi, I've got an HTC P4350 running Win Mobile 5. I can synchronize data with synce, everything work fine. But i can't use it as an USB modem on linux, where as everything work fine on windows. To get it working with windows, i activate the 'internet share' on the HTC and plug it to the laptop

linux-kernel@vger.kernel.org

2007-08-14 Thread bizu
Hi, I've got an HTC P4350 running Win Mobile 5. I can synchronize data with synce, everything work fine. But i can't use it as an USB modem on linux, where as everything work fine on windows. To get it working with windows, i activate the 'internet share' on the HTC and plug it to the laptop

HTC as USB gprs/edge modem on linux

2007-08-14 Thread bizu
Hi, I've got an HTC P4350 running Win Mobile 5. I can synchronize data with synce, everything work fine. But i can't use it as an USB modem on linux, where as everything work fine on windows. To get it working with windows, i activate the 'internet share' on the HTC and plug it to the laptop

Re: [PATCH 00/23] per device dirty throttling -v8

2007-08-14 Thread Helge Hafting
Christoph Hellwig wrote: Umm, no f**king way. atime selection is 100% policy and belongs into userspace. Add to that the problem that we can't actually re-enable atimes because of the way the vfs-level mount flags API is designed. Instead of doing such a fugly kernel patch just talk to the

[PATCH] [DLM] Clear othercon pointers when a connection is closed

2007-08-14 Thread swhiteho
From: Patrick Caulfield <[EMAIL PROTECTED]> This patch clears the othercon pointer and frees the memory when a connnection is closed. This could cause a small memory leak when nodes leave the cluster. Signed-Off-By: Patrick Caulfield <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL

[PATCH] [DLM] fix NULL ls usage

2007-08-14 Thread swhiteho
From: David Teigland <[EMAIL PROTECTED]> Fix regression in recent patch "[DLM] variable allocation" which attempts to dereference an "ls" struct when it's NULL. Signed-off-by: David Teigland <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/dlm/rcom.c

[PATCH] [DLM] zero unused parts of sockaddr_storage

2007-08-14 Thread swhiteho
From: Patrick Caulfield <[EMAIL PROTECTED]> When we build a sockaddr_storage for an IP address, clear the unused parts as they could be used for node comparisons. I have seen this occasionally make sctp connections fail. Signed-Off-By: Patrick Caulfield <[EMAIL PROTECTED]> Signed-off-by: Steven

[PATCH] [DLM] Fix memory leak in dlm_add_member() when dlm_node_weight() returns less than zero

2007-08-14 Thread swhiteho
From: Jesper Juhl <[EMAIL PROTECTED]> There's a memory leak in fs/dlm/member.c::dlm_add_member(). If "dlm_node_weight(ls->ls_name, nodeid)" returns < 0, then we'll return without freeing the memory allocated to the (at that point yet unused) 'memb'. This patch frees the allocated memory in that

[PATCH] [DLM] More othercon fixes

2007-08-14 Thread swhiteho
From: Patrick Caulfield <[EMAIL PROTECTED]> The last patch to clean out 'othercon' structures only fixed half the problem. The attached addresses the other situations too, and fixes bz#238490 Signed-Off-By: Patrick Caulfield <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL

[PATCH] [DLM] fix basts for granted PR waiting CW

2007-08-14 Thread swhiteho
From: David Teigland <[EMAIL PROTECTED]> Fix a long standing bug where a blocking callback would be missed when there's a granted lock in PR mode and waiting locks in both PR and CW modes (and the PR lock was added to the waiting queue before the CW lock). The logic simply compared the numerical

Re: Linux 2.6.23-rc3

2007-08-14 Thread Zilvinas Valinskas
Hello, I have also noticed that there are other messages printed twice, not a big problem but still ;) . Perhaps it should be that way, don't know. $ dmesg | grep sda sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode

[PATCH] [GFS2] soft lockup detected in databuf_lo_before_commit

2007-08-14 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This is part 2 of the patch for bug #245832, part 1 of which is already in the git tree. The problem was that sdp->sd_log_num_databuf was not always being protected by the gfs2_log_lock spinlock, but the sd_log_le_databuf (which it is supposed to reflect)

[PATCH] [GFS2] soft lockup in rgblk_search

2007-08-14 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This patch seems to fix the problem described in bugzilla bug 246114. It was written by Steve Whitehouse with some tweaking by me. The code was looping in the relatively new section of code designed to search for and reuse unlinked inodes. In cases where

[PATCH] [GFS2] Fix incorrect return code in rgrp.c

2007-08-14 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> The following patch fixes a bug where 0 was being used as a return code to indicate "nothing to do" when in fact 0 was a valid block location which might be returned by the function. Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git

[PATCH] [GFS2] Fix incorrect error path in prepare_write()

2007-08-14 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> The error path in prepare_write() was incorrect in the (very rare) event that the transaction fails to start. The following prevents a NULL pointer dereference, Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/ops_address.c

[PATCH] [GFS2] Fix setting of inherit jdata attr

2007-08-14 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> Due to a mix up between the jdata attribute and inherit jdata attribute it has not been possible to set the inherit jdata attribute on directories. This is now fixed and the ioctl will report the inherit jdata attribute for directories rather than the

[PATCH] [GFS2] Revert remounting w/o acl option leaves acls enabled

2007-08-14 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> This reverts commit 569a7b6c2e8965ff4908003b925757703a3d649c. The code was correct originally. The default setting for ACLs after a remount should be to be the same as before the remount. Signed-off-by: Abhijith Das <[EMAIL PROTECTED]> Signed-off-by:

Re: Linux 2.6.23-rc3

2007-08-14 Thread Zilvinas Valinskas
Hello Michal, This morning I have booted laptop, for a while fan had been turned off. But then after a light load (compiling stuff & co), fan was turned on and now it is still on. [EMAIL PROTECTED]:~$ acpi -bt Battery 1: charged, 97% Thermal 1: ok, 48.0 degrees C Thermal 2: ok,

[GFS2/DLM] [0/12] Pre pull request patch posting

2007-08-14 Thread Steven Whitehouse
Hi, This set of patches are from the GFS2 -fixes tree. There are further fixes currently in the -nmw git tree, but these are the ones which have been there some time and are known to fix important issues, so these are the ones which I'll send a pull request for shortly, Steve. - To unsubscribe

Re: sata drive loosing connection/resetting port

2007-08-14 Thread Tejun Heo
Michal Piotrowski wrote: > Hi Andreas, > > [Adding Jeff and linux-ide to CC] > > On 13/08/07, Andreas Radke <[EMAIL PROTECTED]> wrote: >> running ArchLinux kernel 2.6.22.2 on a Abit IP35 Pro motherboard with >> Pro Intel P35 chipset (ICH9R + Jmicron) i have these entries all few >> minutes: >>

Re: Page Cache Question

2007-08-14 Thread Helge Hafting
Adnan Khaleel wrote: I'm looking for a way to disable the page cache for an experimental NUMA system running the 2.6.17 kernel. I would prefer to only disable the page cache for my process and still have it be enabled by the rest of the system. Is there an easy way of doing this? Alternatively,

[no subject]

2007-08-14 Thread Nicolas George
Cc: Bcc: Subject: Re: UML/man: BLKGETSIZE takes a long, not an int Reply-To: In-Reply-To: <[EMAIL PROTECTED]> Hi. I fear that my bug-report yesterday was very badly written, with me writing to the wrong mailing-list and all. I was saying: > I found a type mismatch in UML that makes host

[PATCH] autofs4: deadlock during create

2007-08-14 Thread Ian Kent
Hi, Due to inconsistent locking in the VFS between calls to lookup and revalidate deadlock can occur in the automounter. The inconsistency is that the directory inode mutex is held for both lookup and revalidate calls when called via lookup_hash whereas it is held only for lookup during a path

Re: [PATCH] [153/2many] MAINTAINERS - DEVICE-MAPPER (LVM)

2007-08-14 Thread Milan Broz
[EMAIL PROTECTED] wrote: > Add file pattern to MAINTAINER entry > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > > diff --git a/MAINTAINERS b/MAINTAINERS > index ea991f0..36a7d25 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -1472,6 +1472,7 @@ P: Alasdair Kergon > L: [EMAIL

Re: Block device throttling [Re: Distributed storage.]

2007-08-14 Thread Daniel Phillips
On Tuesday 14 August 2007 01:46, Evgeniy Polyakov wrote: > On Mon, Aug 13, 2007 at 06:04:06AM -0700, Daniel Phillips ([EMAIL PROTECTED]) wrote: > > Perhaps you never worried about the resources that the device > > mapper mapping function allocates to handle each bio and so did not > > consider

spontaneous disconnect with "usb-storage: implement autosuspend"

2007-08-14 Thread Paolo Ornati
Hi, with "CONFIG_USB_SUSPEND=y", since commit: 8dfe4b14869fd185ca25ee88b02ada58a3005eaf usb-storage: implement autosuspend This patch (as930) implements autosuspend for usb-storage. It is adapted from a patch by Oliver Neukum. Autosuspend is allowed except during LUN

[PATCH] Fix rmmod of asus_laptop

2007-08-14 Thread Guillaume Chazarain
Hi, The asus laptop driver conditionnaly registers leds in asus_led_register() depending on their availability, but unconditionnaly registers them all at exit time or when the module fails to load. Unregistering not registered leds result in the following Oops. So we should check before

Re: Linux 2.6.23-rc3

2007-08-14 Thread Matthew Wilcox
On Tue, Aug 14, 2007 at 11:10:22AM +0200, Tore Anderson wrote: > I gave it a spin, and got quite a few troubles that appears related to > the lpfc driver. I don't know if these problems happened due to the > recent update as the latest kernel I ran before was 2.6.20 (where I > never saw

Re: System call interposition/unprotecting the table

2007-08-14 Thread Alan Cox
On Tue, 14 Aug 2007 08:12:29 +0300 Avi Kivity <[EMAIL PROTECTED]> wrote: > Alan Cox wrote: > > This is to protect it from being changed by an attacker or someone trying > > to do strange and bogus things to the kernel. > > > > Someone who apparently hasn't heard of vmap(), etc. > > It's a

Re: Block device throttling [Re: Distributed storage.]

2007-08-14 Thread Evgeniy Polyakov
On Tue, Aug 14, 2007 at 04:13:10AM -0700, Daniel Phillips ([EMAIL PROTECTED]) wrote: > On Tuesday 14 August 2007 01:46, Evgeniy Polyakov wrote: > > On Mon, Aug 13, 2007 at 06:04:06AM -0700, Daniel Phillips > ([EMAIL PROTECTED]) wrote: > > > Perhaps you never worried about the resources that the

Re: Block device throttling [Re: Distributed storage.]

2007-08-14 Thread Daniel Phillips
On Tuesday 14 August 2007 04:30, Evgeniy Polyakov wrote: > > And it will not solve the deadlock problem in general. (Maybe it > > works for your virtual device, but I wonder...) If the virtual > > device allocates memory during generic_make_request then the memory > > needs to be throttled. > >

[PATCH] calculation of pgoff in do_linear_fault() uses mixed units

2007-08-14 Thread Dean Nelson
The calculation of pgoff in do_linear_fault() should use PAGE_SHIFT and not PAGE_CACHE_SHIFT since vma->vm_pgoff is in units of PAGE_SIZE and not PAGE_CACHE_SIZE. At the moment linux/pagemap.h has PAGE_CACHE_SHIFT defined as PAGE_SHIFT, but should that ever change this calculation would break.

O_NONBLOCK is broken

2007-08-14 Thread Denys Vlasenko
Hi folks, I apologize for a provocative subject. O_NONBLOCK in Linux is not broken. It is working as designed. But the design itself is suffering from a flaw. Suppose I want to write block of data to stdout, without blocking. I will do the classic thing: int fl = fcntl(1, F_GETFL, 0); fcntl(1,

Re: [PATCH] [443/2many] MAINTAINERS - HIBERNATION (aka Software Suspend, aka swsusp):

2007-08-14 Thread Pavel Machek
Hi! > > > + include/linux/suspend.h > > > + include/linux/freezer.h > > > + include/linux/pm.h > > > + include/asm-*/suspend.h > > > > > > Hm, they are also relevant for suspend to RAM, so perhaps one common > > > list of files for suspend to RAM and hibernation would be better? > > > > Maybe

Re: [PATCH] Add ability to print calltraces tighter on i386

2007-08-14 Thread Pavel Machek
Hi! > > E.g. OOPSes of 50 lines occupy ~20 with this patch. > > > > This is an example of how it will look for i386, but if this > > will be found useful, I will make the patch for other arched > > I can test it on (at least x86_64, ia64). > > Just use a higher resolution with vga=... > I have

Re: [PATCH] serial: turn serial console suspend a boot rather than compile time option

2007-08-14 Thread Pavel Machek
On Wed 2007-08-08 15:41:30, Andrew Morton wrote: > On Wed, 8 Aug 2007 18:35:35 -0400 > Andres Salomon <[EMAIL PROTECTED]> wrote: > > > Currently, there's a CONFIG_DISABLE_CONSOLE_SUSPEND that allows one to stop > > the serial console from being suspended when the rest of the machine goes > > to

Re: [2.6.22-rc3][ACPI?] Resume from s2r doesn't work.

2007-08-14 Thread Pavel Machek
On Sun 2007-08-12 18:52:02, Norbert Preining wrote: > Hi Pavel, hi all, > > On Son, 22 Jul 2007, Pavel Machek wrote: > > > Ok, no beeping at all. Nothing after resume, only fan. And I did not > > > forget to activate the BEEP line. > > > > > > So where can I go from here? DSDT hacking? Anything

Re: + serial-turn-serial-console-suspend-a-boot-rather-than-compile-time-option.patch added to -mm tree

2007-08-14 Thread Pavel Machek
Hi! > Thanks, updated below! > > > > serial: turn serial console suspend a boot rather than compile time option > > From: Andres Salomon <[EMAIL PROTECTED]> > > Currently, there's a CONFIG_DISABLE_CONSOLE_SUSPEND that allows one to stop > the serial console from being suspended when the rest

Re: [PATCH] Stop pmac_zilog from abusing 8250's device numbers.

2007-08-14 Thread Olaf Hering
On Wed, Apr 04, Paul Mackerras wrote: > David Woodhouse writes: > > > There are proper device numbers registered for pmac_zilog now. Use them. Which numbers? > Sigh. I guess this is inevitable, but IMNSHO this exposes a weakness > in our serial subsystem. So, when will the name of pmac_zilog

Re: Block device throttling [Re: Distributed storage.]

2007-08-14 Thread Evgeniy Polyakov
On Tue, Aug 14, 2007 at 04:35:43AM -0700, Daniel Phillips ([EMAIL PROTECTED]) wrote: > On Tuesday 14 August 2007 04:30, Evgeniy Polyakov wrote: > > > And it will not solve the deadlock problem in general. (Maybe it > > > works for your virtual device, but I wonder...) If the virtual > > >

Re: [PATCH] Stop pmac_zilog from abusing 8250's device numbers.

2007-08-14 Thread David Woodhouse
On Tue, 2007-08-14 at 13:49 +0200, Olaf Hering wrote: > On Wed, Apr 04, Paul Mackerras wrote: > > > David Woodhouse writes: > > > > > There are proper device numbers registered for pmac_zilog now. Use them. > > Which numbers? shinybook /shiny/git/mtd-utils $ ls -l /dev/ttyPZ* crw-rw 1 root

Re: sata_nv + ADMA + Samsung disk problem

2007-08-14 Thread Gabor Gombas
On Tue, Aug 14, 2007 at 06:30:28PM +0900, Tejun Heo wrote: > Hmmm... That's timeout on cache flush, indicative of failing disk. > Please post the result of 'smartctl -a /dev/sdc'. Will do when I get home. Note however that this only occurs in ADMA mode. It never occured with 2.6.20 and it never

Re: [patch 0/4] Updated AN patches, now without gendisk

2007-08-14 Thread Kay Sievers
On Mon, 2007-08-13 at 09:26 -0700, Kristen Carlson Accardi wrote: > On Sat, 11 Aug 2007 16:00:53 +0200 > "Kay Sievers" <[EMAIL PROTECTED]> wrote: > > > On 8/8/07, Kristen Carlson Accardi <[EMAIL PROTECTED]> wrote: > > > Here is an updated set of patches that implement Asynchronous Notification >

Re: Bad addresses in MAINTAINERS

2007-08-14 Thread Maciej W. Rozycki
On Mon, 13 Aug 2007, Joe Perches wrote: > OLYMPIC NETWORK DRIVER > P:Peter De Shrijver > M:[EMAIL PROTECTED] Peter should be reachable. Peter? Maciej - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

  1   2   3   4   5   6   7   8   9   >