Re: [2.6 patch] unexport add_disk_randomness

2008-01-30 Thread Jens Axboe
On Wed, Jan 30 2008, Adrian Bunk wrote: > This patch removes the no longer used EXPORT_SYMBOL(add_disk_randomness). > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Thanks, applied. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mess

Re: Compex FreedomLine 32 PnP-PCI2 broken with de2104x

2008-01-30 Thread Ondrej Zary
On Saturday 26 January 2008 21:58:10 Ondrej Zary wrote: > Hello, > I was having problems with these FreedomLine cards with Linux before but > tested it thoroughly today. This card uses DEC 21041 chip and has TP and > BNC connectors: > > 00:12.0 Ethernet controller [0200]: Digital Equipment Corporat

Re: [BUILD FAILURE] 2.6.24-git7 section type conflict at various drivers on powerpc

2008-01-30 Thread Chris Holvenstot
For what it is worth - noted that 2.6.24-git8 now available - same error as git7. On Wed, 2008-01-30 at 19:36 +0100, Sam Ravnborg wrote: > On Wed, Jan 30, 2008 at 11:57:31AM -0600, Chris Holvenstot wrote: > > Please note that this does not appear to be just a issue with the > > powerpc build -

Re: ndiswrapper and GPL-only symbols redux

2008-01-30 Thread Valdis . Kletnieks
On Wed, 30 Jan 2008 14:43:27 EST, Lennart Sorensen said: > On Wed, Jan 30, 2008 at 08:45:38PM +0200, Adrian Bunk wrote: > > http://www.jbb.de/judgment_dc_munich_gpl.pdf > > http://www.jbb.de/judgment_dc_frankfurt_gpl.pdf > > Good point. They seem to be the place that actually has enforced the > G

Re: ndiswrapper and GPL-only symbols redux

2008-01-30 Thread Adrian Bunk
On Wed, Jan 30, 2008 at 02:36:19PM -0500, Lee Revell wrote: > On Jan 30, 2008 1:54 PM, Adrian Bunk <[EMAIL PROTECTED]> wrote: > > IANAL, and I would therefore ask a lawyer whether, and if yes under > > which circumstances, shipping a binary driver written for another OS > > dynamically linked into

Re: [patch 2/6] mmu_notifier: Callbacks to invalidate address ranges

2008-01-30 Thread Jack Steiner
On Wed, Jan 30, 2008 at 11:41:29AM -0800, Christoph Lameter wrote: > On Wed, 30 Jan 2008, Jack Steiner wrote: > > > I see what you mean. I need to review to mail to see why this changed > > but in the original discussions with Christoph, the invalidate_range > > callouts were suppose to be made BE

Re: at91sam9260 wakeup on serial port

2008-01-30 Thread Haavard Skinnemoen
On Wed, 30 Jan 2008 10:56:12 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > On Wednesday 30 January 2008, Haavard Skinnemoen wrote: > > Yeah, although the nasty thing about UARTs is that you never know when > > DMA really is idle. > > If the UART isn't open, its DMA should be inactive. :) > >

[GIT PULL] dlm updates for 2.6.25

2008-01-30 Thread David Teigland
Linus, Please pull dlm updates for 2.6.25 from: git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm.git for-linus In the past, the dlm patches went through the gfs2 git tree. We've moved to a separate tree because the dlm work is now largely independent from gfs2, and dlm patches are m

Re: [2.6 patch] make b43_mac_{enable,suspend}() static

2008-01-30 Thread Michael Buesch
On Wednesday 30 January 2008 21:02:47 Adrian Bunk wrote: > b43_mac_{enable,suspend}() can now become static. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Michael Buesch <[EMAIL PROTECTED]> > --- > > drivers/net/wireless/b43/main.c |4 ++-- > drivers/net/wireless/b43/main.h

Re: [RFC v2 2/5] dmaengine: Add slave DMA interface

2008-01-30 Thread David Brownell
On Wednesday 30 January 2008, Dan Williams wrote: > On Jan 30, 2008 3:52 AM, David Brownell <[EMAIL PROTECTED]> wrote: > > On Wednesday 30 January 2008, Haavard Skinnemoen wrote: > > > Descriptor-based vs. register-based transfers sounds like something the > > > DMA engine driver is free to decide

[PATCH] x86: introduce /dev/mem restrictions with a config option

2008-01-30 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [PATCH] x86: introduce /dev/mem restrictions with a config option This patch introduces a restriction on /dev/mem: Only non-memory can be read or written unless the newly introduced config option is set. The X server needs access to /dev/mem for

RE: ndiswrapper and GPL-only symbols redux

2008-01-30 Thread David Schwartz
> I wouldn't quite say that. I wasn't going to comment, but...personally, > I actually disagree with the assertions that ndiswrapper isn't causing > proprietary code to link against GPL functions in the kernel (how is > an NDIS implementation any different than a shim layer provided to > load a gr

Re: [2.6 patch] remove smbfs

