Re: [PATCH] i386 add Intel PEBS and BTS cpufeature bits and detection

2006-11-17 Thread Stephane Eranian
Jeremy, On Fri, Nov 17, 2006 at 05:29:02AM +0100, Andi Kleen wrote: > On Friday 17 November 2006 02:34, Jeremy Fitzhardinge wrote: > > Stephane Eranian wrote: > > > Here is a small patch that adds two cpufeature bits to represent > > > Intel's Precise-Event-Based Sampling (PEBS) and Branch Trace S

Re: Sysctl syscall

2006-11-17 Thread Hasso Tepper
Andi Kleen wrote: > Hasso Tepper <[EMAIL PROTECTED]> writes: > > 2.4 and 2.6 kernels and would work with capabilities > > (sys/capability.h)? Accessing `/proc/sys' directly isn't such > > alternative as it doesn't work with capabilities. > > What do you mean with "/proc/sys doesn't work with capabi

Incorrect behavior of timer_settime() for absolute dates in the past

2006-11-17 Thread John
Hello everyone, [ NOTE: Email is a bit-bucket. I *do* monitor the mailing list. ] I'm playing with the POSIX timers API. My platform is x86 running Linux 2.6.18.1 patched with the high-resolution timer subsystem. http://www.tglx.de/hrtimers.html I'm seeing unexpected behavior from timer_sett

Re: [PATCH] i386 add Intel PEBS and BTS cpufeature bits and detection

2006-11-17 Thread Andi Kleen
> The former > stores from/to information into MSRs and is very small (4 branches). P4 since Prescott has 16 > On recent processors LBR and BTS can be constrained by priv level. Doesn't help for kernel debugging. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: Sysctl syscall

2006-11-17 Thread Andi Kleen
On Friday 17 November 2006 09:07, Hasso Tepper wrote: > I have process which drops root privileges after startup and retains only > some privileges using CAP_NET_ADMIN and CAP_SYS_ADMIN capabilities. > I can change values in /proc/sys/net/ipv[46]/* (like turning forwarding > on/off) from this pr

Re: [patch] cpufreq: mark cpufreq_tsc() as core_initcall_sync

2006-11-17 Thread Jens Axboe
On Thu, Nov 16 2006, Paul E. McKenney wrote: > On Thu, Nov 16, 2006 at 10:06:25PM -0500, Alan Stern wrote: > > On Thu, 16 Nov 2006, Linus Torvalds wrote: > > > > > > > > > > > On Thu, 16 Nov 2006, Alan Stern wrote: > > > > On Thu, 16 Nov 2006, Linus Torvalds wrote: > > > > > > > > > > Paul, it w

Re: Sysctl syscall

2006-11-17 Thread Hasso Tepper
Andi Kleen wrote: > On Friday 17 November 2006 09:07, Hasso Tepper wrote: > > I have process which drops root privileges after startup and retains > > only some privileges using CAP_NET_ADMIN and CAP_SYS_ADMIN > > capabilities. I can change values in /proc/sys/net/ipv[46]/* (like > > turning forwar

[patch 2.6.19-rc6] rtc class locking bugfixes

2006-11-17 Thread David Brownell
I got a lockdep warning when running "rtctest" so I though it'd be good to see what was up. - The warning was for rtc->irq_task_lock, gotten from rtc_update_irq() by irq handlerss ... but in a handful of other cases, grabbed without blocking IRQs. - Some callers to rtc_update_irq() were n

[patch 2.6.19-rc6] platform_driver_probe(), can save codespace

2006-11-17 Thread David Brownell
This defines a new platform_driver_probe() method allowing the driver's probe() method, and its support code+data, to safely live in __init sections for typical system configurations. Many system-on-chip processors could benefit from this API, to the tune of recovering hundreds to thousands of byt

[patch 2.6.19-rc6] rtc framework handles periodic irqs

2006-11-17 Thread David Brownell
The RTC framework has an irq_set_freq() method that should be used to manage the periodic IRQ frequency, but the current ioctl logic doesn't know how to do that. This patch teaches it how. This means that drivers implementing irq_set_freq() will automatically support RTC_IRQP_{READ,SET} ioctls; t

[patch 2.6.19-rc6] Documentation/driver-model/platform.txt update/rewrite

2006-11-17 Thread David Brownell
This is almost a rewrite of the driver-model/platform.txt documentation; the previous text was obsolete (for several years), evidently it never got updated to match the change from being a PC "legacy_bus" to the more widely used core bus for most embedded systems. Signed-off-by: David Brownell <[E

[patch 2.6.19-rc6] Documentation/rtc.txt updates (for rtc class)

2006-11-17 Thread David Brownell
This updates the RTC documentation to summarize the two APIs now available: the old PC/AT one, and the new RTC class drivers. It also updates the included "rtctest.c" file to better meet Linux style guidelines, and to work with the new RTC drivers. Signed-off-by: David Brownell <[EMAIL PROTECTED]

[PATCH 26/19] CacheFiles: Don't include linux/proc_fs.h

2006-11-17 Thread David Howells
Don't include linux/proc_fs.h anymore as we no longer use procfs. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- fs/cachefiles/cf-bind.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/cachefiles/cf-bind.c b/fs/cachefiles/cf-bind.c index 0c055a9..2c22d35 100644

Re: 2.6.19-rc5 libata PATA ATAPI CDROM SiS 5513 NOT WORKING

2006-11-17 Thread Alan Cox
On Thu, Nov 16, 2006 at 08:34:03PM -0500, Ioan Ionita wrote: > >ata2.00: limiting speed to UDMA/25 > >ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen > >ata2.00: (BMDMA stat 0x20) > >ata2.00: tag 0 cmd 0xa0 Emask 0x5 stat 0x51 err 0x51 (timeout) etc.. - yes known. Something in the

regarding VIA quirk fix

2006-11-17 Thread Tejun Heo
Hello, Alan. We've been getting bug reports from sata_via users for quite sometime now. The first IRQ driven command (IDENTIFY) times out and thus device detection fails. The following patch seems to fix it for many users. http://marc.theaimsgroup.com/?l=linux-kernel&m=116300291505638 But,

Re: 2.6.19-rc6-rt0, -rt YUM repository

2006-11-17 Thread Ingo Molnar
* Sergio Monteiro Basto <[EMAIL PROTECTED]> wrote: > On Thu, 2006-11-16 at 16:35 +0100, Ingo Molnar wrote: > >cd /etc/yum.repos.d > >wget http://people.redhat.com/~mingo/realtime-preempt/rt.repo > >yum update kernel > > I follow the instructions on my x86_64 with FC6, that you alrea

Re: [PATCH] ALSA: hda-intel - Disable MSI support by default

2006-11-17 Thread Takashi Iwai
At Fri, 17 Nov 2006 00:01:25 +0100, Olivier Nicolas wrote: > > Takashi Iwai wrote: > > At Wed, 15 Nov 2006 14:15:45 -0500, > > Jeff Garzik wrote: > >> ACK the pci_intx() calls, NAK the obviously overweight spinlock changes. > >> The spinlock changes are completely unnecessary. Just look at any

vm: weird behaviour when munmapping

2006-11-17 Thread moreau francis
Hmm, I'm probably missing something but I don't see what. Please be nice even if the question is really stupid ;) I'm looking at mmap.c code and to understand it I decided to implement a dumb char device that implement its own foo_mmap() method. In this method it defined its own vma ops: stat

Re: [patch 2.6.19-rc6] Documentation/rtc.txt updates (for rtc class)

2006-11-17 Thread Oleg Verych
Hallo, David. On 2006-11-17, David Brownell wrote: > This updates the RTC documentation to summarize the two APIs now available: > the old PC/AT one, and the new RTC class drivers. It also updates the > included "rtctest.c" file to better meet Linux style guidelines, and to > work with the new RT

Re: [PATCH] i386 add Intel PEBS and BTS cpufeature bits and detection

2006-11-17 Thread Stephane Eranian
On Fri, Nov 17, 2006 at 10:22:20AM +0100, Andi Kleen wrote: > > The former > > stores from/to information into MSRs and is very small (4 branches). > > P4 since Prescott has 16 > Yes. I was talking about Core 2 > > On recent processors LBR and BTS can be constrained by priv level. > > Doesn't

[PATCH][kprobe] enabling booster on the preemptible kernel

2006-11-17 Thread Masami Hiramatsu
Hi Anil, Could you give me your Ack for this patch? From: Masami Hiramatsu <[EMAIL PROTECTED]> This patch enables the kprobe-booster on the preemptible kernel. For this purpose, I introduced a kind of garbage collector of the instruction slots. This garbage collector checks safety before releasin

-mm: cx88-blackbird.c: unused code re-added

2006-11-17 Thread Adrian Bunk
On Tue, Nov 14, 2006 at 01:41:25AM -0800, Andrew Morton wrote: >... > Changes since 2.6.19-rc5-mm2: >... > git-dvb.patch >... > git trees >... Why does this patch re-add the still unused cx88_ioctl_hook and cx88_ioctl_translator in drivers/media/video/cx88/cx88-blackbird.c I removed a few mont

Re: vm: weird behaviour when munmapping

2006-11-17 Thread Peter Zijlstra
On Fri, 2006-11-17 at 11:31 +, moreau francis wrote: > Hmm, I'm probably missing something but I don't see what. Please be > nice even if the question is really stupid ;) > > I'm looking at mmap.c code and to understand it I decided to implement > a dumb char device that implement its own foo_

is there any Hard-disk shock-protection for 2.6.18 and above?

2006-11-17 Thread Christoph Schmid
Hello dear kernel-people, I have a little question, which i hope is right to post here and does not cause inconveniences. Well, since about 6 weeks i own a Lenovo Thinkpad X60s which i bought primarily because thinkpads are rumored to be very well supported by linux. Sencondly because as a studen

Re : vm: weird behaviour when munmapping

2006-11-17 Thread moreau francis
Peter Zijlstra wrote: > > http://lwn.net/Kernel/LDD3/ > > Chapter 15. Section 'Virtual Memory Areas'. > > Basically; vm_ops->open() is not called on the first vma. With this > munmap() you split the area in two, and it so happens the new vma is the > lower one. > since I did "munmap(0x2aaae000

emacs visiting of [patch 2.6.19-rc6] Documentation/rtc.txt updates (for rtc class)

2006-11-17 Thread Oleg Verych
On 2006-11-17, David Brownell wrote: > Index: g26/Documentation/rtc.txt Just another emacs visiting... Will try to build and reboot to test stuff tomorrow. Index: 2.6_current/Documentation/rtc.txt === --- 2.6_current.orig/Documentati

Re: Patch to fixe Data Acess error in dup_fd

2006-11-17 Thread Sharyathi Nagesh
I looked into a few memtests that were run in similar machine. There are a few slab corruption issues but not while running memtest and no other issues. Seems difficult to replicate. On Wed, 2006-11-15 at 00:15 -0800, Vadim Lobanov wrote: > On Wed, 2006-11-15 at 13:08 +0530, Sharyathi Nagesh w

Re: Re : vm: weird behaviour when munmapping

2006-11-17 Thread Peter Zijlstra
On Fri, 2006-11-17 at 12:50 +, moreau francis wrote: > Peter Zijlstra wrote: > > > > http://lwn.net/Kernel/LDD3/ > > > > Chapter 15. Section 'Virtual Memory Areas'. > > > > Basically; vm_ops->open() is not called on the first vma. With this > > munmap() you split the area in two, and it so h

[patch 4/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Anderson Briglia
OMAP platform specific patch. - Add the host MMC lock/unlock capability support. Signed-off-by: Carlos Eduardo Aguiar indt.org.br> Signed-off-by: Anderson Lizardo indt.org.br> Signed-off-by: Anderson Briglia indt.org.br> Index: linux-omap-2.6.git/drivers/mmc/omap.c ===

RE: [Alsa-devel] [Patch] Audio: Add nvidia HD Audio controllers of MCP67 support to hda_intel.c

2006-11-17 Thread Peer Chen
Takashi: When this patch will be included into the -mm tree? Is it possible to be included in kernel source before final release of kernel 2.6.19. BRs Peer Chen -Original Message- From: Takashi Iwai [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 12:02 AM To: Randy Dunlap C

Re: acpiphp makes noise on every lid close/open

2006-11-17 Thread David Weinehall
On Tue, Nov 07, 2006 at 01:44:39PM -0800, Kristen Carlson Accardi wrote: > On Tue, 7 Nov 2006 21:44:09 +0100 > David Weinehall <[EMAIL PROTECTED]> wrote: > > > On Mon, Nov 06, 2006 at 10:21:17AM +0100, Pavel Machek wrote: > > > Hi! > > > > > > > > > With 2.6.19-rc4, acpi complains about "acpiphp_

RE: [PATCH] SCSI: Add the SGPIO support for sata_nv.c

2006-11-17 Thread Peer Chen
I didn't get any comment from you guys for new patch, does someone take care this patch, do we still need some modification upon it? Or do we need re-submit it in other thread? BRs Peer Chen -Original Message- From: Peer Chen Sent: Tuesday, November 07, 2006 5:55 PM To: 'Christoph Hellwi

Re: [Alsa-devel] [Patch] Audio: Add nvidia HD Audio controllers of MCP67 support to hda_intel.c

2006-11-17 Thread Takashi Iwai
At Fri, 17 Nov 2006 16:46:00 +0800, Peer Chen wrote: > > Takashi: > When this patch will be included into the -mm tree? Yes, it is already included, at least in 2.6.19-rc5-mm2. > Is it possible to be > included in kernel source before final release of kernel 2.6.19. No, we had no enough time f

Re: [Q] workaround for ide (native) leads to irq storm?

2006-11-17 Thread Vasily Averin
Vasily Averin wrote: > Tejun Heo wrote: >> Vasily Averin wrote: >>> I've reproduced this issue on linux 2.6.19-rc5 kernel. >>> >>> Please see http://bugzilla.kernel.org/show_bug.cgi?id=7518 for details >> >> Fortunately, libata is immune to the problem because it does >> ap->ops->irq_clear(ap) in

Re: [kvm-devel] [PATCH 3/3] KVM: Expose MSRs to userspace

2006-11-17 Thread Christoph Hellwig
On Thu, Nov 16, 2006 at 09:17:18PM +0200, Avi Kivity wrote: > Heh. That was the original implementation by Uri. I felt that was > wrong because _IOW() encodes the size in the ioctl number, bit the > actual size is different. That really shouldn't be a problem. After all the pointer approach d

Re: [PATCH 3/3] KVM: Expose MSRs to userspace

2006-11-17 Thread Andrew Morton
On Fri, 17 Nov 2006 09:20:49 +0200 Avi Kivity <[EMAIL PROTECTED]> wrote: > >> +out_vcpu: > >> + vcpu_put(vcpu); > >> + > >> + return rc; > >> +} > >> > > > > This function returns no indication of how many msrs it actually did set. > > Should it? > > > > It can't hurt. Is returning th

Re: [PATCH 3/3] KVM: Expose MSRs to userspace

2006-11-17 Thread Avi Kivity
Andrew Morton wrote: On Fri, 17 Nov 2006 09:20:49 +0200 Avi Kivity <[EMAIL PROTECTED]> wrote: +out_vcpu: + vcpu_put(vcpu); + + return rc; +} This function returns no indication of how many msrs it actually did set. Should it? It can't hurt. Is returning

[patch 2/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Anderson Briglia
Implement key retention operations. Signed-off-by: Carlos Eduardo Aguiar indt.org.br> Signed-off-by: Anderson Lizardo indt.org.br> Signed-off-by: Anderson Briglia indt.org.br> Index: linux-omap-2.6.git/drivers/mmc/Kconfig === ---

[patch 1/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Anderson Briglia
When a card is locked, only commands from the "basic" and "lock card" classes are accepted. To be able to use the other commands, the card must be unlocked first. This patch prevents the device drivers from trying to run privileged class commands on locked MMC cards, which will fail anyway. Sign

[patch 3/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Anderson Briglia
Implement card lock/unlock operation, using the MMC_LOCK_UNLOCK command. Signed-off-by: Carlos Eduardo Aguiar indt.org.br> Signed-off-by: Anderson Lizardo indt.org.br> Signed-off-by: Anderson Briglia indt.org.br> Index: linux-omap-2.6.git/drivers/mmc/mmc.c

[patch] i386/x86_64: ACPI cpu_idle_wait() fix

2006-11-17 Thread Ingo Molnar
Subject: [patch] i386/x86_64: ACPI cpu_idle_wait() fix From: Ingo Molnar <[EMAIL PROTECTED]> The scheduler on Andreas Friedrich's hyperthreading system stopped working properly as of 2.6.18: the scheduler would never move tasks to another CPU! after a couple of attempts to corner the bug, the fol

[patch 0/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Anderson Briglia
Hi all, New in this version: - MMC_CAP_BYTEBLOCK capability support added. - Spin lock added to protect data into mmc_lock_unlock function. - Specific OMAP platform adjustment regarding DMA transfers. - Some minor fixes pointed by Pierre Ossman on V5 version. This series of patches add support

[patch 5/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Anderson Briglia
Implement MMC password force erase, remove password, change password, unlock card and assign password operations. It uses the sysfs mechanism to send commands to the MMC subsystem. Signed-off-by: Carlos Eduardo Aguiar indt.org.br> Signed-off-by: Anderson Lizardo indt.org.br> Signed-off-by: Ande

Re: [patch] i386/x86_64: ACPI cpu_idle_wait() fix

2006-11-17 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > The scheduler on Andreas Friedrich's hyperthreading system stopped > working properly as of 2.6.18: the scheduler would never move tasks to > another CPU! correction: the last known working kernel was 2.6.8. The bug predates our GIT history so it's o

finding the network usage of a process

2006-11-17 Thread Irfan Habib
Hi, Is there any method either kernel or user level which tells me which process is generating how much traffic from a machine. For example if some process is flooding the network, then I would like to know which process (PID ideally), is generating the most traffic. I dont require it to do this

[patch 6/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Anderson Briglia
OMAP platform specific patch. - Adjust the frame count for DMA transfers. Signed-off-by: Anderson Briglia indt.org.br> Signed-off-by: Carlos Eduardo Aguiar indt.org.br> Index: linux-omap-2.6.git/drivers/mmc/omap.c === --- linux-om

Re : vm: weird behaviour when munmapping

2006-11-17 Thread moreau francis
Peter Zijlstra wrote: > On Fri, 2006-11-17 at 12:50 +, moreau francis wrote: >> >> lower vma: 0x2aaae000 -> 0x2aaaf000 >> upper vma: 0x2aaaf000 -> 0x2aab2000 > > that is the remaining VMA, not the new one; we trigger this code: > > /* Does it split the last one? */ > last = find_vma(m

Re: How to go about debuging a system lockup?

2006-11-17 Thread Stefan Richter
Lennart Sorensen wrote: > On Thu, Nov 16, 2006 at 04:01:03PM -0600, Protasevich, Natalie wrote: >> There are some port 80 cards that you can buy: ... > Hmm, one of those on the PCI bus might work. Or perhaps the parallel > port will. Of course if the problem is that somehow the PCI bus is > locke

Re: Re : vm: weird behaviour when munmapping

2006-11-17 Thread Peter Zijlstra
On Fri, 2006-11-17 at 13:43 +, moreau francis wrote: > Peter Zijlstra wrote: > > On Fri, 2006-11-17 at 12:50 +, moreau francis wrote: > >> > >> lower vma: 0x2aaae000 -> 0x2aaaf000 > >> upper vma: 0x2aaaf000 -> 0x2aab2000 > > > > that is the remaining VMA, not the new one; we trigger this c

Re: [PATCH 2.6.19-rc5-mm2] cpufreq: set policy->curfreq on initialization

2006-11-17 Thread Reuben Farrelly
On 16/11/2006 6:05 AM, Mattia Dongili wrote: Check the correct variable and set policy->cur upon acpi-cpufreq initialization to allow the userspace governor to be used as default. Signed-off-by: Mattia Dongili <[EMAIL PROTECTED]> --- Reuben, could you also try if this patch fixes the BUG()?

Re: [PATCH] retries in ext3_prepare_write() violate ordering requirements

2006-11-17 Thread Kirill Korotaev
Andrew, answers on your questions. >>in journal=ordered or journal=data mode retry in ext3_prepare_write() >>breaks the requirements of journaling of data with respect to metadata. >>The fix is to call commit_write to commit allocated zero blocks before >>retry. >> > > > How was this problem de

Re: how to handle indirect kconfig dependencies

2006-11-17 Thread Stefan Richter
Randy Dunlap wrote: > I have a (randconfig) build of 2.6.19-rc5-mm2 with: [...] > so the question is: > (How) can kconfig follow the dependency chain and either > - prevent this odd config combination or > - see that 'select DEBUG_FS' implies 'select SYSFS' and then enable SYSFS > ? > > I don't be

Re: [v4l-dvb-maintainer] -mm: cx88-blackbird.c: unused code re-added

2006-11-17 Thread Michael Krufky
Adrian Bunk wrote: On Tue, Nov 14, 2006 at 01:41:25AM -0800, Andrew Morton wrote: ... Changes since 2.6.19-rc5-mm2: ... git-dvb.patch ... git trees ... Why does this patch re-add the still unused cx88_ioctl_hook and cx88_ioctl_translator in drivers/media/video/cx88/cx88-blackbird.c

RE: [PATCH 2.6.19-rc5-mm2] cpufreq: set policy->curfreq on initialization

2006-11-17 Thread Pallipadi, Venkatesh
Acked. Andrew: Please include this patch in mm. Thanks, Venki >-Original Message- >From: Mattia Dongili [mailto:[EMAIL PROTECTED] >Sent: Wednesday, November 15, 2006 11:05 AM >To: Pallipadi, Venkatesh; [EMAIL PROTECTED]; Reuben Farrelly; >Andrew Morton; [EMAIL PROTECTED]; linux-kernel

Re: regarding VIA quirk fix

2006-11-17 Thread Alan
On Fri, 17 Nov 2006 19:13:24 +0900 Tejun Heo <[EMAIL PROTECTED]> wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=7415 > > Any ideas how to proceed on this bug? The report appears to be about the earlier patch not the one I did from reading it. That said I don't see it matters which. The on

Re: Kernel.org server problems?

2006-11-17 Thread Stefan Richter
Alistair John Strachan wrote: > On Thursday 16 November 2006 17:56, Chris Leadbeater wrote: >> Thanks for letting us know, the regional mirrors (for ftp.kernel.org, at >> least) seem to work perfectly though. > > Git doesn't seem to be mirrored regionally. FTP and/or HTTP access to /pub/scm/linux

Re : vm: weird behaviour when munmapping

2006-11-17 Thread moreau francis
Peter Zijlstra wrote: > No indeed. You seem confused with remaining and new. > > It has one VMA (A) it needs to split that into two pieces, it happens to > do it like (B,A') where A' is the old VMA object with new a start > address, and B is a new VMA object. Is there any rules to decide which V

Re: [v4l-dvb-maintainer] -mm: cx88-blackbird.c: unused code re-added

2006-11-17 Thread Mauro Carvalho Chehab
Hi Adrian, Em Sex, 2006-11-17 às 13:42 +0100, Adrian Bunk escreveu: > On Tue, Nov 14, 2006 at 01:41:25AM -0800, Andrew Morton wrote: > >... > > Changes since 2.6.19-rc5-mm2: > >... > > git-dvb.patch > >... > > git trees > >... > > Why does this patch re-add the still unused cx88_ioctl_hook and

[-mm patch] drivers/media/video/cafe_ccic.c: make a function static

2006-11-17 Thread Adrian Bunk
On Tue, Nov 14, 2006 at 01:41:25AM -0800, Andrew Morton wrote: >... > Changes since 2.6.19-rc5-mm2: >... > git-dvb.patch >... > git trees >... This patch makes the needlessly global cafe_v4l_dev_release() static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.19-rc5-mm2/drivers/m

[2.6 patch] drivers/rtc/rtc-rs5c372.c: fix a NULL dereference

2006-11-17 Thread Adrian Bunk
The correct order is: NULL check before dereference This was a guaranteed NULL dereference with debugging enabled since rs5c372_sysfs_show_osc() does actually pass NULL... Spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.19-rc5-mm2/drivers/rtc/rtc-r

[-mm patch] remove drivers/pci/search.c:pci_find_device_reverse()

2006-11-17 Thread Adrian Bunk
This patch removes the no longer used pci_find_device_reverse(). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/pci/search.c | 38 -- include/linux/pci.h |1 - 2 files changed, 39 deletions(-) --- linux-2.6.19-rc5-mm2/include/linux/pci.h.o

Re: Re : vm: weird behaviour when munmapping

2006-11-17 Thread Peter Zijlstra
On Fri, 2006-11-17 at 14:12 +, moreau francis wrote: > Peter Zijlstra wrote: > > No indeed. You seem confused with remaining and new. > > > > It has one VMA (A) it needs to split that into two pieces, it happens to > > do it like (B,A') where A' is the old VMA object with new a start > > addr

Re: [Linux-fbdev-devel] Fwd: [Suspend-devel] resume not working on acer ferrari 4005 with radeonfb enabled

2006-11-17 Thread Stuffed Crust
On Fri, Nov 17, 2006 at 05:17:00PM +1100, Benjamin Herrenschmidt wrote: > > radeonfb is still using its own code for saving and restoring PCI > > registers; I'm in the process of fixing it up to use proper PCI > > subsystem calls. That will hopefully work better. > > > > It's possible there's

Re: [-mm patch] remove drivers/pci/search.c:pci_find_device_reverse()

2006-11-17 Thread Alan Cox
On Fri, Nov 17, 2006 at 03:21:45PM +0100, Adrian Bunk wrote: > This patch removes the no longer used pci_find_device_reverse(). > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Alan Cox <[EMAIL PROTECTED]> Soon we should deprecate pci_find_device as well - To unsubscribe from this li

Re: memory hotplug function redefinition/confusion

2006-11-17 Thread Yasunori Goto
Hello. > include/linux/memory_hotplug.h uses CONFIG_NUMA to decide: (snip) > but mm/init.c uses CONFIG_ACPI_NUMA to decide: (snip) > (sic: duplicate function above) Indeed. It is strange. This is a patch for it. Thanks for your report! Bye. This is to fix compile error of x86-64 memo

Re: [patch 2.6.19-rc6] platform_driver_probe(), can save codespace

2006-11-17 Thread Dmitry Torokhov
On 11/17/06, David Brownell <[EMAIL PROTECTED]> wrote: + + /* Fixup that section violation, being paranoid about code scanning +* the list of drivers in order to probe new devices. Check to see +* if the probe was successful, and make sure any forced probes of +* ne

Re: How to go about debuging a system lockup?

2006-11-17 Thread Lennart Sorensen
On Fri, Nov 17, 2006 at 02:43:36PM +0100, Stefan Richter wrote: > If the PCI bus itself isn't brought down, you could debug from remote > using Benjamin Herrenschmidt's Firescope on the remote node and a > FireWire card in the test machine. Once the ohci1394 driver was loaded, > the FireWire contro

Re: Kernel panic in 2.6.19-rc1

2006-11-17 Thread Doug Reiland
Andrew Morton sorry I missed your reply: To recap, I said: FYI, I had to get CONFIG_SYSCTL_SYSCALL set to solve my 2.6.19-rc1 boot panic. Actually, I couldn't get CONFIG_SYSCTL_SYSCALL=y to stick so I modified kernel/sysctl.c's ifdefs. You said: What boot panic was that? It depends

Re: [PATCH] visws: sgivwfb is module needs exports

2006-11-17 Thread James Simmons
Acked-by: James Simmons <[EMAIL PROTECTED]> On Thu, 16 Nov 2006, Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > With CONFIG_FB_SGIVW=m: > WARNING: "sgivwfb_mem_size" [drivers/video/sgivwfb.ko] undefined! > WARNING: "sgivwfb_mem_phys" [drivers/video/sgivwfb.ko] undefined! > >

Re: 2.6.19-rc5-mm2

2006-11-17 Thread Stefan Richter
Mattia Dongili wrote: >>> http://oioio.altervista.org/linux/2.6.19-rc5-mm2-1-ko and http://oioio.altervista.org/linux/config-2.6.19-rc5-mm2-1 | # CONFIG_SYSFS_DEPRECATED is not set | ieee1394: Node removed: ID:BUS[0-00:1023] GUID[080046030227e7bb] | ieee1394: Node removed: ID:BUS[20754571-38:0455

Re: [PATCH][kprobe] enabling booster on the preemptible kernel

2006-11-17 Thread Ingo Molnar
On Fri, 2006-11-17 at 21:35 +0900, Masami Hiramatsu wrote: > From: Masami Hiramatsu <[EMAIL PROTECTED]> > > This patch enables the kprobe-booster on the preemptible kernel. > For this purpose, I introduced a kind of garbage collector of > the instruction slots. This garbage collector checks safety

Re: diabling interrupts on pentium 4 processor

2006-11-17 Thread Doug Reiland
On 11/16/06, ranjith kumar <[EMAIL PROTECTED]> wrote: Hi, How to disable interrupts on pentium 4 (or any i386) machine? I tried to include "cli" instruction in a kernel module. But got runtime error. Are you doing this at the kernel level or application? - To unsubscribe from this

Re: [PATCH -mm 0/2] Use freezeable workqueues to avoid suspend-related XFS corruptions

2006-11-17 Thread Pavel Machek
On Fri 2006-11-17 11:50:52, David Chinner wrote: > On Thu, Nov 16, 2006 at 09:12:49AM +0100, Rafael J. Wysocki wrote: > > Hi, > > > > The following two patches introduce a mechanism that should allow us to > > avoid suspend-related corruptions of XFS without the freezing of bdevs which > > Pavel c

Re: [PATCH 2.6.19 5/5] fs: freeze_bdev with semaphore not mutex

2006-11-17 Thread Pavel Machek
On Fri 2006-11-17 12:40:51, David Chinner wrote: > On Fri, Nov 17, 2006 at 12:40:53AM +0100, Pavel Machek wrote: > > On Fri 2006-11-17 10:23:49, David Chinner wrote: > > > On Sun, Nov 12, 2006 at 11:43:05PM +0100, Rafael J. Wysocki wrote: > > > > On Sunday, 12 November 2006 23:30, David Chinner wro

kernel oops: assertion failure at journal:576 (ext3 issue?)

2006-11-17 Thread John Rouillard
Hello all: We have a few (3) systems that are crashing with: Assertion failure in journal_next_log_block() at fs/jbd/journal.c:576: "journal->j_free > 1" Kernel BUG at journal:576 invalid operand: [1] SMP CPU 1 Modules linked in: md5 ipv6 parport_pc lp parport w83627hf eepro

Re: 2.6.19-rc5-mm2 (Oops in class_device_remove_attrs during nodemgr_remove_host)

2006-11-17 Thread Stefan Richter
I wrote: > Mattia Dongili wrote: http://oioio.altervista.org/linux/2.6.19-rc5-mm2-1-ko > and > http://oioio.altervista.org/linux/config-2.6.19-rc5-mm2-1 > | # CONFIG_SYSFS_DEPRECATED is not set > > | ieee1394: Node removed: ID:BUS[0-00:1023] GUID[080046030227e7bb] > | ieee1394: Node removed:

Re: [PATCH -mm] freeze/thaw fs when BLOCK=n

2006-11-17 Thread Pavel Machek
Hi! > From: Randy Dunlap <[EMAIL PROTECTED]> > > Fix freeze/thaw filesystems with CONFIG_BLOCK disabled: > kernel/power/process.c:124: warning: implicit declaration of function > 'freeze_fil > esystems' > kernel/power/process.c:189: warning: implicit declaration of function > 'thaw_files > yste

kernel oops: assertion failure at journal:576 (ext3 issue?)

2006-11-17 Thread John Rouillard
Hello all: We have a few (3) systems that are crashing with: Assertion failure in journal_next_log_block() at fs/jbd/journal.c:576: "journal->j_free > 1" Kernel BUG at journal:576 invalid operand: [1] SMP CPU 1 Modules linked in: md5 ipv6 parport_pc lp parport w83627hf eepro

2.6.19-rc6 -- dm: possible recursive locking detected

2006-11-17 Thread Heiko Carstens
Sent this a few days ago, but got no response. Probably because I addressed this to the wrong persons. So, next try. With current git tree as of today I get this: = [ INFO: possible recursive locking detected ] 2.6.19-rc6-g1b9bb3c1 #28 -

Re: [Linux-fbdev-devel] Fwd: [Suspend-devel] resume not working on acer ferrari 4005 with radeonfb enabled

2006-11-17 Thread Stuffed Crust
On Fri, Nov 17, 2006 at 01:07:58AM -0500, Stuffed Crust wrote: > http://www.shaftnet.org/users/pizza/radeonfb-atom-2.6.19-v7-WIP1.diff http://www.shaftnet.org/users/pizza/radeonfb-atom-2.6.19-v7-WIP2.diff This incorporates the latest round of BenH's fixes and changes, but backs out the PCI su

Re: 2.6.19-rc5 libata PATA ATAPI CDROM SiS 5513 NOT WORKING

2006-11-17 Thread Ioan Ionita
On 11/17/06, Alan Cox <[EMAIL PROTECTED]> wrote: On Thu, Nov 16, 2006 at 08:34:03PM -0500, Ioan Ionita wrote: > >ata2.00: limiting speed to UDMA/25 > >ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen > >ata2.00: (BMDMA stat 0x20) > >ata2.00: tag 0 cmd 0xa0 Emask 0x5 stat 0x51 err

kobject_add failed with -EEXIST

2006-11-17 Thread Jiri Slaby
Hi! Does anybody have some clue, what could be wrong with the attached module? Kernel complains when the module is insmoded second time (DRIVER_DEBUG enabled): cls_initFIRST TIME device class 'cls_class': registering DEV: registering device: ID = 'cls_device' PM: Ad

NFSROOT with NFS Version 3

2006-11-17 Thread Christoph Pleger
Hello, I tried to switch an NFSROOT-Environment from NFS version 2 to NFS version 3, but unfortunately my test client machine now hangs every time after booting as soon as some bigger file system activity should occur. I tried Kernel 2.6.14.7 and Kernel 2.6.16.32. The problem did not occur with N

Re: smbfs (Re: BUG: soft lockup detected on CPU#0! (2.6.18.2))

2006-11-17 Thread Rasmus Bøg Hansen
Oleg Verych <[EMAIL PROTECTED]> writes: > [ Adding e-mail of Andrew Morton, he may have clue about who to ping ;] > [ MAINTAINERS.smbfs seems to be emply ] > > On 2006-11-14, Rasmus BЬg Hansen wrote: > [] >> [1.] One line summary of the problem: >> >> Kernel BUG's a

Re: sleeping functions called in invalid context during resume

2006-11-17 Thread Rafael J. Wysocki
On Friday, 17 November 2006 07:52, Ingo Molnar wrote: > > * Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > > > BUG: sleeping function called from invalid context at > > > > drivers/base/power/resume.c:99 > > > > in_atomic():1, irqs_disabled():0 > > > > > > > > Call Trace: > > > > [] show

Re: 2.6.19-rc6-rt0, -rt YUM repository

2006-11-17 Thread Lee Revell
On Thu, 2006-11-16 at 23:07 +0100, Ingo Molnar wrote: > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > [...] Should we start a known regression list? > > please resend the bugs that still trigger for you with 2.6.19-rt0. I'm working with the developers of the 64Studio distro who are attempting

Re: [patch 2/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Russell King
On Fri, Nov 17, 2006 at 09:02:10AM -0400, Anderson Briglia wrote: > @@ -366,15 +434,33 @@ static int __init mmc_init(void) > if (ret == 0) { > ret = class_register(&mmc_host_class); > if (ret) > - bus_unregister(&mmc_bus_type); > +

Re: [patch 1/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Russell King
On Fri, Nov 17, 2006 at 09:01:11AM -0400, Anderson Briglia wrote: > Index: linux-omap-2.6.git/drivers/mmc/mmc_sysfs.c > === > --- linux-omap-2.6.git.orig/drivers/mmc/mmc_sysfs.c 2006-11-14 > 08:46:54.0 -0400 > +++ linux-omap

Re: [patch 3/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Russell King
On Fri, Nov 17, 2006 at 09:03:24AM -0400, Anderson Briglia wrote: > @@ -101,7 +104,7 @@ mmc_start_request(struct mmc_host *host, > pr_debug("%s: starting CMD%u arg %08x flags %08x\n", >mmc_hostname(host), mrq->cmd->opcode, >mrq->cmd->arg, mrq->cmd->flags); > -

Re: [patch 4/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Russell King
On Fri, Nov 17, 2006 at 09:11:40AM -0400, Anderson Briglia wrote: > OMAP platform specific patch. > - Add the host MMC lock/unlock capability support. > > Signed-off-by: Carlos Eduardo Aguiar indt.org.br> > Signed-off-by: Anderson Lizardo indt.org.br> > Signed-off-by: Anderson Briglia indt.org.

Re: [patch 5/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Russell King
On Fri, Nov 17, 2006 at 09:12:39AM -0400, Anderson Briglia wrote: > + if (mmc_card_locked(card) && !strncmp(data, "erase", 5)) { > + /* forced erase only works while card is locked */ > + spin_lock(&mmc_lock); > + mmc_lock_unlock(card, NULL, MMC_LOCK_MODE_ERA

Re: [patch 1/6] [RFC] Add MMC Password Protection (lock/unlock) support V6

2006-11-17 Thread Russell King
On Fri, Nov 17, 2006 at 09:01:11AM -0400, Anderson Briglia wrote: > #define MMC_CAP_BYTEBLOCK(1 << 2)/* Can do non-log2 block > sizes */ > +#define MMC_CAP_LOCK_UNLOCK (1 << 3)/* Host password support > capability */ What's the point of this capability. If the host can do

Re: [PATCH] ALSA: hda-intel - Disable MSI support by default

2006-11-17 Thread Yinghai Lu
the fallback path from MSI test to ioapic still not look good. I think you could seperate azx_interrupt_test later. It seems on C51+MCP55 has problem to use MSI for hda. and I have tried two MCP55 only systems, the MSI for hda works well. YH - To unsubscribe from this list: send the line "unsub

Re: 2.6.19-rc6-rt0, -rt YUM repository

2006-11-17 Thread Ingo Molnar
* Lee Revell <[EMAIL PROTECTED]> wrote: > On Thu, 2006-11-16 at 23:07 +0100, Ingo Molnar wrote: > > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > > > [...] Should we start a known regression list? > > > > please resend the bugs that still trigger for you with 2.6.19-rt0. > > I'm working wit

Re: [PATCH -mm 0/2] Use freezeable workqueues to avoid suspend-related XFS corruptions

2006-11-17 Thread Rafael J. Wysocki
On Friday, 17 November 2006 01:50, David Chinner wrote: > On Thu, Nov 16, 2006 at 09:12:49AM +0100, Rafael J. Wysocki wrote: > > Hi, > > > > The following two patches introduce a mechanism that should allow us to > > avoid suspend-related corruptions of XFS without the freezing of bdevs which > >

Re: NFSROOT with NFS Version 3

2006-11-17 Thread Trond Myklebust
On Fri, 2006-11-17 at 16:40 +0100, Christoph Pleger wrote: > Hello, > > I tried to switch an NFSROOT-Environment from NFS version 2 to NFS > version 3, but unfortunately my test client machine now hangs every time > after booting as soon as some bigger file system activity should occur. > I tried

Re: [PATCH take 2] Atmel MACB ethernet driver

2006-11-17 Thread Haavard Skinnemoen
On Thu, 16 Nov 2006 17:20:04 +0100 Wojtek Kaniewski <[EMAIL PROTECTED]> wrote: > Haavard Skinnemoen wrote: > > Driver for the Atmel MACB on-chip ethernet module. > > > > Tested on AVR32/AT32AP7000/ATSTK1000. I've heard rumours that it > > works with AT91SAM9260 as well, and it may be possible to

Re: sleeping functions called in invalid context during resume

2006-11-17 Thread Stephen Hemminger
On Fri, 17 Nov 2006 16:46:05 +0100 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > On Friday, 17 November 2006 07:52, Ingo Molnar wrote: > > > > * Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > > > > > BUG: sleeping function called from invalid context at > > > > > drivers/base/power/resum

[patch 2.6.19-rc6] fix warning in speedstep-centrino.c

2006-11-17 Thread Holger Schurig
Fixes warning: 'sw_any_bug_dmi_table' defined but not used Signed-off-by: Holger Schurig <[EMAIL PROTECTED]> --- linux.orig/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c +++ linux/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c @@ -385,6 +385,7 @@ * detected, this has a side effect of mak

Re: [PATCH] ALSA: hda-intel - Disable MSI support by default

2006-11-17 Thread Linus Torvalds
On Fri, 17 Nov 2006, Yinghai Lu wrote: > > the fallback path from MSI test to ioapic still not look good. I don't think there should be a fallback at all. Let's just: - keep MSI disabled by default for now, until we know what's really going on (and we can try enabling it every once in a w

  1   2   3   4   >