| From | Subject | Date |
|---|---|---|
| Badari Pulavarty | [-mm PATCH] sysdev_unregister() should call kobject_del()
Hi Greg,
While playing with hotplug memory remove on 2.6.24-mm1, I
noticed that /sysfs directory entries are not getting removed.
sysdev_unregister() used to call kobject_unregister().
But in 2.6.24-mm1, its only dropping the ref. It should
call kobject_del() to remove the object. Correct ?
With this change, the directories are getting removed
correctly. Comments ?
Thanks,
Badari
sysdev_unregister() should call kobject_del() to remove
the object.
Signed-off-by: Badari Pulavarty ...
| Feb 7, 4:56 pm 2008 |
| Henrique de Moraes H ... | [RFC] LED brightness_get and thinkpad-acpi led-class support
Richard,
Would you accept the addition of brightness_get to the led class? Please
look at the first patch in this small patch set series. I need it for
thinkpad-acpi...
The other two patches to thinkpad-acpi are included for reference on how I
intend to useg the new brightness_get stuff, and also the hardware
acceleration for led flashing. While the thinkpad-acpi patches do work, it
is unlikely to apply cleanly since it is from the tip of my thinkpad-acpi
development tree :) They are ...
| Feb 7, 4:49 pm 2008 |
| Henrique de Moraes H ... | [PATCH 1/3] LED: add support to leds with readable status
Some led hardware allows drivers to query the led state, and this patch
adds a hook to let the led class take advantage of that information when
available.
Without this functionality, when access to the led hardware is not
exclusive (i.e. firmware or hardware might change its state behind the
kernel's back), reality goes out of sync with the led class' idea of what
the led is doing, which is annoying at best.
Behaviour for drivers that do not or cannot read the led status ...
| Feb 7, 4:57 pm 2008 |
| Henrique de Moraes H ... | [PATCH 3/3] ACPI: thinkpad-acpi: add sysfs led class sup ...
Add a sysfs led class interface to the led subdriver.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Richard Purdie <rpurdie@rpsys.net>
---
Documentation/thinkpad-acpi.txt | 46 +++++++++++++--
drivers/misc/thinkpad_acpi.c | 120 +++++++++++++++++++++++++++++++++++++++
2 files changed, 160 insertions(+), 6 deletions(-)
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt
index 0301394..53aa620 100644
--- ...
| Feb 7, 4:57 pm 2008 |
| Henrique de Moraes H ... | [PATCH 2/3] ACPI: thinkpad-acpi: add sysfs led class sup ...
Add a sysfs led class interface to the thinklight (light subdriver).
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Richard Purdie <rpurdie@rpsys.net>
---
Documentation/thinkpad-acpi.txt | 25 ++++++++++++++++++++-----
drivers/misc/thinkpad_acpi.c | 39 ++++++++++++++++++++++++++++++++++++++-
2 files changed, 58 insertions(+), 6 deletions(-)
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt
index 204161e..0301394 100644
--- ...
| Feb 7, 4:57 pm 2008 |
| Adrian Bunk | [2.6 patch] fix xtensa timerfd breakage
This patch fixes the following compile error:
<-- snip -->
...
CC arch/xtensa/kernel/syscall.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/xtensa/kernel/syscall.c:39:
include2/asm/unistd.h:681: error: 'sys_timerfd' undeclared here (not in a function)
make[2]: *** [arch/xtensa/kernel/syscall.o] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
a42376eff20647fda6dc1bde20e793f9b4001c39 diff --git a/include/asm-xtensa/unistd.h ...
| Feb 7, 4:25 pm 2008 |
| Adrian Bunk | frv cmpxchg_local compile error
Commit 14e0cb3c60b89c4a2512852ffc18601c72314a0f broke frv compilation:
<-- snip -->
...
CC arch/frv/kernel/asm-offsets.s
In file included from include/asm/system.h:271,
from include/asm/bitops.h:19,
from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from arch/frv/kernel/asm-offsets.c:7:
include/asm-generic/cmpxchg-local.h: In function ...
| Feb 7, 4:13 pm 2008 |
| Kyle McMartin | Re: parisc compile error
haha no. i don't expect people to have to untangle the mess of includes
that is <asm-parisc/*.h> :)
cheers, kyle
--
| Feb 7, 4:34 pm 2008 |
| Kyle McMartin | Re: parisc compile error
yes, it's in my batch of fixes.
thanks for the reminder.
cheers, kyle
--
| Feb 7, 4:20 pm 2008 |
| Adrian Bunk | parisc compile error
Commit 9e2779fa281cfda13ac060753d674bbcaa23367e broke parisc:
<-- snip -->
...
CC arch/parisc/kernel/asm-offsets.s
In file included from include/asm/pgtable.h:13,
from arch/parisc/kernel/asm-offsets.c:36:
include/linux/mm.h: In function 'is_vmalloc_addr':
include/linux/mm.h:243: error: 'VMALLOC_START' undeclared (first use in this function)
include/linux/mm.h:243: error: (Each undeclared identifier is reported only once
include/linux/mm.h:243: error: for each ...
| Feb 7, 4:12 pm 2008 |
| Christoph Lameter | Re: parisc compile error
<big sigh of relief> So I do not have to worry about it?
--
| Feb 7, 4:33 pm 2008 |
| Adrian Bunk | sparc compile error
Commit 3062fc67dad01b1d2a15d58c709eff946389eca4 broke sparc:
<-- snip -->
...
CC init/do_mounts.o
In file included from include/linux/mm.h:39,
from include/linux/memcontrol.h:24,
from include/linux/swap.h:8,
from include/linux/suspend.h:7,
from init/do_mounts.c:6:
include/asm/pgtable.h:344: warning: parameter names (without types) in function declaration
include/asm/pgtable.h:345: warning: parameter names (without ...
| Feb 7, 4:12 pm 2008 |
| David Rientjes | Re: sparc compile error
3062fc67 introduced far too many build errors for the convenience it
allows. It's not even always necessary to rcu deference mm->mem_cgroup in
the first place, so we'll use it on a case by case basis.
Signed-off-by: David Rientjes <rientjes@google.com>
---
include/linux/memcontrol.h | 13 -------------
mm/memcontrol.c | 2 +-
mm/rmap.c | 6 ++++--
3 files changed, 5 insertions(+), 16 deletions(-)
diff --git a/include/linux/memcontrol.h ...
| Feb 7, 4:38 pm 2008 |
| Adrian Bunk | [2.6 patch] fix ide/legacy/gayle.c compilation
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
deb88131c2fcc3076121597463153979aba9062d diff --git a/drivers/ide/legacy/gayle.c b/drivers/ide/legacy/gayle.c
index 9d3851d..b7d8109 100644
--- a/drivers/ide/legacy/gayle.c
+++ b/drivers/ide/legacy/gayle.c
@@ -94,7 +94,7 @@ static int gayle_ack_intr_a1200(ide_hwif_t *hwif)
static void __init gayle_setup_ports(hw_regs_t *hw, unsigned long base,
unsigned long ctl, unsigned long irq_port,
- ide_ack_intr_t *ack_intr);
+ ...
| Feb 7, 4:12 pm 2008 |
| Arnaldo Carvalho de Melo | Reducing debuginfo size by removing unneeded includes
Hi Ingo,
I'm starting with you because the first file I used to
experiment with this idea was arch/x86/ia32/sys_ia32.c.
I found it strange that the struct sk_buff definition was found
inside the DWARF debugging sections in the generated object, so I verified
and found that there is no need for the files that bring struct sk_buff
definition into this file and verified also that sk_buff is not brought
in indirectly too, thru other headers.
I went on and removed many other unneeded ...
| Feb 7, 4:03 pm 2008 |
| Yinghai Lu | [PATCH] sata_mv: fix loop with last port
[PATCH] sata_mv: fix loop with last port
commit f351b2d638c3cb0b95adde3549b7bfaf3f991dfa
sata_mv: Support SoC controllers
cause panic:
scsi 4:0:0:0: Direct-Access ATA HITACHI HDS7225S V44O PQ: 0 ANSI: 5
sd 4:0:0:0: [sde] 488390625 512-byte hardware sectors (250056 MB)
sd 4:0:0:0: [sde] Write Protect is off
sd 4:0:0:0: [sde] Mode Sense: 00 3a 00 00
sd 4:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 4:0:0:0: [sde] 488390625 512-byte ...
| Feb 7, 4:06 pm 2008 |
| Sam Ravnborg | Re: - typhoon-section-fix.patch removed from -mm tree
But powerpc is subtle and I foresee that we have to kill __devinitconst
and friends soonish.
The problem is that despite data being const the compiler does not
always mark the section const.
So we will see a lot of the errors you see for powerpc now
that we unconditionally specify a section.
Previously this inconsistentcy were hidden by the fact that powerpc tagets
seldom were build without CONFIG_HOTPLUG=y.
So the patches are correct.
Tomorrow I hope to do a patch that kill ...
| Feb 7, 3:36 pm 2008 |
| Andrew Morton | Re: - typhoon-section-fix.patch removed from -mm tree
On Thu, 7 Feb 2008 23:36:01 +0100
but chances are that in a year's time someone will come along and helpfully
make this const again. Maybe we should annotate such sites with
#define cant_make_me_const_ask_sam_why /**/
to avoid this..
--
| Feb 7, 4:03 pm 2008 |
| Martin Rogge | Re: e1000 1sec latency problem
Hi, I have the same problem with my Thinkpad T60.
root@zorro:~# ping arnold
PING arnold (192.168.158.6) 56(84) bytes of data.
64 bytes from arnold (192.168.158.6): icmp_seq=1 ttl=64 time=49.7 ms
64 bytes from arnold (192.168.158.6): icmp_seq=2 ttl=64 time=0.438 ms
64 bytes from arnold (192.168.158.6): icmp_seq=3 ttl=64 time=1000 ms
64 bytes from arnold (192.168.158.6): icmp_seq=4 ttl=64 time=0.970 ms
64 bytes from arnold (192.168.158.6): icmp_seq=5 ttl=64 time=885 ms
64 bytes from arnold ...
| Feb 7, 3:31 pm 2008 |
| William Dinkel | Invalid size values in /proc/mtrr output
Has anyone else seen extraordinarily large sizes in /proc/mtrr
output? We're running v2.6.24 on some Tyan S5383 dual-socket systems
with the following characteristics:
- qty(1) Intel(R) Xeon(R) CPU E5345 @ 2.33GHz (quad-core, the other
socket is unoccupied)
- 32GB RAM (qty(16) 2GB DIMMS)
- MTRR Discrete ENABLED in the BIOS
- PCI Memory Hole set to 512MB in the BIOS (other options are
256MB, 1GB and 2GB, all of which produce similar results)
- CONFIG_MTRR, CONFIG_SMP and ...
| Feb 7, 3:30 pm 2008 |
| Paul Mackerras | [PATCH] Fix compilation of powerpc asm-offsets.c with old gcc
From: Tony Breeds <tony@bakeyournoodle.com>
Commit ad7f71674ad7c3c4467e48f6ab9e85516dae2720 corrected the clock
resolution reported by the VDSO clock_getres() but introduced another
problem in that older versions of gcc (gcc-4.0 and earlier) fail to
compile the new code in arch/powerpc/kernel/asm-offsets.c.
This fixes it by introducing a new MONOTONIC_RES_NSEC define in the
generic code which is equivalent to KTIME_MONOTONIC_RES but is just an
integer constant, not a ktime ...
| Feb 7, 3:24 pm 2008 |
| Linus Torvalds | Re: [PATCH] Fix compilation of powerpc asm-offsets.c wit ...
Please, when mentioning hex numbers, also do the one-liner shortlog.
I realize that in gitk (or even just with two terminal windows open and a
git repository) it's trivial to just follow the link and see what that
commit was, but even you're just doing a "git log" or more commonly if you
read the commit log somewhere else (like a mail gateway that posts them
automatically when I apply things), it's really much more readable if you
were to say something like:
Commit ...
| Feb 7, 3:53 pm 2008 |
| Geert Uytterhoeven | [PATCH] m68k: correct setting of struct user.u_ar0
Commit 6e16d89bcd668a95eb22add24c02d80890232b66
Sanitize the type of struct user.u_ar0
struct user.u_ar0 is defined to contain a pointer offset on all
architectures in which it is defined (all architectures which define an
a.out format except SPARC.) However, it has a pointer type in the headers,
which is pointless -- <asm/user.h> is not exported to userspace, and it
just makes the code messy.
Redefine the field as "unsigned long" (which is the same size ...
| Feb 7, 3:10 pm 2008 |
| Ingo Molnar | Re: [PATCH] Fix CONFIG_COMPAT_BRK help text
yeah - this typo fix is already in x86.git.
Ingo
--
| Feb 7, 3:20 pm 2008 |
| Roland Dreier | [PATCH] Fix CONFIG_COMPAT_BRK help text
CONFIG_COMPAT_BRK=y means that heap randomization is turned off, so
it's *always* a safe choice. I assume the help text is trying to say
that if one does not run ancient binaries, then enabling heap
randomization is safe.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
---
diff --git a/init/Kconfig b/init/Kconfig
index 95ac265..242ce32 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -565,7 +565,7 @@ config COMPAT_BRK
disabled, and can be overriden runtime by setting
...
| Feb 7, 3:09 pm 2008 |
| Ray Lee | Re: ACPI_WMI: worst config description of all times
While the kconfig text is supposed to say 'what' something is, the
more valuable piece of information it provides is *why* one would want
to enable it.
Do you have list of hardware/platforms that require this feature to
get the hardware to work? (acer abc123, tcm1100 xyz) If so, providing
that information to the user/distributions is the right first step.
Tell them why they want this feature.
Better, if there are kernel drivers that require this (and currently
only those drivers), then ...
| Feb 7, 4:33 pm 2008 |
| Pavel Machek | ACPI_WMI: worst config description of all times
See? It even has completely useless help text.
Does WMI stand for Windows Management Instrumentation? It is some
server management feature? What is it good for?
Pavel
WMI (EXPERIMENTAL) (ACPI_WMI) [N/m/y/?] (NEW) ?
This driver adds support for the ACPI-WMI mapper device (PNP0C14)
found on some systems.
NOTE: You will need another driver or userspace application on top of
this to actually use anything defined in the ACPI-WMI mapper.
--
(english) ...
| Feb 7, 2:47 pm 2008 |
| Len Brown | Re: ACPI_WMI: worst config description of all times
Thank you for the feedback, Pavel.
There is an additional patch which creates
Documentation/acpi/wmi.txt, but I witheld it from
this batch because it needs to be revised.
If you are not subscribed to the linux-acpi list
you can find it here:
http://marc.info/?l=linux-acpi&m=120217838010224&w=2
Clearly we neeed to update the Kconfig doc as well when
we revise and push that patch.
-Len
--
| Feb 7, 3:27 pm 2008 |
| Carlos Corbacho | Re: ACPI_WMI: worst config description of all times
I have a very long list of Acer laptops that are supported - which is far too
long, and changes on far too much of a regular basis to put in there.
Perhaps adding something like "This driver is also a required dependency to
build the firmware specific drivers needed for many laptops, including Acer
and HP machines"?
(There's currently another ACPI-WMI based driver in development related to
more HP laptops, and acer-wmi also supports a handful of non-Acer laptops).
I don't think ...
| Feb 7, 4:51 pm 2008 |
| Pavel Machek | Re: ACPI_WMI: worst config description of all times
+ACPI-WMI mapping driver
+
+Copyright (C) 2007-2008 Carlos Corbacho <carlos@strangeworlds.co.uk>
+
+Updated: 5th February 2008
+
+1) About this guide
+
+This guide is a basic introduction on how to interact with the ACPI-WMI mapper
+driver in the kernel - it presumes you already have a basic knowledge of
+ACPI-WMI, ACPI and the hardware you are writing the driver for.
+
+2) What is ACPI-WMI
+
+At its simplest, ACPI-WMI is a proprietary extension to the ACPI specification
...
| Feb 7, 3:34 pm 2008 |
| Carlos Corbacho | Re: ACPI_WMI: worst config description of all times
In plain English? ACPI-WMI is a nasty hack/ abuse of ACPI by Microsoft to
force their driver model into ACPI, and that should be thoroughly discouraged
from further use.
However, since quite a few laptop vendors rely on it for basic functionality,
we have to implement it (or a part of it) as well.
Yes, WMI itself is supposed to be an instrumentation/ management thing, as
well as, if I understand, part of their driver model, and ACPI-WMI is a part
of that - by and of itself though, ...
| Feb 7, 4:18 pm 2008 |
| Russell King - ARM Linux | Re: [RFC] Introduce HAVE_IDE to support flexible IDE per ...
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
--
| Feb 7, 2:54 pm 2008 |
| Sam Ravnborg | [RFC] Introduce HAVE_IDE to support flexible IDE per arc ...
Following patch introduce HAVE_IDE to support flexible per
arch or even per. sub-arch configuration of IDE support.
This patch is needed to allow arm to use the generic
drivers/Kconfig file.
Introducing HAVE_IDE so each arch explicit select HAVE_IDE
if supported allowed us to get rid of HAS_IOMEM which
is anyway overloaded.
And doing it this way is a much better way to document which
architectures that supports IDE.
Furthermore the decision if IDE is supported or not ...
| Feb 7, 2:42 pm 2008 |
| Christoph Lameter | Re: [PATCH 1/2] kmemcheck v3
Ahh. Okay. But ZONE_DMA pages are exempt from that scheme? You know
But the slab layer allocates pages < PAGE_SIZE. You need to take a fault
right? So each object would need its own page?
--
| Feb 7, 4:32 pm 2008 |
| Vegard Nossum | [PATCH 1/2] kmemcheck v3
Hi,
With a lot of help from Ingo Molnar and Pekka Enberg over the last couple of
weeks, we've been able to produce a new version of kmemcheck!
General description: kmemcheck is a patch to the linux kernel that detects
use of uninitialized memory. It does this by trapping every read and write to
memory that was allocated dynamically (e.g. using kmalloc()). If a memory
address is read that has not previously been written to, a message is printed
to the kernel log.
Changes since v2:
- Don't ...
| Feb 7, 2:36 pm 2008 |
| Christoph Lameter | Re: [PATCH 1/2] kmemcheck v3
Ok. Then the allocator manages the gfp flag. Then we need to make sure
to clear that flag at some point. The flag needs to be consistently set
So it breaks recursion. But this adds a new cache that is rarely
used. There will be only about 50-100 kmem_cache objects in the system. I
thought you could control the tracking on an per object level? Would not a
More reasons to drop cache_cache. cache_cache is not a kmalloc array
cache by the way since it does not support power of two ...
| Feb 7, 3:53 pm 2008 |
| Vegard Nossum | [PATCH 2/2] kmemcheck v3
Applies on top of kmemcheck patch. Fixes/silences some reports of
use of uninitialized memory.
From: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
diff --git a/include/asm-generic/siginfo.h b/include/asm-generic/siginfo.h
index 8786e01..b70cd97 100644
--- a/include/asm-generic/siginfo.h
+++ b/include/asm-generic/siginfo.h
@@ -278,11 +278,19 @@ void do_schedule_next_timer(struct siginfo *info);
static inline void copy_siginfo(struct siginfo *to, ...
| Feb 7, 2:39 pm 2008 |
| Christoph Lameter | Re: [PATCH 1/2] kmemcheck v3
Hmmmm... You seem to assume that __GFP_NOTRACK can be passed to slab
function calls like kmalloc. That is pretty unreliable. Could we add
Drop this one. create_kmalloc_cache is done only during bootstrap and
kmalloc caches either all have SLAB_NOTRACK set or all do not have it
Same here.
--
| Feb 7, 2:53 pm 2008 |
| Vegard Nossum | Re: [PATCH 1/2] kmemcheck v3
Ok, then I think we are still talking about different things :-)
The tracking that kmemcheck does is actually a byte-for-byte tracking
of whether memory has been initialized or not. Think of it as valgrind
for the kernel. We do this by "hiding" pages (marking them non-present
for for MMU) and taking the page faults, which effectively tells us
what memory is being attempted to be read from or written to.
(This generally means that the tracking that kmemcheck does is
page-granular, but we can ...
| Feb 7, 4:18 pm 2008 |
| Vegard Nossum | Re: [PATCH 1/2] kmemcheck v3
Hello,
Thank you for taking the time to look at this patch!
I don't understand. This is the point, __GFP_NOTRACK _can_ be passed
to slab functions like kmalloc. By default, when kmemcheck is enabled
in the config, all other allocations will be tracked implicitly. The
notrack flag exists to exempt certain (critical) allocations from this
The cache_cache is needed so that we have somewhere to allocate
kmem_cache objects from. These objects are accessed from kmemcheck in
the page fault ...
| Feb 7, 3:12 pm 2008 |
| Harald Arnesen | Re: Latest git oopses during boot
I just re-downloaded an re-patched and re-compiled (with gcc 4.2.3),
and now the kernel boots. I must have screwed up the previous
patching.
It now works, with Fujita's patch applied.
--
Hilsen Harald
--
| Feb 7, 3:24 pm 2008 |
| Linus Torvalds | Re: Latest git oopses during boot
I would suggest a patch mis-application problem first (or possibly even
the patch itself being broken - I simply didn't look very closely at the
patch, but it *looked* ok).
If it's a compiler bug, it's a pretty big one, and quite frankly, I doubt
it. Compiler bugs do happen, but they are pretty rare, and they tend to
have more subtle effects than the one you see.
4.2.3? Really? That's pretty damn recent, and so almost totally untested.
That does make a compiler bug at least ...
| Feb 7, 3:12 pm 2008 |
| Linus Torvalds | Re: Latest git oopses during boot
Ok, I was wrong. The code really *does* compile to that insane
a3 14 00 00 00 mov %eax,0x14
by your compiler.
That's the
asc_dvc_varp->overrun_buf = kzalloc(ASC_OVERRUN_BSIZE, GFP_KERNEL);
thing, and gcc seems to have decided that it can statically prove that
asc_dvc_varp is NULL.
Quite frankly, I don't see that being true. But you have some patches in
your tree that I haven't followed, so.. Are you sure the patches applied
to the right spot? The patch I saw ...
| Feb 7, 2:14 pm 2008 |
| Harald Arnesen | Re: Latest git oopses during boot
I'll try applying the patch to a freshly downloaded git-tree.
Shall I try another compiler? I have at least these two:
gcc version 3.4.6 (Ubuntu 3.4.6-6ubuntu2)
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
in addition to the self-compiled 4.2.3 I used for the tests.
--
Hilsen Harald.
--
| Feb 7, 2:39 pm 2008 |
| Jason Baron | [patch 4/4] make pr_debug() dynamic - update docs
-add documentation about pr_debug kernel-parameters.txt
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
Documentation/kernel-parameters.txt | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index cf38689..6d524bb 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1494,6 +1494,11 @@ and is between 256 and 4096 characters. It is defined in ...
| Feb 7, 2:13 pm 2008 |
| Randy Dunlap | Re: [patch 4/4] make pr_debug() dynamic - update docs
Is this actually Enables/disables?
I.e., is this actually pr_debug=<int> ?
---
~Randy
--
| Feb 7, 2:26 pm 2008 |
| Jason Baron | [patch 3/4] make pr_debug() dynamic - sysctl support
-add /proc/sys/debug/pr_debug, to toggle pr_debug() on/off
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
kernel/sysctl.c | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 7cb1ac3..73508d7 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -155,6 +155,11 @@ static int proc_do_cad_pid(struct ctl_table *table, int write, struct file *filp
static int proc_dointvec_taint(struct ...
| Feb 7, 2:12 pm 2008 |
| Jason Baron | [patch 2/4] make pr_debug() dynamic
-make pptp_msg_name dependent on CONFIG_PR_DEBUG_DYNAMIC
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
net/netfilter/nf_conntrack_pptp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/netfilter/nf_conntrack_pptp.c b/net/netfilter/nf_conntrack_pptp.c
index b5cb8e8..2be92bd 100644
--- a/net/netfilter/nf_conntrack_pptp.c
+++ b/net/netfilter/nf_conntrack_pptp.c
@@ -65,7 +65,7 @@ void
struct nf_conntrack_expect *exp) __read_mostly;
...
| Feb 7, 2:10 pm 2008 |
| Jason Baron | [patch 1/4] make pr_debug() dynamic
-make pr_debug() dynamic so it can be switched on/off. The off state
is implemented on top of the immediate infrastructure, so as to promote
more dynamic printing and debugging. depends on CONFIG_HAVE_IMMEDIATE
and CONFIG_PRINTK
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
include/linux/kernel.h | 10 ++++++++++
init/Kconfig | 5 +++++
kernel/printk.c | 17 +++++++++++++++++
3 files changed, 32 insertions(+), 0 deletions(-)
diff --git ...
| Feb 7, 2:09 pm 2008 |
| Jason Baron | [patch 0/4] make pr_debug() dynamic
hi,
make the pr_debug() function dependent upon the new immediate infrastruture.
Thus, b/c of the low runtime impact, we can dynamically enable/disable
pr_debug withoug recompiling. Patch allows 'pr_debug=0/1' on the command
line or via /proc/sys/debug/pr_debug.
thanks,
-Jason
--
| Feb 7, 2:03 pm 2008 |
| Joe Perches | Re: [patch 0/4] make pr_debug() dynamic
What's wrong with klogd -c 8 or equivalent?
--
| Feb 7, 3:42 pm 2008 |
| shaggy | [git pull] jfs update
Linus, please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git for-linus
This will update the following files:
fs/jfs/file.c | 5 ++++-
fs/jfs/ioctl.c | 31 ++++++++++++++++++++++++++++---
fs/jfs/jfs_dinode.h | 2 ++
fs/jfs/jfs_inode.h | 4 ++--
fs/jfs/namei.c | 5 ++++-
5 files changed, 40 insertions(+), 7 deletions(-)
through these ChangeSets:
Commit: ef1fc2f01e02951a0d8520ec3aa0b38606d74b55
Author: Andi Kleen <ak@suse.de> ...
| Feb 7, 2:02 pm 2008 |
| Bartlomiej Zolnierki ... | [PATCH] ide: remove stale version number
On Thursday 03 January 2008, Robert Hancock wrote:
Cc: Robert Hancock <hancockr@shaw.ca>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Index: b/drivers/ide/ide.c
===================================================================
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -44,8 +44,6 @@
* inspiration from lots of linux users, esp. hamish@zot.apana.org.au
*/
...
| Feb 7, 2:15 pm 2008 |
| Bartlomiej Zolnierki ... | [PATCH] pdc202xx_old: always enable burst mode
Alan has noticed that distros always enabled burst mode
(+ datasheet confirms that it is the right thing to do).
Thus fix pdc202xx_old host driver to do it unconditionally
and remove no longer needed CONFIG_PDC202XX_BURST option.
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/Kconfig | 17 -----------------
drivers/ide/pci/pdc202xx_old.c | 22 ----------------------
2 files changed, 39 ...
| Feb 7, 2:14 pm 2008 |
| Harvey Harrison | [PATCH] fix sparse warning from include/linux/mmzone.h
include/linux/mmzone.h:640:22: warning: potentially expensive pointer subtraction
The code in question was doing a pointer subtraction to find the index of
the zone argument in the node_zones array. This essentially boils down to:
((unsigned long)zone - (unsigned long)zone->zone_pgdat->node_zones)/sizeof(struct zone)
Which can be expensive if struct zone is not a power of two. Instead, just
calculate the offsets rather than the index in the array.
Signed-off-by: Harvey Harrison ...
| Feb 7, 1:52 pm 2008 |
| Greg KH | [patch 15/45] USB: pl2303: add support for RATOC REX-USB60F
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Akira Tsukamoto <akirat@rd.scei.sony.co.jp>
pl2303: add support for RATOC REX-USB60F
This patch adds support for RATOC REX-USB60F Serial Adapters,
which is widely used in Japan recently.
Signed-off-by: Akira Tsukamoto <akirat@rd.scei.sony.co.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/serial/pl2303.c | 1 +
drivers/usb/serial/pl2303.h | 1 +
2 ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 02/45] slab: fix bootstrap on memoryless node
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Pekka J Enberg <penberg@cs.helsinki.fi>
[ Upstream commit: 556a169dab38b5100df6f4a45b655dddd3db94c1 ]
If the node we're booting on doesn't have memory, bootstrapping kmalloc()
caches resorts to fallback_alloc() which requires ->nodelists set for all
nodes. Fix that by calling set_up_list3s() for CACHE_CACHE in
kmem_cache_init().
As kmem_getpages() is called with GFP_THISNODE set, ...
| Feb 7, 1:46 pm 2008 |
| Greg KH | [patch 06/45] USB: CP2101 New Device IDs
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Craig Shelley <craig@microtron.org.uk>
Six new device IDs for CP2101 driver.
Signed-off-by: Craig Shelley <craig@microtron.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/serial/cp2101.c | 6 ++++++
1 file changed, 6 insertions(+)
--- a/drivers/usb/serial/cp2101.c
+++ ...
| Feb 7, 1:46 pm 2008 |
| Greg KH | [patch 29/45] sky2: restore multicast addresses after recovery
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Stephen Hemminger <shemminger@linux-foundation.org>
patch a7bffe722c996679b4fb2103ecaf673ec2b9b4a7 in mainline.
If the sky2 deadman timer forces a recovery, the multicast hash
list is lost. Move the call to sky2_set_multicast to the end
of sky2_up() so all paths that bring device up will restore multicast.
Signed-off-by: Stephen Hemminger ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 16/45] USB: ftdi driver - add support for optical ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Ed Beroset <beroset@mindspring.com>
Added support for the Elster Unicom III Optical Probe.
The device ID has already been added to the usb.ids file.
Signed-off-by: Ed Beroset <beroset@mindspring.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/serial/ftdi_sio.c | 1 +
drivers/usb/serial/ftdi_sio.h | 2 ++
2 files changed, 3 insertions(+)
--- ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 23/45] forcedeth: mac address mcp77/79
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Ayaz Abdulla <aabdulla@nvidia.com>
patch 2b91213064bd882c3adf35f028c6d12fab3269ec in mainline.
This patch is a critical fix for MCP77 and MCP79 devices. The feature
flags were missing the define for correct mac address
(DEV_HAS_CORRECT_MACADDR).
Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 07/45] USB: add support for 4348:5523 WinChipHead ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Piotr Roszatycki <dexter@debian.org>
add support for:
4348:5523 WinChipHead USB->RS 232 adapter with Prolifec PL 2303 chipset
[ mingo@elte.hu: merged it and nursed it upstream ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/serial/pl2303.c | 1 +
drivers/usb/serial/pl2303.h | 5 +++++
2 files changed, 6 ...
| Feb 7, 1:46 pm 2008 |
| Greg KH | [patch 22/45] USB: Fix usb_serial_driver structure for K ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Stefan Bader <stefan.bader@canonical.com>
The device setup did miss to initialize the num_interrupt_out field, thus
failing to successfully complete the probe function.
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Cc: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/serial/kobil_sct.c | 1 +
1 file changed, 1 ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 36/45] b43legacy: drop packets we are not able to ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Stefano Brivio <stefano.brivio@polimi.it>
patch 9eca9a8e81928685b4de00ecef83a7c13c340fc9 in mainline.
We must drop any packets we are not able to encrypt.
We must not send them unencrypted or with an all-zero-key (which
basically is the same as unencrypted, from a security point of view).
This might only trigger shortly after resume before mac80211 reassociated
and reconfigured the ...
| Feb 7, 1:48 pm 2008 |
| Greg KH | [patch 09/45] USB: Adding YC Cable USB Serial device to pl2303
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Damien Stuart <dstuart@dstuart.org>
This simply adds the "YC Cable" as a vendor and its pl2303-based
USB<->Serial adapter as a product. This particular adapter is sold by
Radio Shack. I've done limited testing on a few different systems with
no issues.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/serial/pl2303.c | 1 +
drivers/usb/serial/pl2303.h | 3 ...
| Feb 7, 1:46 pm 2008 |
| Greg KH | [patch 28/45] x86: restore correct module name for apm
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Sam Ravnborg <sam@ravnborg.org>
patch 3a900d89db35c133bc0874e71d9156b22db362b4 in mainline
The apm module were renamed to apm_32 during the merge of 32 and 64 bit
x86 which is unfortunate. As apm is 32 bit specific we like to keep the
_32 in the filename but the module should be named apm.
Fix this in the Makefile.
Reported-by: "A.E.Lawrence" ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 38/45] selinux: fix labeling of /proc/net inodes
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Stephen Smalley <sds@tycho.nsa.gov>
patch b1aa5301b9f88a4891061650c591fb8fe1c1d1da in mainline.
The proc net rewrite had a side effect on selinux, leading it to mislabel
the /proc/net inodes, thereby leading to incorrect denials. Fix
security_genfs_sid to ignore extra leading / characters in the path supplied
by selinux_proc_get_sid since we now get "//net/..." rather than ...
| Feb 7, 1:48 pm 2008 |
| Greg KH | Re: [patch 00/45] 2.6.24-stable review
I can queue them up for the next one after this release.
thanks,
greg k-h
--
| Feb 7, 2:58 pm 2008 |
| Greg KH | [patch 17/45] USB: use GFP_NOIO in reset path
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Oliver Neukum <oliver@neukum.org>
this function will run in the context of the scsi error handler thread.
It must use GFP_NOIO instead of GFP_KERNEL to avoid a possible
deadlock.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/core/hub.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 35/45] b43legacy: fix suspend/resume
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Stefano Brivio <stefano.brivio@polimi.it>
patch ada50731c0346bf900dc387edd3a6961297bf2d3 in mainline.
This patch makes suspend/resume work with the b43legacy driver.
We must not overwrite the MAC addresses in the init function, as this
would also overwrite the MAC on resume. With an all-zero MAC the device
firmware is not able to ACK any received packets anymore.
Fix this by moving the ...
| Feb 7, 1:48 pm 2008 |
| Greg KH | [patch 18/45] USB: Variant of the Dell Wireless 5520 driver
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Nate Carlson <natecars@natecarlson.com>
I've got a Dell wireless 5520 card with a different USB ID - specifically, 8136
instead of 8137. Attached a small patch to add support, and the output of an
'ati3'.
If we could get this in, that'd be sweet. ;) Thanks!
nc@knight:~/tmp/linux-2.6.24-rc8/drivers/usb/serial$ lsusb | grep 8136
Bus 001 Device 005: ID 413c:8136 Dell Computer ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 13/45] USB: sierra: add support for Onda H600/Zte ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Bruno Redondi <bruno.redondi@altarisoluzione.com>
Added support for Onda H600/Zte MF330 GPRS/UMTS/HSDPA datacard
Signed-off-by: Bruno Redondi <bruno.redondi@altarisoluzione.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/serial/sierra.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/usb/serial/sierra.c
+++ b/drivers/usb/serial/sierra.c
@@ ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 14/45] USB: remove duplicate entry in Option driv ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Daniel Kozák <kozzi11@gmail.com>
Remove entry for Huawei E620 UMTS/HSDPA card (ID: 12d1:1001) in pl2303 driver
Option driver is use instead
Signed-off-by: Daniel Kozák <kozzi11@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/serial/pl2303.c | 1 -
drivers/usb/serial/pl2303.h | 4 ----
2 files changed, 5 deletions(-)
--- ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 19/45] USB: storage: Add unusual_dev for HP r707
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Grant Grundler <grundler@parisc-linux.org>
Add "FIX_CAPACITY" entry for HP Photosmart r707 Camera in "Disk" mode.
Camera will wedge when /lib/udev/vol_id attempts to access the last sector,
EIO gets reported to dmesg, and block device is marked "offline" (it is).
Reproduced vol_id behavior with:
"dd if=/dev/sda of=/dev/null skip=60800 count=1"
Signed-off-by: Grant Grundler ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 33/45] b43: Fix dma-slot resource leakage
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Michael Buesch <mb@bu3sch.de>
patch 8dd0100ce9511e52614ecd0a6587c13ce5769c8b in mainline.
This fixes four resource leakages.
In any error path we must deallocate the DMA frame slots we
previously allocated by request_slot().
This is done by storing the ring pointers before doing any ring
allocation and restoring the old pointers in case of an error.
Signed-off-by: Michael Buesch ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 40/45] sched: let +nice tasks have smaller impact
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
patch ef9884e6f29bbe1075204f962a00f7533bf7e8f3 in mainline.
Michel Dänzr has bisected an interactivity problem with
plus-reniced tasks back to this commit:
810e95ccd58d91369191aa4ecc9e6d4a10d8d0c8 is first bad commit
commit 810e95ccd58d91369191aa4ecc9e6d4a10d8d0c8
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Mon Oct 15 17:00:14 ...
| Feb 7, 1:48 pm 2008 |
| Greg KH | [patch 44/45] Driver core: Revert "Fix Firmware class na ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Michael E Brown <Michael_E_Brown@dell.com>
patch 7d640c4a5b36c4733460065db1554da924044511 in mainline.
This reverts commit 109f0e93b6b728f03c1eb4af02bc25d71b646c59.
The original patch breaks BIOS updates on all Dell machines. The path to
the firmware file for the dell_rbu driver changes, which breaks all of
the userspace tools which rely on it.
Note that this patch re-introduces a ...
| Feb 7, 1:48 pm 2008 |
| Greg KH | [patch 05/45] usb gadget: fix fsl_usb2_udc potential OOPS
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Li Yang <leoli@freescale.com>
For fsl_usb2_udc driver, ep0 also has a descriptor. Current code is
misleading and contains a logical mistake. Here is the patch to fix it.
http://bugzilla.kernel.org/show_bug.cgi?id=9595
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Greg Kroah-Hartman ...
| Feb 7, 1:46 pm 2008 |
| Greg KH | [patch 04/45] USB: keyspan: Fix oops
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
If we get a data URB back from the hardware after we have put the tty to
bed we go kaboom. Fortunately all we need to do is process the URB
without trying to ram its contents down the throat of an ex-tty.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/serial/keyspan.c | 2 +-
1 ...
| Feb 7, 1:46 pm 2008 |
| Chuck Ebbert | Re: [patch 00/45] 2.6.24-stable review
Is there an -rc1 patch somewhere on kernel.org? (and also for 2.6.23?)
--
| Feb 7, 4:50 pm 2008 |
| Greg KH | [patch 08/45] USB: Sierra - Add support for Aircard 881U
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Jessica L. Blank <j@twu.net>
Adds the appropriate vendor and device IDs for the AirCard 881U to
sierra.c. (This device is often rebadged by AT&T as the USBConnect 881).
Signed-off-by: Jessica L Blank <j@twu.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/serial/sierra.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/usb/serial/sierra.c
+++ ...
| Feb 7, 1:46 pm 2008 |
| Greg KH | [patch 24/45] lockdep: annotate epoll
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
patch 0ccf831cbee94df9c5006dd46248c0f07847dd7c in mainline.
Since the epoll code is very careful to not nest same instance locks
allow the recursion.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Tested-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 03/45] vm audit: add VM_DONTEXPAND to mmap for dr ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Nick Piggin <npiggin@suse.de>
Drivers that register a ->fault handler, but do not range-check the
offset argument, must set VM_DONTEXPAND in the vm_flags in order to
prevent an expanding mremap from overflowing the resource.
I've audited the tree and attempted to fix these problems (usually by
adding VM_DONTEXPAND where it is not obvious).
Signed-off-by: Nick Piggin ...
| Feb 7, 1:46 pm 2008 |
| Greg KH | [patch 27/45] ACPI: update ACPI blacklist
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Len Brown <len.brown@intel.com>
These minor changes sync the latest ACPI blacklist into 2.6.24.
The main benefit of this patch is to make any future
changes easier to apply. The immediate benefit is one less
dmesg line on Acer systems.
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/acpi/blacklist.c | 23 ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 42/45] fix writev regression: pan hanging unkilla ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Nick Piggin <nickpiggin@yahoo.com.au>
patch 124d3b7041f9a0ca7c43a6293e1cae4576c32fd5 in mainline.
Frederik Himpe reported an unkillable and un-straceable pan process.
Zero length iovecs can go into an infinite loop in writev, because the
iovec iterator does not always advance over them.
The sequence required to trigger this is not trivial. I think it
requires that a zero-length ...
| Feb 7, 1:48 pm 2008 |
| Greg KH | [patch 01/45] DVB: cx23885: add missing subsystem ID for ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Michael Krufky <mkrufky@linuxtv.org>
[PATCH] DVB: cx23885: add missing subsystem ID for Hauppauge HVR1800 Retail
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---
---
Documentation/video4linux/CARDLIST.cx23885 | 2 +-
drivers/media/video/cx23885/cx23885-cards.c | ...
| Feb 7, 1:46 pm 2008 |
| Greg KH | [patch 34/45] b43legacy: fix PIO crash
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Stefano Brivio <stefano.brivio@polimi.it>
patch 0cd67d48b519c3d8d89d238fab1cf68a5289638a in mainline.
Fix the crash reported below, which seems to happen on bcm4306 rev. 2 devices
only while using PIO:
Oops: 0000 [#1] PREEMPT
Modules linked in: b43(F) rfkill(F) led_class(F) input_polldev(F) arc4 b43legacy mac80211 cfg80211 i915 drm snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 43/45] x86: replace LOCK_PREFIX in futex.h
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Thomas Gleixner <tglx@linutronix.de>
The exception fixup for the futex macros __futex_atomic_op1/2 and
futex_atomic_cmpxchg_inatomic() is missing an entry when the lock
prefix is replaced by a NOP via SMP alternatives.
Chuck Ebert tracked this down from the information provided in:
https://bugzilla.redhat.com/show_bug.cgi?id=429412
A possible solution would be to add another fixup ...
| Feb 7, 1:48 pm 2008 |
| Greg KH | [patch 11/45] USB: ftdi_sio - enabling multiple ELV devi ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Peter Stark <Peter.Stark@t-online.de>
I work with a group of people on a free home automation tool called
FHEM. Some of the users own more than one USB-serial device by ELV. The
ftdi_sio driver has most of the ELV devices disabled by default and
needs to be re-enabled every time you get a new kernel. Additionally a
new device (EM 1010 PC - enegry monitor) is missing in the ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 00/45] 2.6.24-stable review
This is the start of the stable review cycle for the 2.6.24.1 release.
There are 45 patches in this series, all will be posted as a response to
this one. If anyone has any issues with these being applied, please let
us know. If anyone is a maintainer of the proper subsystem, and wants
to add a Signed-off-by: line to the patch, please respond with it.
These patches are sent out with a number of different people on the Cc:
line. If you wish to be a reviewer, please email stable@kernel.org ...
| Feb 7, 1:45 pm 2008 |
| Greg KH | [patch 10/45] USB: sierra driver - add devices
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Kevin Lloyd <linux@sierrawireless.com>
The following improvements were made:
- Added new product support: MC5725, AC 880 U, MP 3G (UMTS & CDMA)
Signed-off-by: Kevin Lloyd <linux@sierrawireless.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/serial/sierra.c | 9 +++++++++
1 file changed, 9 insertions(+)
--- a/drivers/usb/serial/sierra.c
+++ ...
| Feb 7, 1:47 pm 2008 |
| S.Çağlar | Re: [patch 00/45] 2.6.24-stable review
Hi;
07 =C5=9Eub 2008 Per tarihinde, Greg KH =C5=9Funlar=C4=B1 yazm=C4=B1=C5=9Ft=
If its possible could you please add [1] "mac80211: hardware scan rework" a=
nd [2] "mac80211: Restore rx.fc before every invocation of ieee80211_invoke=
_rx_handlers" into -stable too?
[1] http://git.kernel.org/?p=3Dlinux/kernel/git/torvalds/linux-2.6.git;a=3D=
commitdiff;h=3Dece8edddf067d21c4e5abfe3f1205da1588edbb2
[2] ...
| Feb 7, 2:41 pm 2008 |
| Greg KH | [patch 37/45] b43legacy: fix DMA slot resource leakage
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Stefano Brivio <stefano.brivio@polimi.it>
patch 8dd0100ce9511e52614ecd0a6587c13ce5769c8b in mainline.
This fixes four resource leakages.
In any error path we must deallocate the DMA frame slots we
previously allocated by request_slot().
This is done by storing the ring pointers before doing any ring
allocation and restoring the old pointers in case of an error.
This patch by Michael ...
| Feb 7, 1:48 pm 2008 |
| Greg KH | [patch 41/45] sched: fix high wake up latencies with FAI ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
patch 296825cbe14d4c95ee9c41ca5824f7487bfb4d9d in mainline.
The reason why we are getting better wakeup latencies for
!FAIR_USER_SCHED is because of this snippet of code in place_entity():
if (!initial) {
/* sleeps upto a single latency don't count. */
if (sched_feat(NEW_FAIR_SLEEPERS) && entity_is_task(se))
...
| Feb 7, 1:48 pm 2008 |
| Greg KH | [patch 20/45] USB: fix usbtest halt check on big endian ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Jan Andersson <jan@gaisler.com>
usbtest did not swap the received status information when checking for
a non-zero value and failed to discover halted endpoints on big endian
systems.
Signed-off-by: Jan Andersson <jan@gaisler.com>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/misc/usbtest.c | 1 +
1 file ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 26/45] PCI: Fix fakephp deadlock
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Ian Abbott <abbotti@mev.co.uk>
This patch works around a problem in the fakephp driver when a process
writing "0" to a "power" sysfs file to fake removal of a PCI device ends
up deadlocking itself in the sysfs code.
The patch was recently accepted into Linus' tree after the 2.6.24 ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 32/45] b43: Drop packets we are not able to encrypt
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Michael Buesch <mb@bu3sch.de>
patch 09552ccd8277e6382097e93a40f7311a09449367 in mainline
We must drop any packets we are not able to encrypt.
We must not send them unencrypted or with an all-zero-key (which
basically is the same as unencrypted, from a security point of view).
This might only trigger shortly after resume before mac80211 reassociated
and reconfigured the keys.
It is ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 21/45] USB: handle idVendor of 0x0000
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Greg Kroah-Hartman <gregkh@suse.de>
Some crazy devices in the wild have a vendor id of 0x0000. If we try to
add a module alias with this id, we just can't do it due to a check in
the file2alias.c file. Change the test to verify that both the vendor
and product ids are 0x0000 to show a real "blank" module alias.
Note, the module-init-tools package also needs to be changed to ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 30/45] sky2: fix for WOL on some devices
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Stephen Hemminger <shemminger@linux-foundation.org>
patch 82637e808478087ce861129745fa60cc37e7929d in mainline
This patch disables config mode access after clearing PCI settings.
Without this change WOL won't work on some BIOS's
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/net/sky2.c | 9 ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 45/45] drm: the drm really should call pci_set_master..
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Dave Airlie <airlied@linux.ie>
(submitted upstream as 19a8f59ab8ceee751ea720085098355d53f727d6)
perhaps bonghits could turn on my bus-mastering because the drm
certainly never bothered doing it before.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/char/drm/drm_stub.c | 1 +
1 file changed, 1 insertion(+)
--- ...
| Feb 7, 1:48 pm 2008 |
| Greg KH | [patch 25/45] sys_remap_file_pages: fix ->vm_file accounting
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Oleg Nesterov <oleg@tv-sign.ru>
patch 8a459e44ad837018ea5c34a9efe8eb4ad27ded26 in mainline.
Fix ->vm_file accounting, mmap_region() may do do_munmap().
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 31/45] b43: Fix suspend/resume
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Michael Buesch <mb@bu3sch.de>
patch 7be1bb6b798d506693d2d8668e801951996b5a4a in mainline.
This patch makes suspend/resume work with the b43 driver.
We must not overwrite the MAC addresses in the init function, as this
would also overwrite the MAC on resume. With an all-zero MAC the device
firmware is not able to ACK any received packets anymore.
Fix this by moving the initializion stuff ...
| Feb 7, 1:47 pm 2008 |
| Greg KH | [patch 39/45] b43: Reject new firmware early
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Michael Buesch <mb@bu3sch.de>
(not in mainline, as it is not applicable.)
We must reject new incompatible firmware early to avoid
running into strange transmission failures.
The current development tree supports newer firmware revisions.
These revisions cause strange failures on the stable 2.6.24 kernel.
Add a check to avoid confusing users a lot.
Signed-off-by: Michael Buesch ...
| Feb 7, 1:48 pm 2008 |
| Greg KH | [patch 12/45] USB: ftdi-sio: Patch to add vendor/device ...
2.6.24-stable review patch. If anyone has any objections, please let us know.
------------------
From: Franco Lanza <nextime@nexlab.it>
little patches only to add vendor/device id of ATK_16IC CCD cam for
astronomy.
From: Franco Lanza <nextime@nexlab.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/serial/ftdi_sio.c | 1 +
drivers/usb/serial/ftdi_sio.h | 1 +
2 files changed, 2 insertions(+)
--- a/drivers/usb/serial/ftdi_sio.c
+++ ...
| Feb 7, 1:47 pm 2008 |
| Bartlomiej Zolnierki ... | [PATCH 2.5/3] palm_bk3710: port initialization/probing bugfix
Probe port _after_ it is fully initialized.
Cc: Anton Salnikov <asalnikov@ru.mvista.com>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/arm/palm_bk3710.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Index: b/drivers/ide/arm/palm_bk3710.c
===================================================================
--- a/drivers/ide/arm/palm_bk3710.c
+++ b/drivers/ide/arm/palm_bk3710.c
@@ ...
| Feb 7, 1:50 pm 2008 |
| Mark Fasheh | Re: [git patches] ocfs2 update
Yeah, a better name would probably help with readability. Joel, how about
FWIW - I've run all patches through checkpatch.pl since your last review.
This one went through a couple cycles of checkpatch actually :) There's
three warnings that I get:
ERROR: "foo * bar" should be "foo *bar"
#70: FILE: fs/ocfs2/dlm/dlmapi.h:200:
+struct dlm_ctxt * dlm_register_domain(const char *domain, u32 key,
WARNING: line over 80 characters
#269: FILE: ...
| Feb 7, 2:37 pm 2008 |
| Joel Becker | Re: [git patches] ocfs2 update
Even better is to move the update outside the function. What do
we think of the following?
From d667a08d73cd6659219d21cc57f67882f46e42d1 Mon Sep 17 00:00:00 2001
From: Joel Becker <joel.becker@oracle.com>
Date: Thu, 7 Feb 2008 14:25:11 -0800
Subject: [PATCH] ocfs2: Clean up locking protocol negotiation.
The comparison functions for protocol negotiation (introduced in commit
d24fbcda0c4988322949df3d759f1cfb32b32953) were confusing.
Separate out the comparison and value update ...
| Feb 7, 3:29 pm 2008 |
| Mark Fasheh | [git patches] ocfs2 update
Here's one last patch for the merge window. It allows the cluster stack to
negotiate a common protocol version with mounting nodes, as opposed to
requiring an exact match as we do today. The patch itself requires a
protocol change, so it'd be nice to see this upstream with all the other
network changes we did for 2.6.25. I held this patch back from my initial
pull request so that we could a bit more testing on it.
--Mark
Please pull from 'upstream-linus' branch ...
| Feb 7, 1:09 pm 2008 |
| Andrew Morton | Re: [git patches] ocfs2 update
On Thu, 7 Feb 2008 12:09:44 -0800
It's somewhat obnoxious that what appears to be a straightforward
compare-two-things-and-return-result function will actually modify one of
the things which it is allegedly comparing.
Please integrate checkpatch into your processes - this one had a few little
glitches.
--
| Feb 7, 1:47 pm 2008 |
| Andrew Morton | Re: [git patches] ocfs2 update
On Thu, 7 Feb 2008 13:37:15 -0800
I tend to clean those things up as we go, because it's a free patch.
otoh I see that dlm style is presently space-after-asterisk so there's not
yes, I tend to ignore those warnings unless the mess is really gratuitous or
No, you shouldn't view checkpatch as a things-i-must-do. It is a
things-i-might-have-missed tool. If you _meant_ things to be that way then
fine, ignore it.
--
| Feb 7, 3:17 pm 2008 |
| Grant Likely | Re: Xilinx: hwicap driver comments
It went through my tree. Paul pulls from Josh Boyer's tree for
powerpc-4xx patches, and Josh pulls from mine for xilinx virtex
powerpc 405 patches.
My screw up, sorry I broke the rules. What is the best way to resolve this?
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
| Feb 7, 1:54 pm 2008 |
| Josh Boyer | Re: Xilinx: hwicap driver comments
On Thu, 7 Feb 2008 14:11:43 -0800
Kumar's tree is speshul ;). I'm entirely too nice and my tree tends to
Actually, 90% of it was. The recent stuff from my tree was all bug
fixes and/or patches that were waiting on some other subsystem
maintainer to get merged (the ehci usb bits, etc). I think I'm still
waiting on Jeff for a netdev patch even. Anyway, the exception to that
was the Virtex stuff so my bad there.
So I really am trying to play nice and mostly have stuff in by the
-rc's ...
| Feb 7, 3:58 pm 2008 |
| Jiri Slaby | Re: Xilinx: hwicap driver comments
Yup, should... [I don't know how ofter people have 64bit resources on 32 bit
this becomes a problem.]
--
| Feb 7, 2:28 pm 2008 |
| Jiri Slaby | Re: Xilinx: hwicap driver comments
device_create(); and pass the struct device as a parent when you are at it.
OK, but why are you copying anything to buffer which you free 2 lines below?
--
| Feb 7, 3:39 pm 2008 |
| Benjamin Herrenschmidt | Re: Xilinx: hwicap driver comments
For MMIO it's becoming more and more common actually in the embedded
space. Xilinx uses 405 cores which I think still only have a 32 bits
physical bus though, but if they ever extend it or switch to 440 they'll
have a 36 bits bus.
Ben.
--
| Feb 7, 2:33 pm 2008 |
| Grant Likely | Re: Xilinx: hwicap driver comments
ok
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
| Feb 7, 2:31 pm 2008 |
| Linus Torvalds | Re: Xilinx: hwicap driver comments
No, it's correct.
If you look deeper, you'll see (in gitk, or using "--pretty=fuller") that
it has:
Author: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Commit: Grant Likely <grant.likely@secretlab.ca>
which means that the sign-off chain is complete and matches:
Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
ie it was written by Stephen, and then committed by Grant, and ...
| Feb 7, 2:40 pm 2008 |
| Stephen Neuendorffer | RE: Xilinx: hwicap driver comments
Hmm... what if git told you what time the original git commit happened?
That can't be that hard to add (if it's not already there!)
Steve
--
| Feb 7, 3:00 pm 2008 |
| Andrew Morton | Re: Xilinx: hwicap driver comments
On Thu, 07 Feb 2008 21:08:50 +0100
Never seen it before in my life. Can't find any references to it in any of
the mailing lists. I ended up googling the changelog text for a whopping
three hits and it appears that this change went into the powerpc patch
system (http://patchwork.ozlabs.org/linuxppc/patch?id=16712)
How it got from there into Linux is also a mystery. I see a batch of
powerpc updates just went into mainline but I don't know whose tree was
pulled - I wasn't copied on any pull ...
| Feb 7, 1:42 pm 2008 |
| Stephen Neuendorffer | RE: Xilinx: hwicap driver comments
I'm rather new to all this and still (to some extent) trying to figure
out what is expected.
Maybe what is needed is git pull --ack?
Steve
--
| Feb 7, 2:35 pm 2008 |
| Benjamin Herrenschmidt | Re: Xilinx: hwicap driver comments
They should actually be resource_size_t :-)
Ben.
--
| Feb 7, 2:17 pm 2008 |
| Stephen Neuendorffer | RE: Xilinx: hwicap driver comments
[Empty message]
| Feb 7, 2:10 pm 2008 |
| Jiri Slaby | Xilinx: hwicap driver comments
Hi,
first of all, I think that the driver should go through lkml before upstream
merge or at least be in -mm for a while (I think this used to be a rule some
time ago), correct me if I'm wrong, but none of it happened.
Few comments I have:
- release f_op retval is silently ignored, I guess you will get your device into
undefined state when the first function fails (esp. when you interrupt the sem)
- semaphores are deprecated
- class_device_create is deprecated
- module_init/exit ...
| Feb 7, 1:08 pm 2008 |
| Andrew Morton | Re: Xilinx: hwicap driver comments
On Thu, 7 Feb 2008 15:35:45 -0600
Yes, I was trying to pull Kumar's tree for a while. I still am doing so,
but it's presently 6.5MB of conflicts, so I'll give up on that ;)
In theory, your 2.6.x+1 material shold be ready to go well in advance of
the 2.6.x release day (hah), so it'd be good if it could be in Paul's tree
during 2.6.x's late -rc's.
--
| Feb 7, 3:11 pm 2008 |
| Grant Likely | Re: Xilinx: hwicap driver comments
Hmmm, if that's the rule then I apologize. I had thought that arch
specific drivers were okay (assuming not part of a common subsystem
like USB, Eth, etc). The driver went through a number of review
cycles on the linuxppc mailing list and the comments had settled down.
I didn't see any problem in merging it as it is a platform specific
driver only used by the Xilinx Virtex chips. It is only used by
arch/powerpc and only when CONFIG_XILINX_VIRTEX is selected.
Linus has already pulled ...
| Feb 7, 1:34 pm 2008 |
| Andrew Morton | Re: Xilinx: hwicap driver comments
On Thu, 7 Feb 2008 13:54:06 -0700
Well I think we'd like to see the patches appear in Paul's tree well before
the merge window if poss - that way they'll get a little bit of tyre-kicking
and perhaps review via -mm. Kamalesh and I (at least) do perform build-
and runtime testing of powerpc.
I would request that Paul copy myself and the main mailing list on pull
requests.
It seems wrong that the signoff trail for that patch didn't actually
reflect reality - it should have had both Josh's ...
| Feb 7, 2:21 pm 2008 |
| Andrew Morton | Re: Xilinx: hwicap driver comments
On Thu, 7 Feb 2008 13:35:09 -0800
We're all still trying to figure it out, really. We've gone and made it
awfully easy to get code into the kernel nowadays. Perhaps too easy. I'm
presently having a little campaign of watching what's going on a bit more
closely, and ecouraging people to make it easier for others to see what's
going on, should they choose to do so.
I'm hoping that by the time we're developing 2.6.26 there will be a unified
git tree (aka linux-next) (basically all the git and ...
| Feb 7, 2:53 pm 2008 |
| Josh Boyer | Re: Xilinx: hwicap driver comments
On Thu, 7 Feb 2008 12:42:03 -0800
Gah, no. Don't blame Paul. It wasn't actually stealth either as it
got posted a few times to the powerpc list.
You can blame me and/or Grant if you'd like. It's a Virtex specific
driver and I didn't see any problem with it going in through the
Sure. You could add my tree to -mm if you want. Though I'd really
rather if we all sync up with Paul sooner so you don't have to track 5
or 6 "powerpc" trees.
josh
--
| Feb 7, 2:35 pm 2008 |
| Stephen Neuendorffer | RE: Xilinx: hwicap driver comments
the sem)
Hmm.. hadn't realized that. I'm open to suggestions on how to do this
better. The real reason why the synchronization is there is to make
sure that only one client is using the device at a time, using the
The physical device only generates/accepts complete words, the intention
is to account for the possibility that a read does not read complete
words, and to fulfill the read whenever possible.
It's arguable that read() and write() should not accept or return
no idea. even ...
| Feb 7, 3:31 pm 2008 |
| Benjamin Herrenschmidt | Re: Xilinx: hwicap driver comments
It's unclear to me whether you did anything wrong here.
This driver is totally platform specific (it's not like it was a
wireless driver or something like that) and has been reviewed on the
platform mailing list (even if, apprently, not enough).
If those problems haven't been spotted, then too bad, and thanks Jiri
for picking them up later on, that's much welcome, but I don't think we
should start having all of the platform bits go through lkml, it
wouldn't be practical at all.
As far ...
| Feb 7, 2:25 pm 2008 |
| Grant Likely | Re: Xilinx: hwicap driver comments
The Virtex5 has a 440. It's going to be released "real soon now"
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
| Feb 7, 2:35 pm 2008 |
| Andrew Morton | Re: + smack-unlabeled-outgoing-ambient-packets.patch add ...
On Thu, 7 Feb 2008 14:50:41 -0500
--
| Feb 7, 1:04 pm 2008 |
| Paul Moore | Re: + smack-unlabeled-outgoing-ambient-packets.patch add ...
My apologies, those mailing list postings there haven't hit my inbox yet.
--
paul moore
linux security @ hp
--
| Feb 7, 1:14 pm 2008 |
| Oliver Pinter | [2.6.22.y] {14+1} - NM!!! - Race condition in userspace ...
aka: do_anonymous_page-race.patch
From: Andrea Arcangeli <andrea@suse.de>
Subject: Race condition in userspace testcase
References: 46948, LTC11574
NOT IN MAINLINE
Additional Comment #103 From Andrea Arcangeli 2004-10-15 19:41
the last patch I attached is the safest I believe.
I'm not sure if a lock_unlock or lock_unlock is always guaranteed to happen
after the I/O, and this makes sure no race can happen anymore.
---
fs/bio.c | 9 +++++++++
1 file changed, 9 insertions(+)
--- ...
| Feb 7, 1:04 pm 2008 |
| Oliver Pinter | [2.6.22.y] {14/14} - knfsd: query filesystem for NFSv4 g ...
aka: nfsv4-MAXNAME-fix.patch
From: J. Bruce Fields <bfields@citi.umich.edu>
Date: Fri, 28 Sep 2007 16:45:51 -0400
Subject: knfsd: query filesystem for NFSv4 getattr of FATTR4_MAXNAME
References: 271803
Patch-mainline: 2.6.24 (likely)
mainline: a16e92edcd0a2846455a30823e1bac964e743baa
Without this we always return 2^32-1 as the the maximum namelength.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
CC: Oliver Pinter ...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {13/14} - NFSv2/v3: Fix a memory leak when us ...
aka: nfs-unmount-leak.patch
From: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Tue Dec 11 11:05:19 2007 -0500
Subject: NFSv2/v3: Fix a memory leak when using -onolock
Patch-mainline: 2.6.24
References: 336253
mainline: 13ef7b69b54aa8ae4ed264d0bf41339737f8543a
Neil Brown said:
> Hi Trond,
>
> We found that a machine which made moderately heavy use of
> 'automount' was leaking some nfs data structures - particularly the
> 4K allocated by rpc_alloc_iostats.
...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {12/14} - NFS: Fix an Oops in encode_lookup() ...
aka: nfs-name-len-limit.patch
Patch-mainline: 2.6.23
References: 325913
GIT: 54af3bb543c071769141387a42deaaab5074da55 Mon Sep 17 00:00:00 2001
From: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Fri, 28 Sep 2007 12:27:41 -0400
Subject: [PATCH] NFS: Fix an Oops in encode_lookup()
mainline: 54af3bb543c071769141387a42deaaab5074da55
It doesn't look as if the NFS file name limit is being initialised correctly
in the struct nfs_server. Make sure that we limit whatever is being set ...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {11/14} - NFS: Fix nfs_reval_fsid() - on top ...
aka: nfs-fix-nfs-reval-fsid.patch
Patch-mainline: 2.6.24
References: 271803
GIT: a0356862bcbeb20acf64bc1a82d28a4c5bb957a7 Mon Sep 17 00:00:00 2001
From: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Tue, 5 Jun 2007 13:26:15 -0400
Subject: [PATCH] NFS: Fix nfs_reval_fsid()
mainline: a0356862bcbeb20acf64bc1a82d28a4c5bb957a7
We don't need to revalidate the fsid on the root directory. It suffices to
revalidate it on the current directory.
Signed-off-by: Trond Myklebust ...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {10/14} - knfsd: fix spurious EINVAL errors o ...
aka: nfsacl-retval.patch
From: J. Bruce Fields <bfields@citi.umich.edu>
Date: Fri, 2 Nov 2007 15:36:08 -0400
Subject: [PATCH] knfsd: fix spurious EINVAL errors on first access of
new filesystem
References: 340873
mainline: ac8587dcb58e40dd336d99d60f852041e06cc3dd
The v2/v3 acl code in nfsd is translating any return from fh_verify() to
nfserr_inval. This is particularly unfortunate in the case of an
nfserr_dropit return, which is an internal error meant to indicate to
callers that this ...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {09/14} - via-velocity: don't oops on MTU cha ...
aka: via-velocity-dont-oops-on-mtu-change-2.patch
From: Stephen Hemminger <shemminger@linux-foundation.org>
Date: Wed, 28 Nov 2007 22:20:16 +0000 (-0800)
Subject: via-velocity: don't oops on MTU change (resend)
Patch-mainline: v2.6.24-rc4
References: 341537
via-velocity: don't oops on MTU change (resend)
mainline: 48f6b053613b62fed7a2fe3255e5568260a8d615
The VIA veloicty driver needs the following to allow changing MTU when down.
The buffer size needs to be computed when device is ...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {08/14} - [VIA_VELOCITY]: Don't oops on MTU c ...
aka: via-velocity-dont-oops-on-mtu-change-1.patch
From: Stephen Hemminger <shemminger@linux-foundation.org>
Date: Thu, 15 Nov 2007 03:47:27 +0000 (-0800)
Subject: [VIA_VELOCITY]: Don't oops on MTU change.
Patch-mainline: v2.6.24-rc3
References: 341537
[VIA_VELOCITY]: Don't oops on MTU change.
mainline: bd7b3f34198071d8bec05180530c362f1800ba46
Simple mtu change when device is down.
Fix http://bugzilla.kernel.org/show_bug.cgi?id=9382.
Signed-off-by: Stephen Hemminger ...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {07/14} - sony-laptop: call sonypi_compat_ini ...
aka: sony-laptop-call-sonypi_compat_init-earlier.patch
From: Mattia Dongili <malattia@linux.it>
Date: Sun, 12 Aug 2007 07:20:27 +0000 (+0900)
Subject: sony-laptop: call sonypi_compat_init earlier
Patch-mainline: 2.6.23
References: 350984
sony-laptop: call sonypi_compat_init earlier
mainline: 015a916fbbf105bb15f4bbfd80c3b9b2f2e0d7db
sonypi_compat uses a kfifo that needs to be present before _SRS is
called to be able to cope with the IRQs triggered when ...
| Feb 7, 1:03 pm 2008 |
| Greg Kroah-Hartman | [PATCH 3/3] sysfs: remove BUG_ON() from sysfs_remove_group()
It's possible that the caller of sysfs_remove_group messed up and passed in an attribute group that was not really registered to this kobject. But don't panic for such a foolish error, spit out a warning about what happened, and continue on our way safely.
Cc: Roland Dreier <rdreier@cisco.com>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/sysfs/group.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/fs/sysfs/group.c ...
| Feb 7, 1:02 pm 2008 |
| Greg KH | [GIT PATCH] driver core fixes against 2.6.24-git
Here's 3 patches against your current git tree that fix some more
problems that have cropped up:
- whole_disk attribute file causes oopses when read from.
- the firmware class name change broke Dell machines that were
working just fine.
- we shouldn't BUG on a programming error in sysfs by the
caller, do a WARN_ON instead.
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6.git/
Patches will be sent as a follow-on to this message to lkml for people
to ...
| Feb 7, 1:01 pm 2008 |
| Greg Kroah-Hartman | [PATCH 2/3] Driver core: Revert "Fix Firmware class name ...
From: Michael E Brown <Michael_E_Brown@dell.com>
This reverts commit 109f0e93b6b728f03c1eb4af02bc25d71b646c59.
The original patch breaks BIOS updates on all Dell machines. The path to
the firmware file for the dell_rbu driver changes, which breaks all of
the userspace tools which rely on it.
Note that this patch re-introduces a problem with i2c name collision
that was previously fixed by this patch.
Signed-off-by: Michael E Brown <michael_e_brown@dell.com>
Signed-off-by: Greg ...
| Feb 7, 1:02 pm 2008 |
| Greg Kroah-Hartman | [PATCH 1/3] Block: Fix whole_disk attribute bug
The "whole_disk" attribute was not properly converted in the block
device conversion earlier, and if the file is read, bad things can
happen. This patch fixes this, making the attribute an empty one,
preserving the original functionality.
Many thanks to David Miller for finding this, and pointing me in the
proper place within the block code to look.
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman ...
| Feb 7, 1:02 pm 2008 |
| Oliver Pinter | [2.6.22.y] {06/14} - pci: fix unterminated pci_device_id ...
aka: pci-fix-unterminated-pci_device_id-lists.patch
From: Kees Cook <kees@ubuntu.com>
Date: Wed, 19 Sep 2007 05:46:32 +0000 (-0700)
Subject: pci: fix unterminated pci_device_id lists
Patch-mainline: 2.6.23-rc7
References: 340527
Git-commit: h=248bdd5efca5a113cbf443a993c69e53d370236b
pci: fix unterminated pci_device_id lists
mainline: 248bdd5efca5a113cbf443a993c69e53d370236b
Fix a couple drivers that do not correctly terminate their pci_device_id
lists. This results in garbage being ...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {05/14} - Intel_agp: really fix 945/965GME - ...
aka: intel-agp-965gme-fix.patch
From: Wang Zhenyu <zhenyu.z.wang@intel.com>
Subject: Intel_agp: really fix 945/965GME
Patch-mainline: 2.6.23-rc1
References: 281277
Intel_agp: really fix 945/965GME
mainline: dde4787642ee3cb85aef80bdade04b6f8ddc3df8
Fix some missing places to check with device id info, which
should probe the device gart correctly.
Signed-off-by: Wang Zhenyu <zhenyu.z.wang@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Acked-by: Takashi Iwai ...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {04/14} - i386: fixup TRACE_IRQ breakage - on ...
aka: i386-fixup-TRACE_IRQ-breakage.patch
From: Peter Zijlstra <peterz@infradead.org>
Date: Wed, 18 Jul 2007 18:59:22 +0000 (+0200)
Subject: i386: fixup TRACE_IRQ breakage
Patch-mainline: 2.6.23-rc1
References: 326270, CVE-2007-3731
i386: fixup TRACE_IRQ breakage
mainline: a10d9a71bafd3a283da240d2868e71346d2aef6f
The TRACE_IRQS_ON function in iret_exc: calls a C function without
ensuring that the segments are set properly. Move the trace function and
the enabling of interrupt into the ...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {03/14} - Handle bogus %cs selector in single ...
aka: handle-bogus-%cs-selector-in-single-step-instruction-decoding.patch
From: Roland McGrath <roland@redhat.com>
Date: Mon, 16 Jul 2007 08:03:16 +0000 (-0700)
Subject: Handle bogus %cs selector in single-step instruction decoding
Patch-mainline: 2.6.23-rc1
References: 326270, CVE-2007-3731
Handle bogus %cs selector in single-step instruction decoding
mainline: 29eb51101c02df517ca64ec472d7501127ad1da8
The code for LDT segment selectors was not robust in the face of a bogus
selector set ...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {02/14} - Panic in blk_rq_map_sg() from CCISS ...
aka: cciss-panic-in-blk_rq_map_sg.patch
From a683d652d334a546be9175b894f42dbd8e399536 Mon Sep 17 00:00:00 2001
From: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Date: Fri, 21 Sep 2007 08:33:55 +0200
Subject: [PATCH] Panic in blk_rq_map_sg() from CCISS driver
mainline: a683d652d334a546be9175b894f42dbd8e399536
New scatter/gather list chaining [sg_next()] treats 'page' member of
struct scatterlist with low bit set [0x01] as a chain pointer to
another struct scatterlist [array]. The CCISS ...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {01/14} - cciss: fix memory leak - on top of ...
aka: cciss-fix_memory_leak.patch
From f2912a1223c0917a7b4e054f18086209137891ea Mon Sep 17 00:00:00 2001
From: Jesper Juhl <jesper.juhl@gmail.com>
Date: Tue, 31 Jul 2007 00:39:39 -0700
Subject: [PATCH] cciss: fix memory leak
There's a memory leak in the cciss driver.
mainline: f2912a1223c0917a7b4e054f18086209137891ea
in alloc_cciss_hba() we may leak sizeof(ctlr_info_t) bytes if a
call to alloc_disk(1 << NWD_SHIFT) fails.
This patch should fix the issue.
Spotted by the Coverity ...
| Feb 7, 1:03 pm 2008 |
| Oliver Pinter | [2.6.22.y] {00/14+1} - series for stable - on top of 2.6.22.17
RESEND as you yesterday asked (in plain text), and plus:
*add git id for all patches
*add my CC
*remove shon included patches
--------
stats:
Andrea Arcangeli (1):
Race condition in userspace testcase
J. Bruce Fields (2):
knfsd: fix spurious EINVAL errors on first access of new filesystem
knfsd: query filesystem for NFSv4 getattr of FATTR4_MAXNAME
Jesper Juhl (1):
cciss: fix memory leak
Kees Cook (1):
pci: fix unterminated pci_device_id ...
| Feb 7, 1:03 pm 2008 |
| Prakash Punnoor | Re: [PATCH] Replace nvidia timer override quirk with pci ...
If you want to skip timer override on this board, this is a *NAK* from me. =
I=20
told you the last time, it only works reliably here on MCP51 with timer=20
override working. Even before Asus released a bios which had an option to=20
enable the hpet, I needed the override or I got irratic behaviour. Since I=
=20
got hpet enabled I gave up on arguing as the wrongly triggered quirk didn't=
=20
bug me anymore.
IIRC my nforce2 needed the override. I didn't see that in the list.
00:00.0 RAM ...
| Feb 7, 2:21 pm 2008 |
| Andi Kleen | [PATCH] Replace nvidia timer override quirk with pci id list
[This patch was originally in the old ff tree and was intended for .24; but
somehow got lost in the arch merge. Has also shipped with OpenSUSE 10.3.
I think it should go into .25]
This replaces the old NF3/NF4 reference BIOS timer override quirk with a device
ID list. We need to ignore the timer override on these systems, but not
ignore it on NF5 based systems. Previously this was distingushed by checking
for HPET, but a lot of BIOS vendors didn't enable HPET in their pre Vista ...
| Feb 7, 12:55 pm 2008 |
| Dmitry Torokhov | Re: [PATCH] input: driver for USB VoIP phones with CM109 ...
Hi Alfred,
For a long time I was sitting on the patch not sure what to do about
the pound key, but I think we need to allocate separate keycodes for
remote controls and phones that work regardless of users keymap.
Another item is keymap for different devices - the best way to handle
it I think it to implement getkeycodes and setkeycodes methods for
the input device and have alternative keymaps loaded from userspace
instead of adding module parameters.
The rest of the driver looks great ...
| Feb 7, 2:59 pm 2008 |
| Alfred E. Heggestad | [PATCH] input: driver for USB VoIP phones with CM109 chipset
From: Alfred E. Heggestad <aeh@db.org>
This driver adds support for USB VoIP phones using the CM109 chipset,
such as Komunikate KIP-1000 and Genius G-talk. Keypad is scanned and
events are reported to the input subsystem. The buzzer can be activated
by sending SND_TONE or SND_BELL to the input device. The phone keymap
can be selected in run-time by using the "phone" module parameter.
The driver has been tested with linux 2.6.24 on i386, and also tested
to build cleanly on AMD64.
More testing ...
| Feb 7, 11:38 am 2008 |
| Jiri Slaby | [RFT 8/9] Char: moxa, notify about board readiness
Drop a message to dmesg about card is being ready.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
drivers/char/moxa.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c
index 3b1760f..fd9c946 100644
--- a/drivers/char/moxa.c
+++ b/drivers/char/moxa.c
@@ -943,6 +943,8 @@ static int __devinit moxa_pci_probe(struct pci_dev *pdev,
pci_set_drvdata(pdev, board);
+ dev_info(&pdev->dev, "board ready (firmware ...
| Feb 7, 12:11 pm 2008 |
| Jiri Slaby | [RFT 5/9] Char: moxa, little cleanup
Cleanup of
- whitespace
- macros
- useless casts
- return (sth); -> return sth;
- types
- superfluous parenthesis and braces
- init tmp directly in moxa_get_serial_info
- commented defunct code
- commented prototypes
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
drivers/char/moxa.c | 158 ++++++++++++++++++---------------------------------
1 files changed, 55 insertions(+), 103 deletions(-)
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c
index 5a55b8c..d123827 ...
| Feb 7, 12:11 pm 2008 |
| Jiri Slaby | [RFT 6/9] Char: moxa, remove useless tty functions
- moxa_flush_chars -- no code; ldics handle this well
- moxa_put_char -- only wrapper to moxa_write (same code), tty does this
the same way if tty->driver->put_char is NULL
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
drivers/char/moxa.c | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c
index d123827..5f7fb38 100644
--- a/drivers/char/moxa.c
+++ b/drivers/char/moxa.c
@@ -193,8 +193,6 @@ ...
| Feb 7, 12:11 pm 2008 |
| Jiri Slaby | [RFT 2/9] Char: moxa, cleanup rx/tx
- cleanup types
- use tty_prepare_flip_string and io memcpys
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
drivers/char/moxa.c | 124 ++++++++++++++++++++------------------------------
drivers/char/moxa.h | 2 +-
2 files changed, 51 insertions(+), 75 deletions(-)
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c
index bdd5fd9..f45405f 100644
--- a/drivers/char/moxa.c
+++ b/drivers/char/moxa.c
@@ -224,7 +224,7 @@ static void MoxaPortLineCtrl(struct moxa_port *, int, int);
...
| Feb 7, 12:11 pm 2008 |
| Jiri Slaby | [RFT 7/9] Char: moxa, introduce MOXA_IS_320 macro
It allows to simplify the code, especially MoxaPortSetBaud.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
drivers/char/moxa.c | 65 +++++++++++++++------------------------------------
1 files changed, 19 insertions(+), 46 deletions(-)
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c
index 5f7fb38..3b1760f 100644
--- a/drivers/char/moxa.c
+++ b/drivers/char/moxa.c
@@ -59,6 +59,9 @@
#define MAX_PORTS_PER_BOARD 32 /* Don't change this value */
#define MAX_PORTS (MAX_BOARDS ...
| Feb 7, 12:11 pm 2008 |
| Jiri Slaby | [RFT 1/9] Char: moxa, merge 2 poll functions
- merge 2 timers into one -- one can handle the emptywait as good as the other
- merge 2 separated poll functions into one, this allows handle the actions
directly and simplifies the code
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
drivers/char/moxa.c | 422 +++++++++++++++++----------------------------------
drivers/char/moxa.h | 10 +-
2 files changed, 142 insertions(+), 290 deletions(-)
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c
index b61d14a..bdd5fd9 ...
| Feb 7, 12:11 pm 2008 |
| Jiri Slaby | [RFT 3/9] Char: moxa, serialise timer
- del timer after we are sure it won't be fired again
- make timer scheduling atomic
- don't reschedule timer when all cards have gone
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
drivers/char/moxa.c | 26 +++++++++++++++-----------
1 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c
index f45405f..eabb2e0 100644
--- a/drivers/char/moxa.c
+++ b/drivers/char/moxa.c
@@ -846,10 +846,11 @@ static int moxa_init_board(struct ...
| Feb 7, 12:11 pm 2008 |
| Jiri Slaby | [RFT 9/9] Char: moxa, fix ioctl race
The lock fixes window between board->ready test and its port access.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
drivers/char/moxa.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c
index fd9c946..6e170a4 100644
--- a/drivers/char/moxa.c
+++ b/drivers/char/moxa.c
@@ -299,6 +299,7 @@ static int moxa_ioctl(struct tty_struct *tty, struct file *file,
struct moxa_port *p;
unsigned int i, j;
...
| Feb 7, 12:11 pm 2008 |
| Jiri Slaby | [RFT 4/9] Char: moxa, rework open/close
- add locking to open/close/hangup
- add pci hot-un-plug support (hangup on board remove, wait for openers)
- cleanup block_till_ready
- move close code common to close/hangup into separate function to be
able to call it from open when hangup occurs while block_till_ready
- let ldisc flush on tty layer, it will do it after we return
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
drivers/char/moxa.c | 239 +++++++++++++++++++++------------------------------
1 files changed, 97 ...
| Feb 7, 12:11 pm 2008 |
| Oliver Pinter | Re: [PATCH] Use global TLB flushes in MTRR code
and old-stable (eg 2.6.22)?
--
Thanks,
Oliver
--
| Feb 7, 12:08 pm 2008 |
| Ingo Molnar | Re: [PATCH] Use global TLB flushes in MTRR code
read the complete code:
/* Save value of CR4 and clear Page Global Enable (bit 7) */
if ( cpu_has_pge ) {
cr4 = read_cr4();
write_cr4(cr4 & ~X86_CR4_PGE);
}
/* Flush all TLBs via a mov %cr3, %reg; mov %reg, %cr3 */
__flush_tlb();
first first turn off PGE and do a cr3 flush - that gets rid of all TLBs.
but even if it didnt get rid of it, the mirror image function,
post_set(), we turn PGE back on in the cr4 ...
| Feb 7, 12:13 pm 2008 |
| Andi Kleen | [PATCH] Use global TLB flushes in MTRR code
[probably stable material too]
Use global TLB flushes in MTRR code
Obviously kernel mappings should be flushed here too.
Signed-off-by: Andi Kleen <ak@suse.de>
---
arch/x86/kernel/cpu/mtrr/generic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux/arch/x86/kernel/cpu/mtrr/generic.c
===================================================================
--- linux.orig/arch/x86/kernel/cpu/mtrr/generic.c
+++ linux/arch/x86/kernel/cpu/mtrr/generic.c
@@ -356,7 ...
| Feb 7, 12:02 pm 2008 |
| Ingo Molnar | Re: [PATCH] Use global TLB flushes in MTRR code
because it's not just an open-coded __tlb_flush_all(), it _disables PGE
and keeps it so while the MTRR's are changed on all CPUs_.
Your patch adds __flush_tlb_all() which re-enables the PGE bit in cr4,
see asm-x86/tlbflush.h:
/* clear PGE */
write_cr4(cr4 & ~X86_CR4_PGE);
/* write old PGE again and flush TLBs */
write_cr4(cr4);
so we'll keep PGE enabled during the MTRR setting - which changes
behavior.
Ingo
--
| Feb 7, 1:37 pm 2008 |
| Andi Kleen | Re: [PATCH] Use global TLB flushes in MTRR code
Yes you're right. Thanks makes more sense. The weird style
fooled me.
It seems to come from the pseudo code in the Intel manual,
but I think it would be still cleaner/more idiomatic to use two
__flush_tlb_all() and remove the explicit code. The only drawback would
be some more cr4 accesses, which does not seem like a big issue.
Updated patch follows.
-Andi
---
Use standard global TLB flushes in MTRR code
This is more idiomatic and it does not really make sense for this
code ...
| Feb 7, 1:03 pm 2008 |
| Jan Engelhardt | Re: out-of-bounds array index
It is not legit at all. 0x18 is the 25th position in the array,
but it is only 24 big. (Excluding play-hide-and-seek games like
allocating more in case of malloc or char *foo[0].)
--
| Feb 7, 12:21 pm 2008 |
| Jens Axboe | out-of-bounds array index
Hi,
Just saw this from gcc:
drivers/char/drm/i915_drv.c: In function ?i915_suspend?:
drivers/char/drm/i915_drv.c:173: warning: array subscript is above array
bounds
CC [M] drivers/char/drm/i915_dma.o
drivers/char/drm/i915_drv.c: In function ?i915_resume?:
drivers/char/drm/i915_drv.c:220: warning: array subscript is above array
bounds
It's this code:
dev_priv->saveGR[0x18] =
i915_read_indexed(VGA_GR_INDEX, VGA_GR_DATA, 0x18);
which looks legit, since ...
| Feb 7, 11:56 am 2008 |
| Jesse Barnes | Re: out-of-bounds array index
Just a silly off by one, don't know why I didn't catch it earlier. I'll push
the fix to the drm tree. Linus, you may want to take it in parallel.
Jesse
Make sure we have enough room for all the GR registers or we'll end up
clobbering the AR index register (which should actually be harmless unless
the BIOS is making an assumption about it).
Signed-off-by: Jesse Barnes <jesse.barnes@intel.com>
diff --git a/drivers/char/drm/i915_drv.h b/drivers/char/drm/i915_drv.h
index ...
| Feb 7, 12:15 pm 2008 |
| Jesse Barnes | Re: out-of-bounds array index
I think he was saying that the warning was legit. Anyway, my gcc isn't smart
enough to emit warnings like this, maybe it's time to ugprade...
Jesse
--
| Feb 7, 12:28 pm 2008 |
| Jesse Barnes | Re: out-of-bounds array index
I'll take a look, thanks.
Jesse
--
| Feb 7, 12:03 pm 2008 |
| Jens Axboe | Re: out-of-bounds array index
of course, the reference was to the warning (I do know C and array
indexing 101 :-)
--
Jens Axboe
--
| Feb 7, 1:01 pm 2008 |
| Robin Getz | Re: Gadget driver repository?
OK - so that got nothing.
Is anyone interested in helping develop them, so a reference open source
implementation exists?
--
| Feb 7, 11:56 am 2008 |
| Robert P. J. Day | legacy power management to disappear as well?
even though it's not mentioned in the feature removal file,
Documentation/pm.txt makes it pretty clear that there is some
seriously obsolete content WRT legacy PM. is that scheduled for
removal any time soon?
i still have a patch for that lying around somewhere.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
Home page: ...
| Feb 7, 11:45 am 2008 |
| Linus Torvalds | Re: Latest git oopses during boot
This oops decodes to
8b 44 24 10 mov 0x10(%esp),%eax
8b 90 7c 02 00 00 mov 0x27c(%eax),%edx
83 ea 54 sub $0x54,%edx
24 18 and $0x18,%al
8b 4c 24 14 mov 0x14(%esp),%ecx
f6 41 04 04 testb $0x4,0x4(%ecx)
75 57 jne 0x70
ba d0 80 00 00 mov $0x80d0,%edx
b8 68 bf 30 c0 mov $0xc030bf68,%eax
e8 2f 8a 38 c7 ...
| Feb 7, 11:18 am 2008 |
| Casey Schaufler | [PATCH] (02/06/08 Linus git) Smack unlabeled outgoing am ...
From: Casey Schaufler <casey@schaufler-ca.com>
Smack uses CIPSO labeling, but allows for unlabeled packets
by specifying an "ambient" label that is applied to incoming
unlabeled packets. Because the other end of the connection
may dislike IP options, and ssh is one know application that
behaves thus, it is prudent to respond in kind. This patch
changes the network labeling behavior such that an outgoing
packet that would be given a CIPSO label that matches the
ambient label is left ...
| Feb 7, 10:07 am 2008 |
| Roland Dreier | Plans for d0049e71 ("x86: make io_delay=0xed the default")
Hi Ingo,
What are your plans for handling the x86 io_delay stuff? The current
situation is pretty confusing to someone updating their config from a
2.6.24 kernel, since arch/x86/Kconfig.debug has:
config IO_DELAY_0X80
bool "port 0x80 based port-IO delay [recommended]"
but also
choice
prompt "IO delay type"
default IO_DELAY_0XED
so the IO delay type defaults to something different than the
recommended value.
- R.
--
| Feb 7, 10:09 am 2008 |
| Christoph Hellwig | Re: [PATCH] UML - update defconfig
Thanks!
--
| Feb 7, 9:59 am 2008 |
| Jeff Dike | [PATCH] UML - update defconfig
[ This is 2.6.25 fodder ]
Update defconfig.
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
---
arch/um/defconfig | 280 ++++++++++++++++++++++++++++++++++++------------------
1 file changed, 187 insertions(+), 93 deletions(-)
Index: linux-2.6-git/arch/um/defconfig
===================================================================
--- linux-2.6-git.orig/arch/um/defconfig 2008-02-07 11:46:12.000000000 -0500
+++ ...
| Feb 7, 9:53 am 2008 |
| Andy Shevchenko | [PATCH] Possible bug fix in the ehci-hcd
Hi!
The Sequans company who produce WiMAX chips provides the USB driver and kthp
addon driver. However the USB device doesn't work correctly.
Here is more true hack for Sequans SQN11x0 based modem.
P.S. For more details, please, ask Sequans staff (see Signed-off-by lines).
Signed-off-by: Andy Shevchenko <andy@smile.org.ua>
Signed-off-by: Gosne Stephane <sgosne@sequans.com>
--- a/drivers/usb/host/ehci-q.c.orig 2008-02-07 16:53:18.000000000 +0200
+++ ...
| Feb 7, 9:48 am 2008 |
| Rami Rosen | [PATCH] [IPV6] Minor cleanup: remove unused definitions ...
Hi,
This patch removes some unused definitions and one method typedef
declaration (f_pnode)
in include/net/ip6_fib.h, as they are not used in the kernel.
Regards,
Rami Rosen
Signed-off-by: Rami Rosen <ramirose@gmail.com>
| Feb 7, 9:23 am 2008 |
| Rami Rosen | [PATCH] [IPV6] Minor clenup: remove two unused definitio ...
Hi,
Remove IP6_RT_PRIO_FW and IP6_RT_FLOW_MASK definitions in
include/net/ip6_route.h, as they are not used in the kernel.
Regards,
Rami Rosen
Signed-off-by: Rami Rosen <ramirose@gmail.com>
| Feb 7, 8:58 am 2008 |
| Peter Zijlstra | Re: [PATCH][DOCUMENTATION] Minimal controller code for a ...
Hehe, and here I was looking for in-code comments. OK I'll read the
thing.
--
| Feb 7, 1:52 pm 2008 |
| Pavel Emelyanov | [PATCH][DOCUMENTATION] Minimal controller code for a qui ...
The Documentation/cgroups.txt file contains the info on how
to write some controller for cgroups subsystem, but even with
this, one need to write quite a lot of code before developing
the core (or copy-n-paste it from some other place).
I propose to put this minimal controller into Documentation
directory to let people copy-n-paste a) from a known place and
b) a small piece of code.
Besides, many people learn better reading an example rather
than/along with a document.
Signed-off-by: ...
| Feb 7, 8:37 am 2008 |
| Paul Menage | Re: [PATCH][DOCUMENTATION] Minimal controller code for a ...
Can you structure this example so as to encourage people to use the
more formatted read/write routines, such as read_int64 and
Maybe add a comment here that mentions that if your cgroup needs very
early initialization, you can check for cg->parent being NULL, and
return a statically-constructed structure here. (And set
foo_subsys.early_init = 1)
Paul
--
| Feb 7, 1:45 pm 2008 |
| Serge E. Hallyn | Re: [PATCH][DOCUMENTATION] Minimal controller code for a ...
Actually I thought that was the main point of kernel/cgroup_debug.c?
--
| Feb 7, 1:47 pm 2008 |
| Serge E. Hallyn | Re: [PATCH][DOCUMENTATION] Minimal controller code for a ...
The point of can_attach() is to decide whether an attach should be
IIUC, by the point ->attach() is called, the task has already been placed
in the new cgroup, and we're just asking each subsystem to update any
relevant accounting.
-serge
--
| Feb 7, 1:50 pm 2008 |
| Paul Menage | Re: [PATCH][DOCUMENTATION] Minimal controller code for a ...
We could do in theory do that, but it would make the recovery logic in
cgroup.c:attach_task() more complex - it would have to be able to deal
with undoing a partial attach. It seems simpler to just split it into
two phases, given that most cgroups don't appear to have attachment
conditions anyway.
Paul
--
| Feb 7, 1:49 pm 2008 |
| Peter Zijlstra | Re: [PATCH][DOCUMENTATION] Minimal controller code for a ...
While on the subject, could someone document struct cgroup_subsys. In
particular, I've wondered why we have: cgroup_subsys::can_attach() and
not use a return value in cgroup_subsys::attach()?
--
| Feb 7, 1:28 pm 2008 |
| Jan Kara | [PATCH] quota: Turn quotas off when remounting read-only
Turn off quotas before filesystem is remounted read only. Otherwise quota will
try to write to read-only filesystem which does no good... We could also just
refuse to remount ro when quota is enabled but turning quota off is consistent
with what we do on umount.
Signed-off-by: Jan Kara <jack@suse.cz>
---
Andrew, this should fix the hang reported... Please apply. Thanks.
diff --git a/fs/super.c b/fs/super.c
index ceaf2e3..945c322 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -603,6 +603,7 @@ ...
| Feb 7, 7:37 am 2008 |
| Andrew Morton | Re: [PATCH] quota: Turn quotas off when remounting read-only
Cool. And this is applicable to 2.6.23, 2.6.22 and even earlier, isn't it?
--
| Feb 7, 11:36 am 2008 |
| Michael Tokarev | Re: [PATCH] quota: Turn quotas off when remounting read-only
Provided the amount of time this issue exists, I don't think it's worth
to push it to -stable. It's an oooooooold, issue, which happens quite
rarely, and no one bothered to report it so far... But it's not my
call... ;)
But... I'm thinking about this scenario:
# mount /data
# quotaon /data
(some maintenance stuff to be planned)
# mount -o remount,ro /data
(do backup etc)
# mount -r remount,rw /data
at this point, it's expected that quota on /data is enabled.
After this ...
| Feb 7, 12:27 pm 2008 |
| Bartlomiej Zolnierki ... | [PATCH 2/3] palm_bk3710: fix ide_unregister() usage
Don't set 'restore' flag for ide_unregister() when initializing new
interface.
[ identical change as done to bast-ide/ide-cs/delkin_cb host drivers
by commit 909f4369bca30f9a186316a3bf2b4a9c1e702a25 ]
Cc: Anton Salnikov <asalnikov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/arm/palm_bk3710.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: ...
| Feb 7, 7:42 am 2008 |
| Bartlomiej Zolnierki ... | Re: [PATCH 3/3] palm_bk3710: factor out cable detection
This was meant to be a preparation before converting palm_bk3710 to
use struct ide_port_info. On the second thought this change may be as
well integrated into the future patch (which I'll try to cook later
today, unless somebody beats me to it ;-).
Thanks,
Bart
--
| Feb 7, 9:14 am 2008 |
| Bartlomiej Zolnierki ... | [PATCH 3/3] palm_bk3710: factor out cable detection
Factor out cable detection to palm_bk3710_cable_detect().
Cc: Anton Salnikov <asalnikov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/arm/palm_bk3710.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Index: b/drivers/ide/arm/palm_bk3710.c
===================================================================
--- a/drivers/ide/arm/palm_bk3710.c
+++ b/drivers/ide/arm/palm_bk3710.c
@@ -311,6 +311,12 @@ static void __devinit ...
| Feb 7, 7:42 am 2008 |
| Sergei Shtylyov | Re: [PATCH 3/3] palm_bk3710: factor out cable detection
Hm, how does it help if you don't make it into driver's method? :-O
MBR, Sergei
--
| Feb 7, 7:41 am 2008 |
| Bartlomiej Zolnierki ... | Re: [PATCH 3/3] palm_bk3710: factor out cable detection
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: [PATCH] palm_bk3710: use struct ide_port_info
* Factor out cable detection to palm_bk3710_cable_detect().
* Add palm_bk3710_init_hwif() (->init_hwif method implementation).
* Remove needless ->quirkproc initialization.
* Add missing ->pio_mask initialization.
* Use ATA_* defines for setting ->{ultra,mwdma}_mask.
* Add 'struct ide_port_info palm_bk3710_port_info' and pass it to
ide_device_add(). Then remove open-coded ...
| Feb 7, 1:51 pm 2008 |
| Bartlomiej Zolnierki ... | [PATCH 1/3] palm_bk3710: ide_register_hw() -> ide_device_add()
* Convert palm_bk3710 host driver to use ide_device_add() instead of
ide_register_hw() (while at it drop doing "ide_unregister()" loop which
tries to unregister _all_ IDE interfaces if useable ide_hwifs[] slot
cannot be find).
[ identical change as done to bast-ide/ide-cs/delkin_cb host drivers
by commit 9e016a719209d95338e314b46c3012cc7feaaeec ]
* Rename 'ide_ctlr_info' to 'hw' and 'index' to 'i' while at it.
Cc: Anton Salnikov <asalnikov@ru.mvista.com>
Signed-off-by: ...
| Feb 7, 7:41 am 2008 |
| Max Krasnyansky | Re: [E1000-devel] e1000 1sec latency problem
I was actually talking about in kernel drivers. ie We were seeing delays with TIPC running over in
kernel E1000 driver. And no it was not a TIPC issue, everything worked fine with over TG3 and issues
went away when coalescing was disabled.
Anyway, I think we can drop this subject.
Max
--
| Feb 7, 11:55 am 2008 |
| Pavel Machek | Re: [E1000-devel] e1000 1sec latency problem
Is there easy way to push that fix to e1000, too? Or print "use e1000e
instead" and refuse to load?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Feb 7, 3:37 pm 2008 |
| Kok, Auke | Re: [E1000-devel] e1000 1sec latency problem
well we're going to delete all pci-e related code from this driver soon anyway,
but I am indeed writing a patch right now that prints out this warning...
Auke
--
| Feb 7, 4:12 pm 2008 |
| Max Krasnyansky | Re: e1000 1sec latency problem
So you don't think it's related to the interrupt coalescing by any chance ?
I'd suggest to try and disable the coalescing and see if it makes any difference.
We've had lots of issues with coalescing misbehavior. Not this bad (ie 1 second) though.
Add this to modprobe.conf and reload e1000 module
options e1000 RxIntDelay=0,0 RxAbsIntDelay=0,0 InterruptThrottleRate=0,0 TxIntDelay=0,0 TxAbsIntDelay=0,0
Max
--
| Feb 7, 9:58 am 2008 |
| Max Krasnyansky | Re: [E1000-devel] e1000 1sec latency problem
Just to give you a background. I wrote and maintain http://libe1000.sf.net
So I know E1000 HW and SW in and out. And no I'm not confused with other HW and I know that we're
not using SW timers for the coalescing. HW can be buggy as well. Note that I'm not saying that I
know for sure that the problem is coalescing, I'm just suggesting to take it out of the equation
while Pavel is investigating.
Unfortunately I cannot demonstrate an example but I've seen unexplained packet delays in the ...
| Feb 7, 11:30 am 2008 |
| Kok, Auke | Re: [E1000-devel] e1000 1sec latency problem
this sounds like you have some sort of PCI POST-ing problem and those can indeed
be worse if you use any form of interrupt coalescing. In any case that is largely
irrelevant to the in-kernel drivers, and as I said we definately have no open
issues on that right now, and I really do not recollect any as well either (other
than the issue of interference when both ends are irq coalescing)
Cheers,
Auke
--
| Feb 7, 11:40 am 2008 |
| Pavel Machek | e1000 1sec latency problem
Hi!
I have the famous e1000 latency problems:
64 bytes from 195.113.31.123: icmp_seq=68 ttl=56 time=351.9 ms
64 bytes from 195.113.31.123: icmp_seq=69 ttl=56 time=209.2 ms
64 bytes from 195.113.31.123: icmp_seq=70 ttl=56 time=1004.1 ms
64 bytes from 195.113.31.123: icmp_seq=71 ttl=56 time=308.9 ms
64 bytes from 195.113.31.123: icmp_seq=72 ttl=56 time=305.4 ms
64 bytes from 195.113.31.123: icmp_seq=73 ttl=56 time=9.8 ms
64 bytes from 195.113.31.123: icmp_seq=74 ttl=56 time=3.7 ms
...and ...
| Feb 7, 7:17 am 2008 |
| Kok, Auke | Re: [E1000-devel] e1000 1sec latency problem
that can't be the problem. irq moderation would only account for 2-3ms variance
maximum.
Pavel, can you send me the `lspci -vvv` of your machine with the very latest git
tree and after it's showing the poor ping performance?
Auke
--
| Feb 7, 10:25 am 2008 |
| Kok, Auke | Re: [E1000-devel] e1000 1sec latency problem
we don't use a software timer in e1000 irq coalescing/moderation, it's all in
hardware, so we don't have that problem at all. And I certainly have never seen
anything you are referring to with e1000 hardware, and I do not know of any bug
related to this.
are you maybe confused with other hardware?
feel free to demonstrate an example...
Cheers,
Auke
--
| Feb 7, 11:12 am 2008 |
| Max Krasnyansky | Re: [E1000-devel] e1000 1sec latency problem
Oh, I've definitely seen worse than that. Not as bad as a 1second though. Plus you're talking
about the case when coalescing logic is working as designed ;-). What if there is some kind of
bug where timer did not expire or something.
Max
--
| Feb 7, 11:06 am 2008 |
| Kok, Auke | Re: [E1000-devel] e1000 1sec latency problem
pavel, start using "e1000e" instead - this driver replaces e1000 for all the
pci-express devices and has the infamous L1 ASPM disable patch to fix this issue.
make sure you have CONFIG_E1000E=m/y in your .config, otherwise the old e1000 code
will drive your card, and that driver does not have the fix.
BAH, this is a good example how Linus' patch can wreak havoc - a lot of people
will now not see fixes since they only go into e1000e, but people can unnoticed
now go and use e1000 for too ...
| Feb 7, 11:17 am 2008 |
| Kok, Auke | Re: [E1000-devel] e1000 1sec latency problem
well, if you do it you should see that L1 ASPM is now disabled (with e1000e)
whereas with e1000 it is still enabled. That's the fix that you need...
Auke
--
| Feb 7, 3:32 pm 2008 |
| Pavel Machek | Re: [E1000-devel] e1000 1sec latency problem
Ok, e1000e seems to work for me.
In another email, you asked for lspci -vvvv of failing e1000
case. Should I still provide it?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Feb 7, 3:24 pm 2008 |
| Tomasz Chmielewski | Re: why kexec insists on syncing with recent kernels?
# kexec -v
Yes and no.
I just booted 2.6.24 on a diskless system (Mandriva) I normally use with
2.6.18 kernel, did kexec -e... And it executed the kernel immediately,
without any syncing.
On Debian, with the same 2.6.24 kernel, it does sync.
So what user space part does the syncing (and how to prevent it)?
It does seem to help, thanks.
Why it has to be the last option specified?
Good to have a newer version, I'll try that, too.
--
Tomasz ...
| Feb 7, 9:59 am 2008 |
| Vivek Goyal | Re: why kexec insists on syncing with recent kernels?
In latest kexec code I do see it syncing. But it does not unmount the
Which kexec-tools you are using?
syncing is initiated by user space so changing kernel will not have
any effect (as long as user space is same). I think just that message
are spitted by kernel, so probably 2.6.18 did not spit any message and
Kexec has got an option -x --no-ifdown, which will not bring the network
To me it makes sense. Just making sure that cache changes make to the file
system before you boot into ...
| Feb 7, 9:37 am 2008 |
| Tomasz Chmielewski | why kexec insists on syncing with recent kernels?
According to kernel/kexec.c:
* kexec does not sync, or unmount filesystems so if you need
* that to happen you need to do that yourself.
I saw this was true with 2.6.18 kernel (i.e., it didn't sync), but kexec
syncs with recent kernels (I checked 2.6.23.14 and 2.6.24):
# kexec -e
md: stopping all md devices
sd 2:0:0:0: [sdb] Synchronizing SCSI cache
With kexec on 2.6.18 it was executing a loaded kernel immediately.
Generally, it's a good thing to sync before jumping into a ...
| Feb 7, 7:13 am 2008 |
| Holger Schurig | [PATCH] sysctl: allow embedded targets to disable sysctl ...
Disable sysctl_check.c for embedded targets. This saves about about 11 kB
in .text and another 11 kB in .data on a PXA255 embedded platform.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
--- linux.orig/init/Kconfig
+++ linux/init/Kconfig
@@ -475,6 +475,17 @@
If unsure say Y here.
+config SYSCTL_SYSCALL_CHECK
+ bool "Sysctl checks" if EMBEDDED
+ depends on SYSCTL_SYSCALL
+ default y
+ ---help---
+ sys_sysctl uses binary paths that have been found challenging
+ ...
| Feb 7, 6:38 am 2008 |
| Jens Rottmann | [PATCH] lxfb: extend PLL table to support dotclocks belo ...
From: Jens Rottmann <JRottmann@LiPPERT-AT.de>
Extends the PLL frequency table of the AMD Geode-LX frame buffer
driver to make use of the DIV4 bit, thus adding support for
dotclocks between 6 and 25 MHz. These are needed for small LCDs
(e.g. 320x240). Also inserts some intermediate steps between
pre-existing frequencies.
Signed-off-by: Jens Rottmann <JRottmann@LiPPERT-AT.de>
---
--- linux-2.6.24/drivers/video/geode/lxfb_ops.c
+++ lxfb_clocks_added/drivers/video/geode/lxfb_ops.c
@@ -34,35 ...
| Feb 7, 6:10 am 2008 |
| Joerg Roedel | [PATCH 6/8] X86: export the load_pdptrs() function to modules
The load_pdptrs() function is required in the SVM module for NPT support.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/x86.c | 1 +
include/asm-x86/kvm_host.h | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 8f94a0b..31cdf09 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -202,6 +202,7 @@ out:
return ret;
}
+EXPORT_SYMBOL_GPL(load_pdptrs);
static bool ...
| Feb 7, 5:47 am 2008 |
| Joerg Roedel | [PATCH 2/8] SVM: add detection of Nested Paging feature
Let SVM detect if the Nested Paging feature is available on the hardware.
Disable it to keep this patch series bisectable.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/svm.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index c0aaa85..b037b27 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -47,6 +47,8 @@ MODULE_LICENSE("GPL");
#define SVM_FEATURE_LBRV (1 << 1)
#define ...
| Feb 7, 5:47 am 2008 |
| Joerg Roedel | [PATCH 1/8] SVM: move feature detection to hardware setup code
By moving the SVM feature detection from the each_cpu code to the hardware
setup code it runs only once. As an additional advance the feature check is now
available earlier in the module setup process.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/svm.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index d1c7fcb..c0aaa85 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -302,7 +302,6 @@ ...
| Feb 7, 5:47 am 2008 |
| Izik Eidus | Re: [kvm-devel] [PATCH 7/8] MMU: add TDP support to the ...
i dont know if it worth checking it here,
--
woof.
--
| Feb 7, 6:27 am 2008 |
| Joerg Roedel | Re: [kvm-devel] [PATCH 7/8] MMU: add TDP support to the ...
Yes. But the function is assigned to a function pointer. And the type of
that pointer expects gva_t there. So I named the parameter gpa to
Looking at the nonpaging_map function it is the right place to check for
the error page.
Joerg Roedel
--
| AMD Saxony Limited Liability Company & Co. KG
Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
System | Register Court Dresden: HRA 4896
Research | General Partner ...
| Feb 7, 6:50 am 2008 |
| Joerg Roedel | KVM: add support for SVM Nested Paging
Hi,
here is the improved patchset which adds support for the Nested Paging
feature of the AMD Barcelona and Phenom processors to KVM. The patch set
was successfully install- and runtime-tested with various guest
operating systems (64 bit, 32 bit legacy and 32 bit PAE Linux,
Windows 64 bit and 32 bit versions too).
To the previous post of these patches they were extended with support
for KVM on 32 bit PAE hosts. Live migration is also implemented and
tested in various situations (migration ...
| Feb 7, 5:47 am 2008 |
| Joerg Roedel | [PATCH 8/8] SVM: add support for Nested Paging
This patch contains the SVM architecture dependent changes for KVM to enable
support for the Nested Paging feature of AMD Barcelona and Phenom processors.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/svm.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 67 insertions(+), 5 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index f400499..9b9d838 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -47,7 +47,12 @@ ...
| Feb 7, 5:47 am 2008 |
| Izik Eidus | Re: [kvm-devel] [PATCH 7/8] MMU: add TDP support to the ...
thinking about it again you are right, (for some reason i was thinking
about old kvm code that was replace already)
--
woof.
--
| Feb 7, 7:04 am 2008 |
| Joerg Roedel | [PATCH 4/8] X86: export information about NPT to generic ...
The generic x86 code has to know if the specific implementation uses Nested
Paging. In the generic code Nested Paging is called Two Dimensional Paging
(TDP) to avoid confusion with (future) TDP implementations of other vendors.
This patch exports the availability of TDP to the generic x86 code.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/mmu.c | 15 +++++++++++++++
arch/x86/kvm/svm.c | 4 +++-
include/asm-x86/kvm_host.h | 2 ++
3 files changed, ...
| Feb 7, 5:47 am 2008 |
| Joerg Roedel | [PATCH 5/8] MMU: make the __nonpaging_map function generic
The mapping function for the nonpaging case in the softmmu does basically the
same as required for Nested Paging. Make this function generic so it can be
used for both.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/mmu.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 3477395..5e76963 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -965,10 +965,9 @@ static void ...
| Feb 7, 5:47 am 2008 |
| Joerg Roedel | [PATCH 3/8] SVM: add module parameter to disable Nested Paging
To disable the use of the Nested Paging feature even if it is available in
hardware this patch adds a module parameter. Nested Paging can be disabled by
passing npt=0 to the kvm_amd module.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/svm.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index b037b27..8173ba6 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -48,6 +48,9 @@ ...
| Feb 7, 5:47 am 2008 |
| Joerg Roedel | [PATCH 7/8] MMU: add TDP support to the KVM MMU
This patch contains the changes to the KVM MMU necessary for support of the
Nested Paging feature in AMD Barcelona and Phenom Processors.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/mmu.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++--
arch/x86/kvm/mmu.h | 6 ++++
2 files changed, 82 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 5e76963..5304d55 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ ...
| Feb 7, 5:47 am 2008 |
| Christoph Hellwig | Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM ...
Any chance to make arm finally use drivers/Kconfig? It's a bit silly
that arm still is crapping around while even s390 uses it.
--
| Feb 7, 5:58 am 2008 |
| Sam Ravnborg | Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM ...
So we can replace the above with this:
diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig
index 519b4ff..8b22281 100644
--- a/drivers/pcmcia/Kconfig
+++ b/drivers/pcmcia/Kconfig
@@ -38,6 +38,7 @@ config PCMCIA_DEBUG
config PCMCIA
tristate "16-bit PCMCIA support"
select CRC32
+ select HAVE_IDE
default y
---help---
This option enables support for 16-bit PCMCIA cards. Most older
Yes.
Sam
--
| Feb 7, 2:05 pm 2008 |
| Russell King - ARM Linux | Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM ...
Please place it in the same relative position in arch/arm/Kconfig as it
is found in drivers/Kconfig.
--
| Feb 7, 6:02 am 2008 |
| Russell King - ARM Linux | Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM ...
diff -u arch/arm/Kconfig drivers/Kconfig shows the situation. This is
why I insist that new entries to arch/arm/Kconfig should be in the same
IDE people insisted that we _will_ have that silly conditional for IDE.
I personally do not want it and would be happy to see it go - but I
don't have the authority to do that. Take this one up with Bart.
--
| Feb 7, 9:05 am 2008 |
| Marcin Juszkiewicz | Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM ...
I looked at it and 'arch/arm/Kconfig' does not source few entries:
- of - does not appear on ARM if enabled
- macintosh - does not appear on ARM if enabled
- telephony - drivers for ISA/PCI/PCMCIA so can probably be used on some
ARM platforms
- infiniband - like above(?)
- edac - does not appear on ARM if enabled
- auxdisplay - basically it is for one LCD controller connected to x86
parallel port - safe to have it sourced on ARM
- uio
Including of ...
| Feb 7, 8:09 am 2008 |
| Russell King - ARM Linux | Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM ...
Are we finally going to allow architecture modifications to drivers/Kconfig?
The answer to your question is identical to the answer to that question.
--
| Feb 7, 7:21 am 2008 |
| Hans-Jürgen | Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM ...
Am Thu, 7 Feb 2008 13:02:23 +0000
Argh, sorry. Here's the correct version:
============
From: Hans J Koch <hjk@linutronix.de>
To: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.arm.linux.org.uk
Cc: Greg KH <greg@kroah.com>
Subject: arch/arm/Kconfig: Make UIO available on ARM architecture
Source drivers/uio/Kconfig to make UIO available in menuconfig if ARCH=arm.
Signed-off-by: Hans J Koch <hjk@linutronix.de>
---
arch/arm/Kconfig | 2 ++
1 file changed, 2 ...
| Feb 7, 6:12 am 2008 |
| Hans-Jürgen | [PATCH] arch/arm/Kconfig: Make UIO available on ARM arch ...
From: Hans J Koch <hjk@linutronix.de>
To: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.arm.linux.org.uk
Cc: Greg KH <greg@kroah.com>
Subject: arch/arm/Kconfig: Make UIO available on ARM architecture
Source drivers/uio/Kconfig to make UIO available in menuconfig if ARCH=arm.
I already posted this a few months ago, but it got lost somehow.
Signed-off-by: Hans J Koch <hjk@linutronix.de>
---
arch/arm/Kconfig | 2 ++
1 file changed, 2 insertions(+)
Index: ...
| Feb 7, 5:38 am 2008 |
| Sam Ravnborg | Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM ...
Both situations are trivially fixable by introducing
HAVE_IDE and HAVE_MTD.
See attached patch.
My quick scan told me that only S390 and UM did not
support IDE neither MTD.
ARM is the only one where IDE and MTD support is conditional
and the rest you select them unconditionally.
Does this look acceptable?
Sam
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
index 01b10ab..46049fa 100644
--- a/arch/alpha/Kconfig
+++ b/arch/alpha/Kconfig
@@ -5,6 +5,8 @@
config ALPHA
bool
...
| Feb 7, 1:23 pm 2008 |
| Russell King - ARM Linux | Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM ...
Shouldn't this be:
def_bool PCMCIA
Also, should this be something ARM specific - if you have PCMCIA you could
--
| Feb 7, 1:29 pm 2008 |
| Sam Ravnborg | Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM ...
rmk said that it should be easy to check the amount of work needed to do so.
But I have not had time to look into it yet - hopefully someone
in ARM land could fix it.
Sam
--
| Feb 7, 6:01 am 2008 |
| Lukas Hejtmanek | Re: T61P sound issue
Hello,
I have T61 and have no problem with sound. No sound problem could arise from
hw mute that is controlled via volume buttons. Volume mute does just mute (*no
unmute*!), buttons volume up/down unmutes volume.
There is bar "Speaker" in alsa mixer, must not be muted.
--
Lukáš Hejtmánek
--
| Feb 7, 5:06 am 2008 |
| Len Brown | [GIT PATCH] ACPI patches for 2.6.25-rc0
Hi Linus,
please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git release
Hmmm, where to begin...
The standard platform specific driver updates, thinkpad, sony, asus
Thermal extensions to support Intel's new Menlo platform.
INITRAMFS DSDT override, a patch I resisted for years, but finally was convinced.
/sys/firmware/acpi/interrupts/ to see where your ACPI interrutps come from...
Initial WMI support -- Windows can run, but it can't ...
| Feb 7, 2:50 am 2008 |
| Richard Purdie | [GIT PULL] Backlight updates
Linus,
Could you please pull from:
git://git.o-hand.com/linux-rpurdie-backlight for-linus
for the backlight tree updates for 2.6.25. This includes a new driver
and an optimisation for the class. Both changes have been testing in -mm
for quite a while.
Thanks, Richard
drivers/video/backlight/Kconfig | 9 +
drivers/video/backlight/Makefile | 1
drivers/video/backlight/backlight.c | 12 +-
drivers/video/backlight/omap1_bl.c | 210 ++++++++++++++++++++++++++++++++++++
...
| Feb 7, 3:37 am 2008 |
| Henrique de Moraes H ... | Re: [GIT PULL] LED updates
This one has a loose end: when you call brightness_set on a led with
hardware flash acceleration, you will leave the trigger armed, BUT the led
won't blink anymore. That's just wrong.
Either we should always remove *any* (hardware accelerated or not!) active
trigger when a write to brightness_set is done, or the stuff about "calling
brightness_set will disable the hardware accelerated blink" has to go.
I personally prefer that we would always remove any active trigger if
brightness_set is ...
| Feb 7, 2:38 pm 2008 |
| Richard Purdie | Re: [GIT PULL] LED updates
Even without the hardware acceleration, a user write to set_brightness
leaves any active trigger active and isn't really intuitive or right
Ouch, I'm looking into this. I wish I'd known about it earlier. I agree
function is more important but didn't want to break the existing
convention. I guess this limitation comes from the kobjects involved...
Richard
--
| Feb 7, 3:13 pm 2008 |
| Richard Purdie | [GIT PULL] LED updates
Linus,
Could you please pull from:
git://git.o-hand.com/linux-rpurdie-leds for-linus
for the LED tree updates for 2.6.25. This includes a couple of new
drivers, removal of a now superseded driver, some extensions to some
existing drivers and some LED class enhancements/bugfixes. Most of this
has been testing in -mm for quite a while.
Thanks, Richard
Documentation/leds-class.txt | 29 +++-
arch/arm/mach-ixp4xx/dsmg600-setup.c | 4
arch/arm/mach-ixp4xx/nas100d-setup.c | ...
| Feb 7, 3:35 am 2008 |
| Henrique de Moraes H ... | [PATCH] leds: disable triggers on brightness set
Disable any active triggers when someone writes to the brightness attribute.
This fixes also a misbehaviour with hardware accelerated flashing.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Márton Németh <nm127@freemail.hu>
Cc: Richard Purdie <rpurdie@rpsys.net>
---
drivers/leds/led-class.c | 2 ++
drivers/leds/led-triggers.c | 12 +++++++++---
drivers/leds/leds.h | 2 ++
3 files changed, 13 insertions(+), 3 deletions(-)
The led class is not even close ...
| Feb 7, 4:23 pm 2008 |
| Christophe Huygens | Cardbus/Yenta/PCI/2.6.24 help
Hi,
I have a problem getting a PCI to Cardbus adapter to work on a dell
1550 server. I have been truying for days to get this going but
I cannot figure out what is wrong. As far as I understand, all
should be ok in terms ok irqs, and resource windows., PCI..
This machine has 2G memory and 2 CPUs.
Running 2.6.22-14-generic, same problem on 2.6.24.
But upon card insertion... nil happens. PCI slot, adapter
and cards are ganuaranteed healthy.
None of the kernel boot options help ...
| Feb 7, 3:10 am 2008 |
| Andrew Morton | Re: Latest git oopses during boot
(cc's restored, and expanded a bit)
Thanks. I uploaded the oops picture to
mm... looks like all Matthew's changes were in 2.6.23. And 2.6.23 worked
OK, yes?
The only recent changes to drivers/scsi/advansys.c are
commit b80ca4f7ee36c26d300c5a8f429e73372d153379
Author: FUJITA Tomonori <tomof@acm.org>
Date: Sun Jan 13 15:46:13 2008 +0900
[SCSI] replace sizeof sense_buffer with SCSI_SENSE_BUFFERSIZE
This replaces sizeof sense_buffer with SCSI_SENSE_BUFFERSIZE ...
| Feb 7, 3:02 am 2008 |
| Harald Arnesen | Re: Latest git oopses during boot
--
Hilsen Harald
--
| Feb 7, 4:14 am 2008 |
| FUJITA Tomonori | Re: Latest git oopses during boot
On Thu, 7 Feb 2008 12:14:56 +0100
Can you try this?
Thanks,
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c
index 374ed02..f5dde12 100644
--- a/drivers/scsi/advansys.c
+++ b/drivers/scsi/advansys.c
@@ -566,7 +566,7 @@ typedef struct asc_dvc_var {
ASC_SCSI_BIT_ID_TYPE unit_not_ready;
ASC_SCSI_BIT_ID_TYPE queue_full_or_busy;
ASC_SCSI_BIT_ID_TYPE start_motor;
- uchar overrun_buf[ASC_OVERRUN_BSIZE] __aligned(8);
+ uchar *overrun_buf;
dma_addr_t overrun_dma;
uchar ...
| Feb 7, 7:32 am 2008 |
| Christoph Hellwig | Re: Latest git oopses during boot
The sense buffer changes have cause a fair amount of trouble, so I'd
look into this one for debugging the problem..
--
| Feb 7, 4:16 am 2008 |
| Jens Axboe | Re: [PATCH 4/8] x86: add support for remotely triggering ...
Oh yeah, definitely agree, I wrote that in the intro as well. The
That's definitely a possibility, Nick had something like that. I just
didn't like having to allocate a cookie object to store the function and
That would indeed be nicer and not require any arch changes. I was
afraid it would be more costly than massaging the softirqs a bit though,
perhaps that is unfounded.
--
Jens Axboe
--
| Feb 7, 3:17 am 2008 |
| Jens Axboe | Re: [PATCH 2/8] Add interface for queuing work on a spec ...
Good point, I'll do that locally at least.
--
Jens Axboe
--
| Feb 7, 2:49 am 2008 |
| Alan D. Brunelle | Re: IO queuing and complete affinity with threads (was R ...
I'll get to that, working my way through the first batch of testing on a NUMA platform. [[If anybody has ideas on specific testing to do, that would be helpful.]] I do plan on running some AIM7 tests, as those have shown improvement in other types of affinity changes in the kernel, and some of them have "interesting" IO load characteristics.
Alan
--
| Feb 7, 1:40 pm 2008 |
| Harvey Harrison | Re: [PATCH 2/8] Add interface for queuing work on a spec ...
I'll be making another round-up patch at -rc1 for FASTCALL/fastcall
FYI
Harvey
--
| Feb 7, 10:44 am 2008 |
| Alan D. Brunelle | Re: [PATCH 0/8] IO queuing and complete affinity
FYI: on a kernel with this patch set, running on a 4-way ia64 (non-NUMA) w/ a FC disk, I crafted a test with 135 combinations:
o Having the issuing application pegged on each CPU - or - left alone (run on any CPU), yields 5 possibilities
o Having the queue affinity on each CPU, or any (-1), yields 5 possibilities
o Having the completion affinity on each CPU, or any (-1), yields 5 possibilities
and
o Having the issuing application pegged on each CPU - or - left alone (run on ay CPU), ...
| Feb 7, 8:16 am 2008 |
| Jens Axboe | Re: [PATCH 4/8] x86: add support for remotely triggering ...
Here's a patch on top of the other patchset that switches blk-softirq.c
to using kernel threads instead. It's pretty simple. Booted tested,
works for me :-)
diff --git a/block/blk-softirq.c b/block/blk-softirq.c
index 5ae8345..73c71c7 100644
--- a/block/blk-softirq.c
+++ b/block/blk-softirq.c
@@ -7,6 +7,8 @@
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/interrupt.h>
+#include <linux/sched.h>
+#include <linux/kthread.h>
#include <linux/cpu.h>
#include ...
| Feb 7, 7:18 am 2008 |
| Jens Axboe | Re: [PATCH 4/8] x86: add support for remotely triggering ...
I was just considering that, since I knew -rt moved the softirqs into
threads. I'll look into it, but may not post anything until after my
vacation.
--
Jens Axboe
--
| Feb 7, 3:31 am 2008 |
| Jens Axboe | [PATCH 4/8] x86: add support for remotely triggering the ...
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
---
arch/x86/kernel/smp_32.c | 15 +++++++++++++++
arch/x86/kernel/smpboot_32.c | 3 +++
include/asm-x86/hw_irq_32.h | 1 +
include/asm-x86/mach-default/entry_arch.h | 1 +
include/asm-x86/mach-default/irq_vectors.h | 1 +
5 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/smp_32.c b/arch/x86/kernel/smp_32.c
index dc0cde9..668b8a4 100644
--- ...
| Feb 7, 2:19 am 2008 |
| Ingo Molnar | Re: [PATCH 4/8] x86: add support for remotely triggering ...
pick up the threaded softirq patches from -rt, those move all softirqs
processing into kernel threads. I'd suggest to extend those via
wakeup-from-remote functionality - it fits the construct quite
naturally. You should also be able to directly observe any performance
impact of threaded softirq handlers. (and if you find any, let me know
so that we can make it faster :-)
Ingo
--
| Feb 7, 3:25 am 2008 |
| Ingo Molnar | [patch] block layer: kmemcheck fixes
oh, you going on a vacation. I am sitting on a few block layer patches
you might be interested in :-)
i am playing with Vegard Nossum's kmemcheck on x86 (with much help from
Pekka Enberg for the SLUB details) and it's getting quite promising.
Kmemcheck is in essence Valgrind for the native kernel - it is "Da Bomb"
in terms of kernel object lifetime and access validation debugging
helpers.
it promptly triggered a few uninitialized accesses in the block layer
(amongst others), ...
| Feb 7, 3:49 am 2008 |
| Ingo Molnar | Re: [PATCH 4/8] x86: add support for remotely triggering ...
if then this should be a general facility to trigger any softirq - not
this wastes another irq vector and is very special-purpose. Why not make
the smp_call_function() one more scalable instead?
on the more conceptual level, shouldnt we just move to threads instead
of softirqs? That way you can become affine to any CPU and can do
cross-CPU wakeups anytime - which will be nice and fast via the
smp_reschedule_interrupt() facility.
Ingo
--
| Feb 7, 3:07 am 2008 |
| Jens Axboe | [PATCH 2/8] Add interface for queuing work on a specific CPU
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
---
include/linux/workqueue.h | 1 +
kernel/workqueue.c | 15 +++++++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 7f28c32..4c46944 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -179,6 +179,7 @@ __create_workqueue_key(const char *name, int singlethread,
extern void destroy_workqueue(struct workqueue_struct *wq);
...
| Feb 7, 2:18 am 2008 |
| Jens Axboe | [PATCH 7/8] kernel: add generic softirq interface for tr ...
This only works for the block softirq, due to the hackish method of
the arch implementations.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
---
include/linux/smp.h | 5 +++++
kernel/softirq.c | 7 +++++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/include/linux/smp.h b/include/linux/smp.h
index 55232cc..2b546c0 100644
--- a/include/linux/smp.h
+++ b/include/linux/smp.h
@@ -61,6 +61,7 @@ int smp_call_function_single(int cpuid, void (*func) (void *info), ...
| Feb 7, 2:19 am 2008 |
| Jens Axboe | [PATCH 3/8] block: make kblockd_schedule_work() take the ...
Preparatory patch for checking queuing affinity.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
---
block/as-iosched.c | 6 +++---
block/blk-core.c | 8 ++++----
block/cfq-iosched.c | 2 +-
include/linux/blkdev.h | 2 +-
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/block/as-iosched.c b/block/as-iosched.c
index 8c39467..6ef766f 100644
--- a/block/as-iosched.c
+++ b/block/as-iosched.c
@@ -450,7 +450,7 @@ static void as_antic_stop(struct as_data ...
| Feb 7, 2:19 am 2008 |
| Jens Axboe | [PATCH 6/8] ia64: add support for remotely triggering th ...
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
---
arch/ia64/kernel/smp.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch/ia64/kernel/smp.c b/arch/ia64/kernel/smp.c
index 4e446aa..96f8ffa 100644
--- a/arch/ia64/kernel/smp.c
+++ b/arch/ia64/kernel/smp.c
@@ -80,6 +80,7 @@ static volatile struct call_data_struct *call_data;
#define IPI_CALL_FUNC 0
#define IPI_CPU_STOP 1
#define IPI_KDUMP_CPU_STOP 3
+#define IPI_BLOCK_SOFTIRQ 4
/* This ...
| Feb 7, 2:19 am 2008 |
| Jens Axboe | [PATCH 1/8] block: split softirq handling into blk-softirq.c
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
---
block/Makefile | 3 +-
block/blk-core.c | 88 -------------------------------------------
block/blk-softirq.c | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 105 insertions(+), 89 deletions(-)
create mode 100644 block/blk-softirq.c
diff --git a/block/Makefile b/block/Makefile
index 5a43c7d..b064190 100644
--- a/block/Makefile
+++ b/block/Makefile
@@ -4,7 +4,8 @@
obj-$(CONFIG_BLOCK) := ...
| Feb 7, 2:18 am 2008 |
| Jens Axboe | [PATCH 5/8] x86-64: add support for remotely triggering ...
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
---
arch/x86/kernel/entry_64.S | 3 +++
arch/x86/kernel/i8259_64.c | 3 +++
arch/x86/kernel/smp_64.c | 15 +++++++++++++++
include/asm-x86/hw_irq_64.h | 2 ++
4 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
index c7341e8..753834b 100644
--- a/arch/x86/kernel/entry_64.S
+++ b/arch/x86/kernel/entry_64.S
@@ -704,6 +704,9 @@ END(invalidate_interrupt\num)
...
| Feb 7, 2:19 am 2008 |
| Jens Axboe | [PATCH 8/8] block: add test code for testing CPU affinity
Supports several modes:
- Force IO queue affinity to a specific mask of CPUs
- Force IO completion affinity to a specific mask of CPUs
- Force completion of a request on the same CPU that queued it
Test code so far.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
---
block/blk-core.c | 80 ++++++++++++++++++++++++-------------
block/blk-settings.c | 47 +++++++++++++++++++++
block/blk-softirq.c | 105 ++++++++++++++++++++++++++++++++++++++----------
block/blk-sysfs.c ...
| Feb 7, 2:19 am 2008 |
| Jens Axboe | IO queuing and complete affinity with threads (was Re: [ ...
Hi,
Here's a variant using kernel threads only, the nasty arch bits are then
not needed. Works for me, no performance testing (that's a hint for Alan
to try and queue up some testing for this variant as well :-)
--
Jens Axboe
| Feb 7, 11:25 am 2008 |
| Linus Torvalds | Re: [patch] block layer: kmemcheck fixes
...
Can we please just stop doing these one-by-one assignments, and just do
something like
memset(rq, 0, sizeof(*rq));
rq->q = q;
rq->ref_count = 1;
INIT_HLIST_NODE(&rq->hash);
RB_CLEAR_NODE(&rq->rb_node);
instead?
The memset() is likely faster and smaller than one-by-one assignments
anyway, even if the one-by-ones can avoid initializing some field or there
ends up being a double initialization..
Linus
--
| Feb 7, 10:42 am 2008 |
| Jens Axboe | Re: [patch] block layer: kmemcheck fixes
I completely agree, the fidgeting with single members quickly loses
appeal. Ingo, I'll merge and integrate your fixes before leaving, I'll
be here all day tomorrow as well.
--
Jens Axboe
--
| Feb 7, 10:55 am 2008 |
| Jens Axboe | Re: [patch] block layer: kmemcheck fixes
That assumes that people find the references in two places when adding
because sense isn't set, when someone sets ->sense they should set
Completely agree, some of these are just dormant bugs waiting to happen.
Clearing everything is the sanest approach.
--
Jens Axboe
--
| Feb 7, 1:06 pm 2008 |
| Ingo Molnar | Re: [PATCH 4/8] x86: add support for remotely triggering ...
we should more seriously investigate kernel thread scalability for
another reason as well: besides -rt, any generic async IO facility we
pick up will likely heavily rely on them. Kernel thread scheduling is
quite a bit lighter than user task scheduling [no TLB flushes, etc.] -
and if it is still not good enough we could probably accelerate them
some more. (and everyone will benefit) irq-context softirqs on the other
hand are quite rigid and bring in many atomicity assumptions so they are ...
| Feb 7, 3:38 am 2008 |
| Andrew Morton | Re: [PATCH 2/8] Add interface for queuing work on a spec ...
-ETOOWIDE
Might as well change queue_work() to call this?
Oleg cc'ed as queue_work() maintainer ;)
--
| Feb 7, 2:45 am 2008 |
| Ingo Molnar | Re: [patch] block layer: kmemcheck fixes
i definitely agree and do that for all code i write.
But if someone does item by item initialization for some crazy
performance reason (networking folks tend to have such constructs), it
should be done i think how i've done it in the patch: by systematically
listing _every_ field in the structure, in the same order, and
indicating it clearly when it is not initialized and why.
and there it already shows that we do not initialize a few other members
that could cause problems later ...
| Feb 7, 12:31 pm 2008 |
| Jens Axboe | [PATCH 0/8] IO queuing and complete affinity
Hi,
Since I'll be on vacation next week, I thought I'd send this out in
case people wanted to play with it. It works here, but I haven't done
any performance numbers at all.
Patches 1-7 are all preparation patches for #8, which contains the
real changes. I'm not particularly happy with the arch implementation
for raising a softirq on another CPU, but it should be fast enough
so suffice for testing.
Anyway, this patchset is mainly meant as a playground for testing IO
affinity. It allows ...
| Feb 7, 2:18 am 2008 |
| Priit Laes | Build failure on arch/x86/vdso/built-in.o: In function ` ...
Hey,
This is with latest Linus's tree. It started IIRC just after the big x86
merge. Machine is amd64, no 32-bit emulation set.
.config here: http://plaes.org/files/2008-Q1/dot_config_VDSO64_error
[snip]
LD vmlinux.o
MODPOST vmlinux.o
modpost: Found 29 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD ...
| Feb 7, 2:01 am 2008 |
| Stanislaw Gruszka | Implementing events about block layer errors?
Hello.
My boss wants me to add disk errors uevents, to get information on faulty
devices. He told me catching dmesg information using syslog is not reliable
and he would like to get 100% certain information. I know there are currently
implemented uevents in the device mapper layer, but they are limited to
multipath targets. Even if error events were added to the device mapper,
would it be impossible to find out which physical device generates errors
if the device mapper works on top of the ...
| Feb 7, 2:19 am 2008 |
| Oliver Pinter | Re: Bug? Kernels 2.6.2x drops TCP packets over wireless ...
hmm, i think, the site is broken (193.219.28.140), and not the card or
the driver is wrong. when it does, then other sites are auch
reproductable ..
/* is use auch madwifi-0.9.3.3, but it think, it is not driver problem */
--
Thanks,
Oliver
--
| Feb 7, 7:23 am 2008 |
| Eric Dumazet | Re: Bug? Kernels 2.6.2x drops TCP packets over wireless ...
Very strange, as the tcpdump you gave shows that the remote peer only
sent "220-\r\n"
This was ACKed, and then nothing but timeout. We can conclude remote
peer is *very* slow or a firewall is blocking trafic after 6 bytes sent :)
Could you give a tcpdump for the same destination, on 2.6.19 this time ?
--
| Feb 7, 9:30 am 2008 |
| Eric Dumazet | Re: Bug? Kernels 2.6.2x drops TCP packets over wireless ...
1749015234:1749015234(0) win 5840 <mss 1460,sackOK,timestamp 1885141
0,nop,wscale ²2>
wscale 2 here (instead of 5 on your non working case)
1:1(0) ack 7 win 1460 <nop,nop,timestamp 1885191 536320613>
Typical window scaling problem here... (well, for previous traces, with
wscaling of 5, since with wscale 2 it seems to work), you probably have a
buggy router or something...
http://lwn.net/Articles/92727/
Try :
# echo 0 >/proc/sys/net/ipv4/tcp_window_scaling
And retry to ...
| Feb 7, 12:24 pm 2008 |
| Marcin Koziej | Re: Bug? Kernels 2.6.2x drops TCP packets over wireless
Unfortunately, this is not the case :( This happens to all TCP connections, inside and outside LAN,
also with the telnet session with the router. I also tried to manipulate MTU, but without any positive effect.
I also tried to change things like net.ipv4.tcp_congestion_control -- which i figured out might affect TCP traffic, but also didn't get any results.
I'm afraid this can have something to do with IRQ, because the PCMCIA cards (my Atheros wireless card is such) are visible only with irqpoll ...
| Feb 7, 9:12 am 2008 |
| Marcin Koziej | Re: Bug? Kernels 2.6.2x drops TCP packets over wireless
Here goes, this happens after running:
ftp sunsite.icm.edu.pl
The ftp session is successful
----------------------------------------------------
tcpdump -i ath0 tcp and port 21 -X -s 300 -vv
tcpdump: listening on ath0, link-type EN10MB (Ethernet), capture size 300 bytes
18:09:48.435612 IP (tos 0x0, ttl 64, id 6423, offset 0, flags [DF], proto: TCP (6), length: 60) sabayonx86.local.41649 > sunsite2.icm.edu.pl.ftp: S, cksum 0xe759 (correct), 1749015234:1749015234(0) win 5840 <mss ...
| Feb 7, 11:33 am 2008 |
| Marcin Koziej | Bug? Kernels 2.6.2x drops TCP packets over wireless
Hello, I have problem with wireless network connectivity;
I have tested this on two wireless cards, both giving same results:
These are:
1) 02:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
working under madwifi-0.9.3.3
2) 00:0a.0 Ethernet controller: Linksys, A Division of Cisco Systems [AirConn] INPROCOMM IPN 2220 Wireless LAN Adapter (rev 01)
working under ndiswrapper on neti2220 driver
On kernel 2.6.19 both cards are working fine (with same network ...
| Feb 7, 2:04 am 2008 |
| Stephen Hemminger | Re: Bug? Kernels 2.6.2x drops TCP packets over wireless ...
On Thu, 07 Feb 2008 10:04:00 +0100
You have the wrong mailing list:
1. You are using proprietary drivers (ndiswrapper and madwifi both have binary only parts).
2. The network developers read netdev@vger.kernel.org
Sounds like you have a TCP corrupting firewall that mangles the window scaling.
This is a known issue with buggy middleboxes that can not be fixed in Linux without
limiting performance. Complain to the middlebox vendors or IETF.
--
Stephen Hemminger ...
| Feb 7, 9:17 am 2008 |
| Geert Uytterhoeven | [PATCH] m68k: kill page walker compile warning
The recently introduced page walker (walk_page_range()) calls pgd_offset with a
const struct mm_struct pointer, causing the following compile warning on m68k:
mm/pagewalk.c:111: warning: passing argument 1 of 'pgd_offset' discards qualifiers from pointer target type
Make the `mm' parameter of the inline function pgd_offset() const to shut it
up.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
As cris also uses an inline function, I expect a similar warning to show ...
| Feb 7, 1:10 am 2008 |
| Eric Dumazet | [PATCH] Avoid divides in BITS_TO_LONGS
BITS_PER_LONG is a signed value (32 or 64)
DIV_ROUND_UP(nr, BITS_PER_LONG) performs signed arithmetic if "nr" is signed too.
Converting BITS_TO_LONGS(nr) to DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))
makes sure compiler can perform a right shift, even if "nr" is a signed value,
instead of an expensive integer divide.
Applying this patch saves 141 bytes on x86 when CONFIG_CC_OPTIMIZE_FOR_SIZE=y
and speedup bitmap operations.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
| Feb 7, 12:54 am 2008 |
| Jan Kiszka | [PATCH] KGDB-8250: fix initial interrupt
Latest rework of kgdb8250_interrupt caused a regression in that the new
code wrongly assumes a ctrl-c character is also sent on initial connect
from the host. Here is a fix.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
---
drivers/serial/8250_kgdb.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: b/drivers/serial/8250_kgdb.c
===================================================================
--- a/drivers/serial/8250_kgdb.c
+++ b/drivers/serial/8250_kgdb.c
@@ ...
| Feb 7, 12:38 am 2008 |
| Jan Kiszka | [PATCH] KGDB: kconfig polishing
Just for the sake of cleanness.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
---
lib/Kconfig.kgdb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: b/lib/Kconfig.kgdb
===================================================================
--- a/lib/Kconfig.kgdb
+++ b/lib/Kconfig.kgdb
@@ -16,7 +16,7 @@ config KGDB_ARCH_HAS_SHADOW_INFO
depends on KGDB
config KGDB_CONSOLE
- bool "KGDB: Console messages through gdb"
+ bool "Console messages through gdb"
depends on ...
| Feb 7, 12:38 am 2008 |
| Balaji Rao | Re: [PATCH][Regression] x86, 32-bit: trim memory not cov ...
On Thursday 07 February 2008 02:20:35 pm Yinghai Lu wrote:
Yea right.. Thanks for pointing that out.
--
regards,
balaji rao
--
| Feb 7, 4:35 am 2008 |
| Balaji Rao | Re: [PATCH][Regression] x86, 32-bit: trim memory not cov ...
Cool! Yes, Yinghai Lu's patch indeed is the same as mine and its really
surprising that we've used the same variable name too! :)
regards,
balaji rao
--
| Feb 7, 1:21 am 2008 |
| Yinghai Lu | Re: [PATCH][Regression] x86, 32-bit: trim memory not cov ...
minor difference
+ trim_start = highest_pfn << PAGE_SHIFT;
+ trim_size = end_pfn << PAGE_SHIFT;
could cause some problem with 32 bit kernel when mem > 4g.
becase highest_pfn and end_pfn is unsigned long aka 32 bit ...could overflow.
so need to assign thtem to trim_start/trim_end at first
or
+ trim_start = (u64)highest_pfn << PAGE_SHIFT;
+ trim_size = (u64)end_pfn << PAGE_SHIFT;
YH
--
| Feb 7, 1:50 am 2008 |
| Balaji Rao | [PATCH][Regression] x86, 32-bit: trim memory not covered ...
Hello,
The following commit caused my X server to stop working.
commit 99fc8d424bc5d803fe92cad56c068fe64e73747a
Author: Jesse Barnes <jesse.barnes@intel.com>
Date: Wed Jan 30 13:33:18 2008 +0100
x86, 32-bit: trim memory not covered by wb mtrrs
This patch fixes the improper handling of addresses > 4G by mtrr_trim_uncached_memory.
This, now brings up X on my system.
Signed-off-by: Balaji Rao <balajirrao@gmail.com>
diff --git a/arch/x86/kernel/cpu/mtrr/main.c ...
| Feb 7, 12:27 am 2008 |
| Ingo Molnar | Re: [PATCH][Regression] x86, 32-bit: trim memory not cov ...
no, that would not be valid.
I mean the simple example you offered:
+ trim_start = highest_pfn << PAGE_SHIFT;
it _looks_ good but is inherently unsafe if 'highest_pfn' is 32-bit and
PAGE_SHIFT is 32-bit (which they are).
Or another, user-space example, on a 32-bit box:
int main (void)
{
unsigned long long a;
unsigned long b = 0x80000000, c = 2;
a = b << c;
printf("%Ld\n", a);
return 0;
}
gcc will print ...
| Feb 7, 3:16 am 2008 |
| Ingo Molnar | Re: [PATCH][Regression] x86, 32-bit: trim memory not cov ...
indeed ...
i think the 64-bit behavior of gcc is inherently dangerous, we had
numerous subtle bugs in that area.
i think perhaps Sparse should be extended to warn about this. I think
any case where on _32-bit_ we have an 'unsigned long' that is shifted to
the left by any significant amount is clearly in danger of overflowing.
_Especially_ when the lvalue is 64-bit!
or in other words, on any such construct:
64-bit lvalue = ... 32-bit value
we should enforce _explicit_ (u64) ...
| Feb 7, 2:04 am 2008 |
| Ingo Molnar | Re: [PATCH][Regression] x86, 32-bit: trim memory not cov ...
thanks. Incidentally this same bug was reported and fixed yesterday, and
that fix is upstream already. Could you please compare your solution to
Yinghai Lu's fix below, and send us a patch for any further improvements
(or cleanups) you might notice in that code? It seems to be almost the
same fix as yours. (and hopefully it fixes your X problem too)
Ingo
------------------>
commit 20651af9ac60fd6e31360688ad44861a7d05256a
Author: Yinghai Lu <yinghai.lu@sun.com>
Date: Wed Feb 6 ...
| Feb 7, 1:02 am 2008 |
| Ingo Molnar | Re: [PATCH][Regression] x86, 32-bit: trim memory not cov ...
indeed :) Although further reading into the commit clearly tells us that
yeah, linux-2.6.git is append-only.
Ingo
--
| Feb 7, 2:00 am 2008 |
| Yinghai Lu | Re: [PATCH][Regression] x86, 32-bit: trim memory not cov ...
so you mean gcc will do some optimization to make
+ trim_start = highest_pfn;
+ trim_start <<= PAGE_SHIFT;
to be
+ trim_start = highest_pfn << PAGE_SHIFT;
looks scary...
then gcc need to be fixed.
YH
--
| Feb 7, 2:11 am 2008 |
| Yinghai Lu | Re: [PATCH][Regression] x86, 32-bit: trim memory not cov ...
should be
x86_64: trim memory not covered by wb mtrrs
anyway, we can not modify git log in linux-2.6.git. can we?
YH
--
| Feb 7, 1:56 am 2008 |
| Gilles Espinasse | Re: [PATCH] USB: mark USB drivers as being GPL only
----- Original Message -----
From: "Jan Engelhardt" <jengelh@computergmbh.de>
To: "Gilles Espinasse" <g.esp@free.fr>
Cc: <gregkh@suse.de>; <linux-kernel@vger.kernel.org>
Sent: Wednesday, February 06, 2008 10:14 PM
Just for curiosity, how could you know the number of sources files without
the sources of the blob?
Or you have them...?
Gilles
--
| Feb 7, 12:30 am 2008 |
| Harvey Harrison | Re: [PATCH 1/3] x86: sparse warning in cpufreq/powernow-k8.c
Sorry about that, I've been sending Ingo a bunch of x86 patches, didn't
think to look further than that. Will keep in mind.
Harvey
--
| Feb 7, 12:18 am 2008 |
| Uwe Kleine-König | [PATCH] fix type "goot" -> "good"
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
---
scripts/checkpatch.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 579f50f..35bb5a1 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1373,7 +1373,7 @@ sub process {
# multi-statement macros should be enclosed in a do while loop, grab the
# first statement and ensure its the whole macro if its not enclosed
-# in a known goot ...
| Feb 7, 12:10 am 2008 |
| Uwe Kleine-König | [PATCH] fix typo "goot" -> "good"
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
---
Hello,
ups, I made a typo myself, how embarrassing. Sorry for getting this
patch twice.
Best regards
Uwe
scripts/checkpatch.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 579f50f..35bb5a1 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1373,7 +1373,7 @@ sub process {
# multi-statement macros should be enclosed in ...
| Feb 7, 12:26 am 2008 |
| Tony Breeds | [PATCH] Fix powerpc vdso clock_getres().
Since implementing highres timers on powerpc the clock_getres syscall
has reported different resolutions due to the vdso using the a low res
value. In the patch d7f71674ad7c3c4467e48f6ab9e85516dae2720
([POWERPC] Use a sensible default for clock_getres() in the VDSO), the
powerpc vdso was updated to use the correct value.
This fix doesn't work on older compilers. Below is a fix for powerpc,
that introduces a new (generic) #define MONOTONIC_RES_NSEC which is
equal to the 64 value stored in ...
| Feb 6, 11:47 pm 2008 |
| David Teigland | [PATCH 16/16] dlm: add __init and __exit marks to init a ...
From: Denis Cheng <crquan@gmail.com>
it moves 365 bytes from .text to .init.text, and 30 bytes from .text to
.exit.text, saves memory.
Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/config.c | 2 +-
fs/dlm/debug_fs.c | 2 +-
fs/dlm/lockspace.c | 2 +-
fs/dlm/memory.c | 2 +-
fs/dlm/netlink.c | 4 ++--
fs/dlm/user.c | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 14/16] dlm: proper types for asts and basts
Use proper types for ast and bast functions, and use
consistent type for ast param.
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/ast.c | 9 +++----
fs/dlm/dlm_internal.h | 14 +++++-------
fs/dlm/lock.c | 50 +++++++++++++++++++++++++++++++-----------------
fs/dlm/rcom.c | 4 +-
4 files changed, 44 insertions(+), 33 deletions(-)
diff --git a/fs/dlm/ast.c b/fs/dlm/ast.c
index 6308122..8bf31e3 100644
--- a/fs/dlm/ast.c
+++ ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 15/16] dlm: eliminate astparam type casting
Put lkb_astparam in a union with a dlm_user_args pointer to
eliminate a lot of type casting.
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/debug_fs.c | 6 ++----
fs/dlm/dlm_internal.h | 5 ++++-
fs/dlm/lock.c | 14 ++++++--------
fs/dlm/memory.c | 2 +-
fs/dlm/netlink.c | 5 ++---
fs/dlm/user.c | 8 +++-----
6 files changed, 18 insertions(+), 22 deletions(-)
diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c
index ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 11/16] dlm: fix overflows when copying from ->m_e ...
From: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/lock.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c
index 6d98cf9..5b82187 100644
--- a/fs/dlm/lock.c
+++ b/fs/dlm/lock.c
@@ -1226,6 +1226,8 @@ static void set_lvb_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb,
b = dlm_lvb_operations[lkb->lkb_grmode + 1][lkb->lkb_rqmode + ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 12/16] dlm: fix dlm_dir_lookup() handling of too ...
From: Al Viro <viro@zeniv.linux.org.uk>
... those can happen and BUG() from DLM_ASSERT() in allocate_direntry() is
not a good way to handle them.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/dir.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/dlm/dir.c b/fs/dlm/dir.c
index 831050e..85defeb 100644
--- a/fs/dlm/dir.c
+++ b/fs/dlm/dir.c
@@ -319,6 +319,9 @@ static int get_entry(struct dlm_ls ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 10/16] dlm: make find_rsb() fail gracefully when ...
From: Al Viro <viro@zeniv.linux.org.uk>
We *can* get there from receive_request() and dlm_recover_master_copy()
with namelen too large if incoming request is invalid; BUG() from
DLM_ASSERT() in allocate_rsb() is a bit excessive reaction to that
and in case of dlm_recover_master_copy() we would actually oops before
that while calculating hash of up to 64Kb worth of data - with data
actually being 64 _bytes_ in kmalloc()'ed struct.
Signed-off-by: Al Viro ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 09/16] dlm: receive_rcom_lock_args() overflow check
From: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/lock.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c
index 6c605fc..0593dd8 100644
--- a/fs/dlm/lock.c
+++ b/fs/dlm/lock.c
@@ -4271,7 +4271,6 @@ static int receive_rcom_lock_args(struct dlm_ls *ls, struct dlm_lkb *lkb,
struct dlm_rsb *r, struct dlm_rcom *rc)
{
...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 01/16] dlm: use proper C for dlm/requestqueue stu ...
From: Al Viro <viro@zeniv.linux.org.uk>
a) don't cast the pointer to dlm_header *, we use it as dlm_message *
anyway.
b) we copy the message into a queue element, then pass the pointer to
copy to dlm_receive_message_saved(); declare it properly to make sure
that we have the right alignment.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/lock.c | 2 +-
fs/dlm/requestqueue.c | 12 ++++++------
...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 05/16] dlm: use proper type for ->ls_recover_buf
From: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/dir.c | 2 +-
fs/dlm/dlm_internal.h | 2 +-
fs/dlm/rcom.c | 11 ++++++-----
fs/dlm/recover.c | 4 ++--
4 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/fs/dlm/dir.c b/fs/dlm/dir.c
index ff97ba9..ce30136 100644
--- a/fs/dlm/dir.c
+++ b/fs/dlm/dir.c
@@ -235,7 +235,7 @@ int ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 13/16] dlm: dlm/user.c input validation fixes
From: Al Viro <viro@zeniv.linux.org.uk>
a) in device_write(): add sentinel NUL byte, making sure that lspace.name will
be NUL-terminated
b) in compat_input() be keep it simple about the amounts of data we are copying.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/user.c | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/fs/dlm/user.c b/fs/dlm/user.c
index 7cbc682..c306045 ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 06/16] dlm: missing length check in check_config()
From: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/rcom.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/fs/dlm/rcom.c b/fs/dlm/rcom.c
index 3f9b96f..a312f1d 100644
--- a/fs/dlm/rcom.c
+++ b/fs/dlm/rcom.c
@@ -85,6 +85,7 @@ static void make_config(struct dlm_ls *ls, struct rcom_config *rf)
static int check_config(struct dlm_ls *ls, struct dlm_rcom *rc, int ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 08/16] dlm: verify that places expecting rcom_loc ...
From: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/lock.c | 3 +++
fs/dlm/rcom.c | 12 +++++++++++-
2 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c
index 75176b5..6c605fc 100644
--- a/fs/dlm/lock.c
+++ b/fs/dlm/lock.c
@@ -4266,6 +4266,7 @@ static struct dlm_lkb *search_remid(struct dlm_rsb *r, int nodeid,
return NULL;
}
+/* needs ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 03/16] dlm: do not byteswap rcom_lock
From: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/dlm_internal.h | 22 +++++++++++-----------
fs/dlm/lock.c | 34 +++++++++++++++++++---------------
fs/dlm/rcom.c | 14 +++++++-------
fs/dlm/util.c | 45 ++-------------------------------------------
4 files changed, 39 insertions(+), 76 deletions(-)
diff --git a/fs/dlm/dlm_internal.h ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 02/16] dlm: dlm_process_incoming_buffer() fixes
From: Al Viro <viro@zeniv.linux.org.uk>
* check that length is large enough to cover the non-variable part of message or
rcom resp. (after checking that it's large enough to cover the header, of
course).
* kill more pointless casts
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/dlm_internal.h | 6 ++++++
fs/dlm/lock.c | 19 +++++++++----------
fs/dlm/lock.h | 2 +-
fs/dlm/midcomms.c | 33 ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 07/16] dlm: validate data in dlm_recover_directory()
From: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/dir.c | 23 ++++++++++++++++++++---
1 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/fs/dlm/dir.c b/fs/dlm/dir.c
index ce30136..831050e 100644
--- a/fs/dlm/dir.c
+++ b/fs/dlm/dir.c
@@ -220,6 +220,7 @@ int dlm_recover_directory(struct dlm_ls *ls)
last_len = 0;
for (;;) {
+ int left;
error = ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 04/16] dlm: do not byteswap rcom_config
From: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
---
fs/dlm/dlm_internal.h | 6 +++---
fs/dlm/rcom.c | 15 ++++++++-------
fs/dlm/util.c | 20 --------------------
3 files changed, 11 insertions(+), 30 deletions(-)
diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h
index e73b988..187a5b5 100644
--- a/fs/dlm/dlm_internal.h
+++ b/fs/dlm/dlm_internal.h
@@ -410,9 +410,9 ...
| Feb 6, 11:09 pm 2008 |
| David Teigland | [PATCH 00/16] dlm patches for 2.6.25 (batch 2)
This is a second batch of dlm patches that I think should be
ready for 2.6.25. It's largely clean ups and minor fixes from
Al Viro, and a couple more added by me after Al pointed them out.
Thanks,
Dave
Al Viro (13):
dlm: use proper C for dlm/requestqueue stuff (and fix alignment bug)
dlm: dlm_process_incoming_buffer() fixes
dlm: do not byteswap rcom_lock
dlm: do not byteswap rcom_config
dlm: use proper type for ->ls_recover_buf
dlm: missing length ...
| Feb 6, 11:09 pm 2008 |
| Dave Airlie | [git pull] drm patches for 2.6.25
Hi Linus,
Please pull the 'drm-patches' branch from
ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-patches
Sorry this is so late, after much talking at LCA we decided to pull TTM
from this round and I had to re-order a lot of things, so highlights of
this bunch are
intel driver suspend/resume support - can bring back text mode now.
basic radeon r500 CP support
sysfs cleanups.
fix pci_set_master not being called breaking some radeons.
Dave.
...
| Feb 6, 10:37 pm 2008 |
| Jesse Barnes | Re: [git pull] drm patches for 2.6.25
Just FYI, given some of the weirdness we've seen in 8xx chipsets in the 2D
driver, this new suspend/resume code may still need a few tweaks. Please
test it out and report any bugs you find asap (preferably w/o X running as
that makes things easier to debug).
Also, if you find that your outputs don't come back, I've got an experimental
patch at https://bugs.freedesktop.org/show_bug.cgi?id=14249 that may work for
you (this one in particular is the one I'm worried may break ...
| Feb 6, 11:21 pm 2008 |
| Linus Torvalds | Re: [git pull] drm patches for 2.6.25
Very happy to. I can confirm that this does indeed finally make
suspend/resume work on my laptop, screen and all.
Linus
--
| Feb 7, 10:38 am 2008 |
| Max Krasnyansky | Re: [git pull] CPU isolation extensions
Hi Linus,
They've been discussed with RT/scheduler/cpuset folks.
Andrew is definitely in the loop. He just replied and asked for some fixes and
clarifications. He seems to be ok with merging this in general.
The last patch may not be as bad as I originally thought. We'll discuss it some
more with Andrew. I'll also check with Rusty who wrote the stopmachine in the
first place. It actually seems like an overkill at this point. My impression is
that it was supposed to be a safety net if some ...
| Feb 7, 10:36 am 2008 |
| Paul Jackson | Re: [git pull] CPU isolation extensions
Max - Andrew wondered if the rt tree had seen the
code or commented it on it. What became of that?
My two cents isn't worth a plug nickel here, but
I'm inclined to nod in agreement when Linus wants
to see these patches get some more exposure before
going into Linus's tree. ... what's the hurry?
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| Feb 7, 11:10 am 2008 |
| Andrew Morton | Re: [git pull] CPU isolation extensions
Speaking of which.. there is the -rt tree. Have those people had a look
at the feature, perhaps played with the code?
--
| Feb 7, 1:12 am 2008 |
| Linus Torvalds | Re: [git pull] CPU isolation extensions
Have these been in -mm and widely discussed etc? I'd like to start more
carefully, and (a) have that controversial last patch not merged initially
and (b) make sure everybody is on the same page wrt this all..
Linus
--
| Feb 7, 10:06 am 2008 |
| Andrew Morton | Re: [git pull] CPU isolation extensions
ah, I missed that. Yup, the implementation you have there looks OK.
--
| Feb 7, 12:26 pm 2008 |
| Ingo Molnar | Re: [git pull] CPU isolation extensions
no, they have not been under nearly enough testing and review - these
patches surfaced on lkml for the first time one week ago (!). I find the
pull request totally premature, this stuff has not been discussed and
agreed on _at all_. None of the people who maintain and have interest in
this code and participated in the (short) one-week discussion were
Cc:-ed to the pull request.
I think these patches also need a buy-in from Peter Zijlstra and Paul
Jackson (or really good reasoning ...
| Feb 7, 12:51 pm 2008 |
| Max Krasnyansky | Re: [git pull] CPU isolation extensions
Peter Z. and Steven R. sent me some comments, I believe I explained and addressed them.
Ingo's been quite. Probably too busy.
btw It's not an RT feature per se. It certainly helps RT but removing all the latency
sources from isolated CPUs. But in general it's just "reducing kernel overhead on some CPUs"
kind of feature.
Max
--
| Feb 7, 11:14 am 2008 |
| Max Krasnyansky | [git pull] CPU isolation extensions
Linus, please pull CPU isolation extensions from
git://git.kernel.org/pub/scm/linux/kernel/git/maxk/cpuisol-2.6.git for-linus
Diffstat:
b/arch/x86/Kconfig | 1
b/arch/x86/kernel/genapic_flat_64.c | 5 ++-
b/drivers/base/cpu.c | 48 +++++++++++++++++++++++++++++++++++
b/include/linux/cpumask.h | 3 ++
b/kernel/Kconfig.cpuisol | 15 +++++++++++
b/kernel/Makefile | 4 +-
b/kernel/cpu.c | ...
| Feb 6, 10:32 pm 2008 |
| Max Krasnyansky | Re: [git pull] CPU isolation extensions
Awesome :) I think it's get more and more useful as people will start trying
to figure out what the heck there is supposed to do with the spare CPU cores.
I mean pretty soon most machines will have 4 cores and some will have 8.
Those are local versions that depend whether a feature is enabled or not.
If CONFIG_CPUISOL_WORKQUEUE is disabled we want to cpu_unusable()
in the workqueue.c to be a noop, and if it's enabled that macro resolve to
cpu_isolated().
Same thing for the stopmachine.c. If ...
| Feb 7, 10:22 am 2008 |
| Max Krasnyansky | Re: [git pull] CPU isolation extensions
I just replied to Andrew. It's not an RT feature per se.
And yes Peter CC'ed RT folks. You probably did not get a chance to read all replies.
No hurry I guess. I did mentioned in the introductory email that I've been maintaining
this stuff for awhile now. SLAB patches used to be messy, with new SLUB the mess goes away.
CFS handles CPU hotplug much better than O(1), cpu hotplug is needed to be able to change
isolated bit from sysfs. That's why I think it's a good time to merge.
I don't mind of ...
| Feb 7, 11:22 am 2008 |
| Andrew Morton | Re: [git pull] CPU isolation extensions
The feature as a whole seems useful, and I don't actually oppose the merge
based on what I see here. As long as you're really sure that cpusets are
inappropriate (and bear in mind that Paul has a track record of being wrong
on this :)). But I see a few glitches
- There are two separate and identical implementations of
cpu_unusable(cpu). Please do it once, in a header, preferably with C
function, not macros.
- The Kconfig help is a bit scraggly:
+config ...
| Feb 6, 10:58 pm 2008 |
| Max Krasnyansky | Re: [git pull] CPU isolation extensions
I honestly think this one is no brainer and I do not think this one will hurt Paul's track record :).
Paul initially disagreed with me and that's when he was wrong ;-))
Andrew, I looked at this in detail and here is an explanation that
I sent to Paul a few days ago (a bit shortened/updated version).
--------
I thought some more about your proposal to use sched_load_balance flag in cpusets instead of extending
cpu_isolated_map. I looked at the cpusets, cgroups and here are my thoughts on ...
| Feb 7, 11:02 am 2008 |
| Paul Jackson | Re: [git pull] CPU isolation extensions
heh - I saw that <grin>.
Max - Andrew's about right, as usual. You answered my initial
questions on this patch set adequately, but hard real time is
not my expertise, so in the final analysis, other than my saying
I don't have any more objections, my input doesn't mean much
either way.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| Feb 7, 12:59 am 2008 |
| Ben Nizette | [PATCH] AVR32: pass i2c board info through at32_add_device_twi
New-style I2C drivers require that motherboard-mounted I2C devices are
registered with the I2C core, typically at arch_initcall time. This can be
done nice and neat by passing the struct i2c_board_info[] through
at32_add_device_twi just like we do for the SPI board info.
While we've got the hood up, remove a duplicate declaration of
at32_add_device_twi() in board.h.
Signed-Off-By: Ben Nizette <bn@niasdigital.com>
---
Index: ...
| Feb 6, 9:28 pm 2008 |
| Yinghai Lu | [PATCH] x86_64: clean up find_e820_area
[PATCH] x86_64: clean up find_e820_area
change size to unsigned long, becase caller and user all used unsigned long.
also make bad_addr take align.
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Index: linux-2.6/arch/x86/kernel/e820_64.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/e820_64.c
+++ linux-2.6/arch/x86/kernel/e820_64.c
@@ -95,7 +95,7 @@ void __init early_res_to_bootmem(void)
}
/* Check for already reserved areas ...
| Feb 6, 9:23 pm 2008 |
| Ingo Molnar | Re: [PATCH] x86_64: clean up find_e820_area
thanks, applied.
[ tiny nitpicking detail:
> -static inline int bad_addr(unsigned long *addrp, unsigned long size)
> +static inline int bad_addr(unsigned long *addrp, unsigned long size, unsigned long align)
please run scripts/checkpatch.pl over your patches, that would have
nice! This makes the reservation intent and effect much clearer.
Ingo
--
| Feb 7, 1:12 am 2008 |
| Yinghai Lu | Re: [PATCH] x86_64: fix page table size
yes. need 256g.
128g without patch it still work. because round_up(.., PAGE_SIZE) get
sound interesting. but need some variable to prevent using non exist page.
YH
--
| Feb 7, 1:36 am 2008 |
| Andi Kleen | Re: [PATCH] x86_64: fix page table size
I see yes. The original was ok I think, but it must have been a typo when
I switched the boolean to a enum on Thomas request and for some
reason the new breakage didn't show up on my testing.
I wonder why you didn't keep the enum even though Thomas
insisted on it. Since you removed it again the safest would have been
to just keep it correct as it originally was. And it was rather pointless
to force me to do changes when you then afterwards half way rewrite the code
anyways. To be honest that ...
| Feb 7, 10:28 am 2008 |
| Yinghai Lu | [PATCH] x86_64: fix page table size
[PATCH] x86_64: fix page table size
Command line: apic=debug acpi.debug_level=0x0000000F debug initcall_debug pci=routeirq ramdisk_size=131072 root=/dev/ram0 rw ip=dhcp console=uart8250,io,0x3f8,115200n8
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000100 - 000000000009bc00 (usable)
BIOS-e820: 000000000009bc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e6000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000dffe0000 (usable)
BIOS-e820: 00000000dffe0000 - ...
| Feb 6, 9:22 pm 2008 |
| Ingo Molnar | Re: [PATCH] x86_64: fix page table size
yeah, exactly. You could try into using the "PG_arch_1" struct page
->flags bit - it's not utilized on x86. That way we could avoid free-ing
it into the general page pool. We could check for it in
arch/x86/mm/init_64.c's online_page() function [that's where we release
most pages into the page pool].
Perhaps it might also be handy to introduce a page_is_fake_ram(addr)
method that searches the e820 maps for fake ram, to make sure we never
allocate such ranges.
Such a feature would be ...
| Feb 7, 1:49 am 2008 |
| Andi Kleen | Re: [PATCH] x86_64: fix page table size
What tree did you use? The patch I submitted had
if (direct_gbpages == GBP_ON) {
here. And the actual direct gbpages patch does not even have to made
it to Linus' tree yet, just all the other gbpages patches
But yes if it really was if (direct_gbpages) { here then your change
is correct of course.
-Andi
--
| Feb 7, 12:23 am 2008 |
| Ingo Molnar | Re: [PATCH] x86_64: fix page table size
yes, the bug was introduced in your original submission of gbpages.
Ingo
--
| Feb 7, 4:54 am 2008 |
| Ingo Molnar | Re: [PATCH] x86_64: fix page table size
thanks Yinghai, applied!
I'm wondering why this bug didnt trigger more widely. It seems to me it
needs some serious amount of RAM to trigger this bug - correct?
btw., it would be nice to have some "lots of RAM simulation" debugging
code which would just _fake_ a really large e820 map and would in the
end throw away the 'fake' pages later during bootup. Perhaps tell the
early allocator to never allocate into these fake areas [via an struct
e820 entry flag], but all our sizing code and ...
| Feb 7, 1:09 am 2008 |
| Randy Dunlap | [PATCH] kernel-doc: fix for vunmap function prototype
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix kernel-doc function prototype parsing for vunmap() in -mm kernel:
(but merge to mainline, please)
Allow more than one '*' before the function name.
Error(linux-2.6.24-mm1//mm/vmalloc.c:438): cannot understand prototype: 'struct page **vunmap(const void *addr) '
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
scripts/kernel-doc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- ...
| Feb 6, 7:40 pm 2008 |
| dann frazier | [PATCH] 2.4: USB: fix DoS in pwc USB video driver
This is a 2.4 backport of a linux-2.6 change by Oliver Neukum.
(commit 85237f202d46d55c1bffe0c5b1aa3ddc0f1dce4d)
CVE-2007-5093 was assigned for this issue.
This backport has been compile-tested only.
Commit log from 2.6 follows.
the pwc driver has a disconnect method that waits for user space to
close the device. This opens up an opportunity for a DoS attack,
blocking the USB subsystem and making khubd's task busy wait in
kernel space. This patch shifts freeing resources to close ...
| Feb 6, 7:06 pm 2008 |
| Willy Tarreau | Re: [PATCH] 2.4: USB: fix DoS in pwc USB video driver
That's weird, because I remember about this one I checked while working
on 2.6.20-stable. For an unknown reason, I thought that it did not affect
I've applied it, and I have such a webcam lying somewhere, so I'll be able
to test.
Thanks Dann!
Willy
--
| Feb 6, 9:57 pm 2008 |
| Matt Helsley | [PATCH] procfs task exe symlink
The kernel implements readlink of /proc/pid/exe by getting the file from the
first executable VMA. Then the path to the file is reconstructed and reported as
the result.
Because of the VMA walk the code is slightly different on nommu systems. This
patch avoids separate /proc/pid/exe code on nommu systems. Instead of walking
the VMAs to find the first executable file-backed VMA we store a reference to
the exec'd file in the mm_struct.
That reference would prevent the filesystem holding the ...
| Feb 6, 6:44 pm 2008 |
| dann frazier | [PATCH] 2.4: [PPPOE]: memory leak when socket is release ...
This is a 2.4 backport of a linux-2.6 change by Florian Zumbiehl.
(commit 202a03acf9994076055df40ae093a5c5474ad0bd)
CVE-2007-2525 was assigned for this issue. It has been compile tested-only.
Commit log from 2.6 follows.
below you find a patch that fixes a memory leak when a PPPoE socket is
release()d after it has been connect()ed, but before the PPPIOCGCHAN ioctl
ever has been called on it.
This is somewhat of a security problem, too, since PPPoE sockets can be
created by any ...
| Feb 6, 6:41 pm 2008 |
| Eric Van Hensbergen | Re: [PULL] v9fs patches for merge window
I would have, but I didn't see the original offender in my upstream
branch, so I just applied it separately - looks to me like fcprint.c
hasn't been touched (until your patch) since its introduction:
ericvh@ericvh-desktop:~/src/linux/9p$ git log net/9p/fcprint.c
commit bd238fb431f31989898423c8b6496bc8c4204a86
Author: Latchesar Ionkov <lucho@ionkov.net>
Date: Tue Jul 10 17:57:28 2007 -0500
9p: Reorganization of 9p file system code
This patchset moves non-filesystem interfaces of ...
| Feb 7, 6:51 am 2008 |
| Linus Torvalds | Re: [PULL] v9fs patches for merge window
There seems to be a "for-linus" missing there.. With that I get the right
diffstat. But please don't make me have to search around and guess..
Linus
--
| Feb 6, 7:08 pm 2008 |
| Andrew Morton | Re: [PULL] v9fs patches for merge window
On Wed, 6 Feb 2008 19:39:26 -0600 "Eric Van Hensbergen" <ericvh@gmail.com> wrote:
Could you please cc me on pull requests? I need to pay more attention to
Really this should have been folded into the patch which it fixes. We get
a cleaner history that way, and it protects git-bisectability.
Yes, it can mean that people lose credit points. I make that up by adding
a little note in the signoffs in the form
[foo@bar.com: <whatever [s]he did>]
box:/usr/src/git26> git-log | grep ' ...
| Feb 6, 7:43 pm 2008 |
| Eric Van Hensbergen | [PULL] v9fs patches for merge window
The following changes since commit 3e6bdf473f489664dac4d7511d26c7ac3dfdc748:
Linus Torvalds (1):
Merge git://git.kernel.org/.../x86/linux-2.6-x86
are found in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs.git
Andrew Morton (1):
9p: fix p9_printfcall export
Anthony Liguori (2):
9p: add support for sticky bit
9p: Convert semaphore to spinlock for p9_idpool
Eric Van Hensbergen (7):
9p: create transport rpc ...
| Feb 6, 6:39 pm 2008 |
| Dave Kleikamp | [PATCH] ext4 can fail badly when device stops accepting ...
Duplicating Neil Brown's jbd patch for jbd2. I guess this can go
through the ext4 queue rather than straight into -mm.
Neil's text:
Some devices - notably dm and md - can change their behaviour in
response to BIO_RW_BARRIER requests. They might start out accepting
such requests but on reconfiguration, they find out that they cannot
any more.
ext3 (and other filesystems) deal with this by always testing if
BIO_RW_BARRIER requests fail with EOPNOTSUPP, and retrying the write
requests ...
| Feb 6, 9:25 pm 2008 |
| Neil Brown | [PATCH] ext3 can fail badly when device stops accepting ...
Some devices - notably dm and md - can change their behaviour in
response to BIO_RW_BARRIER requests. They might start out accepting
such requests but on reconfiguration, they find out that they cannot
any more.
ext3 (and other filesystems) deal with this by always testing if
BIO_RW_BARRIER requests fail with EOPNOTSUPP, and retrying the write
requests without the barrier (probably after waiting for any pending
writes to complete).
However there is a bug in the handling for this for ...
| Feb 6, 6:32 pm 2008 |
| Jan Kara | Re: [PATCH] ext3 can fail badly when device stops accept ...
Yes. Actually, I think there's another bug in there as well - at least
I have bugreport where we obviously miss that writing ordered buffer
failed (I see completion function of the buffer return with eopnotsupp
bit set but barriers aren't disabled). I think someone starts writing
out the buffer before we call sync_dirty_buffer(bh) but I'm not completely
sure who can do this when we just do set_buffer_dirty(bh)... Anyway
before I check that it is indeed happening what I think is happening,
your ...
| Feb 7, 3:58 am 2008 |
| H. Peter Anvin | Re: Access MSR functions in userspace?
It's irrelevant where it "registers" (on your kernel it only affects
/proc/devices, nothing else, unless you're using devfs, in which case,
well, don't.) The MAKEDEV script with the tools creates the appropriate
device entries.
-hpa
--
| Feb 6, 6:09 pm 2008 |
| Takashi Sato | Re: [RFC] ext3 freeze feature
Currently the XFS freezer doesn't solve a deadlock automatically
and we rely on administrators for ensuring that the freezer will not
access the filesystem.
And even if the wrong freezer causes a deadlock, it can be solved
by other unfreeze process(unfreeze command).
So I don't think the freezer itself needs to solve the deadlock.
I think the timeout is effective for a unexpected deadlock
and the timeout extending feature is very useful
as Dmitri proposed.
Cheers, Takashi
--
| Feb 6, 6:05 pm 2008 |
| Alejandro Riveira | Re: [Bugme-new] [Bug 9906] New: Weird hang with NPTL and ...
El Thu, 7 Feb 2008 10:56:16 -0500 (EST)
From my previous mail
Note that i use CC=gcc-4.2
$gcc-4.2 --version
gcc-4.2 (GCC) 4.2.1 (Ubuntu 4.2.1-5ubuntu4)
--
| Feb 7, 8:54 am 2008 |
| Parag Warudkar | Re: [Bugme-new] [Bug 9906] New: Weird hang with NPTL and ...
On Thu, 7 Feb 2008, Alejandro Riveira Fern
| Feb 7, 8:53 am 2008 |
| Parag Warudkar | Re: [Bugme-new] [Bug 9906] New: Weird hang with NPTL and ...
That should of course be
x86_64+SMP+PREEMPT+GnuC-4.1.3+Glibc-2.6.1 = Reproducible.
--
| Feb 7, 8:56 am 2008 |
| Parag Warudkar | Re: [Bugme-new] [Bug 9906] New: Weird hang with NPTL and ...
FWIW this is not reproducible on 2.6.24/x86/CentOS-51. (I tried running
it nearly 1500 times in a loop.) Assuming those many tries are sufficient
to reproduce this bug, there seems to be something specific to the
environment/architecture/configuration that's necessary to trigger it.
It might be helpful to provide full details like glibc version, compiler
version, .config etc.
Parag
--
| Feb 6, 7:57 pm 2008 |
| Andrew Morton | Re: [Bugme-new] [Bug 9906] New: Weird hang with NPTL and ...
On Wed, 6 Feb 2008 16:33:20 -0800 (PST)
It's probably better to handle this one via email, so please send that
testcase vie reply-to-all to this email, thanks.
--
| Feb 6, 5:50 pm 2008 |
| Parag Warudkar | Re: [Bugme-new] [Bug 9906] New: Weird hang with NPTL and ...
Not reproducible with PREEMPT either.
Parag
--
| Feb 7, 9:53 am 2008 |
| Parag Warudkar | Re: [Bugme-new] [Bug 9906] New: Weird hang with NPTL and ...
On Thu, 7 Feb 2008, Alejandro Riveira Fern
| Feb 7, 9:01 am 2008 |
| Frank Mayhar | Re: [Bugme-new] [Bug 9906] New: Weird hang with NPTL and ...
Testcase attached.
Build with
gcc -D_GNU_SOURCE -c hangc-2.c -o hangc-2.o
gcc -lpthread -o hangc-2 hangc-2.o
Run with
hangc-2 4500 4500
--
Frank Mayhar <fmayhar@google.com>
Google, Inc.
| Feb 6, 5:58 pm 2008 |
| Alejandro Riveira | Re: [Bugme-new] [Bug 9906] New: Weird hang with NPTL and ...
El Wed, 6 Feb 2008 21:57:38 -0500 (EST)
I can reproduce it on my Ubuntu 7.10 kernel 2.6.24
Note i use CC=gcc-4.2
gcc --version
gcc-4.2 (GCC) 4.2.1 (Ubuntu 4.2.1-5ubuntu4)
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
Linux Varda 2.6.24 #2 SMP PREEMPT Fri Jan 25 01:05:47 CET 2008 x86_64 GNU/Linux
Gnu C 4.1.3
Gnu make 3.81
binutils ...
| Feb 7, 8:22 am 2008 |
| Frank Mayhar | Re: [Bugme-new] [Bug 9906] New: Weird hang with NPTL and ...
Several, among which were i686+SMP+GnuC-4.0.3+Glibc-2.3.6. No PREEMPT.
Linux 2.6.18, 2.6.21 and 2.6.24-rc4.
--
Frank Mayhar <fmayhar@google.com>
Google, Inc.
--
| Feb 7, 10:36 am 2008 |
| Michael Monnerie | Re: [Netatalk-admins] netatalk slow after system upgrade ...
I received this e-mail, which could be the resolution to this problem. I=20
will test it with the customer tomorrow.
Is there a workaround possible from the Linux server, instead of=20
modifying all clients? As it runs with kernel 2.6.13, but not with=20
2.6.23, maybe some behaviour change via sysctl could help here.
=2D-=20
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0676/846 914 666 .network.your.ideas.
// PGP Key: "curl -s ...
| Feb 6, 5:49 pm 2008 |
| H. Peter Anvin | Re: Access MSR functions in userspace?
/dev/cpu/msr is bogus. It should be /dev/cpu/0/msr etc.
Sounds like your version of udev might be out of date, or you're using
an old kernel which doesn't communicate /dev/cpu/* to udev properly.
Revert your hacks and, if you have to create the nodes manually, use the
MAKEDEV script included with the msr-tools.
-hpa
--
| Feb 6, 5:48 pm 2008 |
| Frank Mayhar | Weird hang with NPTL and SIGPROF.
I have a testcase that demonstrates a strange hang of the latest kernel
(as well as previous ones). In the process of investigating the NPTL,
we wrote a test that just creates a bunch of threads, then does a
barrier wait to synchronize them all, after which everybody exits.
That's all it does.
This works fine under most circumstances. Unfortunately, we also want
to do profiling, so we catch SIGPROF and turn on ITIMER_PROF. In this
case, at somewhere between 4000 and 4500 threads, and using ...
| Feb 6, 5:37 pm 2008 |
| Randy Dunlap | [PATCH] docbook: dmapool: fix fatal changed filename
From: Randy Dunlap <randy.dunlap@oracle.com>
Docbook fatal error, file was moved:
docproc: linux-2.6.24-git15/drivers/base/dmapool.c: No such file or directory
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
Documentation/DocBook/kernel-api.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.24-git15.orig/Documentation/DocBook/kernel-api.tmpl
+++ linux-2.6.24-git15/Documentation/DocBook/kernel-api.tmpl
@@ -165,6 +165,7 @@ X!Ilib/string.c
...
| Feb 6, 5:29 pm 2008 |
| Jean Delvare | Re: [PATCH -mm] apanel: fix kconfig dependencies
Hi Randy,
I'd rather drop the "select I2C_I801" if the config system can't handle
it properly. It's not strictly needed (not a build-time dependency), an
addition to the help text would work as well. Adding dependencies to
make our selections happy is a bit confusing and likely to cause
--
Jean Delvare
--
| Feb 7, 9:42 am 2008 |
| Randy Dunlap | [PATCH -mm] apanel: fix kconfig dependencies
From: Randy Dunlap <randy.dunlap@oracle.com>
Add I2C to config since the driver makes several i2c*() calls.
Add PCI to config because the config selects I2C_I801, which depends
on PCI, but currently config* does not follow dependency chains,
so randconfig can enable INPUT_APANEL even when PCI is not enabled,
which leads to these warnings:
linux-2.6.24-mm1/drivers/i2c/busses/i2c-i801.c:641: error: implicit declaration of function ...
| Feb 6, 5:27 pm 2008 |
| Stephen Hemminger | Re: [PATCH -mm] apanel: fix kconfig dependencies
On Thu, 7 Feb 2008 11:04:12 -0800
On a related note, Ubuntu puts the i2c_i801 module in /etc/modprobe.d/blacklist.
To get the apanel to work, this must be removed, but that is a distro bug.
--
Stephen Hemminger <stephen.hemminger@vyatta.com>
--
| Feb 7, 12:12 pm 2008 |
| Randy Dunlap | Re: [PATCH -mm] apanel: fix kconfig dependencies
OK. What did you have in mind for the help text. I changed it
a small bit.
I also added "depends on LEDS_CLASS" since defconfig didn't have that
set, but the build failed with wanting symbols that it provides.
Updated patch:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: Randy Dunlap <randy.dunlap@oracle.com>
Add I2C to config since the driver makes several i2c*() calls.
Add to help text that the Intel I2C ICH (i801) driver is also needed
for this kernel.
Add LEDS_CLASS to config since ...
| Feb 7, 12:04 pm 2008 |
| Jean Delvare | Re: [PATCH -mm] apanel: fix kconfig dependencies
Hi Randy,
Yeah, looks OK to me.
Acked-by: Jean Delvare <khali@linux-fr.org>
--
Jean Delvare
--
| Feb 7, 2:46 pm 2008 |
| Harvey Harrison | [PATCH 3/3] x86: sparse error in efi_32.c
include/linux/efi.h does not include asm/efi.h, efi.c and efi_64.c
explicitly include both. While not really right, add the include
to efi_32.c until the header gets sorted out.
arch/x86/kernel/efi_32.c:42:6: warning: symbol 'efi_call_phys_prelog' was not declared. Should it be static?
arch/x86/kernel/efi_32.c:84:6: warning: symbol 'efi_call_phys_epilog' was not declared. Should it be static?
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/x86/kernel/efi_32.c | 1 +
...
| Feb 6, 5:07 pm 2008 |
| Harvey Harrison | [PATCH 2/3] x86: sparse warning in efi.c
arch/x86/kernel/efi.c:57:12: warning: symbol 'efi_phys' was not declared. Should it be static?
Yes, it should.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/x86/kernel/efi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/efi.c b/arch/x86/kernel/efi.c
index 32dd62b..43022d6 100644
--- a/arch/x86/kernel/efi.c
+++ b/arch/x86/kernel/efi.c
@@ -54,7 +54,7 @@ EXPORT_SYMBOL(efi);
struct efi_memory_map memmap;
-struct efi ...
| Feb 6, 5:07 pm 2008 |
| Harvey Harrison | [PATCH 1/3] x86: sparse warning in cpufreq/powernow-k8.c
Nested per_cpu accessors will shadow the internal __ptr variable. Use
a temporary first_core variable.
arch/x86/kernel/cpu/cpufreq/powernow-k8.c:1239:9: warning: symbol '__ptr' shadows an earlier one
arch/x86/kernel/cpu/cpufreq/powernow-k8.c:1239:9: originally declared here
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/x86/kernel/cpu/cpufreq/powernow-k8.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git ...
| Feb 6, 5:07 pm 2008 |
| Roel Kluin | [PATCH][drivers/usb/serial/ftdi_sio.c] add missing '|'
add missing '|'
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 90dcc62..2173561 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -394,7 +394,7 @@ static const char *ftdi_chip_name[] = {
/* End TIOCMIWAIT */
#define FTDI_IMPL_ASYNC_FLAGS = ( ASYNC_SPD_HI | ASYNC_SPD_VHI \
- ASYNC_SPD_CUST | ASYNC_SPD_SHI | ASYNC_SPD_WARP )
+ | ASYNC_SPD_CUST | ASYNC_SPD_SHI | ...
| Feb 6, 5:06 pm 2008 |
| gregkh | patch usb-ftdi_sio.c-add-missing.patch added to gregkh-2 ...
This is a note to let you know that I've just added the patch titled
Subject: USB: ftdi_sio.c add missing '|'
to my gregkh-2.6 tree. Its filename is
usb-ftdi_sio.c-add-missing.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
From 12o3l@tiscali.nl Thu Feb 7 10:05:29 2008
From: Roel Kluin <12o3l@tiscali.nl>
Date: Thu, 07 Feb 2008 01:06:07 +0100
Subject: USB: ftdi_sio.c add missing '|'
To: Greg KH ...
| Feb 7, 11:19 am 2008 |
| Greg KH | Re: partition sysfs OOPS in current GIT
Ah, yeah, what a fun hack... Makes sense though. The updated patch I
send you should do the same thing, just with an additional function
needed.
thanks,
greg k-h
--
| Feb 7, 12:42 am 2008 |
| David Miller | Re: partition sysfs OOPS in current GIT
Greg, I'm pretty sure I know what's happening.
For whatever reason we're invoking dev_attr_show() on attribute_group
objects.
The reason it probably only crashes on sparc64 is because perhaps at
that dev_attr->show offset on x86 there are zero bytes there instead
of a pointer, so the NULL check here in dev_attr_show() masks the bug.
The problem with all of this "container_of() this", "container_of()
that" is that we lose real type checking. So unless we add magic
cookies to verify or ...
| Feb 6, 9:06 pm 2008 |
| Greg KH | Re: partition sysfs OOPS in current GIT
Can you send me the output of 'tree /sys/block/' on 2.6.24?
Are there a lot of partitions here? Anything different you can think of
from x86 that I can have a chance to try to narrow things down with? :)
I don't know if you can boot without udev, but if you could, can you
send the 'tree' output of the offending kernel too?
thanks,
greg k-h
--
| Feb 6, 5:09 pm 2008 |
| Greg KH | Re: partition sysfs OOPS in current GIT
I don't understand that code at all, on 2.6.24, what does reading that
file give you? At first glance, I don't see how that file would spit
out anything and not give you the same kind of oops.
you are in a maze of kobject pointers, all alike...
--
| Feb 6, 11:42 pm 2008 |
| Greg KH | Re: partition sysfs OOPS in current GIT
How about this attempt?
thanks for your patience,
greg "Kay owes me a beer" k-h
---
fs/partitions/check.c | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
--- a/fs/partitions/check.c
+++ b/fs/partitions/check.c
@@ -319,6 +319,14 @@ void delete_partition(struct gendisk *di
put_device(&p->dev);
}
+static ssize_t whole_disk_show(struct device *dev,
+ struct device_attribute *attr, char *buf)
+{
+ return 0;
+}
+static ...
| Feb 7, 12:18 am 2008 |
| Greg KH | Re: partition sysfs OOPS in current GIT
Picky, picky, picky :)
It's odd that the original one didn't also do that, but I'll fix that up
properly, let me try again...
thanks,
greg k-h
--
| Feb 7, 12:20 am 2008 |
| David Miller | Re: partition sysfs OOPS in current GIT
From: Greg KH <gregkh@suse.de>
That works, thanks. Please push to Linus :-)
Acked-by: David S. Miller <davem@davemloft.net>
--
| Feb 7, 12:33 am 2008 |
| David Miller | Re: partition sysfs OOPS in current GIT
From: Greg KH <gregkh@suse.de>
Only Fusion SAS on this system, therefore scsi.
--
| Feb 6, 5:02 pm 2008 |
| Greg KH | Re: partition sysfs OOPS in current GIT
Can you try this patch to see if it solves the oops, and that the file
is still there and works properly?
thanks,
greg k-h
---
fs/partitions/check.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
--- a/fs/partitions/check.c
+++ b/fs/partitions/check.c
@@ -353,11 +353,9 @@ void add_partition(struct gendisk *disk,
partition_sysfs_add_subdir(p);
p->dev.uevent_suppress = 0;
if (flags & ADDPART_FLAG_WHOLEDISK) {
- static struct attribute addpartattr = ...
| Feb 7, 12:00 am 2008 |
| Greg KH | Re: partition sysfs OOPS in current GIT
So, if you just comment out that whole "if (flags &
ADDPART_FLAG_WHOLEDISK)" chunk, does the oops go away? I think that is
the real solution here as I don't see what this attribute is supposed to
be showing.
thanks,
greg k-h
--
| Feb 6, 11:44 pm 2008 |
| David Miller | Re: partition sysfs OOPS in current GIT
From: Greg KH <gregkh@suse.de>
It's an attribute used by Sun disk labels, usually it's the
third partition.
--
| Feb 6, 11:38 pm 2008 |
| David Miller | Re: partition sysfs OOPS in current GIT
From: Greg KH <gregkh@suse.de>
In the old code it would vector through part_sysfs_ops (look at how it
works before the changeset), which returns 0 if the attribute lacked a
->show method.
--
| Feb 7, 12:24 am 2008 |
| David Miller | Re: partition sysfs OOPS in current GIT
From: Greg KH <gregkh@suse.de>
It's a pretty simple partitioning scheme.
It actually is able to continue booting after udevd gets
killed off by the OOPS.
I'm going to run a bisect again and get some other info
for you...
Here is the tree output with current GIT:
/sys/block/
|-- loop0 -> ../devices/virtual/block/loop0
|-- loop1 -> ../devices/virtual/block/loop1
|-- loop2 -> ../devices/virtual/block/loop2
|-- loop3 -> ../devices/virtual/block/loop3
|-- loop4 -> ...
| Feb 6, 5:29 pm 2008 |
| Greg KH | Re: partition sysfs OOPS in current GIT
The patch did change over time, but not that much, minor bugfixes for
it. I didn't think to update the original date in the quilt file,
sorry. It was in -mm for quite a while, so I thought it got a good
enough testing period.
I'll try to remember to update the timestamp on patches that get
updated, it's a pretty rare thing for my patchflow, shouldn't be hard to
remember.
thanks,
greg k-h
--
| Feb 6, 5:07 pm 2008 |
| David Miller | Re: partition sysfs OOPS in current GIT
From: Greg KH <gregkh@suse.de>
See my other reply, it's supposed to just exist and be
a zero length file. udev looks for it to determine
which partition is the "whole disk" partition
--
| Feb 6, 11:42 pm 2008 |
| Greg KH | Re: partition sysfs OOPS in current GIT
Great, thanks for testing, I'll send it to him tomorrow.
greg k-h
--
| Feb 7, 12:43 am 2008 |
| David Miller | Re: partition sysfs OOPS in current GIT
From: Greg KH <gregkh@suse.de>
It's supposed to just exist, and be an empty zero length file.
That's why it's given no ->show method pointer.
It's existence just means that the partition is a "whole disk"
partition type.
--
| Feb 6, 11:39 pm 2008 |
| Greg KH | Re: partition sysfs OOPS in current GIT
Ah, ok, that's a bit wierd, thanks for explaining it, I'll go make it
work...
thanks,
greg k-h
--
| Feb 6, 11:58 pm 2008 |
| Greg KH | Re: partition sysfs OOPS in current GIT
We are supposed to be careful about this, but bad things are known to
Yes, I'll look into it tonight if I get this -stable push out in time,
Thanks for doing that, I'll let you know when I have a patch to test.
greg k-h
--
| Feb 6, 10:47 pm 2008 |
| David Miller | Re: partition sysfs OOPS in current GIT
From: Greg KH <gregkh@suse.de>
I found the problem, it's the "whole_disk" partition attribute.
Look in fs/partitions/check.c:add_partition() where it tests the
ADDPART_FLAG_WHOLEDISK flag.
I think that code block needs to be updated to match the rest of the
changes in the offending changeset we are discussing.
--
| Feb 6, 11:05 pm 2008 |
| Greg KH | Re: partition sysfs OOPS in current GIT
Ah, great catch. That code just looks wrong.
I'm guessing that you have a partition that is the whole disk? That
would make sense why I and most others haven't seen this yet.
I'll make up a patch...
thanks a lot for still digging into this,
greg k-h
--
| Feb 6, 11:38 pm 2008 |
| David Miller | Re: partition sysfs OOPS in current GIT
From: Greg KH <gregkh@suse.de>
It doesn't crash, but the file returns -EIO instead of zero when read.
--
| Feb 7, 12:11 am 2008 |
| Ingo Molnar | Re: [PATCH] lguest: Accept guest _PAGE_PWT page table entries
thanks - i've queued this up into x86.git. Rusty, is this fine to you,
and should we nurse this fix upstream?
Ingo
--
| Feb 6, 6:00 pm 2008 |
| Ahmed S. Darwish | [PATCH] lguest: Accept guest _PAGE_PWT page table entries
Ofcourse :) :
Accept guest _PAGE_PWT page table entries, otherwise lguest will
always fail with a "bad page table entry" message.
Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
---
diff --git a/drivers/lguest/page_tables.c b/drivers/lguest/page_tables.c
index 74b4cf2..952160b 100644
--- a/drivers/lguest/page_tables.c
+++ b/drivers/lguest/page_tables.c
@@ -178,8 +178,8 @@ static void release_pte(pte_t pte)
static void check_gpte(struct lg_cpu *cpu, pte_t gpte)
{
- if ...
| Feb 6, 5:51 pm 2008 |
| Paul Mundt | Re: [PATCH 1/2] - SH/Dreamcast - fix maple bus bugs
Signed-off-by, please.
Also, please use a more helpful subject. Something like:
'maple: <short description of meaningful change>'. I've had to make
something up arbitrarily for this entire series based off of your
comments.
After some munging, git-am finally took it, so the series is now applied.
--
| Feb 6, 7:35 pm 2008 |
| Andrew Morton | Re: [PATCH] reduce large do_mount stack usage with noinlines
On Thu, 07 Feb 2008 17:08:19 -0600
I think it's fine. People can go look at the definition site, read the
comment and come away happy.
--
| Feb 7, 4:26 pm 2008 |
| Arjan van de Ven | Re: [PATCH] reduce large do_mount stack usage with noinlines
On Thu, 07 Feb 2008 17:08:19 -0600
how about just __stackhog ?
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
| Feb 7, 4:23 pm 2008 |
| Eric Sandeen | Re: [PATCH] reduce large do_mount stack usage with noinlines
Something like:
Index: linux-2.6.24-mm1/include/linux/compiler-gcc.h
===================================================================
--- linux-2.6.24-mm1.orig/include/linux/compiler-gcc.h
+++ linux-2.6.24-mm1/include/linux/compiler-gcc.h
@@ -53,3 +53,9 @@
#define noinline __attribute__((noinline))
#define __attribute_const__ __attribute__((__const__))
#define __maybe_unused __attribute__((unused))
+
+/*
+ * When gcc inlines multiple functions into a parent function,
+ * the ...
| Feb 7, 4:08 pm 2008 |
| Krzysztof Oledzki | Re: Kernel Panic in MPT SAS on 2.6.24 (and 2.6.23.14, 2. ...
Could you please try 2.6.22-stable? It looks *very* similar to my problem:
http://bugzilla.kernel.org/show_bug.cgi?id=9909
Best regards,
Krzysztof Olędzki
--
| Feb 7, 3:14 pm 2008 |
| David Rientjes | Re: [PATCH] ipvs: Make the synchronization interval cont ...
Yeah, you're definitely going to want an upper bound on acceptable values
and not allow anything negative for the aforementioned reason.
David
--
| Feb 6, 11:54 pm 2008 |
| Simon Horman | Re: [PATCH] ipvs: Make the synchronization interval cont ...
Hi Sven,
I have no problems with the spirit of this patch, and the range checking
seems good to me. Though I wonder if 2000 might not be an exessively
low maximum. I can't think of a usage case off-hand, but I'm not sure I
understand why a user shouldn't be able to set it to much (rediculously)
higher values.
In any case, thats not a big deal.
--
Horms
--
| Feb 6, 9:28 pm 2008 |
| Ian Campbell | Re: [PATCHv2 2/3] x86: add a crc32 checksum to the kerne ...
On Wed, 2008-02-06 at 13:06 -0800, H. Peter Anvin wrote:
[...some comments...]
I fixed all of those up.
Thanks,
Ian.
---
x86: add a crc32 checksum to the kernel image.
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
---
Documentation/i386/boot.txt | 8 ++++
arch/x86/boot/tools/build.c | 88 ++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 95 ...
| Feb 7, 1:23 am 2008 |
| J. K. Cliburn | Re: MM kernels 2.6.24-rc*-mm*, 2.6.24-mm1: gnome-termina ...
I began seeing this very thing around 2.6.24 time. (Fedora 8, vanilla
kernel.) I could usually cause the gnome terminal to hang if I rapidly
resized the window while executing make check-headers.
Over a couple of days I bisected it down to this commit:
Commit: 37bb6cb4097e29ffee970065b74499cbf10603a3
Parent: d3d74453c34f8fd87674a8cf5b8a327c68f22e99
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Fri Jan 25 21:08:32 2008 +0100
Committer: Ingo Molnar ...
| Feb 6, 7:10 pm 2008 |
| Peter Zijlstra | Re: MM kernels 2.6.24-rc*-mm*, 2.6.24-mm1: gnome-termina ...
Weird, .24 proper doesn't have that patch. What exact fedora kernel was
Which is even weirder, because the provided trace indicates
schedule_timeout()
Call Trace:
[schedule_timeout+149/208] schedule_timeout+0x95/0xd0
[<ffffffff8057dde5>] schedule_timeout+0x95/0xd0
[tty_poll+145/160] tty_poll+0x91/0xa0
[<ffffffff80430f11>] tty_poll+0x91/0xa0
[do_sys_poll+617/880] do_sys_poll+0x269/0x370
[<ffffffff802bbe69>] ...
| Feb 7, 1:24 pm 2008 |
| Andrew Morton | Re: MM kernels 2.6.24-rc*-mm*, 2.6.24-mm1: gnome-termina ...
Here is a convenient patch against current mainline:
--- a/kernel/hrtimer.c~revert-1
+++ a/kernel/hrtimer.c
@@ -1292,7 +1292,7 @@ void hrtimer_init_sleeper(struct hrtimer
sl->timer.function = hrtimer_wakeup;
sl->task = task;
#ifdef CONFIG_HIGH_RES_TIMERS
- sl->timer.cb_mode = HRTIMER_CB_IRQSAFE_NO_SOFTIRQ;
+ sl->timer.cb_mode = HRTIMER_CB_IRQSAFE_NO_RESTART;
#endif
}
@@ -1303,8 +1303,6 @@ static int __sched do_nanosleep(struct h
do {
...
| Feb 6, 7:23 pm 2008 |
| Peter Zijlstra | Re: MM kernels 2.6.24-rc*-mm*, 2.6.24-mm1: gnome-termina ...
Bugger, I thought I had it nailed with:
---
commit 3588a085cd52ef080bf72df772378e1ba6bb292f
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Fri Feb 1 17:45:13 2008 +0100
hrtimer: fix hrtimer_init_sleeper() users
this patch:
commit 37bb6cb4097e29ffee970065b74499cbf10603a3
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Fri Jan 25 21:08:32 2008 +0100
hrtimer: unlock hrtimer_wakeup
Broke hrtimer_init_sleeper() ...
| Feb 7, 12:49 pm 2008 |
| Ingo Molnar | Re: [PATCH], issue EOI to APIC prior to calling crash_ke ...
nmi_exit() has no hw effects - it's just our own bookeeping.
the hw knows that we finished the NMI when we do an iret. Perhaps that's
the bug or side-effect that made the difference: via enabling irqs we
get an irq entry, and that does an iret and clears the NMI nested state
- allowing the kexec context to proceed? I suspect kexec() will do an
iret eventually (at minimum in the booted up kernel's context) - all
NMIs are blocked up to that point and maybe the APIC doesnt really like ...
| Feb 6, 5:39 pm 2008 |
| Ingo Molnar | Re: [PATCH], issue EOI to APIC prior to calling crash_ke ...
try a dummy iret, something like:
asm volatile ("pushf; push $1f; iret; 1: \n");
to get the CPU out of its 'nested NMI' state. (totally untested)
the idea is to push down an iret frame to the kernel stack that will
just jump to the next instruction and gets it out of the NMI nesting.
Note: interrupts will/must still be disabled, despite the iret. (the
ordering of the pushes might be wrong, we might need more than that for
a valid iret, etc. etc.)
Ingo
--
| Feb 7, 5:24 am 2008 |
| Eric W. Biederman | Re: [PATCH], issue EOI to APIC prior to calling crash_ke ...
Well I think this is slightly on the wrong track. The original patch description
said we get as far as purgatory. Purgatory is the bit of C code form
/sbin/kexec that runs just before our second kernel. It sets up
arguments and verify the target kernel has a valid sha256sum. If
purgatory detects data corruption it spins, to prevent a corrupt
recovery kernel from doing something nasty.
It appears that the primary crash_kexec path is working fine.
The original description speculated ...
| Feb 6, 6:30 pm 2008 |
| Eric W. Biederman | Re: [PATCH], issue EOI to APIC prior to calling crash_ke ...
The design was as follows:
- Doing anything in the crashing kernel is unreliable.
- We do not have the information to do anything useful in the recovery/target
kernel.
- Having the other cpus stopped is very nice as it reduces the amount of
weirdness happening. We do not share the same text or data addresses
so stopping the other cpus is not mandatory. On some other architectures
there are cpu tables that must live at a fixed address but this is not
the case on x86.
- Having ...
| Feb 6, 5:31 pm 2008 |
| Neil Horman | Re: [PATCH], issue EOI to APIC prior to calling crash_ke ...
Will do. I'll report results as soon as I have them,. Thanks!
Neil
--
/****************************************************
* Neil Horman <nhorman@tuxdriver.com>
* Software Engineer, Red Hat
****************************************************/
--
| Feb 7, 1:37 pm 2008 |
| Neil Horman | Re: [PATCH], issue EOI to APIC prior to calling crash_ke ...
Ingo noted a few posts down the nmi_exit doesn't actually write to the APIC EOI
register, so yeah, I agree, its bogus (and I apologize, I should have checked
that more carefully). Nevertheless, this patch consistently allowed a hangning
machine to boot through an Nmi lockup. So I'm forced to wonder whats going on
then that this patch helps with. perhaps its a just a very fragile timing
Definately not the case, I did a clean build from a cvs tree to test this and
-- ...
| Feb 7, 5:17 am 2008 |
| Peter Zijlstra | Re: [Regression] 2.6.24-git9: RT sched mishandles artswr ...
Ah, that is the last patch - which I didn't intent to push out. Let me
remove that - its me fighting the group scheduling latencies reported.
Its not lined up for merging.
--
| Feb 7, 2:20 pm 2008 |
| Rafael J. Wysocki | Re: [Regression] 2.6.24-git9: RT sched mishandles artswr ...
However, these patches break my second testbed (dual -core AMD desktop),
with the attached config.
It crashes on boot with the following trace:
Using local APIC timer interrupts.
Detected 12.500 MHz APIC timer.
lockdep: fixing up alternatives.
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4400.18 BogoMIPS (lpj=8800361)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
AMD Athlon(tm) ...
| Feb 7, 12:53 pm 2008 |
| Michael Tokarev | Re: remount-ro & umount & quota interaction
Jan Kara wrote:
I can't reproduce it here easily as well. Yesterday I had a
locked-up console and had to hard-reboot the machine due to
this (it was far from first time when I've hit this issue),
but "on-demand reproducing" don't work (the uptime on that
host was about 100 days, and I had to do some repartition -
hence remount-ro to copy consistent data to other place -
maybe during that 100 day there was something... ;)
And I wasn't able to reproduce it on 2.6.24 so far, as well
(this one ...
| Feb 7, 8:36 am 2008 |
| Jan Kara | Re: remount-ro & umount & quota interaction
Of course, thanks for report :). The problem is we allow remounting
read only which we should refuse when quota is enabled. I'll fix that in
a minute.
Honza
--
Jan Kara <jack@suse.cz>
SuSE CR Labs
--
| Feb 7, 3:28 am 2008 |
| Michael Tokarev | Re: remount-ro & umount & quota interaction
Jan Kara wrote:
[deadlock after remount-ro followed with umount when
Hmm. While that will prevent the lockup, maybe it's better to
perform an equivalent of quotaoff on mount-ro instead? Or even
do something more useful, like flush the quota stuff like the
rest of the filesystem is flushed to disk, so that on umount,
quota will not stay on the way...
I mean, why it locks in the first place? Quota subsystem trying
to write something into an read-only filesystem? If so, WHY it
is trying to ...
| Feb 7, 3:49 am 2008 |
| Jan Kara | Re: remount-ro & umount & quota interaction
Yes, but XFS doesn't give a damn about what we do in VFS with quotas ;)
So we are speaking here only about quotas implemented in VFS and these need
writing. BTW: When filesystem is remounted read-only, quota information
shouldn't change so it doesn't matter whether you turn it off or leave it
on. The only difference is that when you later remount rw, you have to turn
Oh yes... there are some similarities ;). But quota was first! ;)
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, ...
| Feb 7, 7:32 am 2008 |
| Jan Engelhardt | Re: remount-ro & umount & quota interaction
Objection. XFS handles quotas differently that does not involve
modifying a file on the fs, so quotas could stay on (even if it does
not make much sense) while the fs is ro.
(Hm, storing quota as files reminds me of the ugly xattr hack in
reiserfs3.)
--
| Feb 7, 7:10 am 2008 |
| Jan Kara | Re: remount-ro & umount & quota interaction
We couldn't leave quota on when filesystem is remounted ro because we
need to modify quotafile when quota is being turned off. We could turn off
quotas when remounting read-only. As we turn them off during umount, it
Actually, I couldn't reproduce the hang on my testing machine so I don't
know exactly why it hangs. But my guess is that it's because we try to
write to the filesystem...
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Feb 7, 7:04 am 2008 |
| Duncan Sands | Re: [PATCH][USBATM]: convert heavy init dances to kthread API
I don't see why it helps. The race I mentioned occurs when the kthread creating thread
runs too fast compared to the kthread. Let C (creator) be the thread running
usbatm_heavy_init, and K (kthread) be the created kthread. When C calls wake_up_process,
thread K starts running, however on an SMP system C may also be running. Now suppose
that for some reason K takes a long time to execute the command "allow_signal(SIGTERM);",
but that C runs very fast and immediately executes the disconnect ...
| Feb 7, 2:57 am 2008 |
| Alan Stern | Re: [PATCH][USBATM]: convert heavy init dances to kthread API
That is wrong. The API guarantees only that the kthread is initially
created in a non-running state. It cannot guarantee that no other
task will wake up the kthread before the caller does.
Alan Stern
--
| Feb 7, 9:18 am 2008 |
| Pavel Emelyanov | Re: [PATCH][USBATM]: convert heavy init dances to kthread API
Well, that would be also great, since kill_proc will be gone - that's what
Thanks,
Pavel
--
| Feb 7, 2:23 am 2008 |
| Pavel Emelyanov | Re: [PATCH][USBATM]: convert heavy init dances to kthread API
Oh, I see. You're right - this race is possible... I'll fix that up
--
| Feb 7, 3:08 am 2008 |
| Pavel Emelyanov | Re: [PATCH][USBATM]: convert heavy init dances to kthread API
Other tasks cannot wake this thread up since they do not
--
| Feb 7, 9:37 am 2008 |
| Bryan Wu | Re: blackfin compile error
Maybe Grace can help to setup some cruisecontrol auto test machine
with email notification.
-Bryan
--
| Feb 7, 12:37 pm 2008 |
| Bryan Wu | Re: blackfin compile error
I will be here for Blackfin. Actually, we got some patches in -mm, it
is necessary to built and test -mm on Blackfin.
Thanks
-Bryan
--
| Feb 7, 12:26 am 2008 |
| Robin Getz | Re: blackfin compile error
OK - now that we have that fixed (Mike/Bryan will do this on the mm tree and
at least fix up compile issues as soon as we notice) - how do we want to fix
this specific issue?
Add the missing entries into include/asm-xxxxx/pgtable.h or wrap the callers
in ifdefs?
-Robin
-Robin
--
| Feb 7, 2:32 pm 2008 |
| Mike Frysinger | Re: blackfin compile error
i'm thinking i'll post the linux-2.6.git/blackfin-2.6.git/linux-mm
tree results to the Blackfin kernel list
-mike
--
| Feb 7, 1:31 pm 2008 |
| Mike Frysinger | Re: blackfin compile error
ive setup one of our internal machines to auto build all the Blackfin
defconfigs found in mainline git and the mm tree
just need to find a way to publish/notify people upon failure ...
-mike
--
| Feb 7, 9:03 am 2008 |
| Gregory Haskins | Re: any cpu hotplug changes in 2.6.24-current-git?
Ah, ok. This one is a C2D, correct? The only reason I asked is that=20
someone was reporting an s2ram problem on P4s on some of that=20
root-domain logic I submitted a little while ago (and was merged in=20
=2E25), whereas C2D seemed fine. That doesn't mean anything here,=20
really. The problem could still be my code, or it might be unrelated. =20
I was just wondering if you also had a P4 on the troubled systems.
So is your problem on suspend or resume? (or both?) (I know you=20
mentioned ...
| Feb 6, 5:49 pm 2008 |
| Pavel Machek | Re: any cpu hotplug changes in 2.6.24-current-git?
It dies at suspend, always in same place, but not always.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Feb 7, 2:16 am 2008 |
| Ingo Molnar | Re: [PATCH] Document randomize_va_space and CONFIG_COMPA ...
thinking about it ... i think we should just keep this simple, and when
COMPAT_BRK=y then we disable brk randomization globally. If !COMPAT_BRK
then we do brk randomization globally as well. (and that is probably
what users want the sysctl to do anyway - users wont necessarily know
whether the app breakage they want to solve is due to 32-bit or 64-bit.)
Ingo
--
| Feb 7, 8:01 am 2008 |
| Jiri Kosina | Re: [PATCH] Document randomize_va_space and CONFIG_COMPA ...
.. and I have just noticed that my patch was by mistake missing signoff.
Could you please add
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
That actually makes sense, thanks. I will send you a patch.
Thanks,
--
Jiri Kosina
SUSE Labs
--
| Feb 7, 2:49 am 2008 |
| Geert Uytterhoeven | Re: [PATCH 2/2] ASLR: add possibility for more fine-grai ...
Somehow my belly feeling tells me something is wrong with this description...
Ah, a negative option (Y -> disable). So Y is always safe.
`non-ancient distros' really means `recent distros', and if you have one,
then _N_ should be a safe choice, too?
With kind regards,
Geert Uytterhoeven
Software Architect
Sony Network and Software Technology Center Europe
The Corporate Village
| Feb 7, 3:23 am 2008 |
| Jiri Kosina | Re: [PATCH] Document randomize_va_space and CONFIG_COMPA ...
So what do you think is proper behavior in situation when
CONFIG_COMPAT_BRK=N on 64bit kernel, and 32bit-binary is loaded in 32bit
emulation?
We can either leave the brk as-is, but that is in contradiction to user
explictly specifying CONFIG_COMPAT_BRK=N. Is this what you propose?
Or we can randomize brk start in such situation, but that is the behavior
we currently automatically have due to CONFIG_COMPAT_BRK=N, so no change
is needed.
Thanks,
--
Jiri Kosina
SUSE Labs
--
| Feb 7, 7:30 am 2008 |
| Geert Uytterhoeven | Re: [PATCH 2/2] ASLR: add possibility for more fine-grai ...
Bummer, I guess my good old m68k recovery ramdisk is affected ;-)
With kind regards,
Geert Uytterhoeven
Software Architect
Sony Network and Software Technology Center Europe
The Corporate Village
| Feb 7, 3:43 am 2008 |
| Ismail | Re: [PATCH 2/2] ASLR: add possibility for more fine-grai ...
This indeed looks wrong. The default should be N and the text should say "On
recent distros (post-2000 ones) N is usually a safe choice".
Regards,
ismail
--
Never learn by your mistakes, if you do you may never dare to try again.
--
| Feb 7, 3:31 am 2008 |
| Ingo Molnar | Re: [PATCH 2/2] ASLR: add possibility for more fine-grai ...
yeah, you are right :-) I'll fix this.
btw., "non-ancient distros" does not just mean "recent distros", it
really means "just about any distro you picked up in the past 10 years".
You'd have to go out on a limb to find something historic (or keep
copying /lib/libc5 binaries to new distros like Pavel did) to still have
this particular libc5 assumption/breakage. [ Or at least so i hope =B-)]
Ingo
--
| Feb 7, 3:32 am 2008 |
| Thomas Gleixner | Re: 2.6.24-git15 Keyboard Issue?
Chris,
Can you please apply the following patch, boot w/o nohpet and provide
the dmesg output ?
Thanks,
tglx
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c
index 429d084..4e98241 100644
--- a/arch/x86/kernel/hpet.c
+++ b/arch/x86/kernel/hpet.c
@@ -375,8 +375,10 @@ int __init hpet_enable(void)
{
unsigned long id;
- if (!is_hpet_capable())
+ if (!is_hpet_capable()) {
+ printk(KERN_INFO "HPET not available\n");
return 0;
+ }
hpet_set_mapping();
...
| Feb 7, 10:46 am 2008 |
| Jiri Kosina | Re: 2.6.24-git15 Keyboard Issue?
Thanks. So this clearly indicates that you are hitting either hardware
bug, or some bug in our HPET handling code.
Adding Ingo and Thomas to CC. Short summary -- Chris (and apparently other
people) are sometimes seeing repeated keypressess when HPET timer is used.
This doesn't happen when alternative clocksource is used.
Full thread: http://lkml.org/lkml/2008/2/6/100
--
Jiri Kosina
SUSE Labs
--
| Feb 7, 3:51 am 2008 |
| Thomas Gleixner | Re: 2.6.24-git15 Keyboard Issue?
Now, it would be interesting to know what the detailed difference is,
when the system is booted with and without nohpet.
Chris, can you please provide the dmesg output and the output of
/proc/timer_list for each bootup ?
.config file would be interesting as well.
Thanks,
tglx
--
| Feb 7, 5:29 am 2008 |
| Chris Holvenstot | Re: 2.6.24-git15 Keyboard Issue?
OK - I think that this is wat you are looking for. If there is
anything else I can proivde or if I have mucked up this simple cut and
paste just let me know.
Chris
/proc/timer_list after a "standard" boot up:
Timer List Version: v0.3
HRTIMER_MAX_CLOCK_BASES: 2
now at 145975685977 nsecs
cpu: 0
clock 0:
.index: 0
.resolution: 1 nsecs
.get_time: ktime_get_real
.offset: 1202395158972331114 nsecs
active timers:
clock 1:
.index: 1
.resolution: 1 ...
| Feb 7, 8:07 am 2008 |
| Chris Holvenstot | Re: 2.6.24-git15 Keyboard Issue?
Thomas -
I hope that, from at least my perspective, your question is rhetorical.
I am fully willing to publicly admit that I don't have a clue. About
much of anything. I will even admit that until prompted by Jiri
yesterday I had never even heard of the nohpet directive for the boot
line.
I am willing to do whatever I can to help isolate and or resolve this
issue, but to do so I need one of you experts to firmly grab hold of
some portion of my anatomy and guide me in the right ...
| Feb 7, 9:45 am 2008 |
| Jiri Kosina | Re: 2.6.24-git15 Keyboard Issue?
Great, so this definitely is some kind of timing issue, thanks for
Yes, could be some scheduler update that made the problem more visible. If
you'd had time to use git-bisect to find the exact commit that exposes
your problem, that might be interesting. But as you said that this is not
Yes, that would help. Especially knowing whether running with 'nohpet'
fixes the problem would be nice.
--
Jiri Kosina
SUSE Labs
--
| Feb 7, 2:18 am 2008 |
| Chris Holvenstot | Re: 2.6.24-git15 Keyboard Issue?
Jiri -
I have just started the build on the 2.6.24-git16 product and when it is
done I will come up with just the nohpet parameter - forgoing the
previouosly used taskset command.
Do you want me to do this using the git15 kernel I built yesterday, or
the new git16 kernel?
(I was not sure if you wanted me to introduce the variable of a new
kernel into the process while you are trying to diagnose the failure)
On the topic of doing a git bisect - I am recovering from heart surgery
last ...
| Feb 7, 2:51 am 2008 |
| Thomas Gleixner | Re: 2.6.24-git15 Keyboard Issue?
Both boots use acpi_pm clocksource and there is nowhere a sign of HPET
in the logs except the "nohpet" on the command line.
/me is confused
How does "nohpet" on the command line influence the behaviour, when
there is no hpet available at all.
Thanks,
tglx
--
| Feb 7, 9:13 am 2008 |
| Chris Holvenstot | Re: 2.6.24-git15 Keyboard Issue?
Jiri -
I have been up and running now for about a half hour – since I did not
hear your preference I stayed with git15 instead of jumping up to git16
in an attempt to avoid introducing any unwanted changes.
The only non-standard thing I did was to use the nohpet directive at
boot time - I did NOT enter the previously used taskset command to alter
X's affinity.
I have been banging away on my keyboard for about a half hour now with
no problems. While this is not conclusive on a ...
| Feb 7, 3:44 am 2008 |
| Ingo Molnar | Re: [bisected] Re: [bug] networking broke, ssh: connect ...
ok - feel free to send me any patches to test.
Ingo
--
| Feb 7, 4:44 am 2008 |
| Kamalesh Babulal | Re: 2.6.26-git0: IDE oops during boot
Hi Bart,
The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
similar to the previous one
BUG: unable to handle kernel paging request at ffffffffffffffa0
IP: [<ffffffff80415673>] init_irq+0x188/0x444
PGD 203067 PUD 204067 PMD 0
Oops: 0000 [1] SMP
CPU 3
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.24-git16 #1
RIP: 0010:[<ffffffff80415673>] [<ffffffff80415673>] init_irq+0x188/0x444
RSP: 0000:ffff81022f093e00 EFLAGS: 00010282
RAX: ffffffffffffff80 RBX: ...
| Feb 7, 2:35 am 2008 |
| Bartlomiej Zolnierki ... | Re: 2.6.26-git0: IDE oops during boot
Thanks, I again reviewed ide-probe.c changes but nothing seems wrong...
Please also try disassembling init_irq using gdb so we see where it fails.
--
| Feb 7, 7:01 am 2008 |
| Robert P. J. Day | Re: feature-removal-schedule.txt is getting out of date again
yes, i didn't see any followup on that item. i still have the patch,
unless it's already working its way thru the system.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
Home page: http://crashcourse.ca
Fedora Cookbook: ...
| Feb 7, 10:31 am 2008 |
| Robert P. J. Day | Re: feature-removal-schedule.txt is getting out of date again
ah, i had no idea that things were in the pipeline. that's always
good to know but, still, it's not a bad idea to keep the info in the
features removal file as least *vaguely* up to date. at the very
least, if something seems to be more than a year behind schedule for
removal, then a small addendum to that item in that file by way of
explanation might be in order.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, ...
| Feb 7, 3:35 am 2008 |
| Jeff Chua | Re: where is the capset kernel module?
That's very useful. I'll try it this weekend.
Thanks for your help!
Jeff.
--
| Feb 7, 3:14 am 2008 |
| serge | Re: where is the capset kernel module?
Odd, I thought the help text was originally far more helpful, including
a url. The message isn't telling you you need a kernel module, but that
you are using an old libcap. It isn't a real problem right now if
you're not using the SMACK LSM, but to get rid of the message upgrade
your libcap from
http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/libcap-2.05.tar.gz
thanks,
-serge
--
| Feb 6, 8:23 pm 2008 |
| Dmitry Torokhov | Re: [git pull] Input updates for 2.6.25-rc0
*ping*
Linus,
Do you want me to redo the pull or is it still acceptable as is?
I am hesitant touching the tree after sending a pull request...
Thanks,
Dmitry
--
Dmitry
--
| Feb 7, 1:05 pm 2008 |
| Andrew Morton | Re: [git pull] Input updates for 2.6.25-rc0
On Thu, 7 Feb 2008 15:05:57 -0500
That's probably me being a pain in the ass and actually looking at the pull
requests. Sorry, I really should look at these things as they go into
people's trees, not as they attempt to come out of them. I'll do better.
Although that's not an option with some of the stealth merges we're seeing
lately..
I'd assume that by now you can apply whatever touchups are needed then
resend the pull request.
btw:
drivers/input/touchscreen/ads7846.c: fix ...
| Feb 7, 2:00 pm 2008 |
| FUJITA Tomonori | Re: more iommu sg merging fallout
On Wed, 06 Feb 2008 16:01:47 -0800 (PST)
Great, thanks! SPARC IOMMUs use bitmap for the free area management
like POWER IOMMUs so it could use lib/iommu-helper as POWER does.
--
| Feb 6, 6:38 pm 2008 |
| David Miller | Re: more iommu sg merging fallout
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Ok then what I'll do is adopt some version of powerpc's merging
allocator into the sparc64 code.
--
| Feb 6, 5:01 pm 2008 |
| Clem Taylor | Re: inotify_add_watch() returning ENOSPC in 2.6.24 [watc ...
Thanks, this patch seems to fix the problem.
--Clem
--
| Feb 7, 2:24 pm 2008 |
| Amy Griffis | Re: inotify_add_watch() returning ENOSPC in 2.6.24 [watc ...
I'll take a look at this. Thanks for providing a reproducer.
Amy
--
| Feb 6, 8:04 pm 2008 |
| Andrew Morton | Re: inotify_add_watch() returning ENOSPC in 2.6.24 [watc ...
On Thu, 7 Feb 2008 16:24:15 -0500
Awesome. Thanks, guys.
--
| Feb 7, 2:44 pm 2008 |
| Ulisses Furquim | Re: inotify_add_watch() returning ENOSPC in 2.6.24 [watc ...
Hi,
Yeah, I had the same results, and it fails afterwards because it
Ok, I had a go with it and found the problem. We weren't releasing
one-shot watches because the test for them was wrong. We're using the
event's mask to test for one-shot watches when we should've been using
the watch's mask.
Patch against latest Linus git repo attached.
Regards,
-- Ulisses
| Feb 7, 11:54 am 2008 |
| Ingo Molnar | Re: softlockup: automatically detect hung TASK_UNINTERRU ...
does the patch below improve the situation?
Ingo
---
arch/x86/kernel/reboot.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
Index: linux-x86.q/arch/x86/kernel/reboot.c
===================================================================
--- linux-x86.q.orig/arch/x86/kernel/reboot.c
+++ linux-x86.q/arch/x86/kernel/reboot.c
@@ -396,8 +396,20 @@ void machine_shutdown(void)
if (!cpu_isset(reboot_cpu_id, cpu_online_map))
reboot_cpu_id = ...
| Feb 6, 5:04 pm 2008 |
| Andrew Morton | Re: softlockup: automatically detect hung TASK_UNINTERRU ...
On Thu, 7 Feb 2008 01:51:10 +0100
Seems that it should be a stream of eight
CPU n is now offline
I reworked that on top of ed50d6cbc394cd0966469d3e249353c9dd1d38b9: no
change.
However I watched the vga console this time (nothing is coming over
netconsole at this stage) I saw this:
CPU 1 is now offline
<10 second pause>
CPU 1 is down
CPU 2 is now offline
CPU 2 is down
CPU 3 is now offline
CPU 3 is down
CPU 4 is now offline
<10 second pause>
followed by a quick spew of the ...
| Feb 6, 6:12 pm 2008 |
| Andrew Morton | Re: softlockup: automatically detect hung TASK_UNINTERRU ...
On Wed, 6 Feb 2008 16:31:11 -0800
OK, I did this (tested on a ed50d6cbc394cd0966469d3e249353c9dd1d38b9-tipped
tree) and again, the patch made no difference: the machine still pauses
20-odd seconds before (correctly) powering off.
--
| Feb 6, 5:47 pm 2008 |
| Ingo Molnar | Re: softlockup: automatically detect hung TASK_UNINTERRU ...
the way i do it in bisection is to do:
mkdir patches
git-log -1 -p ed50d6cbc394cd0966469d3 > patches/fix.patch
echo fix.patch > patches/series
and then before testing a bisection point, i do a 'quilt push'. Before
telling git-bisect about the quality of that bisection point (good/bad)
i pop it off via 'quilt pop'.
this way the 'required fix' can be kept during the bisection, to find
what should be the proper message?
my suspects, besides there being something wrong in the ...
| Feb 6, 5:51 pm 2008 |
| Andrew Morton | Re: softlockup: automatically detect hung TASK_UNINTERRU ...
On Thu, 7 Feb 2008 01:04:25 +0100
Nope.
But I tested it on mainline, and mainline exhibits the never-powers-off
symptom, whereas ed50d6cbc394cd0966469d3e249353c9dd1d38b9 demonstrates the
powers-off-after-20-seconds symptom.
So we _may_ be dealing with two bugs here, and your patch might have fixed
the first, but that success is obscured by the second. I guess I need to
prepare a tree which has ed50d6cbc394cd0966469d3e249353c9dd1d38b9 at its
tip. (Wonders how to do that).
btw, ...
| Feb 6, 5:31 pm 2008 |
| Jan Kiszka | Re: [PATCH 1/3] KGDB: Major refactoring
And quite a bit of "hacking" would be required here, because the sysrq
hook is built upon the assumption that a hardware break starts the
sequence, not that just a single special character comes in. Changing
Jan
| Feb 7, 12:47 am 2008 |
| Ingo Molnar | Re: [PATCH 1/3] KGDB: Major refactoring
any link to the proxy splitter? Googling for "kgdb proxy splitter" did
not yield anything obviously on-topic.
Ingo
--
| Feb 7, 5:13 am 2008 |
| Jason Wessel | Re: [PATCH 1/3] KGDB: Major refactoring
FYI, even if you were to hack in a control-c vs sysrq, gdb will still
hang on connect because it does not issue a break of any kind when it
connects. It assumes the connection is in a usable state.
The proxy spliter automatically sends the break (or in the current case
Jason.
--
| Feb 6, 5:31 pm 2008 |
| Ingo Molnar | Re: [PATCH 1/3] KGDB: Major refactoring
great stuff! I've picked these cleanups up into x86.git. (will pick up
Jason's commits too)
Could you try something else too perhaps, which would be way useful for
me: to add a sysctl flag (or something like that) to change kgdboc to
accept a Ctrl-C and break into kgdb mode? [this means a simple Ctrl-C on
a kgdboc line would break into KGDB as well - but that would be an
acceptable price.] Right now kgdboc just hangs when gdb attaches - i
have to generate a SysRq sequence via a ...
| Feb 6, 5:13 pm 2008 |
| Tino Keitel | Re: [RFT 1/1] single_chip test
I tried the patch, and the card was detected. I was able to associate
with an WPA2 AP and send/receive some traffic. But after a while the
interface broke:
ath0: No ProbeResp from current AP 00:14:bf:16:25:87 - assume out of
range
ath5k_hw_get_isr: 0x00000020
...
ath0: failed to set channel 165 (5825 MHz) for scan
ath0: failed to restore operational channel after scan
printk: 19 messages suppressed.
ath5k phy0: calibration timeout (2447MHz)
printk: 1 messages suppressed.
ath5k phy0: ...
| Feb 7, 2:25 pm 2008 |
| Jiri Slaby | Re: [RFT 1/1] single_chip test
What's the srev a phy ver printed few lines above this, please?
--
| Feb 7, 2:51 pm 2008 |
| Pavel Machek | iwl3945: not only it periodically dies, it also BUG()s, ...
I'm connected over that iwl, so filing web form is not exactly
easy. Another day, another problem, today it oopsed:
I guess I should not have tried to fix iwl3945 by rmmoding, oh
well. Kernel is reasonably recent 2.6.25-rc0.
Pavel
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23ks
iwl3945: Copyright(c) 2003-2007 Intel Corporation
PCI: Setting latency timer of device 0000:03:00.0 to 64
iwl3945: Detected Intel PRO/Wireless 3945ABG Network ...
| Feb 7, 3:04 pm 2008 |
| Miklos Szeredi | Re: [patch 07/10] unprivileged mounts: add sysctl tunabl ...
The problem is exactly that it's filesystem specific, each filesystem
creates it's own stuff there.
Also we have a rule tp not create new things under /proc. Things
should either go into /sys or into /proc/sys. And I think a sysctl is
more appropriate for this than something under /sys.
Thanks,
Miklos
--
| Feb 7, 9:24 am 2008 |
| Miklos Szeredi | Re: [patch 07/10] unprivileged mounts: add sysctl tunabl ...
I guess so. I'm not very familiar with the different capabilities :)
How about this patch then: a hybrid solution between just relying on
permission bits, and specifying separate capability sets for read and
write in addition to the permission bits.
Untested, the 'cap' field obviously still needs to be filled in where
appropriate.
Miklos
----
Index: linux/include/linux/sysctl.h
===================================================================
--- ...
| Feb 7, 7:36 am 2008 |
| Serge E. Hallyn | Re: [patch 07/10] unprivileged mounts: add sysctl tunabl ...
I like how simple it appears to be :)
At first I missed the fact that owning uid is always 0 so I thought the
uid processing wasn't quite enough. But since it's always 0, the only
question is whether there are any /proc/sys files whose users currently
depend on being setgid 0 and setgid non-0 with no capabilities.
On my laptop, 'find /proc/sys -type f -perm -020' gives me no results,
so that is promising.
So this certainly seems like a good first step. In fact, combined with
/proc/sys/ ...
| Feb 7, 9:57 am 2008 |
| Aneesh Kumar K.V | Re: [patch 07/10] unprivileged mounts: add sysctl tunabl ...
There is /proc/fs/<type>/ already. Since it is file system specific
shouldn't it go there ?
-aneesh
--
| Feb 7, 8:33 am 2008 |
| Serge E. Hallyn | Re: [patch 07/10] unprivileged mounts: add sysctl tunabl ...
But I would assume some things under /proc/sys/net/ipv4 or
--
| Feb 7, 7:05 am 2008 |
| Miklos Szeredi | Re: [patch 07/10] unprivileged mounts: add sysctl tunabl ...
Yes, or something even simpler, like mapping the owner permission bits
to CAP_SYS_ADMIN. There seem to be very few different permissions
under /proc/sys:
--w-------
-r--r--r--
-rw-------
-rw-r--r--
As long as the group and other bits are always the same, and we accept
that the owner bits really mean CAP_SYS_ADMIN and not something else,
then the permission check would not need to look at uids or gids at
all.
Miklos
--
| Feb 7, 1:09 am 2008 |
| Ingo Molnar | Re: 2.6.24 says "serial8250: too much work for irq4" a lot.
actually, the way i solved it for qemu+KVM+paravirt was to just turn off
this rather silly check in the serial driver if inside a paravirt guest.
When we are emulated then the serial 'hardware' is totally reliable and
we should just trust it. That way i never dropped a single bit of kernel
log output again.
Ingo
--
| Feb 7, 5:39 am 2008 |
| H. Peter Anvin | Re: 2.6.24 says "serial8250: too much work for irq4" a lot.
Patch attached, completely untested beyond compilation.
In particular:
- we should probably clear the burst counter when the interrupt
line goes from inactive to active.
- there probably should be a timer which clears the burst
counter.
However, I think I've covered most of the bases...
-hpa
| Feb 7, 2:19 pm 2008 |
| H. Peter Anvin | Re: 2.6.24 says "serial8250: too much work for irq4" a lot.
The right thing to do is to add virtual FIFO exhaustion into the Qemu
device model. It really isn't a valid emulation of a UART that it has
an infinite FIFO behind it that can flood the interrupt handler for an
arbitrary number of fetches.
I was going to give a technical description of how to do it here, but
then I realized I might as well just write it up as a patch. Stay tuned.
-hpa
--
| Feb 7, 1:53 pm 2008 |
| H. Peter Anvin | Re: 2.6.24 says "serial8250: too much work for irq4" a lot.
Yes, but keying that on paravirt is silly in the extreme. After all,
there is no need for this to be paravirtualized.
-hpa
--
| Feb 7, 10:37 am 2008 |
| Rob Landley | Re: 2.6.24 says "serial8250: too much work for irq4" a lot.
Specifically, qemu isn't paravirtualized, it's fully virtualized. The same
kernel can run on real hardware just fine. (Sort of the point of the
project...)
I can yank the warning for the kernels I build (or set PASS_LIMIT to 9999999),
but I'd rather not carry any more patches than I can avoid...
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
--
| Feb 7, 1:13 pm 2008 |
| Richard Purdie | Re: [PATCH] leds: Add support for power LED on WRAP systems
There is already a patch queued up to do something like this in the LED
tree, can you check that does everything you need please?
http://git.o-hand.com/?p=linux-rpurdie-leds;a=shortlog;h=for-mm
Thanks,
Richard
--
| Feb 7, 2:25 am 2008 |
| Sven Wegener | Re: [PATCH] leds: Add support for power LED on WRAP systems
It's ok, exactly the same my patch implements.
Sven
--
| Feb 7, 2:55 am 2008 |
| H. Peter Anvin | Re: [rft] s2ram wakeup moves to .c, could fix few machines
Yuck!
Please don't perpetuate the braindamage that this is two instructions.
It's one instruction with a modifier; the fact that gas wants a
separator is broken enough as it is.
-hpa
--
| Feb 7, 3:44 pm 2008 |
| Rafael J. Wysocki | Re: [rft] s2ram wakeup moves to .c, could fix few machines
Hm, it seems we can convert it at least partially to C.
Rafael
--
| Feb 7, 4:09 pm 2008 |
| H. Peter Anvin | Re: [rft] s2ram wakeup moves to .c, could fix few machines
A random magic is probably more likely to be unique than something like
that.
-hpa
--
| Feb 7, 3:45 pm 2008 |
| H. Peter Anvin | Re: [rft] s2ram wakeup moves to .c, could fix few machines
Okay, this uses the iodelay as the timesource... here is the total
silliness (and totally untested, of course.)
-hpa
| Feb 7, 4:14 pm 2008 |
| Rafael J. Wysocki | Re: [rft] s2ram wakeup moves to .c, could fix few machines
[Well, the newline is a separator too.] I'll keep it in one line if you want
that.
Rafael
--
| Feb 7, 3:53 pm 2008 |
| Rafael J. Wysocki | Re: [rft] s2ram wakeup moves to .c, could fix few machines
Hm, the struct in wakeup.h doesn't contain it too. Why exactly is it
necessary?
In fact, I'd prefer to remove .signature from the header and use the
end_signature only, so that I can use struct wakeup_header for addressing
Do you mean placing the header at the end will fill the area between it and the
Well, I think we can do that.
Rafael
--
| Feb 7, 4:06 pm 2008 |
| Rafael J. Wysocki | Re: [rft] s2ram wakeup moves to .c, could fix few machines
What does the number 0x3f00 follow from?
Rafael
--
| Feb 7, 4:36 pm 2008 |
| Sam Ravnborg | Re: [rft] s2ram wakeup moves to .c, could fix few machines
Can we please use C style in this file.
Like this:
{
.header : {
*(.header)
}
It is not as short as the above but it pays of to keep
an consistent style in the whole file and across
different .lds files.
And for good measure name it wakeup.lds.
Do we never need data from a .h file?
If we do name it wakeup.lds.S and kbuild
will fix it (assuming we have wakeup.lds
PAGE_SIZE * 4?
Sam
--
| Feb 7, 3:28 pm 2008 |
| Rafael J. Wysocki | Re: [rft] s2ram wakeup moves to .c, could fix few machines
Appended (plus I removed two hunks, one in arch/x86/Makefile and one in
Can we move it into a separate function?
Rafael
---
arch/x86/boot/video-vesa.c | 12
arch/x86/kernel/acpi/Makefile | 2
arch/x86/kernel/acpi/realmode/Makefile | 2
arch/x86/kernel/acpi/realmode/wakeup.S | 34 +-
arch/x86/kernel/acpi/wakeup.S | 1
arch/x86/kernel/acpi/wakeup_32.S | 34 +-
arch/x86/kernel/acpi/wakeup_64.S | 21 -
...
| Feb 7, 3:40 pm 2008 |
| H. Peter Anvin | Re: [rft] s2ram wakeup moves to .c, could fix few machines
Why not just put the structure at 0, and put pointers in the structure
to everything else you need?
-hpa
--
| Feb 7, 4:42 pm 2008 |
| Pavel Machek | Re: [rft] s2ram wakeup moves to .c, could fix few machines
No interrupts. BIOS calls work on some machines, but I'd like this to
work when bios does not.
Actually, matthieu's code is probably better to start from:
+/* one ISA cycle @8Mhz */
+#define PAUSE outb %al, $0x80
+#define WAIT_100MS \
+ movl $800000, %eax; \
+ 2: \
+ PAUSE; \
+ dec %eax; \
+ jne 2b
+
+/* What's the PIT rate */
+#define COUNT 0xf89
#define BEEP \
- inb $97, %al; \
- outb %al, $0x80; \
- movb $3, ...
| Feb 7, 3:51 pm 2008 |
| Rafael J. Wysocki | Re: [rft] s2ram wakeup moves to .c, could fix few machines
No interrupts.
We're in the real mode, so BIOS calls should be accessible.
Rafael
--
| Feb 7, 3:57 pm 2008 |
| H. Peter Anvin | Re: [rft] s2ram wakeup moves to .c, could fix few machines
Err, I guess it's only necessary if _jmp2 is declared u32. I generally
prefer to keep fields naturally aligned even though x86 doesn't require
I *thought* that's what I had originally. I'm a bit confused, or it
Yes. It could, of course, also be cleared by a simple memset() in the
setup code in the kernel, as opposed by the initial assembly code.
That's probably the preferred option.
-hpa
--
| Feb 7, 4:13 pm 2008 |
| Pavel Machek | Re: [rft] s2ram wakeup moves to .c, could fix few machines
struct wakeup_header.
I really need the entry point to be at offset 0, so that I can get
pointers to my data. I could not figure out how to do it any other
way. And if 0 is taken, I thought I'd put header at the end.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Feb 7, 4:35 pm 2008 |
| H. Peter Anvin | Re: [rft] s2ram wakeup moves to .c, could fix few machines
What is available at this point -- are BIOS calls still accessible; are
interrupts running?
-hpa
--
| Feb 7, 3:46 pm 2008 |
| Pavel Machek | Re: [rft] s2ram wakeup moves to .c, could fix few machines
wakeup.ld:
SECTIONS
{
. = 0x3f00;
.header : { *(.header) }
Ok, if we can use defines, this is probably great candidate for one of
them.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Feb 7, 4:41 pm 2008 |
| Pavel Machek | Re: [rft] s2ram wakeup moves to .c, could fix few machines
This is already "unlikely enough", I'd say. It does not look like a
pointer, and it is long enough.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Feb 7, 3:49 pm 2008 |
| Pavel Machek | Re: [rft] s2ram wakeup moves to .c, could fix few machines
Can you post a delta against my versoin? I do not see any changes from
a quick glance.
This is probably more acceptable version of beep; but there are
probably even better ways to clean it...
if (wakeup_header.realmode_flags & 4) {
inb(97);
outb(0, 0x80);
outb(3, 97);
outb(0, 0x80);
outb(-74, 67);
outb(0, 0x80);
outb(-119, 66);
outb(0, 0x80);
...
| Feb 7, 3:28 pm 2008 |
| H. Peter Anvin | Re: [rft] s2ram wakeup moves to .c, could fix few machines
... especially not with magic constants like this.
If you're putting the "header" at the end, then you should also replace
the end_signature stuff since that's, then, redundant. Furthermore, by
doing so, you're also padding the binary out to its maximum length, so
you might as well just remove the .bss-clearing stuff.
Yes, why not save EFER every time?
-hpa
--
| Feb 7, 3:38 pm 2008 |
| H. Peter Anvin | Re: [rft] s2ram wakeup moves to .c, could fix few machines
It's good practice to have at least paragraph (segment boundary)
alignment between different types of data. In the case of the .bss, it
also allows cleaning with rep;movsl.
It's technically not all that necessary (except for 4-byte alignment for
Not really, because it's not at all related to the kernel page size; the
reference to pages there is informal. If we go to a larger virtual page
size we do NOT want this to change.
-hpa
--
| Feb 7, 3:34 pm 2008 |
| Rafael J. Wysocki | Re: [rft] s2ram wakeup moves to .c, could fix few machines
Below is a version with some easy cleanups, rebased on top of the patches that
move the 64-bit hibernation code to arch/x86/power .
Thanks,
Rafael
---
arch/x86/boot/Makefile | 2
arch/x86/boot/boot.h | 5
arch/x86/boot/video-bios.c | 6
arch/x86/boot/video-mode.c | 173 ++++++++++++++++
arch/x86/boot/video-vesa.c | 8
arch/x86/boot/video-vga.c | 12 -
...
| Feb 7, 3:12 pm 2008 |
| Uwe | Re: [PATCH/HP7XX] - Add combined LCD / BL driver for pla ...
May I ask how you spot tab vs. 8 space problems? Do you apply the patch
and check in an editor?
Best regards
Uwe
--
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962
--
| Feb 7, 12:19 am 2008 |
| Richard Purdie | Re: [PATCH/HP6XX] - Add leds support to the HP Jornada 6 ...
I've added this to the LED tree with a couple of tweaks to the Kconfig
entry.
Cheers,
Richard
--
| Feb 7, 3:15 am 2008 |
| Richard Purdie | Re: [PATH] misc,acpi,backlight: Compal Laptop Extras (2nd try)
If you use the backlight class do we really need to duplicate the
lcd_level file under sysfs too?
Richard
--
| Feb 7, 2:29 am 2008 |
| Andrew Morton | Re: [PATCH] power_supply: Remove capacity_level from lis ...
On Thu, 7 Feb 2008 03:02:06 +0300
ah, OK, thanks. git timestamps considered harmful.
--
| Feb 6, 5:36 pm 2008 |
| Anton Vorontsov | Re: [PATCH] power_supply: Remove capacity_level from lis ...
Nope, I don't think 2.6.24.x needs this fix. Commit 8efe444038a205e79b,
wasn't been in 2.6.24. Only 2.6.25-rc0 affected.
If applied to 2.6.24.x, it will break things.
Thanks,
--
Anton Vorontsov
email: cbou@mail.ru
backup email: ya-cbou@yandex.ru
irc://irc.freenode.net/bd2
--
| Feb 6, 5:02 pm 2008 |
| Arjan van de Ven | Re: [PATCH][RFC] x86: oprofile 32bit stack traces on 64b ...
On Tue, 05 Feb 2008 10:20:52 -0600
looks sane; it'll be better than what is there now at least
and it's safe enough
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
--
| Feb 7, 9:57 am 2008 |
| Holger Schurig | Re: OOPS in sysctl.c
Agreed :-)
One more finding: after turning off CONFIG_SLUB and usng
CONFIG_SLAB instead, I cannot reproduce the bug.
Also, a quite bit Qt-Embedded 3.x programm survives without any
trouble the suspend/resume. So I think that I don't have a
general memory corruption problem. This is however just a
feeling, not an evidence.
--
| Feb 7, 4:02 am 2008 |
| Eric W. Biederman | Re: OOPS in sysctl.c
Just to keep this on track. It sounds like his suspend/resume backport was
incomplete and something there is smashing the list sysctl_head_next follows.
This would both cause files to disappear, and an oops.
Possibly it isn't an incomplete backport but instead a memory smash that hits
different places in different kernels.
Eric
--
| Feb 6, 5:51 pm 2008 |
| Holger Schurig | Re: OOPS in sysctl.c
Just a note: I don't use vanilla v2.6.24, but v2.6.24 plus a
bunch of patches on top of it. I minimized them and for v2.6.24,
this is the minimal number of patches needed to get the device
up & running and also supending & resuming:
$ quilt series
+ rt3000-core.patch
+ rt3000-defconfig.patch
+ rt3000-smc91x-mac.patch
+ mn-keyb.patch
+ mn-smc91x.patch
+ mn-suspend-ignore-console.patch
= ARM-pxa-fix-PXA27x-resume.patch
rt3000-core: this is the RT3000/RT4000 machine specific code, ...
| Feb 7, 3:46 am 2008 |
| Holger Schurig | Re: OOPS in sysctl.c
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.24
# Thu Feb 7 11:43:09 2008
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_GENERIC_GPIO=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_MMU=y
# CONFIG_NO_IOPORT is not set
CONFIG_GENERIC_HARDIRQS=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
# ...
| Feb 7, 3:46 am 2008 |
| Roland McGrath | Re: [PATCH] x86_64: make traps on 'iret' be debuggable i ...
I did not test CONFIG_PARAVIRT at all. I just fixed what its introduction
had done to break generic x86-64.
Thanks,
Roland
--
| Feb 7, 1:30 pm 2008 |
| Chuck Ebbert | Re: [PATCH] x86_64: make traps on 'iret' be debuggable i ...
It looks you may have broken paravirt (if even that case worked) because
the iret is actually at the iret_label you removed (after the instruction
is patched.) And most likely neither version worked with "noreplace-paravirt',
because then the iret instruction is out-of-line and the INTERRUPT_RETURN
jumps to it.
--
| Feb 7, 4:28 pm 2008 |
| Chuck Ebbert | Re: [PATCH] x86_64: make traps on 'iret' be debuggable i ...
Did you test without CONFIG_PARAVIRT, and CONFIG_PARAVIRT booted both with and
without the "noreplace-paravirt" parameter?
--
| Feb 7, 1:13 pm 2008 |
| Greg KH | Re: [PATCH] ACPI: create /sys/firmware/acpi/interrupts/ (v2)
Looks good to me, nice job. And thanks for the documentation file.
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
--
| Feb 6, 5:16 pm 2008 |
| Siddha, Suresh B | Re: issue with patch "x86: no CPA on iounmap"
There is another issue I see in the recent pageattr changes, again in the GART
driver context.
GART drivers use map_page_into_agp() and unmap_page_from_agp() during
runtime (and not just during load and unload of the driver module). In the
recent pageattr changes, we seem to have dropped the concept of reverting
to the large page(for the kernel identity mapping) while changing the attribute
back to WB. In this GART driver context, over the time, potentially
kernel identity mappings might be ...
| Feb 7, 1:02 pm 2008 |
| Len Brown | Re: [linux-pm] Re: Small pm documentation cleanups
applied
(with nigel's last comment included)
thanks,
-len
--
| Feb 6, 11:28 pm 2008 |
| Ross Vandegrift | Re: [PATCH] Add IPv6 support to TCP SYN cookies
My initial test is end-to-end 1000Mbps, but I've got a few different
I'm running juno-z with 2, 4, & 8 threads of syn flood to port 80.
wireshark measures 2 threads at 350pps, 4 threads at 750pps, and 8
threads at 1200pps. Under no SYN flood, the server handles 750 HTTP
requests per second, measured via httping in flood mode.
With a default tcp_max_syn_backlog of 1024, I can trivially prevent
any inbound client connections with 2 threads of syn flood.
Enabling tcp_syncookies brings the ...
| Feb 7, 12:44 pm 2008 |
| Evgeniy Polyakov | Re: [PATCH] Add IPv6 support to TCP SYN cookies
Well, maybe for connection establishment path it is not, but it is
absolutely the case in the sending and sometimes receiving pathes for 4k
stacks. The main problem is that bugs which happen because of stack
overflow are so much obscure, that it is virtually impossible to detect
where overflow happend. 'Debug stack overflow' somehow does not help to
detect it.
Usually there is about 1-1.5 kb of free stack for each process, so this
change will cut one third of the free stack, getting into ...
| Feb 7, 12:24 am 2008 |
| Eric Dumazet | Re: [PATCH] Add IPv6 support to TCP SYN cookies
Or maybe use percpu storage for that...
I am not sure if cookie_hash() is always called with preemption disabled.=
(If not, we have to use get_cpu_var()/put_cpu_var())
[NET] IPV4: lower stack usage in cookie_hash() function
400 bytes allocated on stack might be a litle bit too much. Using a=20
per_cpu var is more friendly.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
| Feb 7, 2:40 am 2008 |
| Len Brown | Re: [PATCH][drivers/misc/thinkpad_acpi.c] duplicate test ...
Applied.
thanks,
-Len
--
| Feb 6, 11:17 pm 2008 |
| Greg KH | Re: [stable] [PATCH][drivers/misc/thinkpad_acpi.c] dupli ...
I don't see this patch in Linus's tree, I see the patch you are
patching, but not this one :)
Can you tell me the git id of the patch you wish to go into the stable
tree, and send the whole thing to us?
thanks,
greg k-h
--
| Feb 6, 10:55 pm 2008 |
| Henrique de Moraes H ... | Re: [PATCH][drivers/misc/thinkpad_acpi.c] duplicate test ...
Roel, better to just let me and Len Brown handle it. I will add your patch
to my thinkpad-acpi queue and send it to Len soon, along with other simple
patches that are pending. Either I or Len will notify stable@k.o when it
hits mainline.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
| Feb 6, 6:18 pm 2008 |
| Greg KH | Re: [stable] [PATCH][drivers/misc/thinkpad_acpi.c] dupli ...
Sounds good, I've dropped it from my queue, so please resend it when it
hits Linus's tree to stable@kernel.org if you want it there.
thanks,
greg k-h
--
| Feb 7, 12:28 am 2008 |
| Pierre Ossman | Re: [PATCH] at91_mci: use generic GPIO calls
On Mon, 04 Feb 2008 18:12:48 +0100
Applied thanks.
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
--
| Feb 7, 10:10 am 2008 |
| Alexey Dobriyan | Re: tg3 broken after "PCI: Fix bus resource assignment o ...
tg3 is fine now, thanks everyone. :)
--
| Feb 7, 3:07 am 2008 |
| Chuck Ebbert | Re: section breakage on ppc64 (aka __devinitconst is bro ...
This ugly hackset was needed to get 2.6.24 to build with GCC 4.3. It would
be nice to get a real fix...
--- a/include/linux/moduleparam.h
+++ b/include/linux/moduleparam.h
@@ -62,6 +62,15 @@ struct kparam_array
void *elem;
};
+/* On some platforms relocations to global data cannot go into read-only
+ sections, so 'const' makes no sense and even causes compile failures
+ with some compilers. */
+#if defined(CONFIG_ALPHA) || defined(CONFIG_IA64) || defined(CONFIG_PPC64)
+#define ...
| Feb 7, 11:33 am 2008 |
| Sam Ravnborg | Re: section breakage on ppc64 (aka __devinitconst is bro ...
I cannot see any other way out of this than to loose all the newly added
consts. We have to different behavior across platforms to find a suitable
solution that is reliable.
[Kept rest of mail as I added Jan - hope he have some ideas to throw in].
--
| Feb 7, 11:54 am 2008 |
| Masami Hiramatsu | Re: [PATCH 2/2] kprobe: remove preempt_enable/disable fr ...
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com
--
| Feb 7, 12:12 pm 2008 |
| Masami Hiramatsu | Re: [PATCH 1/2] kprobes: Introduce kprobe_handle_fault()
Tested on i386/x86-64.
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com
--
| Feb 7, 12:12 pm 2008 |
| Andrew Morton | Re: [BUG] 2.6.24 refuses to boot - NMI watchdog problem?
On Thu, 7 Feb 2008 19:58:10 +0000 (GMT)
I'm in a twisty maze of kernel versions, all different. Looks like we're
calling setup_nmi() under local_irq_disable() somewhere but I got lost
chasing it down. We can wait for the code to stabilise a bit I guess -
And I assume this happened because you just aren't getting any clock ticks.
akpm.poke(x86 guys);
--
| Feb 7, 1:26 pm 2008 |
| Chris Rankin | Re: [BUG] 2.6.24 refuses to boot - NMI watchdog problem?
Here you go,
Cheers,
Chris
Linux version 2.6.24 (chris@twopit.underworld) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1
SMP PREEMPT Thu Feb 7 00:01:40 GMT 2008
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001ffeb000 (usable)
BIOS-e820: 000000001ffeb000 - 000000001ffef000 (ACPI data)
...
| Feb 7, 12:58 pm 2008 |
| Chris Rankin | Re: [BUG] 2.6.24 refuses to boot - NMI watchdog problem?
The 2.6.23.x kernel uses the TSC:
...
ACPI: Core revision 20070126
CPU0: Intel Pentium III (Coppermine) stepping 06
Total of 1 processors activated (2011.69 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
APIC timer registered as dummy, due to nmi_watchdog=1!
Brought up 1 CPUs
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0e30, last bus=3
PCI: Using configuration type 1
Setting up standard PCI ...
| Feb 7, 3:22 pm 2008 |
| Chuck Ebbert | Re: Oops in megaraid_mbox_dpc(), kernel 2.6.23.9-85.fc8.i686
He has hit the BUG() here in megaraid_mbox_dpc():
// Make sure f/w has completed a valid command
if (scb->state != SCB_ISSUED) {
con_log(CL_ANN, (KERN_CRIT
"megaraid critical err: invalid command %d:%d:%p\n",
scb->sno, scb->state, scp));
BUG();
continue; // Must never happen!
}
--
| Feb 7, 3:03 pm 2008 |
| Jan Kara | Re: kernel support for newer UDF versions (> 2.01)
Not very likely for 2.6.25 (I still don't have a patch with Sebastians's
Sign-off without which I cannot merge it and 2.6.25 merge window is closing
soon...). But hopefully it'll make it into 2.6.26.
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Feb 7, 2:45 am 2008 |
| Len Brown | Re: [PATCH] [drivers/misc/asus-laptop.c] add parentheses
applied.
thanks,
-Len
--
| Feb 6, 10:42 pm 2008 |
| KOSAKI Motohiro | Re: [2.6.24 regression][BUGFIX] numactl --interleave=all ...
Hi Lee-san
Unfortunately, 2.6.24-mm1 can't boot on fujitsu machine.
(hmm, origin.patch cause regression to pci initialization ;-)
instead, I tested 2.6.24 + your patch.
it seem work good :)
Tested-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
was_empty argument is a bit ugly.
Could we unify mpol_check_policy and contextualize_policy?
Could we N_POSSIBLE check?
I attached the patch for my idea explain.
on my test environment, your patch and mine works good both.
- ...
| Feb 7, 1:31 am 2008 |
| Sergei Shtylyov | Re: [PATCH 3/5] ide: remove ide_setup_ports()
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
MBR, Sergei
--
| Feb 7, 9:11 am 2008 |
| Sergei Shtylyov | Re: [PATCH 2/5] ide: remove redundant BUG_ON() from [ata ...
Replacing printk() with BUG_ON() and also removing BUG_ON() from
MBR, Sergei
--
| Feb 7, 5:55 am 2008 |
| Rafael J. Wysocki | Re: [GIT PATCH] suspend patches for 2.6.25-rc0
I haven't revert the changes. It's only moved the notifier chain calls from
the ioctls to open/release in user.c .
Thanks,
Rafael
--
| Feb 7, 4:14 pm 2008 |
| Jan Harkes | Re: [GIT PATCH] suspend patches for 2.6.25-rc0
The following patch,
commit c3e94d899c864e558f938f9845ddb8c2e5d5ccd0
Author: Alan Stern <stern@rowland.harvard.edu>
Date: Mon Nov 19 23:38:25 2007 +0100
Hibernation: Add PM_RESTORE_PREPARE and PM_POST_RESTORE notifiers (rev. 2)
Seems to have reverted some code related to the PM_HIBERNATION_PREPARE
notifiers in kernel/power/user.c that were added in 2.6.23 by the
following patch,
commit b10d911749d37dccfa5873d2088aea3f074b9e45
Author: Rafael J. Wysocki ...
| Feb 7, 3:27 pm 2008 |
| Jiri Kosina | Re: [PATCH][v5] ipwireless: driver for 3G PC Card
Linus -- as there are no other pending objections to the code so far, and
I think we agreed that this has nothing to do neither with wireless tree,
nor with networking drivers in general (it is basically a PCMCIA serial
driver, and thus there is no relevant maintainer alive), would you please
consider merging it for 2.6.25?
David, thanks a lot for taking care of another respin.
Thanks,
--
Jiri Kosina
--
| Feb 7, 4:27 pm 2008 |
| David Sterba | Re: [PATCH][v5] ipwireless: driver for 3G PC Card
Hi,
updated to v5.
Changes:
- minor cleanups
- removed modparam for static tty major assignment
Please apply.
David Sterba
---
From: David Sterba <dsterba@suse.cz>
ipwireless: driver for PC Card, 3G internet connection
The device is manufactured by IPWireless.
Rewieved-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Ben Martel <benm@symmetric.co.nz>
Signed-off-by: Stephen Blackheath <stephen@symmetric.co.nz>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Jiri ...
| Feb 7, 2:57 am 2008 |
| Marc Zyngier | Re: [PATCH] [resend] 3c509: convert to isa_driver and pn ...
>>>>> "Ondrej" == Ondrej Zary <linux@rainbow-software.org> writes:
Ondrej> Tested using 3 ISA cards in various combinations of PnP and non-PnP modes.
Ondrej> #ifdef CONFIG_EISA
Ondrej> ret = eisa_driver_register(&el3_eisa_driver);
Ondrej> + if (!ret)
Ondrej> + eisa_registeted = 1;
Ondrej> #endif
^^^^^^^^^^^^^^^
You probably should at least test-compile this driver with CONFIG_EISA
enabled...
Regards,
M.
--
And if you don't know where you're going, ...
| Feb 7, 4:51 am 2008 |
| Ondrej Zary | [PATCH] 3c509: convert to isa_driver and pnp_driver v4
Hello,
this patch converts 3c509 driver to isa_driver and pnp_driver. The result is
that autoloading using udev and hibernation works with ISA PnP cards. It also
adds hibernation support for non-PnP ISA cards.
xcvr module parameter was removed as its value was not used.
Tested using 3 ISA cards in various combinations of PnP and non-PnP modes.
EISA and MCA only compile-tested.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
--- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 ...
| Feb 7, 10:31 am 2008 |
| Frank Seidel | Re: [PATCH v2] mmc: extend ricoh_mmc to support Ricoh RL5c476
Hi,
I also don't like that voodoo, but as long as we don't have more information
or let alone specs.. well, i really wish i could provide more than
the already IMHO obvious sequence.. voodoo-adress and value to make config
Also thought about that, but as far as i can see this cannot happen since
we only probe for those two devices and deny to continue if anything else
/those two were not found in the beginning.
Thanks,
Frank
--
| Feb 7, 1:20 am 2008 |
| Pierre Ossman | Re: [PATCH v2] mmc: extend ricoh_mmc to support Ricoh RL5c476
On Mon, 4 Feb 2008 19:25:42 +0100
I see you've guys have kept yourself busy in my absence. :)
As for the patch, it looks ok although I'm not really a fan of more voodoo =
constants that noone knows what they mean. Could you add some comments expl=
Wouldn't it be prudent to have a check that this is indeed a R5C832, and a =
failure mode if it's none of the two known devices?
Rgds
Pierre
| Feb 7, 1:08 am 2008 |
| Pierre Ossman | Re: [PATCH v2] mmc: extend ricoh_mmc to support Ricoh RL5c476
On Thu, 7 Feb 2008 09:20:38 +0100
Can never be too careful though. :)
I've applied the patch for now. Feel free to keep digging and finding some =
docs for those regs though.
Rgds
Pierre
| Feb 7, 10:19 am 2008 |
| Guennadi Liakhovetski | Re: [PATCH] Define a NO_GPIO macro to compare against an ...
David, I think, your ack is required on this one. Can we get it in,
please? My soc-camera patches are accepted by the v4l maintainer, and
without this one the series would be incomplete.
Thanks
---
Guennadi Liakhovetski
--
| Feb 7, 8:24 am 2008 |
| Hugh Dickins | Re: [PATCH] sys_remap_file_pages: fix ->vm_file accounting
The fact that you now have to shadow operations on vm_file by
operations on your exe_file, easy to get out of step; and that
we'll tend not to notice when it goes wrong, because the common
case will have them both in the root mount (that will hide busy
errors, won't it? or am I mistaken?).
Though I should concede that your latest patch looks like it catches
all the places it needs to, and that they don't really stretch beyond
mm/mmap.c. If you provided functions to do the ...
| Feb 7, 9:40 am 2008 |
| Matt Helsley | Re: [PATCH] sys_remap_file_pages: fix ->vm_file accounting
I thought that getting rid of the separate versions of proc_exe_link()
improved maintainability. Do you have any specific details on what you
Yup -- looking at how the VM_EXECUTABLE flag affects the vma walk it's
clear one of my arguments was wrong. So I can't blame you for being
unconvinced by that. :)
I still think it would help any stacking filesystems that can't use the
I'm not completely certain that I understand your point. Are you
suggesting that some hypothetical code would ...
| Feb 6, 5:16 pm 2008 |
| Daniel Phillips | Re: [git pull] x86 arch updates for v2.6.25
Hi Linus,
If you listen carefully you can hear dozens of Linux kernel developers
collectively holding their breath and thinking "Maybe Linus will
finally merge kgdb". Yes, user bug reports are important. Developer
efficiency is important too.
Regards,
Daniel
--
| Feb 7, 12:20 pm 2008 |
| Daniel Phillips | Re: [git pull] x86 arch updates for v2.6.25
I do pretty much all my debugging with printk, not just because it is a
pain to go find a working kgdb patch, but also because tools like uml
make printk style debugging really fast. That said, I often find my
development time sinking away into tedious activity like putting in a
printk after each line of code, just to find out where some bad thing
started going bad. At that point a source level debugger would save me
a bunch of time and I would not have to remove the printks afterwards. ...
| Feb 7, 1:00 pm 2008 |
| Pierre Ossman | Re: SDIO driver not receiving responses
Don't hijack threads, it completely messes up everyone's mail box and makes your mail very difficult to find.
On Thu, 31 Jan 2008 17:35:51 +1100
That would be the hardware. We don't do any software timeout handling.
I can only see one of two options here. Either there is some miscalculation of the timeout, or you have a hardware bug. And to determine that we need to check what is actually going over the wire. As you've checked the data contents, that isn't the problem. So the only remaining ...
| Feb 7, 12:51 pm 2008 |
| Haavard Skinnemoen | Re: [RFC v2 0/5] dmaengine: Slave DMA interface and exam ...
On Wed, 6 Feb 2008 11:46:43 -0700
Hmm...ok. But at some point, the client must know that the buffer is
completely filled with valid data so that it can call some kind of
I'd prefer that all clients know what they are doing ;-)
Haavard
--
| Feb 7, 10:52 am 2008 |
| Haavard Skinnemoen | Re: [RFC v2 2/5] dmaengine: Add slave DMA interface
On Wed, 6 Feb 2008 14:08:35 -0700
What would you be comparing them against? Perhaps you could pass a
struct device * from the platform code, which can be compared against
"dev" in struct dma_device? Or you could check dma_device->dev->name
perhaps.
In any case, I agree we probably don't need the engine_type field.
Haavard
--
| Feb 7, 10:56 am 2008 |
| Pierre Ossman | Re: [PATCH 05/18] MMC: OMAP: Introduce new multislot str ...
On Mon, 28 Jan 2008 15:07:23 -0400
You have a bit of a race here with userspace in case you use the uevent to trigger things.
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
--
| Feb 7, 10:37 am 2008 |
| Pierre Ossman | Re: [PATCH 01/18] MMC: OMAP: Include missing from previo ...
On Mon, 28 Jan 2008 15:07:06 -0400
NAK. This header should not be needed in host drivers. It's a clear sign you're doing something bad.
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
--
| Feb 7, 10:21 am 2008 |
| Ingo Molnar | Re: [PATCH 1/4] x86 mmiotrace: use lookup_address()
i've changed it to that.
Ingo
--
| Feb 7, 5:52 am 2008 |
| Christoph Hellwig | Re: [PATCH 4/4] x86 mmiotrace: move files into arch/x86/mm/
Yes, please. And any chance we you could resend the current version of
the patch to lkml? I've lost a little track of how it looks currently.
--
| Feb 7, 5:56 am 2008 |
| Ingo Molnar | Re: [PATCH 4/4] x86 mmiotrace: move files into arch/x86/mm/
Pekka,
i've picked up your latest cleanups, but a fundamental worry still
remains: all the ugly 'custom pagefault handlers' stuff. Lets just have
one clean direct callback to mmiotrace, ok?
Ingo
--
| Feb 7, 5:53 am 2008 |
| Dmitry Torokhov | Re: [PATCH 1/6] Core driver for WM97xx touchscreens
Hi Mark,
The probe error handling is not quite correct. When we reach the fragment
above ret variable is 0 so if platfrom_device_alloc() fails we will return
0 and the device will be considered bound but in half-dead state. Please
make sure that proper error is returned in all cases. Also please do not
mix out of line and in-line error unwinding (input_free_device() should
be called in the error path and if you are concerned about double-free
after input_unregister_device() just set ...
| Feb 7, 3:07 pm 2008 |
| Joerg Roedel | Re: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested ...
I renamed HAP to TDP. This stands for Two-Dimensional Paging and is the
term which descibes best what happens in my opinion.
Joerg
--
| AMD Saxony Limited Liability Company & Co. KG
Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
System | Register Court Dresden: HRA 4896
Research | General Partner authorized to represent:
Center | AMD Saxony LLC (Wilmington, Delaware, US)
| General ...
| Feb 7, 5:09 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
Of course. Naturally it's near impossible to prevent people from
tweaking the software. But reasonable restrictions are what regulatory
Yes it can. You're confusing the software with different or modified
software. Different things. And by the way, if you modify the software
to defeat the restrictions you are committing a criminal act, or you
would be if you did it in Australia. You'd probably get with
What's your point? That it's easy to break the law? Nobody's ...
| Feb 7, 8:13 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
These words carry little weight as they are hearsay. You say that
somebody told you something, but you don't who and you don't say
precisely what, and on that basis you claim a conclusion. What you
surely mean is that it's your opinion that I'm wrong, based on your
interpretation of recommendations by lawyers. And since when did a
lawyer ever give their opinion unequivocally? In my experience they
always mince their words, providing no bankable guarantee.
--
| Feb 7, 6:39 am 2008 |
| Pekka Enberg | Re: [PATCH] USB: mark USB drivers as being GPL only
Hi David,
Ok. I am not interested in continuing this discussion so please remove
from the cc. Thanks.
Pekka
--
| Feb 7, 6:47 am 2008 |
| Marcel Holtmann | Re: [PATCH] USB: mark USB drivers as being GPL only
so how do you build this module that is not linked without using the
Linux kernel. Hence derivative work. Hence dynamic linking at runtime of
binary only code is violating the GPL.
Same goes for dynamic linking at runtime against GPL libraries. Nobody
thinks that is possible and ships binary applications that link against
GPL libaries. So why do you think you can distribute a binary only
kernel module.
Regards
Marcel
--
| Feb 7, 12:05 pm 2008 |
| Alan Cox | Re: [PATCH] USB: mark USB drivers as being GPL only
I'm afraid you are wrong despite your desperate attempts to reinterpret
your own comments. The civil law is "balance of probability". Those are
the precise words used. As it is a dispute between two civil parties with
no assumed right or wrong it is a matter of which interpretation is most
likely "proof" doesn't come into it whatever version of proof you want to
pick this email.
"burden of proof" is a specific term with a specific meaning in law.
--
| Feb 7, 8:01 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
No, it's called, "paraphrasing," and it's quite normal in a
conversation. You say something, I tell you what I think you said, you
refine your language, and the process continues until we're happy that a
semantic consensus has been reached. In that spirit, should I now
understand that what you meant is that *you* *think* that kernel modules
must be released under GPL. Should I accept that you didn't mean that
numerous lawyers had told you that this was factually so?
Of course, this begs ...
| Feb 7, 9:31 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
It would not be improper to say that "such and such a lawyer said this
and that." I'm not proposing that you breach their copyright in their
opinions, but there is such a thing as fair use, and I expect you to use
Various reasons. I don't know that you're a liar and I'm too much the
gentleman to accuse you of that without being quite sure of my facts.
As it happens I assume you're not lying, but I do suspect you of having
misrepresented what was said to you. I don't say you've done this ...
| Feb 7, 9:03 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
This *is* real work. You have blinded yourself to the fact that this
discussion is preliminary to a proposed change.
Or put another way, if you want to kill the discussion then the answer
to "shall we" is "no."
--
| Feb 7, 6:31 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
[Empty message]
| Feb 7, 6:45 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
Software cost is fixed, whereas hardware is per-unit, so saving 10c in
production at an expense of $1,000,000 in development can be an easy win.
--
| Feb 7, 8:16 am 2008 |
| Diego Zuccato | Re: [PATCH] USB: mark USB drivers as being GPL only
And break the HW :-) Actually, they could be happier, since then you
have to buy another...
[...]
Urgh... I don't think NDAs and Open Source mix well... Are you sure your
bosses KNOW Linux and the OS in general? :-)
BYtE,
Diego.
--
| Feb 7, 1:07 am 2008 |
| Alan Cox | Re: [PATCH] USB: mark USB drivers as being GPL only
It would be highly improper given these were business discussions
involving companies using Linux.
--
| Feb 7, 11:22 am 2008 |
| Alan Cox | Re: [PATCH] USB: mark USB drivers as being GPL only
We were talking about the USA. I am not aware of any Australian answers
to the specific question of software as an appropriate safeguard. The US
requires appropriate safeguards but no court has actually established an
Diddums, thats what the license says. Requiring ac cinema pays the movie
company puts a cinema at a disadvantage in the market from those who
don't pay. That is why we have laws to try and ensure that crime is not
profitable.
Alan
--
| Feb 7, 7:10 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
I'm glad to entertain. It's a pity you refuse to be educated. Closed
That is one of the terms used. Another, which I pointed out to your
apparent glee, is "aggregation." Both terms are relevant only because
Whatever the precedent is, and I'll take your word on it even though
it's more hearsay, it's explicitly covered by that part of the licence
Now, that's more like it. It sounds somewhat believable, unlike your
previous statements which seemed to say, "you've spoken to ...
| Feb 7, 8:02 am 2008 |
| Marcel Holtmann | Re: [PATCH] USB: mark USB drivers as being GPL only
talk to Greg KH about this. Have NDAs and open source work together is
really simple. Have the NDA say that you can use all provided
documentation to write an open source driver and publish it under GPL. A
lot of companies are okay with this these days. The Linux Foundation
should have NDA template texts for this.
Regards
Marcel
--
| Feb 7, 12:27 pm 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
Nobody is saying "I don't like your licence." The issue is a technical
restriction in Linux that attempts to restrict non-GPL software from
running under it. It's a bullish approach, technically incompetent,
legally meaningless and politically damaging.
--
| Feb 7, 6:19 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
We most certainly were not. We are talking about Linux, and everybody
Probably the same in Australia, for the same reason as in USA. Probably
That's what you claim it says, but has any court, anywhere, agreed with
you? You claim the authority of others (i.e. numerous lawyers), but I
don't believe you have that authority. You're just starting hearsay.
You've never said what lawyers and you've never told us what they
actually said.
I see that you have a clear political agenda, and I ...
| Feb 7, 7:48 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
That's why it's allowed. The module isn't linked when it's distributed,
and the author doesn't do or cause the linking; the user does. And the
user never distributes in the linked state. Distribution is key to GPL.
--
| Feb 7, 6:41 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
Your last sentence, above: That is what EXPORT_SYMBOL_GPL attempts to
do. The place to state such a requirement is in the licence, not in the
source code. That is what I am talking about. I can't provide you with
software under a licence that says, "you are free to use this software
in any way you want," and later say, "oh, but in the source code is
I don't, but EXPORT_SYMBOL_GPL doesn't do that. It makes an ambit
claim, that might coerce an author into making a driver GPL, but might
also ...
| Feb 7, 9:50 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
I am giving my opinion. By contrast, you have claimed to be giving the
opinion of numerous lawyers. I hate to be so blunt, but that is the
No argument, other than with, "export symbol is a guide." My argument
with that is that one could mistakenly infer that "export symbol"
includes "EXPORT_SYMBOL_GPL." The latter is not a guide, is it? It
restricts a symbol from use by proprietary modules.
--
| Feb 7, 8:39 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
I've had this argument before. The conclusion is that spiteful people
insist on using the legal meaning for words which have explicitly been
said using plain English. If you are spiteful, then by all means rant
about legal terms, but do so knowing that everybody understand what I mean.
Even in civil matters, it is necessary for the appellant to present a
case and the respondent may simply pick holes in it.
Further, don't forget that copyright violation is a criminal matter in
some ...
| Feb 7, 9:19 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
Is it? Or are you falsely implying that it is? I hope it is; that will
help add fact to an otherwise opinion-ridden topic.
--
| Feb 7, 6:15 am 2008 |
| Alan Cox | Re: [PATCH] USB: mark USB drivers as being GPL only
> Perhaps you might read up on unfair trade practices and contract law.
I'm familiar with them to some extent because I have run companies in the
past and continue to do so as a sideline to my Red Hat work. I also spend
First mistake: The GPL is not a contract it is a license.
If the GPL was a contract it could most certainly impose conditions upon
original works. Contract law permits to write things like "If you buy the
source for this package you agree not to write a competing product ...
| Feb 7, 7:06 am 2008 |
| Lee Mathers | Re: [PATCH] USB: mark USB drivers as being GPL only
Then the hardware vendor needs to review there practices. If you want
to limit the ability of your technology do not include it. I realize
that this has become large revenue stream for many company's. What
they do not realize is that they have created a Wack-a-Mole situation.
Just look at the Digital Satellite TV industry.
Companies used to Produce one logic board and selectively remove certain
resistors or ic's to limit the end users ability. The end user could
still solder ...
| Feb 7, 12:34 pm 2008 |
| Diego Zuccato | Re: [PATCH] USB: mark USB drivers as being GPL only
If the device is well engineered, there's nothing the sw can do to make
it work outside regulatory limits.
Sometimes there's simply NOTHING the SW can do to *avoid* it. Think
about a CB radio. International standard is 5W (well, somewhere it's 3,
IIRC, but that's another story: nobody produces a special model with a
final amplifier for only 3W, everyone produces the 5W and turns down
power in some other way). But linear amplifiers are commonly sold. And
(at least in Italy) it's not illegal ...
| Feb 7, 1:31 am 2008 |
| Hans-Jürgen | Re: [PATCH] USB: mark USB drivers as being GPL only
Am Fri, 08 Feb 2008 01:01:24 +1030
What are you talking about? That's what every GPL-licensed library
does. By putting a library under the GPL, the copyright-holder clearly
states that he considers all programs that link against that library a
derived work. And that he therefor requires these programs to be GPL,
too, no matter if these programs already exist or not.
The LGPL exists to allow the linked program to be non-GPL, remember?
But the kernel is GPL, and not LGPL. And all these ...
| Feb 7, 9:13 am 2008 |
| Pekka Enberg | Re: [PATCH] USB: mark USB drivers as being GPL only
Hi Christer,
On Tue, 5 Feb 2008 13:46:08 +0200
I have simply stated that (1) the problem boils down to what is
derived work and what is no and (2) the developers use the
EXPORT_SYMBOL_GPL as a hint of what they think to be derived work (not
necessarily tested in court). The _logical conclusion_ of these two
simple facts is, of course, to _not use_ functions marked as
EXPORT_SYMBOL_GPL unless you're willing to test your belief in court.
Now I see you really want to argue about this but ...
| Feb 6, 11:22 pm 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
Not sure who wrote the above, but it contains a glaring legal error:
Developers choose an invalid forum to impose licence conditions when
they choose to do so via EXPORT_SYMBOL_GPL. The licence that prevails
is GPL, and nowhere does it say that protected works may only be used by
Of course courts are the proper forum to decide "fact" from opinion, but
a statement of claim, which is a necessary preliminary to such an
action, must state from what the alleged offending work is derived. The
fact ...
| Feb 7, 5:41 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
That's naive, since requirements differ in different jurisdictions, as
In Australia it's illegal to own them (CB licensee; HAMs are allowed to
That's part of it's purpose. It permits a manufacturer to make a global
device that operates within local restrictions.
--
| Feb 7, 6:35 am 2008 |
| Alan Cox | Re: [PATCH] USB: mark USB drivers as being GPL only
That depends on the market. Also the software cost is dominant not the
hardware cost so saving 10c on licensing by not using Windows kind of
wipes out any questions.
Alan
--
| Feb 7, 7:26 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
A lot of software is written specifically to run on Linux, but that
doesn't mean it's derived from Linux. In the case of user-space code
it's widely understood that no licence restrictions are conferred. The
argument relating to kernel modules is that a module is somehow
different because it runs in kernel mode. I can't see it, and in view
No. Holders of Linux copyrights would have to prove that the
proprietary code is derived from the kernel. They have the burden of
proof, and defence ...
| Feb 7, 6:06 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
Copyright-holders' opinions mean nothing. In the particular case of
EXPORT_SYMBOL_GPL, copyright-holders' opinions are clearly flawed
because they make a statement about code that they do not even know of.
It's equivalent to someone saying, "you are wrong," before you've even
How ludicrous. That's as much a nonsense as EXPORT_SYMBOL_GPL. You
have no idea what my political goals are.
Less there be further confusion: I am not an advocate for binary
drivers. That role is reserved for ...
| Feb 7, 7:31 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
This nicely expresses my position.
--
| Feb 7, 6:16 am 2008 |
| Adrian Bunk | Re: [PATCH] USB: mark USB drivers as being GPL only
Developing GPL'ed Linux drivers with an NDA on the documentation has
been done in hundreds of cases.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
| Feb 7, 8:05 am 2008 |
| Alan Cox | Re: [PATCH] USB: mark USB drivers as being GPL only
That would be improper as you'd well know if you knew the first thing
Why don't you just say "you are a liar" as I assume that is what you want
Linux is GPL licencesed code you either follow the licence or don't use
I don't actually care. If you want to do binary products then pick a
The market will ultimately decide which models of software development
are the right ones for which situation.
Alan
--
| Feb 7, 7:58 am 2008 |
| Alan Cox | Re: [PATCH] USB: mark USB drivers as being GPL only
> previous statements which seemed to say, "you've spoken to numerous
Please don't use "seemed to say" and then quote words I've never said.
That's misleading, rude and also awful language style. I've not said
anything is definite because as I said before there is no caselaw.
We know the GPL is enforcable (Germany and US)
We have good reason to believe works can be derivative across all sorts
of boundaries (non computing caselaw, cases that never went to court - eg
objective C)
Nobody has ...
| Feb 7, 8:07 am 2008 |
| Marcel Holtmann | Re: [PATCH] USB: mark USB drivers as being GPL only
I actually care about Linux certainly more than you do. I care about the
copyright of my kernel contributions and the contributions of others.
Not caring about these things is what is the worst. It means you
disrespect all the work that a lot of people and companies have put into
Linux.
And don't quote we with "I don't care". Alan already complained about
your quoting style. Don't put words in my mouth that I never said.
The Linux kernel is licensed under GPL. If you don't like, go and ...
| Feb 7, 12:35 pm 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
The problem with that is this: To be derivative, a work has to be
derived from another work. That's what "derivative" means. Is it by
prescience that those marking symbols as EXPORT_SYMBOL_GPL know that
only things derived from something else are capable of using them?
Derived from what? The use of a separate module does not make something
derivative. It makes it a client. Any binding between the two modules
occurs only at runtime, and is purely ephemeral.
I make this charge: Some, ...
| Feb 7, 6:37 am 2008 |
| Alan Cox | Re: [PATCH] USB: mark USB drivers as being GPL only
Actually that is also questionable. The only reason it is fairly certain
in Linux is Linus went to the trouble of stating that interpretation was
Wrong again. In civil law in the USA and most of europe the test is
"balance of probability".
Alan
--
| Feb 7, 7:12 am 2008 |
| Diego Zuccato | Re: [PATCH] USB: mark USB drivers as being GPL only
Naive? Who thinks a limit can be enforced by sw is naive!
It can't *enforce* it anyway, at least if the users are all around the
world. At most it can *suggest*. Then it's up to the user to make sure
Then Australian shops can ask for the licence. And what about online
shops? Ebay? They'll send you an unmarked package (same as letting you
download another country's driver). The result is that you can have your
LA more easyly than going to a local shop or tampering with your CB (or
Nope. The ...
| Feb 7, 7:25 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
In Australia, devices require approval from a regulatory body. Such
Yes it is; but what is simple, is to understand that lack of such
safeguards, even though they are imperfect, does result in refusal to
Also, particularly Australia and New Zealand. I can't imagine France or
That is what I was saying: To require that only GPL-licenced USB drivers
may be used with Linux puts Linux at a disadvantage in the market. The
embedded market is simply huge. Microsoft would _love_ Linux to ...
| Feb 7, 6:00 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
Perhaps you might read up on unfair trade practices and contract law.
The contract (GPL) doesn't prevent me from using GPL work, in fact it
encourages me. Neither can it impose conditions upon original work
authored by a third party.
You do realise, I suppose, that it's easily feasible to write a Linux
kernel module on a non-Linux platform, and in fact without even using
any GPL software in its production. How could such a work possibly be
derivative? How could it be affected by ...
| Feb 7, 5:50 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
If you know of something relevant, give pointers.
--
| Feb 7, 5:52 am 2008 |
| Alan Cox | Re: [PATCH] USB: mark USB drivers as being GPL only
Wrong again. You really are quite amusing. The test is "derivative works"
not linking. Linking is a meaningless (in law) computing term with no
place. Legal precedent for combining of works is drawn from things like
shipping a book and a commentary on the book together, putting music to
films, putting photos in a book. These are not "linking"
And I know what the lawyers I've talked to have said about the case of
shipping proprietary modules with the OS. Its a pretty definite "bad ...
| Feb 7, 7:15 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
Mea culpa. It is indeed a licence, which I did and do know. I really
did mean, "The licence (GPL)"
--
| Feb 7, 7:32 am 2008 |
| Greg KH | Re: [PATCH] USB: mark USB drivers as being GPL only
Yes, I wrote that, and if you look at that chapter, it states it is
based on the GPL licensed documentation that comes from the kernel
Where did I ever declare these interfaces as "free to use in violation
of the GPL" anywhere? If you look at the examples that I wrote for that
book, they are all licensed under the GPLv2 only.
Same goes for the Windows Driver book. You can use the Windows driver
development kit and API, as long as you follow their license. And that
license explicitly ...
| Feb 7, 4:17 pm 2008 |
| Hans-Jürgen | Re: [PATCH] USB: mark USB drivers as being GPL only
Am Thu, 07 Feb 2008 23:49:42 +1030
What are you trying to say? You like the license but you're against
It is not legally meaningless if copyright holders publicly state how
they interpret the license and what they consider a license violation.
In the end, a court must decide, but lots of courts will at least look
That's your opinion because it's damaging _your_ political goals.
Hans
--
| Feb 7, 7:06 am 2008 |
| Hans-Jürgen | Re: [PATCH] USB: mark USB drivers as being GPL only
Am Fri, 08 Feb 2008 03:20:26 +1030
The license says that derivative work has to be GPL. Naturally, every
sensible and practically usable license has gray areas. We know that
and we live with that. But if there's room for interpretation, it's
perfectly OK and helpful, if the copyright holder states what his
interpretation is. If you use an EXPORT_SYMBOL_GPL symbol in non-GPL
code, you know that the owner of the work doesn't agree with you
license-wise. You had to cheat, e.g. by setting your ...
| Feb 7, 10:49 am 2008 |
| David Schwartz | RE: [PATCH] USB: mark USB drivers as being GPL only
If that were true, you couldn't legally install more than one program on a computer without permission from all the copyright holders without specific license permission.
A "work based on the Program" is the same as a derivative work. A laptop with an assortment of different programs on it is not a work, it is a collection of works.
DS
--
| Feb 6, 6:36 pm 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
No, I'm right. The word "proof" is appropriate in context. (I write in
plain English, not Legalese.) I certainly didn't intend "proof" to mean
"mathematically certain." Anybody who pretends that proof in court
means that must be ignorant or trying to deceive.
--
| Feb 7, 7:55 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
Again, I missed who wrote the above. I'm reminded of Apple computer,
who explaining some engineering decisions in the Apple ][ pointed out
that an additional 10c in components adds $10 to the retail price (or
something rather like that.) Cheap, cheap, cheap helps market share
far more than quality.
--
| Feb 7, 6:47 am 2008 |
| Dave Higton | RE: [PATCH] USB: mark USB drivers as being GPL only
There's an interesting parallel in the SCO vs Novell case.
Dave
*************************************************************************************************************************************************************************************************************************************************
NICE CTI Systems UK Limited ("NICE") is registered in England under company number, 3403044. The registered office of NICE is at Tollbar Way, Hedge End, Southampton, Hampshire SO30 ...
| Feb 7, 9:22 am 2008 |
| Hannu Savolainen | Re: [PATCH] USB: mark USB drivers as being GPL only
What is the "propability" that drivers using the interfaces now declared
as "EXPORT_SYMBOL_GPL" are derived from the Linux kernel source code
instead of some definitive documentation?
As you all (should) know there is a book called "Linux Device Drivers,
3rd Edition" published by O'Reilly (ISBN 0-596-00590-3)". All the USB
kernel interfaces are documented there. One of the authors is Greg
Kroah-Hartman which makes this book "definite" source of information on
Linux USB driver programming. ...
| Feb 7, 3:51 pm 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
Then you should keep away from the kernel. The last thing that Linux
needs is someone who doesn't care if Linux succeeds or fails. "I don't
care" will lead to failure.
--
| Feb 7, 6:21 am 2008 |
| Alan Cox | Re: [PATCH] USB: mark USB drivers as being GPL only
In which case for each statement please give the case at appeal or higher
Export symbol is a guide. There is no reason to think that EXPORT_SYMBOL
symbols alone mean your work is somehow not derivative.
--
| Feb 7, 7:28 am 2008 |
| David Newall | Re: [PATCH] USB: mark USB drivers as being GPL only
Don't ignore, "mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of a
storage or distribution medium does not bring the other work under the
scope of this License." Static linking certainly makes something part
of the whole; dynamic linking doesn't.
--
| Feb 7, 6:26 am 2008 |
| Andreas Dilger | Re: [RFC] ext3: per-process soft-syncing data=ordered mode
Al, can you try a patch posted to linux-fsdevel and linux-ext4 from
Hisashi Hifumi <hifumi.hisashi@oss.ntt.co.jp> to see if this improves
your situation? Dated Mon, 04 Feb 2008 19:15:25 +0900.
[PATCH] ext3,4:fdatasync should skip metadata writeout when overwriting
It may be that we already have a solution in that patch for database
workloads where the pages are already allocated by avoiding the need
for ordered mode journal flushing in that case.
Cheers, Andreas
--
Andreas ...
| Feb 6, 5:00 pm 2008 |
| David Howells | Re: [PATCH 24/27] NFS: Use local caching [try #2]
There aren't any NFS_MNT flags, so I presume you mean NFS_MOUNT flags. As I
understood Trond, it's not permitted to add new such flags except in really
special circumstances as these are part of the mount syscall interface. I
took this to mean that I should record the option elsewhere than in
server->flags.
David
--
| Feb 7, 3:57 am 2008 |
| Nicholas A. Bellinger | Re: [Scst-devel] Integration of SCST in the mainstream L ...
I think the other data point here would be that final target design
needs to be as generic as possible. Generic in the sense that the
engine eventually needs to be able to accept NDB and other ethernet
based target mode storage configurations to an abstracted device object
(struct scsi_device, struct block_device, or struct file) just as it
would for an IP Storage based request.
We know that NDB and *oE will have their own naming and discovery, and
the first set of IO tasks to be completed ...
| Feb 7, 8:38 am 2008 |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel
[Empty message]
| Feb 7, 6:45 am 2008 |
| david | Re: Integration of SCST in the mainstream Linux kernel
why should linux as an iSCSI target be limited to passthrough to a SCSI
device.
the most common use of this sort of thing that I would see is to load up a
bunch of 1TB SATA drives in a commodity PC, run software RAID, and then
export the resulting volume to other servers via iSCSI. not a 'real' SCSI
device in sight.
As far as how good a standard iSCSI is, at this point I don't think it
really matters. There are too many devices and manufacturers out there
that implement iSCSI as ...
| Feb 7, 3:51 pm 2008 |
| Luben Tuikov | Re: [Scst-devel] Integration of SCST in the mainstream L ...
Is there an open iSCSI Target implementation which does NOT
issue commands to sub-target devices via the SCSI mid-layer, but
bypasses it completely?
Luben
--
| Feb 7, 1:37 pm 2008 |
| Bart Van Assche | Re: [Scst-devel] Integration of SCST in the mainstream L ...
Since the focus of this thread shifted somewhat in the last few
messages, I'll try to summarize what has been discussed so far:
- There was a number of participants who joined this discussion
spontaneously. This suggests that there is considerable interest in
networked storage and iSCSI.
- It has been motivated why iSCSI makes sense as a storage protocol
(compared to ATA over Ethernet and Fibre Channel over Ethernet).
- The direct I/O performance results for block transfer sizes below 64
KB are ...
| Feb 7, 6:13 am 2008 |
| Thomas Gleixner | Re: [stable] The SMP alternatives code breaks exception fixup?
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9d55b9923a...
I did a simpler version by just replacing LOCK_PREFIX with lock. The
reason is, that we would need a separate implementation for
__futex_atomic_op1() as well, due to:
case FUTEX_OP_ADD:
__futex_atomic_op1(LOCK_PREFIX "xaddl %0, %2", ret, oldval,
And it's not really worth the trouble.
Backport to 2.6.24 and 2.6.23 attached.
Thanks,
tglx
| Feb 7, 5:16 am 2008 |
| Greg KH | Re: [stable] The SMP alternatives code breaks exception fixup?
unfortunatly it doesn't even compile:
distcc[30740] ERROR: compile (null) on localhost failed
In file included from include/asm/futex.h:2,
from kernel/futex.c:59:
include/asm/futex_32.h:72:29: error: macro "__futex_atomic_op1" passed 6 arguments, but takes just 5
In file included from include/asm/futex.h:2,
from kernel/futex.c:59:
include/asm/futex_32.h: In function 'futex_atomic_op_inuser':
include/asm/futex_32.h:71: error: '__futex_atomic_op1' undeclared ...
| Feb 6, 11:55 pm 2008 |
| Greg KH | Re: [stable] The SMP alternatives code breaks exception fixup?
Thanks for the fix, I'm guessing that this should only go into
.24-stable and nothing prior?
thanks,
greg k-h
--
| Feb 6, 5:00 pm 2008 |
| Timur Tabi | Re: [PATCH v2] Add DMA engine driver for Freescale MPC85 ...
Zhang and Dan,
What's the status on this patch? Will it make 2.6.25?
--
Timur Tabi
Linux kernel developer at Freescale
--
| Feb 7, 10:16 am 2008 |
| KOSAKI Motohiro | Re: [patch 05/19] split LRU lists into anon & file sets
Hi Rik
Aahh,
looks good.
thank you clean up code.
- kosaki
--
| Feb 6, 6:20 pm 2008 |
| Rik van Riel | Re: [patch 05/19] split LRU lists into anon & file sets
On Thu, 07 Feb 2008 10:20:39 +0900
Yeah, it looks good.
Too bad it still does not work :)
Oh well, I'll look at that tomorrow. Jet lag is catching up
with me, so I should get some rest first...
--
All rights reversed.
--
| Feb 6, 6:36 pm 2008 |
| Rik van Riel | Re: [patch 05/19] split LRU lists into anon & file sets
On Wed, 30 Jan 2008 17:57:54 +0900
My latest version of get_scan_ratio() works differently, with the
percentages always adding up to 100. However, your patch gave me
the inspiration to (hopefully) find the bug in my version of the
I do not believe my new code has this problem. Of course, this
This is probably where the problem is. Kind of.
I believe that the problem is that we scale nr[l] by the percentage,
instead of scaling the amount we add to zone->nr_scan[l] by the
With the fix ...
| Feb 6, 5:35 pm 2008 |
| Greg KH | Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/eh ...
No. Why have a separate "port" device for every ethernet port? What
keeps you from just creating the different network devices for your
device, and pointing the parent to the same 789D.001.XXXXXX-P1 device?
Lots of PCI devices hang "class devices" off of them all the time, why
would this be any different from that?
thanks,
greg k-h
--
| Feb 7, 3:17 pm 2008 |
| Greg KH | Re: [PATCH 12/11] sched: rt-group: uid-group interface
All of the sysfs changes I had are in Linus's tree, so you don't need me
anymore :)
thanks,
greg k-h
--
| Feb 6, 10:42 pm 2008 |
| Dhaval Giani | Re: [PATCH 12/11] sched: rt-group: uid-group interface
Hi,
I was wondering where these changes are right now. I don't see the sysfs
interface for rt-group-sched in mainline right now.
Thanks,
--
regards,
Dhaval
--
| Feb 6, 9:17 pm 2008 |
| Tony Camuso | Re: [PATCH] Change pci_raw_ops to pci_raw_read/write
Matthew,
Perhaps I missed it, but did you address Yinghai's concerns?
--
| Feb 7, 8:54 am 2008 |
| Arjan van de Ven | Re: [PATCH] Change pci_raw_ops to pci_raw_read/write
On Thu, 07 Feb 2008 10:54:05 -0500
nothing should use these directly. So static is the right answer ;)
--
| Feb 7, 9:28 am 2008 |
| Tony Camuso | Re: [PATCH] Change pci_raw_ops to pci_raw_read/write
Agreed. Thanks, Arjan.
Matthew,
What about the ATA_RAM addition to Kconfig? Was it accidental,
or intended? If intended, how is it related?
--
| Feb 7, 9:36 am 2008 |
| Ingo Molnar | [bug] Re: [PATCH 4/12] riscom8: fix SMP brokenness
regression for sale :-) The above patch, after sitting in -mm for
approximately 3 months, just went upstream today via commit
d9afa43532adf8a31b93c4c7601f and promptly broke tonight's x86.git
randconfig qa run via tons of these messages:
[ 3.768431] BUG: scheduling while atomic: swapper/1/0x00000002
[ 3.769430] 1 lock held by swapper/1:
[ 3.770437] #0: (riscom_lock){--..}, at: [<80389ceb>] rc_release_drivers+0xe/0x33
[ 3.776430] Pid: 1, comm: swapper Not tainted 2.6.24 ...
| Feb 6, 5:29 pm 2008 |
| Pierre Ossman | Re: [semi-solved] Re: [sdhci] mmc0: unrecognised SCR str ...
On Thu, 7 Feb 2008 00:10:16 +0100
I'm not seeing it on any controller here, so right now I'd guess a driver problem. No idea why though.
There's always bisecting the issue until you find the offending commit. Time consuming, but it gets the job done.
It's definitely something to remember in future bug reports.
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core ...
| Feb 7, 12:41 pm 2008 |
| previous day | today | next day |
|---|---|---|
| February 6, 2008 | February 7, 2008 | February 8, 2008 |