2008-01-30 Thread Guenter Kukkukk
Am Mittwoch, 30. Januar 2008 schrieb Steve French: > I have mounted to Windows98 a few months ago with no problems (other > than a few restrictions like you can't set the file times via utimes). > For mounts to Windows98 note that you have to specify the server > netbios name on the mount (since i

Re: [patch 2/6] mmu_notifier: Callbacks to invalidate address ranges

2008-01-30 Thread Christoph Lameter
On Wed, 30 Jan 2008, Jack Steiner wrote: > > Seems that we cannot rely on the invalidate_ranges for correctness at all? > > We need to have invalidate_page() always. invalidate_range() is only an > > optimization. > > > > I don't understand your point "an optimization". How would invalidate_ran

Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup

2008-01-30 Thread Ingo Molnar
* Luck, Tony <[EMAIL PROTECTED]> wrote: > > could you send the .config you are using? > > Ok. Attached. thanks a ton - this produced a link error here too. after half an hour of head scratching, the updated patch below solves the build problem. The problem i believe is this code in arch/ia6

Re: [2.6 patch] scsi/qlogicpti.c section fixes

2008-01-30 Thread James Bottomley
On Wed, 2008-01-30 at 22:03 +0200, Adrian Bunk wrote: > This patch fixes the following section mismatches: > > <-- snip --> > > ... > WARNING: drivers/scsi/qlogicpti.o(.devexit.text+0x8): Section mismatch in > reference from the function qpti_sbus_remove() to the function > .init.text:qpti_c

RE: ndiswrapper and GPL-only symbols redux

2008-01-30 Thread David Schwartz
Combined reponses to many fragmented comments in this thread. No two consecutive excerpts are from the same person. > Interesting... I never heard about this `transferring ownership of a > single copy not involving GPL'. > > Note that some lawyers claim that at trade shows, you should not hand

Re: [PATCH 11/12] [Blackfin] serial driver: ADSP-BF52x arch/mach support

2008-01-30 Thread Mike Frysinger
On Jan 30, 2008 4:30 AM, Bryan Wu <[EMAIL PROTECTED]> wrote: > config SERIAL_BFIN_UART1 > bool "Enable UART1" > - depends on SERIAL_BFIN && (BF534 || BF536 || BF537 || BF54x) > + depends on SERIAL_BFIN && (BF52x || BF53x || BF54x) > help > Enable UART1 erp, i

Re: hibernate/suspend-to-disk: to turn power or not?

2008-01-30 Thread Michael Tokarev
Bruno Prémont wrote: > On Wednesday 30 January 2008 20:18:40 you wrote: >> I'm trying to "glue" hibernation and UPS control >> together, and have a question. >> >> When the system power comes off an UPS (Uninterruptable >> Power Supply I mean), it's probably a good idea to turn >> the UPS off when

[PATCH 00/10] udf: cleanups

2008-01-30 Thread marcin . slusarz
Hi This patchset contains various UDF fs cleanups. [PATCH 01/10] udf: udf_CS0toUTF8 cleanup [PATCH 02/10] udf: fix udf_build_ustr [PATCH 03/10] udf: udf_CS0toNLS cleanup [PATCH 04/10] udf: constify crc [PATCH 05/10] udf: simple cleanup of truncate.c [PATCH 06/10] udf: truncate: create function fo

[PATCH 01/10] udf: udf_CS0toUTF8 cleanup

2008-01-30 Thread marcin . slusarz
- fix error handling - always zero output variable - don't zero explicitely fields zeroed by memset - mark "in" paramater as const - remove outdated comment Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> Cc: Jan Kara <[EMAIL PROTECTED]> --- fs/udf/udfdecl.h |2 +- fs/udf/unicode.c | 27 +

[PATCH 02/10] udf: fix udf_build_ustr

2008-01-30 Thread marcin . slusarz
udf_build_ustr was completely broken when size >= UDF_NAME_LEN - 1 or size < 2 nobody noticed because all callers set size to acceptable values (constants) Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> Cc: Jan Kara <[EMAIL PROTECTED]> --- fs/udf/unicode.c | 12 ++-- 1 files changed

[PATCH 03/10] udf: udf_CS0toNLS cleanup

2008-01-30 Thread marcin . slusarz
- fix error handling - always zero output variable - don't zero explicitely fields zeroed by memset - mark "in" paramater as const Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> Cc: Jan Kara <[EMAIL PROTECTED]> --- fs/udf/unicode.c | 19 --- 1 files changed, 8 insertions(+),

[PATCH 15/23 -v8] Generic command line storage

2008-01-30 Thread Steven Rostedt
Saving the comm of tasks for each trace is very expensive. This patch includes in the context switch hook, a way to store the last 100 command lines of tasks. This table is examined when a trace is to be printed. Note: The comm may be destroyed if other traces are performed. Later (TBD) patches ma

[PATCH 13/23 -v8] Make the task State char-string visible to all

2008-01-30 Thread Steven Rostedt
The tracer wants to be able to convert the state number into a user visible character. This patch pulls that conversion string out the scheduler into the header. This way if it were to ever change, other parts of the kernel will know. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- include/

[PATCH 12/23 -v8] Add context switch marker to sched.c

2008-01-30 Thread Steven Rostedt
Add marker into context_switch to record the prev and next tasks. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- kernel/sched.c |2 ++ 1 file changed, 2 insertions(+) Index: linux-mcount.git/kernel/sched.c === --- linux-m

[PATCH 03/23 -v8] Annotate core code that should not be traced

2008-01-30 Thread Steven Rostedt
Mark with "notrace" functions in core code that should not be traced. The "notrace" attribute will prevent gcc from adding a call to mcount on the annotated funtions. Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- lib/smp_proces

[PATCH 01/23 -v8] printk - dont wakeup klogd with interrupts disabled

2008-01-30 Thread Steven Rostedt
[ This patch is added to the series since the wakeup timings trace may lockup without it. ] I thought that one could place a printk anywhere without worrying. But it seems that it is not wise to place a printk where the runqueue lock is held. I just spent two hours debugging why some of my code

[PATCH 14/23 -v8] Add tracing of context switches

2008-01-30 Thread Steven Rostedt
This patch adds context switch tracing, of the format of: _--=> CPU# / _-=> irqs-off | / _=> need-resched || / _---=> hardirq/softirq ||| / _--=> preempt-depth

[PATCH 07/23 -v8] initialize the clock source to jiffies clock.

2008-01-30 Thread Steven Rostedt
The latency tracer can call clocksource_read very early in bootup and before the clock source variable has been initialized. This results in a crash at boot up (even before earlyprintk is initialized). Since the clock->read variable points to NULL. This patch simply initializes the clock to use cl

[PATCH 10/23 -v8] mcount tracer add preempt_enable/disable notrace macros

2008-01-30 Thread Steven Rostedt
The tracer may need to call preempt_enable and disable functions for time keeping and such. The trace gets ugly when we see these functions show up for all traces. To make the output cleaner this patch adds preempt_enable_notrace and preempt_disable_notrace to be used by tracer (and debugging) func

[PATCH 00/23 -v8] mcount and latency tracing utility -v8

2008-01-30 Thread Steven Rostedt
[ version 8 of mcount / trace patches: changes include: Added read_barrier_depends to mcount and sched function loops incase anyone is crazy enough to port this to alpha. (Suggested by Peter Ziljstra) Added smp_rmb for the wakeup_sched_switch to match the smp_wmb in the wake

[PATCH 09/23 -v8] add notrace annotations to timing events

2008-01-30 Thread Steven Rostedt
This patch adds notrace annotations to timer functions that will be used by tracing. This helps speed things up and also keeps the ugliness of printing these functions down. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86/kernel/apic_32.c |2 +- arch/x86/kernel/hpet.c

[PATCH 05/23 -v8] add notrace annotations to vsyscall.

2008-01-30 Thread Steven Rostedt
Add the notrace annotations to some of the vsyscall functions. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86/kernel/vsyscall_64.c |3 ++- arch/x86/vdso/vclock_gettime.c | 15 --- arch/x86/vdso/vgetcpu.c|3 ++- include/asm-x86/vsyscall.h |3 +

[PATCH 21/23 -v8] Add markers to various events

2008-01-30 Thread Steven Rostedt
This patch adds markers to various events in the kernel. (interrupts, task activation and hrtimers) Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86/kernel/apic_32.c |2 ++ arch/x86/kernel/irq_32.c |1 + arch/x86/kernel/irq_64.c |2 ++ arch/x86/kernel/traps_32.c |

[PATCH 16/23 -v8] trace generic call to schedule switch

2008-01-30 Thread Steven Rostedt
This patch adds hooks into the schedule switch tracing to allow other latency traces to hook into the schedule switches. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- lib/tracing/trace_sched_switch.c | 135 +-- lib/tracing/tracer.h | 14 +

[PATCH 17/23 -v8] Add marker in try_to_wake_up

2008-01-30 Thread Steven Rostedt
Add markers into the wakeup code, to allow the tracer to record wakeup timings. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- kernel/sched.c |8 1 file changed, 8 insertions(+) Index: linux-mcount.git/kernel/sched.c ===

[PATCH 08/23 -v8] add get_monotonic_cycles

2008-01-30 Thread Steven Rostedt
From: John Stultz <[EMAIL PROTECTED]> The latency tracer needs a way to get an accurate time without grabbing any locks. Locks themselves might call the latency tracer and cause at best a slow down. This patch adds get_monotonic_cycles that returns cycles from a reliable clock source in a monoton

[PATCH 04/23 -v8] x86_64: notrace annotations

2008-01-30 Thread Steven Rostedt
Add "notrace" annotation to x86_64 specific files. Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86/kernel/head64.c |2 +- arch/x86/kernel/setup64.c|4 ++-- arch/x86/kernel/smpboot_64.c |2 +- 3 files ch

[PATCH 02/23 -v8] Add basic support for gcc profiler instrumentation

2008-01-30 Thread Steven Rostedt
If CONFIG_MCOUNT is selected and /proc/sys/kernel/mcount_enabled is set to a non-zero value the mcount routine will be called everytime we enter a kernel function that is not marked with the "notrace" attribute. The mcount routine will then call a registered function if a function happens to be re

[PATCH 23/23 -v8] Critical latency timings histogram

2008-01-30 Thread Steven Rostedt
This patch adds hooks into the latency tracer to give us histograms of interrupts off, preemption off and wakeup timings. This code was based off of work done by Yi Yang <[EMAIL PROTECTED]> But heavily modified to work with the new tracer, and some clean ups by Steven Rostedt <[EMAIL PROTECTED]>

[PATCH 18/23 -v8] mcount tracer for wakeup latency timings.

2008-01-30 Thread Steven Rostedt
This patch adds hooks to trace the wake up latency of the highest priority waking task. "wakeup" is added to /debugfs/tracing/available_tracers Also added to /debugfs/tracing tracing_max_latency holds the current max latency for the wakeup wakeup_thresh if set to other than zero

[PATCH 22/23 -v8] Add event tracer.

2008-01-30 Thread Steven Rostedt
This patch adds a event trace that hooks into various events in the kernel. Although it can be used separately, it is mainly to help other traces (wakeup and preempt off) with seeing various events in the traces without having to enable the heavy mcount hooks. Signed-off-by: Steven Rostedt <[EMAIL

[PATCH 06/23 -v8] handle accurate time keeping over long delays

2008-01-30 Thread Steven Rostedt
From: John Stultz <[EMAIL PROTECTED]> Handle accurate time even if there's a long delay between accumulated clock cycles. Signed-off-by: John Stultz <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/powerpc/kernel/time.c|3 +- arch/x86/kernel/vsyscall_64.c |

[PATCH 19/23 -v8] Trace irq disabled critical timings

2008-01-30 Thread Steven Rostedt
This patch adds latency tracing for critical timings (how long interrupts are disabled for). "irqsoff" is added to /debugfs/tracing/available_tracers Note: tracing_max_latency also holds the max latency for irqsoff (in usecs). (default to large number so one must start latency tracing)

[PATCH 11/23 -v8] mcount based trace in the form of a header file library

2008-01-30 Thread Steven Rostedt
This is a simple trace that uses the mcount infrastructure. It is designed to be fast and small, and easy to use. It is useful to record things that happen over a very short period of time, and not to analyze the system in general. An interface is added to the debugfs /debugfs/tracing/ This pa

XFS oops in vanilla 2.6.24

2008-01-30 Thread Sven Geggus
Hi there, I get the following with 2.6.24: Ending clean XFS mount for filesystem: dm-0 BUG: unable to handle kernel paging request at virtual address f2134000 printing eip: c021a13a *pde = 010b5067 *pte = 32134000 Oops: [#1] PREEMPT DEBUG_PAGEALLOC Modules linked in: radeon drm rfcomm l2cap

[PATCH 20/23 -v8] trace preempt off critical timings

2008-01-30 Thread Steven Rostedt
Add preempt off timings. A lot of kernel core code is taken from the RT patch latency trace that was written by Ingo Molnar. This adds "preemptoff" and "preemptirqsoff" to /debugfs/tracing/available_tracers Now instead of just tracing irqs off, preemption off can be selected to be recorded. Whe

[PATCH 04/10] udf: constify crc

2008-01-30 Thread marcin . slusarz
- constify internal crc table - mark udf_crc "in" parameter as const Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> Cc: Jan Kara <[EMAIL PROTECTED]> --- fs/udf/crc.c |4 ++-- fs/udf/udfdecl.h |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/udf/crc.c b/fs/ud

[PATCH 05/10] udf: simple cleanup of truncate.c

2008-01-30 Thread marcin . slusarz
- remove one indentation level by little code reorganization - convert "if (smth) BUG();" to "BUG_ON(smth);" Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> Cc: Jan Kara <[EMAIL PROTECTED]> --- fs/udf/truncate.c | 76 +++- 1 files changed, 34 in

[PATCH 06/10] udf: truncate: create function for updating of Allocation Ext Descriptor

2008-01-30 Thread marcin . slusarz
Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> Cc: Jan Kara <[EMAIL PROTECTED]> --- fs/udf/truncate.c | 56 +--- 1 files changed, 23 insertions(+), 33 deletions(-) diff --git a/fs/udf/truncate.c b/fs/udf/truncate.c index f64f827..eb98616 100644

[PATCH 07/10] udf: replace all adds to little endians variables with le*_add_cpu

2008-01-30 Thread marcin . slusarz
replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder); sparse didn't generate any new warning with this p

[PATCH 08/10] udf: simplify __udf_read_inode

2008-01-30 Thread marcin . slusarz
- move all brelse(ibh) after main if, because it's called on every path except one where ibh is null - move variables to the most inner blocks Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> Cc: Jan Kara <[EMAIL PROTECTED]> --- fs/udf/inode.c | 52 +++

[PATCH 09/10] udf: replace udf_*_offset macros with functions

2008-01-30 Thread marcin . slusarz
- translate udf_file_entry_alloc_offset macro into function - translate udf_ext0_offset macro into function - add comment about crypticly named fields in struct udf_inode_info Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> Cc: Jan Kara <[EMAIL PROTECTED]> --- fs/udf/udfdecl.h | 29 ++

[PATCH 10/10] udf: constify udf_bitmap_lookup array

2008-01-30 Thread marcin . slusarz
udf_bitmap_lookup never changes, so constify it Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> Cc: Jan Kara <[EMAIL PROTECTED]> --- fs/udf/super.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/udf/super.c b/fs/udf/super.c index 3afe764..6bb2a5b 100644 --- a/fs/ud

Re: ndiswrapper and GPL-only symbols redux

2008-01-30 Thread Adrian Bunk
On Wed, Jan 30, 2008 at 03:26:27PM -0500, [EMAIL PROTECTED] wrote: > On Wed, 30 Jan 2008 14:43:27 EST, Lennart Sorensen said: > > On Wed, Jan 30, 2008 at 08:45:38PM +0200, Adrian Bunk wrote: > > > http://www.jbb.de/judgment_dc_munich_gpl.pdf > > > http://www.jbb.de/judgment_dc_frankfurt_gpl.pdf > >

Re: hibernate/suspend-to-disk: to turn power or not?

2008-01-30 Thread Rafael J. Wysocki
On Wednesday, 30 of January 2008, Michael Tokarev wrote: > I'm trying to "glue" hibernation and UPS control > together, and have a question. > > When the system power comes off an UPS (Uninterruptable > Power Supply I mean), it's probably a good idea to turn > the UPS off when shutting the system

Re: [2.6 patch] remove smbfs

2008-01-30 Thread Guenter Kukkukk
Am Montag, 28. Januar 2008 schrieb Adrian Bunk: > I remember that there were some small things missing in CIFS for > completely replacing the unmaintained smbfs when we discussed removing > smbfs back in 2005 due to smbfs being unmaintained. > > CIFS has improved since, smbfs is still unmaintain

RE: x86/non-x86: percpu, node ids, apic ids x86.git fixup

2008-01-30 Thread Luck, Tony
> this i believe builds an implicit dependency between the mca_asm.o > position within the image and the ia64_mca_data percpu variable it > accesses - it relies on the immediate 22 addressing mode that has 4MB of > scope. Per chance, the .config you sent creates a 14MB image, and the > percpu v

Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup

2008-01-30 Thread Geoff Levand
Ingo Molnar wrote: > * Luck, Tony <[EMAIL PROTECTED]> wrote: > >> > Could you check the patch below? With this applied to latest -git, >> > ia64 buils fine for me in a cross-compiling environment. (but i dont >> > know whether it boots ...) >> >> Uni-processor build still fails with this patch

Re: [2.6 patch] scsi/qlogicpti.c section fixes

2008-01-30 Thread Sam Ravnborg
On Wed, Jan 30, 2008 at 03:00:16PM -0600, James Bottomley wrote: > > On Wed, 2008-01-30 at 22:03 +0200, Adrian Bunk wrote: > > This patch fixes the following section mismatches: > > > > <-- snip --> > > > > ... > > WARNING: drivers/scsi/qlogicpti.o(.devexit.text+0x8): Section mismatch in > >

Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup

2008-01-30 Thread Ingo Molnar
* Luck, Tony <[EMAIL PROTECTED]> wrote: > I'll start digging on why this doesn't boot ... but you might as well > send the fixes so far upstream to Linus so that the SMP fix is > available (which is all anyone really cares about ... there are very, > very few UP ia64 systems in existence). >

[powerpc changes] Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup

2008-01-30 Thread Ingo Molnar
* Olof Johansson <[EMAIL PROTECTED]> wrote: > > could you try the full patchset that Travis has just sent and which > > i've put into x86.git, you can pull it from: > > Looks ok for powerpc so far, I haven't gotten through all defconfigs > yet but the first ones that failed before build now. p

Re: [2.6 patch] scsi/qlogicpti.c section fixes

2008-01-30 Thread Adrian Bunk
On Wed, Jan 30, 2008 at 10:20:11PM +0100, Sam Ravnborg wrote: > On Wed, Jan 30, 2008 at 03:00:16PM -0600, James Bottomley wrote: >... > To my understanding Adrian just fixed a potential oops. > You have a driver that surely are thought to be hotplugable - > otherwise qpti_sbus_probe() would not hav

Re: [PATCH 2.6.23.14] SCSI : scsi_device_lookup/scsi_device_lookup_by_target return NULL for an existent scsi_device

2008-01-30 Thread James Smart
Nagendra Tomar wrote: Hello James, My understanding is that the scsi_device in SDEV_DEL state is there in the scsi_host->devices/scsi_target->devices queue, just because there is some outstanding command holding a reference to it. Well, there's a lot more reasons than just an outst

Re: 2.6.24-git7: section mismatches woes

2008-01-30 Thread Rafael J. Wysocki
On Wednesday, 30 of January 2008, Sam Ravnborg wrote: > On Wed, Jan 30, 2008 at 07:50:43PM +0100, Rafael J. Wysocki wrote: > > Hi, > > > > I get these messages, the majority of which seem to be false-positives: > ... > > modpost: Found 35 section mismatch(es). > > To see additional details select

Re: hibernate/suspend-to-disk: to turn power or not?

2008-01-30 Thread Nigel Cunningham
Hi. Michael Tokarev wrote: I'm trying to "glue" hibernation and UPS control together, and have a question. When the system power comes off an UPS (Uninterruptable Power Supply I mean), it's probably a good idea to turn the UPS off when shutting the system down or hibernating. Even with shutdow

Re: [powerpc changes] Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup

2008-01-30 Thread Olof Johansson
On Wed, Jan 30, 2008 at 10:25:58PM +0100, Ingo Molnar wrote: > > * Olof Johansson <[EMAIL PROTECTED]> wrote: > > > > could you try the full patchset that Travis has just sent and which > > > i've put into x86.git, you can pull it from: > > > > Looks ok for powerpc so far, I haven't gotten throu

[PATCH] Add iSCSI iBFT support (v0.4.6)

2008-01-30 Thread Konrad Rzeszutek
This patch (v0.4.6) adds /sysfs/firmware/ibft/[initiator|targetX|ethernetX] directories along with text properties which export the the iSCSI Boot Firmware Table (iBFT) structure. What is iSCSI Boot Firmware Table? It is a mechanism for the iSCSI tools to extract from the machine NICs the iSCSI c

Re: [2.6 patch] scsi/qlogicpti.c section fixes

2008-01-30 Thread James Bottomley
On Wed, 2008-01-30 at 22:20 +0100, Sam Ravnborg wrote: > On Wed, Jan 30, 2008 at 03:00:16PM -0600, James Bottomley wrote: > > > > On Wed, 2008-01-30 at 22:03 +0200, Adrian Bunk wrote: > > > This patch fixes the following section mismatches: > > > > > > <-- snip --> > > > > > > ... > > > WARNI

[GIT PATCH] intermediate SCSI update for 2.6.24

2008-01-30 Thread James Bottomley
This isn't the final update I promised, most of this is fixing bugs in the previous update which became more evident with wider testing (a nasty set of cases where we have &cmnd->sense_buffer instead of &cmnd->sense_buffer[0] which cause problems now that sense_buffer is a pointer instead and a bug

Re: [PATCH 2/6] percpu: Change Kconfig to HAVE_SETUP_PER_CPU_AREA linux-2.6.git

2008-01-30 Thread Ingo Molnar
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Change: > config ARCH_SETS_UP_PER_CPU_AREA > to: > config HAVE_SETUP_PER_CPU_AREA undocumented change: > config ARCH_NO_VIRT_TO_BUS > --- a/init/main.c > +++ b/init/main.c > @@ -380,6 +380,8 @@ static void __init setup_per_cpu_areas(

Re: [PATCH 2.6.24-rc8-mm1 12/15] (RFC) IPC/semaphores: make use of RCU to free the sem_undo_list

2008-01-30 Thread Serge E. Hallyn
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > From: Pierre Peiffer <[EMAIL PROTECTED]> > > Today, the sem_undo_list is freed when the last task using it exits. > There is no mechanism in place, that allows a safe concurrent access to > the sem_undo_list of a target task and protects efficiently

Re: [PATCH 2.6.24-rc8-mm1 14/15] (RFC) IPC/semaphores: prepare semundo code to work on another task than current

2008-01-30 Thread Serge E. Hallyn
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > From: Pierre Peiffer <[EMAIL PROTECTED]> > > In order to modify the semundo-list of a task from procfs, we must be able to > work on any target task. > But all the existing code playing with the semundo-list, currently works > only on the 'current'

Re: [2.6 patch] e1000e/ethtool.c: make a function static

2008-01-30 Thread Kok, Auke
Adrian Bunk wrote: > This patch makes the needlessly global reg_pattern_test_array() static. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> stephen hemminger already pointed this out to me... I'll certainly push this upstream, thanks Adrian! Auke > > --- > ed72e457f06311390d9a9e51a00c9049

Re: [PATCH 3/6] sparc64: Use generic percpu linux-2.6.git

2008-01-30 Thread Ingo Molnar
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Sparc64 has a way of providing the base address for the per cpu area > of the currently executing processor in a global register. > > Sparc64 also provides a way to calculate the address of a per cpu area > from a base address instead of perform

Re: [2.6 patch] make e1000_dump_eeprom() static

2008-01-30 Thread Kok, Auke
Adrian Bunk wrote: > This patch makes the needlessly global e1000_dump_eeprom() static. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> yes, thanks, I'll push it to Jeff. Auke > > --- > b5fd924a1388d4aaa94cf05e42e317c2b1fb5748 > diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e10

Re: [PATCH 6/6] s390: Use generic percpu linux-2.6.git

2008-01-30 Thread Ingo Molnar
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Change s390 percpu.h to use asm-generic/percpu.h do the s390 maintainer agree with this change (Acks please), and has it been tested on s390? Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH] Add iSCSI iBFT support (v0.4.5)

2008-01-30 Thread Konrad Rzeszutek
> That being said, I don't think there's any reason to expect the table to > show up on anything but i386 and x86_64, and maybe ia64. I've posted a new patch (http://lkml.org/lkml/2008/1/30/531) that includes that dependency in the Kconfig (i386, x86_64, ia64) -- To unsubscribe from this list

Re: [PATCH 2/6] percpu: Change Kconfig to HAVE_SETUP_PER_CPU_AREA linux-2.6.git

2008-01-30 Thread Mike Travis
Ingo Molnar wrote: > * [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >> Change: >> config ARCH_SETS_UP_PER_CPU_AREA >> to: >> config HAVE_SETUP_PER_CPU_AREA > > undocumented change: > >> config ARCH_NO_VIRT_TO_BUS >> --- a/init/main.c >> +++ b/init/main.c >> @@ -380,6 +380,8 @@ stati

Re: [powerpc changes] Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup

2008-01-30 Thread Geoff Levand
Ingo Molnar wrote: > * Olof Johansson <[EMAIL PROTECTED]> wrote: > >> > could you try the full patchset that Travis has just sent and which >> > i've put into x86.git, you can pull it from: >> >> Looks ok for powerpc so far, I haven't gotten through all defconfigs >> yet but the first ones that

Re: [2.6 patch] scsi/qlogicpti.c section fixes

2008-01-30 Thread Sam Ravnborg
> I'm just reflecting that all of the > problems would go away and we'd save thousands of person hours on the > infrastructure and bug fixing if we simply #defined most of the > sectional annotations to be nops. So far I have only seen three persons being really active in fixing the section mismat

Re: [patch 1/6] mmu_notifier: Core code

2008-01-30 Thread Robin Holt
On Wed, Jan 30, 2008 at 11:19:28AM -0800, Christoph Lameter wrote: > On Wed, 30 Jan 2008, Jack Steiner wrote: > > > Moving to a different lock solves the problem. > > Well it gets us back to the issue why we removed the lock. As Robin said > before: If its global then we can have a huge number o

Re: e1000 full-duplex TCP performance well below wire speed

2008-01-30 Thread Bruce Allen
Hi Stephen, Thanks for your helpful reply and especially for the literature pointers. Indeed, we are not asking to see 1000 Mb/s. We'd be happy to see 900 Mb/s. Netperf is trasmitting a large buffer in MTU-sized packets (min 1500 bytes). Since the acks are only about 60 bytes in size, they s

Re: [2.6 patch] scsi/qlogicpti.c section fixes

2008-01-30 Thread Adrian Bunk
On Wed, Jan 30, 2008 at 03:00:16PM -0600, James Bottomley wrote: > > On Wed, 2008-01-30 at 22:03 +0200, Adrian Bunk wrote: > > This patch fixes the following section mismatches: > > > > <-- snip --> > > > > ... > > WARNING: drivers/scsi/qlogicpti.o(.devexit.text+0x8): Section mismatch in > >

Value of __*{init,exit} anotations?

2008-01-30 Thread Adrian Bunk
On Wed, Jan 30, 2008 at 03:41:35PM -0600, James Bottomley wrote: > On Wed, 2008-01-30 at 22:20 +0100, Sam Ravnborg wrote: > > On Wed, Jan 30, 2008 at 03:00:16PM -0600, James Bottomley wrote: >... > > > __init is possibly justifiable with a few hundred k savings on boot. > > > __devinit and the rest

Re: [patch 2/6] mmu_notifier: Callbacks to invalidate address ranges

2008-01-30 Thread Robin Holt
On Wed, Jan 30, 2008 at 11:50:26AM -0800, Christoph Lameter wrote: > On Wed, 30 Jan 2008, Andrea Arcangeli wrote: > > > XPMEM requires with invalidate_range (sleepy) + > > before_invalidate_range (sleepy). invalidate_all should also be called > > before_release (both sleepy). > > > > It sounds we

Re: [PATCH] ipwireless: driver for 3G PC Card

2008-01-30 Thread Stephen Blackheath [to Foxconn]
Pavel & all, Pavel Machek wrote: >> +/* I/O ports and bit definitions for version 2 of the hardware */ >> + >> +struct MEMCCR { >> +unsigned short PCCOR; /* Configuration Option Register */ >> +unsigned short PCCSR; /* Configuration and Status Register */ >> +unsi

Re: [PATCH 24/27] NFS: Use local caching [try #2]

2008-01-30 Thread Chuck Lever
Hi David- On Jan 29, 2008, at 10:25 PM, David Howells wrote: Chuck Lever <[EMAIL PROTECTED]> wrote: This patch really ought to be broken into more manageable atomic changes to make it easier to review, and to provide more fine-grained explanation and rationalization for each specific change via

Re: [RFC PATCH] x86: mmiotrace - trace memory mapped IO

2008-01-30 Thread Pekka Paalanen
On Sun, 27 Jan 2008 19:55:36 +0200 Pekka Paalanen <[EMAIL PROTECTED]> wrote: > The following is a copy of the patch description: ... > Mmiotrace works by wrapping the ioremap family of kernel functions and > marking the returned pages as not present. Access to the IO memory > triggers a page fault

[Regression] 2.6.24-git8 (and earlier): Multiple processes stuck in D states after logout from KDE

2008-01-30 Thread Rafael J. Wysocki
Hi, Recently I've been observing problems with unmounting the /home fs on reboot and/or shutdown on two test boxes. After some more investigation I've found that this is due to some KDE processes stuck in D states after their owner has logged out. This happens 100% of the time if there's a suspe

Re: [2.6 patch] remove smbfs

2008-01-30 Thread Jeff Layton
On Wed, 30 Jan 2008 22:16:13 +0100 Guenter Kukkukk <[EMAIL PROTECTED]> wrote: > Am Montag, 28. Januar 2008 schrieb Adrian Bunk: > > I remember that there were some small things missing in CIFS for > > completely replacing the unmaintained smbfs when we discussed > > removing smbfs back in 2005 du

Re: [PATCH] mm: MADV_WILLNEED implementation for anonymous memory

2008-01-30 Thread Andrew Morton
On Wed, 30 Jan 2008 18:28:59 +0100 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > Implement MADV_WILLNEED for anonymous pages by walking the page tables and > starting asynchonous swap cache reads for all encountered swap pages. Why cannot this use (a perhaps suitably-modified) make_pages_present()?

Re: Value of __*{init,exit} anotations?

2008-01-30 Thread James Bottomley
On Thu, 2008-01-31 at 00:32 +0200, Adrian Bunk wrote: > On Wed, Jan 30, 2008 at 03:41:35PM -0600, James Bottomley wrote: > > On Wed, 2008-01-30 at 22:20 +0100, Sam Ravnborg wrote: > > > On Wed, Jan 30, 2008 at 03:00:16PM -0600, James Bottomley wrote: > >... > > > > __init is possibly justifiable wi

Re: [PATCH 1/1] [NOMMU]: Dont use kobjsize on the area belonging to a VMA

2008-01-30 Thread Bernd Schmidt
Bryan Wu wrote: > On Jan 30, 2008 9:04 PM, Bernd Schmidt <[EMAIL PROTECTED]> wrote: >> Bryan Wu wrote: >>> From: Bernd Schmidt <[EMAIL PROTECTED]> >>> >>> Dont use kobjsize on the area belonging to a VMA, as it's allocated with >>> get_free_pages. >> As far as I remember, that's the case only in ou

Re: Value of __*{init,exit} anotations?

2008-01-30 Thread Russell King
On Wed, Jan 30, 2008 at 04:44:12PM -0600, James Bottomley wrote: > On Thu, 2008-01-31 at 00:32 +0200, Adrian Bunk wrote: > > People at linux-arch (Cc'ed) might be better at explaining how often > > CONFIG_HOTPLUG gets used in real-life systems and how big the savings > > are there. > > > > That

[GIT PULL] FireWire updates post 2.6.24

2008-01-30 Thread Stefan Richter
Linus, please pull from the for-linus branch at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6.git for-linus to receive the following IEEE 1394/ FireWire subsystem updates. Once again it is almost all about bug fixes. Most notable are David Moore's fixes for isochrono

Re: Hang in work_resched

2008-01-30 Thread Guillaume Chazarain
On Jan 29, 2008 11:30 PM, Guillaume Chazarain <[EMAIL PROTECTED]> wrote: > === > gnome-termina S 0027 0 2201 1 >f6711fb0 00200082 cb330d62 0027 f664105c 0b1e cb331880 >0027 f660d780 009e3840 080ab7d8 080ab298 f6711000 c0103e7e

Re: [GIT PULL] FireWire updates post 2.6.24

2008-01-30 Thread Stefan Richter
Patches recently added to linux1394-2.6.git/for-linus: Jarod Wilson (3): firewire: replace subtraction with bitwise and firewire: fw-sbp2: increase login orb reply timeout, fix "failed to login" firewire: fw-sbp2: Use sbp2 device-provided mgt orb timeout for logins Stefan Richte

Re: [2.6 patch] remove smbfs

2008-01-30 Thread Adrian Bunk
On Wed, Jan 30, 2008 at 05:41:03PM -0500, Jeff Layton wrote: > On Wed, 30 Jan 2008 22:16:13 +0100 > Guenter Kukkukk <[EMAIL PROTECTED]> wrote: > > > Am Montag, 28. Januar 2008 schrieb Adrian Bunk: > > > I remember that there were some small things missing in CIFS for > > > completely replacing th

  1   2   3   4   5   6   7   >