Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-30 Thread Satyam Sharma
On Mon, 30 Jul 2007, Matthias Kaehlcke wrote: [...] The Host AP driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] Reviewed-by: Satyam Sharma [EMAIL PROTECTED] - To unsubscribe from this list: send

Re: Q: PCI-X @ 266MHz on HP rx6600 (Qlogic 4Gb FC HBA)

2007-07-30 Thread Ulrich Windl
On 27 Jul 2007 at 9:46, Andrew Patterson wrote: On Thu, 2007-07-26 at 23:23 -0700, Andrew Vasquez wrote: On Thu, 26 Jul 2007, Andrew Patterson wrote: On Thu, 2007-07-26 at 15:36 +0200, Ulrich Windl wrote: Hi, I have a question: The Qlogic ISP2422 chip is said to handle PCI-X

Re: bug in slab.c

2007-07-30 Thread Andrew Morton
On Sun, 29 Jul 2007 09:37:39 +0200 Robert Schwebel [EMAIL PROTECTED] wrote: Hi, My Dell Latitude D520 just dies with this BUG: Reproducible, I assume. --8--8--8--8-- Jul 29 09:30:00 localhost kernel: [ cut here ] Jul 29

Re: [PATCH] remove hugetlb_instantiation_mutex

2007-07-30 Thread Zhang, Yanmin
On Fri, 2007-07-27 at 11:37 -0500, Adam Litke wrote: Hey... I am amazed at how quickly you came back with a patch for this :) Thanks for looking at it. Unfortunately there is one show-stopper and I have some reservations (pun definitely intended) with your approach: Thanks for your great

Re: [PATCH 0/2] Introduce CONFIG_HIBERNATION and CONFIG_SUSPEND (updated)

2007-07-30 Thread Rafael J. Wysocki
On Monday, 30 July 2007 02:21, Linus Torvalds wrote: Ok, I took this, and modified Len's patch to re-introduce ACPI_SLEEP on top of it (I took the easy way out, and just made PM_SLEEP imply ACPI_SLEEP, which should make everything come out right. I could have dropped ACPI_SLEEP entirely

Re: 2.6.20-2.6.21 - networking dies after random time

2007-07-30 Thread Marcin Ślusarz
2007/7/26, Ingo Molnar [EMAIL PROTECTED]: (..) yeah - i meant to cover both arches but forgot about x86_64 - updated patch attached below. Ingo - Subject: x86: activate HARDIRQS_SW_RESEND From: Ingo Molnar [EMAIL PROTECTED] activate the software-triggered

Re: [PATCH] ia64: Remove a few duplicate includes

