linux-kernel mailing list

FromSubjectsort iconDate
Mathieu Desnoyers
[PATCH] spufs support multiple probes markers
Update spufs to the new linux kernel markers API, which supports connecting more than one probe to a single marker. (compile-tested only) Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Christoph Hellwig <hch@infradead.org> CC: "Frank Ch. Eigler" <fche@redhat.com> CC: Steven Rostedt <rostedt@goodmis.org> CC: Andrew Morton <akpm@linux-foundation.org> --- arch/powerpc/platforms/cell/spufs/sputrace.c | 31 +++++++++------------------ 1 file changed, 11 insertions(+), ...
Feb 12, 4:56 pm 2008
Jody Belka
[PATCH] x86: fixup machine_ops reboot_{32|64}.c unificat ...
Please cc on any replies, thanks. --- When reboot_32.c and reboot_64.c were unified (commit 4d022e35fd...), the machine_ops code was broken, leading to xen pvops kernels failing to properly halt/poweroff/reboot etc. This fixes that up. Signed-off-by: Jody Belka <knew-linux@pimb.org> --- arch/x86/kernel/reboot.c | 46 ++++++++++++++++++++++++++++++++++++---------- 1 files changed, 36 insertions(+), 10 deletions(-) diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index ...
Feb 12, 4:37 pm 2008
Jody Belka
2.6.25-rc1 xen pvops regression
Hi all, I thought I'd try out 2.6.25-rc1 as a xen 32-bit pae domU the other day. Unfortunately, I didn't get very far very fast, as the domain just crashed immediately upon booting, without any direct feedback (I did have messages on the xen message buffer, which helped). This even with earlyprintk turned on. After a long, arduous journey, I managed to track this down to the following: ---------- commit 551889a6e2a24a9c06fd453ea03b57b7746ffdc0 x86: construct 32-bit boot time page tables ...
Feb 12, 4:54 pm 2008
Jeff Garzik
[PATCH] gdth: convert to PCI hotplug API
Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/scsi/gdth.c | 143 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 86 insertions(+), 57 deletions(-) 06196f50915da97bb897495863f9f084d785c1e4 diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index c825239..1b53e92 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c @@ -595,85 +595,107 @@ static int __init gdth_search_isa(ulong32 bios_adr) #endif /* CONFIG_ISA */ #ifdef CONFIG_PCI -static ...
Feb 12, 4:49 pm 2008
Rafael J. Wysocki
Re: [PATCH] ACPI suspend: Execute _WAK with the right argument
Sure, it certainly is. The bug has been breaking suspend on people's boxes already. Thanks, --
Feb 12, 4:49 pm 2008
Rafael J. Wysocki
[PATCH] ACPI suspend: Execute _WAK with the right argument
From: Rafael J. Wysocki <rjw@sisk.pl> The _WAK global ACPI control method has to be called with the argument representing the sleep state being exited. Make it happen. Special thanks to Mirco Tischler <mt-ml@gmx.de> for reporting the problem and debugging. Reported-by: Mirco Tischler <mt-ml@gmx.de> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> --- drivers/acpi/hardware/hwsleep.c | 1 + 1 file changed, 1 insertion(+) Index: ...
Feb 12, 4:32 pm 2008
Pavel Machek Feb 12, 4:45 pm 2008
Felix Marti
RE: [ofa-general] Re: Demand paging for memory regions
That is correct, not a change we can make for T3. We could, in theory, deal with changing mappings though. The change would need to be synchronized though: the VM would need to tell us which mapping were about to change and the driver would then need to disable DMA to/from --
Feb 12, 4:14 pm 2008
marcin.slusarz
[PATCH] crypto: be*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(&big_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: David S. Miller <davem@davemloft.net> --- crypto/lrw.c | 2 +- 1 files changed, 1 insertions(+), 1 ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] ipw2200: le*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Zhu Yi <yi.zhu@intel.com> Cc: John W. Linville <linville@tuxdriver.com> Cc: linux-wireless@vger.kernel.org --- drivers/net/wireless/ipw2200.c | 4 +--- 1 ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] hfs/hfsplus: be*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(&big_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Roman Zippel <zippel@linux-m68k.org> --- fs/hfs/mdb.c | 2 +- fs/hfsplus/super.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] affs: be*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(&big_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Roman Zippel <zippel@linux-m68k.org> --- fs/affs/file.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/affs/file.c ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCHSET] [bl]e*_add_cpu conversions
From: Marcin Slusarz <marcin.slusarz@gmail.com> Hi This patchset converts big/little_endian_variable = cpu_to_[bl]eX([bl]eX_to_cpu(big/little_endian_variable) + expression_in_cpu_byteorder); to: [bl]eX_add_cpu(&big/little_endian_variable, expression_in_cpu_byteorder); All patches were generated by spatch, then reviewed and fixed to follow coding style. Semantic patch: @@ expression *X; expression Y; @@ ( - *X = cpu_to_le64(le64_to_cpu(*X) + Y); + le64_add_cpu(X, Y); | - ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] jfs: le*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: shaggy@austin.ibm.com Cc: jfs-discussion@lists.sourceforge.net --- fs/jfs/jfs_dmap.c | 11 +++++------ fs/jfs/jfs_imap.c | 15 ++++++--------- ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] sysv: [bl]e*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: big/little_endian_variable = cpu_to_[bl]eX([bl]eX_to_cpu(big/little_endian_variable) + expression_in_cpu_byteorder); with: [bl]eX_add_cpu(&big/little_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Christoph Hellwig <hch@infradead.org> --- fs/sysv/sysv.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] infiniband: be*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(&big_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Roland Dreier <rolandd@cisco.com> Cc: Sean Hefty <sean.hefty@intel.com> Cc: Hal Rosenstock <hal.rosenstock@gmail.com> --- drivers/infiniband/hw/mthca/mthca_cq.c | ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] ext2: le*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: linux-ext4@vger.kernel.org --- fs/ext2/ialloc.c | 12 ++++-------- fs/ext2/super.c | 2 +- fs/ext2/xattr.c | 9 +++------ 3 files changed, 8 ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] ocfs2: le*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Mark Fasheh <mark.fasheh@oracle.com> Cc: Kurt Hackel <kurt.hackel@oracle.com> Cc: ocfs2-devel@oss.oracle.com --- fs/ocfs2/dir.c | 5 ++--- ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] quota: le*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Jan Kara <jack@suse.cz> --- fs/quota_v2.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/quota_v2.c b/fs/quota_v2.c index ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] ufs: [bl]e*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: big/little_endian_variable = cpu_to_[bl]eX([bl]eX_to_cpu(big/little_endian_variable) + expression_in_cpu_byteorder); with: [bl]eX_add_cpu(&big/little_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Evgeniy Dushistov <dushistov@mail.ru> --- fs/ufs/swab.h | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] ieee 1394: be*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(&big_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Ben Collins <ben.collins@ubuntu.com> Cc: Stefan Richter <stefanr@s5r6.in-berlin.de> --- drivers/ieee1394/csr.c | 6 ++---- 1 files changed, 2 insertions(+), 4 ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] ext4: le*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: linux-ext4@vger.kernel.org Cc: sct@redhat.com Cc: Andrew Morton <akpm@linux-foundation.org> Cc: adilger@clusterfs.com Cc: "Theodore Ts'o" <tytso@mit.edu> Cc: ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] gfs2: be*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(&big_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Steven Whitehouse <swhiteho@redhat.com> Cc: cluster-devel@redhat.com --- fs/gfs2/dir.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] ntfs: le*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Anton Altaparmakov <aia21@cantab.net> Cc: linux-ntfs-dev@lists.sourceforge.net --- fs/ntfs/upcase.c | 5 ++--- 1 files changed, 2 insertions(+), 3 ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] scsi: le*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: linux-scsi@vger.kernel.org Cc: aacraid@adaptec.com Cc: James.Bottomley@HansenPartnership.com --- drivers/scsi/aacraid/commsup.c | 2 +- ...
Feb 12, 4:06 pm 2008
marcin.slusarz
[PATCH] reiserfs: le*_add_cpu conversion
From: Marcin Slusarz <marcin.slusarz@gmail.com> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: reiserfs-dev@namesys.com Cc: reiserfs-devel@vger.kernel.org --- fs/reiserfs/objectid.c | 5 ++--- fs/reiserfs/stree.c | 3 +-- 2 files changed, 3 ...
Feb 12, 4:06 pm 2008
Mathieu Desnoyers
Cast cmpxchg64 and cmpxchg64_local result for 386 and 48 ...
Two pairs of parenthesis were missing around the result cast of cmpxchg64 and cmpxchg64_local. This is a rather stupid mistake in "Cast cmpxchg and cmpxchg_local result for 386 and 486". My bad. This fix should be folded with the previous. Sorry for this trivial bug which should have never appeared in the first place. The aim was to fix cmpxchg and cmpxchg_local, which were used in slub. cmpxchg64 and cmpxchg64_local happen to be only used in LTTng currently. Signed-off-by: Mathieu Desnoyers ...
Feb 12, 3:59 pm 2008
Dmitry Baryshkov
Re: [PATCH 1/6] Core driver for WM97xx touchscreens
Hi, You used platform_device_register, but should be using platform_device_add, otherwise you get barfs with 2.6.25-rc1 (device is initialized twice). Also as <sound/driver.h> got deprecated there is no point including it. Patch below -- With best wishes Dmitry From 81b96191eb50837bdf1f437a6f4f05786cc0b49e Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov <dbaryshkov@gmail.com> Date: Wed, 13 Feb 2008 01:55:10 +0300 Subject: [PATCH] wm97xx-core fixes Signed-off-by: Dmitry Baryshkov ...
Feb 12, 3:58 pm 2008
Hiroshi Shimamoto
[RFC v2 PATCH] RTTIME watchdog timer proc interface
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Introduce new proc interface for RTTIME watchdog. It makes administrator able to set RTTIME watchdog to existing real-time applications without impact. $ echo 10000000 > /proc/<pid>/rttime set RTTIME current value to 10000000, it means 10sec. $ echo "10000000 20000000" > /proc/<pid>/rttime set RTTIME current value to 10000000 and max value to 20000000. And /proc/<pid>/task/<tid>/rttime is also accessible. Signed-off-by: Hiroshi ...
Feb 12, 3:41 pm 2008
Tomasz Chmielewski
Re: currently active Linux kernel versions
I would say: a) the kernel your distro provides, b) if you're not using a kernel provided by your distribution, the newest kernel from kernel.org (there are some older, still maintaned kernels with security fixes, too). -- Tomasz Chmielewski http://wpkg.org --
Feb 12, 3:37 pm 2008
Rafael J. Wysocki
Re: [Bug 9944] suspend to ram doesn't work anymore on Th ...
There are at least two known suspend regressions, one of which affects the T61 for sure. There's a fix for it, available at: http://lkml.org/lkml/2008/2/11/472 The fix for the second issue is in the works. --
Feb 12, 3:27 pm 2008
Konrad Rzeszutek
[PATH] Add iSCSI iBFT support (v0.4.8)
This patch (v0.4.8) adds /sysfs/firmware/ibft/[initiator|targetX|ethernetX] directories along with text properties which export the the iSCSI Boot Firmware Table (iBFT) structure. What is iSCSI Boot Firmware Table? It is a mechanism for the iSCSI tools to extract from the machine NICs the iSCSI connection information so that they can automagically mount the iSCSI share/target. Currently the iSCSI information is hard-coded in the initrd. The /sysfs entries are read-only one-name-and-value ...
Feb 12, 3:13 pm 2008
Steve Wise
[PATCH 2.6.25] RDMA/cxgb3: Fail loopback connections.
RDMA/cxgb3: Fail loopback connections. The cxgb3 HW and driver don't support loopback RDMA connections. So fail any connection attempt where the destination address is local. Signed-off-by: Steve Wise <swise@opengridcomputing.com> --- drivers/infiniband/hw/cxgb3/iwch_cm.c | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c b/drivers/infiniband/hw/cxgb3/iwch_cm.c index e9a08fa..5d82723 100644 --- ...
Feb 12, 3:09 pm 2008
H. Peter Anvin
[PATCH] timeconst.pl: correct reversal of USEC_TO_HZ and ...
The USEC_TO_HZ and HZ_TO_USEC constant sets were mislabelled, with seriously incorrect results. This among other things manifested itself as cpufreq not working when a tickless kernel was configured. Signed-off-by: H. Peter Anvin <hpa@zytor.com> --- kernel/timeconst.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/timeconst.pl b/kernel/timeconst.pl index 62b1287..4146803 100644 --- a/kernel/timeconst.pl +++ b/kernel/timeconst.pl @@ -339,7 +339,7 @@ sub ...
Feb 12, 2:52 pm 2008
Carlos R. Mafra Feb 12, 3:25 pm 2008
Prakash Punnoor
Re: E1000 (PCI-E) doesn't work on nforce430, MSI issue.
Probably the patch to enable msi bit on the host bridge(?) is still missing= in=20 mainline. I needed that patch to make msi work on my MCP51 system. =2D-=20 (=B0=3D =3D=B0) //\ Prakash Punnoor /\\ V_/ \_V
Feb 12, 2:34 pm 2008
Krzysztof Halasa
E1000 (PCI-E) doesn't work on nforce430, MSI issue.
Hi, Is it a known problem? Linux 2.6.24.2, ASUS M2NPV-MX mobo, nforce 430 based, two PCI-E x1 E1000 cards, 32-bit kernel, default e1000 driver (PCI IDs disabled in e1000e). Don't work by default. "pci=nomsi" fixes the problem. 82572EI Gigabit Ethernet Controller (Copper) (rev 06) Subsystem: PRO/1000 PT Desktop Adapter (8086:10b9 subsystem 8086:1083) grep eth0 /proc/interrupts 20: 1945 1 IO-APIC-fasteoi eth0 (without "pci=nomsi": 221: 0 0 ...
Feb 12, 2:25 pm 2008
Kok, Auke
Re: E1000 (PCI-E) doesn't work on nforce430, MSI issue.
actually does not fix anything - it just works around it by falling back to legacy and there have been many more reports. unfortunately e1000 cards are one of the few things that actually uses MSI. It works great except for a few problematic motherboards, and the ones mentioned in this thread fall amongst them. Auke --
Feb 12, 3:24 pm 2008
Ferenc Wagner
Re: currently active Linux kernel versions
Not quite, at least I can't find 2.6.23.y there, even though that branch seems to be maintained... -- Thanks, Feri. --
Feb 12, 2:18 pm 2008
Wagner Ferenc
currently active Linux kernel versions
Hi, which are the "currently active Linux kernel versions" at any point in time? The quote is taken from http://lkml.org/lkml/2008/2/11/29. Or more precisely: which are the "stable" versions I can depend on for a more or less critical server, those that have active security support or receive at least critical bugfixes? I know about the 2.6.2[34].y stable git trees, but I wonder how long will those receive attention (that is, security fixes). Can I find a written policy somewhere? -- ...
Feb 12, 1:27 pm 2008
Oliver Pinter
Re: currently active Linux kernel versions
and 2.6.22.y too -- Thanks, Oliver --
Feb 12, 2:21 pm 2008
Xavier Bestel Feb 12, 2:25 pm 2008
Xavier Bestel
Re: currently active Linux kernel versions
Hi, The answer is at http://kernel.org/ You're welcome, Xav --
Feb 12, 2:13 pm 2008
Mike Snitzer
Re: currently active Linux kernel versions
2.6.16.x is still maintained (2.6.16.60 was recently released). 2.6.22.x is still maintained but Greg KH is apparently going to be ending his duties on it after the next release or so. There is some confusion as to whether Willy Tarreau will be taking on the 2.6.22.x tree once Greg is done, Willy?: http://lwn.net/Articles/268003/ http://kerneltrap.org/Linux/Stable_2.6_Branches 2.6.23.x and 2.6.24.x are obviously quite active for stable@kernel.org --
Feb 12, 2:37 pm 2008
Oliver Pinter
Re: currently active Linux kernel versions
When Willy go in 2.6.22.y, then I help it, so far as I 'm possible. -- Thanks, Oliver --
Feb 12, 2:49 pm 2008
Mauro Carvalho Chehab
[GIT PATCHES] V4L/DVB fixes
Linus, Please pull from: ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git master For the following fixes: - bug #9699: radio-sf16fmr2: fix request_region() validation; - bug #9833 when building V4L without I2C; - bug #9887: tda10086: make the 22kHz tone for DISEQC a config option; - Warning fix: Remove sound/driver.h; - zr364xx: trivial board additions and fix at docs; - saa7134: trivial board addition and detection, fix for md2819; - ...
Feb 12, 2:02 pm 2008
Ferenc Wagner
printk %%
Hi, Looking at http://lxr.linux.no/linux/lib/vsprintf.c#L549 (where vsnprintf in linux/lib/vsprintf.c parses the % format specifier) suggests that the printk format string in http://lxr.linux.no/linux/drivers/ide/setup-pci.c#L657 is correct: printk(KERN_INFO "%s: not 100%% native mode: " "will probe irqs later\n", d->name); Still, in my kern.log the percent sign is doubled: ICH4: not 100%% native mode: will probe irqs later Why? -- Regards, Feri. (Please Cc: ...
Feb 12, 1:41 pm 2008
Harvey Harrison
[PATCH] x86: include prototype for no_broadcast in mach- ...
Fixes sparse warning: arch/x86/mach-default/setup.c:19:5: warning: symbol 'no_broadcast' was not declared. Should it be static? Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> --- arch/x86/mach-default/setup.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/mach-default/setup.c b/arch/x86/mach-default/setup.c index 0c28a07..ba1e7bd 100644 --- a/arch/x86/mach-default/setup.c +++ b/arch/x86/mach-default/setup.c @@ -9,6 +9,7 @@ #include ...
Feb 12, 1:35 pm 2008
Andi Kleen
[PATCH] [1/1] RFC: Fix some EFI problems v2
From code review the EFI memory map handling has a couple of problems: - The test for _WB memory was reversed so it would set cache able memory to uncached - It would always set a wrong uninitialized zero address to uncached (so I suspect it always set the first few pages in phys memory to uncached, that is why it may have gone unnoticed) - It would call set_memory_x() on a fixmap address that it doesn't handle correctly. - Some other problems I commented in the code (but was unable to ...
Feb 12, 1:30 pm 2008
Alan Cox
Re: Kernel BUG at fs/mpage.c:489
And we gave up. Almost certainly a hardware fail of some sort. --
Feb 12, 2:50 pm 2008
Bart Dopheide
Kernel BUG at fs/mpage.c:489
Hello, While copying between two DOS-partitions, my screen went haywire saying=20 I found a kernel bug. Since no hits on google when searching for kernel BUG at fs/mpage.c:489! I decided to let you know. Some notes that might be relevant: * I composed the bios out of the original from my asus a7v-133 and some=20 stuff from ECS L7VTA * /dev/hde is on Promise FastTrak "Lite" PDC20265R * I do not use (fake)RAID; I only use it as an extra IDE controller * /dev/hde is old; Seems that it ...
Feb 12, 12:45 pm 2008
Joey Hess
Re: Bug#464962: immediate crash on boot on TM5800
FWIW, I misremembered the model number. It's a not-so-shiny P2110. --=20 see shy jo
Feb 12, 1:35 pm 2008
Joey Hess
Re: Bug#464962: immediate crash on boot on TM5800
The stack trace I copied down originally was for a 2.6.24 kernel. I can copy down the one .25-pre if that'd be useful, but it sounds like you're reproduced it on your own. (I'm raising the priority of this bug report since it sounds like it affects more than just my hardware.) --=20 see shy jo
Feb 12, 3:29 pm 2008
maximilian attems
Re: Bug#464962: immediate crash on boot on TM5800
cp -l src/linux-2.6-2.6.24/debian/build/build_i386_none_686/vmlinux ~/public_html/ cool --
Feb 12, 2:02 pm 2008
maximilian attems
Re: Bug#464962: immediate crash on boot on TM5800
well we have no automated way to do so as we are underpowered in terms of bug nrs, it is routine to ask to file upstream. the debian kernel does not carry any x86 specific patch. also it is often much easier if upstream speaks directly sure, ack. so i'll circumvent bugzilla and add the new x86 maintainers on cc to let them know about the 2.6.24 and 2.6.25-rc1 boot error on shiny fujitsu p700 lifebook, with a Crusoe processor. http://bugs.debian.org/464962 686 config attached.
Feb 12, 1:10 pm 2008
H. Peter Anvin
Re: Bug#464962: immediate crash on boot on TM5800
Don't worry about it, already have reproduced it. -hpa --
Feb 12, 2:31 pm 2008
H. Peter Anvin
Re: Bug#464962: immediate crash on boot on TM5800
Thought some more about this, and since this probably means gcc will generate this for userspace code as well nowadays, tm5800 should probably be downgraded to a 586-class machine. Hence the Linux policy of promoting it to a 686-class machine for having CMOV is actually incorrect, it doesn't have all the userspace-visible features of a 686-class machine, lacking long NOP. -hpa
Feb 12, 2:46 pm 2008
maximilian attems
Re: Bug#464962: immediate crash on boot on TM5800
urrgs right sorry, the posted vmlinux is a newer will rebuild aboves. --
Feb 12, 2:24 pm 2008
H. Peter Anvin
Re: Bug#464962: immediate crash on boot on TM5800
Okay, the faulting instruction is the following: c0383360: 0f 1f 40 00 nopl 0x0(%eax) The Crusoe code morphing software apparently doesn't recognize these "long noops", and (presumably) the rest of the hinting NOOP group. gcc didn't use to generate them, and Crusoe/Efficeon generally do not benefit from code alignment anyway. I suspect the best thing to do is to use either a 586 kernel or build a dedicated Crusoe kernel without code alignment. -hpa --
Feb 12, 2:42 pm 2008
H. Peter Anvin
Re: Bug#464962: immediate crash on boot on TM5800
INT 6 is #UD, undefined instruction. If you could send me a copy of your vmlinux file (not bzImage), it would speed things up. I happen to have an old TM5800-based machine sitting around, so I can probably reproduce it. -hpa --
Feb 12, 1:32 pm 2008
H. Peter Anvin
Re: Bug#464962: immediate crash on boot on TM5800
Are you sure that build matches the bug report? The EIP given falls inside the .data segment of that kernel, specifically inside the symbol init_task. -hpa --
Feb 12, 2:14 pm 2008
Harvey Harrison
[PATCH] x86: pit_clockevent can be static
arch/x86/kernel/i8253.c:98:27: warning: symbol 'pit_clockevent' was not declared. Should it be static? Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> --- arch/x86/kernel/i8253.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/i8253.c b/arch/x86/kernel/i8253.c index ef62b07..8540abe 100644 --- a/arch/x86/kernel/i8253.c +++ b/arch/x86/kernel/i8253.c @@ -95,7 +95,7 @@ static int pit_next_event(unsigned long delta, struct clock_event_device ...
Feb 12, 1:10 pm 2008
Andi Kleen
[PATCH] [1/2] CPA: Add statistics about state of direct ...
Add information about the mapping state of the direct mapping to /proc/meminfo. This way we can see how many large pages are really used for it. [Note this version depends on the gbpages patch in git-x86#mm; but it can be applied without it too by dropping the one hunk that rejects] v2: fix a compiler warning Signed-off-by: Andi Kleen <ak@suse.de> --- arch/x86/mm/init_32.c | 2 ++ arch/x86/mm/init_64.c | 2 ++ arch/x86/mm/pageattr.c | 23 ...
Feb 12, 1:10 pm 2008
Andi Kleen
[PATCH] [2/2] Remove max_pfn_mapped
Now that 32bit and 64bit have end_pfn_map always use end_pfn_map directly instead of the max_pfn_mapped macro. Signed-off-by: Andi Kleen <ak@suse.de> Index: linux/arch/x86/kernel/efi.c =================================================================== --- linux.orig/arch/x86/kernel/efi.c +++ linux/arch/x86/kernel/efi.c @@ -424,7 +424,7 @@ void __init efi_enter_virtual_mode(void) end = md->phys_addr + size; /* RED-PEN does not handle overlapped areas */ - if ((end >> ...
Feb 12, 1:10 pm 2008
Chris Nolan
[PATCH] hid, 2.6.23 - add support for new macbook and ap ...
Hello list. Seeking feedback for this patch which adds support for the "fn" key on the new macbook (3,1) and apple aluminum keyboard. I have tested this with kernel 2.6.23 (both 2.6.23.9 and 2.6.23.15) under Fedora 8 and it seems to work for me. The original patch was created by Martin Szulecki (of mactel-linux) and Chris Irwin. I can't take any credit - I've just found that it works and would like to see it tested and committed upstream if possible. I am linking to the patch ...
Feb 12, 12:36 pm 2008
Jiri Kosina
Re: [PATCH] hid, 2.6.23 - add support for new macbook an ...
Hi Chris, Some part of the patch is already in 2.6.25-rc1 -- please see commit a45d82d19a6c2a717bcc33cff243199b77fa0082, which adds support for Apple Aluminium keyboards. So the patch would need some changes that it would apply on top of current tree. Also, if you could get Signed-off-by for the new patch from the author(s) Also, Tobias (added to CC) seems to be currently working on adding support for a subset of keyboards that this patch adds. Tobias -- it seems like this patch is ...
Feb 12, 1:48 pm 2008
Steven Rostedt
Re: [PATCH 1/2] add task migration_disable critical section
This is similar to what Mathieu once posted: http://lkml.org/lkml/2007/7/11/13 Not sure the arguments against (no time to read the thread again). But I'd recommend that you read it. -- Steve --
Feb 12, 12:22 pm 2008
Gregory Haskins
Re: [PATCH 1/2] add task migration_disable critical section
>>> On Tue, Feb 12, 2008 at 2:22 PM, in message <Pine.LNX.4.58.0802121420470.21926@gandalf.stny.rr.com>, Steven Rostedt Indeed, thanks for the link! At quick glance, the concept looks identical, though the implementations are radically different. -Greg --
Feb 12, 12:28 pm 2008
Gregory Haskins
[PATCH 2/2] fix cpus_allowed settings
Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- kernel/kthread.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/kthread.c b/kernel/kthread.c index dcfe724..b193b47 100644 --- a/kernel/kthread.c +++ b/kernel/kthread.c @@ -170,6 +170,7 @@ void kthread_bind(struct task_struct *k, unsigned int cpu) wait_task_inactive(k); set_task_cpu(k, cpu); k->cpus_allowed = cpumask_of_cpu(cpu); + k->nr_cpus_allowed = 1; } EXPORT_SYMBOL(kthread_bind); ...
Feb 12, 11:30 am 2008
Gregory Haskins
[PATCH 1/2] add task migration_disable critical section
This patch adds a new critical-section primitive pair: "migration_disable()" and "migration_enable()" This allows you to force a task to remain on the current cpu, while still remaining fully preemptible. This is a better alternative to modifying current->cpus_allowed because you dont have to worry about colliding with another entity also modifying the cpumask_t while in the critical section. In fact, modifying the cpumask_t while in the critical section is fully supported, but note that ...
Feb 12, 11:30 am 2008
Gregory Haskins
[PATCH 0/2] migration disabled critical sections
Hi Ingo, Steven, I had been working on some ideas related to saving context switches in the bottom-half mechanisms on -rt. So far, the ideas have been a flop, but a few peripheral technologies did come out of it. This series is one such idea that I thought might have some merit on its own. The header-comments describe it in detail, so I wont bother replicating that here. This series applies to 24-rt1. Any comments/feedback welcome. -Greg --
Feb 12, 11:29 am 2008
Jeff Dike
[PATCH 3/4] UML - Fix helper_wait calls in watchdog
From: Johann Felix Soden <johfel@users.sourceforge.net> In 1aa351a308d2c3ddb92b6cc45083fc54271d0010 the arguments of helper_wait() were changed. The adaptation of harddog_user.c was forgotten, so this errors occur: /arch/um/drivers/harddog_user.c: In function 'start_watchdog': /arch/um/drivers/harddog_user.c:82: error: too many arguments to function 'helper_wait' /arch/um/drivers/harddog_user.c:89: error: too many arguments to function 'helper_wait' Signed-off-by: Johann Felix Soden ...
Feb 12, 11:55 am 2008
Jeff Dike
[PATCH 1/4] UML - Fix initrd printk
From: Johann Felix Soden <johfel@users.sourceforge.net> If the initrd file has zero-length, the error message should contain the filepath. Cc: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Johann Felix Soden <johfel@users.sourceforge.net> Signed-off-by: Jeff Dike <jdike@linux.intel.com> --- arch/um/kernel/initrd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: ...
Feb 12, 11:55 am 2008
Jeff Dike
[PATCH 4/4] UML - Fix FP register corruption
Commit ee3d9bd4de1ed93d2a7ee41c331ed30a1c7b8acd, while greatly simplifying the kernel SIGSEGV handler that runs in the process address space, introduced a bug which corrupts FP state in the process. Previously, the SIGSEGV handler called the sigreturn system call by hand - it couldn't return through the restorer provided to it because that could try to call the libc restorer which likely wouldn't exist in the process address space. So, it blocked off some signals, including SIGUSR1, on entry ...
Feb 12, 11:55 am 2008
Jeff Dike
[PATCH 2/4] UML - Remove unused sigcontext accessors
The macros which extract registers from a struct sigcontext are no longer needed and can be removed. They are starting not to build anyway, given the removal of the 'e' and 'r' from register names during the x86 merge. Cc: Jiri Olsa <olsajiri@gmail.com> Signed-off-by: Jeff Dike <jdike@linux.intel.com> --- arch/um/sys-i386/user-offsets.c | 27 --------------------------- arch/um/sys-x86_64/user-offsets.c | 28 ---------------------------- 2 files changed, 55 deletions(-) Index: ...
Feb 12, 11:55 am 2008
Jeff Dike
[PATCH 0/4] UML - Four for 2.6.25
These should go to Linus - there are three build fixes and a serious bug fix. Jeff -- Work email - jdike at linux dot intel dot com --
Feb 12, 11:55 am 2008
Dhaval Giani
Regression in latest sched-git
Hi Ingo, I've been running the latest sched-git through some tests. Here is essentially what I am doing, 1. Mount the control group 2. Create 3-4 groups 3. Start kernbench inside each group 4. Run cpu hogs in each group Essentially the idea is to see how the system responds under extreme CPU load. This is what I get (and this is in a shell which belongs to the root group) [root@llm11 ~]# time sleep 1 real 0m1.212s user 0m0.004s sys 0m0.000s [root@llm11 ~]# time sleep ...
Feb 12, 11:53 am 2008
Peter Zijlstra
Re: Regression in latest sched-git
Yes, latency isolation is the one thing I had to sacrifice in order to get the normal latencies under control. The problem with the old code is that under light load: a kernel make -j2 as root, under an otherwise idle X session, generates latencies up to 120ms on my UP laptop. (uid grouping; two active users: peter, root). Others have reported latencies up to 300ms, and Ingo found a 700ms latency on his machine. The source for this problem is I think the vruntime driven ...
Feb 12, 12:40 pm 2008
Arjan van de Ven
Re: vmsplice exploits, stack protector and Makefiles
On Tue, 12 Feb 2008 19:50:12 +0100 the patch works fine for me. Linus, can we please get this merged into .25? it will at least again limit the damage exploits like the vmsplice one can do.. (I think it's also worth it for -stable) --
Feb 12, 12:08 pm 2008
Arjan van de Ven
vmsplice exploits, stack protector and Makefiles
Hi, I just read the excellent LWN writeup of the vmsplice security thing, and that got me wondering why this attack wasn't stopped by the CONFIG_CC_STACKPROTECTOR option... because it plain should have been... some analysis later.. it turns out that the following line in the top level Makefile, added by you in October 2007, entirely disables CONFIG_CC_STACKPROTECTOR ;( With this line removed the exploit will be nicely stopped. # Force gcc to behave correct even for buggy ...
Feb 12, 10:00 am 2008
Sam Ravnborg
Re: vmsplice exploits, stack protector and Makefiles
I will prepare it for my next -fix round. Due in a few days. Sam --
Feb 12, 12:36 pm 2008
Sam Ravnborg
Re: vmsplice exploits, stack protector and Makefiles
I guess the problem is that we in arch/x86/Makefile enable the stackprotector but then later in the main Makefile disables it. So the right way to approach this should be to always disable it and the reenable it in the arch Makefile. So something like this? Sam diff --git a/Makefile b/Makefile index c162370..7ccf6f5 100644 --- a/Makefile +++ b/Makefile @@ -507,6 +507,9 @@ else KBUILD_CFLAGS += -O2 endif +# Force gcc to behave correct even for buggy distributions +KBUILD_CFLAGS ...
Feb 12, 11:50 am 2008
Haavard Skinnemoen
[RFC v3 7/7] Atmel MCI: Driver for Atmel on-chip MMC con ...
This is a driver for the MMC controller on the AP7000 chips from Atmel. It should in theory work on AT91 systems too with some tweaking, but since the DMA interface is quite different, it's not entirely clear if it's worth it. This driver has been around for a while in BSPs and kernel sources provided by Atmel, but this particular version uses the generic DMA Engine framework (with the slave extensions) instead of an avr32-only DMA controller framework. This driver can also use PIO transfers ...
Feb 12, 9:43 am 2008
Olof Johansson
Re: [RFC v3 5/7] dmaengine: Make DMA Engine menu visible ...
Hi, This is a slippery slope. Things should be the other way around instead, create a HAVE_DMA_DEVICE, select it in the relevant platform code and make DMADEVICES depend on that. Or just let the subsystem always be available. -Olof --
Feb 12, 1:43 pm 2008
Dan Williams
Re: [RFC v3 5/7] dmaengine: Make DMA Engine menu visible ...
I suggested something similar here: Adrian had concerns about users enabling NET_DMA when the hardware -- Dan --
Feb 12, 3:27 pm 2008
Haavard Skinnemoen
[RFC v3 2/7] dmaengine: Add dma_client parameter to devi ...
A DMA controller capable of doing slave transfers may need to know a few things about the slave when preparing the channel. We don't want to add this information to struct dma_channel since the channel hasn't yet been bound to a client at this point. Instead, pass a reference to the client requesting the channel to the driver's device_alloc_chan_resources hook so that it can pick the necessary information from the dma_client struct by itself. Signed-off-by: Haavard Skinnemoen ...
Feb 12, 9:43 am 2008
Haavard Skinnemoen
[RFC v3 3/7] dmaengine: Add dma_chan_is_in_use() function
This moves the code checking if a DMA channel is in use from show_in_use() into an inline helper function, dma_is_in_use(). DMA controllers can use this in order to give clients exclusive access to channels (usually necessary when setting up slave DMA.) I have to admit that I don't really understand the channel refcounting logic at all... dma_chan_get() simply increments a per-cpu value. How can we be sure that whatever CPU calls dma_chan_is_in_use() sees the same value? Signed-off-by: ...
Feb 12, 9:43 am 2008
Haavard Skinnemoen
[RFC v3 5/7] dmaengine: Make DMA Engine menu visible for ...
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> --- drivers/dma/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 893a3f8..1a727c1 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -4,7 +4,7 @@ menuconfig DMADEVICES bool "DMA Engine support" - depends on (PCI && X86) || ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX + depends on (PCI && X86) || ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX ...
Feb 12, 9:43 am 2008
Haavard Skinnemoen
[RFC v3 4/7] dmaengine: Add slave DMA interface
This patch adds the necessary interfaces to the DMA Engine framework to use functionality found on most embedded DMA controllers: DMA from and to I/O registers with hardware handshaking. In this context, hardware hanshaking means that the peripheral that owns the I/O registers in question is able to tell the DMA controller when more data is available for reading, or when there is room for more data to be written. This usually happens internally on the chip, but these signals may also be ...
Feb 12, 9:43 am 2008
Haavard Skinnemoen
[RFC v3 1/7] dmaengine: Couple DMA channels to their phy ...
Set the 'parent' field of channel class devices to point to the physical DMA device initialized by the DMA engine driver. This allows drivers to use chan->dev.parent for syncing DMA buffers and adds a 'device' symlink to the real device in /sys/class/dma/dmaXchanY. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> --- drivers/dma/dmaengine.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c index ...
Feb 12, 9:43 am 2008
Haavard Skinnemoen
Re: [RFC v3 5/7] dmaengine: Make DMA Engine menu visible ...
On Tue, 12 Feb 2008 14:43:30 -0600 Agree. I'll cook up a patch tomorrow to make it use the new HAVE_* It used to be always available, but then it was changed. Assuming there was a reason for this change, I guess we don't want to change it back. Haavard --
Feb 12, 3:13 pm 2008
Haavard Skinnemoen
[RFC v3 6/7] dmaengine: Driver for the Synopsys DesignWa ...
This adds a driver for the Synopsys DesignWare DMA controller (aka DMACA on AVR32 systems.) This DMA controller can be found integrated on the AT32AP7000 chip and is primarily meant for peripheral DMA transfer, but can also be used for memory-to-memory transfers. This patch is based on a driver from David Brownell which was based on an older version of the DMA Engine framework. It also implements the proposed extensions to the DMA Engine API for slave DMA operations. The dmatest client shows ...
Feb 12, 9:43 am 2008
Tim Ellis
Re: [PATCH] libata: Add MMIO support to pata_sil680
Hi, This change causes attached drives to no longer be detected and function on the PowerPC Buffalo Linkstation machines: <7>pata_sil680 0000:00:0c.0: version 0.4.8 <6>sil680: 133MHz clock. <6>scsi0 : pata_sil680 <6>scsi1 : pata_sil680 <6>ata1: PATA max UDMA/133 irq 18 <6>ata2: PATA max UDMA/133 irq 18 If I roll back this driver to before this change with 2.6.24.2 it works: <7>pata_sil680 0000:00:0c.0: version 0.4.7 <6>sil680: 133MHz clock. <6>scsi0 : pata_sil680 <6>scsi1 : ...
Feb 12, 8:58 am 2008
Benjamin Herrenschmidt
Re: [PATCH] libata: Add MMIO support to pata_sil680
Hrm... and we need those patches for blades that have a sil680 controller with no working PIO on the PCI host... That's strange though. Somebody with knowledge of that HW (or specs) who can spot something ? Could it be an issue with timing ? I don't have HW access to this machine. If somebody could send one to me I could do more investigation. --
Feb 12, 2:02 pm 2008
Alan Cox
Re: [PATCH] libata: Add MMIO support to pata_sil680
Did anyone fix all the mmio posting bugs in libata-core that were pointed out when I originally NAKked using MMIO, or did they just add the driver. If the latter then you need to grep the various fix this notes in libata-core around reset/probe of an SFF controller in particular. --
Feb 12, 2:42 pm 2008
pierre.peiffer
[PATCH 2.6.24-mm1 8/8] (resend) IPC: consolidate all xxx ...
semctl_down(), msgctl_down() and shmctl_down() are used to handle the same set of commands for each kind of IPC. They all start to do the same job (they retrieve the ipc and do some permission checks) before handling the commands on their own. This patch proposes to consolidate this by moving these same pieces of code into one common function called ipcctl_pre_down(). It simplifies a little these xxxctl_down() functions and increases a little the maintainability. Signed-off-by: Pierre ...
Feb 12, 9:13 am 2008
pierre.peiffer
[PATCH 2.6.24-mm1 7/8] (resend) IPC: introduce ipc_updat ...
From: Pierre Peiffer <pierre.peiffer@bull.net> The IPC_SET command performs the same permission setting for all IPCs. This patch introduces a common ipc_update_perm() function to update these permissions and makes use of it for all IPCs. Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net> Acked-by: Serge Hallyn <serue@us.ibm.com> --- ipc/msg.c | 5 +---- ipc/sem.c | 5 +---- ipc/shm.c | 5 +---- ipc/util.c | 13 +++++++++++++ ipc/util.h | 1 + 5 files changed, 17 ...
Feb 12, 9:13 am 2008
pierre.peiffer
[PATCH 2.6.24-mm1 6/8] (resend) IPC: get rid of the use ...
From: Pierre Peiffer <pierre.peiffer@bull.net> All IPCs make use of an intermetiate *_setbuf structure to handle the IPC_SET command. This is not really needed and, moreover, it complicates a little bit the code. This patch get rid of the use of it and uses directly the semid64_ds/ msgid64_ds/shmid64_ds structure. In addition of removing one struture declaration, it also simplifies and improves a little bit the common 64-bits path. Signed-off-by: Pierre Peiffer ...
Feb 12, 9:13 am 2008
pierre.peiffer
[PATCH 2.6.24-mm1 5/8] (resend) IPC/semaphores: remove o ...
From: Pierre Peiffer <pierre.peiffer@bull.net> semctl_down() takes one unused parameter: semnum. This patch proposes to get rid of it. Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net> Acked-by: Serge Hallyn <serue@us.ibm.com> --- ipc/sem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: b/ipc/sem.c =================================================================== --- a/ipc/sem.c +++ b/ipc/sem.c @@ -880,8 +880,8 @@ static inline unsigned long ...
Feb 12, 9:13 am 2008
pierre.peiffer
[PATCH 2.6.24-mm1 4/8] (resend) IPC/semaphores: move the ...
From: Pierre Peiffer <pierre.peiffer@bull.net> semctl_down is called with the rwmutex (the one which protects the list of ipcs) taken in write mode. This patch moves this rwmutex taken in write-mode inside semctl_down. This has the advantages of reducing a little bit the window during which this rwmutex is taken, clarifying sys_semctl, and finally of having a coherent behaviour with [shm|msg]ctl_down Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net> Acked-by: Serge Hallyn ...
Feb 12, 9:13 am 2008
pierre.peiffer
[PATCH 2.6.24-mm1 3/8] (resend) IPC/message queues: intr ...
From: Pierre Peiffer <pierre.peiffer@bull.net> Currently, sys_msgctl is not easy to read. This patch tries to improve that by introducing the msgctl_down function to handle all commands requiring the rwmutex to be taken in write mode (ie IPC_SET and IPC_RMID for now). It is the equivalent function of semctl_down for message queues. This greatly changes the readability of sys_msgctl and also harmonizes the way these commands are handled among all IPCs. Signed-off-by: Pierre Peiffer ...
Feb 12, 9:13 am 2008
pierre.peiffer
[PATCH 2.6.24-mm1 2/8] (resend) IPC/shared memory: intro ...
From: Pierre Peiffer <pierre.peiffer@bull.net> Currently, the way the different commands are handled in sys_shmctl introduces some duplicated code. This patch introduces the shmctl_down function to handle all the commands requiring the rwmutex to be taken in write mode (ie IPC_SET and IPC_RMID for now). It is the equivalent function of semctl_down for shared memory. This removes some duplicated code for handling these both commands and harmonizes the way they are handled among all ...
Feb 12, 9:13 am 2008
pierre.peiffer
[PATCH 2.6.24-mm1 1/8] (resend) IPC/semaphores: code fac ...
From: Pierre Peiffer <pierre.peiffer@bull.net> Trivial patch which adds some small locking functions and makes use of them to factorize some part of the code and to make it cleaner. Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net> Acked-by: Serge Hallyn <serue@us.ibm.com> --- ipc/sem.c | 61 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 31 insertions(+), 30 deletions(-) Index: ...
Feb 12, 9:13 am 2008
pierre.peiffer
[PATCH 2.6.24-mm1 0/8] (resend) IPC: code rewrite
Hi Andrew, This is a resend of the first part of the patchset sent 2 weeks ago. This is the part about the IPC which (again) proposes to consolidate some part of the existing code. It does not change the behavior of the existing code, but improves it in term of readability and maintainability as it consolidates it a little. As there was no objection, I think you can include them in your -mm tree. The patchset applies on top of "2.6.24-mm1 + previous patches about IPC" sent the last ...
Feb 12, 9:13 am 2008
Bartlomiej Zolnierki ...
Re: [PATCH] ide-scsi: do non-atomic pc->flags testing
How's about renaming flag defines to PC_FLAG_* at the same time (like it was done for other ATAPI drivers)? Otherwise looks good. --
Feb 12, 1:17 pm 2008
Borislav Petkov
[PATCH] ide-scsi: do non-atomic pc->flags testing
commit 272976f0f5754707f9e41da315717a6eb8d9d536 Author: Borislav Petkov <petkovbb@gmail.com> Date: Tue Feb 12 16:22:44 2008 +0100 ide-scsi: do non-atomic pc->flags testing Signed-off-by: Borislav Petkov <petkovbb@gmail.com> diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c index 5ec421c..eb84cdc 100644 --- a/drivers/scsi/ide-scsi.c +++ b/drivers/scsi/ide-scsi.c @@ -319,8 +319,10 @@ static int idescsi_end_request (ide_drive_t *drive, int uptodate, int nrsecs) pc ...
Feb 12, 8:25 am 2008
Jean Delvare
[PATCH] dmi: Clean-up dmi helper declarations
The declaration of dmi helper functions is a bit messy and inconsistent at the moment: * On ia64 they are declared in <asm/io.h>. * On x86-64 they are declared in <asm/dmi.h>. * On i386 they are declared both in <asm/io.h> and <asm/dmi.h>. Fix the header files so that the dmi helper functions are consistently defined in <asm/dmi.h>. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Matt Domsch <Matt_Domsch@dell.com> --- Only tested on i386 and x86-64, maybe Matt can test on ia64? ...
Feb 12, 8:24 am 2008
Mauro Carvalho Chehab
Re: build #345 issue for v2.6.25-rc1 in tuner-core.c
On Mon, 11 Feb 2008 21:34:32 -0500 I should forward today some patches to Linus. I'll add this one to the list. Cheers, Mauro --
Feb 12, 7:59 am 2008
Borislav Petkov
[RFC PATCH] ide-floppy: use rq->cmd for preparing and se ...
Hi Bart, here's a first go at converting ide-floppy to using rq->cmd for packet commands. The code below is pretty rough and from what i can tell needs to be hammered a lot more, for it raises a lot of issues: 1. The command control (pc->callback, request type, etc) is still done using the pc pointer passed to all the functions prior to issuing the command. This, imho, can be done a lot cleaner and easier. What is the rationale here, do we want ide_atapi_pc removed in the long run and get by ...
Feb 12, 7:37 am 2008
Bartlomiej Zolnierki ...
Re: [RFC PATCH] ide-floppy: use rq->cmd for preparing an ...
Hi Borislav, I think that this _really_ should be done _after_ unifying ATAPI handling [*]. Otherwise you will be making some of the same changes to the _three_ copies of (more or less) identical code and more importantly we will have to delay unification after _all_ drivers are converted to rq->cmd[] (+ lets not forget that I'll have more changes to review ;). (*) please take a closer look at *_issue_pc(), *_transfer_pc() and *_pc_intr() in ide-{floppy,tape,scsi} (the useful hint is ...
Feb 12, 2:39 pm 2008
Bartlomiej Zolnierki ... Feb 12, 1:10 pm 2008
Borislav Petkov
[PATCH] ide-floppy: rename end_request handler properly
commit 48f9b88d491aa478ffcf21e2f523e3665db0770b Author: Borislav Petkov <petkovbb@gmail.com> Date: Tue Feb 12 09:42:19 2008 +0100 ide-floppy: rename end_request handler properly mv idefloppy_do_end_request -> idefloppy_end_request as is the case with ide-cd Signed-off-by: Borislav Petkov <petkovbb@gmail.com> diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 7e62dfc..bf1ef60 100644 --- a/drivers/ide/ide-floppy.c +++ ...
Feb 12, 7:36 am 2008
James Bottomley
Re: [PATCH] 2.6.25-rc1-git2: GDT SCSI: change drivers/sc ...
This can't be correct without a matching put in the error leg. The difference between the two APIs is that pci_get_device returns a pci_device with a reference taken and pci_find_device doesn't. However, pci_get_device does drop the reference again so as long as you never exit the loop until it returns NULL, it is OK ... it's the exits before pci_get_device() returns NULL that need the put. James --
Feb 12, 9:22 am 2008
Boaz Harrosh
Re: [PATCH] 2.6.25-rc1-git2: GDT SCSI: change drivers/sc ...
Yes you are right I have just realized that. Reinspecting pci_get_device() Sergio will you do it? or should I have a try? Boaz --
Feb 12, 9:54 am 2008
Sergio Luis
[PATCH] 2.6.25-rc1-git2: GDT SCSI: change drivers/scsi/g ...
Fix compilation warning in drivers/scsi/gdth.c, using deprecated pci_find_device. Change it into using pci_get_device instead: drivers/scsi/gdth.c:645: warning: 'pci_find_device' is deprecated (declared at include/linux/pci.h:495) Signed-off-by: Sergio Luis <sergio@larces.uece.br> gdth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -urN linux-2.6.25-rc1-git2.orig/drivers/scsi/gdth.c linux-2.6.25-rc1-git2/drivers/scsi/gdth.c --- ...
Feb 12, 7:31 am 2008
Randy Dunlap
Re: stuck with 2.6.23.14 on x86_64
a/ send .config file for the build problem above b/ How do you download and/or apply 2.6.23.{15,16} ? Full tarball or base tarball + patches? If patches, what base tree are they applied to? --- ~Randy --
Feb 12, 10:18 am 2008
Fabio Coatti
stuck with 2.6.23.14 on x86_64
Hi all, I'm stuck in a weird situation: I'm unable to go beyond 2.6.23.14, so to fix the splice bug I've had to apply by hand the patch. (x86_64) Basically, with 2.6.24.2 (the same with 2.6.24 and .1), tha machine won't boot due to a problem with cciss driver, that prevents to find the / partition. (bug described here: Kernel Bug Tracker Bug 9859 http://bugzilla.kernel.org/show_bug.cgi?id=9859 ); With kernels 2.6.23, the lastest that I can compile is 2.6.23.14; starting from .15 (and ...
Feb 12, 7:03 am 2008
Fabio Coatti
Re: stuck with 2.6.23.14 on x86_64
full tarball from kernel.org (.16), tried also applying patches to 2.6.23=20 vanilla.(.15,.16) Same process leads to successful compilation for .14 =2D-=20 =46abio "Cova" Coatti http://members.ferrara.linux.it/cova =20 =46errara Linux Users Group http://ferrara.linux.it GnuPG fp:9765 A5B6 6843 17BC A646 BE8C FA56 373A 5374 C703 Old SysOps never die... they simply forget their password.
Feb 12, 10:47 am 2008
Randy Dunlap
Re: stuck with 2.6.23.14 on x86_64
OK, quite easy to reproduce when CONFIG_PM=n. For a temp quick fix, you could enable CONFIG_PM. Len, Rafael: were there any recent patches for the split of ACPI & PM that need to be backported to -stable? Thanks. --- ~Randy --
Feb 12, 1:45 pm 2008
Rafael J. Wysocki
Re: stuck with 2.6.23.14 on x86_64
You're not supposed to have CONFIG_PM unset and CONFIG_ACPI set at the same time. The oldconfig generation must have gone wrong at one point. Thanks, Rafael --
Feb 12, 1:55 pm 2008
Rafael J. Wysocki
Re: stuck with 2.6.23.14 on x86_64
Not that I know of. Actually, ACPI still depends on PM (in the current mainline as well as in .23.x). Thanks, Rafael --
Feb 12, 1:52 pm 2008
David Brownell
Re: WARN_ON(): proc_dir_entry 'rtc' already registered
Which shows: CONFIG_GEN_RTC=y CONFIG_GEN_RTC_X=y Disable that, then those warnings will vanish. (I'm told that having proc_register() return a fault code is off the table, much like impeachment.) How to fix ... how about: instead of just warning folk off such legacy RTC drivers [1] we just wrap them with an "if RTC_LIB != n" so this mistake won't be possible. - Dave [1] http://marc.info/?l=linux-kernel&m=120267619306747&w=2 --
Feb 12, 11:29 am 2008
Pavel Machek
WARN_ON(): proc_dir_entry 'rtc' already registered
I'm getting this during bootup: PM: Adding info for No Bus:event6 PM: Adding info for No Bus:uinput PM: Adding info for No Bus:rtc0 proc_dir_entry 'rtc' already registered Pid: 1, comm: swapper Not tainted 2.6.25-rc1 #125 [<c02ac4e0>] proc_register+0xd0/0x150 [<c02ac65f>] create_proc_entry+0x4f/0xb0 [<c055f38e>] rtc_proc_add_device+0x1e/0x40 [<c055e268>] rtc_device_register+0x1d8/0x210 [<c055fc36>] cmos_do_probe+0x126/0x330 [<c03df585>] compare_pnp_id+0x25/0xc0 [<c03df6bf>] ...
Feb 12, 6:26 am 2008
Stephane Chazelas
[PATCH 2.6.24] block2mtd: removing a device and typo fixes
Hi Joern, this patch addresses a number of small issues mainly regarding the output made by this driver to dmesg: - Some of the "blkmtd"'s had not been changed to "block2mtd" which caused display problem - the parse_err() macro was displaying "block2mtd: " twice Also, one can add a block2mtd mtd device with things like: echo /dev/loop3,$((256*1024)) | sudo tee /sys/module/block2mtd/parameters/block2mtd but individual mtds cannot be removed. You can only do a modprobe -r ...
Feb 12, 6:47 am 2008
Stephane Chazelas
Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes
Hi Jörn, OK, I can do that. Would the "simple" fix go to the Well, yes that raised a concern to me, the "exit" function returns "void". If the del_mtd_device fails with EBUSY at the moment (such as when a /dev/mtdblock<x> is mounted), we ignore it and go on with freeing everything leaving a dangling mtd. Is there a way around that? Another problem is that it's not easy to check whether a mtd creation was successful or not. Basically, you have to write to a /sys file and then parse ...
Feb 12, 9:10 am 2008
Jörn
Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes
Sounds sane enough. But I do have some reservations about the implementation. It would be best if you split the patch in two. One with the obvious stuff above and one for this. The core of remove_device_by_name() is shared with block2mtd_exit(), so a common helper would be good. Your error handling is better, so let's keep that version. And independently of your patch a mutex protecting the device list from simultaneous modifications would be good to have. Side note: I may not have ...
Feb 12, 8:21 am 2008
Edgar E. Iglesias
[PATCH] Use ELF_CORE_EFLAGS for kcore ELF header flags.
ELF_CORE_EFLAGS is already used by the binfmt_elf coredumper to set correct arch specific ELF header flags on coredumps. Use it for kcore aswell. This corrects kcore files for the CRIS arch and I beleive it corrects ordinary coredumps for the H8/300. Signed-off-by: Edgar E. Iglesias <edgar@axis.com> --- diff --git a/fs/proc/kcore.c b/fs/proc/kcore.c index e78c81f..c2370c7 100644 --- a/fs/proc/kcore.c +++ b/fs/proc/kcore.c @@ -23,6 +23,10 @@ #define CORE_STR "CORE" +#ifndef ...
Feb 12, 6:34 am 2008
Peter Zijlstra
[RFC][PATCH] sched: fair-group: load_balance_monitor vs ...
The biggest issue with load_balance_monitor atm is that it never goes to sleep, and generates a huge amount of wakeups, even on idle systems. I tried doing a simple interruptible sleep on idle, but wake_up_process can't be used while holding the rq lock, so that didn't quite work out. The next option was turning it into a timer, this does work however it now runs from hardirq context and I worry that it might be too heavy, esp on larger boxen. However, if we split the global lb_monitor ...
Feb 12, 5:59 am 2008
Peter Zijlstra
Re: [RFC][PATCH] sched: fair-group: load_balance_monitor ...
Uhm,.. seems I forgot to refresh after removing the debug info.. :-) --
Feb 12, 6:04 am 2008
Thomas Gleixner
Re: [PATCH] [1/2] CPA: Fix set_memory_x for ioremap v2
There is another option: - Fix it proper. The so-called "significant restructuring" took a mere 2 hours, which is probably less than the time consumed in this thread. http://git.kernel.org/?p=linux/kernel/git/x86/linux-2.6-x86.git;a=shortlog;h=mm Thanks, tglx --
Feb 12, 4:02 pm 2008
Andi Kleen
[PATCH] [2/2] Improve not NX check in i386 direct mappin ...
[This is a replacement for the direct mapping protections patchkit from last week. It is simpler by implementing its own specialized duplicated logic instead of adapting the existing pageattr logic to be usable for this case] The i386 direct mapping support needs to avoid setting NX on pages that are used by the kernel text. This patch improves the checks for that case. - Check the correct range of kernel text not including data only sections at the end. - Check the beginning too ...
Feb 12, 5:53 am 2008
Andi Kleen
[PATCH] [1/2] CPA: Fix set_memory_x for ioremap v2
EFI currently calls set_memory_x() on addresses not in the direct mapping. This is problematic for several reasons: - The cpa code internally calls __pa on it which does not work for remapped addresses and will give some random result. In the EFI case EFI passes in a fixmap address which when run though __pa() gives a valid looking but wrong memory address. - cpa will try to change all potential aliases (like the kernel mapping on x86-64), but that is not needed for NX because the caller ...
Feb 12, 5:53 am 2008
Sergio Luis
[PATCH] 2.6.25-rc1-git2: drivers/video/uvesafb.c: fix se ...
Fix following warnings: WARNING: drivers/video/built-in.o(.text+0x7c64a): Section mismatch in reference from the function param_set_scroll() to the variable .devinit.data:ypan WARNING: drivers/video/built-in.o(.text+0x7c65d): Section mismatch in reference from the function param_set_scroll() to the variable .devinit.data:ypan WARNING: drivers/video/built-in.o(.text+0x7c679): Section mismatch in reference from the function param_set_scroll() to the variable .devinit.data:ypan WARNING: ...
Feb 12, 5:32 am 2008
Ben Nizette
BUG: 2.6.25-rc1: iptables postrouting setup causes oops
On an AVR32, root over NFS, config attached, running (from a startup script): iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE Results in (dmesg extract including a bit of context for good measure): -------------8<---------------- VFS: Mounted root (nfs filesystem). Freeing init memory: 72K (90000000 - 90012000) eth0: no IPv6 routers present warning: `dnsmasq' uses 32-bit capabilities (legacy support in use) ip_tables: (C) 2000-2006 Netfilter Core Team nf_conntrack version 0.5.0 ...
Feb 12, 4:46 am 2008
Eugene Teo
Re: [PATCH 2/2 resend] mm: various cleanups in get_user_ ...
Sorry for the repeated emails. Kindly ignore the previous resend. Please review this instead. Thanks. I have tested this. [PATCH 2/2] mm: various cleanups in get_user_pages() This patch contains various cleanups, including making sure vma is valid, and the return value of follow_hugetlb_page() is validated. Signed-off-by: Eugene Teo <eugeneteo@kernel.sg> --- mm/memory.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/mm/memory.c ...
Feb 12, 6:10 am 2008
Eugene Teo
[PATCH 2/2 resend] mm: various cleanups in get_user_pages()
Argh. Sorry, I spotted a mistake. Here's a resend: [PATCH 2/2] mm: various cleanups in get_user_pages() This patch contains various cleanups, including making sure vma is valid, and the return value of follow_hugetlb_page() is validated. Signed-off-by: Eugene Teo <eugeneteo@kernel.sg> --- mm/memory.c | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index 54f951b..77105c4 100644 --- a/mm/memory.c +++ ...
Feb 12, 4:40 am 2008
Eugene Teo
[PATCH 2/2] mm: various cleanups in get_user_pages()
This patch contains various cleanups, including making sure vma is valid, and the return value of follow_hugetlb_page() is validated. Signed-off-by: Eugene Teo <eugeneteo@kernel.sg> --- mm/memory.c | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index 54f951b..49403a8 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -1003,7 +1003,9 @@ int get_user_pages(struct task_struct *tsk, struct mm_struct *mm, unsigned int ...
Feb 12, 4:29 am 2008
Eugene Teo
[PATCH 1/2] mm: make get_user_pages() more robust in han ...
Ensure that get_user_pages() evaluates len upon entry into the while loops. A BUG_ON check is added so that it will catch potential bugs when it is asked to grab zero pages. follow_hugetlb_page() is modified to adapt the changes made in get_user_pages(). Signed-off-by: Eugene Teo <eugeneteo@kernel.sg> --- include/linux/hugetlb.h | 2 +- mm/hugetlb.c | 10 +++------- mm/memory.c | 15 ++++++--------- 3 files changed, 10 insertions(+), 17 deletions(-) diff ...
Feb 12, 4:28 am 2008
Yinghai Lu
/initrd.img
any limitation about size of /initrd.img that saved by populate_rootfs ? i got RAMDISK: Compressed image found at block 0 RAMDISK: incomplete write (-28 != 2048) 134217728 crc error VFS: Mounted root (ext2 filesystem). Freeing unused kernel memory: 388k freed init_special_inode: bogus i_mode (177777) Warning: unable to open an initial console. init_special_inode: bogus i_mode (177777) init_special_inode: bogus i_mode (177777) Kernel panic - not syncing: No init found. Try passing init= ...
Feb 12, 4:28 am 2008
H. Peter Anvin
Re: /initrd.img
Assuming a 64-bit system, that's *supposed* to work. Doesn't mean anything that weird has been tested. It could be a SLUB bug, or it could be memory not being properly defended. -hpa --
Feb 12, 10:53 am 2008
Thomas Petazzoni
Re: [PATCH] Configure out doublefault exception handler ...
Hi Sam, Le Tue, 12 Feb 2008 14:04:28 +0100, Oops, my usual "find . -name Kconfig" missed it. Thanks for pointing it Doesn't seem so: there's only a doublefault_32.c, no doublefault_64.c. However, I don't know the details of x86_64. Thanks, Thomas --=20 Thomas Petazzoni, Free Electrons Free Embedded Linux Training Materials on http://free-electrons.com/training (More than 1500 pages!)
Feb 12, 7:00 am 2008
Sam Ravnborg
Re: [PATCH] Configure out doublefault exception handler ...
We already have this in arch/x86/Kconfig.debug: config DOUBLEFAULT default y bool "Enable doublefault exception handler" if EMBEDDED depends on X86_32 help This option allows trapping of rare doublefault exceptions that would otherwise cause a system to silently reboot. Disabling this option saves about 4k and might cause you much additional grey hair. It may need a small update if this is valid for both 32 and 64 ...
Feb 12, 6:04 am 2008
Matt Mackall
Re: [PATCH] Configure out doublefault exception handler ...
The fact that you didn't have to add any makefile bits should have been I bet there's some doublefault-handling code hiding somewhere. It's not the sort of thing it'd make sense to take out of the architecture. -- Mathematics is the supreme nostalgia of our time. --
Feb 12, 9:02 am 2008
Thomas Petazzoni
[PATCH] Configure out doublefault exception handler (Lin ...
Hi, Enclosed patch allows to configure out the doublefault exception handler. The original patch of Matt Mackall added the option in init/Kconfig, but because this is a x86-specific thing, I thought arch/x86/Kconfig would be a better place. Is that correct ? This patch applies on top on the DMI scanning code patch I've sent yesterday, because the DOUBLEFAULT config option is right after the DMI config option. Is that ok, or should I propose a patch on top of a vanilla 2.6.25-rc1 ? Thanks ...
Feb 12, 3:08 am 2008
Pavel Emelyanov
[PATCH 3/3] Consolidate checking for ignored/legacy signals
Two callers for send_signal() - the specific_send_sig_info and the __group_send_sig_info - both check for sig to be ignored or already queued. Move these checks into send_signal() and make it return 1 to indicate that the signal is dropped, but there's no error in this. Besides, merge comments and spell-check them. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- kernel/signal.c | 37 +++++++++++++++---------------------- 1 files changed, 15 insertions(+), 22 ...
Feb 12, 3:25 am 2008
Pavel Emelyanov
[PATCH 2/3] Turn LEGACY_QUEUE macro into static inline f ...
This makes the code more readable, due to less brackets and small letters in name. I also move it above the send_signal() as a preparation for the 3rd patch. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- kernel/signal.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c index 21d4751..384d188 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -657,6 +657,11 @@ static void handle_stop_signal(int sig, struct ...
Feb 12, 3:22 am 2008
Pavel Emelyanov
[PATCH 1/3] Remove unused variable from send_signal()
This function doesn't change the ret's value and thus always returns 0, with a single exception of returning -EAGAIN explicitly. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- kernel/signal.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c index cc45a6b..21d4751 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -661,7 +661,6 @@ static int send_signal(int sig, struct siginfo *info, struct task_struct *t, struct ...
Feb 12, 3:19 am 2008
Mark Brown
[UPDATED v6] WM97xx touchscreen drivers
This patch series adds support for the touchscreen controllers provided by Wolfson Microelectronics WM97xx series chips in both polled and streaming modes. The series can also be pulled via git from: git://opensource.wolfsonmicro.com/linux-2.6-touch upstream This version incorporates minor bug fixes. --
Feb 12, 3:17 am 2008
Mark Brown
[PATCH 4/6] Add chip driver for WM9713 touchscreen
Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com> Signed-off-by: Mike Arthur <mike.arthur@wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Dmitry Baryshkov <dbaryshkov@gmail.com> Cc: Stanley Cai <stanley.cai@intel.com> Cc: Rodolfo Giometti <giometti@enneenne.com> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Marc Kleine-Budde <mkl@pengutronix.de> Cc: Pete MacKay ...
Feb 12, 3:21 am 2008
Mark Brown
[PATCH 2/6] Add chip driver for WM9705 touchscreen
Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com> Signed-off-by: Mike Arthur <mike.arthur@wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Dmitry Baryshkov <dbaryshkov@gmail.com> Cc: Stanley Cai <stanley.cai@intel.com> Cc: Rodolfo Giometti <giometti@enneenne.com> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Marc Kleine-Budde <mkl@pengutronix.de> Cc: Pete MacKay ...
Feb 12, 3:21 am 2008
Mark Brown
[PATCH 1/6] Core driver for WM97xx touchscreens
This patch series adds support for the touchscreen controllers provided by Wolfson Microelectronics WM97xx series chips in both polled and streaming modes. These drivers have been maintained out of tree since 2003. During that time the driver the primary maintainer was Liam Girdwood and a number of people have made contributions including Stanley Cai, Rodolfo Giometti, Russell King, Marc Kleine-Budde, Ian Molton, Vincent Sanders, Andrew Zabolotny, Graeme Gregory, Mike Arthur and myself. ...
Feb 12, 3:21 am 2008
Mark Brown
[PATCH 3/6] Add chip driver for WM9712 touchscreen
Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com> Signed-off-by: Mike Arthur <mike.arthur@wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Dmitry Baryshkov <dbaryshkov@gmail.com> Cc: Stanley Cai <stanley.cai@intel.com> Cc: Rodolfo Giometti <giometti@enneenne.com> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Marc Kleine-Budde <mkl@pengutronix.de> Cc: Pete MacKay ...
Feb 12, 3:21 am 2008
Mark Brown
[PATCH 5/6] Driver for WM97xx touchscreens in streaming ...
Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com> Signed-off-by: Mike Arthur <mike.arthur@wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Dmitry Baryshkov <dbaryshkov@gmail.com> Cc: Stanley Cai <stanley.cai@intel.com> Cc: Rodolfo Giometti <giometti@enneenne.com> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Marc Kleine-Budde <mkl@pengutronix.de> Cc: Pete MacKay ...
Feb 12, 3:21 am 2008
Mark Brown
[PATCH 6/6] Build system and MAINTAINERS entry for WM97x ...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> --- MAINTAINERS | 9 ++++++ drivers/input/touchscreen/Kconfig | 52 ++++++++++++++++++++++++++++++++++++ drivers/input/touchscreen/Makefile | 7 +++++ 3 files changed, 68 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2340cfb..4ad793f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4204,6 +4204,15 @@ ...
Feb 12, 3:21 am 2008
David Brownell
Re: [PATCH] USB: OTG: Fix weirdnesses on enumerating par ...
Wrong ... the meaning of that flag is: *THIS* system is a Linux-USB OTG device which came up in B-peripheral role, and then through the magic of HNP morphed into the B-host role. Linux is acting as a host at that point. So either it's being the A-host, or the B-host. That flag says which. If the other device has the A-connector, yet we're the B-host, then right now it is acting as an A-peripheral. That's Again wrong ... if the host side's b_hnp_enable flag is set, that means this is a ...
Feb 12, 6:02 am 2008
David Brownell
Re: [PATCH] USB: OTG: Fix weirdnesses on enumerating par ...
Why not just fix that bug? Remember that's Linux code. --
Feb 12, 3:28 am 2008
David Brownell
Re: [PATCH] USB: OTG: Fix weirdnesses on enumerating par ...
I see no sarcasm there. People seem to want different degrees of handholding when being told they're wrong. First time gently, second time less so ... I think there are limits to how long you can realistically expect someone (in this case, me) to let that drag on. (You object to "magic"? Most LKML readers know squat about OTG, Why not? The B-host can't proceed in that case. The mechanism for not-proceeding is inside this: if (!is_targeted(udev)) { if ...
Feb 12, 1:32 pm 2008
Felipe Balbi
Re: [PATCH] USB: OTG: Fix weirdnesses on enumerating par ...
The device claiming to be b_host is not linux based. In any case this is_b_host check won't do nothing here as we should check is SetFeature(b_hnp_enbable) has been succesfull. A device in b_host state is not enough for allowing hnp to happen. Remember some devices doesn't support hnp in B roles, only a_hnp_support is mandatory. -- - Balbi --
Feb 12, 10:45 am 2008
Felipe Balbi
Re: [PATCH] USB: OTG: Fix weirdnesses on enumerating par ...
True, but allowing hnp nowing we're b_host doesn't sound correct. If we're b_host it can get two scenarios we would get to fall into this state: 1. We asked to become host; or 2. A_device allowed us become host because it can't handle us. In both cases, HNP is quite useless happening again, don't you think? We should at least try to enumerate a_peripheral, if it can't due to our power capabilities i.e. 100mA, we'll fall into overcurrent protection and we'll suspend the bus and ...
Feb 12, 1:22 pm 2008
Felipe Balbi
[PATCH] USB: OTG: Fix weirdnesses on enumerating partial ...
Remove the check for is_b_host upon enumerating otg devices as it can trigger some weird behaviors on otg sessions. Some devices claim to be b_host even though they have an a_connector attached to it. Checking b_hnp_enable flag should be secure enough or terms of otg compliancy. Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> --- drivers/usb/core/hub.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index ...
Feb 12, 10:00 am 2008
Artem Bityutskiy
[GIT-PULL] UBI updates
Linus, please pull from git://git.infradead.org/~dedekind/ubi-2.6.git master to receive few UBI updates and fixes. Artem Bityutskiy (2): Documentation: add UBI sysfs ABI docs UBI: be verbose when debuggin is enabled S.Çağlar Onur (1): UBI: silence warning Documentation/ABI/stable/sysfs-class-ubi | 212 ++++++++++++++++++++++++++++++ drivers/mtd/ubi/debug.h | 2 + drivers/mtd/ubi/io.c | 4 + drivers/mtd/ubi/vmt.c ...
Feb 12, 2:41 am 2008
Kamalesh Babulal
[PATCH] 2.6.25-rc1 ml4x network driver build failure
The 2.6.25-rc1 kernel build fails on the powerpc with the error drivers/net/mlx4/alloc.c: In function ‘mlx4_buf_alloc’: drivers/net/mlx4/alloc.c:162: error: implicit declaration of function ‘vmap’ drivers/net/mlx4/alloc.c:162: error: ‘VM_MAP’ undeclared (first use in this function) drivers/net/mlx4/alloc.c:162: error: (Each undeclared identifier is reported only once drivers/net/mlx4/alloc.c:162: error: for each function it appears in.) drivers/net/mlx4/alloc.c:162: warning: assignment makes ...
Feb 12, 2:42 am 2008
Borislav Petkov
Re: IDE cdrom problem with PLEXTOR DVDR PX-608AL
^^^^ Hi, can please you test this with a more recent kernel. Yours is almost ancient - from Sep. 2006. Thanks. -- Regards/Gruß, Boris. --
Feb 12, 10:20 am 2008
Hans-Peter Jansen
IDE cdrom problem with PLEXTOR DVDR PX-608AL
Hi, I suffer from unreliable cdrom operations (failing DAE and burn sessions) with the openSUSE 2.6.18.8-0.7-bigsmp kernel. Additionally, the syslog is continuesly spammed with: Feb 12 00:03:22 kernel: hdc: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. Feb 12 00:57:52 kernel: hdc: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. Feb 12 01:36:21 kernel: hdc: cdrom_pc_intr: The drive ...
Feb 12, 2:26 am 2008
Thomas Petazzoni
[PATCH] Configure out DMI scanning code v2 (Linux Tiny)
Hi, Enclosed patch is an updated version, with proper credits to Matt Mackall and the Linux Tiny project. Sincerly, Thomas --- Turn CONFIG_DMI into a selectable option if EMBEDDED is defined, in order to be able to remove the DMI table scanning code if it's not needed, and then reduce the kernel code size. With CONFIG_DMI (i.e before) : text data bss dec hex filename 1076076 128656 98304 1303036 13e1fc vmlinux Without CONFIG_DMI (i.e after) : text ...
Feb 12, 2:04 am 2008
Andrew Morton
Re: [PATCH] Configure out DMI scanning code v2 (Linux Tiny)
On Tue, 12 Feb 2008 12:56:45 -0600 That should have been "Signed-off-by:". I'll speculatively make that change. --
Feb 12, 1:08 pm 2008
Matt Mackall
Re: [PATCH] Configure out DMI scanning code v2 (Linux Tiny)
Thanks for working on this. Acked-by: Matt Mackall <mpm@selenic.com> -- Mathematics is the supreme nostalgia of our time. --
Feb 12, 11:56 am 2008
Toralf
build #351 issue for v2.6.25-rc1-51-g96b5a46 in ./driver ...
--Boundary-01=_H8VsHqtwNiFwMgC Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, the build with the attached .config failed, make ends with: =2E.. CC block/ioctl.o CC block/genhd.o block/genhd.c: In function 'genhd_device_init': block/genhd.c:361: warning: ignoring return value of 'class_register', decl= ared with attribute warn_unused_result CC block/scsi_ioctl.o CC block/bsg.o ...
Feb 12, 1:55 am 2008
RM
netdev
Bonjour Since kernel-2.6.24 i cannot connect to internet networking process is not ok ; avahi bad the problem for me in only with Amd64 processor with Dell laptop and pentium4m kernel-2.6.24 and avahi service is ok i sent you syslog 2.6.24.1 and syslog and syslog-2.6.23.14 thanks for back please Roger --
Feb 12, 1:13 am 2008
Toralf
build #349 issue for v2.6.25-rc1 : Section mismatch from ...
--Boundary-01=_6xVsHADERpAmpt0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, the build with the attached .config failed, make ends with: =2E.. AR arch/x86/lib/lib.a LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x7cae): Section mismatch in reference from the fu= nction arch_register_cpu() to the function .cpuinit.text:register_cpu() The function arch_register_cpu() ...
Feb 12, 1:44 am 2008
Uwe Kleine-König
[PATCH] trivial: fix alignment of IP-Config output
make the intended lines aligned in the output (not in the code) Signed-off-by: Uwe Kleine-K
Feb 12, 1:38 am 2008
Bodo Eggert
Re: [PATCH] Avoid buffer overflows in get_user_pages()
while (len > 0), if I understand this patch correctly. --
Feb 12, 1:34 am 2008
Stephen Hemminger
Re: netdev
On Tue, 12 Feb 2008 09:23:17 +0100 What is the network card (lspci) and network settings. -- Stephen Hemminger <stephen.hemminger@vyatta.com> --
Feb 12, 9:35 am 2008
RM
netdev
Bonjour Since kernel-2.6.24 i cannot connect to internet networking process is not ok ; avahi bad the problem for me in only with Amd64 processor with Dell laptop and pentium4m kernel-2.6.24 and avahi service is ok i sent you syslog 2.6.24.1 and syslog and syslog-2.6.23.14 thanks for back please Roger
Feb 12, 1:23 am 2008
am kara
Re: simple questions about net/ipv4; kara_am
What are the general functionalities of net/ipv4/tunnel4.c and net/ipv4/ipip.c? Are these modules necessary and compulsory to implement IPsec by Linux kernel? I mean if I do not load them I can not make IPsec , layer 3 between two points of a network? ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs --
Feb 11, 11:25 pm 2008
Natalie Protasevich
Open bugs
Hello, The bugs listed are over a month old, and haven't been addressed yet. It would be appreciated if corresponding maintainers identify whether the bugs have been fixed, or need to be worked on, and take appropriate action. In most cases, reporters are standing by and ready to provide information and necessary testing. Thanks! Memory Management======================================= swapping in 2.6.24-rc5-git3 http://bugzilla.kernel.org/show_bug.cgi?id=9592 Date: ...
Feb 12, 1:18 am 2008
James Bottomley
Re: Open bugs
Added linux-scsi for the SCSI ones I think this was fixed by commit e2d435ea4084022ab88efa74214accb45b1f9e92 Apparently bugzilla email is on the fritz again because this bug report This one looks like the usual problem of remove re-add with the SCSI Since this one never apparently worked it's not a regression but an enhancement request, isn't it? However, adding this PCI ID to the driver should be fairly straightforward. Does anyone know what the actual PCI IDs are? James --
Feb 12, 10:57 am 2008
Natalie Protasevich
Re: Open bugs
On Feb 12, 2008 9:57 AM, James Bottomley No this is not a regression. The bug list that I post is just any bugs (mostly unattended or stalled). Sometimes those are regressions off of the Raphael's list, when they don't get resolved for a while, or just random regressions that haven't showed up on the "hot list" by --
Feb 12, 11:55 am 2008
Peter Teoh
Re: Documentation about sysfs/procfs entries
My suggestion is that since the parameters are: a. divide the symbols into two group: well-documented vs undocumented (prefixed by "__" eg, __xxxx). this supposedly for sysadmin vs kernel developer. b. for each of the official documented /sys control, provide a one-line description when passed via /sys/help (eg, echo kstack_depth_to_print > /sys/help) and the helpstring will go to the console. On the other hand, this may potentially blow up the vmlinux image size. --
Feb 12, 12:46 am 2008
Kamalesh Babulal
[BUID_FAILURE] regression from 2.6.24-git18 to 2.6.25-rc ...
This build failure is seen on the powerpc from the 2.6.24-git18 kernel and is still visible in the 2.6.25-rc1-git1. drivers/input/mouse/psmouse-base.c:44: error: __param_proto causes a section type conflict drivers/input/mouse/psmouse-base.c:44: error: __param_proto causes a section type conflict make[3]: *** [drivers/input/mouse/psmouse-base.o] Error 1 make[2]: *** [drivers/input/mouse] Error 2 make[1]: *** [drivers/input] Error 2 The patch http://lkml.org/lkml/2008/2/8/514 seems to have not ...
Feb 12, 12:40 am 2008
Andrew Morton
Re: [BUID_FAILURE] regression from 2.6.24-git18 to 2.6.2 ...
I have it queued up, along with quite a few other things, but for the next couple of days I have logistical problems which are preventing me from doing runtime testing. --
Feb 12, 12:59 am 2008
Kamalesh Babulal
Re: [BUID_FAILURE] regression from 2.6.24-git18 to 2.6.2 ...
Sorry for the term using "regression in the kernel", this seems not to be the regression from the kernel.I tried compiling older versions of kernels on the machine. I was able to reproduce the same build failure with 2.6.23 and similar one with 2.6.22. drivers/char/ipmi/ipmi_si_intf.c:1095: error: __param_hotmod causes a section type conflict drivers/char/ipmi/ipmi_si_intf.c:1095: error: __param_hotmod causes a section type conflict -- Thanks & Regards, Kamalesh Babulal, Linux Technology ...
Feb 12, 5:10 am 2008
Adrian Bunk
Re: [BUID_FAILURE] regression from 2.6.24-git18 to 2.6.2 ...
I misread what you meant with the word "from". But my point is still that this is not a regression in the kernel but a problem when using gcc 4.2 on powerpc (no matter whether the kernel or gcc is wrong in this case). Or am I wrong here and you are able to compile older powerpc kernels 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. ...
Feb 12, 2:55 am 2008
Kamalesh Babulal
Re: [BUID_FAILURE] regression from 2.6.24-git18 to 2.6.2 ...
Hi Adrian, I am using the gcc version gcc (GCC) 4.2.3 20071014 (prerelease) (Debian 4.2.2-3) It has been the same gcc version from 2.6.24-git18 to 2.6.25-rc1-git{1,2). This build failure is seen from 2.6.24-git18 and is still seen in 2.6.25-rc1-git{1,2}. -- Thanks & Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL. --
Feb 12, 2:47 am 2008
Adrian Bunk
Re: [BUID_FAILURE] regression from 2.6.24-git18 to 2.6.2 ...
And this really isn't a regression. It seems Kamalesh has upgraded his gcc to 4.2 between trying 2.6.24-git18 and trying 2.6.25-rc1-git1? cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
Feb 12, 2:36 am 2008
Peter Teoh
Documentation about sysfs/procfs entries (resent due to ...
I was looking for documentation on the kstack_depth_to_print under /proc/sys/kernel, and I found it in Documentation/sysctl.txt (written by Rik). How about /proc/sys/net? or all other directories under /sys or /proc fs? Wouldn't it be useful to have a centralized store located in Documentation - properly structured, just a one-liner or two - on the reasons and explanations for each of these /proc or /sys parameters? And something to look for further details? Something of the ...
Feb 12, 12:31 am 2008
Ingo Molnar
Re: [BUG] 2.6.25-rc1-git1 softlockup while bootup on powerpc
this call_for_each_cic/radix_tree_gang_lookup locked up, and all other CPUs deadlocked in stopmachine, due to this one. call_for_each_cic is in ./block/cfq-iosched.c uses RCU, but you've got classic-RCU: CONFIG_CLASSIC_RCU=y # CONFIG_PREEMPT_RCU is not set so it's not related to the preempt-RCU changes either. It is this part that locks up: do { ... nr = radix_tree_gang_lookup(&ioc->radix_root, (void **) cics, ...
Feb 12, 12:58 am 2008
Kamalesh Babulal
[BUG] 2.6.25-rc1-git1 softlockup while bootup on powerpc
Hi, While booting with the 2.6.25-rc1-git1 kernel on the powerbox the softlockup is seen, with following trace. insmod used greatest stack depth: 5568 bytes left Loading st.ko module BUG: soft lockup - CPU#1 stuck for 61s! [insmod:377] NIP: c0000000001b172c LR: c0000000001a6f00 CTR: 0000000000000034 REGS: c00000077cb2b8a0 TRAP: 0901 Not tainted (2.6.25-rc1-git1-autotest) MSR: 8000000000009032 <EE,ME,IR,DR> CR: 84004084 XER: 20000000 TASK = c00000077cb2f0e0[377] 'insmod' THREAD: ...
Feb 12, 12:09 am 2008
Takashi Iwai
Re: [PATCH] sound: opl3: Fix up opl3_synth build.
At Tue, 12 Feb 2008 16:06:16 +0900, The patch already presents on ALSA tree. http://lkml.org/lkml/2008/2/11/298 thanks, Takashi --
Feb 12, 3:16 am 2008
Paul Mundt
[PATCH] sound: opl3: Fix up opl3_synth build.
opl3 breaks allmodconfig in current git: sound/drivers/opl3/opl3_synth.c: In function `snd_opl3_find_patch': sound/drivers/opl3/opl3_synth.c:308: error: `OPL3_PATCH_HASH_SIZE' undeclared (first use in this function) sound/drivers/opl3/opl3_synth.c:308: error: (Each undeclared identifier is reported only once sound/drivers/opl3/opl3_synth.c:308: error: for each function it appears in.) sound/drivers/opl3/opl3_synth.c:311: error: structure has no member named ...
Feb 12, 12:06 am 2008
Roland McGrath
Re: 2.6.25-rc1, weird build error
Maye it's just a lousy error message from distcc for a real failure from ld. I dunno. --
Feb 12, 12:51 am 2008
Sam Ravnborg
Re: 2.6.25-rc1, weird build error
Looks like a missing dependency on vmlinux.o so we build init/built-in.o in parallel with vmlinux.o => boom. Will look further into this tonight. Sam --
Feb 12, 3:02 am 2008
Ingo Molnar
Re: 2.6.25-rc1, weird build error
ok - but it never occured before. Ingo --
Feb 12, 12:39 am 2008
Roland McGrath
Re: 2.6.25-rc1, weird build error
That message sure looks to me like it could only be a distcc bug. --
Feb 12, 12:12 am 2008
Ingo Molnar
2.6.25-rc1, weird build error
i've got a build log from a weird build error below: LD init/built-in.o distcc[12023] ERROR: compile (null) on localhost failed make: *** [vmlinux.o] Error 1 make: *** Waiting for unfinished jobs.... LD .tmp_vmlinux1 but there's no actual error visible in the logs. On a second attempt, it built just fine. (unfortunately erasing most evidence of the previous failure.) This happened after a rather long randconfig build series so i doubt it's readily reprodicible. any ...
Feb 12, 12:04 am 2008
Scott Lovenberg
Re: Documentation about sysfs/procfs entries
I was looking for exactly this about 2 weeks ago; I needed to look up the knobs for net and disk elevators, and had to jump all over the place. I assumed that such a thing should exist, but I didn't find it. I know I would personally benefit from this, and I'm sure many others would, too. --
Feb 11, 11:24 pm 2008
Greg Ungerer
[M68KNOMMU]: use tabs not spaces in cacheflush.h
Use tabs instead of spaces. Signed-off-by: Greg Ungerer <gerg@uclinux.org> --- diff -Naurp linux-2.6.25-rc1/include/asm-m68knommu/cacheflush.h linux-2.6.x/include/asm-m68knommu/cacheflush.h --- linux-2.6.25-rc1/include/asm-m68knommu/cacheflush.h 2008-02-11 14:50:23.000000000 +1000 +++ linux-2.6.x/include/asm-m68knommu/cacheflush.h 2008-02-12 13:58:55.000000000 +1000 @@ -54,28 +54,28 @@ static inline void __flush_cache_all(voi #if defined(CONFIG_M527x) || defined(CONFIG_M528x) __asm__ ...
Feb 11, 11:16 pm 2008
Greg Ungerer
[M68KNOMMU]: fix profile timer
From: Matt Waddel <Matt.Waddel@freescale.com> I was looking at timers in the Coldfire system and I noticed that the CONFIG_HIGHPROFILE option seems to be a little out of date. This patch gets it compiling and running on a 2.6.23 uClinux kernel. Please apply if you think it's OK. Signed-off-by: Greg Ungerer <gerg@uclinux.org> --- diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/coldfire/timers.c linux-2.6.x/arch/m68knommu/platform/coldfire/timers.c --- ...
Feb 11, 11:16 pm 2008
Greg Ungerer
[M68KNOMMU]: use asflags instead of EXTRA_AFLAGS
Modify the extra asm flags for debugger capabilities, use asflags instead for EXTRA_AFLAGS. Suggestion from Sam Ravnborg <sam@ravnborg.org>. Signed-off-by: Greg Ungerer <gerg@uclinux.org> --- diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/5206/Makefile linux-2.6.x/arch/m68knommu/platform/5206/Makefile --- linux-2.6.25-rc1/arch/m68knommu/platform/5206/Makefile 2008-01-25 08:58:37.000000000 +1000 +++ linux-2.6.x/arch/m68knommu/platform/5206/Makefile 2008-02-12 14:05:13.000000000 +1000 @@ ...
Feb 11, 11:12 pm 2008
Greg Ungerer
[M68KNOMMU]: avoid unneccessary use of xchg() in set_mb()
Avoid unneccessary use of xchg() in set_mb(). Signed-off-by: Greg Ungerer <gerg@uclinux.org> --- diff -Naurp linux-2.6.25-rc1/include/asm-m68knommu/system.h linux-2.6.x/include/asm-m68knommu/system.h --- linux-2.6.25-rc1/include/asm-m68knommu/system.h 2008-02-11 14:50:23.000000000 +1000 +++ linux-2.6.x/include/asm-m68knommu/system.h 2008-02-12 13:58:55.000000000 +1000 @@ -104,7 +104,7 @@ asmlinkage void resume(void); #define mb() asm volatile ("" : : :"memory") #define rmb() asm ...
Feb 11, 11:08 pm 2008
Greg Ungerer
[M68KNOMMU]: fix coldfire interrupt exit path
From: Walter T Gruczka <walter.t.gruczka@boeing.com> Remove bogus conditional jump in return from interrupt path. Reorder the code path now that is not there. Signed-off-by: Greg Ungerer <gerg@uclinux.org> --- diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/coldfire/entry.S linux-2.6.x/arch/m68knommu/platform/coldfire/entry.S --- linux-2.6.25-rc1/arch/m68knommu/platform/coldfire/entry.S 2008-02-11 14:50:21.000000000 +1000 +++ ...
Feb 11, 11:07 pm 2008
Andrew Morton
Re: [patch] avoid kmemcheck warning in epoll
I converted this to "epoll: avoid kmemcheck warning", as per SubmittingPatches's section 14. --
Feb 11, 11:21 pm 2008
Davide Libenzi
[patch] avoid kmemcheck warning in epoll
Epoll calls rb_set_parent(n, n) to initialize the rb-tree node, but rb_set_parent() accesses node's pointer in its code. This creates a warning in kmemcheck (reported by Vegard Nossum) about an uninitialized memory access. The warning is harmless since the following rb-tree node insert is going to overwrite the node data. In any case I think it's better to not have that happening at all, and fix it by simplifying the code to get rid of a few lines that became superfluous after the previous ...
Feb 11, 11:03 pm 2008
Rajat Jain
Kernel Bug? Use of IRQF_SHARED + IRQF_DISABLED
Hi, Based on suggestion from Thomas Petazzoni, I'm moving this to LKML. This is regarding the following code in kernel/irq/handle.c. Consider the case of a shared IRQ line, where two handlers are registered such that first handler does not specify IRQF_DISABLED, but the second one does. But it seems both the handlers will be called with IRQs ENABLED (which is certainly not what the second handler expects). I also checked but could not find anything that stops me from registering two shared ...
Feb 11, 10:49 pm 2008
Eugene Teo
Re: [PATCH] mm: tidy up follow_hugetlb_page() and get_us ...
Ok. I will split them up, and resend. Thanks, Eugene --
Feb 12, 1:00 am 2008
Eugene Teo
[PATCH] mm: tidy up follow_hugetlb_page() and get_user_pages()
This patch extends Jonathan Corbet's patch to avoid buffer overflows in get_user_pages(). It cleans up follow_hugetlb_page(), and get_user_pages() so that it is easier to read. It also makes sure that len and vma are validated. Signed-off-by: Eugene Teo <eugeneteo@kernel.sg> --- include/linux/hugetlb.h | 2 +- mm/hugetlb.c | 13 +++---------- mm/memory.c | 39 +++++++++++++++++++++++---------------- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git ...
Feb 11, 10:28 pm 2008
Eugene Teo
Re: [PATCH] mm: tidy up follow_hugetlb_page() and get_us ...
Hi, I noticed that Linus has committed your patch. Here's a resend of my patch. Kindly review please. [PATCH] mm: tidy up follow_hugetlb_page() and get_user_pages() This patch extends Jonathan Corbet's patch to avoid buffer overflows in get_user_pages(). It tidies up follow_hugetlb_page(), and get_user_pages() to make sure that vma is also validated, and the code is more readable. Signed-off-by: Eugene Teo <eugeneteo@kernel.sg> --- include/linux/hugetlb.h | 2 +- mm/hugetlb.c ...
Feb 12, 12:48 am 2008
Andrew Morton
Re: [PATCH] mm: tidy up follow_hugetlb_page() and get_us ...
We'd prefer that the functional change not be bundled with a (large) cleanup, please. --
Feb 12, 12:47 am 2008
David Miller
Re: [PATCH] fib_trie: rcu_assign_pointer warning fix
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> Thanks for reviewing Paul, I'll apply this. --
Feb 11, 10:15 pm 2008
Robert Hancock
DMA mapping API on 32-bit X86 with CONFIG_HIGHMEM64G
I was looking at the out-of-tree driver for a PCI high-security module (from a vendor who shall remain nameless) today, as we had a problem reported where the device didn't work properly if the computer had more than 4GB of RAM (this is x86 32-bit, with CONFIG_HIGHMEM64G enabled). Essentially what it was doing was taking some memory that the userspace app was transferring to/from the device, doing get_user_pages on it, and then using the old-style page_to_phys, etc. functions to DMA on that ...
Feb 11, 9:15 pm 2008
Nick Piggin
Re: [git pull for -mm] CPU isolation extensions (updated2)
stop machine is used for more than just module loading and unloading. I don't think you can just disable it. --
Feb 11, 11:41 pm 2008
David Miller
Re: [git pull for -mm] CPU isolation extensions (updated2)
From: Nick Piggin <nickpiggin@yahoo.com.au> Right, in particular it is used for CPU hotplug. --
Feb 11, 11:44 pm 2008
Peter Zijlstra
Re: [git pull for -mm] CPU isolation extensions (updated2)
I'm wondering why you insist on offering a git tree that bypasses the regular maintainers. Why not post the patches and walk the normal route? To me this feels rather aggressive, which makes me feel less inclined to You forgot Oleg, he does a lot of the workqueue work. I'm worried by your approach to never start any workqueue on these cpus. Like you said, it breaks Oprofile and others who depend on cpu local workqueues being present. Under normal circumstances these workqueues will ...
Feb 12, 11:59 am 2008
Max Krasnyansky
[git pull for -mm] CPU isolation extensions (updated2)
Andrew, looks like Linus decided not to pull this stuff. Can we please put it into -mm then. My tree is here git://git.kernel.org/pub/scm/linux/kernel/git/maxk/cpuisol-2.6.git Please use 'master' branch (or 'for-linus' they are identical). There are no changes since last time I sent it. Details below. Patches were sent out two days ago. I can resend them if needed. Thanx Max ---- Diffstat: Documentation/ABI/testing/sysfs-devices-system-cpu | 41 +++++++ ...
Feb 11, 9:10 pm 2008
Robert Hancock
Re: [PATCH] Avoid buffer overflows in get_user_pages()
Well, not if the code involved in the exploit can pass a zero value, otherwise it's just turning it into a DoS.. --
Feb 11, 8:16 pm 2008
Nick Piggin
Re: [PATCH] Avoid buffer overflows in get_user_pages()
If it is due to a security bug, then the fix is to fix the point where the kernel starts trusting an untrusted value. Not to hide the bug like this. Arguably, a BUG_ON is better in the case of a security hole because you want to halt the process as soon as you detect a problem. --
Feb 11, 10:56 pm 2008
Casey Schaufler
[PATCH] [RFC] Smack: unlabeled outgoing ambient packets - v2
From: Casey Schaufler <casey@schaufler-ca.com> Smack uses CIPSO labeling, but allows for unlabeled packets by specifying an "ambient" label that is applied to incoming unlabeled packets. Because the other end of the connection may dislike IP options, and ssh is one know application that behaves thus, it is prudent to respond in kind. This patch changes the network labeling behavior such that an outgoing packet that would be given a CIPSO label that matches the ambient label is left unlabeled. ...
Feb 11, 5:00 pm 2008
Paul Moore
Re: [PATCH] [RFC] Smack: unlabeled outgoing ambient pack ...
Nope, this approach is what I was talking about. There are some minor I've looked at this before from a SELinux point of view to see if I could get rid of this extra memory allocation/copy and there just isn't a clean way to do it ("clean" being very subjective). The problem is you either have to hold the policy lock while you make the NetLabel call (not a good idea), move the selinux_netlbl_sock_setsid() functionality back into security/selinux/ss/services.c (not desired by the ...
Feb 12, 12:42 pm 2008
Linda Walsh
graphics probing messages: questions
Maybe this should go to a more specific list, but I had a question about a dmesg v. Kconfig item. One option under graphics asks about enabling firmware EDID and says should be safe. So it's 'yes' Further down under nVidia FB Support, there is an option "Enable DDC Support" which tries to use i2c for getting EDID info and I should say 'Y'. With those on, in dmesg, I get: i2c-adapter i2c-0: unable to read EDID block. i2c-adapter i2c-0: unable to read EDID block. i2c-adapter i2c-0: unable ...
Feb 11, 7:02 pm 2008
Randy Dunlap
[PATCH 4/4] docbook: make a networking book and fix a fe ...
From: Randy Dunlap <randy.dunlap@oracle.com> Move networking (core and drivers) docbook to its own networking book. Fix a few kernel-doc errors in header and source files. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- Documentation/DocBook/Makefile | 2 Documentation/DocBook/kernel-api.tmpl | 65 -------------------- Documentation/DocBook/networking.tmpl | 106 ++++++++++++++++++++++++++++++++++ include/linux/etherdevice.h | 3 net/core/dev.c ...
Feb 11, 6:28 pm 2008
Randy Dunlap
[PATCH 3/4] docbook: move pipe and splice to filesystems ...
From: Randy Dunlap <randy.dunlap@oracle.com> Move pipes and splice docbook to filesystems book. kernel-api book is huge (10x most other books) & slow to process. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- Documentation/DocBook/filesystems.tmpl | 20 ++++++++++++++++++++ Documentation/DocBook/kernel-api.tmpl | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) --- linux-2.6.25-rc1.orig/Documentation/DocBook/filesystems.tmpl +++ ...
Feb 11, 6:28 pm 2008
Andrew Morton
Re: [PATCH 1/4] kernel-doc: fix fs/pipe.c notation
Thanks, Randy. I think I'll slip these four patches into mainline while they don't conflict with anyone else's stuff. (Well, apart from git-x86, but that's usual :)) --
Feb 12, 12:52 am 2008
Randy Dunlap
[PATCH 1/4] kernel-doc: fix fs/pipe.c notation
From: Randy Dunlap <randy.dunlap@oracle.com> Fix several kernel-doc notation errors in fs/pipe.c. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- fs/pipe.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- linux-2.6.25-rc1.orig/fs/pipe.c +++ linux-2.6.25-rc1/fs/pipe.c @@ -171,7 +171,7 @@ static void anon_pipe_buf_release(struct * * Description: * This function returns a kernel virtual address mapping for the - * passed in @pipe_buffer. If @atomic ...
Feb 11, 6:27 pm 2008
Randy Dunlap
[PATCH 2/4] docbook: sunrpc filenames and notation fixes
From: Randy Dunlap <randy.dunlap@oracle.com> Use updated file list for docbook files and fix kernel-doc warnings in sunrpc: Warning(linux-2.6.24-git12//net/sunrpc/rpc_pipe.c:689): No description found for parameter 'rpc_client' Warning(linux-2.6.24-git12//net/sunrpc/rpc_pipe.c:765): No description found for parameter 'flags' Warning(linux-2.6.24-git12//net/sunrpc/clnt.c:584): No description found for parameter 'tk_ops' Warning(linux-2.6.24-git12//net/sunrpc/clnt.c:618): No description found for ...
Feb 11, 6:28 pm 2008
Nick Andrew
Trivial patch to Documentation/i386/IO-APIC.txt
The description of the interrupt routing doesn't match the (nice) diagram. Signed-off-by: Nick Andrew <nick@nick-andrew.net> Nick. --- a/Documentation/i386/IO-APIC.txt 2007-10-10 06:31:38.000000000 +1000 +++ b/Documentation/i386/IO-APIC.txt 2008-02-12 11:57:08.000000000 +1100 @@ -68,7 +68,7 @@ These INTA-D PCI IRQs are always 'local to the card', their real meaning depends on which slot they are in. If you look at the daisy chaining diagram, -a card in slot4, issuing INTA IRQ, it will ...
Feb 11, 6:08 pm 2008
Stephen Hemminger
[PATCH] fib_trie: rcu_assign_pointer warning fix
Eliminate warnings when rcu_assign_pointer is used with unsigned long. It is reasonable to use RCU with non-pointer values so allow it for general use. Add a comment to explain the if test. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> --- include/linux/rcupdate.h | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 37a642c..c44ac87 100644 --- a/include/linux/rcupdate.h +++ ...
Feb 11, 6:18 pm 2008
Jarek Poplawski
Re: [PATCH] fib_trie: rcu_assign_pointer warning fix
On Tue, Feb 12, 2008 at 08:32:18PM +0100, Jarek Poplawski wrote: Jarek P. --
Feb 12, 12:46 pm 2008
David Miller
Re: [PATCH] fib_trie: rcu_assign_pointer warning fix
From: Stephen Hemminger <shemminger@vyatta.com> Date: Mon, 11 Feb 2008 16:59:54 -0800 linux-kernel added to CC:, any change to generic kernel infrastructure --
Feb 11, 6:16 pm 2008
Jarek Poplawski
Re: [PATCH] fib_trie: rcu_assign_pointer warning fix
On Tue, Feb 12, 2008 at 08:07:29AM -0800, Paul E. McKenney wrote: Hmm... I got it my way: you - superheroes - sometimes seem to be just like us - common people... (Probably early in the morning, before It seems the above version of this macro uses the barrier for 0, but if I miss something, or for these other: documenting reasons, then of ---------------------------^ + * initialized array element that will be dereferenced by RCU Regards, Jarek P. --
Feb 12, 12:32 pm 2008
Jarek Poplawski
Re: [PATCH] fib_trie: rcu_assign_pointer warning fix
...But, "If value is the NULL (constant 0)" we have: Regards, Jarek P. --
Feb 12, 1:57 am 2008
Paul E. McKenney
Re: [PATCH] fib_trie: rcu_assign_pointer warning fix
"All programmers are blind, especially me." You are right, Jarek. I ran this through gcc, and the following comes close: #define rcu_assign_pointer(p, v) \ ({ \ if (!__builtin_constant_p(v) || (v)) \ smp_wmb(); \ (p) = (v); \ }) But I am concerned about the following case: rcu_assign_pointer(global_index, 0); . . . x = global_array[rcu_dereference(global_index)]; Since arrays have a zero-th element, we would really want a memory barrier in this case. So how ...
Feb 12, 9:07 am 2008
Stephen Rothwell
Re: Announce: Linux-next (Or Andrew's dream :-))
On Tue, 12 Feb 2008 12:02:08 +1100 Stephen Rothwell <sfr@canb.auug.org.au> = I neglected to mention the other brave souls who volunteered: Frank Seidel, Ann Davis, and Harvey Harrison who I hope to be able to call on in times of need. --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Feb 11, 7:25 pm 2008
Stephen Rothwell
Re: Announce: Linux-next (Or Andrew's dream :-))
Thank you. Over time we might think about some sort of standard for This is one of the things that linux-next will hopefully let us discover Right. Except that "drop the tree" will probably only mean for a day or so i.e. it will be taken out of the current round but will reappear Excellent! However, I am hoping that these global api changes may be introduced in a more orderly fashion (some of which is happening already) by creating new api's and then switching to them (and them maybe ...
Feb 11, 10:07 pm 2008
Stephen Rothwell Feb 11, 11:10 pm 2008
Jeff Garzik
Re: Announce: Linux-next (Or Andrew's dream :-))
FWIW, that is annoying and painful for us downstream jobbers, since it isn't really how git was meant to be used. You use it more like a patch queue, where commits are very fluid. Unfortunately, if there is any synchronization lag between me and you -- not uncommon -- then I cannot commit changes on top of the changes just sent, in my own local tree. Why? Because you rebase so often, I cannot even locally commit dependent patches due to the end result merge getting so nasty. I ...
Feb 12, 9:31 am 2008
Jeff Garzik
Re: Announce: Linux-next (Or Andrew's dream :-))
Definitely... that is the sort of stuff that upstream folks never see when they rebase -- it causes an explosion of downstream rebasing, where each rebase must wait for the one-step-up upstream to rebase, before patches can be sent. It's easy for the rebasing to get exponential quickly, the more downstream levels you have. Jeff --
Feb 12, 11:11 am 2008
Greg KH
Re: multiple drivers, single device (was Re: Announce: L ...
Oh, I agree, multiple drivers for the same functionality is not a nice thing from a distro standpoint. The work I'm doing here is for stupid PCI firmware engineers, who have created devices that are different things, all bound up under the same PCI device. I'm thinking of watchdog timers and random number generator and i2c controller on the same PCI device, or even the more basic, frame buffer and DRM access to the same PCI video device. The OLPC is a good example of hardware that needs ...
Feb 12, 9:42 am 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
I agree, and that's what I do. The problem is, the API change is still in my tree. So, if for example, the IB tree goes and adds some new functionality before my API changes have landed, they need to use the "old" API in order for them to be able to test and build things on their own. Then, when the -next tree merges everything together, the IB tree breaks the build, not my driver tree. It's those "who goes first" type things that end up being the cause of a lot of Andrew's headaches I ...
Feb 11, 9:43 pm 2008
Jeff Garzik
Re: Announce: Linux-next (Or Andrew's dream :-))
As noted to Andrew in private email, I think this would be great. akpm's -mm tree tends to have "x+1" changes in it, and also stuff that's not fully baked yet. I would definitely like to see a tree composed of all the sub-trees where maintainers said "yes, I think this is baked and ready for x+1". Then -mm and not-yet-baked git changes can layer on top of that. As others are noting, API changes require some coordination amongst ourselves (should be our job, not yours, really) and ...
Feb 12, 11:02 am 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
I can run the numbers, but almost every one of those changes has at least 2 signed-off-by: on them, so they should all be being reviewed Are there still large numbers of posted patches, not reviewed or picked up by anyone laying around somewhere? I thought Andrew-the-patch-vacuum had been doing a great job of keeping that from happening lately. thanks, greg k-h --
Feb 12, 1:50 pm 2008
Linus Torvalds
Re: multiple drivers, single device (was Re: Announce: L ...
Indeed. If you have a multi-function device that shows up as a single PCI function, just make it have its own "private bus", and make it show up as a "devices within a device". Create the fake PCI subdevices that have no "real" counterpart, except as parts of the stupid device that couldn't be bothered to be seen as multiple _real_ functions. That not only solves the infrastructure issues, it's actually The Truth with capital letters. It is, after all, how the device actually works ...
Feb 12, 11:30 am 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
See my response to Arjan for how this is going to be very difficult to do, unless you are willing to have patches in -next that are not in any It's possible to do in a series of patches, yes, but again, development happens in parallel, with no one stopping for anyone else, and that's fine, we work it out when we send stuff to Linus at merge time. So with that parallel development effort, there are problems like this, I just want you to be aware of it and plan properly for it, as it is going ...
Feb 11, 10:56 pm 2008
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
The problem is how do we use a? Usually we need to track your -rc tree as our fixes go in ... some of which affect our development trees. If we stick with (a) as the base, we don't get to pull in the fixes in your tree. If we use your tree we have to pull in (a) creating n Yes, this is effectively what I did with the post merge SCSI tree. However, if you do this rebasing becomes a fact of life because you need to rebase out all the dependencies you have before you merge (in fact, it's a ...
Feb 12, 10:41 am 2008
Harvey Harrison
Re: Announce: Linux-next (Or Andrew's dream :-))
I was hoping that eventually certain pieces will stop moving and will become a base that we can ask people to rebase on top of. Perhaps even asking that stuff destined for 2.6.x+1 go into a -next branch and the more devel quality stuff go into a -mm branch that is based off of their -next branch. Gradually stuff would move from -mm to -next, getting constantly integrated against other peoples' stuff. More disruptive changes could go in and gradually as people rebase their trees the ...
Feb 11, 11:21 pm 2008
John W. Linville
Re: Announce: Linux-next (Or Andrew's dream :-))
FWIW, I definitely have a (vocal minority) group of contributors who resent all the rebasing. There may be a few cases of 'vanity' represented here, but there are definitely reasonable complaints about not being able to do simple pulls to stay up-to-date and/or having to rebase before they can send patches to me. FWIW, I think it might save a bit of my time as well, although I have become pretty good and "riding the tide" of rebasing... :-( Unfortunately, I don't have any good ...
Feb 12, 10:04 am 2008
David Miller
Re: Announce: Linux-next (Or Andrew's dream :-))
From: Jeff Garzik <jeff@garzik.org> Ok, fair enough. Any alternative suggestions on how to remove turds I am well aware of this downside, sorry. --
Feb 12, 4:51 pm 2008
David Miller
Re: Announce: Linux-next (Or Andrew's dream :-))
From: Greg KH <greg@kroah.com> Totally agreed. The fact is there are interdependencies, especially in driver land and you have to either: 1) Make the driver folks work on top of Greg's tree. 2) Constantly rebase the -next tree to deal with the conflicts. There are some other issues related to this which haven't be touched upon greatly yet. I rebase my tree all the time, at least once or twice per week. Why? Firstly, to remove crap. When you have "great idea A" then "oh shit ...
Feb 11, 11:07 pm 2008
Benny Halevy Feb 12, 9:46 am 2008
Jan Engelhardt
Re: Announce: Linux-next (Or Andrew's dream :-))
No, you can't have a tree like that. [森林 Not yours. 森林] Let's maximize the profit, by keeping the largest number of trees which do not cause a conflict amongst each other. --
Feb 12, 3:34 pm 2008
Benny Halevy
Re: Announce: Linux-next (Or Andrew's dream :-))
Linus, what you're saying is pretty extreme. Our experience with pnfs development taught us that rebase was actually the only method that worked on the long run because it allows us to maintain a *clean* series of patchsets over an extended period of time (order of two years). In the past, when we merged your tree into ours rather than using git-remote update and rebase we ended up with a cluttered mess that buried all the resolved merge conflicts in merge commits and maintaining it became ...
Feb 12, 12:25 pm 2008
Jeff Garzik
Re: multiple drivers, single device (was Re: Announce: L ...
Yes -- the worst case is that people have to work together, and it So people have to work together... darn :) most drivers these days are organized nicely into nicely modular units anyway, making it easy to write a "shell" driver that simply registers each sub-driver, and helps arbitrate/provide resources to sub-units. Consider, for example, a PCI driver that loads, and then fills in platform_data to provide a specific set of resources to a platform driver (a common idiom). You ...
Feb 12, 11:31 am 2008
Trond Myklebust
Re: Announce: Linux-next (Or Andrew's dream :-))
It would be very nice to have a separate tree with _only_ API changes that could be frozen well before Linus' merge window opens. It should be a requirement that maintainers use this tree as a basis for testing API changes and even test that their own changesets were properly integrated with the changed APIs. As it is, we tend to get the order entirely wrong: API changes typically get merged _after_ the maintainer changes have been merged, and so no API changes are ever really integration ...
Feb 11, 9:45 pm 2008
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
Actually, it sort of does. If you look here: http://www.kernel.org/pub/linux/kernel/people/jejb/merge-tree/ You'll find a merge candidate tree that builds nightly from everyone's git and quilt trees. I'm using it to track merge conflicts (so I only build the patch, I don't check it compiles). You're welcome to the scripts that do this: http://www.kernel.org/pub/linux/kernel/people/jejb/build.pl And the config file that runs ...
Feb 11, 6:36 pm 2008
Stephen Rothwell
Announce: Linux-next (Or Andrew's dream :-))
Hi all, Andrew was looking for someone to run a linux-next tree that just contained the subsystem git and quilt trees for 2.6.x+1 and I (in a moment of madness) volunteered. So, this is to announce the creating of such a tree (it doesn't exist yet) which will require some (hopefully) small amount of work on the part of subsystem maintainers. Those interested in discussion about this are encouraged to join the linux-next@vger.kernel.org mailing list. The first things I need from the ...
Feb 11, 6:02 pm 2008
Theodore Tso
Re: Announce: Linux-next (Or Andrew's dream :-))
I think this statement has been used unfortunately as a hard and fast rule (which we all know how much Linus loves :-) to mean, in its most extreme form, that we should *never* try to do some careful reflection about careful API design, and that the extremes of "no interface without an in-tree user" applies to (a) parameters in a function call (heck, we can always sweep through all the in-tree users to add that extra parameter later, and thats a *good* thing because it breaks those evil ...
Feb 12, 4:49 pm 2008
Stephen Rothwell
Re: Announce: Linux-next (Or Andrew's dream :-))
Hi James, On Mon, 11 Feb 2008 19:36:49 -0600 James Bottomley <James.Bottomley@HansenP= Well I did a trial run with the 40 git trees in the latest -mm and got only 6 conflicts (which actually were not trivial, unfortunately). Of I was hoping to be able to automatically find the other tree involved in a conflict and point both maintainers at the problem. Also, there is I am hoping (one of Andrew's bugbears) that over time we will end up with several branches from git using trees ...
Feb 11, 7:23 pm 2008
Linus Torvalds
Re: Announce: Linux-next (Or Andrew's dream :-))
I do think that some people rebase too often (and that David is in that number), often with no real discernible reason. I think rebasing is great when you are doing active development (ie you're really acting in "quilt mode") and I actually think git could and should integrate more of the queues modes, but I don't think it should be a default action for an up-stream developer. I also don't think rebasing helps the particular problem under discussion (ie conflicts due to having to ...
Feb 12, 10:09 am 2008
Linus Torvalds
Re: Announce: Linux-next (Or Andrew's dream :-))
Hell no! No rebasing! If people rebase, then it's useless as a base. That base tree needs to be something people can *depend* on. It contains the API changes, and not anything else. Otherwise I will never ever pull the resulting mess, and you all end up with tons of extra work. Just say *no* to rebasing. Rebasing is fine for maintaining *your* own patch-set, ie it is an alternative to using quilt. But it is absolutely not acceptable for *anythign* else. In particular, ...
Feb 12, 11:36 am 2008
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
OK, I'll address it then (or try to). Just don't eat me please ... I'm I can sort of agree, but I don't think you can say enough == no more API changes. There's the request_irq argument removal patch floating around somewhere for instance ...but as someone said "Every rule always has an exception". I think what's really needed is a balance where it's painful (on the originator) to make an API change. Part of what -mc or -next trees can I think this is exaggerated. By the end of the ...
Feb 12, 12:17 pm 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
Not it isn't. To quote you a number of years ago: "Linux is evolution, not intelligent design" We need to constantly be able to make these kinds of changes in order to Oh, it's been painful at times, but they are, overall, very rare. If you look at the rate of change we are currently running at, it's amazing that we do not get _more_ of these kinds of problems. Remember, we are currently clocking along at the steady rate of: 4000 lines added every day 1900 lines removed every ...
Feb 12, 12:15 pm 2008
Alan Cox
Re: Announce: Linux-next (Or Andrew's dream :-))
Well I've already broken the buffering so he'd fix it ;) We have a pile of old ISA drivers that are going to break soon with the locking changes and a pile of USB drivers that when I looked at the locking were so terminally broken I couldn't be bothered to fix them. So it'll be fun, lots of && BROKENs to add --
Feb 12, 3:20 pm 2008
Arjan van de Ven
Re: Announce: Linux-next (Or Andrew's dream :-))
On Mon, 11 Feb 2008 20:21:33 -0800 in my experience, the only chance you have is doing API changes as first in the set of changes, and then hoping (making) all other trees use the new APIs. Any other order just turns into an impossible mismash. I can see the point of doing an LKML annouce of the new API after the series is done, so that all other maintainers have a chance to fix their trees (this of course is only for new occurances of the old api showing up; the api change series should ...
Feb 11, 9:31 pm 2008
Andrew Morton
Re: Announce: Linux-next (Or Andrew's dream :-))
yup, in many cases that's pretty easy to do. But people dive straight for the end result, which of course provides the cleanest outcome but isn't really very real-wordly. Another thing we could do when these things happen is all gang up on Linus and ask him to merge the API change into mainline. Because often the change can be done in two stages: 1) change the interface then 2) add the code in the callee which _uses_ that changed interface. Part 1 is an obviously-safe do-nothing change and ...
Feb 11, 11:15 pm 2008
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
Hmm, OK of the 46 I pull in, it's only xfs causing difficulties at the moment. Pre 2.6.24 being declared, we had about 10 fixups, all of which It's frequently just not possible. There are a lot of global API changes that sweep across subsystems. For instance, I had a trivial Right .. it's really not possible to work without an infrastructure that We can't really do this. We don't work in a utopian my area only environment. Almost every release cycle involves dealing with ...
Feb 11, 8:32 pm 2008
Greg KH
Re: multiple drivers, single device (was Re: Announce: L ...
That's how I first tried to do this (old pci-piggy patches in -mm were a result of this...). But, we have the issue of the foolish-in-retrospect sysdev devices. They are an example of "multiple drivers per device" type thing. To clean them up properly, they need to move to the general 'struct device' and if that is going to already support the one-to-many model, well, then any PCI implementation of such an internal bus can also use the same code. This is a lot of handwaving right now, let ...
Feb 12, 2:38 pm 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
Ok, I'll look into them this week. I'm currently working on revamping the option driver as it had the mistake of being based on the keyspan drivers, which weren't the nicest to start with... thanks, greg k-h --
Feb 12, 4:26 pm 2008
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
I used to be in this camp too: seeing rebasing as the ultimate evil. However, what I found was that as I tried to preserve my merge tree's history, I was picking up merge points with non trivial fixups. You can argue that this is how git is supposed to operate, but the problem is that these merge points become immovable objects in the tree history ... I can't rebase the tree at all any more and I can't simply remove a commit (which gets messy for commits duplicated by other trees) They also ...
Feb 12, 10:03 am 2008
Benny Halevy
Re: Announce: Linux-next (Or Andrew's dream :-))
My take on this, in retrospect, is that the code should probably have been developed in one branch off of one of the trees, or maybe even better in a third tree. The point is that the structure of git trees followed the organizational structure rather than the problem at hand and if contributions coming from different trees depend on each other, staging branches should be created in the integration tree for working out the conflicts and when ready, I developed git-rebase-tree ...
Feb 12, 8:32 am 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
Note that a lot of these are already in the MAINTAINERS file. But for the record, here's mine, in the order they need to be pulled from. Driver core: kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-01-driver/ PCI: kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-02-pci/ USB: kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-03-usb/ These are all quilt trees, with the series file in the directory for the order of the patches, and a README saying ...
Feb 11, 9:21 pm 2008
Stephen Rothwell
Re: Announce: Linux-next (Or Andrew's dream :-))
I have an alternative (with help from Paul Mackerras). We have a branch in linux-next that is stable and only progresses forward i.e. is never rebased. Global API changes/introductions that are of type 1 above go into this branch (after appropriate etc). Fixes to them go in as well. People can base development on this branch. But ... they can only really do that *if* we can guarantee that part of linux-next will be in Linus' tree very early in the next merge window. So here is the had ...
Feb 12, 4:57 am 2008
David Miller
Re: Announce: Linux-next (Or Andrew's dream :-))
From: Jeff Garzik <jeff@garzik.org> Understood. One of the key operations that I'm interested in is removing things from the history. If I could do that using GIT without any side effects and in a way that really would remove it from the tree, I would do that in a heartbeat. At 1500 changesets, a merge conflict shows up about once every day or two as 2.6.N nears it's release into final as bug fixes trickle in. I find using GIT to fixup merge errors on a tree of that scale to be really ...
Feb 12, 4:58 pm 2008
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
Yes, that's what I meant ... no rebasing of (a) once it becomes the Hm ... I think net is a counter example to this. Rebases certainly work for them. The issue, I thought, was around the policy of rebasing and how often. I see the question as being one of who creates the history. When something goes into your tree, that's an obvious history point and we can't rewrite it. However, when something goes into my trees, I don't think it's as obviously a history point that has to be preserved, ...
Feb 12, 11:24 am 2008
Al Viro
Re: Announce: Linux-next (Or Andrew's dream :-))
We could simply decide that API changes affecting more than one subsystem Must Be Serialized(tm). Explicitly. As in "any such change is posted and discussed in advance, order of merges decided upon and we have merge window for one decided set of API changes + fallout *ONLY*". With merge window in question normally taking a few days. --
Feb 12, 12:41 pm 2008
David Miller
Re: Announce: Linux-next (Or Andrew's dream :-))
From: Theodore Tso <tytso@mit.edu> Deprecate is garbage, shit hangs around in the tree forever and people just turn off the warnings. Clean sweeps work much better, albeit with some merge pain, we'll cope. --
Feb 11, 11:02 pm 2008
Arjan van de Ven
Re: Announce: Linux-next (Or Andrew's dream :-))
On Mon, 11 Feb 2008 22:02:22 -0800 (PST) I agree with that. There is maybe a middle ground in this -next idea; as very first part of the series, the new api gets added, current users converted and api marked __deprecated. Then there's a second part to the patch, which is a separate tree, which gets added at the very end, which removed the old api. Both will go in at the same merge window, and the next-meister needs to track that no new users show up... but the final tree allows this to ...
Feb 12, 12:06 am 2008
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
Actually, we had exactly this issue with the SCSI bidirectional patches: They depended on the sg_table patches in block. The solution I adopted was two merge trees: One to go in immediately with no dependencies (scsi-misc-2.6) and the other based on the pieces of block (so it would compile and apply) to go in mid way through the merge round after block (scsi-bidi-2.6). What I did was keep rebasing the bidi tree until I could see there was nothing other than a plane base before merging ...
Feb 12, 8:07 am 2008
Jeff Garzik
Re: multiple drivers, single device
Our APIs are written such that the PCI device probe function is the starting point for registering IB and NIC. No need for anything new. Jeff --
Feb 12, 11:08 am 2008
J. Bruce Fields
Re: Announce: Linux-next (Or Andrew's dream :-))
But the "author" is still preserved, right? Why do you need the committer name to be preserved? (I'm not denying that there could be reasons, I'm just curious what they are.) --b. --
Feb 12, 12:37 pm 2008
Linus Torvalds
Re: Announce: Linux-next (Or Andrew's dream :-))
Don't get me wrong at all. Rebasing is fine for stuff you have committed yourself (which I assume was the case here). Rebasing is also a fine conflict resolution strategy when you try to basically turn a "big and complex one-time merge conflict" into "multiple much smaller ones by doing them one commit at a time". But what rebasing is _not_ is a fine "default strategy", especially if Right. And it's one of the fundamental differences between git and a patch queue. Patch queues ...
Feb 12, 1:31 pm 2008
Andrew Morton
Re: Announce: Linux-next (Or Andrew's dream :-))
On Tue, 12 Feb 2008 20:03:54 +0000 Actually I'll usually (much >90%) just queue another patch which fixes the fallout and will drop that once the upstreams sort things out. I'll only drop a subsystem tree in extremis. One reason for this is that I'll have a pile of other patches which are dependent upon that subsystem tree and which would need reworking. And un-reworking once the subsytem tree is undropped. And the trees which are most likely to cause conflicts tend to also be the trees ...
Feb 12, 1:23 pm 2008
Linus Torvalds
Re: Announce: Linux-next (Or Andrew's dream :-))
Umm. Have you read a lot of books on evolution? It doesn't sound like you have. The fact is, evolution often does odd (and "suboptimal") things exactly because it does incremental changes that DO NOT BREAK at any point. The examples are legion. The mammalian eye has the retina "backwards", with the blind spot appearing because the fundmanetal infrastructure (the optical nerves) actually being in *front* of the light sensor and needing a hole in the retina to get the information ...
Feb 12, 12:55 pm 2008
Linus Torvalds
Re: Announce: Linux-next (Or Andrew's dream :-))
They consider themselves to be "one tree" and are thus largely a totally different issue than the one discussed here. Also, I actually flamed David a lot last round over his rebasing of netfilter etc. It was no acceptably done. That network tree was all screwed up, with the git committer information not matching the signed-off path etc. If you do cross-tree rebasing, you need to consider it 100% equivalent to Yes, and I am in no way saying that the core driver model has been ...
Feb 12, 11:48 am 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
I may be a bit defensive here, but I hope that all of the recent kobject/kset/driver core changes have been done with the thought of "what are we doing wrong". For the kset rework, we went back and looked at how people were trying to use this code, realized that it was way too complex, and reworked it all, making both the implementation simpler, the kernel usage model simpler, and documented the whole thing so that everyone knows exactly what is now going on. To quote the original ...
Feb 12, 10:48 am 2008
Roland Dreier
Re: multiple drivers, single device
> The work I'm doing here is for stupid PCI firmware engineers, who have > created devices that are different things, all bound up under the same > PCI device. I'm thinking of watchdog timers and random number > generator and i2c controller on the same PCI device, or even the more > basic, frame buffer and DRM access to the same PCI video device. > > The OLPC is a good example of hardware that needs this kind of > functionality. Sounds interesting. I've been meaning to work on this ...
Feb 12, 10:42 am 2008
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
For your development, possibly, but not for my merge ... there were a lot of other patches besides yours in the bidi tree (it was, in fact, misnamed, but I thought at the time I created it it would only contain Actually, I think you'll find the problem is that we can't build an integration tree that's both stable and long lived, and hence you can't base anything off it that requires a long lived base. So, the way I worked for your patches was to use the -mc tree to identify my conflicts, ...
Feb 12, 9:00 am 2008
Jeff Garzik
Re: Announce: Linux-next (Or Andrew's dream :-))
s/very low/not low/ Rebasing is always a pain, and John and I both agreed the other day that you do it too often. I've complained about this before, too... but figured this was just another thing I was getting ignored on, and so life moved on. But don't try to sell rebasing as "low pain". Rebasing makes the history all nice and pretty, but by totalling flattening the history, trashing all the commit ids (and rewriting associated metadata), you create obvious downstream ...
Feb 12, 9:36 am 2008
Linus Torvalds
Re: Announce: Linux-next (Or Andrew's dream :-))
I don't understand what you mean. This is true whether you pulled (a) or not. If you have any changes what-so-ever in your tree, if you pull in fixes from my tree, you'll get a merge. But if you mean that you cannot rebase (a), then yes. That was what I said. Rebases *do*not*work* (and fundamentally cannot work) in a distributed environment. But why would you merge with my tree in the first place? My tree won't normally have any conflicts or anything like that anyway. With a ...
Feb 12, 11:00 am 2008
Alan Cox
Re: Announce: Linux-next (Or Andrew's dream :-))
Welcome to dreamland. The only way I can get serial changes done is to wait months and eventually simply persuade Andrew to ignore the "maintainers" who are basically not responding. Maybe it works for vfs and mm internals but out here in driverspace forget it - and if I simply break drivers people get cross instead of fixing them nowdays. --
Feb 12, 2:51 pm 2008
Linus Torvalds
Re: Announce: Linux-next (Or Andrew's dream :-))
.. btw: I'd need to know this in advance. I usually don't see the problem until it's too late. And this is very much an area where "Linux-next" can help: if some subsystem causes problems in Linux-next for other maintainers, I really think it shouldn't just be a matter of "drop the git tree that didn't merge cleanly", but it should literally be a question of "maybe we should drop the _earlier_ git tree that caused the later one not to merge cleanly". In other words, maybe things ...
Feb 12, 11:59 am 2008
Matthew Wilcox
Re: Announce: Linux-next (Or Andrew's dream :-))
That takes care of bisectability, but doesn't take care of the problem of new stuff being merged which used the old API and is now broken. Maybe the last step (removal of old API) needs to be taken a lot later than it currently is (maybe a second merge window between -rc1 and -rc2 for removal of interfaces that became unused during the first merge window before -rc1?) -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in ...
Feb 12, 2:25 pm 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
Let me know which USB ones are broken, I'll work to fix them. thanks, greg k-h --
Feb 12, 3:55 pm 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
I doubt it. See David's previous post about constantly rebasing his tree over the lifetime of development during a -rc series. I do the same thing, dropping things in the middle, re-arranging stuff, handling merge issues that came into Linus's tree, etc. I wouldn't want to change our current development flow to force such a thing on Linus, or us right now. My main point in all of this was just that you are going to have to help with some of these merges by hand, adding patches to get ...
Feb 12, 7:57 am 2008
David Miller
Re: Announce: Linux-next (Or Andrew's dream :-))
From: Arjan van de Ven <arjan@infradead.org> API trees don't work, just like other changes they will have interdependencies on things like fixups, cleanups, etc. This is why, with the networking, we've just tossed all of the network driver stuff in there too. I can rebase freely, remove changesets, rework them, etc. and this causes a very low amount of pain for Jeff Garzik and John Linville. This may or not be a legitimate thing to do with other heavily dependant subsystems. --
Feb 11, 11:11 pm 2008
Greg KH
Re: multiple drivers, single device
Great, I'll look into that as I need a test case for this kind of stuff. thanks, greg k-h --
Feb 12, 10:51 am 2008
Roland Dreier
Re: Announce: Linux-next (Or Andrew's dream :-))
> The other is that once somebody says "ok, I *really* need to cause this > breakage, because there's a major bug or we need it for fundamental reason > XYZ", then that person should > > (a) create a base tree with _just_ that fundamental infrastructure change, > and make sure that base branch is so obviously good that there is no > question about merging it. I don't disagree with this, but I think I should point out that making something "obviously good" may be pretty ...
Feb 12, 10:38 am 2008
Andrew Morton
Re: Announce: Linux-next (Or Andrew's dream :-))
On Tue, 12 Feb 2008 21:51:52 +0000 "maintainers"? I think the best way to get the serial drivers maintained would be to cat them all onto the end of synclink.c and hope that Paul thinks he did it. --
Feb 12, 3:17 pm 2008
Al Viro
Re: Announce: Linux-next (Or Andrew's dream :-))
Ahem... Use of git-cherry-pick preserves commit information just fine. --
Feb 12, 4:54 pm 2008
Al Viro
Re: Announce: Linux-next (Or Andrew's dream :-))
Er... Surely you can think of examples of patches that went through -mm without serious review? Not to mention that 2 S-o-B normally means only one thing: "went to Linus through some tree". Which does not guarantee any real review, as you damn well know. --
Feb 12, 2:08 pm 2008
Theodore Tso
Re: Announce: Linux-next (Or Andrew's dream :-))
Yes, that's exactly what I was suggesting. The __deprecate only lasts for the merge window, and we remove the old API at the end of the merge window. So it's only there for a very short time, and it's only there to make the cleen sweep a little less painful --- not one where "shit hangs around in the tree forever". - Ted --
Feb 12, 3:44 pm 2008
Jeff Garzik
Re: multiple drivers, single device (was Re: Announce: L ...
Yes, that has a known solution: have your driver register i2c, rng, watchdog, etc. functions. Works just fine inside today's infrastructure, no changes needed. Jeff --
Feb 12, 10:56 am 2008
Greg KH
Re: multiple drivers, single device (was Re: Announce: L ...
Except that the individual drivers are a lot of the time written by different people, live in different portions of the tree, and are combined into different combinations depending on the chipset. For i2c devices, I see the scx200_acb, i2c-elektor, i2c-sis5595, and i2c-sis630 drivers needing this. The last one happens to share the pci device with a video driver, that doesn't always need to be / want to be loaded by users just so they can read the temperature of their processors. Oh, the ...
Feb 12, 11:10 am 2008
Jiri Kosina
Re: Announce: Linux-next (Or Andrew's dream :-))
Hmm ... as far as I can see, Jeff and John (i.e. net tree downstreams) are pretty loudly unhappy with Dave rebasing too often, right? -- Jiri Kosina --
Feb 12, 1:18 pm 2008
Al Viro
Re: Announce: Linux-next (Or Andrew's dream :-))
Hrm... How badly is pl2303 broken? I actually use that sucker, so if it needs help - count me in. --
Feb 12, 3:41 pm 2008
Al Viro
Re: Announce: Linux-next (Or Andrew's dream :-))
???? lines reviewed every day. AFAICS, we are in situation when review bandwidth is where the bottleneck is. Not the merge one... --
Feb 12, 12:46 pm 2008
Alan Cox
Re: Announce: Linux-next (Or Andrew's dream :-))
On Tue, 12 Feb 2008 14:55:31 -0800 That I noticed doing an audit for unlocking the mctrl functions: ir-usb: global variables without locking used in per port operations iuu_phoenix: no locking on internal data structures mos7840: ditto option: ditto kobil_sct: ditto These drivers do interesting things (where interesting is probably not too evil on a PC - except ir-usb) involving playing with data structures without locks. It seems there was some kind of evolution along the way as some ...
Feb 12, 3:59 pm 2008
Linus Torvalds
Re: Announce: Linux-next (Or Andrew's dream :-))
Well, I don't really "review" any patches that come through Andrew. What I do is: - global search-and-replace Andrew's "acked-by:" with one that is both him and me (that way I make sure that I _only_ sign off on patches that he has signed off on!) - look through all the commit *messages* (but not patches). This sometimes involves also editing up grammar etc - some of those messages just make me wince - but it also tends to include things like adding commit ...
Feb 12, 2:36 pm 2008
Benny Halevy
Re: Announce: Linux-next (Or Andrew's dream :-))
IMHO, this base tree should typically be based off of linus' tree and kept rebased on top of it. This way you get the mainline fixes through the integration base tree. Benny --
Feb 12, 10:53 am 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
Sure, I have no objection to that at all. thanks, greg k-h --
Feb 12, 12:19 pm 2008
Theodore Tso
Re: Announce: Linux-next (Or Andrew's dream :-))
The other way that might work in some circumstances would be if we tried a little harder to avoid API changes that don't involve an interface naming change. That is, instead of adding a new parameter to a function, and then having to sweep through all of the trees to catch all of the users of siad function, we could instead add a new a new interface, __deprecate the old one, and then give enough time for trees to adapt, you can avoid needing to do flag day transitions. If the old interface is ...
Feb 11, 10:11 pm 2008
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
That's true ... but irrelevant to the argument of whether rebasing does or doesn't work. I don't think anyone's arguing that rebasing doesn't cause real problems to downstream users ... when I was based on block for the scsi post merge tree, I was just such a user ... James --
Feb 12, 2:00 pm 2008
Alan Cox
Re: Announce: Linux-next (Or Andrew's dream :-))
2303 is pretty good (in fact by usb serial standards outstanding). It has all the internal locking needed for now and right down to killing lock_kernel entirely outside of open/close (which is going to hit everything). Only fixme I have tagged for it is - if you set an unsupported baud rate it reports it set rather than the one you got Which is a trivial mend for someone who has suitable docs (its marked FIXME: at the right spot) --
Feb 12, 4:01 pm 2008
Linus Torvalds
Re: Announce: Linux-next (Or Andrew's dream :-))
It's not that the committer should be preserved, but: - the chain from author -> committer should be visible in the Signed-off-by: lines. If you rebase somebody elses tree, you screw that up. You need to add your sign-off, since now *you* are the new committer, and *you* took somebody elses work! - you should respect the down-stream developer, and if that downstream developer continues to work with his branch or works with other people, you shouldn't screw ...
Feb 12, 1:07 pm 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
No, I might have mistyped previously, but I really do not believe in I agree with this. But I was reacting to your "there are major reasons to stay with an old interface..." portion above, while I feel we should No, not at all. I have tried, and successfully done this many times in the past. The kobject change was one example: add a new function, migrate all users of a direct pointer over to that function, after that work is all done and in, change the structure and do the needed work ...
Feb 12, 1:48 pm 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
Even then, it will not work. Again, Roland isn't going to want to always pull in my driver tree just to build his tree. He wants to, and needs to do his own development effort. But when we merge them together, there would be problems. So, you can't just "drop" the IB tree. You can't just "drip" my tree. Where do you "fix this up" at? I can send a patch for the IB tree, but Roland can't put it in his tree, and I can't put it in my tree, it needs to go _after_ both of our ...
Feb 11, 10:53 pm 2008
Jeff Garzik
Re: Announce: Linux-next (Or Andrew's dream :-))
Yep. I do that with the powerpc tree sometimes, too: I'll ACK a drivers/net change that is obviously PPC-specific, and that drivers/net change will go in via paulus. Like you said, it's done on a per-patch not git tree basis at the moment. That sort of cooperation has become common: in areas of shared responsibility, request an ack, and then the "most obvious" person (generally the one with most merge dependencies) merges that shared-responsibility change along with some other ...
Feb 12, 11:48 am 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
I'll see what I can do about fixing this. thanks, greg k-h --
Feb 12, 4:27 pm 2008
Arjan van de Ven
Re: Announce: Linux-next (Or Andrew's dream :-))
On Mon, 11 Feb 2008 20:43:14 -0800 this is why you need specific trees for just the API change, and these need to EXPLICITLY go first before EVERYTHING ELSE. Yes this needs a bit of coordination, but it's the only way. --
Feb 11, 10:17 pm 2008
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
Yes, I agree, there are lots of examples of this, but the overall majority are reviewed by 2 people at least (or sure as hell should be, maybe we need to bring into existance the "reviewed-by" marking to ensure this.) Do you know of a way to help this get better? thanks, greg k-h --
Feb 12, 2:20 pm 2008
Linus Torvalds
Re: Announce: Linux-next (Or Andrew's dream :-))
.. but are we expecting it to be finished? That's the point. This whole "Linux-next" discussion so far has almost been predicated on the whole assumption that this is an on-going concern. And it really should NOT be. If it's an on-going concern, we need to tackle *that* issue, not the issue that cross-subsystem merges are hard. They simply seem to happen too much. In other words, I'm not AT ALL interested in the merges we've already done. That's over and done with, and we'll ...
Feb 12, 11:26 am 2008
Russell King
Re: Announce: Linux-next (Or Andrew's dream :-))
How do you suggest that we fix the problems we had with the initial merge with the ARM tree. We were in the situation where, had I asked you to pull my tree, you'd have had a fair number of conflicts to resolve - I tested this by trying to merge your tree into my 'devel' head. The result wasn't pleasant - even I didn't know how to fix up a lot of those conflicts, so the only way I could move forward was to reconstruct the 'devel' head (which is just merges of other branches) omitting ...
Feb 12, 1:03 pm 2008
Jeff Garzik
multiple drivers, single device (was Re: Announce: Linux ...
Color me a bit skeptical... we've always had this capability really: for multi-function devices, just register as many subsystems as you need. If your device is a network _and_ SCSI device, you can do that with today's APIs. I just went through a long thread (e1000/e1000e) explaining how much pain multiple drivers for the same PCI ID cause on the distro side of things... its a mess. In each case you must write special case code to resolve the ambiguity. You never know which is ...
Feb 12, 9:24 am 2008
Eric Sandeen Feb 12, 2:24 pm 2008
Linda Walsh
xfs [_fsr] probs in 2.6.24.0
I'm getting similar errors on an x86-32 & x86-64 kernel. The x86-64 system (2nd log below w/date+times) was unusable this morning: one or more of the xfs file systems had "gone off line" due to some unknown error (upon reboot, no errors were indicated; all partitions on the same physical disk). I keep ending up with random failures on two systems. The 32-bit sys more often than not just "locks-up" -- no messages, no keyboard response...etc. Nothing to do except reset -- and of course, ...
Feb 11, 6:02 pm 2008
Linda Walsh
Re: xfs [_fsr] probs in 2.6.24.0
---- But but but...almost from the day they were introduced. And -- guess it doesn't work so well? If they are that problematic, maybe selecting xfs as a config option should force 8k stacks (ugly solution, but might eliminate some lost hair (from pulling it out) for end users....? Guess I should go back to 8k's for now...seems odd that it'd pop up now, but maybe it's the xtra NFS loading? Sigh. --
Feb 12, 2:44 pm 2008
Linda Walsh Feb 12, 2:02 pm 2008
Eric Sandeen
Re: xfs [_fsr] probs in 2.6.24.0
Resource requirements grow over time, film at 11? :) the checker is a random thing, it checks only on interrupts; it won't always hit. you could try CONFIG_DEBUG_STACK_USAGE too, each thread prints max stack used when it exits, to see if you're getting close on normal usage. Or just use 8k. -Eric --
Feb 12, 2:54 pm 2008
David Chinner
Re: xfs [_fsr] probs in 2.6.24.0
Well, tickless is new and shiny and I doubt anyone has done much testing with XFS on tickless kernels. Still, if that's a new config option you set, change it back to what you had for .23 on If you have a multithreaded application that mixes mmap and direct I/O, and you have a simultaneous munmap() call and read() to the same file, you might be able to deadlock access to that file. However, you'd have to be certifiably insane to write an application that did this (mix mmap and direct ...
Feb 12, 2:59 pm 2008
David Chinner
Re: xfs [_fsr] probs in 2.6.24.0
Filesystem bugs rarely hang systems hard like that - more likely is a hardware or driver problem. And neither of the lockdep reports below are likely to be responsible for a system wide, no-response hang. [cut a bunch of speculation and stuff about hardware problems If your hardware or drivers are unstable, then XFS cannot be expected to reliably work. Given that xfs_fsr apparently triggers the hangs, I'd suggest putting lots of I/O load on your disk subsystem by copying files around with ...
Feb 12, 1:58 am 2008
Gaston, Jason D
RE: [PATCH 2.6.25-rc1] i2c-i801: SMBus patch for Intel I ...
Thank you very much. Sorry about the email client and wordwrap. I was just about to repost it using a different email client, thanks for cleaning it up for me. Jason --
Feb 12, 11:05 am 2008
Gaston, Jason D
[PATCH 2.6.25-rc1] i2c-i801: SMBus patch for Intel ICH10 ...
This patch adds the Intel ICH10 SMBus Controller DeviceID's and updates Tolapai support. Signed-off-by: Jason Gaston <jason.d.gaston@intel.com> --- linux-2.6.25-rc1/Documentation/i2c/busses/i2c-i801.orig 2008-02-11 15:17:33.000000000 -0800 +++ linux-2.6.25-rc1/Documentation/i2c/busses/i2c-i801 2008-02-11 15:18:13.000000000 -0800 @@ -12,8 +12,9 @@ * Intel 82801G (ICH7) * Intel 631xESB/632xESB (ESB2) * Intel 82801H (ICH8) - * Intel ICH9 + * Intel 82801I (ICH9) * Intel ...
Feb 11, 5:45 pm 2008
Jean Delvare
Re: [PATCH 2.6.25-rc1] i2c-i801: SMBus patch for Intel I ...
Hi Jason, Patch applied. Please note that your e-mail client corrupted the patch and I had to edit it manually before it would apply properly. Next time please make sure that the patch is left unchanged so that it applies I left out this last part as it was already sent separately to the PCI subsystem maintainer. I will wait for Greg to pick it before I send the i2c-i801 update upstream. Thanks, -- Jean Delvare --
Feb 12, 2:01 am 2008
Yinghai Lu Feb 11, 7:20 pm 2008
Andrew Morton
Re: [PATCH 4/4] x86_64: check msr to get mmconfig for am ...
On Mon, 11 Feb 2008 16:48:35 -0800 When I fixed the reject, compilation failed here. arch/x86/pci/mmconfig-shared.c: In function 'pci_mmcfg_check_hostbridge': arch/x86/pci/mmconfig-shared.c:214: error: 'pci_direct_conf1' undeclared (first use in this function) What kernel are you patching? --
Feb 11, 6:09 pm 2008
Andrew Morton
Re: [PATCH 4/4] x86_64: check msr to get mmconfig for am ...
hm. So why didn't it compile? pci_direct_conf1 is defined over in Well, they applied, but I didn't review, build-test or merge them. --
Feb 11, 7:51 pm 2008
Yinghai Lu
Re: [PATCH 4/4] x86_64: check msr to get mmconfig for am ...
it is in arch/x86/pci/pci.h and arch/x86/pci/mmconf_shared.c has one #include "pci.h" did you compile that for 32 bit? YH http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b6ce06... diff --git a/arch/x86/pci/pci.h b/arch/x86/pci/pci.h index 36cb44c..3431518 100644 (file) --- a/arch/x86/pci/pci.h +++ b/arch/x86/pci/pci.h @@ -85,10 +85,17 @@ extern spinlock_t pci_config_lock; extern int (*pcibios_enable_irq)(struct ...
Feb 11, 8:45 pm 2008
Yinghai Lu
[PATCH 4/4] x86_64: check msr to get mmconfig for amd fa ...
From: Yinghai Lu <Yinghai.Lu@Sun.COM> so even booting kernel with acpi=off or even MCFG is not there, we still can use MMCONFIG. Signed-off-by: Yinghai Lu <yinghai.lu@sun.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Andi Kleen <ak@suse.de> Cc: Greg KH <greg@kroah.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> --- arch/x86/pci/mmconfig-shared.c | 67 ++++++++++++++++++++++++++++--- 1 file ...
Feb 11, 5:48 pm 2008
Yinghai Lu
[PATCH 3/4] x86: mmconf enable mcfg early
From: Yinghai Lu <Yinghai.Lu@Sun.COM> Patch x86: validate against ACPI motherboard resources changed the mmconf init sequence, and init MMCONF late in acpi_init. here change it back to old sequence 1. check hostbridge in early 2. check MCFG with e820 in early 3. if all fail, will check MCFg with acpi _CRS in acpi_init So we can make MCONF working again when acpi=off is set if hostbridge support that. Signed-off-by: Yinghai Lu <yinghai.lu@sun.com> Cc: Greg KH <greg@kroah.com> Cc: ...
Feb 11, 5:47 pm 2008
Yinghai Lu
[PATCH 1/4] x86: validate against acpi motherboard resources
From: Robert Hancock <hancockr@shaw.ca> This path adds validation of the MMCONFIG table against the ACPI reserved motherboard resources. If the MMCONFIG table is found to be reserved in ACPI, we don't bother checking the E820 table. The PCI Express firmware spec apparently tells BIOS developers that reservation in ACPI is required and E820 reservation is optional, so checking against ACPI first makes sense. Many BIOSes don't reserve the MMCONFIG region in E820 even though it is perfectly ...
Feb 11, 5:43 pm 2008
Yinghai Lu
[PATCH 2/4] x86: clear pci_mmcfg_virt when mmcfg get rejected
From: Yinghai Lu <Yinghai.Lu@Sun.COM> For x86_64, need to free pci_mmcfg_virt, and iounmap some pointers when MMCONF is not reserved in E820 or acpi _CRS and get rejected Signed-off-by: Yinghai Lu <yinghai.lu@sun.com> Cc: Greg KH <greg@kroah.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> --- arch/x86/pci/mmconfig-shared.c | 1 + arch/x86/pci/mmconfig_32.c | 4 ...
Feb 11, 5:45 pm 2008
Pete MacKay
Re: [PATCH] Core driver for WM97xx touchscreens
be static? in this revised revision? (Oops, that was repetitively redundant. :) --
Feb 11, 5:00 pm 2008
Mark Brown
Re: [PATCH] Core driver for WM97xx touchscreens
Yes, and in fact I had both fixes present in the development branch but had forgotten to cherry pick them over into the upstream branch - thanks for noticing, I'll respin. --
Feb 12, 2:46 am 2008
Greg KH
Re: [PATCH] hwmon: (adm1026) Properly terminate sysfs gr ...
Heh, my fault, for some reason I thought this was a 2.6.24 bug, sorry :) greg k-h --
Feb 12, 9:02 am 2008
Jean Delvare
Re: [PATCH] hwmon: (adm1026) Properly terminate sysfs gr ...
Hi Yinghai, Great, thanks. Mark, please include this patch in your next patch to You must unload the adm1026 driver before dumping (see the "rmmod adm1026" above in my example.) Thanks, -- Jean Delvare --
Feb 12, 1:27 am 2008
Greg KH
Re: [PATCH] hwmon: (adm1026) Properly terminate sysfs gr ...
Can someone send it to stable@kernel.org also when it goes into Linus's tree, as it looks like a pretty bad thing :) thanks, greg k-h --
Feb 12, 8:27 am 2008
Jean Delvare
Re: [PATCH] hwmon: (adm1026) Properly terminate sysfs gr ...
I certainly could, but then you would laugh at me because 2.6.24 isn't affected by the bug. -- Jean Delvare --
Feb 12, 8:37 am 2008
MillTek
Re: [lm-sensors] [PATCH] hwmon: (adm1026) Properly termi ...
Hi, Kernel 2.6.24 for my distro (Arch Linux) came out in the last few days. My board has a Fintek F1882g chip. It means that I can finally get voltage and fan speeds for the board, so thanks for that. I am wondering how I correctly calculate the correct offset and factors for the voltage numbers? This is what GKrellm says; Vcor1 1.66 factor 1 offset 0 Vcor2 1.24 factor 1 offset 0 +3.3v 2.83 factor 3 offset 0 +5v 4.82 factor 4.98 offset 0 +12v 3.84 factor 4.0 offset ...
Feb 12, 9:13 am 2008
Jiri Kosina
Re: [PATCH] Avoid buffer overflows in get_user_pages()
How would that help? Rather while (len > 0) { ... } would do the trick. -- Jiri Kosina --
Feb 12, 3:35 am 2008
Andrew Morton
Re: [PATCH] Avoid buffer overflows in get_user_pages()
Can we just convert do { ... } while (len); into while (len) { ... } ? --
Feb 12, 12:46 am 2008
Lukas Hejtmanek
Re: 2.6.25-rc1 regression - suspend to ram
Yeah, it seems that it fixed suspend troubles. -- Lukáš Hejtmánek --
Feb 12, 10:14 am 2008
mark gross
Re: [PATCH]intel-iommu batched iotlb flushes
Something could be done: we could enable drivers to have DMA-pools they manage that get mapped and are re-used. I would rather the DMA-pools be tied to PID's that way any bad behavior would be limited to the address space of the process using the device. I haven't thought about how hard this would be to do but it would be nice. I think this could be tricky. Application sets up ring buffer of device DMA memory, passes this to driver/stack. Need to handle hitting high water marks and ...
Feb 12, 8:54 am 2008
David Miller
Re: [PATCH]intel-iommu batched iotlb flushes
From: Muli Ben-Yehuda <muli@il.ibm.com> For the 64-bit case what you are suggesting eventually amounts to mapping all available RAM in the IOMMU. Although an extreme version of your suggestion, it would be the most efficient as it would require zero IOMMU flush operations. But we'd lose things like protection and other benefits. --
Feb 12, 2:00 am 2008
Randy Dunlap Feb 12, 1:21 pm 2008
mark gross
Re: [PATCH]intel-iommu batched iotlb flushes
Yes, have a DMA pool of DMA addresses to use and re-use in the stack instead of setting up and tearing down the PTE's is something we need to look at closely for network and other high DMA traffic stacks. --mgross --
Feb 12, 8:37 am 2008
mark gross
Re: [PATCH]intel-iommu batched iotlb flushes
Signed-off-by: <mgross@linux.intel.com> Index: linux-2.6.24-mm1/drivers/pci/intel-iommu.c =================================================================== --- linux-2.6.24-mm1.orig/drivers/pci/intel-iommu.c 2008-02-12 07:12:06.000000000 -0800 +++ linux-2.6.24-mm1/drivers/pci/intel-iommu.c 2008-02-12 11:35:42.000000000 -0800 @@ -21,6 +21,7 @@ #include <linux/init.h> #include <linux/bitmap.h> +#include <linux/debugfs.h> #include <linux/slab.h> #include <linux/irq.h> #include ...
Feb 12, 12:55 pm 2008
Randy Dunlap
Re: [PATCH]intel-iommu batched iotlb flushes
I think that will make a string like below: -- ~Randy --
Feb 12, 9:34 am 2008
mark gross
Re: [PATCH]intel-iommu batched iotlb flushes
thanks! Signed-off-by: <mgross@linux.intel.com> Index: linux-2.6.24-mm1/drivers/pci/intel-iommu.c =================================================================== --- linux-2.6.24-mm1.orig/drivers/pci/intel-iommu.c 2008-02-12 07:12:06.000000000 -0800 +++ linux-2.6.24-mm1/drivers/pci/intel-iommu.c 2008-02-12 07:47:04.000000000 -0800 @@ -21,6 +21,7 @@ #include <linux/init.h> #include <linux/bitmap.h> +#include <linux/debugfs.h> #include <linux/slab.h> #include ...
Feb 12, 9:05 am 2008
David Miller
Re: [PATCH]intel-iommu batched iotlb flushes
From: mark gross <mgross@linux.intel.com> Yes, this is a good idea especially for networking. For transmit on 10GB links the IOMMU setup is near the top of the profiles. What a driver could do is determine the maximum number of IOMMU pages it could need to map one maximally sized packet. So then it allocates enough space for all such entries in it's TX ring. This eliminates the range allocation from the transmit path. All that's left is "remap DMA range X to scatterlist Y" And yes it ...
Feb 12, 4:46 pm 2008
Muli Ben-Yehuda
Re: [PATCH]intel-iommu batched iotlb flushes
For the extreme case you are correct. There's an inherent trade-off between IOMMU performance and protection guarantees, where one end of the spectrum is represented by the streaming DMA-API and the other end is represented by simply mapping all available memory. It's an open question what is the right point in between. I think that an optimal strategy might be "keep the mapping around for as long as it is safe", i.e., keep a mapping to a frame for as long as the frame is owned by whoever ...
Feb 12, 2:07 am 2008
Muli Ben-Yehuda
Re: [PATCH]intel-iommu batched iotlb flushes
While I don't disagree with this patch in principle (Calgary does the same thing due to expensive IOTLB flushes) the right way to fix it IMHO is to fix the drivers to batch mapping and unmapping operations or map up-front and unmap when done. The streaming DMA-API was designed to conserve IOMMU mappings for machines where IOMMU mappings are a scarce resource, and is a poor fit for a modern IOMMU such as VT-d with a 64-bit IO address space (or even an IOMMU with a 32-bit address space such as ...
Feb 12, 1:52 am 2008
Pekka Enberg
Re: [PATCH] slob: fix linking for user mode linux
I'm ok with that as long as we get this annoying bug fixed. --
Feb 11, 11:23 pm 2008
Priit Laes
Re: REGRESSION: x86 vDSO: remove vdso-syms.o
=C3=9Chel kenal p=C3=A4eval, E, 2008-02-11 kell 14:53, kirjutas Roland McGr= This fails with clean build. And vdso-syms.lds is not empty. Contents of =EF=BB=BFarch/x86/vdso/vdso-syms.lds: VDSO64_PRELINK =3D 0xffffffffff700000; VDSO64_jiffies =3D 0xffffffffff7004b8; .config attached or can be viewed at http://plaes.org/files/2008-Q1/dot_config_VDSO64_error Hope this helps, Priit
Feb 11, 5:00 pm 2008
Roland McGrath
Re: REGRESSION: x86 vDSO: remove vdso-syms.o
Odd. The missing symbols come from the same place that VDSO64_jiffies did. The end of the arch/x86/vdso/vdso.lds file in your build should have these: VDSO64_jiffies = vdso_jiffies; VDSO64_vgetcpu_mode = vdso_vgetcpu_mode; VDSO64_vsyscall_gtod_data = vdso_vsyscall_gtod_data; readelf -s arch/x86/vdso/vvar.o in your build should show (among others): 8: 0000000000000000 8 OBJECT GLOBAL DEFAULT 4 vdso_jiffies 9: 0000000000000008 8 OBJECT GLOBAL DEFAULT 4 ...
Feb 11, 5:36 pm 2008
Andrew Morton
Re: [PATCH] Execute tasklets in the same order they were ...
On Mon, 11 Feb 2008 16:28:13 -0600 kernel/softirq.c: In function 'takeover_tasklets': kernel/softirq.c:597: error: 'struct tasklet_head' has no member named 'next' kernel/softirq.c:603: error: 'struct tasklet_head' has no member named 'next' kernel/softirq.c:588: warning: unused variable 'i' --
Feb 12, 2:55 pm 2008
Andrew Morton
Re: [PATCH v2] Execute tasklets in the same order they w ...
On Tue, 12 Feb 2008 16:06:47 -0600 hm, well, let's see what if any effect this has on networking. I'll cheerily tag this as to-be-merged-via-git-sched. Ingo wasn't doing much anyway. --
Feb 12, 3:19 pm 2008
Olof Johansson
[PATCH v2] Execute tasklets in the same order they were queued
I noticed this when looking at an openswan issue. Openswan (ab?)uses the tasklet API to defer processing of packets in some situations, with one packet per tasklet_action(). I started noticing sequences of backwards-ordered sequence numbers coming over the wire, since new tasklets are always queued at the head of the list but processed sequentially. Convert it to instead append new entries to the tail of the list. As an extra bonus, the splicing code in takeover_tasklets() no longer has ...
Feb 12, 3:06 pm 2008
mark gross
Re: iova RB tree setup tweak.
My bad. Try the following: --mgross Signed-off-by : <mgross@linux.intel.com> fa-la-la Index: linux-2.6.24-mm1/drivers/pci/iova.c =================================================================== --- linux-2.6.24-mm1.orig/drivers/pci/iova.c 2008-02-07 11:05:44.000000000 -0800 +++ linux-2.6.24-mm1/drivers/pci/iova.c 2008-02-12 07:12:47.000000000 -0800 @@ -72,10 +72,11 @@ return pad_size; } -static int __alloc_iova_range(struct iova_domain *iovad, unsigned long ...
Feb 12, 8:33 am 2008
Hiroshi Shimamoto Feb 12, 3:21 pm 2008
Bartlomiej Zolnierki ...
Re: [PATCH] ide: Add missing base addresses for falconid ...
Thanks! Applied. [ this patch was a missing link to (hopefully) bring the number of open 2.6.25 IDE regressions down to _zero_ ] --
Feb 11, 5:15 pm 2008
Matej Laitl
Re: [ALSA] HDA: no sound in headphone-out caused by comm ...
Now I just found that the new "Speaker" switch forgets it's value from time to time, ie. it's muted, you go and have lunch, and when you get back and start the music, it's unmuted. It is probably related to aggressive hda-codec powersaving, which I have enabled and set to 20 secs. Matej --
Feb 12, 3:57 pm 2008
Matej Laitl
Re: [ALSA] HDA: no sound in headphone-out caused by comm ...
Kernel with broken sound: hda_codec: Unknown model for ALC262, trying auto-probe from BIOS... autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) hp_outs=2 (0x1b/0x15/0x0/0x0/0x0) mono: mono_out=0x0 inputs: mic=0x18, fmic=0x19, line=0x0, fline=0x0, cd=0x0, aux=0x0 Kernel with fine sound: hda_codec: Unknown model for ALC262, trying auto-probe from BIOS... autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) ...
Feb 12, 4:36 am 2008
Matej Laitl
Re: [ALSA] HDA: no sound in headphone-out caused by comm ...
I was actually wrong when saying the "Front" channel did not influence HP-out No, setting Master and/or Front channel to 0% did not mute audio in any version I used. I'm now listening to music with Master=0% and Front=0%, the sound is at well audible volume. Pastebin for this configuraion is here: http://pastebin.ca/901459 However I don't consider it a problem, it's mutable by PCM and HP/Speaker switches. Funny thing is that resulting volume of those 3 setting is equal: * Master=0, ...
Feb 12, 11:24 am 2008
Takashi Iwai
Re: [ALSA] HDA: no sound in headphone-out caused by comm ...
At Tue, 12 Feb 2008 16:27:44 +0100, This is what your BIOS sets up. The main output is connected to the docking station. That's why "Front" (a silly name for ALC262; it should read "Line Out", maybe will be renamed in later versions) switch doesn't work. OTOH, all outputs (speaker, headphone and line-outs) use the same DAC, This must be the behavior of the codec chip... Did "Front" volume 0 mute in the earlier version? If not, it actually doesn't mute with the lowest volume. Use the ...
Feb 12, 10:14 am 2008
Matej Laitl
Re: [ALSA] HDA: no sound in headphone-out caused by comm ...
Yes, this "slightly better" patch applied on top of your first patch against hda_codec.c did the trick, but with some side-effects: * the "Speaker" switch now mutes/unmutes speakers * muting/unmuting "Front" channel now has zero effect (in 2.6.24 it had the same effect as the "Speaker" switch now has) * changing volume on "Front" channel now affects volume in headphones (was not so in 2.6.24) So there are now 3 vol controls that affect both speakers and headphones: * Master (which ...
Feb 12, 8:27 am 2008
Matej Laitl
Re: [ALSA] HDA: no sound in headphone-out caused by comm ...
With your patch, the sound in headphone-out is working again, but surprisingly the integrated loudspeakers stopped working! ;) Also, new on/of control appeared in alsamixer - "Speaker", but unmuting it (and unmuting all playback controls, plugging-out headphones) didn't have an effect on non-working integrated loudspeakers. Some kernel mesgs with your patch: hda_codec: Unknown model for ALC262, trying auto-probe from BIOS... autoconfig: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) ...
Feb 12, 5:06 am 2008
Takashi Iwai
Re: [ALSA] HDA: no sound in headphone-out caused by comm ...
At Tue, 12 Feb 2008 15:02:09 +0100, This version might be slightly better... Takashi --- diff -r e84ee72676f0 sound/pci/hda/patch_realtek.c --- a/sound/pci/hda/patch_realtek.c Tue Feb 12 12:11:36 2008 +0100 +++ b/sound/pci/hda/patch_realtek.c Tue Feb 12 15:14:17 2008 +0100 @@ -746,7 +746,6 @@ static void alc_sku_automute(struct hda_ static void alc_sku_automute(struct hda_codec *codec) { struct alc_spec *spec = codec->spec; - unsigned int mute; unsigned int present; ...
Feb 12, 7:13 am 2008
Takashi Iwai
Re: [ALSA] HDA: no sound in headphone-out caused by comm ...
At Tue, 12 Feb 2008 11:50:36 +0100, Thanks. It seems that your device has two headphone jacks according to the BIOS setup, and this seems to be the problem. Could you show the kernel messages like "autoconfig: line_outs..." for both cases? This appears when build with CONFIG_SND_DEBUG=y. Takashi --
Feb 12, 4:02 am 2008
Takashi Iwai
Re: [ALSA] HDA: no sound in headphone-out caused by comm ...
At Mon, 11 Feb 2008 21:58:41 +0100, Could you give the output of alsa-info.sh for both working and non-working kernels? http://hg.alsa-project.org/alsa/raw-file/tip/alsa-info.sh thanks, Takashi --
Feb 12, 3:13 am 2008
Takashi Iwai
Re: [ALSA] HDA: no sound in headphone-out caused by comm ...
At Tue, 12 Feb 2008 12:02:16 +0100, And the patch below may fix your problem. Give it a try. Takashi --- diff -r e84ee72676f0 sound/pci/hda/hda_codec.c --- a/sound/pci/hda/hda_codec.c Tue Feb 12 12:11:36 2008 +0100 +++ b/sound/pci/hda/hda_codec.c Tue Feb 12 12:31:37 2008 +0100 @@ -2821,6 +2821,30 @@ int snd_hda_parse_pin_def_config(struct } } + /* FIX-UP: + * If no line-out is defined but multiple HPs are found, + * some of them might be the real line-outs. + */ + if ...
Feb 12, 4:34 am 2008
Matej Laitl
Re: [ALSA] HDA: no sound in headphone-out caused by comm ...
The locations of alsa-info.sh outputs: no sound in headphones: http://pastebin.ca/901022 sound ok: http://pastebin.ca/901016 Both kernels are Linus' tree snapshots as of commit cc13e442952a347f7, the one with working sound has just the f889fa91ad47e commit reverted. Matej Laitl --
Feb 12, 3:50 am 2008
Takashi Iwai
Re: [ALSA] HDA: no sound in headphone-out caused by comm ...
At Tue, 12 Feb 2008 13:06:08 +0100, Thanks. There seems a couple of bugs in this auto-configuration code. Try the additional patch below. This will unmute the speaker-pin. BTW, if the subsystem id were properly set by BIOS, you would have also the speaker auto-mute feature, but yours doesn't have it. Blame HP :) Takashi --- diff -r e84ee72676f0 sound/pci/hda/patch_realtek.c --- a/sound/pci/hda/patch_realtek.c Tue Feb 12 12:11:36 2008 +0100 +++ ...
Feb 12, 7:02 am 2008
Alan D. Brunelle
Re: IO queueing and complete affinity w/ threads: Some results
Back on the 32-way, in this set of tests we're running 12 disks spread out through the 8 cells of the 32-way. Each disk will have an Ext2 FS placed on it, a clean Linux kernel source untar()ed onto it, then a full make (-j4) and then a make clean performed. The 12 series are done in parallel - so each disk will have: mkfs tar x make make clean performed. This was performed ten times, and the overall averages are presented below - note this is Jens' original patch sequence NOT the kthread one ...
Feb 12, 3:08 pm 2008
Alan D. Brunelle
Re: IO queueing and complete affinity w/ threads: Some results
Whilst running a series of file system related loads on our 32-way*, I dropped down to a 16-way w/ only 24 disks, and ran two kernels: the original set of Jens' patches and then his subsequent kthreads-based set. Here are the results: Original: A Q C | MBPS Avg Lat StdDev | Q-local Q-remote | C-local C-remote ----- | ------ -------- ------ | -------- -------- | ------- -------- X X X | 1850.4 0.413880 0.0109 | 0.0 55860.8 | 0.0 27946.9 X X A | 1850.6 0.413848 0.0106 | 0.0 ...
Feb 12, 1:56 pm 2008
Alan D. Brunelle
Re: IO queueing and complete affinity w/ threads: Some results
Note quite: Q or C = 0 really means Q or C set to -1 (default), Q or C = 1 means placing that thread on the CPU managing the IRQ. Sorry... <sigh> Alan --
Feb 12, 3:26 pm 2008
Paul E. McKenney
Re: [PATCH 3/3] Final removal of FASTCALL()/fastcall
Hmmm... A better comment might be something like "Awaken the corresponding synchronize_rcu() instance now that a grace period has completed". Given that the underlying RCU implementation provides callbacks, synchronize_rcu() will need some sort of callback function. So, the question is whether "complete()" can be that callback function. As near as I can tell, the answer is "no", because the RCU callback function always gets a pointer to a struct rcu_head, which would not make much sense to ...
Feb 11, 6:49 pm 2008
Joerg Platte
Re: [PATCH - BUGFIX] Smack: Check for 'struct socket' wi ...
Hi Ahmed, your patch fixes the nfs problem! Thank you! regards, Jörg -- PGP Key: send mail with subject 'SEND PGP-KEY' PGP Key-ID: FD 4E 21 1D PGP Fingerprint: 388A872AFC5649D3 BCEC65778BE0C605 --
Feb 12, 2:29 am 2008
Casey Schaufler
Re: [PATCH - BUGFIX] Smack: Check for 'struct socket' wi ...
If it's only NFS being uncooperative, as opposed to Smack not measuring up on socket handling in general, this might be the way to go about dealing with this problem until Smack NFS support proper goes in (no dates promised there!). I will have a better Casey Schaufler casey@schaufler-ca.com --
Feb 11, 7:26 pm 2008
Thomas Petazzoni
Re: [PATCH] Configure out DMI scanning code
Hi Matt, Thanks for your review. Le Mon, 11 Feb 2008 13:01:18 -0600, Andrew seems to already have picked up the patch in -mm (I received an e-mail + x86-configurable-dmi-scanning-code.patch added to -mm tree). If I resend a new one with proper credits, will Andrew pick it up and I was compiling with 4.2.3, which I suppose is a modern gcc. Thanks, Thomas --=20 Thomas Petazzoni, Free Electrons Free Embedded Linux Training Materials on http://free-electrons.com/training (More than ...
Feb 12, 12:33 am 2008
Andrew Morton Feb 12, 12:42 am 2008
Dave Hansen
Re: [-mm PATCH] register_memory/unregister_memory clean ups
Never mind. That was a bad suggestion. I do think it would be a good idea to mark the 'struct page' of ever page we use as bootmem in some way. Perhaps page->private? Otherwise, you can simply try all of the possibilities and consider the remainder bootmem. Did you ever find out if we properly initialize the bootmem 'struct page's? Please have mercy and put this in a helper, first of all. static void free_usemap(unsigned long *usemap) { if (!usemap_ return; if ...
Feb 12, 3:06 pm 2008
Dave Hansen
Re: [-mm PATCH] register_memory/unregister_memory clean ups
I do think passing in a mem_section* here is highly superior. It makes it impossible to pass a pfn in and not get a warning. -- Dave --
Feb 12, 2:57 pm 2008
Badari Pulavarty
Re: [-mm PATCH] register_memory/unregister_memory clean ups
Only problem is, I need to hold pgdat_resize_lock() if pass *ms. If I don't hold the resize_lock, I have to re-evaluate. And also, I need to pass section_nr for decoding the mem_map anyway :( Thanks, Badari --
Feb 12, 3:07 pm 2008
Badari Pulavarty
Re: [-mm PATCH] register_memory/unregister_memory clean ups
I was trying to avoid holding resize lock for entire duration of remove_section(), which includes removing sysfs entries etc. Its needed only to decode and clear out sectionmap. (I am no longer passing pfns). Whats wrong with passing section_nr ? It simply checks if that section exists and if so removes sysfs entries and corresponding I know. It looked like a round about of getting section_nr while we have that information easily available. If you are really passionate about passing ...
Feb 12, 3:51 pm 2008
Dave Hansen
Re: [-mm PATCH] register_memory/unregister_memory clean ups
What's wrong with holding the resize lock? What races, precisely, are See sparse.c::__section_nr(). It takes a mem_section* and returns a section_nr. -- Dave --
Feb 12, 3:15 pm 2008
Badari Pulavarty
Re: [-mm PATCH] register_memory/unregister_memory clean ups
Yes. I am trying to complete the hotplug memory remove support, so that I can use it for supporting it on ppc64 DLPAR environment. Here is the patch to finish up some of the generic work left. As you can see, I still need to finish up some work :( Any help is appreciated :) Thanks, Badari --- include/linux/memory_hotplug.h | 4 ++++ mm/memory_hotplug.c | 33 +++++++++++++++++++++++++++++++++ mm/sparse.c | 40 ...
Feb 12, 10:22 am 2008
Dave Hansen Feb 12, 4:20 pm 2008
Badari Pulavarty
Re: [-mm PATCH] register_memory/unregister_memory clean ups
Yes. I got similar feedback from Andy. I was closely trying to mimic __add_pages() for easy review/understanding. I have an updated version (not fully tested) which takes section_nr as argument instead of playing with pfns. Please review this one and see if Hmm. my understand of memmap is limited. Can you help me out here ? I was trying to use free_bootmem_node() to free up the allocations, but I need nodeid from which allocation came from :( Here is the updated (currently testing) ...
Feb 12, 2:56 pm 2008
Badari Pulavarty
Re: [-mm PATCH] register_memory/unregister_memory clean ups
Here is the version with your suggestion. Do you like this better ? Thanks, Badari Generic helper function to remove section mappings and sysfs entries for the section of the memory we are removing. offline_pages() correctly adjusted zone and marked the pages reserved. Issue: If mem_map, usemap allocation could come from different places - kmalloc, vmalloc, alloc_pages or bootmem. There is no easy way to find and free up properly. Especially for bootmem, we need to know which node the ...
Feb 12, 4:03 pm 2008
Yasunori Goto
Re: [-mm PATCH] register_memory/unregister_memory clean ups
Badari-san. Which function does call unregister_memory() or unregister_memory_section()? I can't find its caller in current 2.6.24-mm1. ???????() | |nothing calls? | +-->unregister_memory_section() | |call | +---> remove_memory_block() | |call | +----> unregister_memory() unregister_memory_section() is only externed in linux/memory.h. Do you have any another patch to call it? I think ...
Feb 12, 1:06 am 2008
Dave Hansen
Re: [-mm PATCH] register_memory/unregister_memory clean ups
I think you need at least a WARN_ON() there. Can none of this ever fail? I also think having a function called __remove_section() that takes a pfn is a bad idea. How about passing an actual 'struct mem_section *' into it? One of the reasons I even made that structure was so that you could hand it around to things and never be confused about pfn vs. paddr I'd like to see some warnings in there if nr_pages or phys_start_pfn are not section-aligned and some other sanity checks. If ...
Feb 12, 1:59 pm 2008
David Miller
Re: [git patches] net driver updates
From: Jeff Garzik <jeff@garzik.org> Pulled, thanks a lot Jeff! --
Feb 11, 10:57 pm 2008
Dave Hansen
Re: [PATCH] drivers/base: export gpl (un)register_memory ...
This driver is broken pretty horribly. It won't even compile for a plain ppc64 kernel: http://sr71.net/~dave/linux/ehea-is-broken.config I know it's used for very specific hardware, but this is the symptom of it not using the proper abstracted interfaces to the VM. In file included from /home/dave/work/linux/2.6/23/linux-2.6.git/drivers/net/ehea/ehea_main.c:42: /home/dave/work/linux/2.6/23/linux-2.6.git/drivers/net/ehea/ehea_qmr.h:44:14: warning: "SECTION_SIZE_BITS" is not ...
Feb 12, 11:04 am 2008
Peter Zijlstra
Re: 2.6.24-git2: Oracle 11g VKTM process enters R state ...
Did you enable CONFIG_RT_GROUP_SCHED (it defaults to n)? If you didn't, could you try with it set to y? --
Feb 12, 6:44 am 2008
Peter Zijlstra
Re: 2.6.24-git2: Oracle 11g VKTM process enters R state ...
No that should be quite all-right. Thanks for testing! --
Feb 12, 7:53 am 2008
Alessandro Suardi
Re: 2.6.24-git2: Oracle 11g VKTM process enters R state ...
I just rebuilt 2.6.25-rc1-git2 with Ingo's patch and your patch on top, and the Oracle VKTM issue is still gone even with [asuardi@sandman ~]$ grep GROUP_SCHED /share/src/linux-2.6.25-rc1-git2-orafix/.config CONFIG_GROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y CONFIG_RT_GROUP_SCHED=y # CONFIG_CGROUP_SCHED is not set so it's good for me. Or is it necessary to also enable CONFIG_CGROUP_SCHED and retest ? --alessandro "We act as though comfort and luxury were the chief requirements ...
Feb 12, 7:35 am 2008
Rafael J. Wysocki
Re: 2.6.24-git2: Oracle 11g VKTM process enters R state ...
Tested with CONFIG_RT_GROUP_SCHED set and it also works as expected. Thanks, Rafael --
Feb 12, 12:28 pm 2008
David Rientjes
Re: [patch 2/4] mempolicy: support optional mode flags
All MPOL_F_STATIC_NODES does (by mbind(), set_mempolicy(), or adding '=static' to the mempolicy mode on tmpfs mount) is suppress the node remap in mpol_rebind_policy(). In mpol_new(), the intent of the user is stored in a new nodemask_t member of struct mempolicy and in the static case the passed nodemask is intersected with that member. The policy is then effected over the intersection. If that nodemask includes no accessible nodes, then the mempolicy is not effected but rather ...
Feb 12, 12:14 pm 2008
Lee Schermerhorn
Re: [patch 2/4] mempolicy: support optional mode flags
Hi David: to clarify: I added the "interesting" because I didn't want the "look good" to be interpreted as an informed judgement. I hadn't time to review in detail. I do have some comments, which I'll send in response to the original patch messages [or any later posting thereof, Hmmm, so 'static' means "don't contexutalize"--i.e., don't mask off disallowed or memoryless nodes? That means we'll need to skip them in the interleave node calculation in the allocation path. Perhaps ...
Feb 12, 8:31 am 2008
Greg KH
Re: [2.6.25-rc1] System no longer powers off after shutdown
What is the symptom of not powering off? Can you press SysRq-T and see a task list running and waiting when things should be shut down? Do you happen to have a USB storage stick plugged into the system? thanks, greg k-h --
Feb 12, 1:56 pm 2008
Frans Pop
Re: [2.6.25-rc1] System no longer powers off after shutdown
Symptom is that the system shuts down normally and completely, it just does not power off. Here are the last messages on the console: Will now halt. sd 1:0:0:0: [sdb] Synchronizing SCSI cache sd 1:0:0:0: [sdb] Stopping disk sd 0:0:0:0: [sda] Synchronizing SCSI cache sd 0:0:0:0: [sda] Stopping disk ACPI: PCI interrupt for device 0000:01:00.0 disabled Nothing. Only USB kbd/mouse. Note that I've had this issue before with this ...
Feb 12, 2:45 pm 2008
Frans Pop
Re: [2.6.25-rc1] System no longer powers off after shutdown
(Resending full details as I can't find my previous mail in the archives.) Don't ask me why, but bisection shows this commit to be the cause of the failure to power off: commit c10997f6575f476ff38442fa18fd4a0d80345f9d Author: Greg Kroah-Hartman <gregkh@suse.de> Date: Thu Dec 20 08:13:05 2007 -0800 Kobject: convert drivers/* from kobject_unregister() to kobject_put() Because it seemed somewhat unlikely, I have double checked this by doing an extra compilation for this commit and its ...
Feb 12, 1:39 pm 2008
Nadia Derbey
Re: [PATCH 8/8] Re-enable msgmni automatic recomputing m ...
Well, the caller's ctl_table contains the tunables addresses for the init namspeace in its .data fields. While what needs to be passed in to proc_dointvec() is the tunable address in the caller's namespace. Since all the fields in ipc_kern_table[] are ok but the .data one, imho it's correct to store it in a local copy and change the data field to the appropirate one, before passing it to proc_dointvec(). Regards, Nadia --
Feb 12, 4:38 am 2008
Nadia Derbey
Re: [PATCH 7/8] Do not recompute msgmni anymore if expli ...
BEFORE: lkernel@akt$ size vmlinux text data bss dec hex filename 4318525 454484 462848 5235857 4fe491 vmlinux AFTER: lkernel@akt$ size vmlinux text data bss dec hex filename 4323161 454484 462848 5240493 4ff6ad vmlinux which makes it +4636 = +0.11% I've got the details for */built-in.o if needed. Regards, Nadia --
Feb 12, 8:15 am 2008
Andrew Morton
Re: [PATCH 7/8] Do not recompute msgmni anymore if expli ...
On Tue, 12 Feb 2008 16:15:00 +0100 That seems to be a lot of increase. Are you sure you had CONFIG_PROCFS=n in both cases? If so, the patch must have added a lot of code which will never be executed? --
Feb 12, 12:44 pm 2008
Nadia Derbey
Re: [PATCH 7/8] Do not recompute msgmni anymore if expli ...
Andrew, it builds fine, modulo some changes in ipv4 and ipv6 (see attached patch - didn't find it in the hot fixes). Regards, Nadia
Feb 12, 2:32 am 2008
Nadia Derbey Feb 12, 2:45 am 2008
Andrew Morton
Re: [PATCH 7/8] Do not recompute msgmni anymore if expli ...
OK, thanks for checking. Did you confirm that we don't have unneeded code in vmlinux when CONFIG_PROCFS=n? I guess before-and-after comparison of the size(1) output would tell us. Those networking build problems appear to have already been fixed. In future, please quote the compiler error output in the changelog when sending build fixes or warning fixes, thanks. --
Feb 12, 2:44 am 2008
H. Peter Anvin
Re: [2.6.25-rc1] Strange regression with CONFIG_HZ_300=y
I believe this patch should fix the problem. Can you please verify? Thanks, -hpa
Feb 12, 12:23 pm 2008
Carlos R. Mafra
Re: [2.6.25-rc1] Strange regression with CONFIG_HZ_300=y
I've just tested your patch on top of 2.6.25-rc1 and it fixes the Thank you very much for solving this so fast, Carlos --
Feb 12, 12:53 pm 2008
Carlos R. Mafra Feb 12, 4:41 am 2008
Eric Piel
Re: [2.6.25-rc1] Strange regression with CONFIG_HZ_300=y
Hi, it's great you found out the culprit commit because I was really wondering where this bug was coming from... As a data point, my machine has a core 2 duo @ 1.2GHz and x86_64 arch. Do you also have the tickless option activated? (it could play a role) See you, Eric
Feb 12, 1:26 am 2008
Riku Voipio
Re: futex local DoS on most architectures
Looks good for me and kernel no longer deadlocks with this patch! --
Feb 12, 5:50 am 2008
serge
Re: if (2.6.24.1 && capset && bind9) bug()
Judging by the 2.6.24.2 changelog I don't think the 2.6.24.1 kernel you Yeah my first thought was enough has been happening on the capabilities front that it could be an unfortunate patch merge, but 2.6.24.1 looks ok. So my next guess would be an selinux change. Though again i don't see anything obvious. Could you tell us what policy you use, and what --
Feb 11, 8:38 pm 2008
Nick 'Zaf' Clifford
Re: if (2.6.24.1 && capset && bind9) bug() --RESOVLED
Yes, that I realize now (I'll refer back to the lack of sleep thing 2.6.24.2 seems to fix the issue, so thanks to whoever noticed and fixed that (and if no one fixed anything, then I'm just a raving loon, and you can move on with your day, content that the nice man raving about fictitious bugs is happy again). But FYI and for what its worth, although SELinux was compiled, it isn't being used. Its disabled on boot. Thanks for the reply and help anyways, Nick --
Feb 11, 11:10 pm 2008
Denis V. Lunev
Re: lock_task_group_list() can be called from the atomic ...
Acked-by: Denis V. Lunev <den@openvz.org> --
Feb 12, 1:42 am 2008
Tony Breeds
Re: build #345 issue for v2.6.25-rc1 in tuner-core.c
<snip> Fix Build error for xc5000 tuner when built as module. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> --- Not 100% certain this is correct but it works for me :) Michael? drivers/media/dvb/frontends/xc5000.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/media/dvb/frontends/xc5000.h b/drivers/media/dvb/frontends/xc5000.h index e0e8456..32a5f1c 100644 --- a/drivers/media/dvb/frontends/xc5000.h +++ ...
Feb 11, 5:42 pm 2008
Christoph Hellwig
Re: [PATCH 0/8] Create and populate toplevel tests/ for ...
ACK to patches 1-7, and I agree with Ingo that the x86-specific test should stay under arch/x86. --
Feb 12, 9:44 am 2008
Arjan van de Ven
Re: [GIT PULL?] Create and populate toplevel tests/ for ...
we could make it even lower risk and not move the Kconfig now. Moving the Kconfig is fine for .26; it doesn't really impact anything else --
Feb 12, 3:47 pm 2008
Sam Ravnborg
[GIT PULL?] Create and populate toplevel tests/ for kern ...
Hi Linus. Will you consider such a primary code-movement for -rc1 or shall we wait until next merge window? Had we hit -rc2 I would not have sent this pull req and feel free to flame me anyway. The rationale to get it merged is obviously to avoid merge conflicts and the only reason I ask is that I consider it a low risk patch. I have not included 8/8 since it was questioned and it will wait until next merge window. But the first 7 was straightforward. You can pull ...
Feb 12, 3:39 pm 2008
Andrew Morton
Re: [PATCH 0/8] Create and populate toplevel tests/ for ...
On Tue, 12 Feb 2008 11:44:52 -0500 OK. But now is basically the worst time for me (or anyone else) to merge large code-motion changes like this, because they need to be carried for two months or more. And even though git can track renames, putting them into a git tree (say, git-kbuild) won't help, because if some other git tree tries to modify a file in its original place, I get to fix up the fallout. Which I _could_ do, and would do if the patches were particularly risky or added/changed ...
Feb 12, 2:22 pm 2008
Arjan van de Ven
Re: [PATCH 0/8] Create and populate toplevel tests/ for ...
alternatively, since it's just code motion and nothing more, it could just be done in 2.6.25-rc; in fact doing motion patches in the -rc2 window makes sense to me, that's the point where all external trees are the smallest, and it should be provably the same result.. so safe. --
Feb 12, 2:34 pm 2008
Thomas, Sujith
RE: [Bug-fix]:2.6.25-rc0 Generic thermal management [Pat ...
I agree; removed From: Thomas Sujith <sujith.thomas@intel.com> Added sanity checks for interface functions in thermal with other modules such as fan, processor, video etc. Using ERR_PTR to return errors. Signed-off-by: Thomas Sujith <sujith.thomas@intel.com> --- drivers/thermal/thermal.c | 63 +++++++++++++++++++++++++++------------------- 1 files changed, 38 insertions(+), 25 deletions(-) Index: ...
Feb 12, 8:57 am 2008
Andrew Morton
Re: [Bug-fix]:2.6.25-rc0 Generic thermal management [Pat ...
On Tue, 12 Feb 2008 21:27:44 +0530 No, even after I fixed all the wordwrapping I saw a large amount of fuzz and several rejects when trying to apply the patch. There's a reason why Len uses his kernel.org account to get real work done ;) --
Feb 12, 2:34 pm 2008
Daniel Drake
Re: List: linux-hotplug - how to debug udev
This should be asked on linux-hotplug and not linux-kernel, but anyway... This documentation should help you: http://www.reactivated.net/writing_udev_rules.html Daniel --
Feb 12, 7:08 am 2008
Serge E. Hallyn
Re: [patch 0/3] clone64() and unshare64() syscalls
Tested unshare64 with a new namespace using the first clone_hi bit, no problems here (on a kvm-qemu image). -serge --
Feb 12, 10:28 am 2008
Thomas Gleixner
Re: [PATCH] [1/8] CPA: Remove my copyright notice
While I have to respect your decision, please clarify whether you are entitled to remove the SuSE Labs copyright as well. Thanks, tglx --
Feb 11, 5:42 pm 2008
Andi Kleen
Re: [PATCH] [7/8] CPA: Don't flush caches on CPUs that s ...
I doubt we have any drivers with this problem because ioremap() for the longest time (until I added change_page_attr() to it the first time one a few releases ago) didn't flush its caches at all and it still doesn't flush the caches for the common case of the ioremapped area not being part of the direct mapping (standard case on 32bit and Please clarify what you mean. For what correctness aspect and in what circumstances would such a three step tango be needed? I don't see any mention of such ...
Feb 12, 1:45 am 2008
Andi Kleen
Re: [PATCH] [5/8] Fix logic error in 64bit memory hotadd
With the logic pud error i found and that seems currently will stay for the forseeable future in the tree I don't think x86-64 64bit hotadds for more than 1GB have ever worked with the sparsemem method. Older trees (before 2.6.24) had also a different method that did preallocate everything based on the SRAT. That one should have worked for this case. -Andi --
Feb 12, 4:20 am 2008
Thomas Gleixner
Re: [PATCH] [7/8] Implement true end_pfn_mapped for 32bit
It's not only necessary for followup patches, it is a question of We can nuke either max_pfn_mapped or end_pfn_map completely. I don't care about which one, but keeping both makes no sense at all. Thanks, tglx --
Feb 12, 12:39 pm 2008
Andi Kleen
Re: [PATCH] [7/8] Implement true end_pfn_mapped for 32bit
I didn't want to bundle such a clean up into the bug fix because my experience is that you usually reject that categorically. I can send the removal of max_pfn_mapped as a follow up patch if you apply this one. -Andi --
Feb 12, 12:49 pm 2008
Yasunori Goto
Re: [PATCH] [5/8] Fix logic error in 64bit memory hotadd
IBM's powerpc box can memory hot-add/remove by dynamic partitioning. And our fujitsu server has memory hot-add feature (Ia-64). So, they are concrete user of memory hotplug. In x86, E8500 chipset has the feature of memory-hotplug. (I searched a data-sheet from intel site.) http://download.intel.com/design/chipsets/e8500/datashts/30674501.pdf (6.3.8 IMI Hot-Plug) So, it depends on how many server uses it, I think. Thanks. -- Yasunori Goto --
Feb 12, 3:35 am 2008
Thomas Gleixner
Re: [PATCH] [8/8] RFC: Fix some EFI problems
The only effective change is: - if (md->attribute & EFI_MEMORY_WB) + if (!(md->attribute & EFI_MEMORY_WB)) I appreciate that you noticed the reverse logic, which I messed up when I fixed up rejects. I pulled this out as it is a real fix. The rest of this patch is just turning code in circles for nothing, simply because it is functionally completely irrelevant whether does simply: if ((end >> PAGE_SHIFT) <= max_pfn_mapped) va = ...
Feb 12, 1:04 pm 2008
Andi Kleen
Re: [PATCH] [8/8] RFC: Fix some EFI problems
Oops you're right. I wanted to fix that, but didn't. Ok I'll put up What optimizing? It wasn't intended to be an optimization. It fixes a bug. Not doing set_memory_uc on efi_ioremap output is needed because set_memory_uc doesn't work on fixmap which is what efi_ioremap returns. (see previous mails on that topic -- i fixed the 'x' case, but fixing "uc" is too hard imho) So I fixed efi_ioremap instead to set the correct caching mode directly. That is ok because there can be no ...
Feb 12, 1:23 pm 2008
Thomas Gleixner
Re: [PATCH] [7/8] Implement true end_pfn_mapped for 32bit
Too late. It was so obvious that it screamed to be fixed. I applied the inital patch already and cleaned it up myself. :) Thanks, tglx --
Feb 12, 1:25 pm 2008
Thomas Gleixner
Re: [PATCH] [8/8] RFC: Fix some EFI problems
No, it does not. Please go back and read my mail. The code had exactly two bugs: 1) the logic of checking EFI_MEMORY_WB was wrong 2) the uninitialized variable The fix is: arch/x86/kernel/efi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: linux-2.6/arch/x86/kernel/efi.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/efi.c +++ linux-2.6/arch/x86/kernel/efi.c @@ -428,9 +428,6 @@ void __init ...
Feb 12, 1:48 pm 2008
Bartlomiej Zolnierki ...
Re: [PATCH 0/4] ide: generic packet command representation
I was actually hoping that you'll continue unifying ATAPI handling... [ ide-scsi is orphaned and has (probably) unfixable problems (because of having dependencies on both IDE and SCSI subsystems) so it is not worth IMO but I will of course accept patches... ] Thanks, Bart --
Feb 11, 5:09 pm 2008
Borislav Petkov
Re: [PATCH 0/4] ide: generic packet command representation
yeah, sure. ide-scsi simply will wander down the prio stack pushed by the other does this mean it might have a similar to idetape's destiny...? -- Regards/Gruß, Boris. --
Feb 11, 10:59 pm 2008
Florian Weimer
Re: Linux 2.6.22.18
Your patch doesn't include the CVE-2006-0010 hunk. Is this because get_user() implies an access_ok() check (while __copy_from_user() obviously does not)? --
Feb 12, 10:48 am 2008
Greg KH
Re: Linux 2.6.22.18
Yes, that is exactly why. CVE-2006-0010 and -0009 are not applicable to kernels prior to 2.6.23. thanks, greg k-h --
Feb 12, 10:50 am 2008
Carlos R. Mafra
Re: [2.6.25-rc1 regression] Suspend to RAM (bisected)
I tested your patch and it fixes the problem here! Thank you very much for your good work, --
Feb 11, 5:08 pm 2008
Ingo Molnar
Re: [git pull] kgdb-light -v10
see? There's the difference between us. The initial merge of KGDB does not want to include policies for nuances that pose an "acceptable slight risk". Had we done it, you could have (rightfully in that case, i have to say) complained about that "slight but real danger" of a debugger activating yes, i said this the first time you mentioned this issue that while it's all no big deal, it could perhaps be a sensible (but default-off) layered-on option for later. But the initial merge is ...
Feb 12, 9:24 am 2008
Jason Wessel
Re: [git pull] kgdb-light -v10
It is more than a simple recursion check (which is already in the code) because there are some conditions we can recover from. I'd rather not crash the system out if it can be recovered. kgdb_reenter_check() has the "simple" recursion check with the exception_level variable. It also has several special checks against the breakpoint situation I described before as well as trying to remove all the breakpoints. Ultimately if all those checks fails, it results in panic, because at the end ...
Feb 12, 9:21 am 2008
Andi Kleen
Re: [git pull] kgdb-light -v9
First nobody answered the "kgdb clean enough for a module" A timeout for waiting for other CPUs is actually not a bad idea for a debugger. After all you still want to debug even if some other CPUs Pretty much all the proc output and sysfs show functions rely on these return The 64bit gdb actually supports segment registers: static int amd64_linux_gregset64_reg_offset[] = { RAX * 8, RBX * 8, /* %rax, %rbx */ RCX * 8, RDX * 8, /* %rcx, %rdx */ RSI * 8, ...
Feb 12, 3:03 am 2008
Jason Wessel
Re: [git pull] kgdb-light -v10
No this is a kgdb integrity check. Basically when you reach this chunk of code it is before the hand off to the source debugger. We cannot continue because there was a breakpoint in a part of the system kgdb was using while doing its normal work. The reality is that KGDB is not self contained. It relies on some external I/O methods, atomic page fault handling and some other pieces. If you take an exception there, the kgdb integrity check absolutely needs to fail. It was the source of ...
Feb 12, 7:35 am 2008
Linus Torvalds
Re: [git pull] kgdb-light -v10
Quite frankly, I don't see why the kernel kgdb layer should have *any* code like this at all. The one who is actually debugging is the one who should decide which CPU's get stopped, and which don't. I realize that the gdb remote protocol is probably a piece of crap and cannot handle that, but hey, that's not my problem, and more importantly, I don't think it's even a *remotely* valid reason for making bad decisions in the kernel. gdb was still open source last time I saw, and I ...
Feb 12, 9:46 am 2008
Jason Wessel
Re: [git pull] kgdb-light -v10
This is not a technical argument, but I am not a big fan of hard hanging the system if you cannot sync all the CPUs. The original intent was to at least provide a sync error message to the end user after some reasonable time. Then allow someone to collect any data you can get and you basically have to reboot. The reboot was never forced, but assumed the end users of this knew what they were doing in the first place. Certainly in a completely working system where you use kgdb only ...
Feb 12, 6:30 am 2008
Linus Torvalds
Re: [git pull] kgdb-light -v10
I do agree that kgdb and watchdogs aren't like to work well together. And I don't think you can sanely expect to not have a "disable lockup detection" when you start poking around with kgdb. We also just have to expect that time will also stop while sometbody is messing around with kgdb. So I don't dispute that any kernel debugger will *always* be intrusive in those ways. That's pretty inevitable. I just think the code itself can try to avoid hooking into various places all over ...
Feb 12, 12:01 pm 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
Ok I'm trying to understand the code as you describe it. As far as I can see (in kgdb-light-v10) it is: + addr = kgdb_arch_pc(ks->ex_vector, ks->linux_regs); + kgdb_deactivate_sw_breakpoints(); + + /* + * If the break point removed ok at the place exception + * occurred, try to recover and print a warning to the end + * user because the user planted a breakpoint in a place that + * KGDB needs in order to function. + */ + if ...
Feb 12, 10:10 am 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
Let's put it like this: the amount of problems I found by reading only about 20% of the kgdb patch justifies the statement above. Also contrary to your repeated claims many of those are not fixed yet as far as I can see. Also every time I dig into something new problems raise their head -- e.g. see earlier exchange with Jason about the likely bogus recursion check. Overall that's not a sign of a clean merge ready code base. -Andi --
Feb 12, 8:28 am 2008
Roland McGrath
Re: [git pull] kgdb-light -v9
There was work underway on that before (hw_breakpoint). I'm not entirely sure you want to use fancy stuff like that in kgdb. It's nice for kgdb to be as self-contained as possible, so you can debug everything else with it. If you're going to rely on lots of higher-level infrastructure, it could be using kprobes for its software breakpoint handling, too. At any rate, I think it would be good if the hw breakpoint support in kgdb were chopped out into a separate patch. First make kgdb work ...
Feb 12, 3:26 am 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
The problem I see here is that the kernel tends to get badly confused if one CPU just stops responding. At some point someone does an global IPI and that then hangs. You would need to hotunplug the CPU which is theoretically possible, but quite intrusive. Or maybe the "isolate CPUs in cpusets" frame work someone posted recently on l-k could be used. Still would probably have all kinds of tricky issues and races. -Andi --
Feb 12, 11:20 am 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
Can't be very many because oprofile needs it and it works on most archs now. Anyways, the right thing is to just add it to the architectures Hmm, I'm pretty sure I saw some code that was only useful for the user case. Perhaps you should take all that out then if it doesn't work anyways? Seems wrong intended behaviour to me. If kgdb is active it should have priority The question is less about actually having it as a module, but just if the interfaces are clean enough to allow it as a ...
Feb 12, 5:19 am 2008
Ingo Molnar
Re: [git pull] kgdb-light -v9
agreed, and i've done that now. Thanks, Ingo --
Feb 12, 3:34 am 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
I agree that it wouldn't be a good idea -- i was just pointing out There tend to be timeouts (e.g. softlock/nmi watchdog at least). I think some of the IPIs eventually time out too. In general losing a lot of time can lead to weird side effects. -Andi --
Feb 12, 12:22 pm 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
Don't you just need a simple recursion counter for this? I cannot think of a reliable simple way to check for this using the instruction pointer. The only way would be to use explicit annotations for all possible code similar to what kprobes does (__kprobes), but that would be hugely intrusive all over the tree. With the recursion counter the only problem would be someone setting a break point on the early notifier code itself that contains a recursion check, but that would be only a few ...
Feb 12, 8:36 am 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
Note I wrote the one above only as a reply to Linus' proposal, not because I was advocating "live debugging" (or rather I think if you want that just use gdb vmlinux /proc/kcore) I agree with you in principle, but what do you do if one of the CPUs doesn't answer? Ingo seems to think it's ok for the debugger then to just hang too, I think it should eventually time out and debug anyways. Also there are some limits on how much the system should be frozen down. For example if you're ...
Feb 12, 12:16 pm 2008
Ingo Molnar
Re: [git pull] kgdb-light -v10
on a second thought - i actually think it's rather possible and straightforward to do what you suggest. Stopping of all CPUs is still useful, but should be an optional property. I'll play with this a bit and see how GDB reacts. Ingo --
Feb 12, 10:10 am 2008
Ingo Molnar
Re: [git pull] kgdb-light -v10
i'm glad that there are no other valid-looking (to me) objections left against kgdb-light -v10, other than "it would be nice to have more kgdb (It seems we do have a fundamental disagreement about how kgdb should act: in my opinion it should never break a correct system, while in your opinion apparently it's OK to compromise on that to make debugging easier. (find below more detailed arguments about this.) If you do not change your position about that issue we'll have to agree to ...
Feb 12, 5:38 am 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
Stopping with interrupts off. Nothing scheduled anymore. An easy definition for the condition is anything that requires touch_{nmi,softlockup}_watchdog [which kgdb definitely does, While that is a slight risk that problem is already there anyways. Lots of agents in the system could do that. Do you plan to stop all DMA too for example if you're so worried about this? Or how about SMM code changing something? Anyways the slight risk of the other CPUs eventually recovering would seem ...
Feb 12, 9:11 am 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
I think that part is actually mostly ok now (old kgdb stubs were much worse in this regard) I still think the ultimative proof for this would be working While agreed in theory there are some exceptions: any time an oops happens or a crash dump would happen automatically kgdb should definitely do something very visible. Unfortunately that's not always the case The problem here is that the timeout we were talking about is not integrated into the kgdb event loop, it is rather the ...
Feb 12, 10:07 am 2008
Jason Wessel
Re: [git pull] kgdb-light -v10
I doubt the .config you posted was the one you used, because there were no KGDB options specified at all. If you want to be using your vga device as the console that is ok. You can still activate the sysrq with running the command: echo g > /proc/sysrq-trigger You might consider doing "set debug remote 1" in the gdb session if you want to see what is going on. After the continue, the next time you break in with the debugger it should send $T.........etc which is a stop packet. Jason. --
Feb 12, 6:59 am 2008
Domenico Andreoli
Re: [git pull] kgdb-light -v10
indeed it was of a parisc.. :) here is the right one: # # Automatically generated make config: don't edit # Linux kernel version: 2.6.25-rc1 # Tue Feb 12 13:11:26 2008 # # CONFIG_64BIT is not set CONFIG_X86_32=y # CONFIG_X86_64 is not set CONFIG_X86=y # CONFIG_GENERIC_LOCKBREAK is not ...
Feb 12, 8:45 am 2008
Sam Ravnborg
Re: [git pull] kgdb-light -v9
1) The content is valid no matter the formatting 2) It is a well known format 3) And it is widely used Using a wellknown format does not require it to be postprocessed. It is by far better than "one-format-for-each-developer". Sam --
Feb 12, 2:35 am 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
Ok fine. Please implement DMA quiescence on kgdb entry then; otherwise the code won't conform to your standards at all. -Andi --
Feb 12, 10:01 am 2008
Domenico Andreoli
Re: [git pull] kgdb-light -v10
Hi, I am just trying to play with this, I am not able to make it work. Assume I am able with git, I use it every day on my software, then I am correctly tracking and building your branch on git.kernel.org. My config has both KGDB and KGDB_SERIAL_CONSOLE. kernel command line has kgdbwait kgdboc=ttyS0,115200. linux console is not on serial but if do not enable KGDB_SERIAL_CONSOLE I am then unable to hit SysRq+g. If instead I use linux serial console, gdb messes with getty and ...
Feb 12, 6:18 am 2008
Jason Wessel
Re: [git pull] kgdb-light -v10
Perhaps we are talking about different things. I will agree that there is no protection against putting a breakpoint in some code that is part of the debugger. That was certainly not what I was talking about. You might be able to perform some protections at the breakpoint set time or request to single step, but that is much more complex than is worth it for the time being. The recursion check guards against basic stupidity or accidental stepping out of a frame you didn't mean to. Also ...
Feb 12, 9:48 am 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
I don't know -- I have not reread everything. Please don't consider my comments as approval of the code base. I still think it does quite a lot of dubious and ugly things overall and should get far more clean up Stopping all CPUs for indefinite time very much seems like "breaking a correctly working system" to me. In a correctly working system The only way I know of to do that is gdb vmlinux /proc/kcore For that gdb vmlinux /proc/kcore already works fine. Or fireproxy. The main ...
Feb 12, 6:50 am 2008
Ingo Molnar
Re: [git pull] kgdb-light -v10
Andi, please refrain from misrepresenting my position, i can speak for myself. As i stated it before, i'm not against adding some configuration on roundup behavior as long as it's clearly add-on optional system policy. In fact i already implemented that in the kgdb-light tree. But if your goal is to create smoke where there is none, then feel free to continue to beat down on this poor strawman, ok? ;-) Meanwhile we'll continue to clean up kgdb to make it ready for an eventual (and ...
Feb 12, 2:01 pm 2008
Ingo Molnar
Re: [git pull] kgdb-light -v10
i actually think that the notion of "stopping all system state" is rather intuitive from a debugging POV: when you have a bug trigger somewhere then getting an NMI to all CPUs and stopping them dead in their tracks preserves us the system in its most useful state. also, when using kgdb to "look at system state" it's best to have as little "unrelated" activity as possible. the timeout argument brought up by Andi was IMO really just pulled here by its hair, it never happened to me in ...
Feb 12, 10:01 am 2008
Ingo Molnar
Re: [git pull] kgdb-light -v10
yes, that's what i've been doing. When anything became questionable even just a little bit, it was the axe or i changed it to something really obvious and correct. by 2.6.26 kgdb-light will become so neutral to the rest of the kernel yeah. I believe we need to achieve a "known zero impact, 100% trustable" yes - if something locks up, it will be the NMI watchdog starting the debugger eventually - not the other way around. The NMI watchdog is already system policy which can be ...
Feb 12, 9:42 am 2008
Frank Ch. Eigler
Re: [git pull] kgdb-light -v10
Hi - Just for completeness, keep in mind that one can already If "foo" is a global within a particular compliation unit, any old function in that CU can be probed to set/get the global. (Setting incoming function parameters works too.) # cat delayed-set.stp # set a systemtap script variable based on a /proc control file probe procfs("activate").write { setit = $value } global setit # check the systemtap global in order to set the kernel global probe ...
Feb 12, 12:34 pm 2008
Ingo Molnar
Re: [git pull] kgdb-light -v10
well, it does not take a mindreader to conclude that nothing we do could possibly result in you "concluding" that kgdb would be ready for a merge ;-) for me it suffices that you've run out of technical arguments and are Ingo --
Feb 12, 8:16 am 2008
Linus Torvalds
Re: [git pull] kgdb-light -v10
Quite frankly, if kgdb starts doing somethign "fancy", there is no way I'll merge it. This includes things like having "breakpoint reservations" (discussed earlier) and just generally trying to add lots of infrastructure to make kgdb "fit in" to the kernel. The fact is, not having kgdb enabled should have _zero_ impact on the kernel, but the implication is also that when you *do* enable kgdb, that shouldn't change anything visible either: the rest of the kernel should simply not ...
Feb 12, 9:25 am 2008
Linus Torvalds
Re: [git pull] kgdb-light -v10
You're thinking about this totally *wrong*. You definitely do not want to hot-unplug or isolate anything at all. That's explicitly against the whole point of kgdb not changing what it is trying to measure. Just let the other CPU's hang naturally if they need to wait for IPI's etc. What's the downside? That's what you were trying to do in the first place by havign the kgdb callback! So you can't have it both ways. Either serializing other cpu's with kgdb is good (the whole ...
Feb 12, 11:11 am 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
That was for the old longjmp checks, but that code is long gone isn't it In what cases is that still needed? -Andi --
Feb 12, 7:39 am 2008
Ingo Molnar
Re: [git pull] kgdb-light -v10
well, this is a small detail, but still you are wrong, and on a correctly working system this will not occur. (if yes, tell me how) KGDB does a very straightforward "all CPUs enter controlled state" transition when the session begins, and at the end an "all CPUs continue" transition. I'm not sure what you mean exactly under "stopping all CPUs for indefinite amount of time" (your statement is sufficiently vague to be hard to counter via specifics) - that does not happen, unless the ...
Feb 12, 8:28 am 2008
Andrew Morton
Re: [git pull] kgdb-light -v10
Yes. A stopped CPU is very visible and hence can change the behaviour of I don't think you'd want to be poking around in kernel internals while some of the CPUs are continuing to run. It sounds rather creepy. You want everything to stop. Including time-related things. Bear in mind that one of the things you do with kgdb is to modify kernel memory - I'd do things like int foo; ... if (foo == 1) special_stuff(); ... to trigger a particular behaviour at a particular time. ...
Feb 12, 11:20 am 2008
Ingo Molnar
[git pull] kgdb-light -v10
this is kgdb-light, version -v10 (against Linus-latest), and can be pulled from: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-kgdb.git shortlog, diffstat and full patch can be found further below. in -v10 i have depleted Andi Kleen's (known ;) pool of last-minute correct (just like SysRq-B can hang) - in -v10 i've fixed this by it's a sensible check, it validates a remote-provided "tid" against the range we accept. (It's a bit superfluous as find_task_by_pid() ...
Feb 12, 4:27 am 2008
Andi Kleen
Re: [git pull] kgdb-light -v10
You don't even need systemtap: it has been always possible with gdb -write vmlinux /proc/kcore The only value add of the kgdb stub is really that you can single step too and do post mortem (although the later works fine using kdump/crash these days too) -Andi --
Feb 12, 1:16 pm 2008
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
You more or less just reverted the original patch - so it was obviously more reliable than introducing new stuff as the fix did. But we are at -r1 so I prefer to get the inteded behaviour and not the minmal fix. Sam --
Feb 12, 1:56 am 2008
Arjan van de Ven Feb 12, 8:14 am 2008
Oleg Verych
Re: [PATCH] kbuild: fix make V=1
And here comes "no comments" part. ______ --
Feb 12, 9:42 am 2008
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Hello Sam , Thank You . that got me past that error . 2.6.25-rc1 is compiling as I write this . Tnx Agn , JimL -- +------------------------------------------------------------------+ | James W. Laferriere | System Techniques | Give me VMS | | Network&System Engineer | 2133 McCullam Ave | Give me Linux | | babydr@baby-dragons.com | Fairbanks, AK. 99701 | only on AXP | +------------------------------------------------------------------+ --
Feb 11, 8:37 pm 2008
Mike Frysinger
Re: [PATCH] kbuild: fix make V=1
and by "arbitrary" you mean "like every other kconfig consumer". sounds=20 shell syntax is irrelevant. a bug was introduced and it was fixed. saying= a=20 bug existed is poor reasoning to introduce worse code. =2Dmike
Feb 12, 9:18 am 2008
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
The way we do this in other places in kbuild is a simple: $(if $($(quiet)chk_filechk),echo ' $($(quiet)chk_filechk)' And I think we should have done so originally here. Sam --
Feb 12, 1:01 pm 2008
Oleg Verych
Re: [PATCH] kbuild: fix make V=1
On Feb 12, 2008 4:07 PM, Mike Frysinger <vapier@gentoo.org> wrote: At least this will not crash, if you don't have some variable set. Efficiency there is lesser number of variables(-2 vs +2), that are copied Right. Seems like you are talking about "[quite_]cmd_*", which are commands. Here you've invented such rules for ordinary utility in `filechk`. And by try they've failed due to mixing functionality dependency on having arbitrary variable being set. Shell syntax tried to avoid this, ...
Feb 12, 8:49 am 2008
Mike Frysinger
Re: [PATCH] kbuild: fix make V=1
i dont see how yours is more efficient when it always runs echo. nor does = it=20 give the same behavior ... your propposed change will echo blank lines in t= he=20 silent mode which is incorrect. it also does not seem to follow the standa= rd=20 convention of other kconfig commands that have quiet/silent prefixes ... su= ch=20 commands do not define arguments to an unknown program/function, nor do the= y=20 add arbitrary redirection which gets leads to confusion as to final=20 expansion, ...
Feb 12, 8:07 am 2008
Ingo Molnar
[ata crash] Re: Linux 2.6.25-rc1
hm, ata_port_wait_eh() started crashing on a testsystem (8-way box): [ 39.324116] Calling initcall 0xc09f41eb: legacy_init+0x0/0x888() [ 39.331868] BUG: unable to handle kernel NULL pointer dereference at 000000e4 [ 39.338811] IP: [<c04a4e11>] ata_port_wait_eh+0x77/0xa2 [ 39.344115] *pde = 00000000 [ 39.347778] Oops: 0000 [#1] SMP [ 39.350769] [ 39.350769] Pid: 1, comm: swapper Not tainted (2.6.25-rc1 #5) [ 39.350769] EIP: 0060:[<c04a4e11>] EFLAGS: 00010246 CPU: 1 [ ...
Feb 12, 1:18 am 2008
Oleg Verych
Re: [PATCH] kbuild: fix make V=1
Processing below changes arguments, not semantics of generated shell code. And IMHO this is more reliable way of doing things. If one really wants silence without commonly accepted ">/dev/null 2>&1" practice, then choose portable "-n" argument for `echo`. - quiet_chk_filechk = echo ' CHK $@' -silent_chk_filechk = : - quiet_upd_filechk = echo ' UPD $@' -silent_upd_filechk = : +quiet_chk_filechk = ' CHK $@' +quiet_upd_filechk = ' UPD $@' + define filechk $(Q)set ...
Feb 12, 2:25 am 2008
Andrew Morton
Re: [PATCH] make /dev/kmem a config option
I think this should be `default y'. So that we don't cause /dev/kmem to magically disappear for `make oldconfig' users. --
Feb 11, 9:59 pm 2008
Arjan van de Ven
Re: [PATCH] make /dev/kmem a config option
On Mon, 11 Feb 2008 20:59:14 -0800 that's a matter of taste; nothing uses/needs it and I think people are better off without it (by default), but if you insist I can't object to that too much either. -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Feb 11, 10:16 pm 2008
Arjan van de Ven
Re: [PATCH] make /dev/kmem a config option
On Mon, 11 Feb 2008 14:38:04 -0800 it works great in hiding /dev/kmem ;) And since nothing uses that I didn't notice the other case. Updated patch below From: Arjan van de Ven <arjan@linux.intel.com> Subject: [PATCH] make /dev/kmem a config option This patch makes /dev/kmem a config option; /dev/kmem is VERY rarely used, and when used, it's generally for no good (rootkits tend to be the most common users). With this config option, users have the choice to disable /dev/kmem, saving some ...
Feb 11, 9:03 pm 2008
Rafael J. Wysocki
Re: [REGRESSION]fan turns at highspeed after suspend2ram
Ouch. I think I know what the problem is. On top of this patch, please apply the appended one and retest. Thanks, Rafael --- drivers/acpi/hardware/hwsleep.c | 1 + 1 file changed, 1 insertion(+) Index: linux-2.6/drivers/acpi/hardware/hwsleep.c =================================================================== --- linux-2.6.orig/drivers/acpi/hardware/hwsleep.c +++ linux-2.6/drivers/acpi/hardware/hwsleep.c @@ -566,6 +566,7 @@ acpi_status acpi_leave_sleep_state(u8 sl ...
Feb 12, 3:18 pm 2008
Rafael J. Wysocki
Re: [REGRESSION]fan turns at highspeed after suspend2ram
Ah, ok. Thanks for testing. :-) Can you please check if the current mainline with the following patch applied works on your box? Thanks, Rafael --- drivers/acpi/hardware/hwsleep.c | 1 + 1 file changed, 1 insertion(+) Index: linux-2.6/drivers/acpi/hardware/hwsleep.c =================================================================== --- linux-2.6.orig/drivers/acpi/hardware/hwsleep.c +++ linux-2.6/drivers/acpi/hardware/hwsleep.c @@ -616,6 +616,7 @@ acpi_status ...
Feb 12, 4:23 pm 2008
Mirco Tischler
Re: [REGRESSION]fan turns at highspeed after suspend2ram
Yes, that's it. This patch breaks things again. Thanks Mirco --
Feb 12, 3:05 pm 2008
Rafael J. Wysocki
Re: [REGRESSION]fan turns at highspeed after suspend2ram
OK, thanks. Since _GTS and _BFS don't seem to be defined in your box's BIOS, please try to apply the appended patch on top of the revert and see if that breaks things again. Thanks, Rafael --- drivers/acpi/hardware/hwsleep.c | 11 ----------- 1 file changed, 11 deletions(-) Index: linux-2.6/drivers/acpi/hardware/hwsleep.c =================================================================== --- linux-2.6.orig/drivers/acpi/hardware/hwsleep.c +++ ...
Feb 11, 5:13 pm 2008
Mirco Tischler
Re: [REGRESSION]fan turns at highspeed after suspend2ram
Good news. That works perfectly. Thanks Mirco --
Feb 12, 4:20 pm 2008
Benny Halevy
Re: bug in checkpatch (on pointers to typedefs?)
Confirmed with 0.14-8-g3737366. Thanks! Benny Oh, and I really liked the fact that you print the patch file name --
Feb 12, 1:21 am 2008
Andrew Morton
Re: 2.6.24-sha1: RIP [<ffffffff802596c8>] iov_iter_adva ...
On Sun, 10 Feb 2008 17:00:31 +0300 because this has me stumped. It might need bisecting, please. Nick, can you think of anything around there which we changed? --
Feb 12, 3:04 pm 2008
Alexey Dobriyan
Re: 2.6.24-sha1: RIP [<ffffffff802596c8>] iov_iter_adva ...
It's a trivial dumb module which does nothing but loads and unloads. I redid ftest03 later without any suspicious activity and it oopsed the --
Feb 12, 3:27 pm 2008
Marcin Slusarz Feb 12, 11:26 am 2008
Jan Kara
Re: udf regression: broken directory handling
<snip testing> Argh, I've submitted an old version of the patch missing changes in dir.c. Below is the missing hunk. Does UDF work for you with it? Honza -- Jan Kara <jack@suse.cz> SUSE Labs, CR --- Patch cleaning up UDF directory offset handling missed modifications in dir.c (because I've submitted an old version :(). Fix it. Signed-off-by: Jan Kara <jack@suse.cz> diff --git a/fs/udf/dir.c b/fs/udf/dir.c index 4b44e23..8d8643a 100644 --- a/fs/udf/dir.c +++ ...
Feb 12, 4:39 am 2008
Andrew Morton
Re: [PATCH] xfs: convert beX_add to beX_add_cpu (new com ...
On Sun, 10 Feb 2008 11:18:09 +0100 This is identical to what I already had. --
Feb 12, 3:32 pm 2008
Ron Mercer
RE: [PATCH resend] qla3xxx: convert byte order of consta ...
Thanks Acked-by: Ron Mercer <ron.mercer@qlogic.com> --
Feb 12, 4:36 pm 2008
Steven Rostedt
Re: [10/19] ftrace: add basic support for gcc profiler i ...
It is, but is hidden in the Kconfig. I moved it to Kconfig as it was recommended to me because it is cleaner to do it there. Two patches later: +config FTRACE + bool "Kernel Function Tracer" + depends on DEBUG_KERNEL && HAVE_FTRACE + select FRAME_POINTER -- Steve --
Feb 11, 5:36 pm 2008
Christoph Hellwig
Re: acpi dsts loading and populate_rootfs
[skipping the populate_rootfs discussion as it seems you have a better handle on that than me] Sorry, I misparsed the comment. I took it for the usual I'm too lazy to put something that could load firmware into initramfs excuse. But thinking about it is there a reason acpi initialization needs to happen so early that we can't even have userspace in initramfs running? But if we can't use real userspace this could should at least be written like the pseudo-userspace in init/do_mounts*.c, ...
Feb 11, 10:37 pm 2008
Artem Bityutskiy
Re: [PATCH] Silent compiler warning introduced by commit ...
Thanks, applied to UBI git with Minor changes, will send git-pull request shortly. Please, note that my e-mail address is not dedekind@linutronix.de, see MAINTAINERS. -- Best Regards, Artem Bityutskiy (Артём Битюцкий) --
Feb 12, 2:33 am 2008
Nishanth Aravamudan
Re: 2.6.24-git20 -- BUG: sleeping function called from i ...
Does this not happen with the patch reverted? I'd be really surprised if this had any effect on your fans... You could always just revert the patch you bisected down to from 2.6.24-git20 (it just closes a race in hugetlbfs code, which you're not going to hit with the commands below), Nor am I. You might be able to bisect it down by just putting # CONFIG_HUGETLBFS is no set in your .config and seeing where it was introduced, that will avoid the sysctl that had the BUG ...
Feb 11, 10:16 pm 2008
Miles Lane
Re: 2.6.24-git20 -- BUG: sleeping function called from i ...
I don't believe it is related to this patch, but while testing, I tried running "find /proc | xargs cat" and "find /proc | xargs head" and "find /proc | xargs tail" and "ls -aR /" all at once. Everything seemed to be running great. Firefox continued to be highly responsive. I did notice that one of the command line processes had stopped scrolling text. After sending my approval message just now, I killed all the command line processes. Then I noticed that the frequency scaling monitor ...
Feb 11, 9:17 pm 2008
Miles Lane
Re: 2.6.24-git20 -- BUG: sleeping function called from i ...
Excellent. Your patch fixed it for me. Thanks, Miles --
Feb 11, 8:57 pm 2008
Andrew Morton
Re: [PATCH 4/8][for -mm] mem_notify v6: memory_pressure_ ...
On Sun, 10 Feb 2008 00:24:28 +0900 This seems rather arbitrary. Why choose this stage in the page reclaimation process rather than some other stage? If this feature is useful then I'd expect that some applications would want notification at different times, or at different levels of VM distress. So this semi-randomly-chosen notification point just won't be strong enough in real-world use. Does this change work correctly and appropriately for processes which are running in a cgroup memory ...
Feb 12, 3:56 pm 2008
Thomas Gleixner
Re: [PATCH] [1/5] Only do century BCD conversion when we ...
And how exaclty does it work around ? By setting the binary cmos clock I'm not opposing the patch, I merily asked for a removal of the never Picked the whole lot up. Thanks, tglx --
Feb 12, 1:36 pm 2008
Tvrtko A. Ursulin
Re: One minute delay when booting 2.6.24.1
This seemed to slipped everyone's attention so I took the liberty of copying a couple of you guys. I don't know better than to guess it could something to do with timers or scheduling so apologies if you are not the right people. As said in my previous reply it is a real ~60 second delay early in the boot process with some logs attached in my initial report. Thanks, Tvrtko --
Feb 12, 1:33 am 2008
Mike Galbraith
Re: Scheduler(?) regression from 2.6.22 to 2.6.24 for sh ...
There is a strong dependency on execution order in this testcase. Between cpu affinity and giving the child a little head start to reduce the chance (100% if child wakes on same CPU and doesn't preempt parent) of busy wait, modified testcase behaves. I don't think I should need the CPU affinity, but I do. If you plunk a usleep(1) in prior to calling thread_func() does your testcase performance change radically? If so, I wonder if the real application has the same kind of ...
Feb 12, 2:23 am 2008
Mike Galbraith
Re: Scheduler(?) regression from 2.6.22 to 2.6.24 for sh ...
Yes, I'm wondering the same. With latest git, ~400 usec work units suffice to achieve overlap (on my P4/HT), whereas all other kernels tested require several milliseconds. -Mike --
Feb 11, 9:30 pm 2008
Andrew Morton
Re: [PATCH 2/4] acpi: change cpufreq tables to per_cpu v ...
On Fri, 08 Feb 2008 15:37:40 -0800 I fixed a bunch of rejects in "[PATCH 1/4] cpufreq: change cpu freq tables to per_cpu variables" and it compiles OK. But this one was beyond my should-i-repair-it threshold, sorry. --
Feb 12, 4:33 pm 2008
Tziporet Koren
Re: [ofa-general] Re: [PATCH] mlx4: fix build break
We OFED on PPC - not clear how this happened We will check our process again Tziporet --
Feb 11, 10:30 pm 2008
Jack Morgenstein
Re: [PATCH] mlx4: fix build break
It did not sneak through, because the problem does not exist in the OFED git. The following commit was performed to git://git.openfabrics.org/ofed_1_3/linux-2.6.git on Sept 25, 2007: ======================================= commit 4a5709b81dfd249c98271801ddc01decb7acd466 Author: Eli Cohen <eli@mellanox.co.il> Date: Tue Sep 25 12:41:30 2007 +0200 add missing include file. ia64 requires it. Signed-off-by: Eli Cohen <eli@mellanox.co.il> diff --git a/drivers/net/mlx4/alloc.c ...
Feb 12, 12:43 am 2008
Matt Mackall
Re: [PATCH] x86 (Linux Tiny): configure out support for ...
I like the idea of making a generalized hook section. But this is a bit burdensome for Michael's little patch (unless you have time to whip something up) so I think we should probably explore it separately. -- Mathematics is the supreme nostalgia of our time. --
Feb 11, 6:15 pm 2008
H. Peter Anvin
Re: [PATCH] x86 (Linux Tiny): configure out support for ...
c) is out, because this has to be executed after the early generic code and before the late generic code. b) would be my first choice, and yes, it would be a good thing to have a generalized mechanism for this. For the registrant, it's pretty easy: just add a macro that adds a pointer to a named section. We then need a way to get the base address and length of each such section in order to be able to execute each function in sequence. -hpa --
Feb 11, 5:54 pm 2008
Christoph Hellwig
Re: [RFC][PATCH 00/30] Read-only bind mounts (-mm resend)
Dave, you you please send this on to Linus ASAP? It's getting really late in the .25 circle. --
Feb 11, 10:06 pm 2008
Roland Dreier
Re: [ofa-general] Re: Demand paging for memory regions
> > Chelsio's T3 HW doesn't support this. > Not so far I guess but it could be equipped with these features right? I don't know anything about the T3 internals, but it's not clear that you could do this without a new chip design in general. Lot's of RDMA devices were designed expecting that when a packet arrives, the HW can look up the bus address for a given memory region/offset and place the packet immediately. It seems like a major change to be able to generate a "page fault" ...
Feb 12, 3:41 pm 2008
Jason Gunthorpe
Re: [ofa-general] Re: Demand paging for memory regions
Well, certainly today the memfree IB devices store the page tables in host memory so they are already designed to hang onto packets during the page lookup over PCIE, adding in faulting makes this time larger. But this is not a good thing at all, IB's congestion model is based on the notion that end ports can always accept packets without making input contigent on output. If you take a software interrupt to fill in the page pointer then you could potentially deadlock on the fabric. For ...
Feb 12, 4:23 pm 2008
Steve Wise
Re: Demand paging for memory regions (was Re: MMU Notifi ...
Chelsio's T3 HW doesn't support this. Steve. --
Feb 12, 3:01 pm 2008
Christoph Lameter
Re: Demand paging for memory regions (was Re: MMU Notifi ...
Not so far I guess but it could be equipped with these features right? Having the VM manage the memory area for Infiniband allows more reliable system operations and enables the sharing of large memory areas via Infiniband without the risk of livelocks or OOMs. --
Feb 12, 3:10 pm 2008
Greg KH
Re: REPOST: [PATCH] Add iSCSI iBFT support (v0.4.7)
That's really broken then. Common i386 boxes these days have multiple PCI domains, it's not all that uncommon at all. I'm guessing that bad things would happen if you picked the wrong pci I think the spec needs to be fixed. Or at least clarified (is it domain 0 only?) thanks, greg k-h --
Feb 11, 5:45 pm 2008
H. Peter Anvin
Re: REPOST: [PATCH] Add iSCSI iBFT support (v0.4.7)
Yes, but common x86 boxes can't *boot* from anything but domain 0 (in particular, the domain which the cf8/cfc registers on the boot processor activate.) -hpa --
Feb 11, 5:56 pm 2008
Andrew Morton
Re: [PATCH 1/1] NBD: make nbd default to deadline I/O sc ...
On Sat, 09 Feb 2008 08:30:40 -0500 afacit elevator_init() will not trigger a request_module(). And you really do want to trigger the request_module() here. Perhaps the block layer should provide a means of doing so? --
Feb 12, 4:16 pm 2008
Andrew Morton
Re: [PATCH 4/4] KEYS: Add keyctl function to get a secur ...
On Fri, 08 Feb 2008 16:04:40 +0000 This check looks a wee bit racy? --
Feb 12, 4:51 pm 2008
Andrew Morton
Re: [PATCH 2/4] KEYS: Check starting keyring as part of search
On Fri, 08 Feb 2008 16:04:29 +0000 time_after()? --
Feb 12, 4:47 pm 2008
Ben Dooks
Re: [PATCH] sm501: Add uart support
Looks fine, will add to my set of SM501 changes to keep track of things ready for the next kernel release window. -- Ben (ben@fluff.org, http://www.fluff.org/) 'a smiley only costs 4 bytes' --
Feb 12, 4:51 am 2008
Ingo Molnar
Re: [PATCH 1/2] acer-wmi - Fail gracefully if ACPI is disabled
test results: i've turned the WMI options back on earlier today on latest -git which has your patch above, and those crashes i reported disappeared. So the problem is fixed. Ingo --
Feb 12, 8:12 am 2008
Linus Torvalds
Re: [PATCH 1/2] acer-wmi - Fail gracefully if ACPI is disabled
Shouldn't "wmi_has_guid()" just return false if ACPI isn't enabled, and the drivers should just then always give up? The proper way to get there would seem to be to just do this instead.. We should *not* add some random ACPI workarounds to individual drivers, we should just make the wmi subsystem so robust that nobody *cares* if acpi exists or is enabled on that machine. Linus --- drivers/acpi/wmi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git ...
Feb 11, 9:41 pm 2008
Carlos Corbacho
Re: [PATCH 1/2] acer-wmi - Fail gracefully if ACPI is disabled
Yes - that's a better fix. -Carlos -- E-Mail: carlos@strangeworlds.co.uk Web: strangeworlds.co.uk GPG Key ID: 0x23EE722D --
Feb 12, 12:28 pm 2008
Artem Bityutskiy
Re: UBI: add mtd_num sysfs attribute
Ok, added your ack and sent a git-pull request to Linus (Subject: [GIT-PULL] UBI updates) -- Best Regards, Artem Bityutskiy (Артём Битюцкий) --
Feb 12, 2:43 am 2008
Bartlomiej Zolnierki ...
Re: [PATCH 00/18] ide: warm-plug support for IDE devices ...
Neither of these things exist at the moment so lets stick to the existing code which is scheduled for 2.6.26 and which finally allows removal of ppc specific ide hacks from arch/{powerpc,ppc} (500 LOC gone, patches to be posted this week), not to mention other nice changes in the future... Thanks, Bart --
Feb 12, 2:54 pm 2008
Gabriel Paubert
Re: [PATCH 00/18] ide: warm-plug support for IDE devices ...
Argh, the first bisect point ended up with timeouts on hdb... Flagged as bad, to try to see when the problems started, but I suspect that there are several. Gabriel --
Feb 12, 5:30 am 2008
Benjamin Herrenschmidt
Re: [PATCH 00/18] ide: warm-plug support for IDE devices ...
Pegasos doesn't use the pmac ide which is what we were discussing. It uses a VIA IDE which uses a normal PRD table. So something else must have broken... Ben. --
Feb 12, 1:59 pm 2008
Benjamin Herrenschmidt
Re: [PATCH 00/18] ide: warm-plug support for IDE devices ...
Heh :-) Recent powermacs are trivial to open ! But yeah, I do need to produce a driver for libata one of these days. On my todo list ... Cheers, Ben. --
Feb 12, 3:00 pm 2008
Gabriel Paubert
Re: [PATCH 00/18] ide: warm-plug support for IDE devices ...
Well, I have serious problem on a Pegasos which appeared some time between 2.6.24 and 2.6.25-rc1: at boot I get an infinite string of hdb: empty DMA table? I'm trying to bisect it right now. --
Feb 12, 4:49 am 2008
Benjamin Herrenschmidt
Re: [PATCH 00/18] ide: warm-plug support for IDE devices ...
Also, the above would have the advantage of not relying on drivers/ide infrastructure, and thus working with libata (once somebody has ported pmac ide to libata). Ben. --
Feb 12, 2:04 pm 2008
Alan Cox
Re: [PATCH 00/18] ide: warm-plug support for IDE devices ...
On Wed, 13 Feb 2008 08:04:07 +1100 Unfortunately you need a degree in dentistry to open a Macintosh up and fix it otherwise we would have support by now. Alan --
Feb 12, 2:41 pm 2008
Greg Ungerer
Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM ...
I would agree that it means disabling 16-bit NOR flash, but the 8-bit case should be fine right? A complete disable of MTD seems like overkill. A more fine grained approach would be better. Regards Greg ------------------------------------------------------------------------ Greg Ungerer -- Chief Software Dude EMAIL: gerg@snapgear.com Secure Computing Corporation PHONE: +61 7 3435 2888 825 Stanley St, FAX: +61 7 ...
Feb 11, 6:51 pm 2008
Jeremy Higdon
Re: IO queuing and complete affinity with threads (was R ...
So what you want is all XFS processing (for a given filesystem, presumably) on a limited set of cores (ideally 1) and all block and SCSI processing (for a given device) on a similarly limited set. On Altix, that was far more important than having the interrupt and issue CPU be close to the hardware -- at least with typical LSI or Qlogic controllers where there are only one or two MMIO reads per command issued, and completions can be stacked up. There is still an advantage to being close to ...
Feb 12, 1:28 am 2008
Neil Horman
Re: [PATCH], issue EOI to APIC prior to calling crash_ke ...
Hey- Some intermediate results: I've instrumented head.S in the kernel with the following code: #define SEROUT(z) \ mov $0x3F8,%dx;\ movb z,%al;\ outb %dx And peppered different ascii characters throughout the startup code from startup_32 to right before the jump to start_kernel. When I panic the system via an: echo c > /proc/sysrq_trigger I see an appropriate sequence of characters on the serial console When I panic the box by forcing an NMI watchdog timeout however, I ...
Feb 12, 2:08 pm 2008
Jan Engelhardt
Re: BTRFS partition usage...
Ok you do have a point there. The GPT users win of course, since it uses LBA, not cyls, so the number of lost bytes is generally below a cyl. On the other hand, the H and S of CHS could be lowered and S increased, e.g. divide H by 2, divide S by 2, multiply S by 4. This gives a finer Well it was designed for a different system initially with a different style of booting. --
Feb 12, 4:39 pm 2008
Chris Mason
Re: BTRFS partition usage...
Will all the users in the world who think about super block location when they partition their disks please raise their hands? The location of the super block needs to be very simple in order for mount and friends to find and detect it. It needs a simple algorithm to try multiple locations in case a given copy of the super is corrupt. Design in this case is a bunch of compromises around other users of the hardware, ease of programming, and the benefits in performance or usability IO ...
Feb 12, 9:17 am 2008
David Miller
Re: BTRFS partition usage...
From: Jan Engelhardt <jengelh@computergmbh.de> You cannot specify partitions on LBA boundaries on sparc, the Sun disk label specifies the partition start points in cylinders. --
Feb 12, 4:34 pm 2008
David Miller
Re: BTRFS partition usage...
From: Chris Mason <chris.mason@oracle.com> Starting at 0 is a bad idea because otherwise you'll waste significant chunks of your disk on Sparc because of reasons I've outlined in other replies. What XFS does is really unfortunate, let's learn from it's mistake. --
Feb 12, 4:35 pm 2008
David Miller
Re: BTRFS partition usage...
From: Chris Mason <chris.mason@oracle.com> Sure. --
Feb 12, 1:50 pm 2008
David Miller
Re: [ANNOUNCE] Btrfs v0.12 released
From: Chris Mason <chris.mason@oracle.com> This is really problematic, because you've got these things called "btrfs_item_ptr()" which really isn't a pointer, it's a relative 'unsigned long' offset cast to a pointer. The source of this seems to be btrfs_leaf_data(). And then those things get passed down into the SETGET functions! Then deeper down we have terribly inconsistent things like btrfs_item_nr_offset() and btrfs_item_offset_nr(). Sigh... I'll see what I can do. --
Feb 11, 11:43 pm 2008
David Miller
CRC32C big endian bugs...
The CRC32C implementation in the btrfs progs is different from the one in the kernel, so obviously nothing can possibly work on big-endian. This is getting less and less fun by the minute, I simply wanted to test btrfs on Niagara :-/ Here is a patch to fix that: --- vanilla/btrfs-progs-0.12/crc32c.c 2008-02-06 08:37:45.000000000 -0800 +++ btrfs-progs-0.12/crc32c.c 2008-02-12 01:19:33.000000000 -0800 @@ -91,13 +91,11 @@ static const u32 crc32c_table[256] = { * crc using table. */ ...
Feb 12, 2:23 am 2008
David Miller
BTRFS partition usage...
Filesystems like ext2 put their superblock 1 block into the partition in order to avoid overwriting disk labels and other uglies. UFS does this too, as do several others. One of the few exceptions I've been able to find is XFS. This is a real issue on sparc where the default sun disk labels created use an initial partition where block zero aliases the disk label. It took me a few iterations before I figured out why every btrfs make would zero out my disk label :-/ --
Feb 12, 12:21 am 2008
Chris Mason
Re: BTRFS partition usage...
It was a request from hpa, and he clearly had something in mind. He kindly offered to review the disk format for bootloaders and other lower level issues but I asked him to wait until I firm it up a bit. From my point of view, 0 is a bad idea because it is very likely to conflict with other things. There are lots of things in the FS that need deep thought,and the perfect system to fully use the first 64k of a 1TB filesystem isn't quite at the top of my list right now ;) Regardless of ...
Feb 12, 7:35 am 2008
David Miller
Re: BTRFS partition usage...
From: Chris Mason <chris.mason@oracle.com> The Sun disk label sits in the first 512 bytes and the boot loader block sits in the second 512 bytes. I think leaving even more space is a good idea for several reasons. --
Feb 12, 4:33 pm 2008
David Miller
Re: BTRFS partition usage...
From: David Miller <davem@davemloft.net> Actually it seems this is only a problem with mkfs.btrfs, it clears out the first 64 4K chunks of the disk for whatever reason. The following patch cures the disk label spamming problem for me: --- vanilla/btrfs-progs-0.12/mkfs.c 2008-02-06 08:37:45.000000000 -0800 +++ btrfs-progs-0.12/mkfs.c 2008-02-12 00:07:43.000000000 -0800 @@ -210,7 +210,8 @@ int main(int ac, char **av) exit(1); } memset(buf, 0, sectorsize); - for(i = 0; i < 64; i++) ...
Feb 12, 1:11 am 2008
Chris Mason
Re: BTRFS only works with PAGE_SIZE <= 4K
Grin, I think around v0.4 I grabbed a ppc box for a day and got things working. There has been some churn since then... My first prio is the newest set of disk format changes, and then I'll sit down Many thanks, I'll try these out here and push them into the tree. -chris --
Feb 12, 3:03 pm 2008
Chris Mason
Re: BTRFS partition usage...
It is a good idea to remove supers from other filesystems. I also need to add zeroing at the end of the device as well. Looks like I misread the e2fs zeroing code. It zeros the whole external log device, and I assumed it also zero'd out the start of the main FS. So, if Btrfs starts zeroing at 1k, will that be acceptable for you? -chris --
Feb 12, 6:49 am 2008
Chris Mason
Re: [ANNOUNCE] Btrfs v0.12 released
Explaining it won't make it pretty, but at least I can tell you what the code does. This is all part of the btrfs code that supports tree block sizes larger than a page. The extent_buffer code (extent_io.c) provides a read/write api into an extent_buffer based on offsets from the start of the multi-page buffer. That's where the relative unsigned long comes from. The part where I cast it to pointers is me trying to maintain type checking throughout the code. The pointers themselves ...
Feb 12, 6:43 am 2008
David Miller
Re: BTRFS partition usage...
From: Jan Engelhardt &lt;jengelh@computergmbh.de&gt; You actully do unless you want to lose significant chunks of your disk space. The Sun disk label only allows you to specify the start of a partition in cylinders, so if you want to use a filesystem like XFS you have to start the partition on cylinder 1 which can be many blocks into the disk. That entire first cylinder is completely wasted. What XFS does by putting the superblock at zero is simply does not take these kinds of issues into ...
Feb 12, 4:26 pm 2008
Jan Engelhardt
Re: BTRFS partition usage...
&gt; I still don't like the idea of btrfs trying to be smarter than a user who can partition up his system according to (a) his likes (b) system or hardware requirements or recommendations to align the superblock to a specific location. 1MB alignment does not always mean 1MB alignment. Sector 1 begins at 0x7e00 on x86. And with the maximum CHS geometry (255/63), partitions begin at 0x7e00+n*8225280 bytes, so the SB is unlikely to ever be on a 1048576 boundary. --
Feb 12, 8:04 am 2008
David Miller
Re: BTRFS partition usage...
From: Jan Engelhardt &lt;jengelh@computergmbh.de&gt; All of your beliefs are unfortunately without the understanding of restrictions that exist in several partition layouts such as the Sun disk label one. You have to start the superblock somewhere other than zero or else you lose a huge chunk of your disk, and furthermore a zero based partition is what all of the Sun disk label creating programs make by default. &quot;I make a default disk label, I put btrfs or XFS on there, my disk label is ...
Feb 12, 4:38 pm 2008
David Miller
Re: BTRFS partition usage...
From: Jan Engelhardt &lt;jengelh@computergmbh.de&gt; So that existing superblocks on the partition won't be interpreted as correct by other filesystems. It's No, we won't do stupid things like that and make an entire cylinder of our disks unusable. See my other reply. --
Feb 12, 4:28 pm 2008
Jan Engelhardt
Re: BTRFS partition usage...
x86 MSDOS partition table layout starts counting with sector 1, which is (not so intuitively) starting at 0x7e00 (and there's no sector 0, probably for safety). Well, each ptable format with its own quirks. --
Feb 12, 4:42 pm 2008
Jan Engelhardt
Re: BTRFS partition usage...
Something looks wrong here. Why would btrfs need to zero at all? Superblock at 0, and done. Just like xfs. (Yes, I had xfs on sparc before, so it's not like you NEED the whitespace at the start of a partition.) --
Feb 12, 7:00 am 2008
David Miller
BTRFS only works with PAGE_SIZE <= 4K
From: Chris Mason &lt;chris.mason@oracle.com&gt; Any page size larger than 4K will not work with btrfs. All of the extent stuff assumes that PAGE_SIZE &lt;= sectorsize. I confirmed this by forcing mkfs.btrfs to use an 8K sectorsize on sparc64 and I was finally able to successfully mount a partition. With 4K there are zero's in the root tree node header, because it's extent's location on disk is at a sub-PAGE_SIZE multiple and the extent code doesn't handle that. You really need to start ...
Feb 12, 2:55 pm 2008
Jan Engelhardt
Re: BTRFS partition usage...
In x86, there is even more space for a bootloader (some 28k or so) even if your partition table is as closely packed as possible, from 0 to 7e00 IIRC. For sparc you could have something like startlba endlba type sda1 0 2 1 Boot sda2 2 58 3 Whole disk sda3 58 90000 83 Linux and slap the bootloader into &quot;MBR&quot;, just like on x86. Or I am missing something.. --
Feb 12, 7:21 am 2008
Chris Mason
Re: BTRFS partition usage...
I've had requests to move the super down to 64k to make room for bootloaders, which may not matter for sparc, but I don't really plan on different locations for different arches. 4k aligned is important given that sector sizes are growing. -chris --
Feb 12, 7:08 am 2008
Kamalesh Babulal
Re: 2.6.26-git0: IDE oops during boot
Hi Bart, Thanks !! the patch solves the kernel panic but when after applying the patch,kernel is not able to mount the filesystem and panics, am i not sure what is likely causing the panic. Creating root device. Mounting root filesystem. mount: could not find filesystem Kernel panic - not syncing: Attempted to kill init! -- Thanks &amp; Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL. --
Feb 12, 2:04 am 2008
David Miller
Re: more iommu sg merging fallout
From: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt; Please look at Linus's current tree, I believe I have things in a working state, and the DMA mask portions should be easier to add now. --
Feb 11, 10:40 pm 2008
Pete Zaitcev
Re: [2.6.24 REGRESSION] BUG: Soft lockup - with VFS
Good question. It's an eyesore to be sure. The duplication exists for the sake of retries combined with the separation of requests from commands. Please bear with me, if you're curious: commands can be launched without requests (at probe time, for instance, or when sense is requested). So, they need an s/g table. But then, the lifetime of a request is greater than than of a command, in case of a retry especially. Therefore a request needs the s/g table too. So, one way to kill this ...
Feb 11, 7:12 pm 2008
FUJITA Tomonori
Re: [2.6.24 REGRESSION] BUG: Soft lockup - with VFS
On Fri, 8 Feb 2008 23:46:19 -0800 I guess I can put the blame for this on Jens' commit (45711f1a) ;) On a serious note, it seems that two scatter lists per request leaded to this bug. Can the scatter list in struct ub_request be removed? --
Feb 11, 6:46 pm 2008
Ross Vandegrift
Re: [PATCH] Add IPv6 support to TCP SYN cookies
Sorry for the delay in getting back to you on this Andi. Here's a breakdown for each attack of the pps and bandwidth: packets/s Mb/s 380 0.182 715 0.343 1193 0.572 16460 7.896 The first three tests were done with some fixed delay inbetween syn Jitter on both ends makes it worse. Jitter only on the syn flooder end behaves approximately the same. If I add jitter to both the flooder and the target with: tc qdisc add dev eth0 root netem delay 50ms 100ms distribution normal I ...
Feb 12, 1:38 pm 2008
Gregor Radtke
Re: [PATCH] pata_cs5536 Fix secondary port configuration
boots! For some reason, i had to apply it by hand (to 2.6.24.2), and i was too stupid to examine how to produce a new patch. Looks like i have to read the documentation at kernelnewbies.org... Anyway, the patch fits perfectly and now UDMA/33 (due to 40wire-cable, vendor says UDMA/100 should work either) on a HDD using pata_cs5536 just works =3D) --=20 Jabber: elch@ein-elch.de PGP: 0x63FC728D Tel: 0170/238 30 53 http://www.g-radtke.name
Feb 12, 4:17 pm 2008
Martin K. Petersen
[PATCH] pata_cs5536 Fix secondary port configuration
Gregor&gt; hmm.. boots perfectly, of course somewhat slow. dmesg output: Brown paper bag time. My devel board has a 16MB 1st generation compact flash on the secondary so I never noticed this was hosed. Please try the following patch... -- Martin K. Petersen Oracle Linux Engineering Fix speed negotiation for slave device. Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt; --- diff -r 9f5ca67cc28f drivers/ata/pata_cs5536.c --- a/drivers/ata/pata_cs5536.c Mon Feb 11 ...
Feb 12, 7:37 am 2008
Russell Leidich
Re: [PATCH] Remove Barcelona Thermal Throttling
All, Sorry this took so long. I have attached the Kconfig changes requested by Andi, appended to the original patch. -- Russell Leidich
Feb 12, 12:21 pm 2008
Jarod Wilson
Re: [PATCH 9/9] firewire: fw-sbp2: fix I/O errors during ...
I didn't see anything else earlier on that guaranteed we got the current generation in both cases, but I didn't look exhaustively, and you know this code a lot better than I do, so I definitely defer to your better Gotcha. So basically, a temporary table of devices recently &quot;removed&quot;, which will expire to full/actual removal after some relatively short interval, but which we'll also check for matches of &quot;newly&quot; connected devices to see if we should cancel removing the device and just ...
Feb 11, 10:07 pm 2008
Stefan Richter
Re: [PATCH 6/9] firewire: fw-sbp2: don't add scsi_device twice
PS: This behavior is undocumented and we shouldn't rely on it. -- Stefan Richter -=====-==--- --=- -==-- http://arcgraph.de/sr/ --
Feb 12, 1:55 am 2008
Stefan Richter
Re: [PATCH 9/9] firewire: fw-sbp2: fix I/O errors during ...
I am not aware of any. The hardware related parts of the 1394a PHY layer spec have AFAIR enhancements over 1394-1995 to avoid bursts of bus reset events when connectors scrape into or out of the ports. But what I saw on a few occasions now were proper self ID complete events, not merely bus reset events. (The firewire stack only cares for self ID complete, therefore multiple bus reset events before one self ID complete event aren't a problem in the first place. I don't know though whether ...
Feb 12, 1:01 am 2008
Luben Tuikov
Re: [PATCH] enclosure: add support for enclosure services
And I agree wholeheartedly with Kristen. Luben --
Feb 12, 12:45 pm 2008
Kristen Carlson Accardi
Re: [PATCH] enclosure: add support for enclosure services
On Mon, 4 Feb 2008 18:01:36 -0800 (PST) Hi, I apologize for taking so long to review this patch. I obviously agree wholeheartedly with Luben. The problem I ran into while trying to design an enclosure management interface for the SATA devices is that there is all this vendor defined stuff. For example, for the AHCI LED protocol, the only &quot;defined&quot; LED is 'activity'. For LED2 and LED3 it is up to hardware vendors to define these. For SGPIO there's all kinds of ways for hw vendors to ...
Feb 12, 11:22 am 2008
Kristen Carlson Accardi
Re: [PATCH] enclosure: add support for enclosure services
On Tue, 12 Feb 2008 12:45:35 -0600 You are sort of wrong. we exposed a sysfs entry to enable sofware controlled activity LED, then the driver was responsible for turning it I understand what you are trying to do - I guess I just doubt the value you've added by doing this. I think that there's going to be so much customization that system vendors will want to add, that they are going to wind up adding a custom library regardless, so standardising those few things won't buy us anything. --
Feb 12, 12:07 pm 2008
James Bottomley
Re: [PATCH] enclosure: add support for enclosure services
Correct me if I'm wrong, but didn't the original AHCI enclosure patch expose activity LEDs via sysfs? I'm not saying there aren't a lot of non standard pieces that need to be activated by direct commands or other user activated protocol. I am saying there are a lot of standard pieces that we could do with showing in a uniform manner. The pieces I think are absolutely standard are 1. Actual enclosure presence (is this device in an enclosure) 2. Activity LED, this seems to be a feature of ...
Feb 12, 11:45 am 2008
James Bottomley
Re: [PATCH] enclosure: add support for enclosure services
It depends ... if you actually have a use for the customisations, yes. If you just want the basics of who (what's in the enclousure), what (activity) and where (locate) then I think it solves your problem almost entirely. So, entirely as a straw horse, tell me what else your enclosures provide that I haven't listed in the four points. The SES standards too provide a huge range of things that no-one ever seems to implement (temperature, power, fan speeds etc). I think the users of ...
Feb 12, 12:28 pm 2008
KOSAKI Motohiro
Re: [PATCH for 2.6.24][regression fix] Mempolicy: silent ...
Oh, you think below reason is not enough, really? 1. it is regression. 2. it is very easy reprodusable on memoryless node machine. if so, i back down on my backport reclaim. I don't hope increase your headache ;-) thanks. -kosaki --
Feb 12, 6:18 am 2008
Andrew Morton
Re: [PATCH for 2.6.24][regression fix] Mempolicy: silent ...
As it's now post -rc1 and not a 100% obvious thing, I tend to hang onto such patches for a week or so before sending up to Linus Should this be backported to 2.6.24.x? If so, the reasons for such a relatively stern step should be spelled out in the changelog for the -stable maintiners to evaluate. Thanks. --
Feb 11, 10:07 pm 2008
David Rientjes
Re: [PATCH for 2.6.24][regression fix] Mempolicy: silent ...
Linus has already merged this patch into his tree, but next time you pass along a contribution to a maintainer the first line should read: From: Lee Schermerhorn &lt;Lee.Schermerhorn@hp.com&gt; so the person who actually wrote the patch is listed as the author in the git commit. --
Feb 11, 10:06 pm 2008
KOSAKI Motohiro
[PATCH for 2.6.24][regression fix] Mempolicy: silently r ...
Hi Andrew # this is second post of the same patch. this is backport from -mm to mainline. original patch is http://marc.info/?l=linux-kernel&amp;m=120250000001182&amp;w=2 my change is only line number change and remove extra space. please ack. ============================ [PATCH] 2.6.24 - mempolicy: silently restrict nodemask to allowed nodes V2 -&gt; V3: + As suggested by Kosaki Motohito, fold the &quot;contextualization&quot; of policy nodemask into mpol_check_policy(). Looks a little cleaner. ...
Feb 11, 9:30 pm 2008
Tejun Heo
Re: [PATCH #upstream] libata: implement libata.force mod ...
Jeff, this no longer causes build failure whether libata is configured built-in or as a module. I have no idea what's going on but there doesn't seem to be a proper solution on the horizon yet. I think we can go ahead and commit this one and convert it to __initdataconst when it becomes available. Thanks. -- tejun --
Feb 12, 2:07 am 2008
Tejun Heo Feb 11, 5:24 pm 2008
Boaz Harrosh
[BUGFIXES 0/2] gdth: fix 2.6.24 driver breakage
&lt;snip&gt; With the kind help of: Joerg Dorchain: &lt;joerg@dorchain.net&gt; Jon Chelton &lt;jchelton@ffpglobal.com&gt; Stefan Priebe &lt;s.priebe@allied-internet.ag&gt; Which let me take up their machines their effort and their time I hope I'm able to fix the gdth driver for the 2.6.24 kernel and forward. Actually it was a simple miss by Christoph, but with my inexperience it took me a bisection and a while to get it. Both Joerg, and Stefan where able to boot with these patches and work on their ...
Feb 12, 10:30 am 2008
Christoph Hellwig
Re: [BUGFIX 1/2] gdth: scan for scsi devices
Doh, someone please hand me a brown paper bag. My first series of patches had this but it got dropped when I rebased it over various janitor cleanups. The patch looks obviously correct, thanks. --
Feb 12, 11:05 am 2008
Boaz Harrosh
[BUGFIX 2/2] gdth: bugfix for the Timer at exit crash
gdth _exit would first remove all cards then stop the timer and would not sync with the timer function. This caused a crash in gdth_timer() when module was unloaded. del_timer_sync the timer before we delete the cards. NOT YET TESTED Signed-off-by: Boaz Harrosh &lt;bharrosh@panasas.com&gt; --- drivers/scsi/gdth.c | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index 8eb78be..103280e 100644 --- ...
Feb 12, 10:40 am 2008
Boaz Harrosh
[BUGFIX 1/2] gdth: scan for scsi devices
The patch: &quot;gdth: switch to modern scsi host registration&quot; missed one simple fact when moving a way from scsi_module.c. That is to call scsi_scan_host() on the probed host. With this the gdth driver from 2.6.24 is again able to see drives and boot. Signed-off-by: Boaz Harrosh &lt;bharrosh@panasas.com&gt; Tested-by: Joerg Dorchain: &lt;joerg@dorchain.net&gt; Tested-by: Stefan Priebe &lt;s.priebe@allied-internet.ag&gt; Tested-by: Jon Chelton &lt;jchelton@ffpglobal.com&gt; --- drivers/scsi/gdth.c | 9 ...
Feb 12, 10:35 am 2008
Amit Shah Feb 12, 12:16 am 2008
Greg KH
Re: [PATCH 2.6.24] pci_ids: patch for Intel ICH10 DeviceID's
Will do, give me a few hours... thanks, greg k-h --
Feb 12, 8:26 am 2008
Jean Delvare
Re: [PATCH 2.6.24] pci_ids: patch for Intel ICH10 DeviceID's
Greg, please pick this patch quickly so that it makes it to -mm and the other patches that depend on it can be pushed there as well. Thanks, -- Jean Delvare --
Feb 12, 2:03 am 2008
Valdis.Kletnieks
Re: [PATCH] USB: mark USB drivers as being GPL only
What happens if I ship a binary-only program that uses *either* a GPL library or a custom library with the same API? &quot;If you don't have the Frobozz-Foo library, you'll have to supply your own work-alike&quot;.... (Note that this is in fact the *usual* case - very few programs actually check that they are linking against a Genuine GPL(tm) library, they just want the *API*, so providing a work-alike is sufficient....)
Feb 12, 11:02 am 2008
Alan Cox
Re: [PATCH] USB: mark USB drivers as being GPL only
It depends whether it is a derived work. It doesn't matter if you paint it green, hang from trees while writing it or recompile it backwards while chanting - the legal boundary is the one from copyright law and that is where you must look for precedent and answers whether from prior computing cases or from equivalents in other areas. Alan --
Feb 12, 11:04 am 2008
Kohei KaiGai
Re: [PATCH] exporting capability code/name pairs (try #4)
I have no preference whether a single /proc/capabilities, or the current approach. However, this idea requires a bit more cost to lookup a capability not sequencially. Thank, -- OSS Platform Development Division, NEC KaiGai Kohei &lt;kaigai@ak.jp.nec.com&gt; --
Feb 11, 6:10 pm 2008
Serge E. Hallyn
Re: [PATCH] exporting capability code/name pairs (try #4)
Oh no, we're being bit by this again... When SECURITY=n, capabilities are compiled in but SECURITY_CAPABILITIES=n. Months ago I floated the following patch so we'd have a CONFIG variable to let us know whether commoncap is compiled in. You might want to use this and depend on CONFIG_COMMONCAP? (Though really I personally don't think you need your own config variable for this) Other than that, this tested fine for me. thanks, -serge From 54c70ca7671750fe8986451fae91d42107d0ca90 Mon ...
Feb 12, 11:08 am 2008
Kohei KaiGai
Re: [PATCH] exporting capability code/name pairs (try #4)
Sysfs does not support to create symbolic links to regular files now. The sysfs_create_link() is a function to create a symbolic link on sysfs. However, it requires two kobjects as its arguments. One is to specify its parent directory, the other is to specify the target of indirection. It means the indicated target have to be a directory. At include/linux/sysfs.h: int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target, const char ...
Feb 11, 5:56 pm 2008
Alexey Dobriyan
Re: [PATCH] exporting capability code/name pairs (try #4)
And I'm sure far less memory wasted at runtime. Also, adding config option for one file/directory seems ridiculous to me. And changelog completely fails to mention why it is useful to lookup capabilities by name and number -- CAP_SYS_* numbers are part of ABI, they won't change. --
Feb 12, 2:58 pm 2008
Roman Zippel
Re: [PATCH] correct inconsistent ntp interval/tick_lengt ...
Hi, I don't think that's necessarily a contradiction, if we keep it to confronting the problem. A simple patch wouldn't have provided any further understanding of the problem compared to what I already said. You would have seen what the patch does (which I described already differently), but not really why it does that. In this sense I prefer to force the confrontation of the problem. I'm afraid a working patch would encourage to simply ignore the problem, as your problem at hand ...
Feb 12, 7:36 am 2008
john stultz
Re: [PATCH] correct inconsistent ntp interval/tick_lengt ...
With all due respect, it also keeps the critique in one direction and makes your review less collaborative and more confrontational then I For the course of this discussion, lets assume we're talking about 2.6.24. One of the goals of the timekeeping design is to let it be flexible enough that accumulation interval can be irregular and it will still behave correctly. This stems from the one of original issues with the old tick based timekeeping: lost or irregular timer interrupts. Now, ...
Feb 11, 5:09 pm 2008
Bart Van Assche
Re: [Scst-devel] Integration of SCST in the mainstream L ...
Hello Nicholas, Are you sure that the LIO-SE kernel module source code is ready for inclusion in the mainstream Linux kernel ? As you know I tried to test the LIO-SE iSCSI target. Already while configuring the target I encountered a kernel crash that froze the whole system. I can reproduce this kernel crash easily, and I reported it 11 days ago on the LIO-SE mailing list (February 4, 2008). One of the call stacks I posted shows a crash in mempool_alloc() called from jbd. Or: the crash is ...
Feb 12, 9:05 am 2008
Moore, Robert
RE: [PATCH 3/4] ACPI: Check for any matching CID when wa ...
Ok, I've rolled this in: /* Walk the CID list */ found = FALSE; for (i = 0; i &lt; cid-&gt;count; i++) { if (ACPI_STRNCMP (cid-&gt;id[i].value, info-&gt;hid, sizeof (struct acpi_compatible_id)) == 0) { /* Found a matching CID */ found = TRUE; break; } } ACPI_FREE (cid); if (!found) { return (AE_OK); } } } /* We have a valid device, invoke the user function */ status = info-&gt;user_function (obj_handle, ...
Feb 12, 4:38 pm 2008
Christoph Raisch
Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/eh ...
It is a piece of hardware with a firmware/hypervisor abstraction layer on top. The hypervisor provides virtualization interfaces to add and remove ethernet adapters and ports. Each port is represented in the open firmware device tree (OFDT) as a subnode of the ehea adapter node. System P has a userspace DLPAR application communicating with firmware, the kernel, and the hardware management console to change all that on the flight. This tool needs a capability to identify which open ...
Feb 12, 8:28 am 2008
Yinghai Lu
[PATCH] forcedeth: seperate handler for msix and normal int v2
so we don't need to keep check np-&gt;msi_flags to see if NV_MSI_X_ENABLED is set in handler Signed-off-by: Yinghai Lu &lt;yinghai.lu@sun.com&gt; Index: linux-2.6/drivers/net/forcedeth.c =================================================================== --- linux-2.6.orig/drivers/net/forcedeth.c +++ linux-2.6/drivers/net/forcedeth.c @@ -2901,12 +2901,12 @@ static void nv_link_irq(struct net_device *dev) dprintk(KERN_DEBUG &quot;%s: link change notification done.\n&quot;, dev-&gt;name); } -static ...
Feb 11, 5:52 pm 2008
Adolfo R. Brandes
Re: USB HID: Missing keys on Gyration Media Center Unive ...
Hi Jiri, I tried to fix the compilation warnings on your patch, and was thus successful in getting the Sleep key to work as expected (yay!), i.e. it doesn't repeat endlessly anymore. I can now get my machine to sleep and wake up correctly! However, the TV key is still not seen by the X server (tested using xev and evrouter). I'm attaching 3 files: * hid-input.c.patch: your patch with compilation warnings and errors fixed, against 2.6.24-rc6. * kern0.log: hid-debug and evbug output for ...
Feb 12, 8:09 am 2008
Adolfo R. Brandes
Re: USB HID: Missing keys on Gyration Media Center Unive ...
Hey Jiri! The symptoms remain after the patch (sleep key repeats endlessly, tv key does nothing). I'm going to post the debug output in a while, but before I do, it might be relevant that there were a couple of typos in the patch which I had to fix to compile (&quot;intpu_event&quot; function doesn't exist; missing &quot;{&quot; on second if statement). Also, I got these warnings: drivers/hid/hid-input.c: In function 'hidinput_hid_event': drivers/hid/hid-input.c:1045: warning: suggest parentheses ...
Feb 12, 6:23 am 2008
joejamesjoyce
Re: HANS REISER TRIAL: Attention Edward Shishkin
Hi Edward, Have you seen the analysis of the Hans Reiser trial at: http://linuxhelp.150m.com/politics/ReiserTrialSummaryAnalysis.htm http://linux.50webs.org/politics/ReiserTrialSummaryAnalysis.htm I am much interested in your views on the article. ________________________________________________________________________ More new features than ever. Check out the new AOL Mail ! - http://webmail.aol.com --
Feb 12, 3:33 am 2008
previous daytodaynext day
February 11, 2008February 12, 2008February 13, 2008