| From | Subject | Date |
|---|---|---|
| Desarrollo Creativo | Soluciones a su medida
Si no puede ver la imágen haga click aquí
<http://www.dc506.com/apps/mark/lists/lt.php?id=ZEsABgADBQ0YAFYeA1NXA1c%3D>
<http://www.dc506.com/apps/mark/lists/lt.php?id=ZEsABgADBQwYAFYeA1NXA1c%3D>
Muchas gracias,este mensaje se env
| Aug 12, 4:42 pm 2008 |
| Hiroshi Shimamoto | [PATCH] x86: acpi: move acpi_mcfg_64bit_base_addr into C ...
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
acpi_mcfg_64bit_base_addr is used when CONFIG_PCI_MMCONFIG is enabled.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
arch/x86/kernel/acpi/boot.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 5c89f1e..267e684 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -96,8 +96,6 @@ static u64 acpi_lapic_addr ...
| Aug 12, 4:33 pm 2008 |
| Andrew Morton | Re: [PATCH 1/13 v3] viafb: fix for the description of th ...
On Tue, 12 Aug 2008 08:53:47 +0800
The difference betwee this patch and the previous one
(viafb-viafbmodes-viafbtxt.patch) is:
--- a/Documentation/fb/viafb.txt~viafb-viafbmodes-viafbtxt-fix
+++ a/Documentation/fb/viafb.txt
@@ -182,8 +182,9 @@ Notes:
instead of calling common ioctl function FBIOPUT_VSCREENINFO since
viafb doesn't support multi-head well, or it will cause screen crush.
4. VX800 2D accelerator hasn't been supported in this driver yet. When
- using ...
| Aug 12, 4:09 pm 2008 |
| Alan Cox | Re: Setup code crashes my old 486 box
I was under the impression that spudstop came in with the Pentium II so
presumably < 6 would be even safer ?
Alan
--
| Aug 12, 3:55 pm 2008 |
| Joerg Roedel | Setup code crashes my old 486 box
Hello,
yesterday I tried to reactivate my old 486 box and wanted to install a
current Linux with latest kernel on it. But it turned out that the
latest kernel does not boot because the machine crashes early in the
setup code.
After some debugging it turned out that the problem is the query_ist()
function. If this interrupt with that function is called the machine
simply locks up. It looks like a BIOS bug. Looking for a workaround for
this problem I wrote the attached patch. It checks for the ...
| Aug 12, 3:47 pm 2008 |
| H. Peter Anvin | Re: Setup code crashes my old 486 box
Right in concept, but I dislike the implementation (duplication of the
CPU detect code we already have). Could you try this patch and see if
it works for you?
-hpa
| Aug 12, 3:57 pm 2008 |
| Andrew Morton | Re: ia64 allmodconfig on current mainline
On Wed, 13 Aug 2008 00:22:50 +0200
yes, more recent than that, actually. 2.6.27-rc1-mm1 was OK.
--
| Aug 12, 3:58 pm 2008 |
| Rafael J. Wysocki | Re: ia64 allmodconfig on current mainline
I gather this is a regression from .26?
--
| Aug 12, 3:22 pm 2008 |
| Mark Langsdorf | Warning in during hotplug on 2.6.27-rc2-git5
I'm seeing the following error message when I hotunplug and replug
a cpu in 2.6.27-rc2-git5. The system becomes unstable almost
immediately afterwards.
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:463 sysfs_add_one+0x33/0x39()
sysfs: duplicate filename 'machinecheck4' can not be created
Modules linked in: cpufreq_ondemand cpufreq_userspace cpufreq_powersave powernow_k8 freq_table sr_mod af_packet button battery ac loop dm_mod usb_storage usbhid ff_memless tg3 libphy ...
| Aug 12, 3:00 pm 2008 |
| Rafael J. Wysocki | Re: [Bugme-new] [Bug 11313] New: Plugging HDMI causes "u ...
Hm. Isn't that X trying to access memory which is not mapped?
Rafał, which graphics driver are you using?
--
| Aug 12, 2:59 pm 2008 |
| Andrew Morton | Re: [Bugme-new] [Bug 11313] New: Plugging HDMI causes "u ...
(switched to email. Please respond via emailed reply-to-all, not via the
bugzilla web interface).
On Tue, 12 Aug 2008 14:30:01 -0700 (PDT)
ugh. Random rampant memory corruption caused by unplugging an HDMI
cable? I'm not even sure which subsystem could be involved here.
Are you able to run a git bisection search please?
http://www.kernel.org/doc/local/git-quick.html has some help.
Thanks.
--
| Aug 12, 2:44 pm 2008 |
| Rafał Miłecki | Re: [Bugme-new] [Bug 11313] New: Plugging HDMI causes "u ...
I use radeonhd from today morning git. Does it matter as I play (plug,
unplug) with HDMI in init 3?
I'll try bisecting tomorrow.
--
Rafał Miłecki
| Aug 12, 3:00 pm 2008 |
| Marcin Slusarz | [PATCH] suspend: fix section mismatch warning - register ...
WARNING: vmlinux.o(.text+0xe684): Section mismatch in reference from the function register_nosave_region() to the function .init.text:__register_nosave_region()
The function register_nosave_region() references
the function __init __register_nosave_region().
This is often because register_nosave_region lacks a __init
annotation or the annotation of __register_nosave_region is wrong.
register_nosave_region calls __init function and is called only from __init functions
Signed-off-by: Marcin ...
| Aug 12, 2:23 pm 2008 |
| Rafael J. Wysocki | Aug 12, 2:49 pm 2008 | |
| Marcin Slusarz | [PATCH] x86: fix 2 section mismatch warnings - find_and_ ...
WARNING: vmlinux.o(.text+0xcd1f): Section mismatch in reference from the function find_and_reserve_crashkernel() to the function .init.text:find_e820_area()
The function find_and_reserve_crashkernel() references
the function __init find_e820_area().
This is often because find_and_reserve_crashkernel lacks a __init
annotation or the annotation of find_e820_area is wrong.
WARNING: vmlinux.o(.text+0xcd38): Section mismatch in reference from the function find_and_reserve_crashkernel() to the function ...
| Aug 12, 2:23 pm 2008 |
| Marcin Slusarz | [PATCH] x86: fix section mismatch warning - spp_getpage()
WARNING: vmlinux.o(.text+0x17a3e): Section mismatch in reference from the function set_pte_vaddr_pud() to the function .init.text:spp_getpage()
The function set_pte_vaddr_pud() references
the function __init spp_getpage().
This is often because set_pte_vaddr_pud lacks a __init
annotation or the annotation of spp_getpage is wrong.
mark set_pte_vaddr_pud __init and all functions calling it
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: ...
| Aug 12, 2:23 pm 2008 |
| Marcin Slusarz | [PATCH] x86: fix 2 section mismatch warnings - map_high()
WARNING: vmlinux.o(.text+0x14cf8): Section mismatch in reference from the function map_high() to the function .init.text:init_extra_mapping_uc()
The function map_high() references
the function __init init_extra_mapping_uc().
This is often because map_high lacks a __init
annotation or the annotation of init_extra_mapping_uc is wrong.
WARNING: vmlinux.o(.text+0x14d05): Section mismatch in reference from the function map_high() to the function .init.text:init_extra_mapping_wb()
The function ...
| Aug 12, 2:23 pm 2008 |
| Roland Dreier | [GIT PULL] please pull infiniband.git
Linus, please pull from
master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus
This tree is also available from kernel.org mirrors at:
git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus
This will get the following fixes:
Alexander Schmidt (5):
IB/ehca: Update qp_state on cached modify_qp()
IB/ehca: Rename goto label in ehca_poll_cq_one()
IB/ehca: Repoll CQ on invalid opcode
IB/ehca: Check idr_find() return ...
| Aug 12, 1:55 pm 2008 |
| Tomas Winkler | Re: iwl + iomap + readl/writel
It's okay I'm already digging into it
--
| Aug 12, 3:04 pm 2008 |
| Jiri Slaby | iwl + iomap + readl/writel
Hi,
I spotted that iwl drivers use readl method on an iomap space. IIRC some archs
might return a tag instead of an address expected by readl/writel.
I think you should either switch to ioread32/iowrite32 or to ioremap.
--
| Aug 12, 1:48 pm 2008 |
| Jiri Slaby | Re: iwl + iomap + readl/writel
Sorry, I don't remember where/when this was discussed, you have to search for it.
--
| Aug 12, 2:58 pm 2008 |
| Tomas Winkler | Re: iwl + iomap + readl/writel
I didn't ask for obvious answers :)
--
| Aug 12, 2:57 pm 2008 |
| Jiri Slaby | Re: iwl + iomap + readl/writel
No, google will (you can even feel lucky).
--
| Aug 12, 2:54 pm 2008 |
| Tomas Winkler | Re: iwl + iomap + readl/writel
Can you give me reading material on this?
Thanks
Tomas
--
| Aug 12, 2:49 pm 2008 |
| Dmitry Baryshkov | [PATCH] Make gpiochip label const
Mark gpiochip label as a const char pointer.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
---
include/asm-generic/gpio.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index 6be061d..8ab874a 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -58,7 +58,7 @@ struct module;
* is calculated by subtracting @base from the ...
| Aug 12, 1:39 pm 2008 |
| David Brownell | Aug 12, 3:06 pm 2008 | |
| J. Bruce Fields | nfsd-related changes for 2.6.27
A few nfsd-related changes are ready in:
git://linux-nfs.org/~bfields/linux.git for-2.6.27
One is a bugfix and the other two are completely trivial, so I assume
all are appropriate for 2.6.27.
--b.
Harvey Harrison (1):
lockd: trivial sparse endian annotations
J. Bruce Fields (1):
MAINTAINERS: mention lockd and sunrpc in nfs entries
Julia Lawall (1):
fs/nfsd/export.c: Adjust error handling code involving auth_domain_put
MAINTAINERS | 4 ++--
...
| Aug 12, 1:04 pm 2008 |
| Martin Bligh | Panic on boot for x86_64
x86_64 seems to panic on boot, since 2.6.26-git2 (or maybe -git1,
which wouldn't compile)
2.6.26 works.
http://test.kernel.org/results/IBM/186461/debug/console
kernel BUG at arch/x86/kernel/io_apic_64.c:356!
invalid opcode: 0000 [1] SMP
CPU 24
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.27-rc1-git2-autotest #1
RIP: 0010:[<ffffffff8021bb1a>] [<ffffffff8021bb1a>] add_pin_to_irq+0x7a/0x90
RSP: 0018:ffff88032e4b9b40 EFLAGS: 00010216
RAX: 00000000000000f0 RBX: 00000000000000f0 ...
| Aug 12, 12:51 pm 2008 |
| Rafael J. Wysocki | Re: Panic on boot for x86_64
The fix is in the mainline already.
Thanks,
Rafael
--
| Aug 12, 1:23 pm 2008 |
| Andrew Morton | Re: Panic on boot for x86_64
On Tue, 12 Aug 2008 12:51:17 -0700
So this looks like ACPI breakage?
--
| Aug 12, 1:10 pm 2008 |
| Yinghai Lu | Re: Panic on boot for x86_64
On Tue, Aug 12, 2008 at 1:10 PM, Andrew Morton
same bug as 11201.
please try tip/master, or wait a while after linus pull fix from tip x86 fix.
YH
--
| Aug 12, 1:13 pm 2008 |
| Martin Bligh | Re: Panic on boot for x86_64
Still looks broken to me (rc2-git5)
http://test.kernel.org/results/IBM/188946/debug/console
It got in since yesterday?
--
| Aug 12, 4:47 pm 2008 |
| Rafael J. Wysocki | Re: Panic on boot for x86_64
[Adding CCs]
Well, I use x86_64s all the time and nothing like this happens for me. A link
--
| Aug 12, 1:14 pm 2008 |
| Andy | 2.6.27 diskstats missing disks
In kernels 2.6.27-rc1 and rc2 /proc/diskstats only displays 15 scsi devices
(includes partitions), or 9 actual devices (sda-i). I'm using multipath and
device mapper, none of the dm devices are in the list either. The 2.6.26
kernel lists all devices, including all dm devices. Since diskstats does
not contain all the disks, iostat will not display the io for the disks that
are missing, which means, I can't see all of the io activity that is taking
place on the system. This seems like a bug to ...
| Aug 12, 12:13 pm 2008 |
| David Witbrodt | Re: HPET regression in 2.6.26 versus 2.6.25 -- RCU problem
I didn't come here seeking to blame, I came here to help find the bug...
if there is a bug, instead of just bad hardware.... but 2.6.25 worked
just fine.... <*scratches head*>
Actually, I used to blames Gates for everything. Now I just blame
Thx.
I had a secondary agenda, though: I use Debian, and they are talking about
using 2.6.26 in their upcoming stable release. So, if there _is_ a bug, I
hoped to see it released before that. They're talking about Sep. or Oct.
Well, I'm not ...
| Aug 12, 11:59 am 2008 |
| Milan Plzik | Timer unstability on when using C2 and deeper sleep stat ...
Good day,
This e-mail will be a bit longer, as I will describe everything I was
able to find out about $subj. I'm not 100% sure that the issue is what
it seems to be (not even sure I'm posting to correct mailing list), so
if you see I did something wrong, please tell me. Also please, Cc: me,
as I'm not (yet, I was not able to find out how) subscribed to this
mailing list.
I started to experiment with Linux on Dell Latitude XT, actually with
2.6.26 (for more info see [1]). The system ...
| Aug 12, 11:33 am 2008 |
| Bjorn Helgaas | Re: pnp bug in 2.6.27-rc1 (ad1816a / mpu401 / parport_pc ...
One more thing: since you have a non-PNP ISA card, I don't think
you can reliably use a "pure PNP" approach. In addition to the
kernel and module parameters, I think you need to configure the
BIOS to reserve IRQ 5 for ISA use. Otherwise, the BIOS might put
some other device on IRQ 5.
Of course, if you are content to run the second parport in polling
mode, you wouldn't need the BIOS configuration.
Bjorn
--
| Aug 12, 2:26 pm 2008 |
| Bjorn Helgaas | Re: pnp bug in 2.6.27-rc1 (ad1816a / mpu401 / parport_pc ...
Thanks a lot for your detailed observations.
Your dmesg logs are still missing the interesting part at the beginning.
Can you find the entire log in /var/log/messages or something similar?
These lines are from your case C log, but the same thing probably
happened in case B:
parport_pc 00:0a: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP(,...)]
parport_pc 00:0a: driver attached
parport1: PC-style at 0x278 [PCSPP(,...)]
We found parport0 via PNPACPI, ...
| Aug 12, 11:10 am 2008 |
| Jeff Chua | [PATCH] enable sparsemem without CONFIG_NUMA
Linus,
While testing for more than 8 cpus, I couldn't select sparsemem when
CONFIG_X86_GENERICARCH is selected instead of CONFIG_X86_PC.
Here's a patch to enable sparsemem independent of NUMA instead of just
flatmem ... unless there a reason for sparsemem to depend on NUMA for
more than 8 CPUs?
Thanks,
Jeff
--- ./arch/x86/Kconfig.org 2008-08-06 18:41:08 +0800
+++ ./arch/x86/Kconfig 2008-08-06 18:48:13 +0800
@@ -1035,7 +1035,7 @@
config ARCH_FLATMEM_ENABLE
def_bool ...
| Aug 12, 10:40 am 2008 |
| David Witbrodt | Re: HPET regression in 2.6.26 versus 2.6.25 -- RCU problem
I having nothing but gratitude for anyone who has any suggestions
whatsoever!
I do _want_ to do both of those things... but you are right that no
one should try to do them both at the same time. BTW, the bisect data
was from my first post (trying to _find_ the problem) about 8 days ago.
Since that time, I have been _assuming_ I located the cause problem,
and had not thought about it again... until today.
Unfortunately, this kernel stuff can get very deep. Just finding the
commit, where ...
| Aug 12, 10:29 am 2008 |
| Ray Lee | Re: HPET regression in 2.6.26 versus 2.6.25 -- RCU problem
Hard data first, and then there will be plenty of time for blame
later. Not that there's any real blame for anyone here, we just have a
His commit may have uncovered a latent problem somewhere else, that
happens often. But if the commit really is the trouble one, then two
things happen: It's rc3 or rc4 now, so we just revert the damn thing,
and then (secondly) he works with you (by adding debugging or
whatever) to figure out where the problem actually is.
The point I'm trying to make ...
| Aug 12, 10:38 am 2008 |
| Cyrill Gorcunov | protecting early_param from null injecting
Hi Ingo,
I spent some time on eraly_param handling and it seems
it will not be possible to just set absentee parameter
to end of string to prevent NULL deref. As I can see
the easier way is to add checking for NULL pointer.
And here is why - currently kernel will hang if user
forget to specify mandatory boot parameter - pointing
us to fix that point in kernel to prevent NULL deref.
If we may early_param to behave as __setup() funtion does -
we will have to review/fix kernel code anyway - ...
| Aug 12, 9:21 am 2008 |
| Anton Vorontsov | [PATCH 2/2] rtc: bunch of drivers: fix 'no irq' case handing
This patch fixes bunch of irq checking misuses. Most drivers were
getting irq via platform_get_irq(), which returns -ENXIO or r->start.
Platforms may specify r->start = 0 to emphasize 'no irq' case, and
drivers should handle this correctly.
rtc-cmos.c is special. It is using PNP and platform bindings.
Hopefully nobody is using PNP IRQ 0 for RTC. So the changes should
be safe.
Also, rtc-sh.c was using platform_get_irq, and stored a result into
an unsigned type, then was checking for < 0. This ...
| Aug 12, 9:17 am 2008 |
| Anton Vorontsov | [PATCH 1/2] rtc: rtc-ds1374: fix 'no irq' case handling
On a PowerPC board with ds1374 RTC I'm getting this error while
RTC tries to probe:
rtc-ds1374 0-0068: unable to request IRQ
This happens because I2C probing code (drivers/of/of_i2c.c) is
specifying IRQ0 for 'no irq' case, which is correct.
The driver handles this incorrectly, though. This patch fixes it.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
drivers/rtc/rtc-ds1374.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git ...
| Aug 12, 9:17 am 2008 |
| Beverly Seavey | fscanf changes value when reading . cc version 4.1.2 20 ...
hornbill% 10:36>g++ -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre ...
| Aug 12, 8:39 am 2008 |
| Joerg Roedel | [PATCH 2/7] x86: add free_coherent dma_ops callback to G ...
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kernel/pci-gart_64.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c
index 55cc388..18db09b 100644
--- a/arch/x86/kernel/pci-gart_64.c
+++ b/arch/x86/kernel/pci-gart_64.c
@@ -519,6 +519,15 @@ gart_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_addr,
return NULL;
}
+/* free a coherent mapping */
+static ...
| Aug 12, 8:24 am 2008 |
| Joerg Roedel | [PATCH 5/7] x86: add free_coherent dma_ops callback to N ...
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kernel/pci-nommu.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/pci-nommu.c b/arch/x86/kernel/pci-nommu.c
index 4d8cde3..f4ad3e7 100644
--- a/arch/x86/kernel/pci-nommu.c
+++ b/arch/x86/kernel/pci-nommu.c
@@ -109,8 +109,15 @@ nommu_alloc_coherent(struct device *hwdev, size_t size,
return NULL;
}
+static void nommu_free_coherent(struct device *dev, size_t size, void ...
| Aug 12, 8:24 am 2008 |
| Muli Ben-Yehuda | Re: [PATCH 3/7] x86: add free_coherent dma_ops callback ...
Acked-by: Muli Ben-Yehuda <muli@il.ibm.com>
Cheers,
Muli
--
Workshop on I/O Virtualization (WIOV '08)
Co-located with OSDI '08, Dec 2008, San Diego, CA
http://www.usenix.org/wiov08
--
| Aug 12, 9:07 am 2008 |
| Joerg Roedel | Re: [PATCH 4/7] x86: add alloc_coherent dma_ops callback ...
Argh. But there is a bug in this logic :-(
I fix it and resend.
Joerg
--
| Aug 12, 11:24 am 2008 |
| Joerg Roedel | [PATCH 0/7] x86 dma_*_coherent rework patchset
Hi,
this patchset reworks the dma_*_coherent functions in the DMA layer for the x86
architecture. The patch series extends the existing DMA backends with missing
*coherent callbacks and simplifies the generic function to basically only call
the registered backend. This allows future optimizations in hardware specific
IOMMU implementations.
The code ist tested on AMD64 with AMD IOMMU and GART as well as on my old 486
box. It is not yet tested on a Calgary IOMMU system.
Joerg
git diff ...
| Aug 12, 8:24 am 2008 |
| Joerg Roedel | [PATCH 7/7] x86, AMD IOMMU: remove obsolete FIXME comment
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kernel/amd_iommu.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c
index 22d7d05..61d2d59 100644
--- a/arch/x86/kernel/amd_iommu.c
+++ b/arch/x86/kernel/amd_iommu.c
@@ -1035,8 +1035,6 @@ out:
/*
* The exported free_coherent function for dma_ops.
- * FIXME: fix the generic x86 DMA layer so that it actually calls that
- * function.
...
| Aug 12, 8:24 am 2008 |
| Joerg Roedel | [PATCH 4/7] x86: add alloc_coherent dma_ops callback to ...
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kernel/pci-nommu.c | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/pci-nommu.c b/arch/x86/kernel/pci-nommu.c
index 3f91f71..4d8cde3 100644
--- a/arch/x86/kernel/pci-nommu.c
+++ b/arch/x86/kernel/pci-nommu.c
@@ -72,7 +72,45 @@ static int nommu_map_sg(struct device *hwdev, struct scatterlist *sg,
return nents;
}
+static void ...
| Aug 12, 8:24 am 2008 |
| Joerg Roedel | [PATCH 3/7] x86: add free_coherent dma_ops callback to C ...
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kernel/pci-calgary_64.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/pci-calgary_64.c b/arch/x86/kernel/pci-calgary_64.c
index b24f1e8..6b67446 100644
--- a/arch/x86/kernel/pci-calgary_64.c
+++ b/arch/x86/kernel/pci-calgary_64.c
@@ -510,8 +510,22 @@ error:
return ret;
}
+static void calgary_free_coherent(struct device *dev, size_t size,
+ void *vaddr, ...
| Aug 12, 8:24 am 2008 |
| Joerg Roedel | [PATCH 6/7] x86: cleanup dma_*_coherent functions
All dma_ops implementations support the alloc_coherent and free_coherent
callbacks now. This allows a big simplification of the dma_alloc_coherent
function which is done with this patch. The dma_free_coherent functions is also
cleaned up and calls now the free_coherent callback of the dma_ops
implementation.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kernel/pci-dma.c | 116 ++++-----------------------------------------
1 files changed, 10 insertions(+), 106 ...
| Aug 12, 8:24 am 2008 |
| Muli Ben-Yehuda | Re: [PATCH 0/7] x86 dma_*_coherent rework patchset
[added Andi to CC]
Now it is---appears to work fine on a Calgary system.
In general the patchset looks good and is definitely a step in the
right direction. I am a bit concerned about the contortions that the
generic dma_alloc_coherent went through before calling the ops
version---have you verified they are no longer needed?
Cheers,
Muli
--
Workshop on I/O Virtualization (WIOV '08)
Co-located with OSDI '08, Dec 2008, San Diego, CA
http://www.usenix.org/wiov08
--
| Aug 12, 9:06 am 2008 |
| Joerg Roedel | [PATCH 1/7] x86: add alloc_coherent dma_ops callback to ...
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kernel/pci-gart_64.c | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c
index cdab678..55cc388 100644
--- a/arch/x86/kernel/pci-gart_64.c
+++ b/arch/x86/kernel/pci-gart_64.c
@@ -499,6 +499,26 @@ error:
return 0;
}
+/* allocate and map a coherent mapping */
+static void *
+gart_alloc_coherent(struct device *dev, ...
| Aug 12, 8:24 am 2008 |
| Joerg Roedel | Re: [PATCH 0/7] x86 dma_*_coherent rework patchset
Most of the logic in the old dma_alloc_coherent function is moved to the
specific IOMMU implementations now. The old function tried to handle all
cases, hardware IOMMU, GART and NOMMU in one function which made it a
bit hard to read. This logic is split up and moved to the specific DMA
backends now.
Joerg
--
| Aug 12, 9:49 am 2008 |
| jay kumar | BUGS: tty subsystems @ 2.6.27-rc2-next-20080811
Observed two bugs mainly while starting/closing terminals
Steps to reproduce
I am tried it two times and it reproduced for me,
1. Open the gnome-terminal
2. Open xterm
3. Close gnome-terminal (system hangs (sometime) with bug1 (dmesg
info) captured using serial console)
4. If system does not hang then close the opened xterm which generate
the bug2 listed at the end. config attached.
Tested Kernel:
Commit :
commit 299be36648adc14e4627173d00c18b11d08e5ecd
Author: Stephen Rothwell ...
| Aug 12, 8:17 am 2008 |
| jay kumar | Re: BUGS: tty subsystems @ 2.6.27-rc2-next-20080811
The same bugs are reproducible in aug 12 next also.
> # SCSI support type (di
| Aug 12, 8:34 am 2008 |
| David Witbrodt | Re: HPET regression in 2.6.26 versus 2.6.25 -- RCU problem
BRAIN DAMAGE CONTROL: the problem is only on my hardware, so no one
on LKML can play with this hardware directly. That makes _me_ the weak
link.
1. Can someone comment on whether I correctly identified the commit #
causing the issue for me. Here is the 'git bisect' data from my first
post:
2.6.25, good
2.6.26-rc4, bad
10c993a6b5418cb1026775765ba4c70ffb70853d, bad
334d094504c2fe1c44211ecb49146ae6bca8c321, bad
eddeb0e2d863e3941d8768e70cb50c6120e61fa0, ...
| Aug 12, 8:17 am 2008 |
| Ray Lee | Re: HPET regression in 2.6.26 versus 2.6.25 -- RCU problem
Heh. Can I offer a suggestion here? You're trying to do two things at
once -- finding where the problem is, and also trying to understand
the problem at the same time. Speaking just for myself, I try to
Git should have printed out "<SHA1> is first bad commit" Did you see
that? If not, you stopped the process too soon. Viewing the history
with gitk, though, it seems you fingered the right commit. Which leads
Or this :-).
Can you try reverting that commit against the top of the latest ...
| Aug 12, 9:03 am 2008 |
| James.Smart | RE: RFC: I/O bandwidth controller
I assume all of these discussions are focused on simple storage - disks
direct attached to a single server - and are not targeted at SANs with
arrays, multi-initiator accesses, and fabric/network impacts. True ?
Such algorithms can be seriously off-base in these latter configurations.
-- james s
--
| Aug 12, 8:03 am 2008 |
| Andrea Righi | Re: RFC: I/O bandwidth controller
Accounting the IO cost using time values should be in principle a
topology-agnostic solution, so it should work both for LUs from SAN,
magnetic disks, USB drive, optical drives, etc. because we're actually
looking at the time spent to execute each IO operation (and you don't
need to know the details of the particular IO operation, because you
automatically know the actual cost).
If you mean that trying to evaluate or even predict the cost of the seek
ops is so meaningful in those "complex" ...
| Aug 12, 2:00 pm 2008 |
| Mathieu Desnoyers | LTTng 0.16 for 2.6.27-rc2 (ftrace integration)
Hi,
I just released the latest LTTng version I used to pinpoint the "prove
locking correctness" latency issue. It integrates with ftrace (only the
dynamic function tracing part) with what I call a "tap".
See http://lkml.org/lkml/2008/8/5/321 to find out how I dug in this
problem.
Basically, a "tap" is a set of "enable/disable" probes one can connect
on specific markers/tracepoints. These probes enable/disable a "tap",
which controls recording of specific events to the trace.
Since ...
| Aug 12, 8:04 am 2008 |
| Will Newton | [PATCH 01/11] fsl_usb2_udc: Make dr_ep_setup function static.
Make dr_ep_setup function static as it's never used outside this file.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
---
drivers/usb/gadget/fsl_usb2_udc.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c
index 1cfccf1..6a927da 100644
--- a/drivers/usb/gadget/fsl_usb2_udc.c
+++ b/drivers/usb/gadget/fsl_usb2_udc.c
@@ -315,7 +315,8 @@ static void ...
| Aug 12, 7:39 am 2008 |
| Will Newton | [PATCH 10/11] fsl_usb2_udc: Add a wmb before priming endpoint.
From: Will Newton <will.newton@gmail.com>
Add a wmb to fsl_queue_td before priming the endpoint. This ensures that the
modifications to the QH are seen by the hardware.
Added comment as suggested by Felipe Balbi.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
---
drivers/usb/gadget/fsl_usb2_udc.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c ...
| Aug 12, 7:39 am 2008 |
| Will Newton | [PATCH 00/11] fsl_usb2_udc: A number of bug fixes and cl ...
From: Will Newton <will.newton@gmail.com>
Hi,
These patches fix a couple of small bugs and clean up parts of the
fsl_usb2_udc USB gadget driver. I've split them up quite finely for ease
of reviewing and to separate functional changes.
I'm testing this driver with a non-Freescale SoC containing the same
TDI/ARC/ChipIdea IP block, but the series has been tested and acked by
the maintainer.
Will Newton (11):
fsl_usb2_udc: Make dr_ep_setup function static.
fsl_usb2_udc: Remove check ...
| Aug 12, 7:39 am 2008 |
| Will Newton | [PATCH 06/11] fsl_usb2_udc: Initialize spinlock earlier.
Move spinlock initialization earlier so we can turn shared irq handler
debugging on safely.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
---
drivers/usb/gadget/fsl_usb2_udc.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c
index 44296c3..21f5616 100644
--- a/drivers/usb/gadget/fsl_usb2_udc.c
+++ b/drivers/usb/gadget/fsl_usb2_udc.c
@@ -2190,7 ...
| Aug 12, 7:39 am 2008 |
| Will Newton | [PATCH 08/11] fsl_usb2_udc: Uninline udc_reset_ep_queue.
From: Will Newton <will.newton@gmail.com>
Uninline udc_reset_ep_queue and remove it's unused return value.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
---
drivers/usb/gadget/fsl_usb2_udc.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c
index 92323c4..45ae982 100644
--- a/drivers/usb/gadget/fsl_usb2_udc.c
+++ ...
| Aug 12, 7:39 am 2008 |
| Will Newton | [PATCH 07/11] fsl_usb2_udc: Rename the arguments of the ...
From: Will Newton <will.newton@gmail.com>
Rename the arguments of the fsl_writel macro to match their use.
Remove a couple of unnecessary prototypes.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
---
drivers/usb/gadget/fsl_usb2_udc.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c
index 21f5616..92323c4 100644
--- ...
| Aug 12, 7:39 am 2008 |
| Will Newton | [PATCH 04/11] fsl_usb2_udc: Clean up whitespace in error ...
VDBG always outputs a trailing \n.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
---
drivers/usb/gadget/fsl_usb2_udc.c | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c
index 27a2ec7..01a7496 100644
--- a/drivers/usb/gadget/fsl_usb2_udc.c
+++ b/drivers/usb/gadget/fsl_usb2_udc.c
@@ -193,7 +193,7 @@ static int ...
| Aug 12, 7:39 am 2008 |
| Will Newton | [PATCH 11/11] fsl_usb2_udc: Fix oops on probe failure.
From: Will Newton <will.newton@gmail.com>
In some circumstances when fsl_udc_probe fails udc_controller is freed but
the pointer remains non-NULL. fsl_udc_remove will then try and teardown
the partly initialized and freed controller structure resulting in an oops.
This patch ensures udc_controller is either NULL or fully initialized after
fsl_udc_probe.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
---
drivers/usb/gadget/fsl_usb2_udc.c | 32 ...
| Aug 12, 7:39 am 2008 |
| Will Newton | [PATCH 03/11] fsl_usb2_udc: Fix some sparse warnings and ...
Fix some sparse "integer used as NULL pointer" warnings.
Remove some unnecessary volatiles and static initialization.
Remove some unused struct members and reorder to improve packing.
Remove a few unneeded includes.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
---
drivers/usb/gadget/fsl_usb2_udc.c | 28 +++++++++-------------------
drivers/usb/gadget/fsl_usb2_udc.h | 21 ++-------------------
2 files changed, 11 insertions(+), 38 ...
| Aug 12, 7:39 am 2008 |
| Will Newton | [PATCH 09/11] fsl_usb2_udc: Make fsl_queue_td return typ ...
From: Will Newton <will.newton@gmail.com>
fsl_queue_td always returns 0. Make it void and remove checks for non-zero
return in callers.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
---
drivers/usb/gadget/fsl_usb2_udc.c | 19 +++++--------------
1 files changed, 5 insertions(+), 14 deletions(-)
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c
index 45ae982..10fafbb 100644
--- ...
| Aug 12, 7:39 am 2008 |
| Will Newton | [PATCH 05/11] fsl_usb2_udc: Clean up whitespace in /proc ...
Missing spaces were causing the /proc debugging output to be rather
unreadable.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
---
drivers/usb/gadget/fsl_usb2_udc.c | 35 ++++++++++++++++++-----------------
1 files changed, 18 insertions(+), 17 deletions(-)
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c
index 01a7496..44296c3 100644
--- a/drivers/usb/gadget/fsl_usb2_udc.c
+++ ...
| Aug 12, 7:39 am 2008 |
| Will Newton | [PATCH 02/11] fsl_usb2_udc: Remove check for udc == NULL ...
Remove check for udc == NULL in dr_controller_setup. All callers of
this function have already dereferenced udc at some point.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
---
drivers/usb/gadget/fsl_usb2_udc.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c
index 6a927da..47d6c92 100644
--- a/drivers/usb/gadget/fsl_usb2_udc.c
+++ ...
| Aug 12, 7:39 am 2008 |
| Steven Rostedt | [PATCH] infiniband: change flags from int to long
It is a bug to have irq saved flags as an int and not long since
some archs may use more that 32 bits in flags.
(This patch was only compiled tested)
[
Found by the -rt patch checks. These should now be in mainline,
but it looks like they may not have been used.
]
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
drivers/infiniband/hw/ipath/ipath_verbs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: ...
| Aug 12, 7:32 am 2008 |
| Roland Dreier | Re: [PATCH] infiniband: change flags from int to long
> It is a bug to have irq saved flags as an int and not long since
> some archs may use more that 32 bits in flags.
Isn't this already upstream for a while as 52fd8ca6?
- R.
--
| Aug 12, 8:39 am 2008 |
| Steven Rostedt | Re: [PATCH] infiniband: change flags from int to long
This is the problem with having multiple git repos lying around. You never
know which one is updated. I should have done a git pull on the git repo I
examined.
Last commit on the repo I looked at:
commit 94ad374a0751f40d25e22e036c37f7263569d24c
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Wed Jul 30 14:45:12 2008 -0700
And the commit you stated:
commit 52fd8ca6ad4124c15952ded35cfcf6adbd7ae8d4
Author: Vegard Nossum <vegard.nossum@gmail.com>
Date: Wed Jul 30 ...
| Aug 12, 10:14 am 2008 |
| Krzysztof Halasa | Re: Possible false positive in checkpatch
But there isn't any "style of the whole". Existing styles differ.
While I guess there is some agreement about the base (tab width,
mostly K&R, don't do "char* ptr" etc.), the rest are simply views of
single persons.
This is IMHO fine as long as it's useful for the community, but not
past this point.
--
Krzysztof Halasa
--
| Aug 12, 11:01 am 2008 |
| Andy Whitcroft | Re: Possible false positive in checkpatch
The recommendations it makes match the style of the whole, which new
contributions should follow. To a lot of people these nuances don't
matter to others they do. checkpatch aims to tell you what you will
likely be picked up on. Its recommending a standardised style that is
not necessarily what any one of us would use. But that is its role.
Feel free to ignore any of its recommendations, but expect to be pulled
up on a lot of them if you do; remembering the time of the reviewer
that is ...
| Aug 12, 10:18 am 2008 |
| Krzysztof Halasa | Re: Possible false positive in checkpatch
I think checkpatch already has gone way too far with this (and not
only this).
"type *var" vs "type* var" - sure, the latter is worse and provokes
"type* var1, var2", but anything else is IMHO only annoying and,
actually, not important WRT readability at all.
For example I prefer "type* func()" - as it's a function returning
"a pointer to type" and not "a pointer to a function returning type"
(which "type *func()" may suggest). Yes, func is not a pointer, so why
write "*" next to it?
-- ...
| Aug 12, 8:29 am 2008 |
| Alan Stern | Possible false positive in checkpatch
The following appears to be a false positive in checkpatch:
ERROR: space prohibited after that '*' (ctx:BxW)
#163: FILE: drivers/usb/core/usb.c:304:
+#define usb_device_pm_ops (* (struct pm_ops *) 0)
^
Certainly this is a rather uncommon code construction, but similar
ones might occur elsewhere. To my eyes,
(* (type *) ptr)
looks better than
(*(type *) ptr)
or
(*(type *)ptr)
or even
(*(type*)ptr)
but of course this is a matter ...
| Aug 12, 7:25 am 2008 |
| Takashi Iwai | [GIT PULL] ALSA fixes for 2.6.27-rc2
Linus,
please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git for-linus
containing a few trivial fixes below against 2.6.27-rc2.
Thanks!
Takashi
===
Dmitry Baryshkov (3):
ALSA: wm8750: it's MONO1, not MONO
ALSA: spitz: MONO -> MONO1
ALSA: wm8750: add missing VREF output
Libin Yang (1):
ALSA: hda - support new AMD HDMI Audio (1002:970f)
Seth Heasley (1):
ALSA: hda_intel: ALSA HD Audio patch for Intel Ibex Peak ...
| Aug 12, 7:07 am 2008 |
| Paul Jackson | Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
You present me with a clear choice.
I could find your past patch, applying it to whatever it applied to,
and look to see what was at line 614.
Or I could ask you to restate your point, with enough code
displayed so that I could understand your point just by reading
your email.
I choose the second choice. Thank-you.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> ...
| Aug 12, 9:27 am 2008 |
| Rakib Mullick | Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
Ok, this is the second place. But, what about the first place ( I
--
| Aug 12, 6:48 am 2008 |
| Rakib Mullick | Aug 12, 10:12 am 2008 | |
| Max Krasnyansky | Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
Which I think is perfectly fine and clear.
There are only two matches for
/attr.*=.*alloc
We covered both of them.
Max
--
| Aug 12, 9:39 am 2008 |
| Alexander Schmidt | [PATCH 4/5 try2] ib/ehca: check idr_find() return value
The idr_find() function may fail when trying to get the QP that is associated
with a CQE, e.g. when a QP has been destroyed between the generation of a CQE
and the poll request for it. In consequence, the return value of idr_find()
must be checked and the CQE must be discarded when the QP cannot be found.
Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
---
drivers/infiniband/hw/ehca/ehca_reqs.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- ...
| Aug 12, 6:46 am 2008 |
| Alexander Schmidt | [PATCH 3/5 try2] ib/ehca: repoll on invalid opcode
When the ehca driver detects an invalid opcode in a CQE, it currently passes
the CQE to the application and returns with success. This patch changes the
CQE handling to discard CQEs with invalid opcodes and to continue reading the
next CQE from the CQ.
Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
---
drivers/infiniband/hw/ehca/ehca_reqs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- infiniband.git.orig/drivers/infiniband/hw/ehca/ehca_reqs.c
+++ ...
| Aug 12, 6:46 am 2008 |
| Alexander Schmidt | [PATCH 5/5 try2] ib/ehca: discard double CQE for one WR
Under rare circumstances, the ehca hardware might erroneously generate
two CQEs for the same WQE, which is not compliant to the IB spec and will
cause unpredictable errors like memory being freed twice. To avoid this
problem, the driver needs to detect the second CQE and discard it.
For this purpose, introduce an array holding as many elements as the SQ of
the QP, called sq_map. Each sq_map entry stores a "reported" flag for one
WQE in the SQ. When a work request is posted to the SQ, the ...
| Aug 12, 6:46 am 2008 |
| Roland Dreier | Re: [PATCH 5/5 try2] ib/ehca: discard double CQE for one WR
thanks, applied all 5.
--
| Aug 12, 11:35 am 2008 |
| Alexander Schmidt | [PATCH 1/5 try2] ib/ehca: update qp_state on cached modi ...
Since the introduction of the port auto-detect mode for ehca, calls to
modify_qp() may be cached in the device driver when the ports are not
activated yet. When a modify_qp() call is cached, the qp state remains
untouched until the port is activated, which will leave the qp in the reset
state. In the reset state, however, it is not allowed to post SQ WQEs,
which confuses applications like ib_mad.
The solution for this problem is to immediately set the qp state as requested
by modify_qp(), even ...
| Aug 12, 6:46 am 2008 |
| Alexander Schmidt | [PATCH 0/5 try2] ib/ehca: Fix stability issues
Hi Roland,
Sorry, the first set was mangled because of a broken mailer, so here it is
again, double checked...
the following patchset contains four small fixes and one bigger patch
(5/5) for addressing some ehca issues we found during cluster test.
[1/5] update qp_state on cached modify_qp()
[2/5] rename goto label in ehca_poll_cq_one()
[3/5] repoll on invalid opcode instead of returning success
[4/5] check idr_find() return value
[5/5] discard double CQE for one WR
They all apply on ...
| Aug 12, 6:46 am 2008 |
| Alexander Schmidt | [PATCH 2/5 try2] ib/ehca: rename goto label
Rename the "poll_cq_one_read_cqe" goto label to what it actually does,
"repoll".
Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
---
drivers/infiniband/hw/ehca/ehca_reqs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- infiniband.git.orig/drivers/infiniband/hw/ehca/ehca_reqs.c
+++ infiniband.git/drivers/infiniband/hw/ehca/ehca_reqs.c
@@ -589,7 +589,7 @@ static inline int ehca_poll_cq_one(struc
struct ehca_qp *my_qp;
int cqe_count = 0, is_error;
...
| Aug 12, 6:46 am 2008 |
| Ingo Oeser | Re: [PATCH 2/2] CRED: Introduce credential access wrappers
Hi David,
Why macros? When introducing APIs using trivial inlines makes sure that
the conversion is correct, type correct and side effect free for the callers.
Macros cannot ensure this without pain.
Please respin this patch with inlines. If that needs header changes,
your CRED subsytem might need that, too.
Best Regards
Ingo Oeser
--
| Aug 12, 12:02 pm 2008 |
| Christoph Hellwig | Re: [PATCH 1/2] CRED: Alter XFS so as to avoid namespace ...
Just switch it directly to your new version without the paramter.
--
| Aug 12, 4:01 pm 2008 |
| James Morris | Re: [PATCH 1/2] CRED: Alter XFS so as to avoid namespace ...
Can we get an acked-by from an XFS maintainer before pushing this to
--
James Morris
<jmorris@namei.org>
--
| Aug 12, 3:55 pm 2008 |
| David Howells | [PATCH 0/2] Introduce credentials API
Hi James, Andrew,
Here are the patches that are necessary just to add the credentials wrapper
API as Stephen suggested.
There are two patches: the first renames some things in XFS that would
otherwise collide in the namespace, and the second adds the wrappers in no-op
forms.
David
--
| Aug 12, 6:28 am 2008 |
| Ingo Oeser | Re: [PATCH 2/2] CRED: Introduce credential access wrappers
Hi David,
Ok, if that is the only reason, please mention this in the commit message.
That would be enough for me to not wonder about this issue.
But I wonder how you solve this issue if the amount of code behinde your wrappers
grows.
If you have to take them out of line, it would give me a good indication
of the costs involved in the later bodies of these now trivial wrappers,
if you do it right away.
That way you'll find missing includes and whatnot while converting existing code
to ...
| Aug 12, 3:59 pm 2008 |
| David Howells | Re: [PATCH 2/2] CRED: Introduce credential access wrappers
But macros don't care that you can't access current at this point.
David
--
| Aug 12, 1:27 pm 2008 |
| David Howells | [PATCH 1/2] CRED: Alter XFS so as to avoid namespace col ...
Rename XFS's current_fsuid() and current_fsgid() to avoid collision with
functions of the same name in upcoming COW creds.
Signed-off-by: David Howells <dhowells@redhat.com>
---
fs/xfs/linux-2.6/xfs_linux.h | 4 ++--
fs/xfs/xfs_inode.c | 4 ++--
fs/xfs/xfs_vnodeops.c | 8 ++++----
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/fs/xfs/linux-2.6/xfs_linux.h b/fs/xfs/linux-2.6/xfs_linux.h
index 4d45d93..05a2e7e 100644
--- ...
| Aug 12, 6:28 am 2008 |
| David Howells | [PATCH 2/2] CRED: Introduce credential access wrappers
The patches that are intended to introduce copy-on-write credentials for 2.6.28
require abstraction of access to some fields of the task structure,
particularly for the case of one task accessing another's credentials where RCU
will have to be observed.
Introduced here are trivial no-op versions of the desired accessors for current
and other tasks so that other subsystems can start to be converted over more
easily.
Wrappers are introduced into a new header (linux/cred.h) for ...
| Aug 12, 6:28 am 2008 |
| Michael Kerrisk | man-page-3.07 is released
Gidday
I've released man-pages-3.07.
This release is now available for download at:
http://www.kernel.org/pub/linux/docs/man-pages
or ftp://ftp.kernel.org/pub/linux/docs/man-pages
This release is now available for download at:
http://www.kernel.org/pub/linux/docs/man-pages
or ftp://ftp.kernel.org/pub/linux/docs/man-pages
The online changelog is available at
http://www.kernel.org/doc/man-pages/changelog.html
(an overview of the changes in this release is blogged ...
| Aug 12, 6:23 am 2008 |
| Alan Cox | Re: Bug: unable to handle kernel paging request 2.6.27-r ...
On Tue, 12 Aug 2008 18:45:14 +0530
Actually it seems to be one of mine. Found what I think is your bug (and a
couple of its friends). Stomped them I hope with tonights push.
Alan
--
| Aug 12, 7:24 am 2008 |
| jay kumar | Bug: unable to handle kernel paging request 2.6.27-rc2-n ...
Got the bug "unable to handle kernel paging request" on rebooting
2.6.27-rc2-next-20080811
method to reproduce:
reboot the machine via xterm or gnome-terminal. observe the messages
during the reboot in another machine's terminal which is connected to
it through a serial port setup.
commit 299be36648adc14e4627173d00c18b11d08e5ecd
Author: Stephen Rothwell <sfr@canb.auug.org.au>5ecd
Date: Mon Aug 11 16:30:46 2008 +1000
Bug info:
[ 925.528434] =======================
[ 925.532104] ...
| Aug 12, 6:15 am 2008 |
| Alexander Schmidt | [PATCH 1/5] ib/ehca: update qp_state on cached modify_qp()
Since the introduction of the port auto-detect mode for ehca, calls to
modify_qp() may be cached in the device driver when the ports are not
activated yet. When a modify_qp() call is cached, the qp state remains
untouched until the port is activated, which will leave the qp in the
reset state. In the reset state, however, it is not allowed to post SQ
WQEs, which confuses applications like ib_mad.
The solution for this problem is to immediately set the qp state as
requested by modify_qp(), even ...
| Aug 12, 5:49 am 2008 |
| Alexander Schmidt | [PATCH 3/5] ib/ehca: repoll on invalid opcode
When the ehca driver detects an invalid opcode in a CQE, it currently
passes the CQE to the application and returns with success. This patch
changes the CQE handling to discard CQEs with invalid opcodes and to
continue reading the next CQE from the CQ.
Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
---
drivers/infiniband/hw/ehca/ehca_reqs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- infiniband.git.orig/drivers/infiniband/hw/ehca/ehca_reqs.c
+++ ...
| Aug 12, 5:49 am 2008 |
| Alexander Schmidt | [PATCH 0/5] ib/ehca: Fix stability issues
Hi Roland,
the following patchset contains four small fixes and one bigger patch
(5/5) for addressing some ehca issues we found during cluster test.
[1/5] update qp_state on cached modify_qp()
[2/5] rename goto label in ehca_poll_cq_one()
[3/5] repoll on invalid opcode instead of returning success
[4/5] check idr_find() return value
[5/5] discard double CQE for one WR
They all apply on top of 2.6.27-rc1. If possible, we would like to get
them into 2.6.27.
Regards,
Alexander ...
| Aug 12, 5:49 am 2008 |
| Alexander Schmidt | [PATCH 5/5] ib/ehca: discard double CQE for one WR
Under rare circumstances, the ehca hardware might erroneously generate
two CQEs for the same WQE, which is not compliant to the IB spec and
will cause unpredictable errors like memory being freed twice. To avoid
this problem, the driver needs to detect the second CQE and discard it.
For this purpose, introduce an array holding as many elements as the SQ
of the QP, called sq_map. Each sq_map entry stores a "reported" flag
for one WQE in the SQ. When a work request is posted to the SQ, ...
| Aug 12, 5:49 am 2008 |
| Alexander Schmidt | [PATCH 4/5] ib/ehca: check idr_find() return value
The idr_find() function may fail when trying to get the QP that is
associated with a CQE, e.g. when a QP has been destroyed between the
generation of a CQE and the poll request for it. In consequence, the
return value of idr_find() must be checked and the CQE must be
discarded when the QP cannot be found.
Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
---
drivers/infiniband/hw/ehca/ehca_reqs.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- ...
| Aug 12, 5:49 am 2008 |
| Alexander Schmidt | [PATCH 2/5] ib/ehca: rename goto label
Rename the "poll_cq_one_read_cqe" goto label to what it actually does,
"repoll".
Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
---
drivers/infiniband/hw/ehca/ehca_reqs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- infiniband.git.orig/drivers/infiniband/hw/ehca/ehca_reqs.c
+++ infiniband.git/drivers/infiniband/hw/ehca/ehca_reqs.c
@@ -589,7 +589,7 @@ static inline int ehca_poll_cq_one(struc
struct ehca_qp *my_qp;
int cqe_count = 0, is_error;
...
| Aug 12, 5:49 am 2008 |
| jay kumar | Warning : recursive locking detected 2.6.27-rc2-next-20080811
Recursive lock warning while testing linux-next 11 Aug
Method to reproduce :
Login and open a xterm or a gnome terminal and observe the output of dmesg
commit 299be36648adc14e4627173d00c18b11d08e5ecd
Author: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon Aug 11 16:30:46 2008 +1000
[ 90.085857] =============================================
[ 90.092752] [ INFO: possible recursive locking detected ]
[ 90.098148] 2.6.27-rc2-next-20080811 #18
[ 90.102072] ...
| Aug 12, 5:37 am 2008 |
| Torsten Kaiser | 2.6.27-rc2:stall while mounting root fs
Hello,
twice while booting 2.6.27-rc2 my system stalled after printing
"Mounting root..." until I hit a key.
I did not see this with 2.6.27-rc1.
The system is booted via an initial ramdisk, because the root fs is
encrypted on a RAID5 consisting of 3 sata drives, two on sata_sil24
and one on sata_nv.
The second time, I uses SysRq+P,Q,W to dump some state. The SysRq keys
did not resume the boot, only after hitting enter the system continued
to start normally.
From dmesg:
[ 2.419290] ...
| Aug 12, 5:37 am 2008 |
| Ryo Tsuruta | [PATCH 3/7] bio-cgroup: Introduction
With this series of bio-cgruop patches, you can determine the owners of any
type of I/Os and it makes dm-ioband -- I/O bandwidth controller --
be able to control the Block I/O bandwidths even when it accepts
delayed write requests.
Dm-ioband can find the owner cgroup of each request.
It is also possible that the other people who work on the I/O
bandwidth throttling use this functionality to control asynchronous
I/Os with a little enhancement.
You have to apply the patch dm-ioband v1.5.0 before ...
| Aug 12, 5:34 am 2008 |
| Ryo Tsuruta | [PATCH 7/7] bio-cgroup: Add a cgroup support to dm-ioband
With this patch, dm-ioband can work with the bio cgroup.
Based on 2.6.27-rc1-mm1
Signed-off-by: Ryo Tsuruta <ryov@valinux.co.jp>
Signed-off-by: Hirokazu Takahashi <taka@valinux.co.jp>
diff -Ndupr linux-2.6.27-rc1-mm1.cg2/drivers/md/dm-ioband-type.c linux-2.6.27-rc1-mm1.cg3/drivers/md/dm-ioband-type.c
--- linux-2.6.27-rc1-mm1.cg2/drivers/md/dm-ioband-type.c 2008-08-12 14:45:59.000000000 +0900
+++ linux-2.6.27-rc1-mm1.cg3/drivers/md/dm-ioband-type.c 2008-08-12 15:07:03.000000000 +0900
@@ -6,6 ...
| Aug 12, 5:37 am 2008 |
| Ryo Tsuruta | [PATCH 2/7] dm-ioband: Documentation of design overview, ...
Here is the documentation of design overview, installation, command
reference and examples.
Based on 2.6.27-rc1-mm1
Signed-off-by: Ryo Tsuruta <ryov@valinux.co.jp>
Signed-off-by: Hirokazu Takahashi <taka@valinux.co.jp>
diff -uprN linux-2.6.27-rc1-mm1.orig/Documentation/device-mapper/ioband.txt linux-2.6.27-rc1-mm1/Documentation/device-mapper/ioband.txt
--- linux-2.6.27-rc1-mm1.orig/Documentation/device-mapper/ioband.txt 1970-01-01 09:00:00.000000000 +0900
+++ ...
| Aug 12, 5:34 am 2008 |
| Ryo Tsuruta | [PATCH 5/7] bio-cgroup: Remove a lot of "#ifdef"s
This patch is for cleaning up the code of the cgroup memory subsystem
to remove a lot of "#ifdef"s.
Based on 2.6.27-rc1-mm1
Signed-off-by: Ryo Tsuruta <ryov@valinux.co.jp>
Signed-off-by: Hirokazu Takahashi <taka@valinux.co.jp>
diff -Ndupr linux-2.6.27-rc1-mm1.cg0/mm/memcontrol.c linux-2.6.27-rc1-mm1.cg1/mm/memcontrol.c
--- linux-2.6.27-rc1-mm1.cg0/mm/memcontrol.c 2008-08-12 14:47:11.000000000 +0900
+++ linux-2.6.27-rc1-mm1.cg1/mm/memcontrol.c 2008-08-12 14:47:40.000000000 +0900
@@ -228,6 ...
| Aug 12, 5:36 am 2008 |
| Ryo Tsuruta | [PATCH 1/7] dm-ioband: Patch of device-mapper driver
This is the dm-ioband version 1.5.0 release.
Dm-ioband is an I/O bandwidth controller implemented as a device-mapper
driver, which gives specified bandwidth to each job running on the same
physical device.
- Can be applied to the kernel 2.6.27-rc1-mm1.
- Changes from 1.4.0 (posted on Aug 4, 2008):
- Support bvec merge function.
This removes a restriction which limits the maximum I/O size to
PAGE_SIZE when the underlying device, such as software RAID, has
its own merge ...
| Aug 12, 5:33 am 2008 |
| Ryo Tsuruta | [PATCH 4/7] bio-cgroup: Split the cgroup memory subsyste ...
This patch splits the cgroup memory subsystem into two parts.
One is for tracking pages to find out the owners. The other is
for controlling how much amount of memory should be assigned to
each cgroup.
With this patch, you can use the page tracking mechanism even if
the memory subsystem is off.
Based on 2.6.27-rc1-mm1
Signed-off-by: Ryo Tsuruta <ryov@valinux.co.jp>
Signed-off-by: Hirokazu Takahashi <taka@valinux.co.jp>
diff -Ndupr linux-2.6.27-rc1-mm1.ioband/include/linux/memcontrol.h ...
| Aug 12, 5:35 am 2008 |
| Ryo Tsuruta | [PATCH 6/7] bio-cgroup: Implement the bio-cgroup
This patch implements the bio cgroup on the memory cgroup.
Based on 2.6.27-rc1-mm1
Signed-off-by: Ryo Tsuruta <ryov@valinux.co.jp>
Signed-off-by: Hirokazu Takahashi <taka@valinux.co.jp>
diff -Ndupr linux-2.6.27-rc1-mm1.cg1/block/blk-ioc.c linux-2.6.27-rc1-mm1.cg2/block/blk-ioc.c
--- linux-2.6.27-rc1-mm1.cg1/block/blk-ioc.c 2008-07-29 11:40:31.000000000 +0900
+++ linux-2.6.27-rc1-mm1.cg2/block/blk-ioc.c 2008-08-12 14:47:59.000000000 +0900
@@ -84,24 +84,28 @@ void exit_io_context(void)
}
...
| Aug 12, 5:36 am 2008 |
| Ryo Tsuruta | [PATCH 0/7] I/O bandwidth controller and BIO tracking
Hi everyone,
Here are new releases of dm-ioband and bio-cgroup.
The major change from the previous version is that dm-ioband now supports
a device-mapper bvec merge function, which removes the restriction that
the device-mapper framework automatically splits a I/O request into
several small I/O requests. The size of I/O requests was limited to
PAGE_SIZE when the underlying device, such as software RAID, had its
own merge function. This restriction had ever been applied to all
device-mapper ...
| Aug 12, 5:31 am 2008 |
| David Woodhouse | [PATCH] Fix date output in x86 microcode driver.
The microcode stores its date in a uint32_t in some weird order
approximating pdp-endian. Rather than printing it like that, print it
properly in ISO standard form.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
diff --git a/arch/x86/kernel/microcode.c b/arch/x86/kernel/microcode.c
index 652fa5c..394fbdd 100644
--- a/arch/x86/kernel/microcode.c
+++ b/arch/x86/kernel/microcode.c
@@ -343,8 +343,9 @@ static void apply_microcode(int cpu)
return;
}
printk(KERN_INFO ...
| Aug 12, 5:25 am 2008 |
| Ed Tomlinson | 2.6.26-2 BUG: unable to handle kernel paging request (em28xx)
Hi,
On x86_64, UP, 1.2G Ram with a Hauppauge WinTV-HVR 950, v4l2, and mplayer I encounted the following panic:
(arg: 2) [107637.465310] BUG: unable to handle kernel paging request at ffffc208[107637.466007] IP: [<ffffffff80332dbb>] memcpy_c+0xb/0x20
[107637.466007] PGD 4f810067 PUD 4f811067 PMD 4fbb4067 PTE 0
[107637.466007] Oops: 0002 [1] PREEMPT
[107637.466007] CPU 0
[107637.466007] Modules linked in: lgdt330x em28xx_dvb dvb_core tuner_xc2028 fix[107637.466007] Pid: 31414, comm: konsole Not ...
| Aug 12, 5:12 am 2008 |
| Rakib Mullick | Re: [PATCH] cgroup.c: Some 'hlist_head' function fixes.
Yes, maybe your right. Ok, I'll go through the code again. If it's
Yes, I've noticed it too. I just forgot to do that. Actually, when I
reply to thread, I just think about that one. This could be a reason
for missing.
--
| Aug 12, 5:12 am 2008 |
| Hirokazu Takahashi | Re: RFC: I/O bandwidth controller
SGksDQoNCj4gPiBGZXJuYW5kbyBMdWlzIFbDoXpxdWV6IENhbyB3cm90ZToNCj4gPiA+Pj4gVGhp
cyBzZWVtcyB0byBiZSB0aGUgZWFzaWVzdCBwYXJ0LCBidXQgdGhlIGN1cnJlbnQgY2dyb3Vwcw0K
PiA+ID4+PiBpbmZyYXN0cnVjdHVyZSBoYXMgc29tZSBsaW1pdGF0aW9ucyB3aGVuIGl0IGNvbWVz
IHRvIGRlYWxpbmcgd2l0aCBibG9jaw0KPiA+ID4+PiBkZXZpY2VzOiBpbXBvc3NpYmlsaXR5IG9m
IGNyZWF0aW5nL3JlbW92aW5nIGNlcnRhaW4gY29udHJvbCBzdHJ1Y3R1cmVzDQo+ID4gPj4+IGR5
bmFtaWNhbGx5IGFuZCBoYXJkY29kaW5nIG9mIHN1YnN5c3RlbXMgKGkuZS4gcmVzb3VyY2UgY29u
dHJvbGxlcnMpLg0KPiA+ID4+PiBUaGlzIG1ha2Vz ...
| Aug 12, 4:10 am 2008 |
| Fernando Luis | Re: RFC: I/O bandwidth controller
Yes, it would be really cool if we could provide hard bandwidth
guarantees but it certainly does not look like a trivial task. To
achieve that, among other things, we would need to take into account
both the topology of block devices (RAID type, etc) and the physical
characteristics of the disks that compose them.
The former problem could be tackled at the block layer, since it is
there that stacking devices are implemented. But it is the elevators who
should examine the characteristics of ...
| Aug 12, 6:15 am 2008 |
| Fernando Luis | Re: RFC: I/O bandwidth controller
Please note that the seek time for a specific IO request is strongly
correlated with the IO requests that preceded it, which means that the
owner of that request is not the only one to blame if it takes too long
to process it. In other words, with the algorithm you propose we may end
up charging the wrong guy.
--
| Aug 12, 6:54 am 2008 |
| Andrea Righi | Re: RFC: I/O bandwidth controller
BTW as I said in a previous email, an interesting path to be explored
IMHO could be to think in terms of IO time. So, look at the time an IO
request is issued to the drive, look at the time the request is served,
evaluate the difference and charge the consumed IO time to the
appropriate cgroup. Then dispatch IO requests in function of the
consumed IO time debts / credits, using for example a token-bucket
strategy. And probably the best place to implement the IO time
accounting is the ...
| Aug 12, 6:07 am 2008 |
| Andrea Righi | Re: RFC: I/O bandwidth controller
mmh.. yes. The only scenario I can imagine where this solution is not
fair is when there're a lot of guys always requesting the same near
blocks and a single guy looking for a single distant block (supposing
disk seeks are more expensive than read/write ops).
In this case it would be fair to charge a huge amount only to the guy
requesting the single distant block and distribute the cost of the seek
to move back the head equally among the other guys. Using the algorighm
I proposed, instead, ...
| Aug 12, 1:44 pm 2008 |
| Andrea Righi | Re: RFC: I/O bandwidth controller
With IO limiting approach minimum requirements are supposed to be
guaranteed if the user configures a generic block device so that the sum
of the limits doesn't exceed the total IO bandwidth of that device. But,
in principle, there's nothing in "throttling" that guarantees "fairness"
among different cgroups doing IO on the same block devices, that means
there's nothing to guarantee minimum requirements (and this is the
reason because I liked the Satoshi's CFQ-cgroup approach together ...
| Aug 12, 5:55 am 2008 |
| Austin Zhang | [PATCH]Clean-up for crypto Intel CRC32 code.
Herbert and Ulrich, sorry for late reply.
see below.
This patch was created against cryptodev-2.6
Clean-up by new MACRO;
Signed-off-by: Austin Zhang <austin.zhang@intel.com>
---
crc32c-intel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -Naurp cryptodev-2.6/arch/x86/crypto/crc32c-intel.c cryptodev-2.6-patch/arch/x86/crypto/crc32c-intel.c
--- cryptodev-2.6/arch/x86/crypto/crc32c-intel.c 2008-08-12 04:44:00.000000000 -0400
+++ ...
| Aug 12, 3:23 am 2008 |
| Pavel Machek | acpi: trivial cleanups
Trivial cleanups for ACPI. Fix misspelling in printk(), fix mismerge,
add file header.
Signed-off-by: Pavel Machek <pavel@suse.cz>
---
commit 2d81db56ce92e04b57b76c0ca6a9b57432bf8fce
tree e3c47f9a5448b5be5f64224229d6eac3320d12e4
parent 7f8e83c414b78ee89b8e59c1a1cb74937f519be4
author Pavel <pavel@amd.ucw.cz> Tue, 12 Aug 2008 12:20:29 +0200
committer Pavel <pavel@amd.ucw.cz> Tue, 12 Aug 2008 12:20:29 +0200
drivers/acpi/processor_core.c | 2 +-
drivers/acpi/processor_idle.c | 1 -
...
| Aug 12, 3:24 am 2008 |
| Andrew Morton | Re: acpi: trivial cleanups
On Tue, 12 Aug 2008 12:24:34 +0200
That was a trivial dirtyup. Should at least be "Distributed under the
GPL" but I suspect that the policy in drivers/acpi/ is to add fancier
copyright text than this.
--
| Aug 12, 4:20 pm 2008 |
| Andreas Herrmann | [PATCH] alloc_bootmem_core: fix misaligned allocation of ...
If memory hole remapping is enabled on an x86-NUMA system, allocation
of 1G pages on node 1 will most probably trigger an BUG_ON in
alloc_bootmem_huge_page because alloc_bootmem_core fails to properly
align the huge page on a 1G boundary.
I've observed this Oops with kernel 2.6.27-rc2-00166-gaeee90d
with a 2 socket system and activated memory hole remapping.
(Of course disabling memory hole remapping works around the problem
but this wastes a significant amount of memory.)
Here some dmesg ...
| Aug 12, 2:53 am 2008 |
| Johannes Weiner | Re: [PATCH] alloc_bootmem_core: fix misaligned allocatio ...
Hi Andreas,
Yeah, the problem of rewriting working code is that you're likely to
It did, there were workarounds for the same problem in the earlier code,
I missed it.
The misalignment stems from the fact that the alignment requirement is
wider than the offset-pfn and the starting pfn of the node is not
aligned itself, correct?
I think, the cleaner fix would be to work with an aligned base pfn to
begin with, like the following, untested. What do you think?
Hannes
diff --git ...
| Aug 12, 9:58 am 2008 |
| Neil Brown | Re: [PATCH 05/30] mm: slb: add knowledge of reserve pages
I see.... a little. I'm trying to avoid understanding slub too
deeply, I don't want to use up valuable brain cell :-)
Would we be justified in changing the label from 'debug:' to
'slow_path:' or something? And if it is just c->reserve, should
we avoid the call to alloc_debug_processing?
Thanks,
--
| Aug 12, 2:35 am 2008 |
| Peter Zijlstra | Re: [PATCH 05/30] mm: slb: add knowledge of reserve pages
Could do I guess.
Index: linux-2.6/mm/slub.c
===================================================================
--- linux-2.6.orig/mm/slub.c
+++ linux-2.6/mm/slub.c
@@ -1543,7 +1543,7 @@ load_freelist:
if (unlikely(!object))
goto another_slab;
if (unlikely(PageSlubDebug(c->page) || c->reserve))
- goto debug;
+ goto slow_path;
c->freelist = object[c->offset];
c->page->inuse = c->page->objects;
@@ -1586,11 +1586,21 @@ grow_slab:
goto load_freelist;
}
return ...
| Aug 12, 3:23 am 2008 |
| Neil Brown | Re: [PATCH 02/30] mm: gfp_to_alloc_flags()
Oh yes, obvious when you explain it, thanks.
cat << END >> Changelog
As the test
- if (((p->flags & PF_MEMALLOC) || unlikely(test_thread_flag(TIF_MEMDIE)))
- && !in_interrupt()) {
- if (!(gfp_mask & __GFP_NOMEMALLOC)) {
has been replaced with a slightly strong
+ if (alloc_flags & ALLOC_NO_WATERMARKS) {
we need to ensure we don't recurse when PF_MEMALLOC is set
END
??
Thanks,
NeilBrown
--
| Aug 12, 2:33 am 2008 |
| Bartlomiej Zolnierki ... | [PATCH] sgiioc4: fixup message on resource allocation failure
There can be more than one sgiioc4 card in the system so print
also PCI device name on resource allocation failure (so we know
which one is the problematic one).
Reported-by: Jeremy Higdon <jeremy@sgi.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/pci/sgiioc4.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: b/drivers/ide/pci/sgiioc4.c
===================================================================
--- ...
| Aug 12, 2:27 am 2008 |
| Christoph Lameter | Re: [BUG] linux-next: Tree for August 11/12 - powerpc - ...
Reboot and switch on debugging by either specifying slub_debug as a kernel
command line parameter or setting CONFIG_SLUB_DEBUG_ON. This looks like the
freelists are corrupted. Could be a use after free or something.
--
| Aug 12, 11:28 am 2008 |
| Stephen Rothwell | linux-next: Tree for August 12
Hi all,
Changes since next-20080811:
The arm-current tree gained a trivial whitespace conflict against Linus'
tree (unreported).
The ide tree gained a build fix patch.
The acpi tree gained a build fix patch.
The vfs tree gained 2 conflicts against the xfs tree and one against the
nfsd tree.
The ubifs tree gained a build failure which required a revert to a commit
(interaction with the vfs tree).
The ttydev tree gained 2 conflicts against Linus' tree and against the
usb.current ...
| Aug 12, 1:53 am 2008 |
| Kamalesh Babulal | [BUG] linux-next: Tree for August 11/12 - powerpc - oops ...
Hi,
2.6.27-rc2-next20080811/12 kernel oopses at various places,
while booting up on the powerpc box
eth0 device: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)
eth0 configuration: eth-Unable to handle kernel paging request for data at address 0xc00000077cb7a8
Faulting instruction address: 0xc0000000000df740
Oops: Kernel access of bad area, sig: 11 [#1]
SMP NR_CPUS=128 NUMA pSeries
Modules linked in:
NIP: c0000000000df740 LR: c0000000000df6d0 CTR: ...
| Aug 12, 10:32 am 2008 |
| Johannes Weiner | Re: [PATCH] Documentation: describe bootmem_debug kernel ...
Hi,
You are right, thanks.
Hannes
--
| Aug 12, 10:23 am 2008 |
| Andreas Herrmann | [PATCH] Documentation: describe bootmem_debug kernel parameter
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
---
Documentation/kernel-parameters.txt | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
"bootmem_debug" is not mentioned in kernel-parameters.txt. Recently I
had to use that kernel option and I think it should be documented.
Regards,
Andreas
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index e7bea3e..a897646 100644
--- a/Documentation/kernel-parameters.txt
+++ ...
| Aug 12, 1:47 am 2008 |
| Ben Dooks | MMC: s3cmci: attach get_cd host ops
Attach the routine to get_cd to allow the MMC core to find out whether
there is a card present or not without the tedious process of trying to
send commands to the card or not.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Index: linux-2.6.27-rc2-quilt3/drivers/mmc/host/s3cmci.c
===================================================================
--- linux-2.6.27-rc2-quilt3.orig/drivers/mmc/host/s3cmci.c 2008-08-11 23:33:09.000000000 +0100
+++ ...
| Aug 12, 1:24 am 2008 |
| Rusty Russell | [PULL] misc fixes
(Little hard-to-categorize crap, but I'm lazy. I'll send multiple pull
requests if you ignore this, so feel free).
The following changes since commit 10fec20ef5eec1c91913baec1225400f0d02df40:
Linus Torvalds (1):
Merge branch 'for-linus' of git://git.o-hand.com/linux-mfd
are available in the git repository at:
ssh://master.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus.git master
Arjan van de Ven (1):
modules: extend initcall_debug functionality to the ...
| Aug 12, 1:06 am 2008 |
| Neil Brown | Re: [PATCH 12/30] mm: memory reserve management
Two comments to be precise.
1/ __kmalloc_reserve attempts a __GFP_NOMEMALLOC allocation, and then
if that fails, ___kmalloc_reserve immediately tries again.
Is that pointless? Should the second one be removed?
2/ mem_reserve_kmalloc_charge appears to assume that the 'mem_reserve'
has been 'connected' and so is active.
While callers probably only set GFP_MEMALLOC in cases where the
mem_reserve is connected, ALLOC_NO_WATERMARKS could get via
PF_MEMALLOC so we could end ...
| Aug 12, 12:46 am 2008 |
| Peter Zijlstra | Re: [PATCH 12/30] mm: memory reserve management
Pretty pointless yes, except that it made ___kmalloc_reserve a nicer
function to read, and as its an utter slow path I couldn't be arsed to
Hmm, that would be __mem_reserve_charge() then, because the callers
Uhmm,. good point. Let me ponder this while I go for breakfast ;-)
--
| Aug 12, 1:12 am 2008 |
| Eric Benton | [Fwd: how to add support in coretemp.c for Q9450 processor]
Hi,
To add coretemp (thermal monitoring) support for the Intel Q9450
processor add the code below. i have tested this on several kernels
including 2.6.26 and it works fine. the code addition is
*||(c->x86_model == 0x17) in the if statement*
Thanks
Eric
*in:*
drivers/hwmon/coretemp.c
*in function:*
static int __init coretemp_init(void)
*change:*
if ((c->cpuid_level < 0) || (c->x86 != 0x6) ||
!((c->x86_model == 0xe) || (c->x86_model == 0xf) ||
...
| Aug 12, 12:29 am 2008 |
| Peter Zijlstra | Re: [PATCH 12/30] mm: memory reserve management
against __mem_reserve_charge(), granted, the race would be minimal at
weirdness in my brain when I wrote that I guess, shall ammend!
--
| Aug 12, 1:10 am 2008 |
| Neil Brown | Re: [PATCH 12/30] mm: memory reserve management
This looks quite different to last time I looked at the code (I
think).
You now have a more structured "kmalloc_reserve" interface which
returns a flag to say if the allocation was from an emergency pool. I
think this will be a distinct improvement at the call sites, though I
I cannot figure out why the spinlock is being used to protect updates
to 'limit'.
As far as I can see, mem_reserve_mutex already protects all those
updates.
Why not just
if (emerg)
*emerg = 1.
I can't ...
| Aug 11, 11:23 pm 2008 |
| Linus Torvalds | Re: [RFC] readdir mess
I think it just makes things more confused.
If we actually want to change the readdir() thing, then we should just
make the rule be:
- if the callback returns a non-zero value, the filesystem "readdir()"
function should return that value (right now they are taught to return
zero, and return errors on internal fatal things). And get rid of
"buf.error" entirely.
The reason for the whole "buf.error" etc stuff is simply because that
avoided having the low-level ...
| Aug 12, 10:18 am 2008 |
| Linus Torvalds | Re: [RFC] readdir mess
Umm. What does that matter wrt what I said?
What does that matter wrt your bogus argument about EIO (which we do
_wrong_ right now, exactly because we return EIO too eagerly, instead of
returning the partial data we got)?
vfs_readdir() itself would not change AT ALL. The change I talked about
was in the caller. Which you should realize, since I actually _called_
vfs_readdir() in that example code.
Here's a patch to get the _semantics_ I talked about, to make the thing
more ...
| Aug 12, 2:04 pm 2008 |
| Linus Torvalds | Re: [RFC] readdir mess
.. I actually had an old binary that triggered that case (actually, it was
O_LARGEFILE in open()), and didn't work as a result. I only needed to run
it once, so I literally hacked up a once-time-use kernel that just removed
the EOVERFLOW in open.
So no, I'm not a fan of EOVERFLOW at all. Not in readdir(), not really
anywhere else.
Linus
--
| Aug 12, 1:05 pm 2008 |
| Al Viro | Re: [RFC] readdir mess
Would you care to grep for vfs_readdir() in the tree? It's not just
sys_getdents(); for better of worse the thing had become a general-purpose
iterator. And I'm not suggesting to pass the damn thing to caller of
sys_getdents(). At all.
--
| Aug 12, 1:38 pm 2008 |
| Alan Cox | Re: [RFC] readdir mess
Libc 2 still worked as of early 2.6. I've not tried it more recently as I
Important ones anyway as you needed the exact matching libc.
--
| Aug 12, 3:10 pm 2008 |
| Al Viro | Re: [RFC] readdir mess
PS: we might get away with both, if we used _positive_ values as well.
E.g. have getdents() filldir return 1 if we are out of buffer *and*
have ->previous != NULL (and -EINVAL if we are out of buffer on the
first call)... And have some other positive constant for "->readdir()
didn't feel like going all the way to the end of directory".
--
| Aug 12, 11:22 am 2008 |
| OGAWA Hirofumi | Re: [RFC] readdir mess
However, there are some similar stuff: ->st_size, ->st_nlink and
->st_ino in stat() (cp_old_stat()). Maybe EOVERFLOW is the reason for
consistency...
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--
| Aug 12, 12:45 pm 2008 |
| Linus Torvalds | Re: [RFC] readdir mess
No I've not.
If we returned a partial result, we _should_ return a partial result.
And if we got EIO on the first entry, we should return EIO.
The _current_ code is crap. It sometimes returns the error (if the
->readdir() function returned error), and sometimes returns the partial
Keeping them simple (and not changing them - always returning zero is what
the _original_ readdir() thing did!) is why the current situation exists.
So if we keep it that way, then we really *KEEP* ...
| Aug 12, 1:02 pm 2008 |
| Alan Cox | Re: [RFC] readdir mess
On Tue, 12 Aug 2008 13:05:43 -0700 (PDT)
In a lot of places the standard mandates it to ensure you don't get nasty
suprises. There are places where during the LFS work people found apps
whose large file response was unpleasant - things like "get the file
length, reduce it to an exact number of records long with ftruncate in
case we got a partial record write somewhere" do horrible things when the
length wraps.
That said there is nothing that says we can't have a 'posix_me_harder'
sysfs ...
| Aug 12, 2:47 pm 2008 |
| Linus Torvalds | Re: [RFC] readdir mess
You'd truncate the inode number. What's the big deal? Inode numbers aren't
that important - they're just about the _least_ important part of the data
returned for a readdir.
Sure, truncating the inode number may confuse some programs like old-style
/bin/pwd, but the thing is, we effectively _already_ do that by generating
essentially random numbers for filesystems that don't have UNIX-style
The thing is, the "probably" is likely "probably not". There's a lot of
things that work ...
| Aug 12, 2:24 pm 2008 |
| Al Viro | Re: [RFC] readdir mess
FWIW, how about that sequence:
Patch 1:
Turn all filldir(...) < 0 into filldir() != 0 in ->readdir() instances,
no changes other than that. Everything should keep working as-is.
Patch 2:
Make fillonedir() return 1 on the second call; make filldir() et.al.
return 1 instead of -EINVAL if we have ->previous != NULL. Again,
should be no breakage.
Patch 3: switch ->readdir() to your "return anything non-null we got from
callback". AFAICS, main callers will see no breakage, but in any ...
| Aug 12, 11:37 am 2008 |
| Al Viro | Re: [RFC] readdir mess
you've just lost e.g. -EIO for getdents(). And if you bail out on
non-zero return value from vfs_readdir(), you are back to -EINVAL
on full buffer.
Frankly, I'd rather keep ->readdir() instances simpler. There are far
more of those, for one thing. As it is, we only have "stop"/"continue"
->readdir() has to care about...
There's one more thing in that mess: a bunch of vfs_readdir() callers
end up playing very sick games to make sure they get the entire
directory. The trick is to find ...
| Aug 12, 11:10 am 2008 |
| OGAWA Hirofumi | Re: [RFC] readdir mess
Personally, I'd like latter than would it work. And I hope we don't do
this again... In the case of -EOVERFLOW, even current generic filldir()
is strange like following, and I saw simular in past.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
The return value of fillonedir/filldir() is for the caller of
fillonedir/filldir(). If we want to tell the result to the caller of
->readdir(), we need to set it to buf->result/error.
This fixes -EOVERFLOW case, and cleans up related ...
| Aug 12, 10:02 am 2008 |
| Linus Torvalds | Re: [RFC] readdir mess
Btw, this whole sentence, and the one from your next email seems to really
We *must* handle partial returns by returning "success". And we do,
except for our _confusion_ about ->readdir() returning error and that
somehow "overriding" the fact that it already returned non-errors earlier
through the callback.
All your blathering about "positive values as well" seems to ttoally
misunderstand how readdir() works. We absolutely do *not* need positive
return values, because the fact is, ...
| Aug 12, 1:21 pm 2008 |
| Al Viro | Re: [RFC] readdir mess
aargh...
Patch 2.5:
Fix braindead instances of ->readdir() that return odd crap on success
(e.g. coda_readdir() returning the count of filldir calls that had returned
--
| Aug 12, 12:24 pm 2008 |
| Linus Torvalds | Re: [RFC] readdir mess
Yeah. That said, I doubt it's a very common problem in practice. I'm
pretty sure nobody really cares, and almost nobody really wants to run
really old binaries. So it's almost certainly not worth it (and the one
time I had it happen, I didn't bother to do it right, I just hacked around
it and obviously never committed the hack).
I just find it a bit sad how well we actually _can_ run old binaries, but
sometimes there are these new things that were literally designed to break ...
| Aug 12, 3:20 pm 2008 |
| Al Viro | [RFC] readdir mess
When getdents() had been introduced in 1.3.0, ->readdir() has grown
a callback and became an iterator. The type of that iterator had been
a Bloody Bad Idea(tm); it returns a value that gets reduced to one bit
by all callers. Basically it's "do we stop or do we move to the next
entry?". 0 means "go on" for all ->readdir() instances, negative - "stop".
Positives are treated inconsistently.
Note that it can not be used to return an error. In particular,
the callback of getdents(2) returns ...
| Aug 11, 11:22 pm 2008 |
| Al Viro | Re: [RFC] readdir mess
Um... Here it would happen only on attempt to return an entry for file
that really has an inumber not fitting into the field; what would you
do in such case? open() on a huge file is a different story, since you
would get a valid opened file and that'd be it; the logics in case of
open() is, IIRC, "I guess your binary is old, so it'll probably do other
things that would really have to trigger -EOVERFLOW; better bail out right
now". In this case, though, you either generate an error or get ...
| Aug 12, 1:59 pm 2008 |
| Al Viro | Re: [RFC] readdir mess
I suspect that SUS specifies that crap in some cases, but I honestly do not
remember. For large offsets, that is. Large inode numbers are more recent
and hit relatively few filesystems. OTOH, I suspect that most of getdents()
call sites are in libc anyway...
Anyway, the point for getdents() is simply that we *do* return an error; it's
just that it ends up with -EINVAL instead of -EOVERFLOW, and that's simply
bogus - we should either truncate silently or return the right value. The
code ...
| Aug 12, 2:54 pm 2008 |
| Linus Torvalds | Re: [RFC] readdir mess
The thing is, you still have the low 32 (or 16) bits, so even tar is
better off most of the time.
Let's face it, we actually always truncate things as-is. What are inode
numbers on NFS but truncated file handles?
And the other side of the coin is that legacy binaries are almost never
_system_ binaries. You upgrade those with your system They are some odd
I agree. However, the reason it f*cks up is exactly the fact that we have
two different error numbers, which was why I ...
| Aug 12, 3:04 pm 2008 |
| Nick Piggin | Re: [patch 12/17] vfs: pagecache usage optimization for ...
That would fix it, yes. But now the patch is no longer a single
predictable branch but will make the code measurably larger and
slower. On some architectures these can cost hundreds or thousands
of cycles.
So IMO it requires either more thought for a better fix, or we
now need more justification that we want to do this rather than
a artificial microbenchmark numbers.
--
| Aug 11, 11:07 pm 2008 |
| Hisashi Hifumi | Re: [patch 12/17] vfs: pagecache usage optimization for ...
I think the same issue that your patch 0ed361dec36945f3116ee
1338638ada9a8920905 "fix PageUptodate data race" pointed out
is there around buffer_head without my patch "vfs: pagecache usage
optimization for pagesize!=blocksize".
Because set_buffer_uptodate or buffer_uptodate are used without
distinct locking facility (lock_buffer, or lock_page) in many places,
so it would be needed to deal with memory ordering issue.
--
| Aug 11, 8:57 pm 2008 |
| Neil Brown | Re: [PATCH 05/30] mm: slb: add knowledge of reserve pages
This looks suspiciously like debugging code that you have left in.
This sort of thing always worries me.
It is a per-cpu data structure so you won't get SMP races corrupting
fields. But you do get read-modify-write in place of simple updates.
I guess it's not a problem.. But it worries me :-)
NeilBrown
--
| Aug 11, 10:35 pm 2008 |
| Peter Zijlstra | Re: [PATCH 05/30] mm: slb: add knowledge of reserve pages
Its not, we need to force slub into the debug slow path when we have a
reserve page, otherwise we cannot do the permission check on each
Right,.. do people prefer I just add another int?
--
| Aug 12, 12:22 am 2008 |
| Neil Brown | Re: [PATCH 02/30] mm: gfp_to_alloc_flags()
This patch all looks "obviously correct" and a nice factorisation of
I don't remember seeing it before (though my memory is imperfect) and
it doesn't seem to fit with the rest of the patch (except spatially).
There is a test above for PF_MEMALLOC which will result in a "goto"
somewhere else unless "in_interrupt()".
There is immediately above a test for "!wait".
So the only way this test can fire is when in_interrupt and wait.
But if that happens, then the
might_sleep_if(wait)
at the top ...
| Aug 11, 10:01 pm 2008 |
| Peter Zijlstra | Re: [PATCH 02/30] mm: gfp_to_alloc_flags()
Ok, so the old code did:
if (((p->flags & PF_MEMALLOC) || ...) && !in_interrupt) {
....
goto nopage;
}
which avoid anything that has PF_MEMALLOC set from entering into direct
reclaim, right?
Now, the new code reads:
if (alloc_flags & ALLOC_NO_WATERMARK) {
}
Which might be false, even though we have PF_MEMALLOC set -
__GFP_NOMEMALLOC comes to mind.
So we have to stop that recursion from happening.
so we add:
if (p->flags & PF_MEMALLOC)
goto ...
| Aug 12, 12:33 am 2008 |
| Hugh Dickins | Re: 2.6.27-rc2-git5 BUG: unable to handle kernel paging ...
No "Code:" line? Never mind, much more useful would be the
"objdump -d vmlinux" extract for unmap_vmas() - please send me or
the list that output if you still have or can reconstruct vmlinux.
I'm pretty sure it's oopsing on line 755 of mm/memory.c, the PageAnon
test in zap_pte_range(); but would like to confirm that and see if
there's any more info to be gleaned from the registers above.
It looks like a case of page table corruption. RAX and RSI appear to
be holding pte 0x8631b98b, which ...
| Aug 12, 7:10 am 2008 |
| Randy Dunlap | 2.6.27-rc2-git5 BUG: unable to handle kernel paging request
on x86_64, SMP, 8 GB RAM:
BUG: unable to handle kernel paging request at ffffe20001d5ae00
IP: [<ffffffff8027c08f>] unmap_vmas+0x42d/0x7a0
PGD 28102067 PUD 28103067 PMD 0
Oops: 0000 [1] SMP
CPU 3
Modules linked in: lpfc(+) cciss ehci_hcd ohci_hcd uhci_hcd
Pid: 1382, comm: udevd Not tainted 2.6.27-rc2-git5 #1
RIP: 0010:[<ffffffff8027c08f>] [<ffffffff8027c08f>] unmap_vmas+0x42d/0x7a0
RSP: 0018:ffff88027dcffd68 EFLAGS: 00010246
RAX: 000000008631b98b RBX: ffffe20001d5ade8 RCX: ...
| Aug 11, 9:18 pm 2008 |
| Randy Dunlap | Re: 2.6.27-rc2-git5 BUG: unable to handle kernel paging ...
I don't have vmlinux -- will see about reconstructing it.
Sorry about the missing Code: etc. lines.
(I blame the 2 blank lines after the Call Trace...)
Here they are:
Code: 48 85 c9 74 26 4c 89 e8 48 2b 41 08 48 8b 53 20 48 c1 e8 0c 48 03 81 88 00 00 00 48 39 d0 74 0b 48 c1 e2 0c 48 83 ca 40 49 89 16 <f6> 43 18 01 74 05 ff 4d a8 eb 25 41 89 f4 41 81 e4 ff 0f 00 00
RIP [<ffffffff8027c08f>] unmap_vmas+0x42d/0x7a0
RSP <ffff88027dcffd68>
BIOS-provided physical RAM map:
BIOS-e820: ...
| Aug 12, 8:53 am 2008 |
| Steven Rostedt | Re: ftrace_enabled_save/restore
Ingo,
Can you pull this into linux-tip.
Thanks,
-- Steve
--
| Aug 11, 8:46 pm 2008 |
| Huang Ying | [PATCH -v3 7/7] kexec jump: fix for ftrace
Ftrace depends on some processor state that we destroyed during kexec
and restored by restore_processor_state(). So save_processor_state()
and restore_processor_state() are moved into machine_kexec() and
ftrace is restored after restore_processor_state().
Signed-off-by: Huang Ying <ying.huang@intel.com>
---
arch/x86/kernel/machine_kexec_32.c | 16 +++++++++++++++-
kernel/kexec.c | 2 --
2 files changed, 15 insertions(+), 3 deletions(-)
--- ...
| Aug 11, 8:14 pm 2008 |
| Vivek Goyal | Re: [PATCH -v3 6/7] kexec jump: __ftrace_enabled_save/restore
I guess steven would like to see a patch which introduces both locked
and lockless versions and with a very good comment explaining in what
kind of unusual situation one can use the lockless version.
Thanks
Vivek
--
| Aug 12, 6:06 am 2008 |
| Huang Ying | [PATCH -v3 6/7] kexec jump: __ftrace_enabled_save/restore
Add __ftrace_enabled_save/restore, used to disable ftrace for a
while. Now, this is used by kexec jump, which need a version without
lock, for general situation, a locked version should be used.
Signed-off-by: Huang Ying <ying.huang@intel.com>
---
include/linux/ftrace.h | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -98,6 +98,27 @@ static inline void tracer_disable(void)
#endif
}
+/* Ftrace ...
| Aug 11, 8:14 pm 2008 |
| Huang Ying | [PATCH -v3 5/7] kexec jump: in sync with hibernation imp ...
Add device_pm_lock() and device_pm_unlock() in kernel_kexec() in sync
with current hibernation implementation.
Signed-off-by: Huang Ying <ying.huang@intel.com>
---
kernel/kexec.c | 2 ++
1 file changed, 2 insertions(+)
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -1457,6 +1457,7 @@ int kernel_kexec(void)
error = disable_nonboot_cpus();
if (error)
goto Resume_devices;
+ device_pm_lock();
local_irq_disable();
/* At this point, device_suspend() has been called,
...
| Aug 11, 8:14 pm 2008 |
| Pavel Machek | Re: [PATCH -v3 5/7] kexec jump: in sync with hibernation ...
Acked-by: Pavel Machek <pavel@suse.cz>
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 12, 1:30 am 2008 |
| Huang Ying | [PATCH -v3 4/7] kexec jump: remove duplication of kexec_ ...
Call kernel_restart_prepare() in kernel_kexec() instead of duplicating
the code.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Acked-by: Pavel Machek <pavel@suse.cz>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
---
include/linux/reboot.h | 1 +
kernel/kexec.c | 6 +-----
kernel/sys.c | 2 +-
3 files changed, 3 insertions(+), 6 deletions(-)
--- a/include/linux/reboot.h
+++ b/include/linux/reboot.h
@@ -59,6 +59,7 @@ extern void machine_crash_shutdown(struc
...
| Aug 11, 8:14 pm 2008 |
| Vivek Goyal | Re: [PATCH -v3 3/7] kexec jump: check code size in contr ...
Hi Huang,
Will above ASSERT() still compile if CONFIG_KEXEC=n? If yes, then it
looks good to me.
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Thanks
Vivek
--
| Aug 12, 6:02 am 2008 |
| Huang Ying | [PATCH -v3 3/7] kexec jump: check code size in control page
Kexec/Kexec-jump require code size in control page is less than
PAGE_SIZE/2. This patch add link-time checking for this.
ASSERT() of ld link script is used as the link-time checking
mechanism.
Signed-off-by: Huang Ying <ying.huang@intel.com>
---
arch/x86/kernel/machine_kexec_32.c | 2 +-
arch/x86/kernel/relocate_kernel_32.S | 10 +++++++---
arch/x86/kernel/vmlinux_32.lds.S | 6 ++++++
include/asm-x86/kexec.h | 4 ++++
4 files changed, 18 insertions(+), 4 ...
| Aug 11, 8:14 pm 2008 |
| Huang Ying | [PATCH -v3 2/7] kexec jump: rename KEXEC_CONTROL_CODE_SI ...
Rename KEXEC_CONTROL_CODE_SIZE to KEXEC_CONTROL_PAGE_SIZE, because
control page is used for not only code on some platform. For example
in kexec jump, it is used for data and stack too.
Signed-off-by: Huang Ying <ying.huang@intel.com>
---
arch/arm/include/asm/kexec.h | 2 +-
arch/ia64/include/asm/kexec.h | 2 +-
arch/powerpc/include/asm/kexec.h | 2 +-
arch/s390/include/asm/kexec.h | 2 +-
arch/sh/include/asm/kexec.h | 2 +-
include/asm-mips/kexec.h | ...
| Aug 11, 8:14 pm 2008 |
| Huang Ying | [PATCH -v3 1/7] kexec jump: clean up #ifdef and comments
Move if (kexec_image->preserve_context) { ... } into #ifdef
CONFIG_KEXEC_JUMP to make code looks cleaner.
Fix no longer correct comments of kernel_kexec().
Signed-off-by: Huang Ying <ying.huang@intel.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
---
kernel/kexec.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -1426,11 +1426,9 @@ static int __init crash_save_vmcoreinfo_
...
| Aug 11, 8:14 pm 2008 |
| Huang Ying | [PATCH -v3 0/7] kexec jump: fixes for 2.6.27
Hi,
This patchset fixes some issues of kexec jump for 2.6.27.
It is based on 2.6.27-rc2 and has been tested on i386 platform.
ChangeLog:
v3:
- Merge added file vmlinux_check_32.lds.S into vmlinux_32.lds.S.
- Add comments about lock for ftrace code.
v2:
- Check control code size at link time instead of run time.
- Encapsulate ftrace related code into functions.
Best Regards,
Huang Ying
--
| Aug 11, 8:14 pm 2008 |
| Javeed Shaikh | Re: TIOCGWINSZ retuns old pty size after receiving SIGWINCH
I appear to have fixed it.
It seems that SIGWINCH was being fired off before the tty's size was
updated, as Ico hypothesized.
The patch follows.
Please comment!
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index 7501310..8e2fa3c 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -3021,6 +3021,9 @@ static int tiocswinsz(struct tty_struct *tty,
struct tty_struct *real_tty,
rpgrp = get_pid(real_tty->pgrp);
spin_unlock_irqrestore(&tty->ctrl_lock, ...
| Aug 12, 4:58 pm 2008 |
| Javeed Shaikh | Re: TIOCGWINSZ retuns old pty size after receiving SIGWINCH
Hi,
I've been experiencing similar issues.
Here's a screenshot: http://omploader.org/vbzA1 .
Note how emacs is only taking up half of the terminal's total height.
However, my diagnostics are different from yours. Sending SIGWINCH
(in this case, to emacs) fixes the issue, at least temporarily. However,
sending SIGWINCH to the shell process under which emacs is running
(using a negative PID, to specify the "process group") has no visible effect.
I believe the issue has to do with sending ...
| Aug 11, 7:51 pm 2008 |
| Javeed Shaikh | Re: TIOCGWINSZ retuns old pty size after receiving SIGWINCH
I spoke too soon. The problem still exists with my workaround on the
latest git kernel,
but it seems to be harder to reproduce.
--
| Aug 11, 9:03 pm 2008 |
| Steven Rostedt | Re: [PATCH] ftrace: printk formatting infrastructure fix 2
This isn't as bad as it looks.
Yes tracing selects DEBUG_FS and STACKTRACE, but the TRACING is required
to transcend into the kernel/trace directory. That is where the other
tracers live, and some tracers require other options to be set.
ie. FTRACE requires HAVE_FTRACE, PREEMPT_TRACER requires PREEMPT, etc.
I don't really see a problem with those config dependencies.
-- Steve
--
| Aug 11, 6:17 pm 2008 |
| JosephChan | [Patch 3/13 v3] [RESEND] viafb: fix for the malformed pa ...
Correct the malformed issue for v2's patch which .
2D and HW cursor stuff of viafb driver.
Signed-off-by: Joseph Chan <josephchan@via.com.tw>
diff -Nurp a/drivers/video/via/accel.c b/drivers/video/via/accel.c
--- a/drivers/video/via/accel.c 1970-01-01 08:00:00.000000000 +0800
+++ b/drivers/video/via/accel.c 2008-07-22 02:07:29.000000000 +0800
@@ -0,0 +1,244 @@
+/*
+ * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
+ * Copyright 2001-2008 S3 Graphics, Inc. All Rights ...
| Aug 11, 6:00 pm 2008 |
| Bernhard Fischer | Re: [Linux-fbdev-devel] [Patch 3/13 v3] [RESEND] viafb: ...
s/verse/serve/
--
| Aug 12, 9:47 am 2008 |
| JosephChan | [PATCH 1/13 v3] [RESEND] viafb: fix for the description ...
Q29ycmVjdCB0aGUgZGVzY3JpcHRpb24gb2YgVlg4MDAgMkQgYWNjZWxlcmF0aW9uLCB0aGUgZHJp
dmVyIGRpYWJsZXMgdGhlIGFjY2VsZXJhdGlvbg0KZnVuY3Rpb24gYnkgZGVmdWFsdCBpZiB5b3Ug
dXNlIFZYODAwIGNoaXAuDQpDb3JyZWN0IHZpYV9mYl8gdG8gdmlhZmJfIGFuZCByZW1vdmUgdGhl
IEtjb25maWcgcGFydCBpbiB2aWFmYi50eHQuDQoNCnZpYWZiLm1vZGVzOiBzdXBwb3J0ZWQgbW9k
ZSB0YWJsZQ0KdmlhZmIudHh0OiBkb2N1bWVudGF0aW9uIG9mIHZpYWZiIGRyaXZlcg0KDQpTaWdu
ZWQtb2ZmLWJ5OiBKb3NlcGggQ2hhbiA8am9zZXBoY2hhbkB2aWEuY29tLnR3Pg0KDQpkaWZmIC1O
dXJwIGEvRG9jdW1lbnRhdGlvbi9mYi92aWFmYi5t ...
| Aug 11, 5:57 pm 2008 |
| Dave Airlie | [git pull] agp patches for 2.6.27-rc3
Hi Linus,
Please pull the 'agp-patches' branch from
ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/agp-2.6.git agp-patches
I either decided to leave these in linux-next for a week and forgot about
them or forgot about them in the first place. The biggest bit is better
suspend/resume support for Intel AGP.
Dave.
drivers/char/agp/agp.h | 3 +
drivers/char/agp/ali-agp.c | 10 ++--
drivers/char/agp/amd-k7-agp.c | 10 ++--
drivers/char/agp/amd64-agp.c ...
| Aug 11, 5:18 pm 2008 |
| Max Krasnyansky | Circular vma locking with kvm, seems to be mmu notifiers ...
Got this on the latest mainline git.
There are already a couple of lockdep/kvm threads. So maybe it's known.
=============================================
[ INFO: possible recursive locking detected ]
2.6.27-rc2 #36
---------------------------------------------
qemu-system-x86/3445 is trying to acquire lock:
(&anon_vma->lock){--..}, at: [<ffffffff8029f84d>] mm_take_all_locks+0x8d/0xf0
but task is already holding lock:
(&anon_vma->lock){--..}, at: [<ffffffff8029f84d>] ...
| Aug 11, 5:17 pm 2008 |
| Robert Hancock | Re: issues with sata hotplug?
No, it "should" work.. Is that drive working at all, i.e. does it detect
it if you boot up with it plugged in? Does the BIOS detect it?
--
| Aug 11, 5:12 pm 2008 |
| Fabio Coatti | Re: SATA problems and fs corruption on recent kernels
Yes, and the hardware problem is the first thing I thinked of, but I've
changed MB and cables, as well as bought a new disk. An I still get some I/O
errors, even on the new one.
So, or I'm a bit unlucky to find several faulty disks in a row (it can be :) )
or something unclear is going on.
The disk that suffers most lockups, after many tries, is the new one, the only
SATA-II drive.
I'll keep stressing the HD trying to figure out what's going on, I'll even try
a new sata-II unit, to see ...
| Aug 12, 1:24 pm 2008 |
| Robert Hancock | Re: SATA problems and fs corruption on recent kernels
For things to lock up badly enough that even BIOS POST fails to detect
the drives or locks up really seems like a hardware problem to me.
You're still using some of the same disks from the old machine?
--
| Aug 11, 5:07 pm 2008 |
| Seth Heasley | [PATCH 2.6.26.2][RESEND] ata_piix: IDE Mode SATA patch f ...
Resend with proper whitespace.
This patch adds the Intel Ibex Peak (PCH) IDE mode SATA Controller DeviceIDs.
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
--- linux-2.6.26.2/drivers/ata/ata_piix.c.orig 2008-08-08 11:34:56.000000000 -0700
+++ linux-2.6.26.2/drivers/ata/ata_piix.c 2008-08-08 14:30:02.000000000 -0700
@@ -274,6 +274,14 @@
{ 0x8086, 0x3a20, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_sata },
/* SATA Controller IDE (ICH10) */
{ 0x8086, 0x3a26, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ...
| Aug 11, 5:03 pm 2008 |
| Seth Heasley | [PATCH 2.6.26.2][RESEND] ahci: RAID mode SATA patch for ...
Resend with proper whitespace.
This patch adds the Intel Ibex Peak (PCH) SATA RAID Controller DeviceIDs.
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
--- linux-2.6.26.2/drivers/ata/ahci.c.orig 2008-08-08 11:34:48.000000000 -0700
+++ linux-2.6.26.2/drivers/ata/ahci.c 2008-08-08 11:36:06.000000000 -0700
@@ -445,6 +445,8 @@
{ PCI_VDEVICE(INTEL, 0x502b), board_ahci }, /* Tolapai */
{ PCI_VDEVICE(INTEL, 0x3a05), board_ahci }, /* ICH10 */
{ PCI_VDEVICE(INTEL, 0x3a25), board_ahci }, ...
| Aug 11, 5:03 pm 2008 |
| Seth Heasley | [PATCH 2.6.26.2][RESEND] hda_intel: ALSA HD patch for In ...
Resend with proper whitespace.
This patch adds the Intel Ibex Peak (PCH) HD Audio Controller DeviceIDs.
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
--- linux-2.6.26.2/sound/pci/hda/hda_intel.c.orig 2008-08-08 11:25:05.000000000 -0700
+++ linux-2.6.26.2/sound/pci/hda/hda_intel.c 2008-08-08 11:27:24.000000000 -0700
@@ -98,6 +98,7 @@
"{Intel, ICH8},"
"{Intel, ICH9},"
"{Intel, ICH10},"
+ "{Intel, PCH},"
"{Intel, SCH},"
"{ATI, SB450},"
"{ATI, ...
| Aug 11, 5:02 pm 2008 |
| Seth Heasley | [PATCH 2.6.26.2][RESEND] i2c-i801: SMBus patch for Intel ...
Resend with proper whitespace.
This patch adds the Intel Ibex Peak (PCH) SMBus Controller DeviceIDs.
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
--- linux-2.6.26.2/drivers/i2c/busses/i2c-i801.c.orig 2008-08-08 11:28:08.000000000 -0700
+++ linux-2.6.26.2/drivers/i2c/busses/i2c-i801.c 2008-08-08 11:32:18.000000000 -0700
@@ -43,6 +43,7 @@
Tolapai 0x5032 32 hard yes yes yes
ICH10 0x3a30 32 hard yes yes yes
...
| Aug 11, 5:02 pm 2008 |
| Jean Delvare | Re: [PATCH 2.6.26.2][RESEND] i2c-i801: SMBus patch for I ...
Looks good, I've added this to my tree. I will have to wait for the PCI
IDs patch to go upstream before I can push it though.
--
Jean Delvare
--
| Aug 12, 4:58 am 2008 |
| Seth Heasley | [PATCH 2.6.26.2][RESEND] irq: irq and pci_ids patch for ...
Resend with proper whitespace.
This patch adds the Intel Ibex Peak (PCH) LPC and SMBus Controller DeviceIDs.
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
--- linux-2.6.26.2/include/linux/pci_ids.h.orig 2008-08-08 11:07:41.000000000 -0700
+++ linux-2.6.26.2/include/linux/pci_ids.h 2008-08-08 11:22:31.000000000 -0700
@@ -2385,6 +2385,9 @@
#define PCI_DEVICE_ID_INTEL_ICH10_3 0x3a1a
#define PCI_DEVICE_ID_INTEL_ICH10_4 0x3a30
#define PCI_DEVICE_ID_INTEL_ICH10_5 0x3a60
+#define ...
| Aug 11, 5:01 pm 2008 |
| Rafael J. Wysocki | Re: [PATCH 2/5] Container Freezer: Make refrigerator alw ...
I'd still prefer this to go into a Kconfig in the parent directory (ie. where
freezer.c and the Makefile building it are located). Otherwise it's guaranteed
--
| Aug 12, 1:49 pm 2008 |
| Rafael J. Wysocki | Aug 12, 1:50 pm 2008 | |
| Andrew Morton | Re: [PATCH 0/5] Container Freezer v6: Reuse Suspend Freezer
On Mon, 11 Aug 2008 16:53:23 -0700
I don't think that this provides anything like sufficient detail to justify
merging a whole bunch of stuff into Linux.
What does "It's immediately useful for batch job management scripts."
mean? How is it useful? Examples? Why would an operator want this
feature, and how would it be used? _much_ more information is needed!
Once we've actually found out what this work is useful for, we can move
onto identification of and discussion of alternatives. One ...
| Aug 12, 3:44 pm 2008 |
| Andrew Morton | Re: [PATCH 3/5] Container Freezer: Implement freezer cgr ...
On Mon, 11 Aug 2008 16:53:26 -0700
Is a Documentation/ update planned? Documentation/cgroups.txt might be
Should it depend on FREEZER also?
That's a pretty vanilla-sounding identifier. Let's hope this file
never ends up including drivers/net/sfc/net_driver.h by some means.
That's rather unlikely, but someone could easily choose to implement a
check_if_frozen() is an unfortunate name, I suspect. Normally one
would expect a check_foo() to return a bool and have no ...
| Aug 12, 3:56 pm 2008 |
| Ben Dooks | Re: MMC: s3cmci: wirte get_cd host ops
better spelled version posted.
--
Ben (ben@fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
--
| Aug 12, 6:05 am 2008 |
| Ryan Hope | Re: [PATCH 3/3][reiser4] dont get radix-tree dirty taggi ...
I tried just using __set_page_dirty_nobuffers but that caused issues
with ext3/ext4 (i can send a bug trace later if needed).
__inc_bdi_stat(mapping->backing_dev_info,
BDI_RECLAIMABLE);
task_io_account_write(PAGE_CACHE_SIZE);
^^^ the above code in __set_page_dirty_nobuffers causes an issue with
do_writepages in ext3/4 when I use something like the code below:
int ...
| Aug 11, 9:12 pm 2008 |
| Nick Piggin | Re: [PATCH 3/3][reiser4] dont get radix-tree dirty taggi ...
Hmm, it causes issues in ext3/4 even though it doesn't change any
code executed by ext3/4? Yes, if you could send a trace...
--
| Aug 11, 11:00 pm 2008 |
| Nick Piggin | Re: [PATCH 3/3][reiser4] dont get radix-tree dirty taggi ...
Any reason why this can't use a generic function such as
__set_page_dirty_nobuffers? There are accounting changes gone in
there now which I suspetc may be wrong now in reiser4 (eg. task
io accounting).
Actually every site that does a radix_tree_operation there should
be reviewed to try to use core functoins.
--
| Aug 11, 7:36 pm 2008 |
| Ryan Hope | Re: [PATCH 3/3][reiser4] dont get radix-tree dirty taggi ...
Pid: 2620, comm: bonnie Not tainted 2.6.27-rc2-zen1 #1
[<c026d729>] do_writepages+0x49/0x50
[<c02dc830>] ext3_write_inode+0x0/0x40
[<c02dc860>] ext3_write_inode+0x30/0x40
[<c02ad3a2>] __writeback_single_inode+0x282/0x390
[<c02ad9d4>] generic_sync_sb_inodes+0x304/0x3a0
[<f9b9b234>] reiser4_sync_inodes+0x54/0x130 [reiser4]
[<c02ad940>] generic_sync_sb_inodes+0x270/0x3a0
[<c02adc64>] writeback_inodes+0x44/0xd0
[<c026d0d0>] balance_dirty_pages_ratelimited_nr+0x230/0x370
[<f9b79a5c>] ...
| Aug 12, 7:52 am 2008 |
| Edward Shishkin | Re: [PATCH 3/3][reiser4] dont get radix-tree dirty taggi ...
No. This patch is a nonsense.
Currently reiser4 is working around "anonymous" pages dirtied
outside of reiser4 context (e.g. via mmap), where some reiser4
specific work (jnode creation, capturing by an atom) can not
Yes, this is definitely wrong. Thanks for pointing this out.
Such poking around vfs internals should be fixed, otherwise we'll
have permanent problems.
I have cc-ed Vladimir: maybe he has some hints. At least, I know
that he looked at this problem..
Thanks,
--
| Aug 12, 5:56 am 2008 |
| Edward Shishkin | Re: [PATCH 2/3][reiser4] don't leave loop prematurely
No, this is wrong:
if (node == NULL), then there is nothing to do in this loop.
--
| Aug 12, 5:54 am 2008 |
| Alan Cox | Re: [patch 1/2] fastboot: Add a module parameter to skip ...
That was a question sorry. You are sledgehammering controllers by
discovery sequence - you've no idea if they will always be found in that
order. As such your boot option is incredibly fragile.
--
| Aug 12, 5:00 am 2008 |
| Alan Cox | Re: [patch 1/2] fastboot: Add a module parameter to skip ...
libata lets you set the nth controller to various things (40wire etc) so
I suspect the right thing to extent is the existing libata option code
that Tejun wrote to include 'skip' if it doesn't already.
If that gets done cc me and I'll then go audit the drivers to see who
apart from it821x knows port 0 is always probed
--
| Aug 12, 7:21 am 2008 |
| Alan Cox | Re: [patch 2/2] fastboot: use a DMI match table to set d ...
On Tue, 12 Aug 2008 04:37:18 -0700
For the boot device yes, for the rest no. And the boot command line is
managed by the installer which is user space and vendor controlled so a
good place to put fuzzy complex logic like that.
--
| Aug 12, 4:58 am 2008 |
| Arjan van de Ven | Re: [patch 2/2] fastboot: use a DMI match table to set d ...
On Tue, 12 Aug 2008 03:09:11 +0200
if you solder the board... well you can add a tiny kernel patch or
change the dmi ;)
--
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
--
| Aug 11, 10:04 pm 2008 |
| Alan Cox | Re: [patch 2/2] fastboot: use a DMI match table to set d ...
Lots of people have them modified and you can even buy them pre-modded as
an end user. It needs to be simpler than hacking your kernel. In fact
this argues that the port disables should be handled by user space not by
the kernel ?
We have various other libata arguments so what would happen if instead we
pushing setting it up to userspace but fixing the libata. options line
for settings to take PCI bus info so you always hit the right port.
Yes you'd still need to fix some drivers to cope ...
| Aug 12, 1:10 am 2008 |
| Arjan van de Ven | Re: [patch 2/2] fastboot: use a DMI match table to set d ...
On Tue, 12 Aug 2008 09:10:09 +0100
which is a commandline option then; because once userspace runs you've
already paid the price in terms of boottime otherwise and would make
the idea entirely moot.
--
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
--
| Aug 12, 4:37 am 2008 |
| Arjan van de Ven | Re: [patch 1/2] fastboot: Add a module parameter to skip ...
On Tue, 12 Aug 2008 13:00:27 +0100
ok to answer your question;
today the probe order is consistent, at least on netbooks.
The admin or his installation program knows it when he has this (and if
linux were to grow full parallel probing it'll be optional, and if the
admin wants a fast boot he'll disable the parallel, reordering probe)
and can add the option for this case. It's the "push policy out of the
kernel" thing.. while the kernel probably can't know this (and you're
right, the DMI patch ...
| Aug 12, 7:02 am 2008 |
| Alan Cox | Re: [patch 1/2] fastboot: Add a module parameter to skip ...
On Mon, 11 Aug 2008 15:36:41 -0700
What happens if I plug in an additional libata using device ? What
defines the probe order here particularly as people are pushing for
parallel probing of multiple devices.
This doesn't appear to make any rational sense as the mask isn't tied to
the actual bus device identifier to keep it on the same port. It might
kidn of work for an EEEPC (until you see what people retrofit into the
corners of them) but it isn't a valid general solution.
Also the EEE ...
| Aug 12, 12:39 am 2008 |
| Arjan van de Ven | Re: [patch 1/2] fastboot: Add a module parameter to skip ...
On Tue, 12 Aug 2008 08:39:03 +0100
on an eeepc ? ;)
at least for the command line option the owner (or whoever sets up
grub) knows the order and could adjust. For the DMI patch you do have a
the patches I'm pushing for this don't change probe order; that has
been tried before and wasn't a great success.
--
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
--
| Aug 12, 4:36 am 2008 |
| Marcel Holtmann | Re: [patch 2/2] fastboot: use a DMI match table to set d ...
last time I had mine open, I saw that the other ATA connectors are in
theory usable. You have to do some heavy modifications, but some people
do modifications to this kind of hardware to use it for really weird
purposes. We might wanna consider adding a module parameter to disable
the magic DMI table. Or do we expect them to always compile their own
kernel and know where to fix this? Thoughts?
Regards
Marcel
--
| Aug 11, 6:09 pm 2008 |
| Nick Piggin | Re: [git pull] core fixes
OK indeed it did have a couple of bugs. Firstly, I wasn't freeing the
data properly in the alloc && wait case. Secondly, I wasn't resetting
CSD_FLAG_WAIT in the for each cpu loop (so only the first CPU would
wait).
After those fixes, the patch boots and runs with the kmalloc commented
out (so it always executes the slowpath).
| Aug 12, 1:05 am 2008 |
| Ingo Molnar | Re: [git pull] core fixes
thanks! I've applied the delta fix below to tip/core/urgent. In my
testing the previous version didnt cause problems either because we
seldom excercise this slowpath. (Jeremy had trouble reproducing the
on-stack corruption even with targeted tests.)
We'll soon start using the generic-ipi facilities for TLB flushes on x86
and perhaps even reuse the IPI itself for the reschedule IPI - that
should put it all under heavier scrutiny.
Ingo
----------------->
From ...
| Aug 12, 2:25 am 2008 |
| Peter Zijlstra | Re: [git pull] core fixes
Right - so we cannot use synchronize_rcu() because the caller of
smp_call_function_mask() might not be in a preemptible context.
Therefore you implement this barrier like function, that uses the single
call ipi to validate that all the cpus are done processing the
call_function_queue - because that is with IRQs disabled, and this other
IPI cannot interrupt. Thereby guaranteeing that there are no more
references to any former elements on said list.
Clever. But as you say, rather ...
| Aug 12, 12:17 am 2008 |
| Nick Piggin | Re: [git pull] core fixes
I'm still not 100% sure that I have this patch right... I might have seen
a lockup trace implicating the smp call function path... which may have
been due to some other problem or a different bug in the new call function
code, but if some more people can take a look at it before merging?
--
| Aug 11, 11:13 pm 2008 |
| Nick Piggin | Re: [git pull] core fixes
Yeah... Aside, I think this is how some OSes implement a lot of
scalable read side primitives without RCU. Downside is that it
requires interrupt disabled read side, upside is much simpler and
potentially more deterministic to quiesce. (and fewer patents I
guess!)
--
| Aug 12, 12:31 am 2008 |
| Nick Piggin | Re: [git pull] core fixes
Well, hopefully. At the moment it is significantly slower though.
--
| Aug 12, 3:42 am 2008 |
| Ingo Molnar | Re: [git pull] core fixes
i've added Nick's smp_call_function fix as well, which you can pull from
the core-fixes-for-linus-2 branch:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core-fixes-for-linus-2
[ the original branch is unchanged and is still pullable - the second
branch embedds the first branch and adds Nick's fix. The second branch
can be pulled ontop of the first branch as well. ]
Thanks,
Ingo
------------------>
Dave Jones (1):
lockdep: shrink held_lock ...
| Aug 12, 8:20 am 2008 |
| Alan Cox | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
This is the nightclub model and doesn't work viz:
"If I put a big scary man on the door nobody will be able to get knives
and drugs in because we only have one door for the public"
If you have to enumerate the potential attack vectors to make your model
work you already lost. There is one of you and a lot of them. Smart
nightclubs don't do that they circulate looking for evidence. Yes, they
will miss some, yes they will respond late to some, but they will at
least notice there has been a ...
| Aug 12, 12:32 am 2008 |
| Zhu Yi | Re: [ipw3945-devel] [PATCH 1/1] iwlwifi: fix printk newlines
I thought sometimes we might not need a new line between two IWL_ERRORs.
But your KERN_ERR garbaging the output in this case is correct. I think
when we wrote the macro, we just follow the style of dev_info() ...
dev_emerg() macros. Do you know why there is not a new line for them by
default?
Thanks,
-yi
--
| Aug 11, 10:38 pm 2008 |
| Zhu Yi | Re: [ipw3945-devel] [PATCH 1/1] iwlwifi: fix printk newlines
We should give the users more control to the style I think.
Thanks,
-yi
--
| Aug 11, 6:22 pm 2008 |
| Zhu Yi | Re: [PATCH 1/1] iwlwifi: fix printk newlines
Ack.
Thanks,
-yi
--
| Aug 11, 6:20 pm 2008 |
| Marcel Holtmann | Re: [ipw3945-devel] [PATCH 1/1] iwlwifi: fix printk newlines
what kind of control do you expect? If you need two lines of debug or
error output, call IWL_ERROR twice. This will also result in the
KERN_ERR is set and not forgotten since that has to follow the newline.
Regards
Marcel
--
| Aug 11, 8:59 pm 2008 |
| Marcel Holtmann | Re: [ipw3945-devel] [PATCH 1/1] iwlwifi: fix printk newlines
I have no idea. Maybe because they are close to printk. I always put the
newline into my macros.
Regards
Marcel
--
| Aug 11, 11:11 pm 2008 |
| Marcel Holtmann | Re: [PATCH 1/1] iwlwifi: fix printk newlines
can we not just fix IWL_ERROR to always append the newline?
Regards
Marcel
--
| Aug 11, 5:55 pm 2008 |
| Max Krasnyansky | Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
I replied to your patch saying that we do not need to check it. And Paul
suggested to add a comment to explain why.
Max
--
| Aug 11, 8:27 pm 2008 |
| Paul Jackson | Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
Best not to quote an entire long message when only
a little bit of it is needed to provide context for
the reply. It forces all readers to scan down many
pages trying to find the useful reply.
I agree with Max's reply to this ... his comment
explaining why checking dattr is not NULL looks good.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| Aug 11, 8:33 pm 2008 |
| Rakib Mullick | Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
One more thing Max, while you are allocating memory for "dattr" I
think it needs to check that it is successful or not . I've shown it
on one of my previous patch on 7th
--
| Aug 11, 8:21 pm 2008 |
| Yinghai Lu | Re: [2.6.26.*] boot problem (ahci/irq related?)
can you enable
CONFIG_IDE and CONFIG_BLK_DEV_PIIX
like 2.6.25
YH
--
| Aug 12, 12:22 am 2008 |
| Alan Cox | Re: [2.6.26.*] boot problem (ahci/irq related?)
See the original bug report - he tried both and got the same kind of
behaviour.
--
| Aug 12, 12:16 am 2008 |
| Andi Kleen | Re: [2.6.26.*] boot problem (ahci/irq related?)
Then mmconfig is not the problem. Must be something else.
In the worst case you can always bisect I guess.
-Andi
--
| Aug 12, 12:05 am 2008 |
| Maciej Rutecki | Re: [2.6.26.*] boot problem (ahci/irq related?)
Yes I have similar behaviour, very often kernel stops on this message:
http://unixy.pl/maciek/download/kernel/dupa/2.6.26.2_config_ide/img_0001.jpg
I added CONFIG_IDE, difference between pervious config and current:
http://unixy.pl/maciek/download/kernel/dupa/2.6.26.2_config_ide/config.diff
Full .config:
http://unixy.pl/maciek/download/kernel/dupa/2.6.26.2_config_ide/config-2.6.26.2
Dmesg (1 time works ok):
http://unixy.pl/maciek/download/kernel/dupa/2.6.26.2_config_ide/dmesg.txt
-- ...
| Aug 12, 1:07 am 2008 |
| Maciej Rutecki | Re: [2.6.26.*] boot problem (ahci/irq related?)
2008/8/11 Andi Kleen <andi@firstfloor.org>:
[...]
It doesn't help
--
Maciej Rutecki
http://www.maciek.unixy.pl
--
| Aug 11, 10:50 pm 2008 |
| Rafael J. Wysocki | Re: [2.6.26.*] boot problem (ahci/irq related?)
In both cases one of the last messages is
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 17 (level, low) -> IRQ 17
and that comes from AHCI, or rather from pci_enable_device() invoked by
AHCI. Then, there are no more messages from AHCI, although there should
be at least
ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 1.5 Gbps 0x1 impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq ilck stag pm led clo pmp pio slum part
PCI: Setting latency timer of device 0000:00:1f.2 to 64
So, it ...
| Aug 12, 7:45 am 2008 |
| Yinghai Lu | Re: [2.6.26.*] boot problem (ahci/irq related?)
looks like you are using ata driver for pata device instead of ide driver.
so could be caused by bug in ata_piix...
YH
--
| Aug 11, 11:52 pm 2008 |
| Eric Sandeen | Re: Lock debugging noise or real problem?
http://www.google.com/search?q=xfs_fsr+dio_get_page+lockdep
-> http://oss.sgi.com/archives/xfs/2008-01/msg00042.html
I haven't looked closely at #2 but there have been so many lockdep
reports for xfs, and so many explanations of why they don't always get
along, you'll probably be able to find something with some searching.
-Eric
--
| Aug 11, 7:48 pm 2008 |
| Linda Walsh | Re: Lock debugging noise or real problem?
[Empty message]
| Aug 11, 7:33 pm 2008 |
| Linda A. Walsh | Re: XFS Lock debugging noise or real problem?
Is it also known, (and the same bug) when you get the lock warnings when
doing
"xfs_restore", as well (dio_get_page and xfs_ilock)...
Doesn't give me the warm & fuzzies, but I'm sure you've heard that
sentiment plenty
of times...
The bugs with 'sort', & imap were both with xfs_ilock and
shrink_icache_memory.
I saw another bug (different prog) with those two locks that was said to
be a bug in
XFS by Andrew Morton, but he didn't say if it was the same known
"harmless" "bug" or
if it ...
| Aug 12, 3:28 pm 2008 |
| Linda Walsh | Re: Lock debugging noise or real problem?
----
So in debugging mysterious 'lockups' where I've, at least once,
noticed a
hangcheck_timer elapse, this lock-checking stuff is just nonsensical?
It is very
frustrating trying to turn on debug tools in the kernel and get so many
false positives.
Would it be possible or, perhaps, desirable to eliminate the buggy
lock-checks in the
xfs code?
Meanwhile...back to finding reasons for the semi-random, periodic hanging...
;^/
--
| Aug 11, 8:35 pm 2008 |
| Christoph Lameter | Re: tbench regression on each kernel release from 2.6.22 ...
If I get the time I will try to do that.
Another way to understand why we are accepting the regressions here may be
that we give more consideration to real time issues and deterministic
performance these days. Hardware speed gains compensate for the additional
bloat? (I ran the old kernels on cutting edge hardware after all).
--
| Aug 12, 11:57 am 2008 |
| Andi Kleen | Re: tbench regression on each kernel release from 2.6.22 ...
Wouldn't surprise me. Have you considered doing profiles?
e.g. just oprofiling the benchmark on the different kernels and see
if there's some obvious difference in the CPU consumers?
-Andi
--
| Aug 12, 12:11 am 2008 |
| Ilpo Järvinen | Re: tbench regression on each kernel release from 2.6.22 ...
...IIRC, somebody in the past did even bisect his (probably netperf)
2.6.24-25 regression to some scheduler change (obviously it might or might
not be related to this case of yours)...
--
i.
--
| Aug 12, 1:13 am 2008 |
| Aneesh Kumar K.V | Re: INFO: task blocked for more than 120 seconds
Committing a transaction would means writing rest of the meta-data in
the transaction. And that would imply forcing most of the buffer_heads
to disk in ordered mode. This can result a lot of seeks and make take
more thatn 120 seconds.
-aneesh
--
| Aug 12, 11:17 am 2008 |
| Avi Kivity | Re: [PATCH 1/4] reduce kvm stack usage in kvm_arch_vm_ioctl()
Applied all, thanks.
--
error compiling committee.c: too many arguments to function
--
| Aug 12, 6:00 am 2008 |
| Vegard Nossum | Re: latest -git: kernel hangs when pulling the plug on 8139too
Now I've tried to use kdump to catch the panic, but it doesn't help :-(
At boot, I have this:
Reserving 64MB of memory at 16MB for crashkernel (System RAM: 1023MB)
Loading the dump-capture kernel succeeds:
# build/sbin/kexec -p --initrd=/boot/initrd-2.6.23.8-34.fc7.img
--append="ro root=/dev/VolGroup00/LogVol00 rhgb console=tty0
console=ttyS0,115200 nmi_watchdog=1 panic=30 sysrq_always_enabled
maxcpus=1 irqpoll reset_devices 3" /boot/testing/bzImage
...but after pulling the ...
| Aug 12, 10:20 am 2008 |
| Vegard Nossum | Re: latest -git: kernel hangs when pulling the plug on 8139too
It turns out that we're not getting as far as the "panic:" line in panic().
So I tried something new: Running a bash busy loop while unplugging the cable:
$ while true; do echo p > /proc/sysrq-trigger; done
And to my great surprise, the kernel doesn't reboot. But I can't use
it either. It's simply printing the same message to ttyS0 over and
over:
SysRq : Show Regs
It is also occasionally garbled, like this:
SysRq : ow Regs
...
Sys : Show Regs
...
...
| Aug 12, 12:02 pm 2008 |
| Vegard Nossum | Re: latest -git: kernel hangs when pulling the plug on 8139too
Actually, I just forgot earlyprintk=...,keep.
Now I modified the printk() to use early_printk() if oops_in_progress is set.
This does actually give some result, but again the text is garbled,
this time for real, and I don't understand why.
But this is what I get on the serial console:
<0>BUG: NMI Watchdog detected LOCKUP on CPU1, ip c010ae8c, registers:
Pid: 0, comm: swapper Not tainted (2.6.27-rc2-00325-g796aade-dirty #3)
EIP: 0060:[<c010ae8c>] EFLAGS: 00000246 CPU: 1
EIP is at ...
| Aug 12, 1:46 pm 2008 |
| Vegard Nossum | Re: latest -git: kernel hangs when pulling the plug on 8139too
Oops, I spoke a bit too soon.
Nope. It tries to take a lock that is already held. Instead: How can
it be solved?
Vegard
--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--
| Aug 12, 1:54 pm 2008 |
| Stephen Rothwell | Re: ath9k build failure
Hi Luis,
On Mon, 11 Aug 2008 09:46:57 -0700 "Luis R. Rodriguez" <lrodriguez@atheros.=
That is only the first application of the patch, my patch is a fix of a
second instance of the same code. See Adrian's post.
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 11, 8:33 pm 2008 |
| John W. Linville | Re: ath9k build failure
My bad...I'll fix it up w/ the next batch of fixes...
John
--
John W. Linville
linville@tuxdriver.com
--
| Aug 12, 6:21 am 2008 |
| Pekka Enberg | Re: [patch 15/19] Filesystem: XFS slab defragmentation
Christoph, I'm dropping this patch from my tree.
--
| Aug 12, 12:08 am 2008 |
| Christoph Lameter | Re: [patch 15/19] Filesystem: XFS slab defragmentation
Just apply this patch:
Subject: defrag/xfs: Move defrag setup directly after xfs_vnode_zone kmem
cache creation
Move the setup of the defrag directly after the creation of the xfs_vnode_zone
Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Index: linux-2.6/fs/xfs/linux-2.6/xfs_super.c
===================================================================
--- linux-2.6.orig/fs/xfs/linux-2.6/xfs_super.c 2008-08-04 08:27:09.000000000
-0500
+++ ...
| Aug 12, 11:21 am 2008 |
| Dave Chinner | Re: [patch 15/19] Filesystem: XFS slab defragmentation
Please update this patch as per my last comment.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
--
| Aug 11, 5:20 pm 2008 |
| Pekka Enberg | Re: [patch 00/19] Slab Fragmentation Reduction V14
Applied, thanks!
--
| Aug 11, 11:50 pm 2008 |
| Stephen Rothwell | Re: [RFC 1/3] add support for exporting symbols from .S files
Hi Arnd,
This won't be portable across architectures as .align is sometimes in
bytes and sometimes a power of two. You can use .balign or .p2align
portably on gas, though.=20
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 11, 11:43 pm 2008 |
| Rusty Russell | Re: [RFC 1/3] add support for exporting symbols from .S files
Good work! Hmm, you can .balign BITS_PER_LONG/8 outside the ifeq.
Unfortunately .long doesn't do the Right Thing on 64 bit, so getting rid of
the if is harder.
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Cheers,
Rusty.
--
| Aug 11, 7:03 pm 2008 |
| Arnd Bergmann | Re: [RFC 1/3] add support for exporting symbols from .S files
This makes it possible to export symbols from assembly files, instead
of having to export them through an extra ksyms.c file.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
Ok, this version uses the .balign as suggested by rusty, and also
fixes building with modversions turned on, which did not work in the
first version.
Arnd <><
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -1,5 +1,7 @@
#ifndef _LINUX_MODULE_H
#define _LINUX_MODULE_H
+
+#ifndef ...
| Aug 12, 6:58 am 2008 |
| Gregory Haskins | Re: [PATCH] BUG: using smp_processor_id() in preemptible ...
something like
#ifdef CONFIG_PREEMPT_RT
WARN_ON(!in_atomic() && current->rt.nr_cpus_allowed > 1);
#else
WARN_ON(!in_atomic());
#endif
would probably work and be fairly efficient. Of course nr_cpus_allowed=20
technically could be adjusted at any time, so perhaps not. Its probably =
| Aug 11, 7:06 pm 2008 |
| Steven Rostedt | Re: [PATCH] BUG: using smp_processor_id() in preemptible ...
Yes, we have a softirq thread per CPU. We should have a test in the
smp_processor_id for rt to not bug if it is called by known "per_cpu"
threads.
-- Steve
--
| Aug 11, 6:22 pm 2008 |
| Balbir Singh | Re: [-mm][PATCH 1/2] mm owner fix race between swap and exit
Thanks, sounds good.
--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
--
| Aug 11, 10:04 pm 2008 |
| Andrew Morton | Re: [-mm][PATCH 1/2] mm owner fix race between swap and exit
On Mon, 11 Aug 2008 15:37:33 +0530
This patch applies to mainline, 2.6.27-rc2 and even 2.6.26.
Against which kernel/patch is it actually applicable?
(If the answer was "all of the above" then please don't go embedding
mainline bugfixes in the middle of a -mm-only patch series!)
Thanks.
--
| Aug 11, 5:31 pm 2008 |
| Andrew Morton | Re: [-mm][PATCH 1/2] mm owner fix race between swap and exit
OK, I'll move it into the general MM patchpile for 2.6.28. It will precede
any memrlimit merge.
--
| Aug 11, 9:56 pm 2008 |
| Paul Menage | Re: [-mm][PATCH 1/2] mm owner fix race between swap and exit
On Mon, Aug 11, 2008 at 5:31 PM, Andrew Morton
The main thing this fixes is the memrlimit controller, which is only
in -mm. But there's also a dereference of mm->owner in memcontrol.c -
and I think that needs to be fixed to handle a possible NULL mm->owner
too, since in the case of a swapoff racing with the last user of an mm
exiting, I suspect that the swapoff code could try to pull in a page
that gets charged to the mm after its owner has been set to NULL.
Paul
--
| Aug 11, 5:43 pm 2008 |
| Balbir Singh | Re: [-mm][PATCH 1/2] mm owner fix race between swap and exit
Andrew,
The answer is all, but the bug is not exposed *outside* of the memrlimit
controller, thus the push into -mm. I can redo and rework the patches for
mainline if required and pull it out of -mm.
--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
--
| Aug 11, 9:06 pm 2008 |
| Paul Menage | Aug 11, 5:39 pm 2008 | |
| Andrew Morton | Re: [PATCH] hwmon: Included max1618 support in max1619 driver
On Mon, 11 Aug 2008 12:21:02 +0200
Please also prepare and test the patch against current Linus mainline.
Or even linux-next, although that isn't necessary in this particular case.
Your patch appeared to be against 2.6.26, and that was a long time ago
in kernel terms. It is not applicable to current development kernels.
--
| Aug 11, 5:27 pm 2008 |
| Pavel Machek | Re: [RFC] typesafe callbacks?
I think it is a great idea..
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 12, 10:56 am 2008 |
| Stephen Rothwell | Re: linux-next: Tree for August 11
Hi Hiroshi,
On Mon, 11 Aug 2008 13:11:17 -0700 Hiroshi Shimamoto <h-shimamoto@ct.jp.nec=
It looks like it may be fixed in today's linux-next as that patch has
been updated.
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 11, 10:38 pm 2008 |
| Hiroshi Shimamoto | Re: linux-next: Tree for August 11
Hi, thanks for working.
I got a linkage error, next;
arch/um/drivers/built-in.o: In function `line_ioctl':
/data/kernel/mainline/workdir/next/.branches/um/linux/arch/um/drivers/line.c:306: undefined reference to `tioclinux'
collect2: ld returned 1 exit status
KSYM .tmp_kallsyms1.S
nm: '.tmp_vmlinux1': No such file
No valid symbol.
make: *** [.tmp_kallsyms1.S] Error 1
The tioclinux() is in drivers/char/vt.c and this is compiled when
CONFIG_HW_CONSOLE is enabled. I think this config ...
| Aug 12, 10:39 am 2008 |
| David Howells | Re: Resolved merge conflicts in next-creds
Actually, you do have to modify XFS too. It declares current_fsuid(),
current_fsgid() and struct cred within itself. The first two just require
some simple renames, and the third just requires using my struct cred instead
when it appears.
David
--
| Aug 12, 2:27 am 2008 |
| Stephen Rothwell | Re: Resolved merge conflicts in next-creds
Hi David,
On Tue, 12 Aug 2008 10:27:08 +0100 David Howells <dhowells@redhat.com> wrot=
One step at a time ... the rename is clearly necessary, but adding
"struct cred" can wait. We may not be able to get all the conflicts
solved by adding stuff to Linus' tree early. My aim is just to reduce my
pain level. :-)
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 12, 4:19 am 2008 |
| Andrew Morton | Re: [PATCH RESEND] agp: fix SIS 5591/5592 wrong PCI id
On Sun, 10 Aug 2008 22:54:52 +0200
This fix appears to be applicable to both 2.6.25.x and to 2.6.26.x. Do you
think that the problem which it solves is sufficiently serious to
warrant the backport?
Thanks.
--
| Aug 11, 5:08 pm 2008 |
| Krzysztof Helt | Re: [PATCH RESEND] agp: fix SIS 5591/5592 wrong PCI id
On Mon, 11 Aug 2008 17:08:03 -0700
This is old chipset and the error is since kernel 2.6.8 when the
untested support was introduced. I would skip stable branches
as I used it only few days for now. In fact, it is like adding new
hardware which was previously not supported.
Regards,
Krzysztof
--
| Aug 11, 9:31 pm 2008 |
| Yoshinori Sato | Re: [PATCH] h8300 move header files
At Tue, 12 Aug 2008 07:11:01 +0200,
My h8300 repository can't public access.
Also difficult pull request.
--
Yoshinori Sato
<ysato@users.sourceforge.jp>
--
| Aug 12, 1:18 pm 2008 |
| Linus Torvalds | Re: [PATCH] h8300 move header files
The nice thing about git is that it doesn't care one whit how something
gets moved. So you can
- just send me a regular patch (as a git user, it can be the "git
shorthand" kind of patch that has explicit renames, but it can be a
traditional patch with delete/create pairs too, and git won't care AT
ALL because the end result is the same)
- or just send me a shell script to do the renames along with a small
patch to fix up any other issues that happen as a result of the ...
| Aug 12, 1:25 pm 2008 |
| Sam Ravnborg | Re: [PATCH] h8300 move header files
c) is preferred so we get this done for as soon as possible.
And this is a pure file move so it is simple.
If you do not have a git tree then just ask Linus to move the header
files.
Sam
--
| Aug 11, 10:11 pm 2008 |
| Andrew Morton | Re: [PATCH] h8300 move header files
On Sun, 10 Aug 2008 15:01:07 -0400
This patch will cause me some pain, because people will occasionally
change those headers and the plain-old-patch will break.
Some better options are
a) merge it into Sam's git tree, then he merges it into 2.6.28-rc1
b) you resend the pull request into Linus during the 2.6.28-rc1 merge window
c) merge it into mainline immediately
Sam, any suggestions here?
--
| Aug 11, 5:05 pm 2008 |
| Mathieu Desnoyers | Re: [PATCH 4/5] kmemtrace: SLUB hooks.
The markers present in mainline kernel does not use immediate values.
However, immediate values in tip does implement a load
immediate/test/branch for x86, x86_64 and powerpc. I also have support
for sparc64 in my lttng tree.
Mathieu
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
| Aug 12, 8:43 am 2008 |
| Eduard - Gabriel Mun ... | Re: [PATCH 4/5] kmemtrace: SLUB hooks.
Yes, the code is patched at runtime. But AFAIK markers already provide
this stuff (called "immediate values"). Mathieu's tracepoints also do
it. But it's not available on all arches. x86 and x86-64 work as far as
I remember.
--
| Aug 12, 8:29 am 2008 |
| Pekka Enberg | Re: [PATCH 5/5] kmemtrace: SLOB hooks.
Applied, thanks!
--
| Aug 11, 11:46 pm 2008 |
| Eduard - Gabriel Mun ... | Re: [PATCH 4/5] kmemtrace: SLUB hooks.
Oh, good. I'm also thinking to add a macro that expands to simple inline when
Sure. Will get back soon.
--
| Aug 12, 8:25 am 2008 |
| Pekka Enberg | Re: [PATCH 3/5] kmemtrace: SLAB hooks.
Applied, thanks!
--
| Aug 11, 11:46 pm 2008 |
| Pekka Enberg | Re: [PATCH 1/5] kmemtrace: Core implementation.
Applied, thanks!
--
| Aug 11, 11:46 pm 2008 |
| Pekka Enberg | Re: [PATCH 2/5] kmemtrace: Additional documentation.
Applied, thanks!
--
| Aug 11, 11:46 pm 2008 |
| Marcin Slusarz | Re: resume from s2ram regression (bisected to ftrace...)
I agree. Any idea how to debug it?
Marcin
--
| Aug 12, 9:37 am 2008 |
| Boris Petkov | Re: [PATCH 11/22] ide: add ide_set_media_lock() helper
I still think we should stick to one format or the other. All
the drivers' functions, for example, comply with a naming scheme
(ide_cd/ide_floppy/...) so opcodes shouldn't be an exception, imho...
--
Regards/Gruss,
Boris
--
| Aug 12, 6:37 am 2008 |
| Bartlomiej Zolnierki ... | Re: [PATCH 11/22] ide: add ide_set_media_lock() helper
Some opcodes are only in <linux/cdrom.h> while the other ones only
in <scsi/scsi.h> so it is not that simple without additional effort.
I don't have a time for it at the moment (+ I consider it a low-prio
task). However if you would like to look into it, please go ahead.
Thanks,
Bart
--
| Aug 12, 10:48 am 2008 |
| Bartlomiej Zolnierki ... | Re: [PATCH 11/22] ide: add ide_set_media_lock() helper
I prefer to use them when possible but there is no strict policy.
[ SCSI defines are shorter, one of the drivers was using them already
and it also makes easier for comparing code with SCSI. ]
--
| Aug 12, 2:05 am 2008 |
| Eric Sesterhenn | Re: [Bug #11274] Oops when accessing /proc/lockdep_chains
the patch went into linus -git today, you can close this.
Thanks, Eric
--
| Aug 12, 10:16 am 2008 |
| Rafael J. Wysocki | Re: [Bug #11275] [BUG] hugetlb: sleeping function called ...
I have updated the Bugzilla entry with the current patch link.
Thanks,
Rafael
--
| Aug 12, 7:58 am 2008 |
| Andy Whitcroft | Re: [Bug #11275] [BUG] hugetlb: sleeping function called ...
This patch was superceeded by a newer version:
http://marc.info/?l=linux-kernel&m=121819389913563&w=2
Currently this is in -mm, awaiting merge.
-apw
--
| Aug 12, 7:48 am 2008 |
| Rafael J. Wysocki | Re: [Bug #11274] Oops when accessing /proc/lockdep_chains
Thanks, Adrian has already closed the bug.
Rafael
--
| Aug 12, 12:58 pm 2008 |
| Adrian Bunk | Re: [PATCH] WATCHDOG: don't auto-grab eurotechwdt.
Please define "boot".
E.g. for your harddisk driver alone the probability of not having it
included in a randconfig kernel is definitely > 10%.
Same goes for the network driver.
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
--
| Aug 12, 6:18 am 2008 |
| Rene Herman | Re: [PATCH] WATCHDOG: don't auto-grab eurotechwdt.
90% does it seems. Ingo has been using it as part of automated testing
for some time now.
Rene.
--
| Aug 12, 6:12 am 2008 |
| Wim Van Sebroeck | Re: [PATCH] WATCHDOG: don't auto-grab eurotechwdt.
The Berkshire PC-Watchdog card is indeed allready isafied. This is (just
like the mixcom and the ICS WDT50x watchdog cards) an ISA card that can
be inserted into an ISA slot. (The other two will be isafied also).
The shutdown notifier does the same thing then the reboot_notifier.
Most of the other drivers (except the 2 PCI cards and 1 USB card)
are however directly attached to the motherboard of the system. These
are thus in my opinion more platform devices then isa device drivers.
The ...
| Aug 12, 11:31 am 2008 |
| Adrian Bunk | Re: [PATCH] WATCHDOG: don't auto-grab eurotechwdt.
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
--
| Aug 12, 6:34 am 2008 |
| Adrian Bunk | Re: [PATCH] WATCHDOG: don't auto-grab eurotechwdt.
WTF?
You are expecting randconfig kernels to boot?
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
--
| Aug 12, 5:58 am 2008 |
| Rene Herman | Re: [PATCH] WATCHDOG: don't auto-grab eurotechwdt.
I can't since I'm not doing the testing, Ingo is. When you ask him, do
I suppose he has local allrandom.config files.
Rene.
--
| Aug 12, 6:30 am 2008 |
| Stephen Hemminger | Re: [PATCH] sky2: Fix suspend/hibernation/shutdown regre ...
On Sun, 10 Aug 2008 19:30:28 +0200
Yes, that's better.
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
--
| Aug 11, 7:57 pm 2008 |
| Langsdorf, Mark | RE: [Regression] 2.6.27-rc2-git4: suspend and power off ...
Thanks for the clear report. I'll look into it and try to fix it.
-Mark Langsdorf
Operating System Research Center
AMD
--
| Aug 12, 9:03 am 2008 |
| Rene Herman | Re: [PATCH] ISDN: make ICN not auto-grab port 0x320
Yes, latter I'd feel with the thing most against it that there aren't
actually many that need it. Here's the list that was posted:
http://lkml.org/lkml/2008/8/1/96
Three legacy ISA driver from that list can now be stricken. Hurrah.
There's always going to be at least a few that'll remain though. For
example, what are you going to do with:
--- linux.orig/drivers/ide/Kconfig
+++ linux/drivers/ide/Kconfig
@@ -9,6 +9,11 @@ config HAVE_IDE
menuconfig IDE
tristate "ATA/ATAPI/MFM/RLL ...
| Aug 11, 10:02 pm 2008 |
| Rene Herman | Re: [PATCH] ISDN: make ICN not auto-grab port 0x320
Obviously, and that's what is already being done. The point is that as a
There's nothing complex about
config FOO
modstate "Dafttech Boot Breaker 2000 support"
with a modstate being;
- a tristate when !CONFIG_RANDOM
- an m/n choice otherwise
And note that it's not "single developer use case". Feel how you want
about anyone, but it's about useful testing being done. It's about
developers getting bugs reported to them as a result.
Rene.
--
| Aug 12, 7:45 am 2008 |
| Adrian Bunk | Re: [PATCH] ISDN: make ICN not auto-grab port 0x320
What happens if another option selects FOO?
As soon as you mix select's with dependencies and tristates you are at
It is something that would only be used by a handful of kernel developers.
It's like randconfig, where having to force CONFIG_STANDALONE=y never
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.
...
| Aug 12, 8:23 am 2008 |
| Rene Herman | Re: [PATCH] ISDN: make ICN not auto-grab port 0x320
Found those, but seems unable to express the "depends on BROKEN_BOOT if
FOO=y" method that's currently used.
Yes, might admittedly not be considered a huge problem and perhaps we
could just ship an allyes.config (and same allrandom.config) but it's
not nice to spread information about a single symbol over various files
like that.
Currently, we have a tristate that turns into a y/n bool if !MODULES.
What would be real nice here is a tristate that turns into a m/n bool if
!RANDOM, ...
| Aug 12, 6:26 am 2008 |
| Rene Herman | Re: [PATCH] ISDN: make ICN not auto-grab port 0x320
Oh, how very, very important. s/RANDOM/!SPECIFIC/ then (and I meant "if
RANDOM" ofcourse).
The point is just that such a tristate would be a one-stop mark for
drivers/options that you want to be specifically selected for builtin
use since they're not necessarily expected to boot on general PCs.
Rene.
--
| Aug 12, 6:53 am 2008 |
| Adrian Bunk | Re: [PATCH] ISDN: make ICN not auto-grab port 0x320
The part of what you want that is AFAIK not possible with the current
kconfig is the "allyesconfig and randconfig would pre-select".
The actual dependencies on such an option could trivially be expressed
the way you want it.
But I'm trying to make the kconfig dependencies more robust by making
them less complex, and making them more complex for this developer-only
use case is nonsense.
Even more considering that the developer who gave the initial list of
variables is the same who ...
| Aug 12, 7:03 am 2008 |
| Andrew Morton | Re: [PATCH] ISDN: make ICN not auto-grab port 0x320
I think the boot option is the way, if at all.
Because the config option isn't very usable. What's to stop someone
from doing `make allyesconfig' and then menually editing the .config so
it's no longer truly an allyesconfig .config?
otoh, if is't purely a manual setting rather than some automagic thing
then it might be workable. CONFIG_INGO :)
--
| Aug 11, 10:30 pm 2008 |
| Rene Herman | Aug 12, 6:46 am 2008 | |
| Adrian Bunk | Re: [PATCH] ISDN: make ICN not auto-grab port 0x320
The dependencies we express in kconfig are already pretty complicated,
and that is continuously causing problems.
Stuffing more stuff into kconfig for such an exotic developer-only use
case is not a good idea.
And as already said, tomorrow someone might want to boot an allyesconfig
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.
...
| Aug 12, 6:43 am 2008 |
| Adrian Bunk | Re: [PATCH] ISDN: make ICN not auto-grab port 0x320
Write the required settings into a file and use KCONFIG_ALLCONFIG.
Our kconfig files are already complicated enough, and needlessly adding
more complexity only increases the problems (which would in turn result
in this Hungarian guy spreading his kconfig FUD even more often).
Tomorrow someone might want to boot an allyesconfig kernel on an old
Pentium-MMX, and the CONFIG_M686=y allyesconfig gives might break his
boot - another special case in kconfig for an even more exotic use ...
| Aug 12, 6:08 am 2008 |
| Rafael J. Wysocki | Re: [PATCH] PM: Remove WARN_ON from device_pm_add
No, it doesn't indicate a functional regression.
In 2.6.26 the WARN_ON() was artificially silenced by USB, but that stopped
working after the PM core had changed in 2.6.27-rc.
Thanks,
Rafael
--
| Aug 12, 7:29 am 2008 |
| Adrian Bunk | Re: [PATCH] PM: Remove WARN_ON from device_pm_add
Michael Tsirkin said in #11284 (which is marked as a duplicate of #11263):
X often crashes on resume, sometimes ACPI seems to stop working
after resume. I am trying to figure exact way to reproduce first,
yes
<-- snip -->
Is this a separate regression or did the WARN_ON different from the
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 ...
| Aug 12, 5:59 am 2008 |
| Aristeu Rozanski | [PATCH] vt: kill tty->count usage (v2)
The commit e0426e6a09954d205da2d674a3d368d2715e3afd fixes a real race but
still isn't enough to prevent these:
kobject_add_internal failed for vcs7 with -EEXIST, don't try to register
things with the same name in the same direc.
Pid: 2967, comm: vcs_stress Not tainted 2.6.25 #10
[<c04e852e>] kobject_add_internal+0x137/0x149
[<c04e85d4>] kobject_add_varg+0x35/0x41
[<c04e8645>] kobject_add+0x43/0x49
[<c055e54f>] device_add+0x91/0x4b4
[<c055e984>] device_register+0x12/0x15
[<c055e9f6>] ...
| Aug 12, 7:58 am 2008 |
| Grant Grundler | Re: [PATCH] ieee1394: sbp2: enforce s/g segment size limit
On Sat, Aug 9, 2008 at 11:20 AM, Stefan Richter
While this code will probably work correctly, I believe if the
sg_dma_len() returns 0, one has walked off the end of the
"bus address" list.
pci_map_sg() returns how many DMA addr/len pairs are used
and that count could (should?) be used when pulling the
dma_len/addr pairs out of the sg list.
Effectively, the SG list is really two lists with seperate counts:
the original list with virtual addresses/len/count and the "DMA mapped"
list with ...
| Aug 12, 10:04 am 2008 |
| FUJITA Tomonori | Re: [PATCH] ieee1394: sbp2: enforce s/g segment size limit
On Tue, 12 Aug 2008 10:04:14 -0700
Yeah, from a quick look, seems that this patch wrongly handles
sg_count.
This patch sets scsi_sg_count(sc) to sg_count, right? for_each_sg is
expected to be used with a return value of pci_map_sg.
Then this patch can simply do something like:
for_each_sg(sg, sg, sg_count, i) {
pt[i].high = cpu_to_be32(sg_dma_len(sg) << 16);
pt[i].low = cpu_to_be32(sg_dma_address(sg));
}
--
| Aug 12, 4:44 pm 2008 |
| Serge E. Hallyn | Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM)
By default?? I should hope not...
Note that these are all not loadable modules. So presumably either it's
But then that is in fact the better way to go if there can be a lot
of inodes with i_integrity=NULL. It looks like IMA always allocates
something, but if I understand the idea behind templates correctly,
that isn't necessarily always the case.
thanks,
-serge
--
| Aug 12, 2:19 pm 2008 |
| Peter Dolding | Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM)
We really do need to get credentials patch in to common store all this
permission/secuirty data.. With a section for integrity related
entries.
Anti-Virus Passes and fails, signed running programs support and so on.
Lot of different things need ways of recording integrity status's.
Users also need to know if a application does not work is it TPM is it
Anti-virus is it lack of signature.
A common way of extracting what the blockage has to be the way
forward. Since then this can be ...
| Aug 12, 1:41 am 2008 |
| Christoph Hellwig | Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM)
No, the concern is over bloating the inode for a rather academic fringe
feature. As this comes from IBM I'm pretty sure someone will pressure
the big distro to turn it on. And inode growth is a concern for
fileserving or other inode heavy workload. Mimi mentioned this is just
a cache of information, so consider using something like XFS's mru cache
which is used for something similar where the xfs_inode was kept small
despite a very niche feature needing a cache attached to the ...
| Aug 12, 12:27 pm 2008 |
| Christoph Hellwig | Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM)
Peter, please read up what the credentials patches do, or how struct
cred/ucred is used in SVR4 and BSD for the last 20 years. It is useful,
but it's not going to help with any of the strange thigns the AV or
Integrity people are doing.
--
| Aug 12, 12:29 pm 2008 |
| Christoph Hellwig | Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM)
vfs_permission and file_permission are just small wrappers around
inode_permission. In hindsight they actualyl were a wrong idea and
will probably go away in the not so distant future. Note that there
are various callers of inode_permission that don't have a vfsmount
anywhere near.
--
| Aug 12, 12:25 pm 2008 |
| Christoph Hellwig | Re: [PATCH 1/4] integrity: TPM internel kernel interface
And what happens when the chip simply goes away due to a hotplug action?
Or not even the actual chip goes away but just the chip driver and you
now dereference freed memory?
--
| Aug 12, 12:30 pm 2008 |
| Greg KH | Re: [PATCH 1/4] integrity: TPM internel kernel interface
Load up the fake-php hotplug pci driver and "soft" disconnect it from
the system :)
That was easy...
Note, just because you think your device is always going to be soldered
to the motherboard, doesn't mean it can't be disconnected at any point
in time with the kernel running.
Or the module could just be unloaded, that's also a very common thing to
have happen, right?
thanks,
greg k-h
--
| Aug 12, 4:16 pm 2008 |
| Kenneth Goldman | Re: [PATCH 1/4] integrity: TPM internel kernel interface
Being a TCG/TPM person, I can only address the first question. The
intent is that the TPM is soldered to the planar/motherboard (the TCG
uses the phrase "bound to the platform"). I can't imagine
any manufacturer designing a pluggable TPM. It would subvert PCR
measurements and thus attestation, data sealing, etc.
--
| Aug 12, 1:57 pm 2008 |
| Alan Cox | Re: [PATCH 1/4] integrity: TPM internel kernel interface
So the security limit of your TPM is a soldering iron .. whoo. I'm not
sure this is actually the case however as the secret of interest is in
the TPM so even if I replaced the TPM the goodies already set up are in
the TPM I just unsoldered surely ?
Alan
--
| Aug 12, 2:36 pm 2008 |
| Huang Ying | Re: [PATCH -v2 7/8] kexec jump: ftrace_enabled_save/restore
Hi, Vivek,
On Mon, 2008-08-11 at 09:51 -0400, Vivek Goyal wrote:
Not from optimization point of view. machine_kexec() may be called from
crash_kexec(), where it is not permitted to take and release a lock.
Best Regards,
Huang Ying
--
| Aug 11, 6:22 pm 2008 |
| Rene Herman | Re: [PATCH] PNP: make the resource type an unsigned long
Okay, thanks. I see that Andrew picked these up with Andi in CC so I'll
assume things will find their way from there.
Rene.
--
| Aug 11, 9:15 pm 2008 |
| Riku Voipio | Re: [PATCH] leds-pca9532: Fix memory leak and properly h ...
Driver in general works after this, error path(s) not tested.
--
"rm -rf" only sounds scary if you don't have backups
--
| Aug 12, 12:05 pm 2008 |
| Dave Hansen | Re: checkpoint/restart ABI
Yep, these are all challenges. If you have some really specific
questions, or things you truly think can't be done, please speak up.
But, I really don't see any show stoppers in your list.
We also plan to do this incrementally. The first consumers are likely
to be dumb, simple HPC apps that don't have real hardware like audio or
video. Eventually, we'll get to real hardware like infiniband (ugh) or
audio. Eventually.
(Actually futexes aren't that bad because they don't keep ...
| Aug 12, 8:11 am 2008 |
| Serge E. Hallyn | Re: checkpoint/restart ABI
Except we don't really want to export all the info you need for a
complete restartable checkpoint. And especially not make it
generally writable.
We have also started down that path using ptrace (see cryo, at
git://git.sr71.net/~hallyn/cryodev.git).
Right before the containers mini-summit, where the general agreement was
that a complete in-kernel solution ought to be pursued, I had tried
a restart using a binary format that read a checkpoint file and used
cryo (userspace using ptrace) for ...
| Aug 12, 7:49 am 2008 |
| Dave Hansen | Re: checkpoint/restart ABI
Yes, that's exactly it. We're diverging from discussing the important
bits as it is, and I think we'd do that more and more with extra
Amen to that. I won't speak for the rest of the whackos interested in
So, there's a lot of stuff there. The networking stuff is way out of my
league, so I'll cc Daniel and make him answer. :)
All of the other stuff has been done in various in-kernel
implementations. OpenVZ, IBM's Metacluster, Zap (Oren's work at
Columbia). Most of it *can* be done ...
| Aug 12, 7:58 am 2008 |
| Dave Hansen | Re: checkpoint/restart ABI
All true. Hard stuff.
The IBM product works partly by limiting migrations to occurring on a
single physical ethernet network. Each container gets its own IP and
MAC address. The socket state is checkpointed quite fully and moved
Me, personally, I think I'd probably "re-link" the thing, mark it as
such, ship it across like a normal file, then unlink it after the
I respectfully disagree. The number one prerequisite for
checkpoint/restart is isolation. Xen just happens to get this for ...
| Aug 12, 9:46 am 2008 |
| Jeremy Fitzhardinge | Re: checkpoint/restart ABI
We were dealing with checkpointing random sets of processes, and that
posed all sorts of problems. Filesystem namespace was one, the pid
namespace was another. Doing checkpointing at the container-level
No, it's much harder. Hardware is relatively simple and immutable
Yeah, there was a paper, but it looks like the internet has lost it. It
was at ...
| Aug 12, 10:04 am 2008 |
| Oren Laadan | Re: [RFC][PATCH 1/4] checkpoint-restart: general infrast ...
Dave is right on the money: in Zap (the equivalent of) cr_get_fname()
may be called with a buffer smaller than PATH_MAX (one page) and hence
the need to allocate ad-hoc. Indeed in the current code this is not the
One way to reduce the risk is to use an intermediate representation to
kernel native data and properties (e.g. classify VMAs during checkpoint
instead of relying blindly on the flags).
The problem is not so much in restarting a checkpoint image from old
kernel on a new kernel - ...
| Aug 11, 8:44 pm 2008 |
| Jeremy Fitzhardinge | Re: checkpoint/restart ABI
Inter-machine networking stuff is hard because its outside the
checkpointed set, so the checkpoint is observable. Migration is easier,
in principle, because you might be able to shift the connection endpoint
without bringing it down. Dealing with networking within your
checkpointed set is just fiddly, particularly remembering and restoring
all the details of things like urgent messages, on-the-fly file
Sure, there's no inherent problem. But do you imagine including the
file contents ...
| Aug 12, 9:32 am 2008 |
| Eugene Teo | Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, i ...
Ok, so there's a mistake in my patch. It should return the loopback MAC
address instead. I'm wondering if the fix should be related to
initialising rt6i_idev in addrconf_init routine like in the upstream
commit: c62dba9011b93fd88fde929848582b2a98309878. The code changed quite
a lot.
Eugene
--
| Aug 11, 5:41 pm 2008 |
| Eugene Teo | Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, i ...
So I checked, it's initialised in ip6_route_init().
Eugene
--
| Aug 11, 6:40 pm 2008 |
| Eugene Teo | Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, i ...
With the patch I posted, this is the behaviour I get:
$ ip -f inet6 route get fec0::1
unreachable fec0::1 dev lo table unspec proto none src
fe80::214:4fff:fe0f:7332 metric -1 error -101 hoplimit 255
John emailed me that he will be testing this patch. I have not tested
Thanks for letting me know. I wasn't familiar, but I welcome the hint.
Thanks,
Eugene
--
| Aug 11, 5:13 pm 2008 |
| Brian Haley | Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, i ...
Acked-by: Brian Haley <brian.haley@hp.com>
But Yoshfuji might have another opinion since he did the work to remove
ipv6_get_saddr() in the first place.
-Brian
--
| Aug 11, 5:41 pm 2008 |
| John Gumb | RE: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26,ip ...
Folks
I've enclosed patch from Eugene just so we all know which patch we're
talking about. It 'works' according to the following definition:
a) Fixed OOPS
b) runs overnight in our test network. This run doesn't do much specific
ipv6 testing - but clearly what's there is catching stuff :-;
cheers
John
-----Original Message-----
From: Eugene Teo [mailto:eugeneteo@kernel.sg]=20
Sent: 11 August 2008 12:04
To: Brian Haley
Cc: Alexey Dobriyan; John Gumb; ...
| Aug 12, 2:11 am 2008 |
| Adrian Bunk | Re: [PATCH -next] drm: sis depends on FB_SIS
If FB_SIS=m, should DRM_SIS=y be allowed or should in this case DRM_SIS
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
--
| Aug 12, 5:59 am 2008 |
| Dave Airlie | Re: [PATCH -next] drm: sis depends on FB_SIS
Probably not. if FB_SIS is selected at all, DRM_SIS should match it, if
FB_SIS isn't selected, DRM_SIS should not select it.
Dave.
--
| Aug 12, 2:37 pm 2008 |
| Tim Bird | Re: [PATCH] bootup: Add built-in kernel command line for ...
Allow x86 to support a built-in kernel command line. The built-in
command line can override the one provided by the boot loader, for
those cases where the boot loader is broken or it is difficult
to change the command line in the the boot loader.
Signed-off-by: Tim Bird <tim.bird@am.sony.com>
---
arch/x86/Kconfig | 45 +++++++++++++++++++++++++++++++++++++++++++++
arch/x86/kernel/setup.c | 16 ++++++++++++++++
2 files changed, 61 insertions(+), 0 deletions(-)
[...Nested ...
| Aug 12, 12:52 pm 2008 |
| Suresh Siddha | Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
Ok. In the real world usage, where we use these instructions both from
process and softirq context, we will probably not see much penality,
as the process context's first access will always endup doing full fp restore
(and also we kick in the context switch FP optimization, which will
As there are no further objections, Herbert/Ingo not sure who among you
will push this patch to Linus tree and 2.6.26 -stable tree aswell.
thanks,
suresh
--
| Aug 12, 11:28 am 2008 |
| Herbert Xu | Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
That's not surprising since tcrypt runs with BH off so it'll
do pretty much the same thing as before. This also shows that
reading CR0 doesn't impose any extra overhead compared to what
was done in kernel_fpu_begin.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
| Aug 12, 5:02 am 2008 |
| Wolfgang Walter | Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
Yes, I'll test that tomorrow.
Regards,
--
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Rechts
Leiter EDV
Leopoldstraße 15
80802 München
Tel: +49 89 38196-276
Fax: +49 89 38196-144
wolfgang.walter@stwm.de
http://www.studentenwerk-muenchen.de/
--
| Aug 11, 5:38 pm 2008 |
| H. Peter Anvin | Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
That's not sufficient, though, because you have to track all the state
and how it relates to everything. You now have to track both the
userspace FPU state and the potential kernel FPU state. The VIA
instructions are special (in the short bus to school sense) in that they
use a mechanism intended to protect specific state to protect -- exactly
nothing.
-hpa
--
| Aug 11, 5:42 pm 2008 |
| Herbert Xu | Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
I'll push this one along.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
| Aug 12, 4:40 pm 2008 |
| Herbert Xu | Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
Right, well at least VIA could still use this and it wouldn't
hurt others that much.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
| Aug 11, 5:52 pm 2008 |
| H. Peter Anvin | Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
No, there you are actually using the FPU state (which includes the SSE
state.)
-hpa
--
| Aug 11, 5:48 pm 2008 |
| Herbert Xu | Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
On Mon, Aug 11, 2008 at 01:19:01PM -0700, Suresh Siddha wrote:
Yes disabling preemption is the real killer.
This is just a quick band-aid. Longer term we should add a task
flag that indicates the task is currently doing kernel FPU which
will tell the scheduler to clear TS the next time it's run. That
way we won't need to disable preemtion or pollute the user task's
FPU used state.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} ...
| Aug 11, 5:39 pm 2008 |
| Herbert Xu | Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
Sorry, the kernel TS state is what I meant. I'm definitely not
advocating the saving of the kernel FPU state. This is only for
things like the VIA (which also exists for other processors, see
the xor SSE stuff in include/asm-x86).
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
| Aug 11, 5:46 pm 2008 |
| Wolfgang Walter | Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
* Works fine, machine is up since 61 minutes.
* Performance:
Routing performance over esp-tunnels seems unchanged here compared to 2.6.25
(this was also the case with the "kernel_fpu_begin" patch).
tcrypt mode=200 shows exactly the same performance penalty compared to 2.6.25
as the "kernel_fpu_begin" patch.
But I think this the right way to go with 2.6.26 und probably 2.6.27. And I'm
not sure if tcyrpt really shows the whole story for 2.6.25:
a) does it measure the costs of the ...
| Aug 12, 4:43 am 2008 |
| Peter Oruba | Re: [patch 4/5] [PATCH 4/5] x86: Minor correction to Int ...
Yes, it's a fix for PATCH 3/5
-Peter
--
| 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 Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
--
| Aug 12, 7:14 am 2008 |
| Andi Kleen | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x6 ...
I'll fix it in the patch, thanks.
-Andi
--
| Aug 12, 11:59 am 2008 |
| Milan Broz | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60
Hi,
I see exactly the same on my x60s, but during upgrade to 2.6.26.2.
I found that (at least in my case) the problem is, that in
2.6.25 the core frequency drop to 1GHz (instead of 1.67GHz) when
the temperature is above some limit.
Now, the CPU cores remains on 1.67GHz and fan is unable to cool them properly
under heavy load (even if I set "level disengaged" through thinkpad fan control,
temperature sensor shows after a while 128 C (probably not real temp,
I expect some critical flag => ...
| Aug 12, 4:07 am 2008 |
| Andi Kleen | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x6 ...
> and this seems to fix it for me:
Great. Thanks for the patch. I wonder why gcc didn't warn about this.
-Andi
--
| Aug 12, 9:28 am 2008 |
| Andi Kleen | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60
Does this mean you can easily reproduce it?
Ok it was just a long shot anyways.
-Andi
--
| Aug 12, 3:54 am 2008 |
| Pavel Machek | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60
It is easily reproduced, but it takes 10+ minutes, and at the end
machine is so hot it will not even power up. So yes, bisect is
possible, but I'd prefer to avoid it.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 12, 4:02 am 2008 |
| Rafael J. Wysocki | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60
Pavel, can you check if the state of the fan(s) change while the thermal trip
points are being passed?
As I said in http://bugzilla.kernel.org/show_bug.cgi?id=11281, I suspect that
this mechanism may be broken.
Thanks,
Rafael
--
| Aug 12, 7:34 am 2008 |
| Thomas Renninger | Re: 2.6.27-rc1 and 2.6.26.1: critical thermal shutdown o ...
Hmm, the machine should still not shut down. We need the virtual
Ohh dear..., what kind of obvious bug have I introduced.
Thanks a lot!
Thomas
--
| Aug 12, 9:01 am 2008 |
| Milan Broz | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x6 ...
and this seems to fix it for me:
--
Do not use unsigned int if there is test for negative number...
See drivers/acpi/processor_perflib.c
static unsigned int ignore_ppc = -1;
...
if (event == CPUFREQ_START && ignore_ppc <= 0) {
ignore_ppc = 0;
...
Signed-off-by: Milan Broz <mbroz@redhat.com>
---
drivers/acpi/processor_perflib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: ...
| Aug 12, 8:48 am 2008 |
| Dominik Brodowski | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x6 ...
Hi,
^^^^
follow-up change?
Best,
Dominik
--
| Aug 12, 11:30 am 2008 |
| Pavel Machek | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60
How do you control fans? I could not get anything but -EINVAL from IBM
Hmmm... that's seriously strange. I definitely don't see it in
2.6.26. Maybe it is config dependend?! (Attaching my 2.6.27-rc2
failing config.)
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| Aug 12, 4:26 am 2008 |
| Pavel Machek | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60
Not that one :-(. Thinkpad does not even have fan device: it is
controlled by hardware.
Pavel
--- /tmp/dmesg.26 2008-08-12 11:38:44.000000000 +0200
+++ /tmp/dmesg.rc2 2008-08-12 11:15:44.000000000 +0200
@@ -1,4 +1,4 @@
-Linux version 2.6.26 (pavel@amd) (gcc version 4.1.3 20071209 (prerelease) (Debian 4.1.2-18)) #313 SMP Mon Jul 14 08:33:14 CEST 2008
+Linux version 2.6.27-rc2 (pavel@amd) (gcc version 4.1.3 20071209 (prerelease) (Debian 4.1.2-18)) #322 SMP Thu Aug 7 11:58:09 CEST ...
| Aug 12, 2:41 am 2008 |
| Milan Broz | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60
yes. maybe some userspace tool controlling frequency is involved, no idea yet.
No, it is not ok.
you need add fan_control=1 to thinkpad_acpi module
http://www.thinkwiki.org/wiki/How_to_control_fan_speed
hm. strange, I'll try this config too...
Milan
--
| Aug 12, 4:44 am 2008 |
| Pavel Machek | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60
So it definitely is in 2.6.26.2, and it definitely is in 2.6.26?
Thanks for pointers!
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 12, 4:55 am 2008 |
| Rafael J. Wysocki | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60
I didn't know that, sorry.
--
| Aug 12, 12:57 pm 2008 |
| Matthew Garrett | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60
Thinkpads don't expose fans as ACPI devices, so there's no active trip
points.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| Aug 12, 8:32 am 2008 |
| Rafael J. Wysocki | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x6 ...
Is the complete patch available anywhere? I need a link to it for the list of
regressions.
Thanks,
Rafael
--
| Aug 12, 12:56 pm 2008 |
| Milan Broz | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x6 ...
The bug is _not_ in 2.6.26, it was introduced in 2.6.26.1.
The problem is, that now the CPU frequency doesn't decrease at some
temperature level and fan is unable to cool it properly.
bisect on 2.6.26.y tree finished in this patch:
(I expect similar patch in 2.6.27-rc)
commit 04f496871e8af87a1e40c504371a206fd7389193
Author: Thomas Renninger <trenn@suse.de>
Date: Wed Jul 30 18:20:10 2008 +0000
cpufreq acpi: only call _PPC after cpufreq ACPI init funcs got called already
...
| Aug 12, 7:57 am 2008 |
| Peter Palfrader | Re: 2.6.26.1 hangs on dl385
On Mon, Aug 11, 2008 at 11:17:34PM -0600, dann frazier wrote:
| This is readily reproducible - a simple kernel compile was all it
| took. git bisecting suggests that this issue was introduced by [1]
| and unmasked by [2] during 2.6.26 devlopment. It was later fixed
| during 2.6.27 development by [3].
|
| [1] 35605a1027ac630f85a1b95684f7e86b82498cd6
| [2] 8d539108560ec121d59eee05160236488266221c
| [3] 8004dd965b13b01a96def054d420f6df7ff22d53
See http://bugs.debian.org/494365 for ...
| Aug 12, 2:43 am 2008 |
| Paul Mundt | Re: [PATCH 3/3] binfmt_elf_fdpic: Wire up AT_EXECFD, AT_ ...
Yes, your fixups look fine, thanks.
Also note that you are missing David's signed-off-by on 2/3:
http://marc.info/?l=linux-sh&m=121784461423443&w=2
--
| Aug 11, 7:38 pm 2008 |
| Luis R. Rodriguez | Re: CRDA and uevent
OK I got this to work, will send patches soon.
Luis
--
| Aug 11, 6:04 pm 2008 |
| Marcel Holtmann | Re: CRDA and uevent
good, because I was running quite busy on my side. You could use a class
like the firmware loader does btw.
Regards
Marcel
--
| Aug 12, 2:40 pm 2008 |
| Luck, Tony | RE: [patch] IA64: make rsvd_region and num_rsvd_regions static
Are you looking at -mm or linux-next? In my tree I see:
arch/ia64/mm/contig.c: for (i = 0; i < num_rsvd_regions; i++) {
arch/ia64/mm/contig.c: range_end = min(end, rsvd_region[i].start & PAGE_MASK);
arch/ia64/mm/contig.c: free_start = PAGE_ALIGN(rsvd_region[i].end);
-Tony
--
| Aug 12, 1:47 pm 2008 |
| Simon Horman | Aug 12, 4:21 pm 2008 | |
| Pavel Machek | Re: [linux-pm] Tyan S2923-E suspend to ram fails to resume
Yep, that should work. When it does not, it means BIOS is not
returning to our real mode code :-(. You may want to try disabling
APIC and similar stuff, in hope of working around BIOS bug you are
hitting, but ...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 12, 3:31 am 2008 |
| Matthew Wilcox | Re: [RFC/PATCH] SLUB: dynamic per-cache MIN_PARTIAL
Hi Pekka,
We tested this patch and it was performance-neutral on TPC-C. I was
hoping it would give a nice improvement ... so I'm disappointed. But at
least there's no regression!
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
| Aug 12, 5:27 am 2008 |
| Pekka Enberg | Re: [RFC/PATCH] SLUB: dynamic per-cache MIN_PARTIAL
Hi Matthew,
OK, so your regression is something else then. Well, thanks for testing!
--
| Aug 12, 5:33 am 2008 |
| mark gross | Re: [PATCH RFC] pm_qos_requirement might sleep
As long as RAW_SPINLOCK compiles to a normal spinlock for non-RT premept
kernels I'm don't see a problem, as the change is almost a no-op for
non-RT kernels.
Signed-off-by: mark gross <mgross@linux.intel.com>
Should I send an updated patch that includes a change to the comment
block regarding the locking design after this patch or instead of it?
--gmross
--
| Aug 12, 3:49 pm 2008 |
| Fernando Luis | Re: RFC: I/O bandwidth controller
Thank you for the heads-up.
- Fernando
--
| Aug 11, 10:35 pm 2008 |
| Arjan van de Ven | Re: cpufreq doesn't seem to work in Intel Q9300
On Tue, 12 Aug 2008 21:03:02 +0200
not quite.. if it does for a certain cpu, then it's only for cpus that
it's basically always less (or really best case equal) than c1 just due
not even on PIII is it a win.. it's just too short a duration
This is not correct. C2 is only effective if you stay in it "long
incorrect
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit ...
| Aug 12, 12:59 pm 2008 |
| S K | Re: cpufreq doesn't seem to work in Intel Q9300
Wow! Didn't mean to start a "tech war" here (point's at the long
I don't remember installing any special driver for Windows XP.
Since you claim that as a possibility, is there something that I can look
for to check if this is the case?
The reason I'm questioning this so much is because I plan to contact
Shuttle tech support and try to get them to fix this if it really is a BIOS
issue. But I need valid points to make sure they don't pass on the
blame and slip away. They do seem to release BIOS ...
| Aug 11, 10:43 pm 2008 |
| Dominik Brodowski | Re: cpufreq doesn't seem to work in Intel Q9300
Hi Arjan,
well, the spec isn't really clear about this. It says (IA32 Intel
Architecture Software Developer's Manual, Volume 3, section 13.14.3) that
P6 family processors did this using STPCLK#. And STPCLK# was also used by the
chipset to force the CPU to enter C2, IIRC.
Do P4s only do an C1-equivalent (or even less than that) now, as they do the
If it's C2-equivalent vs. C1, it's a win. So throttling would be a win from
this perspective on a only C1-capable PIII, but not on a P4? Is that ...
| Aug 12, 12:03 pm 2008 |
| Adrian Bunk | Re: cpufreq doesn't seem to work in Intel Q9300
Sorry, I was a bit too surprised after your description.
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
--
| Aug 12, 12:27 pm 2008 |
| Paul Jackson | Re: [PATCH] Removes extra checking kernel/cpuset.c
This PATCH has the exact same name 'Removes extra checking kernel/cpuset.c'
as another, different PATCH:
1) sent 7/31: kernel/cpuset.c guarantee_online_mems() and guarantee_online_cpus()
2) this one, sent 8/2: kernel/cpuset.c update_domain_attr().
Please use different names for different patches.
And this one, for update_domain_attr(), probably conflicts with other
work being done by Max K (I'll add him to the CC list, above) which relies
on this dattr check here, as commented in a recent ...
| Aug 11, 8:48 pm 2008 |
| Steven Rostedt | Re: Only three cores found on quad-core machine.
Dave,
Would it be possible to pull this kernel into gdb and show me the output
of:
gdb> li *0xffffffff81094d61
and a
gdb> disass 0xffffffff81094d61
Thanks,
--
| Aug 11, 7:23 pm 2008 |
| Justin Mattock | Re: Suspend issues on 2.6.27-rc2 (was: Heavy suspend and ...
Just to let you know, I am having suspend issues as well,
(not kernel related),
ATI chipset, my situation maybe different, but you never know.
last week I was using xorg 7.1 with no issues,
now after an upgrade through debian sid
xorg 7.3(or whatever the number is), the system wakes up
to a black screen, then after around two or three minuetes
I regain my screen again. Could be xorg, or something else.
Maybe you are having the same issue.
--
Justin P. Mattock
--
| Aug 11, 6:43 pm 2008 |
| Divy Le Ray | Re: [RFC][PATCH 1/1] cxgb3i: cxgb3 iSCSI initiator
Well, there is demand for accerated iscsi out there, which is the driving
Herbert requested some benchmark numbers, I consequently obliged.
Cheers,
Divy
--
| Aug 12, 3:21 pm 2008 |
| David Miller | Re: [RFC][PATCH 1/1] cxgb3i: cxgb3 iSCSI initiator
From: Divy Le Ray <divy@chelsio.com>
You keep a flow table with buffer IDs and offsets.
The S2IO guys did something similar for one of their initial LRO
impelementations.
It's still strictly stateless, and best-effort. Entries can fall out
of the flow cache which makes upcoming data use new buffers and
offsets.
But these are the kinds of tricks you hardware folks should be
more than adequately able to design, rather than me. :-)
--
| Aug 12, 3:01 pm 2008 |
| David Miller | Re: [RFC][PATCH 1/1] cxgb3i: cxgb3 iSCSI initiator
From: Steve Wise <swise@opengridcomputing.com>
When I say shape I mean apply any packet scheduler, any netfilter
module, and any other feature we support.
--
| Aug 11, 5:22 pm 2008 |
| Divy Le Ray | Re: [RFC][PATCH 1/1] cxgb3i: cxgb3 iSCSI initiator
Hi Dave,
iSCSI PDUs might spawn over multiple TCP segments, it is unclear to me how to
do placement without keeping some state of the transactions.
In any case, such a stateless solution is not yet designed, whereas
accelerated iSCSI is available now, from us and other companies.
The accelerated iSCSI streams benefit from the performance TOE provides,
outlined in the following third party ...
| Aug 12, 2:57 pm 2008 |
| David Miller | Re: [RFC][PATCH 1/1] cxgb3i: cxgb3 iSCSI initiator
From: Divy Le Ray <divy@chelsio.com>
So, WHAT?!
There are TOE pieces of crap out there too.
It's strictly not our problem.
Like Herbert said, this is the TOE discussion all over again.
The results will be the same, and as per our decisions wrt.
TOE, history speaks for itself.
--
| Aug 12, 3:02 pm 2008 |
| Dave Young | Re: [BUG] wireless : cpu stuck for 61s
Unfortunately I have no more time to do this these days.
As I can't reproduce it with the latest git kernel I think that It
--
Regards
dave
--
| Aug 11, 9:19 pm 2008 |
| Ivo van Doorn | Re: Fixing rt2500pci [PATCH]
[stable@kernel.org added to CC]
The 2.6.27 version of the patch has already been pushed upstream,
this one is for 2.6.26-stable since this fixes a regression introduced after 2.6.25.
--
| Aug 12, 3:01 am 2008 |
| Ian Kent | Re: [Unionfs] Re: [PATCH -mm] unionfs: build fixes
Erez, do you have links to email threads or a commentary of the things
that are causing concern somewhere?
I spotted one but it seems light on for descriptive value (or maybe it's
Yeah, life is like that a lot for me too.
But why not assume that, given a reasonable amount of time, a "no
response" is equivalent to a "no complaints" and push on with the
updates. Sooner or later someone who cares enough will take a look and
give the needed feedback.
Ian
--
| Aug 12, 8:38 am 2008 |
| Claudio Nieder | Re: [PATCH] Backlight driver for Tabletkiosk Sahara Touc ...
thank you for the remark. I have changed the mdelay to msleep in my
patch, reapplied it to the current Linus tree, built a kernel, installed
it on my computer and tested it. It works perfectly as you surely
expected. The corrected patch is included here.
BTW: I have noticed that some other drivers in video/backlight still use
mdelay: ili9320.c, locomolcd.c and vgg2432a4.c.
claudio
Signed-off-by: Claudio Nieder <private@claudio.ch>
---
drivers/video/backlight/Kconfig | 7 +
...
| Aug 12, 10:38 am 2008 |
| Arnd Bergmann | Re: [PATCH]: Make ioctl.h compatible with userland
[PATCH] Make _IOC_TYPECHECK use BUILD_BUG_ON_ZERO
This converts _IOC_TYPECHECK from a link error to a compile-time
error using BUILD_BUG_ON_ZERO. This makes it possible to use
the standard _IOC macros in user space even with non-optizing
compilers.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
There is one significant difference: using BUILD_BUG_ON_ZERO will
break user space code that uses broken ioctl number definitions
like _IOC('x', 1, sizeof(int)) that were fixed up in the ...
| Aug 12, 8:12 am 2008 |
| Johannes Engel | Re: [PATCH 1/1 repost #1] DRM: don't enable irqs in locking
Hi Thomas,
any news on that so far?
Cheers, Johannes
--
| Aug 12, 6:22 am 2008 |
| Pavel Machek | Re: [RFC] Imprecise timers.
Do you have example of driver that does NOT need upper limit?
Like... lets take ATA.
submit_command()
if command is not back in ~5 seconds, it probably timed out.
So you set soft limit to 5 seconds, and hard limit to 10. You
definitely want user to know something is wrong after 10 seconds,
right?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 12, 5:00 am 2008 |
| Venki Pallipadi | Re: [RFC] Imprecise timers.
I would say this will be the wrong usage of deadline, atleast with the
two timer and no round off implementation.
For this example, it will probably be better to use round_jiffies to round the
timer to second level and make it go in sync with all other round timers on
this CPU, rather than setting two timers with hard timer not in sync with
other timers on the CPU.
- if there are other timers (rounded or otherwise) on this CPU that goes off
between 5-10 seconds, we are paying penalty for ...
| Aug 12, 11:11 am 2008 |
| Pavel Machek | Re: [RFC] Imprecise timers.
Ok, maybe.
But don't try to play with vga cursor blinking; any irregularity there
will be _very_ visible_.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 12, 2:58 pm 2008 |
| Alan Cox | Re: [RFC] Imprecise timers.
The cursor really really needs to be steady to within a few frames or you
will notice it. Not using blinking cursors would of course be even better
(or sneaking the blink into the graphics hardware ;))
Your API also needs to use some kind of internal time concept that can be
shared between virtual machines because the end product of this done
right has to be to push timer scheduling at the basic level into the
hypervisor because it needs to merge timer events across guests. Anything
less and ...
| Aug 12, 2:55 pm 2008 |
| Pavel Machek | Re: [PATCH 01/01][retry 1] x86: L3 cache index disable f ...
Hmm, I misparsed that.
Yes, we have some helpers for sysfs writing... SEQ_printf(), IIRC.
Is this even valid C?
ret += sprintf(buf, "%s %x\t", buf, reg);
You are printing into buffer you are passing as argument. That seems
fragile.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 12, 3:07 pm 2008 |
| Langsdorf, Mark | RE: [PATCH 01/01][retry 1] x86: L3 cache index disable f ...
I'm printing the values of the two config registers into
the string buffer, separated by tabs, and terminated by
an EOL. Is there a prefered way to do that instead of
what I have?
-Mark Langsdorf
Operating System Research Center
AMD
--
| Aug 12, 3:01 pm 2008 |
| Greg KH | Re: [PATCH 01/01][retry 1] x86: L3 cache index disable f ...
ALL new sysfs files require an entry in Documentation/ABI/ showing what
the file is for and how to use it. See the README file in that
Why are you printing more than one value per sysfs file? That's almost
never allowed.
thanks,
greg k-h
--
| Aug 12, 3:12 pm 2008 |
| Pavel Machek | Re: [PATCH 01/01][retry 1] x86: L3 cache index disable f ...
Not sure, lets ask greg. And it probably should have few lines
in Documentation going with it, so we know new interface is added and
So you print "buf" few times? Why? And you use both \t and \n as deliminer...
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 12, 2:56 pm 2008 |
| Mark Langsdorf | Re: [PATCH 01/01][retry 1] x86: L3 cache index disable f ...
Okay, this is a simpler version that includes most of Ingo's
clean-ups and style changes. It only displays the two
cache index values. Is this acceptable?
New versions of AMD processors have support to disable parts
of their L3 caches if too many MCEs are generated by the
L3 cache.
This patch provides a /sysfs interface under the cache
hierarchy to display which caches indices are disabled
(if any) and to ALLOW monitoring applications to disable a
cache index.
This patch does ...
| Aug 12, 9:04 am 2008 |
| Greg KH | Re: [PATCH 01/01][retry 1] x86: L3 cache index disable f ...
Yes, two different files, one for each config register.
thanks,
greg k-h
--
| Aug 12, 3:53 pm 2008 |
| Arjan van de Ven | Re: [PATCH] Intel Management Engine Interface
On Tue, 12 Aug 2008 20:24:51 +0100
that's not a good argument really...... especially not for adding a bad
interface.
--
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
--
| Aug 12, 2:03 pm 2008 |
| Andrew Morton | Re: [PATCH] Intel Management Engine Interface
On Mon, 11 Aug 2008 21:23:01 +0200 (CEST)
This code adds new kernel->userspace interfaces?
Please fully document those interfaces so that we can review the
proposed design.
What follows is a low-level review. I didn't really address the
higher-level design aspects because even having read it, I don't know
what all this code does, because I wasn't told. I could work that out,
but I'd prefer not to have to, because that means that everyone else
who wishes to maintain this code would need ...
| Aug 11, 9:53 pm 2008 |
| Jiri Slaby | Re: [PATCH] Intel Management Engine Interface
Yes and already pointed out. This leaks to userspace and it's wrong. Please go
and read my comments to version #1 once again and if you don't understand
anything, please drop a message, but do not silently ignore others' comments.
E.g. unlocked_ioctl switch hasn't been done plus other things mentioned below
... and conflicts with hid as I commented before. Also ioctl-number.txt update
Hm, no, pci_enable_device sets up irq (i.e. even pdev->irq), this is correct
sequence. Actually one ...
| Aug 12, 9:15 am 2008 |
| Alan Cox | Re: [PATCH] Intel Management Engine Interface
I would disagree. We use ERR_PTR() and other macros with errors. Using
See "diddums" message above. You mess up tools like strace if you don't
fix this and strace is more important than some minor driver detail
caused by not upstreaming code earlier.
The non unlocked version of ioctl() is going away and the BKL will in
time follow so you might as well deal with that now too.
--
| Aug 12, 12:24 pm 2008 |
| Marcin Obara | Re: [PATCH] Intel Management Engine Interface
Sorry.
I will try to explain.
This source code was designed few years ago and there is already
written userspace software.
Removal of driver internal error codes may affect software.
unlocked_ioctl would require to add lock as big kernel lock replacement.
Sorry.
Explanation:
We don't want to init_timer() here. It is done later, to avoid race condition.
Sorry for missing explanations.
This conflict can't be avoided, because there is already written
software that depends on these ioctl ...
| Aug 12, 12:24 pm 2008 |
| Pascal Terjan | Re: 2.6.26 fails to boot on Acer TravelMate 5520 due to ...
OK, I could work on this machine again and have some news.
I had another bug on 2.6.26 causing hang at almost the same place and
fixed by a0176e2485ce6468f9b74264a2fd6c19811f027a.
I can confirm that pcie_noaspm is now enough to boot on this machine
and will try to
identify the faulty device
--
| Aug 12, 7:14 am 2008 |
| Andrew Morton | Re: [PATCH] acpi: Avoid dropping rapid hotkey events (or ...
Did this get fixed yet?
I have an patch in -mm which I just restored (I had to tempdrop it
because the acpi tree was busted for some time). But it seems to be
old.
http://bugzilla.kernel.org/show_bug.cgi?id=10919 is marked "resolved"
but the reporter (Maximilian) seems to think otherwise. 2.6.26.x is,
afaik, still unfixed, as is 2.6.27-rc.
Thanks.
--
| Aug 12, 4:28 pm 2008 |
| Greg KH | Re: [PATCH 1/7] dynamic debug v2 - infrastructure
So close, can I have a good changelog comment with the patch so people
know what it is when they look in the logs?
Care to resend it with that?
thanks,
greg k-h
--
| Aug 12, 1:09 pm 2008 |
| Jason Baron | Re: [PATCH 1/7] dynamic debug v2 - infrastructure
We're ok with the patch as is...i'm including an updated version below, which
contains some documentation improvements...as you mentioned before, perhaps
you can include this patch through the driver tree. It should apply with
minimal munging, but please point me at a tree, if there are any issues.
thanks,
-Jason
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
Documentation/kernel-parameters.txt | 5
include/asm-generic/vmlinux.lds.h | 10 +
include/linux/device.h ...
| Aug 12, 12:48 pm 2008 |
| Jason Baron | Re: [PATCH 1/7] dynamic debug v2 - infrastructure
Base infrastructure to enable per-module debug messages.
I've introduced CONFIG_DYNAMIC_PRINTK_DEBUG, which when enabled centralizes
control of debugging statements on a per-module basis in one /proc file,
currently, <debugfs>/dynamic_printk/modules. When, CONFIG_DYNAMIC_PRINTK_DEBUG,
is not set, debugging statements can still be enabled as before, often by
defining 'DEBUG' for the proper compilation unit. Thus, this patch set has no
affect when CONFIG_DYNAMIC_PRINTK_DEBUG is not set.
The ...
| Aug 12, 1:46 pm 2008 |
| Li Yang | Re: [PATCH 00/11] fsl_usb2_udc: A number of bug fixes an ...
Yes, they are working fine.
Acked-by: Li Yang <leoli@freescale.com>
- Leo
--
| Aug 12, 4:27 am 2008 |
| Tomas Winkler | Re: mac80211 : WARN at net/mac80211/rate.h:153
This pacth is wrong it causes that all IBSS traffic is transmitted
rate of BEACON (1MBit) , which is pretty bad performance like. We are
working on possible fixes.
--
| Aug 12, 7:06 am 2008 |
| Michael Tokarev | Re: 2.6.25: random stalls on certain hardware - regression?
Michael Tokarev wrote at Thu, 10 Jul 2008 11:04:55 +0400:
Ok, I finally tried current 2.6.26 [.2] on this same machine, -- it's
up and running since last Friday, so almost 4 days already, and it works
so far, no lock-ups for now. 2.6.26-pre definitely didn't work - max
uptime was ~12 hours. I can't say the problem has been fixed for sure,
maybe it's just a {bad|good} luck, will see how it will work in next days.
And btw, nmi-watchdog didn't help, -- with it enabled, the machine locked
up ...
| Aug 12, 3:21 am 2008 |
| Nageswara R Sastry | Re: [BUG] While changing the cpufreq governor, kernel hi ...
Any updates on this bug.
Thanks and Regards
R.Nageswara Sastry
--
| Aug 12, 1:12 am 2008 |
| Johannes Weiner | Aug 12, 2:44 pm 2008 | |
| Johannes Weiner | Re: [BUG] While changing the cpufreq governor, kernel hi ...
Hi Nageswara,
Sorry. I was just looking into it again and still see no resolution.
Added Venkatesh and Alexey to CC.
To summarize again:
The problem we have is that cpufreq_ondemand has a self-rearming worker
function which we should but can not cancel synchroneously with the
current code. The locking order is like this:
store()
policy_rwsem write
cpufreq_governor_dbs()
dbs_mutex
work lock
do_dbs_timer()
policy_rwsem write
which gives a locking hierarchy ...
| Aug 12, 2:29 pm 2008 |
| David Miller | Re: stack overflow on Sparc64
From: Mikulas Patocka <mpatocka@redhat.com>
Are you sure you didn't see a "Stack overflow" message on the
screen? :-)
That's what I get when I try to boot with your provided
kernel config.
The problem is that CONFIG_STACK_DEBUG doesn't understand
the IRQ stacks at all.
I'll see if I can tweak it to handle this.
--
| Aug 11, 11:30 pm 2008 |
| David Miller | Re: stack overflow on Sparc64
From: David Miller <davem@davemloft.net>
This patch, on top of my original IRQSTACKS patch for
sparc64, seems to get things working for me.
diff --git a/arch/sparc64/lib/mcount.S b/arch/sparc64/lib/mcount.S
index 9e4534b..24e6a3c 100644
--- a/arch/sparc64/lib/mcount.S
+++ b/arch/sparc64/lib/mcount.S
@@ -45,11 +45,47 @@ _mcount:
sub %g3, STACK_BIAS, %g3
cmp %sp, %g3
bg,pt %xcc, 1f
- sethi %hi(panicstring), %g3
+ nop
+#ifdef CONFIG_IRQSTACKS
+ lduh [%g6 + TI_CPU], ...
| Aug 12, 1:22 am 2008 |
| Nate Case | Re: [PATCHv3] leds-pca955x: Add proper error handling an ...
Acked-by: Nate Case <ncase@xes-inc.com>
Thanks for the fix. It looks correct and I tested it on my board with a
pca9553. I also confirmed that the original driver would in fact kernel
Oops if compiled as a module and you rmmod it. With this fix, I can
repeatedly insmod/rmmod successfully.
--
Nate Case <ncase@xes-inc.com>
--
| Aug 12, 1:18 pm 2008 |
| Konrad Rzeszutek | [PATCH] drivers/firmware/iscsi_ibft.c: make 3 functions static
From: Adrian Bunk <bunk@kernel.org>
This patch makes the following needlessly global functions static:
- ibft_attr_show_initiator()
- ibft_attr_show_nic()
- ibft_attr_show_target()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Konrad Rzeszutek <ketuzsezr@darnok.org>
---
drivers/firmware/iscsi_ibft.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/firmware/iscsi_ibft.c b/drivers/firmware/iscsi_ibft.c
index 8024e3b..8523811 ...
| Aug 12, 12:43 pm 2008 |
| Konrad Rzeszutek | Re: [PATCH] drivers/firmware/iscsi_ibft.c: make 3 functi ...
This was suppose to include this nice little intro but I haven't
mastered the git-send-email yet. Here it is:
Dear Greg,
At your convience please include this patch in your update to the
drivers/firmware directory if it is not too much trouble.
Thank you,
Konrad Rzeszutek
--
| Aug 12, 1:01 pm 2008 |
| Konrad Rzeszutek | [2.6 patch] drivers/firmware/iscsi_ibft.c: make 3 functi ...
Greg,
Please at your convience include this patch in your update to the drivers/firmware directory if it
is not too much trouble.
Thank you,
Konrad Rzeszutek
iscsi_ibft.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
--
| Aug 12, 12:43 pm 2008 |
| Will Newton | Re: [PATCH] serial 8250: tighten test for using backup timer
On Mon, Aug 11, 2008 at 10:32 PM, Andrew Morton
Sorry, I should have been more specific. Commit
For users of this version of this particular UART IP it is fatal. From
looking at the git history it looks like the original patch went into
I'll look into it. Some of the weirdness comes from the way the timer
is used for this bug workaround but also for irq-less ports.
--
| Aug 12, 1:32 am 2008 |
| previous day | today | next day |
|---|---|---|
| August 11, 2008 | August 12, 2008 | August 13, 2008 |