2007-07-30 Thread Jes Sorensen
Jesper Juhl wrote: (sorry about the duplicate mail, forgot a recipient first time) Hi, This patch removes a few duplicate includes from arch/ia64/ Please consider merging :-) Signed-off-by: Jesper Juhl [EMAIL PROTECTED] sn2/Altix portion is fine with me, so. Acked-by: Jes Sorensen [EMAIL

Re: Linus 2.6.23-rc1

2007-07-30 Thread Ingo Molnar
* George Sescher [EMAIL PROTECTED] wrote: On 30/07/07, Ingo Molnar [EMAIL PROTECTED] wrote: i'd encourage you to do it - in fact i already tried to prod Peter Williams into doing exactly that ;) The more reality checks a scheduler has, the better. [ Btw., after the obvious initial

[PATCH] Add CTL_PROC back

2007-07-30 Thread Alexey Dobriyan
commit eab03ac7bd3e0da99eb9dc068772a85a5e3f3577 aka [PATCH] Get rid of /proc/sys/proc was good commit except strace(1) compile breakage it introduced: system.c:1581: error: 'CTL_PROC' undeclared here (not in a function) So, add dummy enum back. Signed-off-by: Alexey Dobriyan [EMAIL

Re: System clock frequency offset changes drastically across reboots

2007-07-30 Thread John Sigler
[ Expanding recipients list ] John Sigler wrote: I'm using 2.6.20.7-rt8 on a P3. But some ntpd users have reported the problem with mainline kernels and different versions. I've noticed that the frequency offset of my system clock (computed either by ntpd, or by hand) changes drastically

Re: [BUG] i386 relocable kernel breakes /proc/kcore debugging

2007-07-30 Thread Vivek Goyal
On Sat, Jul 28, 2007 at 04:43:43AM +0300, Maxim Levitsky wrote: Hello, Today I noticed that gdb gets confused when I try to load a vmlinux image. gdb 'thinks' that all kernel symbols are below 0x8000 , while they are at 0xC000 Turning CONFIG_RELOCATABLE off fixes that, so I

Re: [linux-usb-devel] [PATCH] USB Pegasus driver - avoid a potential NULL pointer dereference.

2007-07-30 Thread Petko Manolov
On Sun, 29 Jul 2007, Oliver Neukum wrote: Am Sonntag 29 Juli 2007 schrieb Jesper Juhl: On 29/07/07, Satyam Sharma [EMAIL PROTECTED] wrote: Hi, On 7/29/07, Jesper Juhl [EMAIL PROTECTED] wrote: Hello, This patch makes sure we don't dereference a NULL pointer in

Re: md: raid10: fix use-after-free of bio

2007-07-30 Thread Maik Hampel
Am Samstag, den 28.07.2007, 23:55 -0700 schrieb Andrew Morton: On Fri, 27 Jul 2007 16:46:23 +0200 Maik Hampel [EMAIL PROTECTED] wrote: In case of read errors raid10d tries to print a nice error message, unfortunately using data from an already put bio. Signed-off-by: Maik Hampel [EMAIL

RE: cris port lacks a merge?

2007-07-30 Thread Mikael Starvik
I will make another try soon. The problem is that every time I try the following happens: 1. I download the bleeding edge latest stuff that you can get 2. I prepare and submit patches 3. I get replies with comments on my patches 4. I fix the patches. 5. I get told that the patches are against a

RE: [PATCH 3/5 v3] Add the platform device support with RapidIO to MPC8641HPCN platform.

2007-07-30 Thread Zhang Wei-r63237
Hi, Arnd, I can change it as you metioned now. Thanks! -zw -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnd Bergmann Sent: Sunday, July 29, 2007 9:57 PM To: [EMAIL PROTECTED] Cc: Zhang Wei-r63237; [EMAIL PROTECTED]; [EMAIL PROTECTED];

Re: LinuxPPS spinlocks

2007-07-30 Thread Rodolfo Giometti
On Mon, Jul 30, 2007 at 09:49:20AM +0530, Satyam Sharma wrote: Hmm? I still don't see why you can't introduce spin_lock_irqsave/restore() in pps_event() around the access to pps_source. In pps_event() is not useful using spin_lock_irqsave/restore() since the only difference between

Re: [linux-usb-devel] [PATCH] USB Pegasus driver - avoid a potential NULL pointer dereference.

2007-07-30 Thread Satyam Sharma
On Mon, 30 Jul 2007, Petko Manolov wrote: On Sun, 29 Jul 2007, Oliver Neukum wrote: [...] pegasus == NULL there would be a kernel bug. Silently ignoring it, like the code now wants to do is bad. As the oops has never been reported, I figure turning it into an explicit debugging test

Re: md: raid10: fix use-after-free of bio

2007-07-30 Thread Neil Brown
On Monday July 30, [EMAIL PROTECTED] wrote: Surely we just leaked that bio if (mirror == -1)? better: --- a/drivers/md/raid10.c~md-raid10-fix-use-after-free-of-bio +++ a/drivers/md/raid10.c @@ -1534,7 +1534,6 @@ static void raid10d(mddev_t *mddev) bio =

Re: 2.6.20-2.6.21 - networking dies after random time

2007-07-30 Thread Ingo Molnar
* Alan Cox [EMAIL PROTECTED] wrote: Ok the logic behind the 8390 is very simple: thanks for the explanation Alan! A few comments and a question: Things to know - IRQ delivery is asynchronous to the PCI bus - Blocking the local CPU IRQ via spin locks was too slow - The

Re: 2.6.20-2.6.21 - networking dies after random time

2007-07-30 Thread Ingo Molnar
* Marcin Ślusarz [EMAIL PROTECTED] wrote: Subject: x86: activate HARDIRQS_SW_RESEND From: Ingo Molnar [EMAIL PROTECTED] activate the software-triggered IRQ-resend logic. This patch didn't help (tested on 2.6.22.1) - ne2k_pci timed out. ok. This makes it more likely that the driver

Re: LinuxPPS spinlocks

2007-07-30 Thread Rodolfo Giometti
On Mon, Jul 30, 2007 at 10:33:35AM +0530, Satyam Sharma wrote: Fair enough, but I think the code could become a trifle simpler/easier after the conversion, so probably greater chances of getting merged :-) I see. I'll start thinging about it. But that's alright -- see, as I said, you're

Re: [BUG] i386 relocable kernel breakes /proc/kcore debugging

2007-07-30 Thread Jan Kratochvil
On Mon, 30 Jul 2007 10:03:03 +0200, Vivek Goyal wrote: On Sat, Jul 28, 2007 at 04:43:43AM +0300, Maxim Levitsky wrote: ... gdb 'thinks' that all kernel symbols are below 0x8000 , while they are at 0xC000 Turning CONFIG_RELOCATABLE off fixes that, so I assume that is the

Re: LinuxPPS spinlocks

2007-07-30 Thread Rodolfo Giometti
On Mon, Jul 30, 2007 at 10:39:38AM +0530, Satyam Sharma wrote: Nopes, this isn't quite correct/safe. I suggest you should read: http://www.kernel.org/pub/linux/kernel/people/rusty/kernel-locking/ I read it but still I don't see why my solution isn't correct/safe. :) Can you please propose

Re: LinuxPPS spinlocks

2007-07-30 Thread Satyam Sharma
Hi, On Mon, 30 Jul 2007, Rodolfo Giometti wrote: On Mon, Jul 30, 2007 at 09:49:20AM +0530, Satyam Sharma wrote: Hmm? I still don't see why you can't introduce spin_lock_irqsave/restore() in pps_event() around the access to pps_source. In pps_event() is not useful using

Re: [PATCH] fs/partitions/check.c: add_partition() warning fixes

2007-07-30 Thread Cornelia Huck
On Sun, 29 Jul 2007 10:53:39 +0800, Eugene Teo [EMAIL PROTECTED] wrote: @@ -388,20 +389,34 @@ void add_partition(struct gendisk *disk, int part, sector_t start, sector_t len, p-kobj.parent = disk-kobj; p-kobj.ktype = ktype_part; kobject_init(p-kobj); -

Re: LinuxPPS spinlocks

2007-07-30 Thread Satyam Sharma
On Mon, 30 Jul 2007, Rodolfo Giometti wrote: On Mon, Jul 30, 2007 at 10:33:35AM +0530, Satyam Sharma wrote: Fair enough, but I think the code could become a trifle simpler/easier after the conversion, so probably greater chances of getting merged :-) I see. I'll start thinging about

Re: [patch] add kdump_after_notifier

2007-07-30 Thread Vivek Goyal
On Fri, Jul 27, 2007 at 08:28:48AM +0900, Takenori Nagano wrote: Hi Vivek, Vivek Goyal wrote: On Thu, Jul 26, 2007 at 05:47:18PM +0200, Bernhard Walle wrote: * Vivek Goyal [EMAIL PROTECTED] [2007-07-26 17:44]: Of course, but that's why the patch doesn't change this by default but gives

Re: LinuxPPS spinlocks

2007-07-30 Thread Satyam Sharma
Hi Rodolfo, On Mon, 30 Jul 2007, Rodolfo Giometti wrote: On Mon, Jul 30, 2007 at 10:39:38AM +0530, Satyam Sharma wrote: Nopes, this isn't quite correct/safe. I suggest you should read: http://www.kernel.org/pub/linux/kernel/people/rusty/kernel-locking/ I read it but still I don't

Re: [PATCH] MIPS: add smp_call_function_single()

2007-07-30 Thread Stephane Eranian
Hello, Thanks for catching this. We will resubmit an updated version. PHil, Peter, would you be able/willing to do this? thanks. On Sat, Jul 28, 2007 at 11:19:50AM +0200, Heiko Carstens wrote: On Fri, Jul 27, 2007 at 06:53:23AM -0700, Stephane Eranian wrote: Ralf, Here is take 2.

Re: [PATCH -rt 1/9] preempt rcu: check for underflow

2007-07-30 Thread Ingo Molnar
* Daniel Walker [EMAIL PROTECTED] wrote: + /* + * If our rcu_read_lock_nesting went negative, likely + * something is wrong.. + */ + WARN_ON(current-rcu_read_lock_nesting 0); have you actually caught any rcu locking problem this way? Double unlocks should be caught

Re: [PATCH -rt 2/9] Dont allow non-threaded softirqs and threaded hardirqs

2007-07-30 Thread Ingo Molnar
* Daniel Walker [EMAIL PROTECTED] wrote: From: Steven Rostedt [EMAIL PROTECTED] I think this was sent before, and it did cause problems before. Would there be *any* reason to have non-threaded softirqs but threaded hardirqs. I can see lots of issues with that. please elaborate in

Re: [PATCH -rt 3/9] Fix jiffies wrap issue in update_times

2007-07-30 Thread Ingo Molnar
* Daniel Walker [EMAIL PROTECTED] wrote: In prior -rt verisons the last_tick value was called wall_jiffies and was initialized in this same way as below. If this value isn't initialized the calc_load function gets skewed for several minutes right after boot up. Skewed meaning always zero.

Re: Linus 2.6.23-rc1

2007-07-30 Thread George Sescher
* George Sescher [EMAIL PROTECTED] wrote: On 30/07/07, Ingo Molnar [EMAIL PROTECTED] wrote: i'd encourage you to do it - in fact i already tried to prod Peter Williams into doing exactly that ;) The more reality checks a scheduler has, the better. [ Btw., after the obvious

Re: [PATCH -rt 4/9] ifdef raise_softirq_irqoff wakeup

2007-07-30 Thread Ingo Molnar
* Daniel Walker [EMAIL PROTECTED] wrote: @@ -508,7 +508,9 @@ inline fastcall void raise_softirq_irqof { __do_raise_softirq_irqoff(nr); +#ifdef CONFIG_PREEMPT_SOFTIRQS wakeup_softirqd(nr); +#endif thanks, applied. People rarely run the -rt kernel just to turn off

Re: [PATCH -rt 5/9] net: fix mis-merge in qdisc_restart

2007-07-30 Thread Ingo Molnar
* Daniel Walker [EMAIL PROTECTED] wrote: This mismerge caused my networking to malfunction. The interface would come up, but no traffic would make it in/out .. your patch only affects the !CONFIG_PREEMPT_RT case, so with that qualification indeed that happened, and i've applied your fix.

[PATCH] remove unused TIF_NOTIFY_RESUME (take 2)

2007-07-30 Thread Stephane Eranian
Hello, This following patch removes the TIF_NOTIFY_RESUME flag for thread_info. It is unused on all but the IA-64 architecture. This is take 2 of this patch. In this version, The definition is removed but no re-numbering of the TIF flags is done to minimize the possibility of errors and reduce

Re: [PATCH -rt 6/9] spinlock/rt_lock random cleanups

2007-07-30 Thread Ingo Molnar
* Daniel Walker [EMAIL PROTECTED] wrote: spinlock/rt_lock random cleanups thanks, applied. Ingo - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: checkpatch.pl false positive on exported pointers

2007-07-30 Thread Andy Whitcroft
Dan Williams wrote: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable #563: FILE: drivers/scsi/iioc34x/iioc34x_sas.c:58: +EXPORT_SYMBOL(iioc34x_transport_template); drivers/scsi/iioc34x/iioc34x_sas.c:57 struct scsi_transport_template *iioc34x_transport_template;

Re: [ck] Re: RFT: updatedb morning after problem [was: Re: -mm merge plans for 2.6.23]

2007-07-30 Thread Helge Hafting
Matthew Hawkins wrote: updatedb by itself doesn't really bug me, its just that on occasion its still running at 7am You should start it earlier then - assuming it doesn't already start at the earliest opportunity? Helge Hafting - To unsubscribe from this list: send the line unsubscribe

Re: serial flow control appears broken

2007-07-30 Thread Maciej W. Rozycki
On Fri, 27 Jul 2007, Robert Hancock wrote: The TTY line discipline driver could do that based on the amount of received data present in its buffer. And it should if asked to (a brief look at drivers/char/n_tty.c reveals it does; obviously there may be a bug Really, where? In my look

Re: [BUG] i386 relocable kernel breakes /proc/kcore debugging

2007-07-30 Thread Maxim Levitsky
On Monday 30 July 2007 11:41, Jan Kratochvil wrote: On Mon, 30 Jul 2007 10:03:03 +0200, Vivek Goyal wrote: On Sat, Jul 28, 2007 at 04:43:43AM +0300, Maxim Levitsky wrote: ... gdb 'thinks' that all kernel symbols are below 0x8000 , while they are at 0xC000 Turning

Re: serial flow control appears broken

2007-07-30 Thread Maciej W. Rozycki
On Fri, 27 Jul 2007, Lee Howard wrote: The serial drivers have nothing to do about it -- all they can do is pushing data upstream, to the discipline driver. They can provide an interface to hardware flow control features though, if implemented by a given UART. Thank you for this

Re: serial flow control appears broken

2007-07-30 Thread Maciej W. Rozycki
On Fri, 27 Jul 2007, Paul Fulghum wrote: I can't see anyplace in serial_core.c or 8250.c that sets TTY_OVERRUN. Look for UART_LSR_OE in 8250.c -- the serial core accepts any bit that has been defined by the low-level driver and sets TTY_OVERRUN in uart_insert_char(). Maciej - To

Re: [PATCH -rt 7/9] introduce PICK_FUNCTION

2007-07-30 Thread Peter Zijlstra
On Sun, 2007-07-29 at 19:45 -0700, Daniel Walker wrote: +#undef TYPE_EQUAL +#define TYPE_EQUAL(var, type) \ + __builtin_types_compatible_p(typeof(var), type *) + If you're going to touch this code, could you perhaps change TYPE_EQUAL to do as it says and read like so:

Re: [PATCH] fs/partitions/check.c: add_partition() warning fixes

2007-07-30 Thread Eugene Teo
Hi Cornelia, Cornelia Huck wrote: On Sun, 29 Jul 2007 10:53:39 +0800, Eugene Teo [EMAIL PROTECTED] wrote: [...] +return; + +err_out_del_link: +sysfs_remove_link(p-kobj, subsystem); You need a remove uevent if you did an add uevent above. +err_out_del_kobj: +

Re: serial flow control appears broken

2007-07-30 Thread Maciej W. Rozycki
On Sat, 28 Jul 2007, Russell King wrote: Essentially, any complex interrupt handler (such as an IDE interrupt doing a multi-sector PIO transfer _in interrupt context_) can cause this kind of starvation. That's why Linux 1.x had bottom halves - so that the time consuming work could be moved

[PATCH] fs/partitions/check.c: add_partition() warning fixes (take 2)

2007-07-30 Thread Eugene Teo
This patch fixes these warnings: fs/partitions/check.c: In function 'add_partition': fs/partitions/check.c:391: warning: ignoring return value of 'kobject_add', declared with attribute warn_unused_result fs/partitions/check.c:394: warning: ignoring return value of

Re: [PATCH 2/2] Debug handling of early spurious interrupts

2007-07-30 Thread Fernando Luis Vázquez Cao
On Fri, 2007-07-20 at 14:43 -0700, Andrew Morton wrote: On Fri, 20 Jul 2007 11:20:43 +0900 Fernando Luis V__zquez Cao [EMAIL PROTECTED] wrote: With the advent of kdump it is possible that device drivers receive interrupts generated in the context of a previous kernel. Ideally quiescing

Re: 2.6.23-rc1-mm1

2007-07-30 Thread Dave Young
Hi, I get an oops when trying to mount an ISO file using the loopback device. If I revert the patch 'loop-use-unlocked_ioctl.patch' the mount works. Here's the oops: [ 85.697033] Unable to handle kernel NULL pointer dereference at 0100 RIP: [ 85.702528]

Re: serial flow control appears broken

2007-07-30 Thread Russell King
On Mon, Jul 30, 2007 at 10:45:19AM +0100, Maciej W. Rozycki wrote: On Sat, 28 Jul 2007, Russell King wrote: Essentially, any complex interrupt handler (such as an IDE interrupt doing a multi-sector PIO transfer _in interrupt context_) can cause this kind of starvation. That's why Linux

Re: [PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-30 Thread Gabriel C
Rusty Russell wrote: On Mon, 2007-07-30 at 06:18 +0530, Satyam Sharma wrote: On 7/30/07, Rusty Russell [EMAIL PROTECTED] wrote: +config LGUEST_NET + tristate + depends on LGUEST_GUEST NET default y ? Thanks, that does work better. Clean configs get an N otherwise 8( I

Re: Linus 2.6.23-rc1

2007-07-30 Thread Ingo Molnar
* George Sescher [EMAIL PROTECTED] wrote: * George Sescher [EMAIL PROTECTED] wrote: On 30/07/07, Ingo Molnar [EMAIL PROTECTED] wrote: i'd encourage you to do it - in fact i already tried to prod Peter Williams into doing exactly that ;) The more reality checks a

Re: [2.6 patch] mm/page_alloc.c: make code static

2007-07-30 Thread Mel Gorman
On (29/07/07 16:58), Adrian Bunk didst pronounce: This patch makes needlessly global code static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Seems fair. Acked-by: Mel Gorman [EMAIL PROTECTED] --- mm/page_alloc.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---

Re: [PATCH] fs/partitions/check.c: add_partition() warning fixes (take 2)

2007-07-30 Thread Cornelia Huck
On Mon, 30 Jul 2007 17:47:55 +0800, Eugene Teo [EMAIL PROTECTED] wrote: +err_out_del_link: + sysfs_remove_link(p-kobj, subsystem); +err_out_del_kobj: + if (!disk-part_uevent_suppress) + kobject_uevent(p-kobj, KOBJ_REMOVE); + kobject_put(p-kobj); +err_out: +

Re: ATA scsi driver misbehavior under kdump capture kernel

2007-07-30 Thread Tejun Heo
Hello, Cliff. Cliff Wickman wrote: I've run into a problem with the ATA SCSI disk driver when running in a kdump dump-capture kernel. I'm running on 2-processor x86_64 box. It has 2 scsi disks, /dev/sda and /dev/sdb My kernel is 2.6.22, and built to be a dump capturing kernel loaded by

Re: [SPARC32] NULL pointer derefference

2007-07-30 Thread Mark Fortescue
Hi David, Thanks for the comments. On Sun, 29 Jul 2007, David Miller wrote: From: Mark Fortescue [EMAIL PROTECTED] Date: Mon, 30 Jul 2007 03:18:42 +0100 (BST) Unfortunatly Sparc32 sun4c low level memory management apears to be incompatible with commit

Re: [2.6.22] negative time jump

2007-07-30 Thread Vasily Averin
Groundhog Day? Vasily Averin wrote: [EMAIL PROTECTED] ~]# echo 1 /proc/timer_stats [EMAIL PROTECTED] ~]# cat /proc/timer_stats Timer Stats Version: v0.1 Sample period: 17.992 s 0 total events [EMAIL PROTECTED] ~]# cat /proc/timer_stats Timer Stats Version: v0.1 Sample period: -4366.278 s

Re: [PATCH] fs/partitions/check.c: add_partition() warning fixes (take 2)

2007-07-30 Thread Eugene Teo
Cornelia Huck wrote: On Mon, 30 Jul 2007 17:47:55 +0800, Eugene Teo [EMAIL PROTECTED] wrote: +err_out_del_link: +sysfs_remove_link(p-kobj, subsystem); +err_out_del_kobj: +if (!disk-part_uevent_suppress) +kobject_uevent(p-kobj, KOBJ_REMOVE); +kobject_put(p-kobj);

Re: cris port lacks a merge?

2007-07-30 Thread Adrian Bunk
On Mon, Jul 30, 2007 at 09:44:19AM +0200, Mikael Starvik wrote: I will make another try soon. The problem is that every time I try the following happens: 1. I download the bleeding edge latest stuff that you can get 2. I prepare and submit patches 3. I get replies with comments on my

Re: [PATCH] mips: remove some duplicate includes

2007-07-30 Thread Ralf Baechle
On Sun, Jul 29, 2007 at 11:59:35PM +0200, Jesper Juhl wrote: Thanks, applied. Ralf - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

[PATCH] fs/partitions/check.c: add_partition() warning fixes (take 3)

2007-07-30 Thread Eugene Teo
This patch fixes these warnings: fs/partitions/check.c: In function 'add_partition': fs/partitions/check.c:391: warning: ignoring return value of 'kobject_add', declared with attribute warn_unused_result fs/partitions/check.c:394: warning: ignoring return value of

Re: [PATCH] fs/partitions/check.c: add_partition() warning fixes (take 3)

2007-07-30 Thread Cornelia Huck
On Mon, 30 Jul 2007 19:16:38 +0800, Eugene Teo [EMAIL PROTECTED] wrote: +err_out_del_link: + sysfs_remove_link(p-kobj, subsystem); +err_out_del_uevent: + if (!disk-part_uevent_suppress) + kobject_uevent(p-kobj, KOBJ_REMOVE); You're missing kobject_del() here...

[PATCH] drivers/usb/host/u132-hcd.c - Fix a warning when CONFIG_PM=n

2007-07-30 Thread Gabriel C
Hi, I noticed this warning with CONFING_PM=n ... drivers/usb/host/u132-hcd.c:1525: warning: 'port_power' defined but not used ... Signed-off-by: Gabriel Craciunescu [EMAIL PROTECTED] --- drivers/usb/host/u132-hcd.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

Re: [PATCH -rt 2/9] Dont allow non-threaded softirqs and threaded hardirqs

2007-07-30 Thread Steven Rostedt
-- On Mon, 30 Jul 2007, Ingo Molnar wrote: From: Steven Rostedt [EMAIL PROTECTED] I think this was sent before, and it did cause problems before. Would there be *any* reason to have non-threaded softirqs but threaded hardirqs. I can see lots of issues with that. please elaborate in

[PATCH] fs/partitions/check.c: add_partition() warning fixes (take 4)

2007-07-30 Thread Eugene Teo
This patch fixes these warnings: fs/partitions/check.c: In function 'add_partition': fs/partitions/check.c:391: warning: ignoring return value of 'kobject_add', declared with attribute warn_unused_result fs/partitions/check.c:394: warning: ignoring return value of

Re: [ck] Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1)

2007-07-30 Thread Ingo Molnar
* John [EMAIL PROTECTED] wrote: On 7/29/07, Ingo Molnar [EMAIL PROTECTED] wrote: * John [EMAIL PROTECTED] wrote: Ingo- Why not perform the same test using the native linux Q3 client to compare numbers to wine? [...] I regularly test native Linux games on CFS, and they

Re: pci=assign-busses

2007-07-30 Thread Adrian Bunk
Bernhard? cu Adrian On Mon, Jul 30, 2007 at 10:29:07AM +0200, Alois Nešpor wrote: Hello, I view dmesg and find: PCI: Bus #0b (-#0e) is hidden behind transparent bridge #0a (-#0b) (try 'pci=assign-busses') Please report the result to linux-kernel to fix this permanently First, i have

Question regarding process' final mmdrop

2007-07-30 Thread RG
Hello, I've been reading through the kernel source code trying to figure out when the final mmdrop() after a exit_mm() is called on a task that is having its virtual address deleted. I have discovered one instance in finish_task_switch(), the local variable mm is set (for a single access) to

Re: PCI Quirk / Hidden Bus Report

2007-07-30 Thread Adrian Bunk
Bernhard? cu Adrian On Wed, Jul 18, 2007 at 11:33:55PM -0400, pat-lkml wrote: I received: PCI: Bus #0b (-#0e) is hidden behind transparent bridge #0a (-#0a) (try 'pci=assign-busses') Please report the result to linux-kernel to fix this permanently in my dmesg in 2.6.22, and am

Re: [PATCH] fs/partitions/check.c: add_partition() warning fixes (take 4)

2007-07-30 Thread Cornelia Huck
On Mon, 30 Jul 2007 19:38:47 +0800, Eugene Teo [EMAIL PROTECTED] wrote: This patch fixes these warnings: fs/partitions/check.c: In function 'add_partition': fs/partitions/check.c:391: warning: ignoring return value of 'kobject_add', declared with attribute warn_unused_result

Re: [-mm patch] security/ cleanups

2007-07-30 Thread James Morris
On Sun, 29 Jul 2007, Adrian Bunk wrote: This patch contains the following cleanups that are now possible: - remove the unused security_operations-inode_xattr_getsuffix - remove the no longer used security_operations-unregister_security - remove some no longer required exit code - remove a

Re: mm/sparse.c compile error ( Re: 2.6.23-rc1-mm1 )

2007-07-30 Thread Andy Whitcroft
Andrew Morton wrote: On Sat, 28 Jul 2007 19:07:22 +0200 Gabriel C [EMAIL PROTECTED] wrote: Hi, next randconfig error ( http://194.231.229.228/MM/randconfig-auto-87.mm_sparse.error ) ... mm/sparse.c: In function 'sparse_init': mm/sparse.c:482: error: implicit declaration of function

Re: [PATCH][netfilter] Avoid a possible NULL pointer deref in recent_seq_open()

2007-07-30 Thread Patrick McHardy
Jesper Juhl wrote: There is a small problem in net/ipv4/netfilter/ipt_recent.c::recent_seq_open(). If the call to seq_open() returns != 0 then the code calls kfree(st) but then on the very next line proceeds to dereference the pointer - not good. Applied, thanks Jesper. - To

Re: [2.6 patch] make nf_ct_ipv6_skip_exthdr() static

2007-07-30 Thread Patrick McHardy
Adrian Bunk wrote: nf_ct_ipv6_skip_exthdr() can now become static. Applied, thanks. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH] usbhid: add ASUS LCM to the blacklist

2007-07-30 Thread Jiri Kosina
On Fri, 27 Jul 2007, Christian Lamparter wrote: Some of ASUS' notebooks (e.g G Series) include a tiny oled display, which is attached to an internal USB bus. Unfortunatly the device reports a wrong DeviceDescriptor and is therefore identified as a HID device... Hi Christian, I have slightly

Re: Testing of CPRM on SD Card

2007-07-30 Thread Alan Cox
On Mon, 30 Jul 2007 11:20:58 +0530 Sriram, Kannan [EMAIL PROTECTED] wrote: Midhun, There is no open-source implementation of CPRM (SD-Audio/ SD-Bind standards). So first of all, you need to license keys from 4C (device keys, media keys etc) and do your own implementation. Also remember

Re: pci=assign-busses

2007-07-30 Thread Damien Wyart
Hello, Another report of the same kind. Box is an HP/Compaq nx7400. Before/after use of pci= option dmesgs attached. -- Damien Wyart Jul 23 11:41:06 dalpdw2 kernel: Linux version 2.6.23-rc1-23072007dw ([EMAIL PROTECTED]) (gcc version 4.1.3 20070629 (prerelease) (Debian 4.1.2-13)) #1 SMP Mon

Re: [ofa-general] [PATCH 1/2] ehca: remove checkpatch.pl's warnings externs should be avoided in .c files

2007-07-30 Thread Hoang-Nam Nguyen
Hi Roland! the patch looks fine except your mailer seems to have mangled it... can you resend so I can apply it? Was going to recreate this patch, but then I saw that you probably have incorporated it (manually) in your latest git. Just want to make sure I'm seeing it right. Anyway, appreciate

Re: 2.6.20-2.6.21 - networking dies after random time

2007-07-30 Thread Alan Cox
So the whole locking is to be able to keep irqs enabled for a long time, without risking entry of the same IRQ handler on this same CPU, correct? As implemented - on any CPU. We also need to know that the IRQ handler is not doing useful work on another processor which is why we take the lock

Re: 2.6.23-rc1, KVM-AMD problem

2007-07-30 Thread Avi Kivity
Alistair John Strachan wrote: On Sunday 29 July 2007 14:47:57 you wrote: Alistair John Strachan wrote: On Sunday 29 July 2007 12:34:28 you wrote: [snip] Doesn't help, I still get the same crashes. I tried 2.6.22 again and it's rock solid by comparison. Do you mean,

Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Hirokazu Takata
Hi, Alexery, This change breaks m32r, too. Don't forget updating the other archs, please. From: Linus Torvalds [EMAIL PROTECTED] Subject: Re: [PATCH] Remove fs.h from mm.h Date: Sun, 29 Jul 2007 17:08:20 -0700 (PDT) On Mon, 30 Jul 2007, Alexey Dobriyan wrote: Cross-compile tested without

rpc.mountd crashes when extensively using netgroups

2007-07-30 Thread Stefan Walter
Hi all, we are seeing rpc.mountd crashes on our Red Hat EL4 systems. We have tracked down the bug and it seems to be still present in the current nfs-utils source. We are making extensive use of netgroups for NFS exports. On a large file server with hundreds of home directories we export every

Re: [2.6 patch] kernel/audit.c: change the exports to EXPORT_SYMBOL_GPL

2007-07-30 Thread Steve Grubb
On Sunday 29 July 2007 11:02:33 Adrian Bunk wrote: They are still completely unused, but hopefully some of the theoretical code that might use it will appear in the kernel in the near future... Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Steve Grubb [EMAIL PROTECTED] I am

Re: [PATCH][hid] Fix a NULL pointer dereference when we fail to allocate memory

2007-07-30 Thread Jiri Kosina
On Sun, 22 Jul 2007, Jesper Juhl wrote: If, in usb_hid_configure(), we fail to allocate storage for 'usbhid', if (!(usbhid = kzalloc(sizeof(struct usbhid_device), GFP_KERNEL))), then we'll jump to the 'fail:' label where we have this code: usb_free_urb(usbhid-urbin);

[PATCH] drivers/isdn/hisax/* - Fix some warnings when CONFIG_PCI=n

2007-07-30 Thread Gabriel C
Hi, I noticed some warning when CONFIG_PCI=n ... drivers/isdn/hisax/elsa.c:835: warning: 'dev_qs1000' defined but not used drivers/isdn/hisax/elsa.c:836: warning: 'dev_qs3000' defined but not used drivers/isdn/hisax/gazel.c:539: warning: 'setup_gazelpci' defined but not used

Re: [2.6 patch] kernel/audit.c: change the exports to EXPORT_SYMBOL_GPL

2007-07-30 Thread Adrian Bunk
On Mon, Jul 30, 2007 at 09:18:41AM -0400, Steve Grubb wrote: On Sunday 29 July 2007 11:02:33 Adrian Bunk wrote: They are still completely unused, but hopefully some of the theoretical code that might use it will appear in the kernel in the near future... Signed-off-by: Adrian Bunk [EMAIL

k8temp on 2.6.18

2007-07-30 Thread shacky
Hi. I'm using the 2.6.18 kernel (and I cannot upgrade it), but I need the k8temp module which is available only from the 2.6.21 version. Is there a way to use this module on my 2.6.18? Thank you very much! Bye. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [-mm PATCH 6/9] Memory controller add per container LRU and reclaim (v4)

2007-07-30 Thread Dhaval Giani
Hi Balbir, diff -puN mm/memcontrol.c~mem-control-lru-and-reclaim mm/memcontrol.c --- linux-2.6.23-rc1-mm1/mm/memcontrol.c~mem-control-lru-and-reclaim 2007-07-28 01:12:50.0 +0530 +++ linux-2.6.23-rc1-mm1-balbir/mm/memcontrol.c 2007-07-28 01:12:50.0 +0530 /* *

Re: PCI Quirk / Hidden Bus Report

2007-07-30 Thread pat-lkml
Thanks for the bump. Any additional information needed? Pat Erley Adrian Bunk wrote: Bernhard? cu Adrian On Wed, Jul 18, 2007 at 11:33:55PM -0400, pat-lkml wrote: I received: PCI: Bus #0b (-#0e) is hidden behind transparent bridge #0a (-#0a) (try 'pci=assign-busses') Please report the

Re: [PATCH][hid] Fix a NULL pointer dereference when we fail to allocate memory

2007-07-30 Thread Jiri Kosina
On Sun, 22 Jul 2007, Jiri Slaby wrote: --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c @@ -743,7 +743,7 @@ static struct hid_device *usb_hid_configure(struct usb_interface *intf) hid-quirks = quirks; if (!(usbhid = kzalloc(sizeof(struct

Re: [patch] add kdump_after_notifier

2007-07-30 Thread Eric W. Biederman
Vivek Goyal [EMAIL PROTECTED] writes: Bernhard's idea (kdump uses panic_notifier) is very good for me. But it isn't good for kdump user, because they want to take a dump ASAP when panicked. This one is better than registering kdump as one of the users of a panic_notifier() list. I think

Re: [ofa-general] [PATCH 1/2] ehca: remove checkpatch.pl's warnings externs should be avoided in .c files

2007-07-30 Thread Roland Dreier
Was going to recreate this patch, but then I saw that you probably have incorporated it (manually) in your latest git. Just want to make sure I'm seeing it right. Yes, I ended up doing it by hand. Thanks. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [-mm PATCH 6/9] Memory controller add per container LRU and reclaim (v4)

2007-07-30 Thread Peter Zijlstra
On Mon, 2007-07-30 at 19:07 +0530, Dhaval Giani wrote: Hi Balbir, diff -puN mm/memcontrol.c~mem-control-lru-and-reclaim mm/memcontrol.c --- linux-2.6.23-rc1-mm1/mm/memcontrol.c~mem-control-lru-and-reclaim 2007-07-28 01:12:50.0 +0530 +++

2.6.23-rc1, spamassassin vs rpc stuffs, rpc 1, spamassassin 0

2007-07-30 Thread Gene Heskett
Greetings; As in something in the rpc daemons started at boot time grabbed localhost:783, which is SA's local port. I had to kill fetchmail, get x working, edit the services to kill the rpc stuff and reboot before spamassassin would start. As spamassassin (spamd) is pretty important, that

Re: 2.6.23-rc1, spamassassin vs rpc stuffs, rpc 1, spamassassin 0

2007-07-30 Thread Guillaume Chazarain
Comments anyone? This is not specific to the kernel. It was discussed here: http://lkml.org/lkml/2007/1/24/258 http://cyberelk.net/tim/portreserve/ seems to be the solution, it's a pity it is not widely deployed. Cheers. -- Guillaume - To unsubscribe from this list: send the line unsubscribe

Re: [PATCH][hid] Fix a NULL pointer dereference when we fail to allocate memory

2007-07-30 Thread Jesper Juhl
On 22/07/07, Jiri Slaby [EMAIL PROTECTED] wrote: Jesper Juhl napsal(a): drivers/hid/usbhid/hid-core.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c index b2baeae..3ff7468 100644 ---

Re: 2.6.23-rc1: no setup signature found...

2007-07-30 Thread H. Peter Anvin
Borislav Petkov wrote: Breakpoint 4, 0x00040200 in ?? () 1: x/i ($cs 4) + $eip 0x40300: lea(%si),%dx (gdb) p/x $ds $1 = 0x18 This isn't the setup code, it's doing something else. Could you try this again, but when you get to this point, if the instruction displayed isn't a jmp

Re: [PATCH] usbhid: add ASUS LCM to the blacklist

2007-07-30 Thread Chr
On Monday, 30. July 2007, Jiri Kosina wrote: On Fri, 27 Jul 2007, Christian Lamparter wrote: Some of ASUS' notebooks (e.g G Series) include a tiny oled display, which is attached to an internal USB bus. Unfortunatly the device reports a wrong DeviceDescriptor and is therefore

Re: 2.6.23-rc1, spamassassin vs rpc stuffs, rpc 1, spamassassin 0

2007-07-30 Thread H. Peter Anvin
Guillaume Chazarain wrote: Comments anyone? This is not specific to the kernel. It was discussed here: http://lkml.org/lkml/2007/1/24/258 http://cyberelk.net/tim/portreserve/ seems to be the solution, it's a pity it is not widely deployed. The better solution probably would have

Re: 2.6.23-rc1, spamassassin vs rpc stuffs, rpc 1, spamassassin 0

2007-07-30 Thread Jan Engelhardt
On Jul 30 2007 07:16, H. Peter Anvin wrote: Guillaume Chazarain wrote: Comments anyone? This is not specific to the kernel. It was discussed here: http://lkml.org/lkml/2007/1/24/258 http://cyberelk.net/tim/portreserve/ seems to be the solution, it's a pity it is not widely deployed.

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