linux-kernel mailing list

FromSubjectsort iconDate
David Daney
[PATCH 00/36] Add Cavium OCTEON processor support (v2).
This patch set introduces preliminary support for Cavium Networks' OCTEON processor family. More information about these processors may be obtained here: http://www.caviumnetworks.com/OCTEON_MIPS64.html This initial patch set adds support for booting an initramfs to a serial console. Follow-on patch sets will add support for the on-chip ethernet, USB, PCI, PCIe, I2c and other peripherals. With this second version of the patches I think we have fixed or removed the parts flagged as ...
Oct 27, 4:58 pm 2008
Frédéric Weisbecker
Ftrace doesn't work anymore on latest tip
Hi, I tried to launch the function tracer with the latest -tip. With DYNAMIC_FTRACE (I just tried one time), I set "function" to current_trace and it blocks during writing. I can't even switch to another console. Without DYNAMIC_FTRACE I can set the tracer to function but it doesn't produce any trace, even on trace or tracing_pipe. My config is in attachment. I will try some revert...or some other tracers.
Oct 27, 4:18 pm 2008
Steven Rostedt
Re: Ftrace doesn't work anymore on latest tip
You might want to update your config (make oldconfig?) The latest tip has FUNCTION_TRACER instead of FTRACE. Also, the config you sent me, does not even have FTRACE on :-/ CONFIG_HAVE_FTRACE=y CONFIG_HAVE_DYNAMIC_FTRACE=y CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_TRACER_MAX_TRACE=y CONFIG_RING_BUFFER=y CONFIG_TRACING=y # CONFIG_FTRACE is not set # CONFIG_IRQSOFF_TRACER is not set # CONFIG_PREEMPT_TRACER is not set # CONFIG_SYSPROF_TRACER is not ...
Oct 27, 4:36 pm 2008
Frédéric Weisbecker
Re: Ftrace doesn't work anymore on latest tip
Sorry I sent a config for the mainline. This new one is the right.
Oct 27, 4:44 pm 2008
Jeff Garzik
[git patches] net driver updates
Note 1: The dm9601 change is, strictly speaking, an addition, but it fixes the inability to perform several basic functions related to MAC address. Please pull from 'davem-fixes' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git davem-fixes to receive the following updates: drivers/net/ehea/ehea.h | 2 +- drivers/net/ehea/ehea_qmr.c | 57 +++++++++++++++++++++++++++++++++--- drivers/net/ehea/ehea_qmr.h | 3 ++ ...
Oct 27, 4:18 pm 2008
Darren Salt
[2.6.28-rc2] EeePC ACPI errors & exceptions
EeePC 901, BIOS revision 1603, current Debian lenny; running on AC. I've noticed the following errors & exceptions, apparently coinciding with the startup of xfce4-sensors-plugin: ACPI: EC: missing confirmations, switch off interrupt mode. ACPI Exception (evregion-0419): AE_TIME, Returned by Handler for [EmbeddedControl] [20080926] ACPI Error (psparse-0524): Method parse/execution failed [\_SB_.PCI0.SBRG.EC0_.BST2] (Node f7030d38), AE_TIME ACPI Error (psparse-0524): Method parse/execution ...
Oct 27, 3:52 pm 2008
Sebastian Kuzminsky
getting configuration info into a driver at load-time
Hi folks, i'm looking for a way to pass structured configuration information to a device driver at load-time. I'm working on a device driver for a family of FPGA cards for motion control of industrial robots and computer-controlled machine tools. The driver loads the FPGA firmware with request_firmware() and sends it to the FPGA. Once the FPGA is up and running, the user needs to configure the firmware specifically for their machine, by telling the firmware things like "my machine has ...
Oct 27, 4:07 pm 2008
Glauber Costa
kvm broken with new vmap
Hello Nick, KVM is currently broken upstream, starting with commit db64fe02258f1507e13fe5212a989922323685ce (rewrite vmap layer) The symptoms are some vmallocs from kvm fail. cat /proc/meminfo shows this at the time of the fail: VmallocTotal: 122880 kB VmallocUsed: 15184 kB VmallocChunk: 83764 kB so there's plenty of space. The allocation that fails seem to be 512 bytes long. I'm not sure it always fails in there, but it seems so. --
Oct 27, 4:07 pm 2008
Linus Torvalds
Re: [PATCH] cgroup: remove unused variable
Hmm.. Committed on Sunday. Should hav been in -rc2 already, no? Linus --
Oct 27, 4:08 pm 2008
Luck, Tony
[PATCH] cgroup: remove unused variable
From: Stephen Rothwell <sfr@canb.auug.org.au> /scratch/sfr/next/kernel/cgroup.c: In function 'cgroup_tasks_start': /scratch/sfr/next/kernel/cgroup.c:2107: warning: unused variable 'i' Introduced in commit cc31edceee04a7b87f2be48f9489ebb72d264844 "cgroups: convert tasks file to use a seq_file with shared pid array". Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: ...
Oct 27, 4:03 pm 2008
Stefan Richter
[patch 2.6.27.y 4/6] firewire: fix struct fw_node memory leak
Date: Thu, 16 Oct 2008 18:00:15 -0400 From: Jay Fenlason <fenlason@redhat.com> With the bus_resets patch applied, it is easy to see this memory leak by repeatedly resetting the firewire bus while running slabtop in another window. Just watch kmalloc-32 grow and grow... Same as commit 77e557191701afa55ae7320d42ad6458a2ad292e. Signed-off-by: Jay Fenlason <fenlason@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> --- drivers/firewire/fw-topology.c | 6 ++++-- 1 ...
Oct 27, 3:28 pm 2008
Stefan Richter
[patch 2.6.27.y 1/6] firewire: fix setting tag and sy in ...
Date: Fri, 12 Sep 2008 18:09:55 +0200 (CEST) From: Stefan Richter <stefanr@s5r6.in-berlin.de> Reported by Jay Fenlason: The iso packet control accessors in fw-cdev.c had bogus masks. Same as commit 7a1003449c693f0d57443c8786bbf19717921ae0. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> --- drivers/firewire/fw-cdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: ...
Oct 27, 3:26 pm 2008
Stefan Richter
[patch 2.6.27.y 6/6] firewire: fw-sbp2: fix races
Date: Fri, 24 Oct 2008 15:26:20 -0400 From: Jay Fenlason <fenlason@redhat.com> 1: There is a small race between queue_delayed_work() and its corresponding kref_get(). Do the kref_get first, and _put it again if the queue_delayed_work() failed, so there is no chance of the kref going to zero while the work is scheduled. 2: An SBP2_LOGOUT_REQUEST could be sent out with a login_id full of garbage. Initialize it to an invalid value so we can tell if we ever got a valid ...
Oct 27, 3:29 pm 2008
Stefan Richter
[patch 2.6.27.y 5/6] firewire: fw-sbp2: delay first logi ...
Date: Wed, 22 Oct 2008 00:28:36 +0200 (CEST) From: Stefan Richter <stefanr@s5r6.in-berlin.de> This optimizes firewire-sbp2's device probe for the case that the local node and the SBP-2 node were discovered at the same time. In this case, fw-core's bus management work and fw-sbp2's login and SCSI probe work are scheduled in parallel (in the globally shared workqueue and in fw-sbp2's workqueue, respectively). The bus reset from fw-core may then disturb and extremely delay the login and SCSI ...
Oct 27, 3:29 pm 2008
Stefan Richter
[patch 2.6.27.y 0/6] firewire: proposed patches for -stable
Hi -stable folks, please consider to add the following fixes for the 2.6.27.y series. Coming up as replies: 1/6 firewire: fix setting tag and sy in iso transmission 2/6 firewire: fix ioctl() return code 3/6 firewire: Survive more than 256 bus resets 4/6 firewire: fix struct fw_node memory leak 5/6 firewire: fw-sbp2: delay first login to avoid retries 6/6 firewire: fw-sbp2: fix races drivers/firewire/fw-cdev.c | 6 ++-- drivers/firewire/fw-sbp2.c | 38 ...
Oct 27, 3:24 pm 2008
Stefan Richter
[patch 2.6.27.y 2/6] firewire: fix ioctl() return code
Date: Fri, 12 Sep 2008 18:20:16 +0200 (CEST) From: Stefan Richter <stefanr@s5r6.in-berlin.de> Reported by Jay Fenlason: ioctl() did not return as intended - the size of data read into ioctl_send_request, - the number of datagrams enqueued by ioctl_queue_iso. Same as commit 99692f71ee04c6f249d0bf6a581359f32f409a38. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> --- drivers/firewire/fw-cdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: ...
Oct 27, 3:26 pm 2008
Stefan Richter
[patch 2.6.27.y 3/6] firewire: Survive more than 256 bus ...
Date: Thu, 16 Oct 2008 15:51:59 -0400 From: Jay Fenlason <fenlason@redhat.com> The "color" is used during the topology building after a bus reset, hovever in "struct fw_node"s it is stored in a u8, but in struct fw_card it is stored in an int. When the value wraps in one struct, but not the other, disaster strikes. Signed-off-by: Jay Fenlason <fenlason@redhat.com> Fixes http://bugzilla.kernel.org/show_bug.cgi?id=10922 - machine locks up solid if a series of bus resets occurs. Same as ...
Oct 27, 3:27 pm 2008
Pekka J Enberg
[PATCH] w35und: move supported band initialization out o ...
From: Pekka Enberg <penberg@cs.helsinki.fi> This patch moves the static struct ieee80211_supported_band initialization out of w35_probe() because it's really global read-only configuration data. Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> --- drivers/staging/winbond/linux/wbusb.c | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/staging/winbond/linux/wbusb.c b/drivers/staging/winbond/linux/wbusb.c index ...
Oct 27, 3:20 pm 2008
Robert Millan
[PATCH] make firmware/dsp56k/bootstrap.asm buildable on a56
--jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [ Please CC me, I'm not subscribed ] Hi! Attached patch makes firmware/dsp56k/bootstrap.asm buildable on a56, the free Motorola DSP56001 assembler (http://www.zdomain.com/a56.html). Summary of changes: - Remove '<' and '>' candy (they specify explicit addressing modes, which a56 don't grok, but uses implicitly anyway). - Replace 'move' ...
Oct 27, 2:44 pm 2008
Parag Warudkar
2.6.28-rc2 : KVM FAIL
With today's git host kernel I can no longer boot my Ubuntu virtual machine - udevd, modprobe etc. just die with glibc detecting realloc() errors (invalid next size) and I am dropped to initramfs prompt. Going back to the distro kernel 2.6.26 makes the same VM work again. Here is the command line - kvm -m 2048m -drive file=ubuntu.img,if=virtio,boot=on -net nic,model=virtio -net user -cdrom xubuntu-8.10-rc-desktop-i386.iso -boot c -redir tcp:2222::22 $ kvm QEMU PC emulator version 0.9.1 ...
Oct 27, 3:15 pm 2008
Pekka J Enberg
[PATCH 2/2] w35und: plug memory leak in wbsoft_tx()
From: Pekka Enberg <penberg@cs.helsinki.fi> There's no reason to duplicate the skb in wbsoft_tx() and leak GFP_ATOMIC memory as the contents are copied to ->TxBuffer in MdxTx() anyway before MLMESendFrame() returns. Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> --- drivers/staging/winbond/linux/wbusb.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/staging/winbond/linux/wbusb.c ...
Oct 27, 3:14 pm 2008
Pekka J Enberg
[PATCH 1/2] w35und: remove macro magic from MLME_GetNext ...
From: Pekka Enberg <penberg@cs.helsinki.fi> This removes the macro magic from MLME_GetNextPacket() to de-obfuscate the code. Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> --- drivers/staging/winbond/mlmetxrx.c | 22 ++++++++-------------- 1 files changed, 8 insertions(+), 14 deletions(-) diff --git a/drivers/staging/winbond/mlmetxrx.c b/drivers/staging/winbond/mlmetxrx.c index eab562a..a071855 100644 --- a/drivers/staging/winbond/mlmetxrx.c +++ ...
Oct 27, 3:14 pm 2008
John W. Linville
pull request: wireless-2.6 2008-10-27
Dave, Another round of fixes intended for 2.6.28 (got it right this time!)... "p54: fix misbehavings when firmware can't be found" is a little big, but it fixes a double free of an IRQ (bug 11782). "ath5k: Reset key cache on interface up, thus fixing resume" is a little sizable too, but it moves some code intelligently to fix a regression we introduce on resume. The other stuff is cleanups and a kernel-doc fix, as well as an initialization fix for rfkill. Please let me know if there are ...
Oct 27, 3:00 pm 2008
Folkert van Heusden
[2.6.26] OOPS in free_thread_xstate
Hi, While running my http://vanheusden.com/pyk/ script (which randomly inserts and removes modules) I triggered the folllowing oops in a 2.6.26 kernel on an IBM laptop, pentium 2. Unfortunately I could not ...
Oct 27, 2:41 pm 2008
David Brownell
[patch 2.6.28-rc2] at91_mci: workaround lockdep
From: David Brownell <dbrownell@users.sourceforge.net> Lockdep reported a problem in the at91_mci driver ... in this case, the issue is with lockdep, not with the driver. A trimmed stack dump, from trying to boot with root on MMC, shows: WARNING: at kernel/lockdep.c:2195 trace_hardirqs_on_caller+0xf4/0x170() Modules linked in: [<c005bc98>] (trace_hardirqs_on+0x0/0x18) from [<c0213bf4>] (_spin_unlock_irq+0x2c/0x3c) [<c0213bc8>] (_spin_unlock_irq+0x0/0x3c) from [<c0029a88>] ...
Oct 27, 2:26 pm 2008
David Brownell
[patch 2.6.28-rc2] atmel_serial: keep clock off when it' ...
From: David Brownell <dbrownell@users.sourceforge.net> The atmel_serial driver is mismanaging its clock by leaving it on at all times ... the whole point of clock management is to leave it off unless it's actively needed, which conserves power!! Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> --- drivers/serial/atmel_serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/serial/atmel_serial.c +++ b/drivers/serial/atmel_serial.c @@ -1258,6 ...
Oct 27, 2:06 pm 2008
David Brownell
[patch/RESEND 2.6.28-rc2 2/2] ACPI: bugfix reporting of ...
From: Zhang Rui <rui.zhang@intel.com> Introduce a new flag showing whether the event has an event handler/method. For all the GPEs and Fixed Events, 1. ACPI_EVENT_FLAG_HANDLE is cleared, it's an "invalid" ACPI event. 2. Both ACPI_EVENT_FLAG_HANDLE and ACPI_EVENT_FLAG_DISABLE are set, it's "disabled". 3. Both ACPI_EVENT_FLAG_HANDLE and ACPI_EVENT_FLAG_ENABLE are set, it's "enabled". 4. Both ACPI_EVENT_FLAG_HANDLE and ACPI_EVENT_FLAG_WAKE_ENABLE are set, it's ...
Oct 27, 2:01 pm 2008
David Brownell
[patch 2.6.28-rc2] genirq: record IRQ_LEVEL in irq_desc[]
From: David Brownell <dbrownell@users.sourceforge.net> When recording the irq trigger type, let's also make sure that IRQ_LEVEL gets set correctly. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> --- So long as IRQ_LEVEL exists and is used through enable_irq() and setup_irq(), I suspect it should get set correctly! However, now that we record IRQ_TYPE_LEVEL_* maybe IRQ_LEVEL should vanish... kernel/irq/chip.c | 1 + kernel/irq/manage.c | 15 +++++++++------ 2 ...
Oct 27, 1:55 pm 2008
David Brownell
[patch/RESEND 2.6.28-rc2 1/2] ACPI: fix ACPI_FADT_S4_RT ...
From: David Brownell <dbrownell@users.sourceforge.net> Make the comment for ACPI_FADT_S4_RTC_WAKE match the ACPI spec; that bit has nothing to do with status bits. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> --- include/acpi/actbl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/acpi/actbl.h 2008-08-19 20:25:36.000000000 -0700 +++ b/include/acpi/actbl.h 2008-08-19 20:26:14.000000000 -0700 @@ -245,7 +245,7 @@ struct acpi_table_fadt { #define ...
Oct 27, 1:57 pm 2008
David Brownell
[patch/RESEND 2.6.28-rc2] genirq: warn when IRQF_DISABLE ...
From: David Brownell <dbrownell@users.sourceforge.net> We periodically waste time tracking down problems from the genirq framework not respecting IRQF_DISABLED for some shared IRQ cases. Linus views this as "will not fix", but we're still left with the bugs caused by this misbehavior. This patch adds a nag message in request_irq(), so that drivers can fix their IRQ handlers to avoid this problem. Note that developers will never see the relevant bugs when they run with LOCKDEP, so it's no ...
Oct 27, 1:48 pm 2008
Pekka J Enberg
[PATCH] w35und: usb_put_dev() is missing from wb35_disco ...
From: Pekka Enberg <penberg@cs.helsinki.fi> The wb35_probe() function does usb_get_dev() so add a missing usb_put_dev() to the wb35_disconnect() function. Also fix error handling paths in wb35_probe() to call usb_put_dev() as well. Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> --- drivers/staging/winbond/linux/wbusb.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/winbond/linux/wbusb.c ...
Oct 27, 2:29 pm 2008
Mike Miller
[PATCH 1/2] cciss: fix sysfs broken symlink regression
Patch 1 of 2 Regression introduced by commit 6ae5ce8e8d4de666f31286808d2285aa6a50fa40. This patch fixes a broken symlink in sysfs that was introduced by the above commit also called "cciss: remove redundant code." We broke it in 2.6.27-rc on or about 20080804. Some installers are broken if this symlink does not exist and they may not detect the logical drives configured on the controller. It does not require being backported into 2.6.26.x or earlier kernels. Please consider this for ...
Oct 27, 2:01 pm 2008
Miller, Mike (OS Dev) Oct 27, 2:32 pm 2008
Andrew Morton
Re: [PATCH 1/2] cciss: fix sysfs broken symlink regression
On Mon, 27 Oct 2008 16:01:36 -0500 What's 2 of 2? cciss patches which I presently have queued are: cciss-fix-regression-firmware-not-displayed-in-procfs-again-and-again.patch cciss-new-hardware-support.patch cciss-fix-sysfs-broken-symlink-regression.patch --
Oct 27, 2:29 pm 2008
Pekka J Enberg
[PATCH 2/2] w35und: OS_MEMORY_ALLOC wrapper removal
From: Pekka Enberg <penberg@cs.helsinki.fi> This patch removes the rather scary OS_MEMORY_ALLOC macro. Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> --- drivers/staging/winbond/adapter.h | 1 - drivers/staging/winbond/linux/wb35reg.c | 8 ++++---- drivers/staging/winbond/linux/wb35rx.c | 3 ++- drivers/staging/winbond/wblinux.c | 10 ---------- drivers/staging/winbond/wblinux_f.h | 1 - 5 files changed, 6 ...
Oct 27, 1:47 pm 2008
Pekka J Enberg
[PATCH 1/2] w35und: remove true/false boolean macros
From: Pekka Enberg <penberg@cs.helsinki.fi> Use the kernel built-in true and false boolean values instead of duplicating them in the driver code. Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> --- drivers/staging/winbond/linux/common.h | 17 ------- drivers/staging/winbond/linux/wb35reg.c | 70 ++++++++++++++-------------- drivers/staging/winbond/linux/wb35rx.c | 2 +- drivers/staging/winbond/linux/wb35tx.c | 14 +++--- ...
Oct 27, 1:46 pm 2008
Luis R. Rodriguez
[RFC] ASPM split - read current state / optimizations
I admit I haven't read pcie spec, but I'm trying to understand the current code and clarify the Kconfig as such to help others. From what we discussed on our last thread it seems we *don't* need this code to enable ASPM but simply work out kinks due to buggy BIOSes (what about on devices which have no BIOS like arm?). It also helps us disable ASPM, and if we are intrepid to force enabling it (keep in mind some devices may behave a bit differently when ASPM is enabled, look at e1000 for ...
Oct 27, 1:32 pm 2008
sniper
[PATCH] LOCKDEP: minor fix for debug_show_all_locks()
When we failed to get tasklist_lock eventually (count equals 0), we should only print " ignoring it.\n", and not print " locked it.\n" needlessly. Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com> --- diff --git a/kernel/lockdep.c b/kernel/lockdep.c index dbda475..12bf812 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c @@ -3417,10 +3417,12 @@ retry: } printk(" ignoring it.\n"); unlock = 0; + goto print_locks; } if (count != 10) printk(" locked ...
Oct 27, 1:03 pm 2008
Yinghai Lu
[PATCH] x86: remove wrong -1 in calling init_memory_mapping
From: Shaohua Li <shaohua.li@intel.com> impact: make memory hot plug got last page mapped. Shuahua Li found: Round up address to a page, otherwise the last page isn't mapped. No, I just did some experiments on a desktop for memory hotplug and this bug triggered a crash in my test. Yinghai's suggestion also fixed the bug. I just want to have safer method. Anyway, either approach is ok to me. So acctually we don't need to round it. just remove that extra -1 Signed-off-by: Yinghai ...
Oct 27, 1:03 pm 2008
Manfred Spraul
[PATCH, RFC] rcu-state
Hi, Just to keep you updated: I've fixed further bugs. The code survived concurrent kernel compiles and cpu online/offline on a 4-cpu system. The code tries to minimize the operations between call_rcu() and the final rcu destruction callback. It should achieve a lower latency than the current rcu backends, but I haven't written a benchmark yet. Comments are welcome. -- Manfred
Oct 27, 12:52 pm 2008
Harald Dunkel
2.6.27.3, ata_piix: cannot play audio CD, "disk change d ...
Hi folks, If I insert an audio CD in my sata drive to play it via grip, then it fails. Grip does not even show the list of audio tracks, nor does it play the CD. Instead there is a kernel message saying [ 6730.836999] sr0: CDROM not ready yet. [ 6732.838572] sr0: disc change detected. [ 6783.659021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen [ 6783.659034] ata4.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0 [ 6783.659035] cdb 1b 00 00 00 02 00 00 00 00 00 ...
Oct 27, 12:26 pm 2008
Jeff Garzik
Re: 2.6.27.3, ata_piix: cannot play audio CD, "disk chan ...
hmmmm, I used to see something similar on ICH7 but it went away. Can you try various strategies associated with interrupts (trying to determine the cause of the timeouts), such as booting with "noapic", "acpi=off", and/or pci=biosirq. Jeff --
Oct 27, 12:35 pm 2008
ngupta
[PATCH] Priorities in Anticipatory I/O scheduler
Modifications to the Anticipatory I/O scheduler to add multiple priority levels. It makes use of anticipation and batching in current anticipatory scheduler to implement priorities. - Minimizes the latency of highest priority level. - Low priority requests wait for high priority requests. - Higher priority request break any anticipating low priority request. - If single priority level is used the scheduler behaves as an anticipatory scheduler. So no change for existing users. With this ...
Oct 27, 12:01 pm 2008
John Linn
[PATCH] [V3][powerpc] GPIO: Adding new Xilinx driver
This driver supports the Xilinx XPS GPIO IP core which has the typical GPIO features. Signed-off-by: Kiran Sutariya <kirans@xilinx.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: John Linn <john.linn@xilinx.com> --- V2 - Updated based on Anton's comments V3 - Cleaned up Kconfig badness in patch generation and added Grant's signoff drivers/gpio/Kconfig | 8 ++ drivers/gpio/Makefile | 1 + drivers/gpio/xilinx_gpio.c | 235 ...
Oct 27, 12:00 pm 2008
Kumar Gala
[PATCH][for 2.6.28] powerpc/mpic: Add support for MPICs ...
From 20a2290553a1921a13449f9b7c597bcc76ec2c03 Mon Sep 17 00:00:00 2001 From: Kumar Gala <galak@kernel.crashing.org> Date: Mon, 27 Oct 2008 09:08:11 -0500 Subject: [PATCH] powerpc/mpic: Add support for MPICs that only support a single CPU destination The Freescale implementation of MPIC only allows a single CPU destination for non-IPI interrupts. We add a flag to the mpic_init to distinquish these variants of MPIC. Additionally, we will flag a warning if the user tries to set the affinity on ...
Oct 27, 11:31 am 2008
Eric Paris
Re: [Bug #11838] general protection fault:
Pulled from Linus's git today so it is a 2.6.28-rc2+ kernel and this is still a regression I was able to hit. -Eric --
Oct 27, 10:51 am 2008
Américo
fs/nfs_common/Makefile: fix the C file name
There's no file named 'nfs_acl.c' in that directory, it is 'nfsacl.c'. Signed-off-by: WANG Cong <wangcong@zeuux.org> Cc: J. Bruce Fields <bfields@fieldses.org> --- diff --git a/fs/nfs_common/Makefile b/fs/nfs_common/Makefile index f689ed8..5cb60c5 100644 --- a/fs/nfs_common/Makefile +++ b/fs/nfs_common/Makefile @@ -2,6 +2,6 @@ # Makefile for Linux filesystem routines that are shared by client and server. # -obj-$(CONFIG_NFS_ACL_SUPPORT) += nfs_acl.o +obj-$(CONFIG_NFS_ACL_SUPPORT) ...
Oct 27, 10:07 am 2008
Trond Myklebust
Re: fs/nfs_common/Makefile: fix the C file name
NAK. The existing line is correct because the _module_ is called nfs_acl.ko. Trond --
Oct 27, 12:01 pm 2008
Arthur Jones
Re: ext3: slow symlink corruption on umount...
Some additional info -- and attempting to cast a wider net on the CC: I do not see the long symlink corruption with mount -o data=writeback and we've now seen a couple cases where the symlink corruption does not require a umount... Arthur --
Oct 27, 9:54 am 2008
Gerald Schaefer
[PATCH] memory hotplug: fix page_zone() calculation in t ...
From: Gerald Schaefer <gerald.schaefer@de.ibm.com> My last bugfix here (adding zone->lock) introduced a new problem: Using pfn_to_page(pfn) to get the zone after the for() loop is wrong. pfn then points to the first pfn after end_pfn, which may be in a different zone or not present at all. This may lead to an addressing exception in page_zone() or spin_lock_irqsave(). Using the last valid page that was found inside the for() loop, instead of pfn_to_page(), should fix this. Signed-off-by: ...
Oct 27, 9:49 am 2008
Gerald Schaefer
[PATCH] memory hotplug: fix page_zone() calculation in t ...
From: Gerald Schaefer <gerald.schaefer@de.ibm.com> My last bugfix here (adding zone->lock) introduced a new problem: Using pfn_to_page(pfn) to get the zone after the for() loop is wrong. pfn then points to the first pfn after end_pfn, which may be in a different zone or not present at all. This may lead to an addressing exception in page_zone() or spin_lock_irqsave(). Using the last valid page that was found inside the for() loop, instead of pfn_to_page(), should fix this. Signed-off-by: ...
Oct 27, 10:19 am 2008
Gerald Schaefer
Re: [PATCH] memory hotplug: fix page_zone() calculation ...
We only return -EBUSY if pfn < end_pfn, but after completing the loop w/o a break pfn will be > end_pfn. Also, the last call to __first_valid_page() may return NULL w/o causing a break, so page may also be invalid after the I think pfn will always be > end_pfn if we complete the loop. And breaking Calling __first_valid_page() again might be a good idea. Thinking about it now, I guess there is still a problem left with my patch, but for reasons other than what you said :) If the loop is ...
Oct 27, 10:59 am 2008
Dave Hansen
Re: [PATCH] memory hotplug: fix page_zone() calculation ...
We have two ways out of the loop: 1. 'page' is valid, and not isolated, so we did a 'break' 2. No page hit (1) in the range and we broke out of the loop because of the for() condition: (pfn < end_pfn). So, when the condition happens that you mentioned in your changelog above: "pfn then points to the first pfn after end_pfn", we jump out at the 'return -EBUSY;'. We don't ever do pfn_to_page() in that case since we've returned befoer. Either 'page' is valid *OR* you return -EBUSY. I ...
Oct 27, 10:25 am 2008
Gerald Schaefer
Re: [PATCH] memory hotplug: fix page_zone() calculation ...
Ouch, stupid Thunderbird broke the patch (or stupid me used Thunderbird...), will send a new one. Gerald --
Oct 27, 10:17 am 2008
Jiri Kosina
[PATCH] sched: fix documentation reference for sched_min ...
sched-design-CFS.txt wrongly references sched_granularity_ns sysctl, as its name in fact is sched_min_granularity_ns. Signed-off-by: Jiri Kosina <jkosina@suse.cz> --- Documentation/scheduler/sched-design-CFS.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/scheduler/sched-design-CFS.txt b/Documentation/scheduler/sched-design-CFS.txt index 9d8eb55..eb471c7 100644 --- a/Documentation/scheduler/sched-design-CFS.txt +++ ...
Oct 27, 9:41 am 2008
Ingo Molnar
Re: [PATCH] sched: fix documentation reference for sched ...
applied to tip/sched/urgent, thanks Jiri! Ingo --
Oct 27, 10:49 am 2008
Aristeu Rozanski
[PATCH 2/2] NMI watchdog: disable NMIs on LVT0 in case N ...
Currently, if the NMI watchdog fails using IOAPIC method, it'll only disable interrupts on 8259 if the timer is passing thru it. This patch disables NMI delivery on LINT0 if the NMI watchdog initial test fails, just for safety. Signed-off-by: Aristeu Rozanski <aris@redhat.com> --- arch/x86/kernel/nmi.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) --- linus-2.6.orig/arch/x86/kernel/nmi.c 2008-10-27 11:59:49.000000000 -0400 +++ ...
Oct 27, 9:42 am 2008
Aristeu Rozanski
[PATCH 0/2] IOAPIC NMI watchdog fixes
These two patches make use of __acpi_nmi_disable() to make possible to: - enable and disable IOAPIC NMI watchdog using procfs - disable NMI generation if the NMI watchdog is not working on boot time -- Aristeu --
Oct 27, 9:42 am 2008
Maciej W. Rozycki
Re: [PATCH 0/2] IOAPIC NMI watchdog fixes
Thanks, I'll see if I can find some time soon to give them a hit -- I've got a serial console on my laptop now, :) so any odd boot-time tests will be easier for me. These would be best tested with Ingo's APIC tree, a current snapshot of which I may not have handy. Ping me if I don't respond within a few days. Maciej --
Oct 27, 9:58 am 2008
Ingo Molnar
Re: [PATCH 0/2] IOAPIC NMI watchdog fixes
okay - they look reasonable so i've applied Aristeu's patches to tip/x86/apic and integrated them into tip/master, we'll see how they work out. Please Ack/Nak them once you have the time to have a close look. Ingo --
Oct 27, 10:45 am 2008
Aristeu Rozanski
[PATCH 1/2] NMI watchdog: add support to enable and disa ...
This patch adds support to enable/disable IOAPIC NMI watchdog in runtime via procfs. Signed-off-by: Aristeu Rozanski <aris@redhat.com> --- arch/x86/kernel/nmi.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) --- linus-2.6.orig/arch/x86/kernel/nmi.c 2008-10-27 11:31:56.000000000 -0400 +++ linus-2.6/arch/x86/kernel/nmi.c 2008-10-27 11:43:49.000000000 -0400 @@ -340,6 +340,8 @@ void stop_apic_nmi_watchdog(void *unused return; if (nmi_watchdog == NMI_LOCAL_APIC) ...
Oct 27, 9:42 am 2008
Stefan Richter
[git pull] FireWire updates
Linus, please pull from the for-linus branch at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6.git for-linus to receive the following FireWire subsystem updates. They fix long- standing bugs, among them a quite visible panic. It's very new stuff but stress-tested. Jay Fenlason (4): firewire: Survive more than 256 bus resets firewire: fix struct fw_node memory leak firewire: fw-ohci: don't leak dma memory on module removal firewire: ...
Oct 27, 9:25 am 2008
Takashi Iwai
[GIT PULL] ALSA fixes
Linus, please pull ALSA updates for 2.6.28-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git for-linus containing the following fixes. Thanks! Takashi == Alan Cox (1): sound: use a common working email address Arjan van de Ven (1): pci: use pci_ioremap_bar() in sound/ Cliff Cai (1): ALSA: ASoC: Blackfin: update SPORT0 port selector (v2) Takashi Iwai (1): ALSA: hda - Restore default pin configs for realtek ...
Oct 27, 9:21 am 2008
Carlos R. Mafra
Suspend to RAM regression in 2.6.28-rc2 (bisected)
Hi, So I managed to bisect my suspend to RAM regression in 2.6.27-rc2 to commit 3b7ee69d0caefbdb85a606a98bff841b8c63b97e ("mac80211: disassociate when moving to new BSS") by Tomas Winkler (Cc:-ed). Unfortunately it doesn't revert cleanly so I can't double check it. My laptop is a Vaio FZ240E Core2Duo@2GHz and I use the iwlagn module for the wireless connection. The symptom is that suspending to RAM from inside X with 'echo mem > /sys/power/state' leaves me a black screen when resuming ...
Oct 27, 9:20 am 2008
Rafael J. Wysocki
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
Are you going to push this patch upstream now? It's quite important to get this resume regression fixed ASAP. Thanks, Rafael --
Oct 27, 3:50 pm 2008
Rafael J. Wysocki
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
If you have quilt installed, you can do: $ git show 3b7ee69d > suspicious.patch $ quilt import -R suspicious.patch $ quilt push (that should work without rejects) and build the kernel. Thanks, Rafael --
Oct 27, 11:16 am 2008
Harvey Harrison
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
This also looks like a regression I've been looking at, but suspend-to-disk, and b43 driver. On resume, nothing but a blackscreen and unresponsive. I'll try reverting that one patch and see if it fixes it. Harvey --
Oct 27, 2:06 pm 2008
Soeren Sonnenburg
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
Hmmhh, I still have the problem when removing the mac80211 and other wireless modules before s2ram... Soeren --
Oct 27, 11:07 am 2008
Carlos R. Mafra
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
I get this [mafra@localhost:linux-2.6]$ git checkout v2.6.28-rc2 -b s2ram Switched to a new branch "s2ram" [mafra@localhost:linux-2.6]$ git revert 3b7ee69d warning: too many files, skipping inexact rename detection Auto-merged net/mac80211/mlme.c CONFLICT (content): Merge conflict in net/mac80211/mlme.c Automatic revert failed. After resolving the conflicts, mark the corrected paths with 'git add <paths>' or 'git rm <paths>' and commit the result. I don't know what is happening here ...
Oct 27, 10:57 am 2008
Rafael J. Wysocki
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
[Added some CCs] Carlos, thanks a lot for bisecting this. Johannes, can you pls have a look? Thanks, Rafael --
Oct 27, 10:32 am 2008
Christian Borntraeger
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
I was also bisecting a suspend to RAM regression in 2.6.28-rc1 but I had to stop the bisect due to another problem in that bisection. I can confirm that this patch was among the ~50 patches left to test. Christian --
Oct 27, 1:59 pm 2008
Johannes Berg
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
And that makes even less sense :) johannes
Oct 27, 11:31 am 2008
Carlos R. Mafra Oct 27, 12:00 pm 2008
Carlos R. Mafra
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
I wanted to do it with git, but gave up after some time :-( So I finally read the commit in question 3b7ee69d0caefbdb85a606a98bff841b8c63b97e and applied the patch below, which reverts it up to the whitespace fixes. And reverting it really made my brand new 2.6.28-rc2-something work again, regarding suspend to RAM. So consider it confirmed that this commit is guilty here. --- net/mac80211/mlme.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git ...
Oct 27, 11:36 am 2008
Johannes Berg
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
alright, well, if nothing else turns up soon then we should probably put this patch in rather than reverting the other one, imho mac80211 is doing the right thing there and the driver is calling into it at a point where either mac80211 or the driver cannot handle it. Do you get any kernel messages output? If you do, could you put messages into each line of ieee80211_set_disassoc to see where it hangs? johannes
Oct 27, 12:03 pm 2008
Tomas Winkler
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
Can someone try this one (it might be space broken I've just pasted that in) It's on top of 1d63e726408dfdb3e10ed8f00c383b30ebb333d3 (latest linux-2.6.git) diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 24a1aeb..321dbc8 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c @@ -2090,7 +2090,6 @@ static void iwl_alive_start(struct iwl_priv *priv) iwl4965_error_recovery(priv); ...
Oct 27, 2:07 pm 2008
Carlos R. Mafra Oct 27, 3:28 pm 2008
Johannes Berg
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
Ok, but that means you _can_ get messages, it would help a lot if you could put a few printks into the set_disassoc function before/after each other function call, so we know where exactly it hangs. Pretty much all of them could possibly hang if there is some sort of locking error happening or anything relies on userspace to be running... johannes
Oct 27, 12:13 pm 2008
Harvey Harrison
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
Go ahead and send it, I retried with linus HEAD and suspend/resume is fine here, not sure why it was failing, although it does seem to take longer to resume that 2.6.27, but that's purely subjective, no numbers to back that up. Harvey --
Oct 27, 4:23 pm 2008
Johannes Berg
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
The only thing I can remotely think of is that iwlwifi doesn't like being called back from within the call that it did to mac80211, which obviously happens here. But I have no idea, the code as it stands is correct, just the interaction with iwlwifi's resume seems to be broken. Try this patch instead: +++ everything/drivers/net/wireless/iwlwifi/iwl-agn.c 2008-10-27 19:44:15.0= 00000000 +0100 @@ -2084,7 +2084,6 @@ static void iwl_alive_start(struct iwl_p ...
Oct 27, 11:44 am 2008
Johannes Berg
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
I don't really know. Like I said to Carlos, figuring out which of the functions called from set_disassoc hangs would be useful, but you'd probably want to coordinate with him so you don't both do it. Or if you both do, it'd confirm it twice ;) johannes
Oct 27, 12:16 pm 2008
Carlos R. Mafra Oct 27, 1:52 pm 2008
Rafael J. Wysocki Oct 27, 1:51 pm 2008
Carlos R. Mafra
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
Ok, I humbly tried to do that with the patch at the end of the email, but I did not appear to hang in this function tough. Somehow I could get some messages printed when it was a black screen before (I think it has to do with the debug level I set with SysRq...) and I could see all the printks I've put there. The good thing is that I could get the complete syslog of the boot until the it failed after suspending to RAM (in 2.6.28-rc2 with my debug patch below applied). The last messages ...
Oct 27, 1:39 pm 2008
Jens Axboe
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
If you want something else tested, just let me know. I don't care a whole lot about how it gets fixed, as long as it does :-). I use STR heavily, so it's quite a burden to have it broken. -- Jens Axboe --
Oct 27, 12:13 pm 2008
Tomas Winkler
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
h Definitely I would post it to wireless and stable. I would like to hear from Harvey, though if this is somehow related to b43 as well. I will it give some more testing tomorrow morning I don't have any HW right now and need to suspend to bed :) Again, sorry for troubles. Tomas --
Oct 27, 4:12 pm 2008
Jens Axboe
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
Confirmed here as well, my x60 is happy again. -- Jens Axboe --
Oct 27, 12:06 pm 2008
Tomas Winkler
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
Good, this was actually part of some older and bigger patch I wasn't aware it has this affect. It has some millage in iwl5000 branch. RFKIll went through some changes in the mainline so it wasn't merged yet. commit a91ad840c23a70bc0eabe239e178e0d979a6d44e Author: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Date: Mon Jun 30 17:48:26 2008 +0300 iwlwifi: bug fixes in RF-kill flows --
Oct 27, 3:40 pm 2008
Carlos R. Mafra
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
Yes, that long trace is the result of SysRq+t but I never managed to understand its result :-( This last hang was somewhat different because I could read the messages up to the point where the laptop was unresponsive (see the time in the log, I waited 3 minutes until I decided to hit SysRq+t). I am not sure why this happened, tough. All the other hangs were with a complete black screen. _But_ if I used some SysRq combination during the time the screen was black I could see the result in ...
Oct 27, 3:05 pm 2008
Jens Axboe
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
OK, I can try and do that tomorrow when I'm at the desktop again, I have the dock there serial console. -- Jens Axboe --
Oct 27, 12:20 pm 2008
John W. Linville
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
That conflict is easy to resolve. Just delete everything between "<<<<" and ">>>>" (including those lines). Hth! John P.S. I don't see any obvious reason why that should affect X on resume -- maybe the iwlwifi guys have some ideas. John -- John W. Linville Linux should be at the core linville@tuxdriver.com of your literate lifestyle. --
Oct 27, 11:00 am 2008
Rafael J. Wysocki
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
Hmm, this looks like a result of playing with the magic SysRq. Did you try to press SysRq-something when the box became unresponsive? Rafael --
Oct 27, 2:07 pm 2008
Rafael J. Wysocki
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
Why are you saying it doesn't revert cleanly? For me it does revert without rejects from 2.6.28-rc2. Thanks, Rafael --
Oct 27, 10:39 am 2008
Carlos R. Mafra
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
I double checked it. Linus' tree v2.6.28-rc2-58-g1d63e72 does not work, whereas --
Oct 27, 11:51 am 2008
Johannes Berg
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
Thanks. Another alternative I could think of is deferring the notifications to a work struct, but I'd rather see that in the driver I think, not sure though, could be argued either way. johannes
Oct 27, 12:09 pm 2008
Carlos R. Mafra
Re: Suspend to RAM regression in 2.6.28-rc2 (bisected)
No messages appear, just a black screen. But I can use the SysRq keys, and when I umount the screen shows the message that umount succeed. I also tried SysRq+t but --
Oct 27, 12:11 pm 2008
Jason Baron
[PATCH] fix 'dynamic_debug' cmd line parameter
hi, In testing 2.6.28-rc1, I found that passing 'dynamic_printk' on the command line didn't activate the debug code. The problem is that dynamic_printk_setup() (which activates the debugging) is being called before dynamic_printk_init() is called (which initializes infrastructure). Fix this by setting setting the state to 'DYNAMIC_ENABLED_ALL' in dynamic_printk_setup(), which will also cause all subsequent modules to have debugging automatically started, which is probably the behavior we ...
Oct 27, 9:05 am 2008
Mark Brown
[PATCH 1/2] rtc: Fix handling of missing tm_year data wh ...
When fixing up invalid years rtc_read_alarm() is callign rtc_valid_tm() as a boolean but rtc_valid_tm() returns zero on success or a negative number if the time is not valid so the test is inverted. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> --- drivers/rtc/interface.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c index 7af60b9..a04c1b6 100644 --- a/drivers/rtc/interface.c +++ ...
Oct 27, 8:38 am 2008
Mark Brown
Re: [rtc-linux] Re: [PATCH 2/2] rtc: rtc-wm8350: Add sup ...
Due to needing to go through the MFD tree as well it'd make life easier if we could leave as-is and avoid creating any merging issues (it's also consistent with all the other WM8350 drivers). Would that be OK? --
Oct 27, 10:24 am 2008
Mark Brown
Re: [rtc-linux] [PATCH 2/2] rtc: rtc-wm8350: Add support ...
Unfortunately I added the __devexit_p() annotation in response to Alessandro's comments. I'll remove it again, other than that all that's changed is a tweak to the module description and Andrew's change to use schedule_timeout_uninterruptible(). How should these drivers be merged? --
Oct 27, 1:09 pm 2008
Alessandro Zummo
Re: [rtc-linux] Re: [PATCH 2/2] rtc: rtc-wm8350: Add sup ...
On Mon, 27 Oct 2008 17:24:01 +0000 Ok, leave it that way: that's classified as "hurting" :) -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it --
Oct 27, 10:26 am 2008
Mark Brown
[PATCH 2/2] rtc: rtc-wm8350: Add support for WM8350 RTC
This adds support for the RTC provided by the Wolfson Microelectronics WM8350. This driver was originally written by Graeme Gregory and Liam Girdwood, though it has been modified since then to update it to current mainline coding standards and for API completeness. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> --- This revision: - Marks remove() with __devexit_p() - Fixes grammar in MODULE_DESCRIPTION() which should address all the feedback from Alessandro. ...
Oct 27, 10:40 am 2008
Mark Brown
[PATCH 2/2] rtc: rtc-wm8350: Add support for WM8350 RTC
This adds support for the RTC provided by the Wolfson Microelectronics WM8350. This driver was originally written by Graeme Gregory and Liam Girdwood, though it has been modified since then to update it to current mainline coding standards and for API completeness. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> --- Updated to use schedule_timeout_uninterruptible() as per Andrew's suggestion. drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile | 1 ...
Oct 27, 8:38 am 2008
David Brownell
Re: [rtc-linux] [PATCH 2/2] rtc: rtc-wm8350: Add support ...
No, don't -- that's why I said "this code is fine..." !! You're not using platform_driver_probe(), so it's appropriate to Andrew is the keeper of the RTC patch queue, so I suggest you issue one patch against the two in MM: rtc-rtc-wm8350-add-support-for-wm8350-rtc.patch rtc-rtc-wm8350-add-support-for-wm8350-rtc-fix.patch That would probably cause the least amount of extra work for Andrew. - Dave --
Oct 27, 1:19 pm 2008
Alessandro Zummo
Re: [PATCH 1/2] rtc: Fix handling of missing tm_year da ...
On Mon, 27 Oct 2008 15:38:24 +0000 Acked-by: Alessandro Zummo <a.zummo@towertech.it> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it --
Oct 27, 9:51 am 2008
David Brownell
Re: [rtc-linux] [PATCH 2/2] rtc: rtc-wm8350: Add support ...
The comment about probe()/__devinit and remove()/__devexit/__devexit_p isn't right ... when the driver uses platform_driver_probe(), the "__dev" variants should not be used. (It's a Good Thing to shrink runtime code footprints, by using platform_driver_probe for non-hotpluggable devices.) Also: rtc_ops.ioctl() method should only handle RTC_{AIE,UIE}_{ON,OFF}, since the other standard ioctls have rtc_ops equivalents. (This code is fine in both respects. Though since I've received ...
Oct 27, 1:03 pm 2008
Alessandro Zummo
Re: [rtc-linux] [PATCH 2/2] rtc: rtc-wm8350: Add support ...
On Mon, 27 Oct 2008 15:38:25 +0000 Hi Mark, a few notes below: -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it --
Oct 27, 10:04 am 2008
Mark Brown
[PATCH] watchdog: Add support for the WM8350 watchdog
This driver implements support for the watchdog functionality provided by the Wolfson Microelectronics WM8350, a multi-function audio and power management subsystem intended for use in embedded systems. It is based on a driver originally written by Graeme Gregory, though it has been extensively modified since then. Use of a GPIO to kick the watchdog is not yet supported. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> --- Changes since last submission (which should address ...
Oct 27, 8:31 am 2008
Alan Cox
[PATCH] sound: use a common working email address
Signed-off-by: Alan Cox <alan@redhat.com> diff --git a/sound/oss/kahlua.c b/sound/oss/kahlua.c index eb9bc36..c180598 100644 --- a/sound/oss/kahlua.c +++ b/sound/oss/kahlua.c @@ -1,7 +1,7 @@ /* * Initialisation code for Cyrix/NatSemi VSA1 softaudio * - * (C) Copyright 2003 Red Hat Inc <alan@redhat.com> + * (C) Copyright 2003 Red Hat Inc <alan@lxorguk.ukuu.org.uk> * * XpressAudio(tm) is used on the Cyrix MediaGX (now NatSemi Geode) systems. * The older version (VSA1) provides ...
Oct 27, 8:21 am 2008
Alan Cox
[PATCH] i2o: Switch all my stuff to a single common address
Signed-off-by: Alan Cox <alan@redhat.com> diff --git a/drivers/message/i2o/exec-osm.c b/drivers/message/i2o/exec-osm.c index 56faef1..06c655c 100644 --- a/drivers/message/i2o/exec-osm.c +++ b/drivers/message/i2o/exec-osm.c @@ -19,7 +19,7 @@ * Auvo Häkkinen <Auvo.Hakkinen@cs.Helsinki.FI> * Deepak Saxena <deepak@plexity.net> * Boji T Kannanthanam <boji.t.kannanthanam@intel.com> - * Alan Cox <alan@redhat.com>: + * Alan Cox <alan@lxorguk.ukuu.org.uk>: * Ported to Linux 2.5. ...
Oct 27, 8:14 am 2008
Alan Cox
[PATCH] Tidy up addresses in random drivers
Signed-off-by: Alan Cox <alan@redhat.com> diff --git a/drivers/char/hw_random/amd-rng.c b/drivers/char/hw_random/amd-rng.c index c422e87..cd0ba51 100644 --- a/drivers/char/hw_random/amd-rng.c +++ b/drivers/char/hw_random/amd-rng.c @@ -11,7 +11,7 @@ * derived from * * Hardware driver for the AMD 768 Random Number Generator (RNG) - * (c) Copyright 2001 Red Hat Inc <alan@redhat.com> + * (c) Copyright 2001 Red Hat Inc * * derived from * diff --git ...
Oct 27, 8:10 am 2008
Jan Kratochvil
Re: inconsistent behavior with ptrace(TRACEME) and fork/exec
Yes, just the parent must process the event (signal). In your testcase the parent finished before the signal could be delivered. If the tracer exits the Fixed the races in your code and I do not see there any problem, do you? The ptrace problems/testsuite is being maintained at: http://sourceware.org/systemtap/wiki/utrace/tests Regards, Jan
Oct 27, 7:56 am 2008
Mike Frysinger
Re: inconsistent behavior with ptrace(TRACEME) and fork/exec
no signal should have been generated. the child should have gone there is no race condition ... it's using vfork here remember ? it is impossible for the parent to have executed anything after the vfork() before the child made it into the exec() and gone to sleep -mike --
Oct 27, 10:38 am 2008
Folkert van Heusden
[2.6.26] OOPS in __linkwatch_run_queue (unable to handle ...
Hi, While running my http://vanheusden.com/pyk/ script (which randomly inserts and removes modules) I triggered the ...
Oct 27, 8:00 am 2008
Alan Cox
[PATCH] nfsd: Fix vm overcommit crash
Junjiro R. Okajima reported a problem where knfsd crashes if you are using it to export shmemfs objects and run strict overcommit. In this situation the current->mm based modifier to the overcommit goes through a NULL pointer. We could simply check for NULL and skip the modifier but we've caught other real bugs in the past from mm being NULL here - cases where we did need a valid mm set up (eg the exec bug about a year ago). To preserve the checks and get the logic we want shuffle the ...
Oct 27, 7:27 am 2008
Alan Jenkins
Re: 2.6.28-rc1: [drm:i915] *ERROR* ... Disabling tiling
Actually... MSI does seem to be working for my ethernet. $ grep eth /proc/interrupts 44: 2446 PCI-MSI-edge eth1 DRM wasn't using MSI in 2.6.27 though. So I'm still doubtful that the MSI issue is really an "*ERROR*". Thanks Alan --
Oct 27, 7:59 am 2008
Alan Jenkins
2.6.28-rc1: [drm:i915] *ERROR* ... Disabling tiling
What does this mean, should I do anything about it? Is tiling nice to have? It sounds like GEM broke something - though maybe it just added a more verbose error report. System: EeePC 701 Kernel: v2.6.36-rc1-5-g23cf24c Chipset: Intel mobile 915G-something Regretably necessary kernel boot option: noapic [ 1.438441] Linux agpgart interface v0.103 [ 1.438441] agpgart-intel 0000:00:00.0: Intel 915GM Chipset [ 1.438441] agpgart-intel 0000:00:00.0: detected 7932K stolen memory [ ...
Oct 27, 7:27 am 2008
Eric Anholt
Re: 2.6.28-rc1: [drm:i915] *ERROR* ... Disabling tiling
This means that something went wrong with our detection of the CPU-versus-GPU tiling swizzling mode, and object tiling under GEM will be disabled as a result. I should get access to an eee 7xx on Thursday to see what's up with it -- it's supposed to be just a normal 915gm as Looks like we emit the error message even if your chipset doesn't support MSI. That's a mistake, I'll get it cleaned up. (MSI didn't actually get supported for integrated graphics until the G965 for the desktop and ...
Oct 27, 11:00 am 2008
Alan Jenkins
Re: 2.6.28-rc1: [drm:i915] *ERROR* ... Disabling tiling
There's no obvious difference in Xorg.log (compared to 2.6.27). In fact it claims to have successfuly enabled tiling. (**) intel(0): Tiling enabled (II) intel(0): Attempting memory allocation with tiled buffers. (II) intel(0): Success. So these new kernel error messages seem a bit random. Thanks Alan --
Oct 27, 8:12 am 2008
Ralf Baechle
[PATCH] CHAR: Delete old and now unused DS1286 driver.
It was only used by two SGI platforms which recently were converted to RTC_LIB and with RTC_LIB enabled the legacy drivers are no more selectable. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> --- arch/mips/Kconfig | 5 - arch/mips/configs/ip22_defconfig | 1 - arch/mips/configs/ip28_defconfig | 2 - drivers/char/Kconfig | 11 - drivers/char/Makefile | 1 - drivers/char/ds1286.c | 585 -------------------------------------- ...
Oct 27, 6:19 am 2008
Ralf Baechle
[PATCH] CHAR: Delete old and now unused M48T35 RTC drive ...
It was only used by this one SGI platform which recently was converted to RTC_LIB and with RTC_LIB enabled the legacy drivers are no more selectable. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> --- arch/mips/configs/ip27_defconfig | 1 - arch/mips/include/asm/m48t35.h | 27 --- drivers/char/Kconfig | 11 -- drivers/char/Makefile | 1 - drivers/char/ip27-rtc.c | 329 -------------------------------------- 5 files changed, 0 insertions(+), 369 ...
Oct 27, 6:19 am 2008
Christoph Hellwig Oct 27, 6:03 am 2008
Takashi Sato
[PATCH 1/3] Add error handling of write_super_lockfs/unlockfs
VFS: Changed the type of write_super_lockfs and unlockfs from "void" to "int" so that they can return an error. Rename write_super_lockfs and unlockfs of the super block operation freeze_fs and unfreeze_fs to avoid a confusion. ext3, ext4, xfs, gfs2, jfs: Changed the type of write_super_lockfs and unlockfs from "void" to "int" so that write_super_lockfs returns an error if needed, and unlockfs always returns 0. reiserfs: Changed the type of write_super_lockfs and unlockfs from "void" to ...
Oct 27, 5:58 am 2008
Takashi Sato
[PATCH 3/3] Remove XFS specific ioctl interfaces for fre ...
It removes XFS specific ioctl interfaces and request codes for freeze feature. This patch has been supplied by David Chinner. Signed-off-by: Dave Chinner <dgc@sgi.com> Signed-off-by: Takashi Sato <t-sato@yk.jp.nec.com> --- fs/xfs/linux-2.6/xfs_ioctl.c | 15 --------------- fs/xfs/linux-2.6/xfs_ioctl32.c | 2 -- fs/xfs/xfs_fs.h | 4 ++-- 3 files changed, 2 insertions(+), 19 deletions(-) diff -uprN -X linux-2.6.28-rc2-freeze/Documentation/dontdiff ...
Oct 27, 5:59 am 2008
Takashi Sato
[PATCH 0/3] freeze feature ver 1.14
Hi, We need to discuss about the timeout feature more, so I send patches only of the generic freeze feature. I've addressed the comment from Shaggy, combined patches that were divided into each filesystems into one patch because of the avoidance of a bisection. Currently, ext3 in mainline Linux doesn't have the freeze feature which suspends write requests. So, we cannot take a backup which keeps the filesystem's consistency with the storage device's features (snapshot and replication) ...
Oct 27, 5:58 am 2008
Takashi Sato
[PATCH 2/3] Implement generic freeze feature
The ioctls for the generic freeze feature are below. o Freeze the filesystem int ioctl(int fd, int FIFREEZE, arg) fd: The file descriptor of the mountpoint FIFREEZE: request code for the freeze arg: Ignored Return value: 0 if the operation succeeds. Otherwise, -1 o Unfreeze the filesystem int ioctl(int fd, int FITHAW, arg) fd: The file descriptor of the mountpoint FITHAW: request code for unfreeze arg: Ignored Return value: 0 if the operation succeeds. ...
Oct 27, 5:58 am 2008
Manish Katiyar
[PATCH] : Fix unused variable compilation warnings in dr ...
Below patch fixes the unused compilation warnings in drivers/net/wan/syncppp.c when CONFIG_INET is not defined. Signed-off-by: Manish Katiyar <mkatiyar@gmail.com> --- drivers/net/wan/syncppp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wan/syncppp.c b/drivers/net/wan/syncppp.c index 327d585..11124f3 100644 --- a/drivers/net/wan/syncppp.c +++ b/drivers/net/wan/syncppp.c @@ -756,10 +756,10 @@ static void sppp_cisco_input (struct sppp *sp, struct ...
Oct 27, 5:48 am 2008
umu.se upgrade team
Uppgradera din umu.se konto nu
-- Bäste umu.se konto Användare, Det här meddelandet är från MMS-centralen till alla våra umu.se e-post konto ägare. Vi håller för närvarande på att uppgradera vår databas och e- postkonto Center. Vi vill ta bort alla våra umu.se e-postkonton för att skapa mer utrymme för nya konton. För att förhindra att dina umu.se konto från nedläggning måste du uppdatera det, under så att vi vet att det är en närvarande används konto. Vi har varit att skicka detta meddelande till alla våra ...
Oct 27, 1:56 am 2008
Soeren Sonnenburg
[2.6.28-rc2 regression] hangs on wakeup from s2ram
Dear all, my macbook pro 1,1 suspends nicely (s2ram) but on wakeup I see a black screen... Does anyone else observe this? As this was from within X (and it still works in .27) I cannot give more details without further investigations from the cmdline... SOeren --
Oct 27, 4:28 am 2008
Carlos R. Mafra
Re: [2.6.28-rc2 regression] hangs on wakeup from s2ram
This is also happening with my Vaio, and 2.6.27 works fine suspending to RAM from inside X. I was silent about this issue (it happened before -rc1) because I really did not have the time to bisect it, which I think is the best way to solve this issues quickly. I will try to bisect it in the next days, but I can't promiss anything. --
Oct 27, 7:10 am 2008
Jiri Slaby
Re: [2.6.28-rc2 regression] hangs on wakeup from s2ram
Most distros switch to a console and even after that do suspend (if not, just try it from console). Do you see any traces when you add no_console_suspend to the kernel command line? --
Oct 27, 4:59 am 2008
Jiri Kosina
Re: [PATCH 2/2] HID: usbhid, sync on deleted io_retry timer
Applied, thanks. -- Jiri Kosina SUSE Labs --
Oct 27, 9:29 am 2008
Jiri Slaby
[PATCH 2/2] HID: usbhid, sync on deleted io_retry timer
When suspending, make sure that the timer is not running. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> --- drivers/hid/usbhid/hid-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c index a761e08..9ad4bae 100644 --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c @@ -1045,7 +1045,7 @@ static int hid_suspend(struct usb_interface *intf, pm_message_t message) ...
Oct 27, 4:16 am 2008
Jiri Slaby
[PATCH 1/2] HID: don't oops on suspend of non-bound devices
Usbhid structure is allocated on start invoked only from probe of some driver. When there is no driver, the structure is null and causes null-dereference oopses. Fix it by allocating the structure on probe and disconnect of the device itself. Also make sure we won't race between start and resume or stop and suspend respectively. References: http://bugzilla.kernel.org/show_bug.cgi?id=11827 Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Johannes Berg <johannes@sipsolutions.net> Cc: ...
Oct 27, 4:16 am 2008
Jiri Kosina
Re: [PATCH 1/2] HID: don't oops on suspend of non-bound ...
Applied, thanks. -- Jiri Kosina SUSE Labs --
Oct 27, 9:29 am 2008
Eric Miao
RE: CONFIG_LEDS_DA903X=m breaks 2.6.28-rc2-git1 build on ...
This is strange, it compiles OK on ARM, I don't know why this failed on x86-64. But anyway, <linux/workqueue.h> should really be explicitly included here. The attached patch should fix this. - eric -----Original Message----- From: Jean Delvare [mailto:khali@linux-fr.org]=20 Sent: Monday, October 27, 2008 4:45 PM To: Mike Rapoport; Eric Miao; Richard Purdie Cc: LKML; Linus Torvalds Subject: CONFIG_LEDS_DA903X=3Dm breaks 2.6.28-rc2-git1 build on x86-64 Hi Mike, Eric, Richard, With ...
Oct 27, 3:09 am 2008
Jean Delvare
Re: CONFIG_LEDS_DA903X=m breaks 2.6.28-rc2-git1 build on ...
Hi Eric, Yes it does, thanks for the quick fix. Please get this upstream quickly too. Acked-by: Jean Delvare <khali@linux-fr.org> -- Jean Delvare --
Oct 27, 4:42 am 2008
Thomas Klein
[PATCH] ehea: Add hugepage detection
All kernel memory which is used for kernel/hardware data transfer must be registered with firmware using "memory regions". 16GB hugepages may not be part of a memory region due to firmware restrictions. This patch modifies the walk_memory_resource callback fn to filter hugepages and add only standard memory to the busmap which is later on used for MR registration. Signed-off-by: Thomas Klein <tklein@de.ibm.com> --- This reworked patch accounts for comments I got. It's based on davem's ...
Oct 27, 2:38 am 2008
Jeff Garzik Oct 27, 11:52 am 2008
Thomas Klein
Re: [PATCH] ehea: Add hugepage detection
Dave, thanks for your valuable comments - see mine below. I'll send a reworked patch asap. Thomas I decided to just rename the var to nr_pages as it is used in all other busmap-related functions in our code. That makes the condition check quite Thanks for this comment. I totally agree - and I'm happy to aerate it a bit. I don't agree at this point. The 16GB hugepages we're dealing with here are imho a different thing than the hugetlb stuff. Furthermore as far as I can see the ...
Oct 27, 2:33 am 2008
Krzysztof Helt
Re: [PATCH] cirrusfb: remove unused variables
On Mon, 27 Oct 2008 10:31:59 +0100 ---------------------------------------------------------------------- Konkurs! Wygraj m.in. telewizor LCD! Sprawdz >> http://link.interia.pl/f1f52 --
Oct 27, 2:27 pm 2008
Vlada Peric
[PATCH] cirrusfb: remove unused variables
After commit a1d35a7a (cirrusfb: use modedb and add mode_option parameter), these variables are no longer used, so remove them to fix compilation warning. Signed-off-by: Vlada Perić <vlada.peric@gmail.com> CC: Krzysztof Helt <krzysztof.h1@wp.pl> --- drivers/video/cirrusfb.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c index 048b139..ace4001 100644 --- a/drivers/video/cirrusfb.c +++ b/drivers/video/cirrusfb.c @@ -2462,8 ...
Oct 27, 2:31 am 2008
Folkert van Heusden
[2.6.26] OOPS in elv_next_request
Hi, While running my http://vanheusden.com/pyk/ script (which randomly inserts and removes modules) I triggered the folllowing oops in a 2.6.26 kernel on a Celeron 400 (Mendocino): [ 4768.664021] Floppy drive(s): fd0 is 1.44M [ 4768.682751] FDC 0 is a post-1991 82077 [ 4768.717031] work still pending [ 4768.718486] BUG: unable to handle kernel NULL pointer dereference at 00000010 [ 4768.718711] IP: [<c01d073f>] elv_next_request+0x17e/0x18e [ 4768.718898] *pde = 00000000 [ 4768.719035] ...
Oct 27, 2:04 am 2008
Mike Frysinger
inconsistent behavior with ptrace(TRACEME) and fork/exec
--nextPart3480442.bVZSW9GQNi Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline i'm hoping my understanding of ptrace is correct and that the attached test= =20 case (reduced from LTP) isnt just completely broken ... my understanding is= =20 that if a parent forks and the child does a ptrace(TRACEME) right before=20 doing an exec(), the kernel should always halt it and wait indefinitely for= =20 the parent to start ...
Oct 27, 1:55 am 2008
Jean Delvare
CONFIG_LEDS_DA903X=m breaks 2.6.28-rc2-git1 build on x86-64
Hi Mike, Eric, Richard, With CONFIG_LEDS_DA903X=m, kernel 2.6.28-rc2-git1 fails to build on x86-64 with the following error: CC [M] drivers/leds/leds-da903x.o drivers/leds/leds-da903x.c:35: error: field "work" has incomplete type drivers/leds/leds-da903x.c: In function "da903x_led_work": drivers/leds/leds-da903x.c:47: warning: type defaults to "int" in declaration of "__mptr" drivers/leds/leds-da903x.c:47: warning: initialization from incompatible pointer type drivers/leds/leds-da903x.c: ...
Oct 27, 1:45 am 2008
Mikael Pettersson
[PATCH 2.6.28-rc2] x86_64: remove duplicated register se ...
ia32_setup_rt_frame() has a duplicated code block labelled "Make -mregparm=3 work" for setting up the register parameters to the user-mode signal handler. This is harmless but ugly. Remove the redundant assignments. Signed-off-by: Mikael Pettersson <mikpe@it.uu.se> --- arch/x86/ia32/ia32_signal.c | 5 ----- 1 file changed, 5 deletions(-) diff -rupN linux-2.6.28-rc2/arch/x86/ia32/ia32_signal.c linux-2.6.28-rc2.x86-signals-fixes/arch/x86/ia32/ia32_signal.c --- ...
Oct 27, 1:30 am 2008
Ingo Molnar
Re: [PATCH 2.6.28-rc2] x86_64: remove duplicated registe ...
applied to tip/x86/cleanups, thanks Mikael! Ingo --
Oct 27, 2:44 am 2008
Mikael Pettersson
Re: [PATCH 2.6.28-rc2] i386: fix forbid_dac linkage erro ...
Ingo Molnar writes: > > * Mikael Pettersson <mikpe@it.uu.se> wrote: > > > Fix 2.6.28-rc2 build failure on i386 with CONFIG_PCI=n: > > > +#ifdef CONFIG_PCI > > if (!strncmp(p, "allowdac", 8)) > > forbid_dac = 0; > > if (!strncmp(p, "nodac", 5)) > > @@ -210,6 +211,7 @@ static __init int iommu_setup(char *p) > > forbid_dac = -1; > > return 1; > > } > > +#endif /* CONFIG_PCI */ > > there's a better fix for this queued up in the PCI tree, see: > > ...
Oct 27, 3:05 am 2008
Mikael Pettersson
[PATCH 2.6.28-rc2] i386: fix forbid_dac linkage error wh ...
Fix 2.6.28-rc2 build failure on i386 with CONFIG_PCI=n: ld -m elf_i386 -o .tmp_vmlinux1 -T arch/x86/kernel/vmlinux.lds arch/x86/kernel/head_32.o arch/x86/kernel/head32.o arch/x86/kernel/head.o arch/x86/kernel/init_task.o init/built-in.o --start-group usr/built-in.o arch/x86/kernel/built-in.o arch/x86/mm/built-in.o arch/x86/mach-default/built-in.o arch/x86/crypto/built-in.o arch/x86/vdso/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o ...
Oct 27, 1:17 am 2008
Ingo Molnar Oct 27, 2:41 am 2008
Jeremy Kerr
[PATCH] OF-device: Don't overwrite numa_node in device r ...
Currently, the numa_node of OF-devices will be overwritten during device_register, which simply sets the node to -1. On cell machines, this means that devices can't find their IOMMU, which is referenced through the device's numa node. Set the numa node for OF devices with no parent, and use the lower-level device_initialize and device_add functions, so that the node is preserved. We can remove the call to set_dev_node in of_device_alloc, as it will be overwritten during ...
Oct 27, 12:51 am 2008
Nadia.Derbey
[PATCH 1/1] (v3) SYSVIPC - Fix the ipc structures initia ...
This patch is a fix for Bugzilla bug http://bugzilla.kernel.org/show_bug.cgi?id=11796. To summarize, a simple testcase is concurrently running an infinite loop on msgctl(IPC_STAT) and a call to msgget(): while (1) msgctl(id, IPC_STAT) 1 | | | 2 id = msgget(key, IPC_CREAT) | | | In the ...
Oct 27, 12:28 am 2008
Nadia Derbey
Re: [PATCH 1/1] (v3) SYSVIPC - Fix the ipc structures in ...
I agree with you that it's more logical and correct to take the lock before inserting the ipc structure (i.e. making it visible to readers). But I wanted to understand what's wrong with 1. new->lock init 2. new->deleted = 1 3. insert(new) I've been looking at the code again and again and the only thing I see could have happened, is that instructions have been reordered and the insertion done before the lock actually being initialized. This means that a memory barrier is missing (this ...
Oct 27, 8:42 am 2008
Nadia Derbey
Re: [PATCH 1/1] (v3) SYSVIPC - Fix the ipc structures in ...
??? The bad new, is that it becomes unreprodicible on my side. For my part, I've got 2 2.8 GHz Xeon CPUs. Will review the code once more. Thanks! -- Nadia Derbey <Nadia.Derbey@bull.net> --
Oct 27, 4:04 am 2008
cboulte
Re: [PATCH 1/1] (v3) SYSVIPC - Fix the ipc structures in ...
Still got the lock... I'm using a 4 cpus node: Intel Xeon @ 2.8GHz... don't know if it has an impact. The only way I found to have no lock, it's to spin_lock the ipc _before_ inserting it into the idr. Best regards, c. --
Oct 27, 3:32 am 2008
Takashi Iwai
Re: 2.6.29 stuff to linux-next now?
At Mon, 27 Oct 2008 18:19:33 +1100, Aye, sir! :) Takashi --
Oct 27, 12:35 am 2008
Stephen Rothwell
Re: 2.6.29 stuff to linux-next now?
Hi Takashi, /me Takes a deep, calming breath :-) I guess its time, so let it rip! --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Oct 27, 12:19 am 2008
Randy Dunlap
Re: linux-next: Tree for October 27 (staging/go7007)
On Mon, 27 Oct 2008 18:17:25 +1100 Yes, not many build problems (in randconfigs). linux-next-20081027/drivers/staging/go7007/go7007-v4l2.c:1457: error: 'VI D_TYPE_CAPTURE' undeclared here (not in a function) This happens if: CONFIG_VIDEO_DEV=m CONFIG_VIDEO_V4L2_COMMON=m # CONFIG_VIDEO_ALLOW_V4L1 is not set # CONFIG_VIDEO_V4L1_COMPAT is not set <<<<<<<<<< CONFIG_DVB_CORE=m CONFIG_VIDEO_MEDIA=m full config attached. -- ~Randy
Oct 27, 12:17 pm 2008
David Miller
Re: linux-next: Tree for October 27 (netdev/hp-plus)
From: Randy Dunlap <rdunlap@xenotime.net> Grrr... hp-plus.c uses the interfaces provided with 8390p.c but the Makefile links it together with plain 8390.c This is the most spectacular and longest standing build failure I've ever seen to be honest :-) --
Oct 27, 12:33 pm 2008
Randy Dunlap
Re: linux-next: Tree for October 27 (netdev/hp-plus)
On Mon, 27 Oct 2008 18:17:25 +1100 This blasted build problem is back. Are there any outstanding patches in this area? build-r5284.out:hp-plus.c:(.text+0x2b99a): undefined reference to `eip_interrupt' build-r5284.out:hp-plus.c:(.text+0x2ba0d): undefined reference to `eip_open' build-r5284.out:hp-plus.c:(.text+0x2baef): undefined reference to `eip_close' build-r5284.out:hp-plus.c:(.init.text+0x38ee): undefined reference to `NS8390p_init' build-r5284.out:(.init.text+0x3948): undefined reference ...
Oct 27, 12:19 pm 2008
Stephen Rothwell
linux-next: Tree for October 27
Hi all, A very quiet day. Today's tree will not build for powerpc allyesconfig (libc aborts the link due to a free() problem), sparc(32) defconfig and probably some other configurations. I am no longer commenting on conflicts that are clearly just caused by slight differences in what has been merged into Linus' tree and linux-next or conflicts caused by further changes in the linux-next after a subset of a tree has been merged. Changes since 20081027: Dropped trees: v4l-dvb (the ...
Oct 27, 12:17 am 2008
Steven Rostedt
Re: trace: fix printk warning for u64
Acked-by: Steven Rostedt <srostedt@redhat.com> -- Steve --
Oct 27, 3:26 am 2008
Ingo Molnar
Re: trace: fix printk warning for u64
applied to tip/tracing/urgent, thanks Stephen! (btw., did the "unify u64 definitions across all platforms" project get anywhere?) Ingo --
Oct 27, 2:52 am 2008
Stephen Rothwell
Re: trace: fix printk warning for u64
Hi Ingo, I think (from a comment from DaveM) that it led into a real mess. --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Oct 27, 6:12 am 2008
Stephen Rothwell
trace: fix printk warning for u64
A powerpc ppc64_defconfig build produces these warnings: kernel/trace/ring_buffer.c: In function 'rb_add_time_stamp': kernel/trace/ring_buffer.c:969: warning: format '%llu' expects type 'long long unsigned int', but argument 2 has type 'u64' kernel/trace/ring_buffer.c:969: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type 'u64' kernel/trace/ring_buffer.c:969: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'u64' Just cast ...
Oct 26, 11:43 pm 2008
David Miller
[GIT]: Networking
Several bug fixes: 1) Skb ->when timestamp setting for syncookies got messed up by TCP option building engine changes in 2.6.27. Fix from Florian Westphal I'll submit this thusly to -stable as well. 2) Couple places trying to pass sk_buff to kfree() instead of kfree_skb(). Fixed by Sergio Luis 3) Two fixes for the new phonet protocol layer from Remi Denis-Courmont Please pull, thanks a lot. The following changes since commit ...
Oct 26, 11:26 pm 2008
Ingo Molnar
Re: [PATCH resend] x86/proc: fix /proc/cpuinfo cpu offline bug
fix is already upstream - see below. Ingo --------------------> Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bc8bcc... Commit: bc8bcc79ea4203c7d04309f1307ab88c86f0b0cf Parent: 35af28219e684a36cc8b1ff456c370ce22be157d Author: Lai Jiangshan <laijs@cn.fujitsu.com> AuthorDate: Wed Oct 22 12:42:30 2008 +0800 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Wed Oct 22 14:29:37 2008 +0200 ...
Oct 27, 2:54 am 2008
Lai Jiangshan
[PATCH resend] x86/proc: fix /proc/cpuinfo cpu offline bug
In my test, I found that if a cpu has been offline, the next cpus may not be shown in the /proc/cpuinfo. if one read() cannot consume the whole /proc/cpuinfo file, c_start() will be called again in the next read() calls. And *pos has been increased by 1 by the caller(seq_read()). if this time the cpu#*pos is offline, c_start() will return NULL, and the next cpus can not be shown. this fix uses next_cpu_nr(*pos - 1, cpu_online_map) to search the next unshown cpu. the way to reproduce this ...
Oct 26, 11:11 pm 2008
Robert Hancock
Re: unexpected extra pollout events from epoll
I don't quite follow. You shouldn't be switching back and forth if you're trying to both send and receive, you can be registered for both notifications at the same time and respond to whatever notifications that you get. If you're not trying to write anything at the moment then you shouldn't be registered for EPOLLOUT though, same for reading and EPOLLIN. --
Oct 26, 10:59 pm 2008
Ian Kent
[PATCH] autofs4 - fix var shadowed by local delaration
A local definition of devid in autofs_dev_ioctl_ismountpoint() shadows the fuction wide definition. Signed-off-by: Ian Kent <raven@themaw.net> --- fs/autofs4/dev-ioctl.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/autofs4/dev-ioctl.c b/fs/autofs4/dev-ioctl.c index a040639..e19d584 100644 --- a/fs/autofs4/dev-ioctl.c +++ b/fs/autofs4/dev-ioctl.c @@ -597,17 +597,17 @@ static int autofs_dev_ioctl_ismountpoint(struct file *fp, magic = ...
Oct 26, 9:36 pm 2008
Al Viro
Re: [PATCH] gdrom: Fix compile error
Serves me right for snide comments about the benefits of compile-testing ;-) ACKed-by: Al Viro <viro@zeniv.linux.org.uk> FWIW, sh/sh64 is the only cross-toolchain needed for the kernel I hadn't managed to build - 4.3.0 gcc manages to trigger internal error in sh64 as(1) (2.18.50.0.6) and AFAICS the same should happen with any binutils up to -HEAD (the minimal testcase is .text .LFB2: .section .eh_frame,"a",@progbits .quad .LFB2-. and sh64 gcc4.3 routinely ...
Oct 26, 9:08 pm 2008
Nobuhiro Iwamatsu
[PATCH] gdrom: Fix compile error
Return value and argument of block_device_operations.release of gdrom was changed. This patch fix this problem. Signed-off-by: Nobuhiro Iwamatsu <iwamatsunigauri.org> --- drivers/cdrom/gdrom.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/cdrom/gdrom.c b/drivers/cdrom/gdrom.c index 9aaa86b..2eecb77 100644 --- a/drivers/cdrom/gdrom.c +++ b/drivers/cdrom/gdrom.c @@ -495,9 +495,10 @@ static int gdrom_bdops_open(struct block_device *bdev, fmode_t ...
Oct 26, 7:32 pm 2008
Davide Libenzi
Re: unexpected extra pollout events from epoll
Which version of epoll do you have? The epoll_wait() function does not accept an event mask (like you write above, EPOLLIN|EPOLLOUT). It never had. As optimization, if the EPOLLOUT bit is already set, you don't need to Again, how the heck do you "use epoll_wait with both the EPOLLIN and From the wording above, that doesn't seem like a wrong guess. - Davide --
Oct 26, 6:18 pm 2008
Paul P
Re: unexpected extra pollout events from epoll
I've got a few questions about this approach. The most logical way to do this seems to be: 1) Leave the epoll_wait with the EPOLLIN|EPOLLOUT event flags and use epoll_ctl to switch the interest mask for each fd between EPOLLIN and EPOLLOUT on a per fd basis. 2) When I'm ready to write, I do a write and if it does not fully write and I get the EAGAIN flag, I switch the fd with epoll_ctl(fd,MOD,EPOLLOUT). However, I get strange behavior when I tried adding fd's with only the EPOLLIN ...
Oct 26, 5:58 pm 2008
Davide Libenzi
Re: unexpected extra pollout events from epoll
Wait? It's not that you pass EPOLLIN or EPOLLOUT to the "maxevents" parameter of epoll_wait()? That's the maximum event count you want to fetch, not an event mask. - Davide --
Oct 26, 6:23 pm 2008
Paul P
Re: unexpected extra pollout events from epoll
lol, I was a bit tired when I wrote that. Ok, ignore the stuff related This is good to know. So, I've got a few questions about what happens to data that accumulates while I am sending and the fd is set to EPOLLOUT? If I am send out a large buffer and incoming data wants to stream in on a full duplex connection, what happens to that data when I am processing the socket while it is in epollout mode? Is the following accurate? When data comes in while I am sending, I guess the ...
Oct 26, 8:48 pm 2008
Mikael Pettersson
[PATCH 2.6.28-rc2] sata_promise: proper hardreset
Promise ATA engines need to be reset when errors are detected. That's currently done for errors detected by sata_promise itself, but it's not done for errors like timeouts detected outside of the low-level driver. The effect of this omission is that a timeout tends to result in a sequence of failed COMRESETs after which libata EH gives up and disables the port. At that point the port's ATA engine hangs and even reloading the driver will not resume it. To fix this, make sata_promise override ...
Oct 26, 5:49 pm 2008
H. Peter Anvin
Re: [RFC PATCHv2] printk: add the %pM, %p4, %p6 format s ...
Since when are IPv4 addresses "usually" printed in colon-separated hex? -hpa --
Oct 26, 7:08 pm 2008
Johannes Berg
Re: [RFC PATCHv2] printk: add the %pM, %p4, %p6 format s ...
Ok, fine with me too. Harvey, can you sort out the ip4 issue and then send with %pM included? johannes
Oct 27, 12:47 pm 2008
Harvey Harrison Oct 27, 9:28 am 2008
David Miller
Re: [RFC PATCHv3] printk: add %pM format specifier for M ...
From: Harvey Harrison <harvey.harrison@gmail.com> I'm ok with the '#' modifier but remind me again what's wrong with using plain %p4 and %p6? --
Oct 27, 4:55 pm 2008
Joe Perches
Re: [RFC PATCHv3] printk: add %pM format specifier for M ...
On Mon, 2008-10-27 at 12:59 -0700, Harvey Harrison wrote: The changes to use %p4 aren't too bad. I did that last year using a similar style to print_mac. 80 or so files. http://repo.or.cz/w/linux-2.6/trivial-mods.git?a=shortlog;h=refs/heads/print_ipv4 ipv6 was 30 or so files I think length would not be good addition. print_dump_hex already does a fine job. There are also BE/LE expectation problems with pW. The %p6 pointer should be in6_addr * The %p4 pointer should be __be32 ...
Oct 27, 2:55 pm 2008
David Miller
Re: [RFC PATCHv3] printk: add %pM format specifier for M ...
From: Harvey Harrison <harvey.harrison@gmail.com> Applied, thanks. --
Oct 27, 3:47 pm 2008
Joe Perches
Re: [RFC PATCHv3] printk: add %pM format specifier for M ...
HIPQUAD is horrible and should disappear. Just use htonl first. I think just %p4 %p6 %#p6 for the NIP6_SEQFMT uses. --
Oct 27, 4:48 pm 2008
David Miller
Re: [RFC PATCHv2] printk: add the %pM, %p4, %p6 format s ...
From: Harvey Harrison <harvey.harrison@gmail.com> So I'll wait for Harvey's "v3" of this patch, and once I have that in the net-next-2.6 tree I'll start adding Johannes's conversions on top. --
Oct 27, 12:38 pm 2008
Alexey Dobriyan
Re: [RFC PATCHv3] printk: add %pM format specifier for M ...
%#pI4 is horrible and %p4 and %p6 were cool. --
Oct 27, 4:31 pm 2008
Harvey Harrison
[RFC PATCHv2] printk: add the %pM, %p4, %p6 format specifiers
Add format specifiers for printing out colon-separated bytes: MAC addresses (%pM): xx:xx:xx:xx:xx:xx IPv4 addresses (%p4): xx:xx:xx:xx IPv6 addresses (%p6): xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx %#pM, %#p4, %#p6 are also supported and print without the colon separators. [Based on Johannes Berg's initial patch] Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> --- This one without the embarrassing index typos in ip6_address and mac_address. lib/vsprintf.c | 64 ...
Oct 26, 5:31 pm 2008
Harvey Harrison
[RFC PATCHv3] printk: add %pM format specifier for MAC a ...
Add format specifiers for printing out six colon-separated bytes: MAC addresses (%pM): xx:xx:xx:xx:xx:xx %#pM is also supported and omits the colon separators. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> --- Dave, this passes testing here, but I was wondering if perhaps it would be better to allow a length to be specified as well, which would allow: %pM6 for mac addresses, etc as there seem a lot of places in kernel that print out a list of colon separated bytes of ...
Oct 27, 12:59 pm 2008
David Miller
Re: [RFC PATCHv3] printk: add %pM format specifier for M ...
From: Joe Perches <joe@perches.com> I'll make this change when I apply Harvey's patch. --
Oct 27, 3:46 pm 2008
Harvey Harrison
Re: [RFC PATCHv3] printk: add %pM format specifier for M ...
Did you happen to have a preference with regard to the specifier for IPv6 addresses: I was thinking of using %pI6 to replace NIP6() and NIP6_FMT and using %#pI6 for NIP6_SEQFMT. On the IPv4 side, maybe use %pI4 for network endian NIPQUAD() and NIPQUAD_FMT and then %#pI4 for host-endian HIQUAD(), as displaying the IPv4 address without the periods isn't useful? What do you think of that? Harvey --
Oct 27, 4:14 pm 2008
Frans Pop
Re: [RFC PATCHv2] printk: add the %pM, %p4, %p6 format s ...
Shouldn't that last one be '6' instead of 'M'? --
Oct 26, 6:21 pm 2008
Johannes Berg
Re: [RFC PATCHv2] printk: add the %pM, %p4, %p6 format s ...
The # for ipv4 we might use for cpu-endian rather than network-endian maybe? Also can you keep mac/ip address patches split up so we can use my version of the mac address patch (it's already well-tested)? johannes
Oct 26, 11:59 pm 2008
Jianjun Kong
[PATCH/RESEND] mm: Fix problem of parameter in note
'current' is a pointer, so the right form is 'down_write(&current->mm->mmap_sem)'. Signed-off-by: Jianjun Kong <jianjun@zeuux.org> --- mm/mmap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/mmap.c b/mm/mmap.c index 74f4d15..3183990 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -904,7 +904,7 @@ void vm_stat_account(struct mm_struct *mm, unsigned long flags, #endif /* CONFIG_PROC_FS */ /* - * The caller must hold down_write(current->mm->mmap_sem). + * ...
Oct 26, 5:27 pm 2008
Yinghai Lu
Re: PAT and MTRRs
On Sun, Oct 26, 2008 at 4:46 PM, Diego M. Vadell can you try 2.6.28-rc2 ot tip/master and boot with mtrr_cleanup_debug ? YH --
Oct 26, 10:17 pm 2008
H. Peter Anvin
Re: PAT and MTRRs
Now, if it wasn't for the braindamage called ACPI and SMM, we could have cleared the MTRR settings and just used PAT... -hpa --
Oct 26, 5:21 pm 2008
H. Peter Anvin
Re: PAT and MTRRs
Well, in the end it comes down to the same thing: SMM expects the memory map to reside in MTRRs. We can "sanitize" the memory map, but we can't throw it out the window like what we really should be able to. -hpa --
Oct 26, 5:38 pm 2008
Arjan van de Ven
Re: PAT and MTRRs
On Sun, 26 Oct 2008 22:46:21 -0100 PAT can't make memory cachable that the MTRR's have as uncachable. What PAT *can* do is, within an MTRR, do fine grained mapping... -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Oct 26, 5:12 pm 2008
Arjan van de Ven
Re: PAT and MTRRs
On Sun, 26 Oct 2008 17:21:41 -0700 yeah.. one thing we need to investigate is if we can set the default "no mtrr coverage" value to cached (and also.. to check we don't set that to uncached if the bios had it set to cached..) -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for ape savings, visit http://www.lesswatts.org --
Oct 26, 5:34 pm 2008
Dave Chinner
Re: Order 0 page allocation failure under heavy I/O load
No, because I've found the XFS bug the workload was triggering so I don't need to run it anymore. I reported the problem because it appears that we've reported an allocation failure without very much reclaim scanning (64 pages in DMA zone, 0 pages in DMA32 zone), and there is apparently pages available for allocation in the DMA zone: 1304740.262136] Node 0 DMA: 160*4kB 82*8kB 32*16kB 11*32kB 8*64kB 4*128kB 3*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB = 8048kB So it appears that memory ...
Oct 26, 11:22 pm 2008
Claudio Martins
Re: Order 0 page allocation failure under heavy I/O load
Hello, I think I have hit something similar on a box running nbd-server to export a 3 SATA disk raid0 block device over Gigabit Ethernet. Increasing min_free_kbytes got rid of the messages for me... Though the load on your system is much higher than on mine. Regards Cláudio --
Oct 26, 10:47 pm 2008
Dave Chinner
Re: Order 0 page allocation failure under heavy I/O load
How did we get a gfp_mask with only __GFP_NOMEMALLOC? A mempool allocation sets that and many more flags (like __GFP_NORETRY) but So if it wasn't a __GFP_DMA allocation - then what ran out of I didn't run the system low on memory - the *kernel* did. The page cache is holding most of memory, and most of that is clean: Active:254755 inactive:180546 dirty:13547 writeback:20016 unstable:0 The I/O path started with a page fault and a call to balance_dirty_pages_ratelimited_nr(). i.e. all ...
Oct 27, 3:17 am 2008
Peter Zijlstra
Re: Order 0 page allocation failure under heavy I/O load
The allocation is 'mode:0x10000', which is __GFP_NOMEMALLOC. That means the allocation doesn't have __GFP_WAIT, so it cannot do reclaim, it doesn't have __GFP_HIGH so it can't access some emergency reserves. The DMA stuff is special, and part of it is guarded for anything but __GFP_DMA allocations. You just ran the system very low on memory, and then tried an allocation that can't do anything about it.. I don't find it very surprising it fails. The 'bug' if any, is having such a poor ...
Oct 27, 1:04 am 2008
Krzysztof Halasa
Re: [PATCH 1/1] r8169: revert "read MAC address from EEP ...
You mean "manually" controlling EEPROM clock and data lines, using a different register? A speed issue by chance? If they have a different way to write to the EEPROM (using direct access to EEPROM signals), then perhaps there is no EEPROM write mode using VPD? VPD write mode (not writing to the address/F register, but writing to VPD "storage" itself) is quite simple and permanent, thus I see. I wouldn't drop this patch permanently, though. -- Krzysztof Halasa --
Oct 27, 7:49 am 2008
Frédéric Weisbecker
Re: [PATCH][RESEND] ftrace: Add a script to produce a hi ...
Good idea, for example bootgraph.pl matches the case, if Arjan agrees. --
Oct 27, 3:26 am 2008
Ingo Molnar
Re: [PATCH][RESEND] ftrace: Add a script to produce a hi ...
nice! Applied it to tip/tracing/ftrace. I've added Steve's Acked-by, and i've moved the script to scripts/tracing/ - now that we'll have a handful of utility scripts there we might as well separate it a bit more clearly from the usual body of kernel scripts. i think we should move the other utility scripts there too. (but not the recordmcount script - that is an infrastructure script, not a utility script) Ingo --
Oct 27, 3:01 am 2008
Frederic Weisbecker
Re: [PATCH][RESEND] ftrace: Add a script to produce a hi ...
Ok it's corrected thanks to the trace sent by Steven. Here is a V2. --- From: Frederic Weisbecker <fweisbec@gmail.com> Subject: [PATCH] ftrace: Add a script to produce a hierarchical view of a function trace This script parses a function trace and then produces a hierarchical view of the function call stack after processing it into a tree. Changes on V2: _ Support both the files "trace" and "trace_pipe" (comments and space differences) _ Correct the mini HOW-TO at the ...
Oct 26, 6:05 pm 2008
Ingo Molnar Oct 27, 3:27 am 2008
Arjan van de Ven
Re: [PATCH][RESEND] ftrace: Add a script to produce a hi ...
On Mon, 27 Oct 2008 11:27:57 +0100 bootgraph.pl is sort of borderline since it also works without tracing but I'm not opposed to it if it makes scripts/ more organized --
Oct 27, 10:29 am 2008
Rafael J. Wysocki
Re: [linux-pm] Freezer: Don't count threads waiting for ...
Well, I guess it's better if you post the entire thing so that we can see what the role of the $subject patch is in it, even if this patch finally gets merged separately. Thanks, Rafael --
Oct 27, 4:37 am 2008
Miklos Szeredi
Re: [linux-pm] Freezer: Don't count threads waiting for ...
Right, but it could also be sleeping in any other wait_event(), Please post the full patch, it'd be a lot better to see the big picture instead of just a small part of it. Thanks, Miklos --
Oct 27, 4:37 am 2008
Miklos Szeredi
Re: [linux-pm] Freezer: Don't count threads waiting for ...
Nigel, thanks for the patch, it makes thinks a lot clearer. From a quick look through the patch it seems to solve a bunch of cases where new fuse requests during the freezing could cause problems. But it doesn't do anything with requests that are already under way when the freezing starts, which would still result in all the same problems. Take this scenario: 1) process A does rename("/mnt/fuse/a", "/mnt/fuse/b") 2) request goes to process B serving the fuse filesystem 3) ...
Oct 27, 5:38 am 2008
Miklos Szeredi
Re: [linux-pm] Freezer: Don't count threads waiting for ...
The description is missing some details: why is the filesystem frozen before suspend? AFAICS this can happen when DM calls bdev_freeze() on the device before the task freezing begins. Is this the case? Also, while the patch might solve some of the symptoms of the fuse vs. process freezer interaction, it will not fully fix that problem. As such it's just a hack to hide the problem, making it less likely to appear. So I'm not at all conviced about this patch. Thanks, Miklos --
Oct 27, 4:12 am 2008
Nigel Cunningham
Re: [linux-pm] Freezer: Don't count threads waiting for ...
Hi. Ah.. that makes me see how vfs_check_frozen was getting triggered... (fs/namei.c, below). Regards, Nigel fs/buffer.c | 87 ++++++++++++++++++++++++++++++++++++++++++++ fs/fuse/control.c | 1 fs/fuse/dev.c | 7 +++ fs/fuse/dir.c | 35 +++++++++++++++-- fs/fuse/file.c | 14 +++++++ fs/fuse/fuse.h | 13 ++++++ fs/fuse/inode.c | 4 +- fs/namei.c | 2 + ...
Oct 27, 4:40 am 2008
Nigel Cunningham
Re: [linux-pm] Freezer: Don't count threads waiting for ...
Hi Miklos. It doesn't matter why a process is sitting in that wait_event call. What does matter is that one can be there. In the case where I saw it, I was working on fuse freezing. I don't remember the details, as it's a year No, it's part of the solution. I haven't posted the full fuse freezing patch because I thought this could be profitably merged without the rest of the patch. Regards, Nigel --
Oct 27, 4:20 am 2008
Miklos Szeredi
Re: [linux-pm] Freezer: Don't count threads waiting for ...
No, I mean the filesystem is only frozen at 3 not before, so B is Both A and B are userspace processes. The order of freezing userspace processes is basically random, there's no way to make sure that processes doing work on behalf of a fuse filesystem (B) are frozen after processes accessing the fuse filesystem (A). Miklos --
Oct 27, 2:09 pm 2008
Nigel Cunningham
Re: [linux-pm] Freezer: Don't count threads waiting for ...
Hi. Sorry. You're right - I was confusing things in what I said, but I do have a (unconfused) solution: The answer is to freeze the fuse filesystems first, stopping new requests (freezing the processes making them) before they are passed on to userspace and allowing existing requests to complete or freeze. Once that is done, the userspace fuse processes will be idle, at least as far as fuse activity is concerned. After fuse activity is stopped, userspace can be frozen without worrying ...
Oct 27, 3:13 pm 2008
Nigel Cunningham
Re: [linux-pm] Freezer: Don't count threads waiting for ...
Hi. I'll have a look at the code again. I deliberately didn't stop existing requests, but perhaps that's the wrong behaviour. In the above scenario, process B won't see process A's new request until post-resume if the filesystem is already frozen, so steps 4 & 5 don't happen. Process B will also always be frozen before process A if process A is userspace (most likely in the above scenario) or was mounted after process B. (I've had this patch distributed as is for almost a year, I agree ...
Oct 27, 1:59 pm 2008
Christian Kujau
Re: [software coproarchaeology] sbc8240 story
For the record: the driver depends on MTD_JEDECPROBE && 8260, where 8260 is filed under "82xx-based boards" in PowerPC. I don't know if we have that much compile tests for this particular arch. http://l4x.org "only" lists cell_defconfig and g5_defconfig... C. -- BOFH excuse #167: excessive collisions & not enough packet ambulances --
Oct 27, 2:26 pm 2008
David Newall
Re: [software coproarchaeology] sbc8240 story
Perhaps it's being used in an old kernel; and eventually they might hope to upgrade. --
Oct 26, 11:23 pm 2008
Pavel Machek Oct 27, 1:42 pm 2008
Krzysztof Halasa
Re: [PATCH 1/1] r8169: revert "read MAC address from EEP ...
[Reposting to lkml only, Gnus likes to eat quoting from email addresses under specific circumstances and then vger doesn't pass them through] Ahh, just PCI VPD. IMHO the above shouldn't hurt anyone, in theory. You only write to VPD_ADDR, and to change actual VPD data (i.e., EEPROM), you need to write to VPD_DATA. Anyone should be allowed to do that even for unknown PCI devices Now I wonder what do they say the above does exactly. No RTL_W8(Config1, cfg1 | ~VPD) to disable (perhaps ...
Oct 27, 3:29 pm 2008
Alexander Belyakov Oct 27, 2:25 am 2008
Wim Van Sebroeck
Re: [PATCH] [WATCHDOG] Fix kdump when using hpwdt
Hi Bernard, the syntax is: #define module_param(name, type, perm) perm sets the visibility in sysfs: 000 means it's not there, read bits mean it's readable, write bits mean it's writable. perm is not the default value for the integer but a file permission attribute. Kind regards, Wim. --
Oct 27, 12:30 pm 2008
Bernhard Walle
Re: [PATCH] [WATCHDOG] Fix kdump when using hpwdt
Hi Wim, Yeah, thanks for spotting that. I was a bit in hurry while creating the patch ... I'll come up with an updated patch with the suggestions from Vivek. Probably tomorrow. Regards, Bernhard -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development --
Oct 27, 2:52 pm 2008
Edward Shishkin
Re: Reiser4 and d_alloc_anon
Does the last -mm work properly btw? I didn't take a look at this yet, but it shouldn't be a big deal.. Thanks, Edward. --
Oct 27, 4:23 pm 2008
Stefan Richter
Re: [Bug 11824][PATCH] ieee1394: raw1394: fix possible d ...
.write() and .mmap() were not serialized against each other and against .ioctl() at all in raw1394 before 2.6.28-rc1. Only .ioctl() was (somewhat) serialized against itself due to traditionally being implemented as .ioctl() instead of .unlocked_ioctl(). If there were ever concurrent userspace contexts accessing the same file handle, they would have corrupted raw1394's internal state eventually. Application developers have been advised all the time to access the file handle only from a ...
Oct 27, 6:37 am 2008
Ingo Molnar
Re: [Bug 11824][PATCH] ieee1394: raw1394: fix possible d ...
So we can return a spurious -EAGAIN to user-space, if the state_mutex is taken briefly by some other context? Ingo --
Oct 27, 3:13 am 2008
Stefan Richter
Re: [Bug 11824][PATCH] ieee1394: raw1394: fix possible d ...
PS: There is a need for serialization to some degree because the client registers itself with a controller via .write() (among many other things that are implemented through .write()), manages isochronous I/O contexts on this controller via .ioctl() and maps DMA buffers for isochronous I/O via .mmap(). The raw1394 driver tracks respective state by means of two state variables and some other variables, and accesses of the state variables is not reentrant within one opener of /dev/raw1394. ...
Oct 27, 6:53 am 2008
James Bottomley
Re: Timeout regression introduced by 242f9dcb8ba6f68fcd2 ...
OK, so if we take the first trace as definitive, since it shows the same command going around twice (being freed and reallocated from the slab in between), it does tend to imply the one on eh_cmd_q is bogus. Could you print out all scsi commands going into ata_qc_issue so we can Well, it was worth a shot. James --
Oct 27, 8:03 am 2008
Mike Anderson
Re: Timeout regression introduced by 242f9dcb8ba6f68fcd2 ...
I was trying to recreate this error using ata_ram wth v2.6.28-rc2. Currently I am not able to see this error on timeout recovery using this setup. Does IO load (or other factors) effect the error being seen? -andmike -- Michael Anderson andmike@linux.vnet.ibm.com --
Oct 27, 2:30 pm 2008
Tejun Heo
Re: Timeout regression introduced by 242f9dcb8ba6f68fcd2 ...
I have no idea either. It's something in the timeout logic because on the issue path the scmd pointer is identical but on tiemout pointer Nope, the tested commits are before the block queue tag transition and I tested two consecutive commits. 242f9dcb^ is okay. 242f9dcb is not. Thanks. -- tejun --
Oct 26, 6:51 pm 2008
David Miller
Re: [patch 2/2] libertas: free sk_buff with kfree_skb
From: Sergio Luis <sergio@larces.uece.br> Also applied, thanks Sergio. --
Oct 26, 11:09 pm 2008
Marcel Holtmann
Re: [patch 1/2] btsdio: free sk_buff with kfree_skb
that is fine with me. No need to run this through me. Regards Marcel --
Oct 27, 1:37 am 2008
David Miller
Re: [patch 1/2] btsdio: free sk_buff with kfree_skb
From: Sergio Luis <sergio@larces.uece.br> Since this is pretty obvious I'm applying this directly, I hope Marcel doesn't mind :-) --
Oct 26, 11:09 pm 2008
Ingo Molnar
Re: [PATCH] x86: keep the page count correct
applied to tip/x86/urgent, thanks guys! Ingo --
Oct 27, 10:55 am 2008
Suresh Siddha
Re: [PATCH] x86: keep the page count correct
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com> --
Oct 27, 9:50 am 2008
Bartlomiej Zolnierki ... Oct 27, 11:38 am 2008
Luis R. Rodriguez
Re: bisected: 2.6.28-rc broke my iwl4965 wireless
Arjan, so newer kernels require CRDA and iw to set regulatory domain, otherwise only the world regulatory domain is set so if your AP is not in the world regulatory domain it won't connect. To enable the other channels you need CRDA and iw installed. http://wireless.kernel.org/en/developers/Regulatory/CRDA http://wireless.kernel.org/en/users/Documentation/iw Drivers can also hint to CRDA as per the API a country and in those cases only CRDA is required, however right now only zd1211rw is ...
Oct 27, 9:38 am 2008
Arjan van de Ven
Re: bisected: 2.6.28-rc broke my iwl4965 wireless
On Mon, 27 Oct 2008 09:38:12 -0700 the point is that this compatibility behavior should have been the default... since it'll be at least 6 months before current distros will even ship the userland.. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Oct 27, 10:33 am 2008
Johannes Berg
Re: bisected: 2.6.28-rc broke my iwl4965 wireless
Luis, Arjan's bug is actually indicative of a driver bug, he told me that he actually runs into driver message like "cannot set TX power while scanning", and it's fixed by setting WIRELESS_OLD_REGULATORY for some reason. Arjan, do you still have the actual messages you get when it fails? That's a separate bug we should address, rather than relying on it not happening with the old regulatory setting. johannes
Oct 27, 9:41 am 2008
Takashi Iwai
Re: [alsa-devel] 2.6.26.[6|7] vs. rt11 vs. alsa (usb) midi
At Sat, 25 Oct 2008 19:46:27 -0700, What about other MIDI devices on other bus, e.g. an MPU401 on a PCI soundcard or so? There is a possibility of breakage in the USB driver side, too. Takashi --
Oct 27, 1:13 am 2008
Ingo Molnar Oct 27, 3:13 am 2008
Pavel Machek
Re: [Bug #11835] 2.6.27-git8: max1111_read_channel and c ...
...seems to be fixed in 2.6.28-rc1. Unfortunately, resulting kernel still will not boot :-(. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Oct 27, 1:56 am 2008
Rafael J. Wysocki
Re: [Bug #11835] 2.6.27-git8: max1111_read_channel and c ...
-rc2 should be better at that. :-) Thanks, Rafael --
Oct 27, 4:46 am 2008
Carlos R. Mafra
Re: [Bug #11851] wmifinfo dockapp takes 100% of cpu
Fixed by commit 4d36a9e65d4966b433b2f3424d9457468bc80e00 --
Oct 27, 12:43 pm 2008
Rafael J. Wysocki Oct 27, 1:23 pm 2008
Simon Horman
Re: nfsroot.txt in 2.4.36.7 and 2.6.27.1, Configure.help ...
Hi Hartmut, I think that your changes to nfsroot.txt are good and should be considered for inclusion in a future release (probably 2.6.29). In order to aid this could you please do the following and resend the patch 1) Trim down the description above to only describe the nfsroot.txt changes. 2) Add a full path to the patch. Basically --- nfsroot.txt.orig 2008-10-25 23:18:33.000000000 +0200 +++ nfsroot.txt 2008-10-25 23:24:48.000000000 +0200 should be --- ...
Oct 26, 10:24 pm 2008
Matthias Schniedermeyer
Re: [PATCH] Documentation/filesystems/nfsroot.txt: CONFI ...
Technically you neither need autoconfiguration nor CONFIG_ROOT_NFS. With an initrd/initramfs you can do the whole procedure from userspace. And AFAIR a few years back those options where on the brink of beeing deprecated for just that reason. Just my 2 cents. Bis denn -- Real Programmers consider "what you see is what you get" to be just as bad a concept in Text Editors as it is in women. No, the Real Programmer wants a "you asked for it, you got it" text editor -- ...
Oct 27, 3:04 pm 2008
Hartmut Niemann
[PATCH] Documentation/filesystems/nfsroot.txt: CONFIG_IP ...
The file nfsroot.txt fails to mention, that Kernel level autoconfiguration CONFIG_IP_PNP must be selected in order to be able to even see the option "Root file system on NFS" (CONFIG_ROOT_NFS) I reordered the section 1 of nfsroot.txt and emphasized the dependency. (And I fixed some chapter numbering in section 3). Signed-off-by: Hartmut Niemann <Hartmut.Niemann@gmx.de> --- --- linux-2.6.27.1/Documentation/filesystems/nfsroot.txt 2008-10-16 01:02:53.000000000 +0200 +++ ...
Oct 27, 2:41 pm 2008
Roman Zippel
Re: [PATCH] fix allmodconfig breakage
Hi, Thanks for looking into this. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> bye, Roman --
Oct 27, 7:40 am 2008
Simon Arlott
Re: r8169 MAC addresses broken
With the reverted patch my MAC addresses are still broken: [ 1.527660] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 1.533421] r8169 0000:00:09.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10 [ 1.541743] r8169 0000:00:09.0: PCI: Disallowing DAC for device [ 1.547799] r8169 0000:00:09.0: no PCI Express capability [ 1.554519] eth0: RTL8169sc/8110sc at 0xbf6f8000, 00:00:00:00:25:c2, XID 18000000 IRQ 10 [ 1.563480] r8169 Gigabit Ethernet driver 2.3LK-NAPI ...
Oct 27, 12:50 pm 2008
Soeren Sonnenburg
Re: [2.6.28-rc1 regression] appletouch
indeed w/ -rc2 the mouse works fine. Re' fn-keys the path in /sys changed to /sys/module/hid_apple/parameters/fnmode ... Soeren --
Oct 27, 3:06 am 2008
Jiri Kosina
Re: [2.6.28-rc1 regression] appletouch
Yes, the apple quirks have been separated to a separate module (and the same applies for all other device-specific quirks that were present in the generic HID code). Having all these together in the generic code started to become totally unmaintainable mess, the current way is much more clean. -- Jiri Kosina SUSE Labs --
Oct 27, 3:13 am 2008
Ingo Molnar
[PATCH] asm-generic: define DIE_OOPS in asm-generic
ok - i've queued up the patch below in tip/tracing/urgent, thanks guys. Ingo From 5209f08dc8e5f520ca81b87fa9a7142f58a109f4 Mon Sep 17 00:00:00 2001 From: Jonas Bonn <jonas.bonn@gmail.com> Date: Sat, 25 Oct 2008 11:49:20 +0200 Subject: [PATCH] asm-generic: define DIE_OOPS in asm-generic Impact: build fix DIE_OOPS is now used in the generic trace handling code so it needs to be defined for all architectures. Define it in asm-generic so that it's available to all by default and ...
Oct 27, 3:40 am 2008
Maciej Rutecki
Re: [Re: Linux 2.6.28-rc1] ACPI Warning (nspredef-0852)[...]
I was wrong; it happens not only after suspend to ram but sometimes after normal boot. -- Maciej Rutecki http://www.maciek.unixy.pl --
Oct 27, 1:19 pm 2008
Lachlan McIlroy
Re: linux-next: left over things in linux-next after 2.6.28-c1
The XFS tree used for linux-next got a bit out of whack and I couldn't make sense of the mess so I've been using a different tree for the mainline pull requests. We'll have this mess sorted out soon. --
Oct 27, 12:44 am 2008
Jan Kara
Re: [PATCH 2/2] ext4: fix a bug accessing freed memory i ...
-- Jan Kara <jack@suse.cz> SuSE CR Labs --
Oct 27, 1:11 am 2008
Hidehiro Kawai
[PATCH 1/2 take 2] ext3: fix a bug accessing freed memor ...
Ah, OK. I fixed the commit log. Thanks, Subject: [PATCH 1/2] ext3: fix a bug accessing freed memory in ext3_abort Vegard Nossum reported a bug which accesses freed memory (found via kmemcheck). When journal has been aborted, ext3_put_super() calls ext3_abort() after freeing the journal_t object, and then ext3_abort() accesses it. This patch fix it. Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com> Acked-by: Jan Kara <jack@suse.cz> --- fs/ext3/super.c | 10 ...
Oct 27, 4:44 am 2008
Jan Kara
Re: [PATCH 1/2] ext3: fix a bug accessing freed memory i ...
The patch looks fine. Acked-by: Jan Kara <jack@suse.cz> -- Jan Kara <jack@suse.cz> SuSE CR Labs --
Oct 27, 1:11 am 2008
Hidehiro Kawai
[PATCH 1/2] ext3: fix a bug accessing freed memory in ex ...
Hi Vegard, Thank you for reporting this regression. It's my fault. I send patches to fix. Regards, Subject: [PATCH 1/2] ext3: fix a bug accessing freed memory in ext3_abort Vegard Nossum reported a bug which accesses freed memory. When journal has been aborted, ext3_put_super() calls ext3_abort() after freeing the journal_t object, and then ext3_abort() accesses it. This patch fix it. Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com> --- fs/ext3/super.c | 10 ...
Oct 27, 12:31 am 2008
Hidehiro Kawai
[PATCH 1/2] ext3: fix a bug accessing freed memory in ex ...
Hi Vegard, Thank you for reporting this regression. It's my fault. I send patches to fix. Regards, Subject: [PATCH 1/2] ext3: fix a bug accessing freed memory in ext3_abort Vegard Nossum reported a bug which accesses freed memory. When journal has been aborted, ext3_put_super() calls ext3_abort() after freeing the journal_t object, and then ext3_abort() accesses it. This patch fix it. Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com> --- fs/ext3/super.c | 10 ...
Oct 27, 12:26 am 2008
Ingo Molnar
Re: [PATCH 2/2] ext4: fix a bug accessing freed memory i ...
could you please put the word "kmemcheck" into the commit log? ("found via kmemcheck" or so) We want to have an easily git-greppable track record of upstream kernel bugs that were found via kmemcheck. (and there's already a long list) Ingo --
Oct 27, 3:43 am 2008
Hidehiro Kawai
[PATCH 2/2 take 2] ext4: fix a bug accessing freed memor ...
Vegard Nossum reported a bug which accesses freed memory (found via kmemcheck). When journal has been aborted, ext4_put_super() calls ext4_abort() after freeing the journal_t object, and then ext4_abort() accesses it. This patch fix it. Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com> Acked-by: Jan Kara <jack@suse.cz> --- fs/ext4/super.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Index: ...
Oct 27, 4:50 am 2008
Hidehiro Kawai
[PATCH 2/2] ext4: fix a bug accessing freed memory in ex ...
Vegard Nossum reported a bug which accesses freed memory. When journal has been aborted, ext4_put_super() calls ext4_abort() after freeing the journal_t object, and then ext4_abort() accesses it. This patch fix it. Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com> --- fs/ext4/super.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Index: linux-2.6.28-rc2/fs/ext4/super.c =================================================================== --- ...
Oct 27, 12:37 am 2008
Theodore Tso
Re: [PATCH 2/2 take 2] ext4: fix a bug accessing freed m ...
Many thanks, Kawai-san, it looks good. I'll get this queued for mainline. - Ted --
Oct 27, 11:05 am 2008
Thomas Renninger
Re: leds-hp-disk vs lis3lv02d
But for long-term the HPQ0004 specific things in the lids3v driver should get merged with your HP leds driver also registering for HPQ0004 and the lids3v specific things should get a separate driver which HPQ0004 driver makes use of? Kay may know whether this should work and how. IMO having several drivers registering for the same HID should get avoided if possible, it's confusing. Thomas Pavel: I am also not sure whether it's a good idea to mis-use the HP's LED for mail ...
Oct 27, 5:45 am 2008
Pavel Machek
Re: leds-hp-disk vs lis3lv02d
That's how LED interface works. This _is_ general LED. Check permissions in /sys; root permissons should be needed to -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Oct 27, 6:03 am 2008
Kay Sievers
Re: leds-hp-disk vs lis3lv02d
There is currently no driver core support to bind two "struct device" to one parent "struct device" from different drivers. You can work around that by creating a custom "struct bus_type", create the several function devices there, and let them bind different drivers. This is what matches a lot of hardware like custom devices all hiding behind a single PCI device. Or the code for the two functions must live in the same driver, and create class devices, so it looks to the core like a single ...
Oct 27, 5:58 am 2008
Rob MacKinnon
Re: tmpfs support of xattrs?
I had intensionally flipped CONFIG_SECURITY_SMACK to "y". I'm used to running hardened with GRSec and RBAC (ot: but found the gentoo versioning was so far behind / and me being lazy and not wanting to manually do the patching / I dropped using hardened sources) so when I saw the option for what sounded like a good compromise I jumped at it. Looks like I did a good thing too having uncovered a problem. :) -- Rob --
Oct 27, 2:00 pm 2008
Casey Schaufler
Re: tmpfs support of xattrs?
Yes indeed, and thank you. Stephen has already suggested a fix, I just need to do some code, build, and test once I get to Smack time. --
Oct 27, 2:54 pm 2008
Rob MacKinnon
Re: tmpfs support of xattrs?
Thanks Andreas, Hugh & HPA First off, thanks for looking into this. After googling around, hitting forums and such and not getting any answers, this list seemed the best place to come to ask. Now onward to business...I can say that I too was under the general understanding that xattr for tmpfs was added at 2.6.10...and was still currently supported. Unfortunately I already have the config flags set (as seen below, for a full config set attached) so there is a continued confusion in my ...
Oct 27, 1:14 pm 2008
Rob MacKinnon
Re: tmpfs support of xattrs?
All, Indeed the kernel cmdline option security=none did disable smack. So atleast that works. Thank you all for helping me track this down. I can now return to updating packages (some of which have been waiting patiently for this to be cleared up)! Though I will be looking forward to this feature working as it was intended. ;) Let me know if there is a bug # assigned and I'll quietly return to lurking... ;) -- Rob --
Oct 27, 2:12 pm 2008
Stephen Smalley
Re: tmpfs support of xattrs?
Looks like a bug in Smack's implementation of the inode_listsecurity hook to me. Did you mean to enable Smack in your kernel config? -- Stephen Smalley National Security Agency --
Oct 27, 1:25 pm 2008
Andreas Gruenbacher
Re: tmpfs support of xattrs?
Yes, there is at least one bug there; this kernel is broken. You may want to try booting with a kernel command line option like "security=none", which *should* turn smack off. Andreas --
Oct 27, 1:53 pm 2008
H. Peter Anvin
Re: [PATCH 00/12] x86: Cleanup idt, gdt/ldt/tss structs
There is, however, some benefit to use the field names that are in the official documentation, which include P. -hpa --
Oct 27, 7:34 am 2008
Ingo Molnar
Re: [PATCH 00/12] x86: Cleanup idt, gdt/ldt/tss structs
yes, at every step the kernel is expected to build and boot fine. Ingo --
Oct 27, 3:57 am 2008
Jeremy Fitzhardinge
Re: [PATCH 00/12] x86: Cleanup idt, gdt/ldt/tss structs
Using bitfields would be a lot more appealing if the x86 design weren't so batshit insane. Given that the addresses and limits are split of multiple bitfields, you need to have a set of accessors for those at least. If you're going to do that, it might be worth having them for all the fields, at least for consistency. Perhaps this would be too ugly and clumsy, but there isn't much code which really does anything with descriptors in detail. --
Oct 27, 4:02 pm 2008
Joe Damato
Re: [PATCH 00/12] x86: Cleanup idt, gdt/ldt/tss structs
Thanks for your very useful comments and feedback. I've included a few Out of curiosity what exactly do you mean when you say "fragile"? Sorry That sounds reasonable, I will play around, write a few, and probably OK, I'll try to use more descriptive names. As hpa pointed out in his email, 'p' is the name of the field in the intel x86 documentation. I will probably continue to play around with it and try to resubmit something in a few days that incorporates your feedback. I've ...
Oct 27, 2:15 pm 2008
Ingo Molnar
Re: [PATCH 00/12] x86: Cleanup idt, gdt/ldt/tss structs
hm, a couple of comments. Firstly, a patch logistical one: we moved all the x86 header files from include/asm-x86/ to arch/x86/include/asm/ in v2.6.28-rc1 - your patchset is against an older kernel. Should be easy enough to fix up. Secondly, i'm not that convinced about the expanded use of bitfields that your patchset implements. Their semantics are notoriously fragile so we'd rather get _away_ from them, not expand them. _But_, this area could be cleaned up some more - just in a ...
Oct 27, 3:55 am 2008
Ingo Molnar
Re: [PATCH 2/4] Hypervisor detection and get tsc_freq fr ...
please do _NOT_ call anything like this a "backdoor", anywhere in the source or the commit log. "Backdoor" is most commonly used for intentional security holes, and we dont want anything like that in the kernel code. What this code implements is not a backdoor, it is simply a facility to discover the hypervisor environment, not a "backdoor". Ingo --
Oct 27, 4:01 am 2008
Alok Kataria
Re: [PATCH 2/4] Hypervisor detection and get tsc_freq fr ...
Not a problem. Below is the updated patch. Thanks, Alok -- x86: Get TSC frequency from VMware hypervisor. From: Alok N Kataria <akataria@vmware.com> v3->v2 : Abstract the hypervisor detection and feature (tsc_freq) request behind a hypervisor.c file v2->v1 : Add a x86_hyper_vendor field to the cpuinfo_x86 structure. This avoids multiple calls to the hypervisor detection function. This patch adds function to detect if we are running under VMware. The current way to check ...
Oct 27, 10:41 am 2008
Ingo Molnar
Re: [PATCH 0/4] V3 Hypervisor detection and tsc_reliable ...
okay, this looks a lot better structurally - the DMI angle and the synthetic CPU flag, and the clocksource smarts are all a clean approach. Peter, any objections? Ingo --
Oct 27, 4:02 am 2008
Darrick J. Wong
Re: [PATCH] ibmpex: trivial endian annotation in extract ...
I'm not sure how this comment relates to the diff. That said, the diff itself is ok by me. --D --
Oct 27, 11:32 am 2008
Harvey Harrison
Re: [PATCH] ibmpex: trivial endian annotation in extract ...
I was referring to the extract_data helper inline, it's only used ~5 times and doesn't add much (IMO) over just opencoding it. Cheers, Harvey --
Oct 27, 12:26 pm 2008
Matt Mackall
Re: Bloatwatch 2.6.28-rc1: last_sysfs_file
I'm explicitly not using a magic number because the relevant magic number is absurdly large. It is in fact 4 times larger than printk can print. And its 40 times larger than any path we are liable to encounter. Inventing a new use-once #define meaning "good enough for debugging 99.99% of sysfs bugs" one line up is not an improvement here. And why on earth would I modify anything in printk? -- Mathematics is the supreme nostalgia of our time. --
Oct 27, 9:11 am 2008
Matt Mackall
Re: Bloatwatch 2.6.28-rc1: last_sysfs_file
That 1024 is supposed to effectively be infinity. Printk is intended to be a largely line-oriented facility. If you're printing something large enough that you even have to ask yourself 'hmm, how big a buffer can I print?', you're printing something -way- too large. First, I don't think it's accurate to apply the adjective 'critical' to a facility that's existed in mainline for mere days, while sysfs itself has existed many years. Second, I didn't pull it out of my ass, actually. I did a ...
Oct 27, 10:46 am 2008
Chris Snook
Re: Bloatwatch 2.6.28-rc1: last_sysfs_file
Because the 1024 limit is a created by an array declaration in printk.c, which uses the number 1024. Instead, put something like this in a header file: #define PRINTK_MAX 1024 Now use that in printk.c where the buffer is declared, and again in sysfs/file.c where last_sysfs_file is defined, in place of PATH_MAX. 1024 isn't nearly as bad as 4096. If you desperately need it to be even smaller, you might want to make the printk buffer a CONFIG option to live under CONFIG_EMBEDDED, which ...
Oct 27, 9:50 am 2008
Chris Snook
Re: Bloatwatch 2.6.28-rc1: last_sysfs_file
It's critical for debugging *new* things like PCI domain support, that people Does your system have multiple NUMA nodes, cascaded PCI bridges, and multipathed fibre channel storage? The point of this debugging feature is to help debug the cases that are *not* trivial. Your workstation probably isn't very interesting Showing the last 20 characters doesn't help in a highly repetitive file hierarchy where how you got there may be more important than where you ended up. I agree with ...
Oct 27, 11:16 am 2008
John W. Linville
Re: [PATCH] at76_usb: update drivers/staging/at76_usb w/ ...
Those were still there because Kalle had said he intended to use them. Fine with me, although I do have at least one patch for it that relates to a pending API change -- I just figured I'd wait for the round-trip of the patch above and then carry just that patch in my tree along with the mac80211 API changes that prompted it. Any other development makes sense to go to your tree. Alternatively, I could just drop the patch I have completely or send it to you to keep until ...
Oct 27, 2:15 pm 2008
Greg KH
Re: [PATCH] at76_usb: update drivers/staging/at76_usb w/ ...
I've applied this, but it does add the following warnings, which I don't think you want to have: drivers/staging/at76_usb/at76_usb.c:885: warning: ‘at76_set_associd’ defined but not used drivers/staging/at76_usb/at76_usb.c:903: warning: ‘at76_set_listen_interval’ defined but not used drivers/staging/at76_usb/at76_usb.c:989: warning: ‘at76_add_mac_address’ defined but not used I'll remove these unused functions now from the in-kernel version. Is there any way to do development on this in ...
Oct 27, 11:56 am 2008
Robert Richter
Re: [Cbe-oss-dev] [PATCH] Cell OProfile: Incorrect local ...
I applied your patch to oprofile/oprofile-for-tip. Thanks Carl. -Robert -- Advanced Micro Devices, Inc. Operating System Research Center email: robert.richter@amd.com --
Oct 27, 11:26 am 2008
Steven Whitehouse
Re: [PATCH] gfs2: sparse annotation of gl->gl_spin
Hi, Now in the -nmw GFS2 git tree. Thanks, Steve. --
Oct 27, 3:20 am 2008
Jonathan Cameron
[PATCH] da903x regulator bug fix
Changes the device registration part of the probe function to supply the regulator device rather than its parent (the mfd device) as this caused problems when the regulator core attempted to find constraints associated with the regulators. Signed-of-by: Jonathan Cameron <jic23@cam.ac.uk> -- This is quickest and simplest way to fix this bug. There may be better ways of doing it, but they all require considerably more substantial changes to the driver. diff --git ...
Oct 27, 8:29 am 2008
Kumar Gala Oct 27, 1:45 pm 2008
Benjamin Herrenschmidt
Re: [PATCH] genirq: Set initial default irq affinity to ...
That code is called by each CPU that gets onlined and OR's it's bit in the mask. Ben. --
Oct 27, 1:27 pm 2008
Kumar Gala
Re: [PATCH] genirq: Set initial default irq affinity to ...
While we have the comment the code appears not to really follow it. We appear to write 1 << hard_smp_processor_id(). - k --
Oct 27, 6:43 am 2008
Robert Richter
Re: [PATCH trivial fix] Change UTF8 chars in Kconfig hel ...
I applied your patch to oprofile/oprofile-for-tip. Thanks Jesper. -Robert -- Advanced Micro Devices, Inc. Operating System Research Center email: robert.richter@amd.com --
Oct 27, 11:29 am 2008
Mike Travis
[PATCH 1/1] SGI x86 UV: Update SCIR driver to use idle_c ...
Change UV heartbeat function to use idle_cpu to determine cpu's "idleness". Realign uv_hub definitions. Signed-of-by: Mike Travis <travis@sgi.com> --- arch/x86/include/asm/uv/uv_hub.h | 26 +++++++++++++------------- arch/x86/kernel/genx2apic_uv_x.c | 4 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) --- test-tip-latest.orig/arch/x86/include/asm/uv/uv_hub.h +++ test-tip-latest/arch/x86/include/asm/uv/uv_hub.h @@ -128,19 +128,19 @@ struct uv_scir_s { * They are kept ...
Oct 27, 7:51 am 2008
Ingo Molnar
Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity In ...
true, but it sets a bad example that others might follow - and it's not hard to fix anyway. Ingo --
Oct 27, 4:43 am 2008
Mike Travis
[PATCH 1/1] SGI x86 UV: Use raw_smp_processor_id
Thanks for the heads up! Yes, -rt is supported. Might as well avoid that problem now. Signed-of-by: Mike Travis <travis@sgi.com> --- arch/x86/kernel/genx2apic_uv_x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- test-tip-latest.orig/arch/x86/kernel/genx2apic_uv_x.c +++ test-tip-latest/arch/x86/kernel/genx2apic_uv_x.c @@ -372,7 +372,7 @@ static void uv_heartbeat(unsigned long i bits ^= SCIR_CPU_HEARTBEAT; /* is this cpu idle? */ - if ...
Oct 27, 11:46 am 2008
Mike Travis
Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity In ...
Ingo Molnar wrote: Ok, will do, thanks! Mike --
Oct 27, 7:38 am 2008
Ingo Molnar
Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity In ...
applied to tip/x86/uv, thanks Mike! Please send the cpu_idle() cleanup patch separately. Another minor thing i noticed: @@ -130,7 +140,9 @@ struct uv_hub_info_s { unsigned char blade_processor_id; unsigned char m_val; unsigned char n_val; + struct uv_scir_s scir; please align the new field vertically, like they were aligned before - by adding another tab to the whole lineup. (This will also make it appear nicer when viewed together with followup definitions below this ...
Oct 27, 4:42 am 2008
Ingo Molnar
Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity In ...
that's still hacky as it hardcodes the idle == pid-0 assumption. Please use the idle_cpu() function of the scheduler instead. Ingo --
Oct 27, 4:36 am 2008
Mike Travis
Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity In ...
Hi Andi, Sorry, I didn't see this message until now. I will look into doing this and ask the hw group if it's acceptable to drop BMC records when the cpu is idle. (I think they may still want them since this might also be confused with "the cpu is no longer uninterruptible".) Thanks, Mike --
Oct 27, 8:12 am 2008
Ingo Molnar
Re: [PATCH 1/1] SGI x86 UV: Update SCIR driver to use id ...
applied to tip/x86/uv, thanks Mike! were you ever to run an -rt kernel on that hardware, this would produce a warning. raw_smp_processor_id() would be more appropriate i guess. Ingo --
Oct 27, 11:06 am 2008
Martin Schwidefsky
Re: [GIT PULL] s390 updates for 2.6.28-rc1
Yeah, that was a misunderstanding between Heiko and me. I planned it for 2.6.29 and didn't tell him about it before I left for vacation. Heiko Ok, thanks. Less confused now. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. --
Oct 27, 5:32 am 2008
Ingo Molnar
Re: [GIT PULL] s390 updates for 2.6.28-rc1
maybe someone gets interested in cleaning up those bits. Our ASRL-fu is still a bit ... random all around. Ingo --
Oct 27, 11:11 am 2008
Ingo Molnar
Re: [GIT PULL] s390 updates for 2.6.28-rc1
okay, then i'm confused, the subject line says v2.6.28: [GIT PULL] s390 updates for 2.6.28-rc1 it's just a historic/quirky connection (non-executable stack was the first and biggest step towards a more flexible address space layout) - you were correct to have it cleaned up. Ingo --
Oct 27, 4:51 am 2008
Ingo Molnar Oct 27, 5:02 am 2008
Petr Vandrovec
Re: 2.6.27-rc1 (2fca5c): libata: kernel cant boot
No. It went through same story as without patch - first it declared drive #2 hung, after port reset drives #0,1,2 were declared hung, after second port reset drive #2 was declared dead, after third port reset drive #3 was hung, after fourth reset it said that /dev/sde changed capacity from 0 to 1TB, and at that point I decided that it is time to hit alt-sysrq-b to prevent damage... Also I think that this change leaks memory a bit... Petr Petr --
Oct 26, 6:28 pm 2008
Nadia Derbey
Re: [PATCH 1/1] (v2) SYSVIPC - Fix the ipc structures in ...
OK, it has been running during the week-end, without any problem. Resending the patch right now. Regards, Nadia -- Nadia Derbey <Nadia.Derbey@bull.net> --
Oct 27, 12:21 am 2008
Jeremy Fitzhardinge
Re: [PATCH 2/2] x86: replace BIO_VMERGE_BOUNDARY with BI ...
No, it doesn't. It was convenient to reuse that mechanism, but I can easily re-add something else (which would be more or less identical). J --
Oct 27, 2:18 am 2008
Jeremy Fitzhardinge
Re: [PATCH 2/2] x86: replace BIO_VMERGE_BOUNDARY with BI ...
Under Xen, pages which appear to be pseudo-physically adjacent are not necessarily really physically adjacent. We need to hook BIOVEC_PHYS_MERGEABLE to prevent the bio layer from inappropriately merging requests across non-contiguous page boundaries. J --
Oct 27, 1:21 am 2008
FUJITA Tomonori
Re: [PATCH] x86: remove dead BIO_VMERGE_BOUNDARY definition
On Fri, 24 Oct 2008 13:58:58 -0700 As I wrote, the patch doesn't look correct (I think that the first patch is fine if some arch want to use __BIOVEC_PHYS_MERGEABLE but no one in mainline overrides BIOVEC_PHYS_MERGEABLE): http://lkml.org/lkml/2008/10/27/1 --
Oct 26, 9:42 pm 2008
Jens Axboe
Re: [PATCH 2/2] x86: replace BIO_VMERGE_BOUNDARY with BI ...
Pretty much baffles me as well, xen should just need to do #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) 0 and that should be it. -- Jens Axboe --
Oct 27, 2:41 am 2008
FUJITA Tomonori
Re: [PATCH 2/2] x86: replace BIO_VMERGE_BOUNDARY with BI ...
On Mon, 27 Oct 2008 20:18:44 +1100 I still don't see how Xen needs something like the virtual merge (sounds that overriding BIOVEC_PHYS_MERGEABLE perfectly works for Xen) or why Xen needs a new boot parameter for it. The virtual merge just defines how IOMMUs should work. --
Oct 27, 2:36 am 2008
FUJITA Tomonori
Re: [PATCH 2/2] x86: replace BIO_VMERGE_BOUNDARY with BI ...
On Mon, 27 Oct 2008 19:21:41 +1100 I'm not familiar with what Xen does but why can't Xen just override BIOVEC_PHYS_MERGEABLE? Why does Xen need to hook BIOVEC_PHYS_MERGEABLE to the iommu_bio_merge parameter (as this patch does)? BIOVEC_PHYS_MERGEABLE and the iommu_bio_merge parameter are not related at all. --
Oct 27, 1:37 am 2008
Jens Axboe
Re: [PATCH 2/2] x86: replace BIO_VMERGE_BOUNDARY with BI ...
Alright, then add a xen_biovec_phys_mergeable(vec1, vec2) in the xen code that actually checks this for real. You can add your switch there as well. Then put the BIOVEC_PHYS_MERGEABLE() in the xen arch includes, done. What Tomo is saying is that this has nothing to do with virtual merging, and he's right. -- Jens Axboe --
Oct 27, 4:57 am 2008
Jeremy Fitzhardinge
Re: [PATCH 2/2] x86: replace BIO_VMERGE_BOUNDARY with BI ...
It needs to be a runtime switch, since we only want to do this when actually running under Xen. Also, its possible that the two pages might actually be physically contiguous, so they could be merged anyway. J --
Oct 27, 4:43 am 2008
FUJITA Tomonori
Re: [PATCH 2/2] x86: replace BIO_VMERGE_BOUNDARY with BI ...
On Fri, 24 Oct 2008 13:59:06 -0700 This doesn't look correct. The block layer always done the physical merge if possible. We don't provide any kernel parameter to disable it. The iommu_bio_merge parameter had been used to enable the virtual merge. As I wrote, the virtual merge feature was completely removed. Effectively, the iommu_bio_merge parameter is meaningless now. --
Oct 26, 8:52 pm 2008
Paul E. McKenney
Re: [PATCH] rcupdate: reduce sys's overhead when rcu_bar ...
Absolutely nothing wrong with that! ;-) We should make sure that this patch is kept somewhere so that if problems arise, it can be brought to bear quickly and easily. One approach would be to keep it in a git tree, but that would likely incur merge overhead. Another approach would be to have an RCU web page maintaining patches such as this one. Thoughts? --
Oct 27, 3:34 pm 2008
Lai Jiangshan
Re: [PATCH] rcupdate: reduce sys's overhead when rcu_bar ...
Hi, Paul, Thanks, we do not have problems with this at the moment. I suddenly had an association of ideas to synchronize_srcu(), so I made use of the ideas in synchronize_srcu() and this patch was made. --
Oct 26, 10:49 pm 2008
Rusty Russell
Re: [PATCH -tip/cpus4096-v2] cpumask: fix cpumask of cal ...
Agreed. The important thing is to get the new APIs in place so we can feed the updates to various maintainers (esp. arch maintainers). Thanks, Rusty. --
Oct 27, 3:21 pm 2008
Ingo Molnar
Re: [PATCH -tip/cpus4096-v2] cpumask: fix cpumask of cal ...
plus there are also the fixlets below. Ingo --------------> From a14b735fb7a82bb6561449dda4067365af7ee95c Mon Sep 17 00:00:00 2001 From: Rusty Russell <rusty@rustcorp.com.au> Date: Thu, 23 Oct 2008 14:35:31 -0700 Subject: [PATCH] cpumask: fixlets [ from Mike ] Here are the only changes I could find from Rusty's last patches that apply to tip/cpus4096-v2. * Fix NR_CPUS reference in arch/powerpc/platforms/cell/spu_base.c * modify arch/x86/Kconfig so CONFIG_NR_CPUS is always ...
Oct 27, 6:02 am 2008
Ingo Molnar
Re: [PATCH -tip/cpus4096-v2] cpumask: fix cpumask of cal ...
in any case, i've started testing tip/cpus4096-v2 again on x86 - the problem with d4de5a above was the only outstanding known issue, right? Ingo --
Oct 27, 5:59 am 2008
Ingo Molnar
Re: [PATCH -tip/cpus4096-v2] cpumask: fix cpumask of cal ...
ok - applied it to tip/cpus4096-v2, thanks Rusty! If there's any chance for this in v2.6.28 then only if we disable the dynamic API branch altogether [CONFIG_MAXCPUS] and keep that for v2.6.29. This means we'd bring in the API changes which should have trivial impact only - and none of the riskier changes. Hm? Andrew, have we missed the boat on this? Ingo --
Oct 27, 5:55 am 2008
Hiroshi Shimamoto
Re: [PATCH -tip/cpus4096-v2] cpumask: fix cpumask of cal ...
Hm, I think kmalloc-8 is too small. In this case, struct cpumask is defined; struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); }; So, storing cpumask such as cpu_core_map, cpu_sibling_map and sd->span etc. requires NR_CPUS bits. In Ingo's config, it needs 4096 bits. At alloc_cpumask_var uses cpumask_size() for kmalloc(), bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) { if (likely(slab_is_available())) *mask = kmalloc(cpumask_size(), ...
Oct 27, 4:07 pm 2008
Ingo Molnar
Re: [PATCH -tip/cpus4096-v2] cpumask: fix cpumask of cal ...
the sched_init() slab corruption bug is still there, i just triggered it on two separate test-systems: [ 0.510620] CPU1 attaching sched-domain: [ 0.512007] domain 0: span 0-1 level CPU [ 0.517730] groups: 1 0 [ 0.520528] ============================================================================= [ 0.524002] BUG kmalloc-8: Wrong object count. Counter is 11 but counted were 50 [ 0.524002] ----------------------------------------------------------------------------- [ ...
Oct 27, 6:32 am 2008
Ingo Molnar
Re: [PATCH] xen: Fix Xen domU boot with batched mprotect
applied to tip/x86/urgent, thanks! Ingo --
Oct 27, 6:11 am 2008
Ingo Molnar Oct 27, 6:12 am 2008
Ingo Molnar Oct 27, 6:13 am 2008
Larry Finger
Re: [PATCH] usbcore: Limit number of 'unable to enumerat ...
Once I added ehci_hcd to my initrd, which ensured that it was loaded first, the error messages seem to have disappeared. If they return, I'll open a new thread. Thanks for the help, Larry --
Oct 27, 9:37 am 2008
Randy Dunlap
Re: [PATCH] ftrace: update txt document
General comment #1: Don't use a space before the ':'. General comment #2: debugfs is normally mounted at /sys/kernel/debug (which Doc/x86/pat.txt, Doc/filesystems/relay.txt, Doc/infiniband/ipoib.txt, and Doc/usb/usbmon.txt know about). Please either use /sys/kernel/debug or use what Doc/kernel-parameters.txt uses: <debugfs> (for the mount point). I.e., don't use a poor example in the doc text. "They" being modules? They remove their own ...
Oct 26, 7:33 pm 2008
Joe Perches
Re: [PATCH 1/8] Add scripts/get_maintainer.pl
Yes. It's also suitable for use with git-send-email --cc-cmd Some examples picking a random file (drivers/net/b44.c): Get maintainers for a single file (this includes git -by: signatories and the script does a sort | uniq so the maintainer is not listed first) $ ./scripts/get_maintainer.pl -f drivers/net/b44.c "Miguel Botón" <mboton@gmail.com> Gary Zambrano <zambrano@broadcom.com> Jeff Garzik <jeff@garzik.org> Jeff Garzik <jgarzik@pobox.com> John W. Linville ...
Oct 27, 4:46 pm 2008
Andrew Morton
Re: [PATCH 1/8] Add scripts/get_maintainer.pl
On Thu, 23 Oct 2008 16:09:19 -0700 Example output would be nice to see. Hopefully it is in the Joe Perches <joe@perches.com> form, ready to be pasted into an email client? otoh, we'll sometimes also want the joe@perches.com,akpm@linux-foundation.org form for use by scripts. Also, this: MAINTAINERS | 1096 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 1094 insertions(+), 2 deletions(-) isn't practical for me or Stephen to carry, I'm afraid. ...
Oct 27, 3:52 pm 2008
Ingo Molnar
Re: [PATCH] UV: memory allocation at initialization
applied to tip/x86/urgent, thanks Cliff! Ingo --
Oct 27, 6:17 am 2008
Ingo Molnar
Re: [PATCH] timers: Handle HRTIMER_CB_IRQSAFE_UNLOCKED c ...
ok - i've applied Gautham's fix to tip/timers/urgent, with your and Peter's Acked-by lines. Ingo --
Oct 27, 6:21 am 2008
Ingo Molnar
Re: [PATCH] Remove IRQBALANCE crud
good catch - applied to tip/x86/cleanups, thanks Dan! Ingo --
Oct 27, 6:23 am 2008
Ingo Molnar
Re: [PATCH v2] ftrace: ftrace dump on oops control
applied to tip/tracing/ftrace, thanks Steve! Ingo --
Oct 27, 7:03 am 2008
Michael Kerrisk
Re: [1/3] POHMELFS: Documentation.
Evgeniy, Some comments / fixes below. Probably better: ... except creation of hard and symbolic links, and rename events. This is the number of times that a transaction will be resent to a server that did not answer for the last @trans_scan_timeout "a single" "controls" "the working set" I've stopped here for the moment. There are many other cases below where an article ("a" or "the" is needed) -- this matters because without the right ...
Oct 27, 8:05 am 2008
Evgeniy Polyakov
Re: [1/3] POHMELFS: Documentation.
Hi Michael. I would definitely like to fix all those issues. It is always a good idea to check things with new eyes. Thanks a lot Michael, I will put your changes into the tree! -- Evgeniy Polyakov --
Oct 27, 9:17 am 2008
Andrew Morton
Re: [PATCH] sgi-xp: only build for ia64-sn2 when CONFIG_ ...
On Thu, 23 Oct 2008 13:33:35 -0500 It is 100% unclear (to me) why this change is being made. Apparently this is considered a needed-in-2.6.28 change. But I don't know why. If I knew that then I'd be in a better position to work out whether it is also needed in 2.6.27.x, to which it also applies cleanly. IOW: better changelogs, please. --
Oct 27, 3:02 pm 2008
Ingo Molnar
Re: [PATCH 2/2 v3] SGI RTC: add RTC system interrupt
hm, the exit_idle() looks weird - why is it done? If we get an IRQ then the CPU will exit idle state anyway. Ingo --
Oct 27, 7:08 am 2008
Dimitri Sivanich
Re: [PATCH 2/2 v3] SGI RTC: add RTC system interrupt
Ingo, I'm not quite sure what you mean here. Are you referring to an explicit call to exit_idle() that is done somewhere else (such as do_IRQ())? --
Oct 27, 8:29 am 2008
Ingo Molnar
Re: [PATCH] x86: unify appropriate bits from dumpstack_3 ...
applied to tip/x86/dumpstack, thanks Neil! Ingo --
Oct 27, 8:20 am 2008
Neil Horman
Re: [PATCH] x86: unify appropriate bits from dumpstack_3 ...
Thanks guys! Neil -- /**************************************************** * Neil Horman <nhorman@tuxdriver.com> * Software Engineer, Red Hat ****************************************************/ --
Oct 27, 1:07 pm 2008
Alexander van Heukelum
Re: [PATCH] x86: unify appropriate bits from dumpstack_3 ...
On Thu, 23 Oct 2008 10:40:06 -0400, "Neil Horman" A bit late, maybe, but if it matters: Acked-by: Alexander van Heukelum <heukelum@fastmail.fm> -- Alexander van Heukelum heukelum@fastmail.fm -- http://www.fastmail.fm - Choose from over 50 domains or use your own --
Oct 27, 10:27 am 2008
Ingo Molnar Oct 27, 11:21 am 2008
Robert Richter
Re: [patch] oprofile: fix memory ordering
I applied your patch to oprofile/oprofile-for-tip. Thanks Nick. -Robert -- Advanced Micro Devices, Inc. Operating System Research Center email: robert.richter@amd.com --
Oct 27, 11:27 am 2008
KAMEZAWA Hiroyuki
Re: [PATCH] Add hierarchical accounting to cpu accountin ...
On Sat, 25 Oct 2008 08:38:52 -0700 Hmm..how about having 2 params as "aggregated usage" and "private usage" ? cpuacct.usage. cpuacct.all_subtree_usage. heavy ? -Kame --
Oct 26, 6:17 pm 2008
Li Zefan
Re: [PATCH] Add hierarchical accounting to cpu accountin ...
cpuacct was designed to count cpu usage of a group of tasks, and now some people want it to also take child group's usage into account, so I think this is a feature request but not a bug fix. How about add a flag to disable/enable hierarchical accounting? ===== From: Li Zefan <lizf@cn.fujitsu.com> Date: Mon, 27 Oct 2008 16:00:21 +0800 Subject: [PATCH] cpuacct: add hierarchical accouning Add hierarchical accouning to cpu accouting subsystem, so the cputime of a task is chareged to its ...
Oct 27, 1:25 am 2008
Balbir Singh
Re: [PATCH] Add hierarchical accounting to cpu accountin ...
On Mon, Oct 27, 2008 at 10:13 AM, Bharata B Rao If a particular application desires to derive the usage of its immediate tasks and does not care about subcgroups, it is a simple iteration (after this fix) cpuacct - sigma(cpuacct_child) and currently if we cared about child accounting, we could do cpuacct + recursively(sigma(cpuacct_child)) In that sense this fix makes more sense, but like Paul said we need to figure out if it is an API change. My take is that it is a BUG fix, That ...
Oct 26, 11:57 pm 2008
Bharata B Rao
Re: [PATCH] Add hierarchical accounting to cpu accountin ...
Hmm... Can we consider this as an API change ? Currently cpuacct.usage readers of a parent accounting group are missing the usage contributions from its children groups. I would consider this patch as fixing the above problem by correctly reflecting the cpu usage for every accounting Is there really a need to differentiate between aggregated and private usage other than to maintain the current behaviour ? Regards, Bharata. --
Oct 26, 9:43 pm 2008
Li Zefan
Re: [PATCH] Add hierarchical accounting to cpu accountin ...
I think one reason is, cpu_cgroup_subsys has to be initialized very early, and at that time kmalloc() is not usable, so we use statically defined init_task_group. --
Oct 26, 10:54 pm 2008
Ingo Molnar
Re: RFC: [PATCH] resource: ensure MMIO exclusivity for d ...
the concept looks fine to me - the stricter we are in this area the better IMO. Unless there are objections, i guess it's best to do this via the PCI tree? Ingo --
Oct 27, 8:31 am 2008
Paul Mackerras
Re: [PATCH tip/tracing/markers] new probes manager
On x86, maybe. On powerpc it's as expensive as mb(). Paul. --
Oct 27, 4:13 pm 2008
Ingo Molnar
Re: [PATCH tip/tracing/markers] new probes manager
yes, the statement that rmb() is very expensive looks dubious. It is absolutely cheap everywhere. Ingo --
Oct 27, 11:26 am 2008
Mathieu Desnoyers
Re: [PATCH tip/tracing/markers] new probes manager
Do you have performance measurements for this ? On x86 it's a nop, Hrm, I think this will utterly slow down the batch registration/unregistration. Can you try to register 100 markers in batch on a loaded machine (e.g. running tbench on all cores) and see how long it takes ? Comparing before/after your patch would be welcome. I have merged the modules_mutex, tracepoint_mutex and marker_mutex in the -lttng tree. It makes locking much much simpler and actually fixes an issue we currently have ...
Oct 27, 8:58 am 2008
Mathieu Desnoyers
Re: [PATCH tip/tracing/markers] new probes manager
My statement above is inexact : x86_64 uses lfence for rmb(). But numbers would still be welcome. -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 --
Oct 27, 9:30 am 2008
Andrew Morton
Re: [PATCH 2/6] autofs4 - remove string terminator check
On Thu, 23 Oct 2008 10:35:22 +0800 Why is it unnecessary? Does this change alter behaviour in any way? Does it fix a bug? --
Oct 27, 1:31 pm 2008
Andrew Morton
Re: [PATCH 4/6] autofs4 - make autofs type usage explicit
On Thu, 23 Oct 2008 10:35:32 +0800 That's pretty nasty. One doesn't expect a "function" to modify a variable which was passed by value. This interface _requires_ that set_autofs_type_indirect() be implemented as a macro. You'll find very few places in the kernel pull tricks like this, for good reasons. The obnoxious exceptions include local_irq_save() and I guess that's OK. But why was it implemented as a macro? It didn't _need_ to be And this one is dangerous. If passed ...
Oct 27, 1:40 pm 2008
Ingo Molnar
Re: [PATCH 35/35] x86: clean up speedctep-centrino and r ...
ok - although the cleanups Rusty did look independent to me. We can just keep it in mind for the future, the whole topic is complex enough already as-is. Ingo --
Oct 27, 9:23 am 2008
Ingo Molnar
Re: [PATCH 00/35] cpumask: Replace cpumask_t with struct ...
i've propagated these impact-line fixes into tip/cpus4096-v2, thanks Rusty! And once we have something that works reasonably well we can do a final respin of this branch with all fixlets back-propagated, for good bisectability. the current variant, which force-disabled MAXSMP (i.e. only uses the non-dynamic cpumask_t branch), is looking good in my testing so far. (it has passed more than 100 boot tests today, on a handful of x86 boxes) Ingo --
Oct 27, 9:20 am 2008
Ingo Molnar
Re: [PATCH 01/13 v2] ftrace: handle generic arch calls
small sidenote: please preserve feedback/review activities in the changelog, even if there is no delta patch. I have added this to the changelog: v2: fix i386 bug, noticed by Andrew Morton Ingo --
Oct 27, 8:35 am 2008
Ingo Molnar
Re: [PATCH] [RESEND v2] tracing/ftrace: Introduce the bi ...
the kill-the-BKL tree is not dead, just inactive. Looking for a brave volunteer to merge it up to latest, to boot it with CONFIG_PROVE_LOCKING=y and to have a good look at all the BKL locking output that lockdep might disable. Ingo --
Oct 27, 11:28 am 2008
Frédéric Weisbecker
Re: [PATCH] [RESEND v2] tracing/ftrace: Introduce the bi ...
No problem, we can forget about it. My goal was to produce some statistics to locate the points that most often hold the bkl. That would help to define some priorities on which bkl holding is to remove first. But if that would be better to rather invest the time on the kill-the-bkl tree (which I thought was dead), so I would be pleased to help. --
Oct 27, 8:51 am 2008
Ingo Molnar
Re: [PATCH] [RESEND v2] tracing/ftrace: Introduce the bi ...
hm, this looks a bit ugly. are you aware of the tip/kill-the-BKL branch? It's an old-ish but otherwise sane branch that needs some refreshing (hence it's not part of tip/master). Once we have that "kill the BKL by turning it into a mutex" feature alive, and have fixed the places that rely on odd properties of the BKL, the BKL becomes just an ordinary mutex and we could trace its latencies via the existing lockdep/lockstat callbacks. and we could trace all the other mutexes as ...
Oct 27, 8:43 am 2008
Steven Rostedt
Re: [PATCH 01/11] ftrace: handle generic arch calls
[ Resending patch. Sam, can you Ack this? -- Steve ] From: Steven Rostedt <srostedt@redhat.com> Subject: ftrace: handle generic arch calls The recordmcount script requires that the actual arch is passed in. This works well when ARCH=i386 or ARCH=x86_64 but does not handle the case of ARCH=x86. This patch adds a parameter to the function to pass in the number of bits of the architecture. So that it can determine if x86 should be run for x86_64 or i386 ...
Oct 27, 10:41 am 2008
Ingo Molnar
Re: [PATCH][RESEND] tracing/ftrace: Make boot tracer sel ...
applied to tip/tracing/urgent, thanks! Ingo --
Oct 27, 8:47 am 2008
Ingo Molnar
Re: [PATCH][RESEND] tracepoint: Check if the probe has b ...
applied to tip/tracing/urgent, thanks Frederic! Ingo --
Oct 27, 8:46 am 2008
James Bottomley
Re: usb hdd problems with 2.6.27.2
And you do this by setting US_FL_FIX_CAPACITY in unusual_devs.h James --
Oct 27, 8:33 am 2008
Luciano Rocha
Re: usb hdd problems with 2.6.27.2
Hm, where in the code can I change it to return less that what it thinks is the last sector? No luck. I'm going to try 2.6.28-rc2 now. Regards, Luciano Rocha -- Luciano Rocha <luciano@eurotux.com> Eurotux Informática, S.A. <http://www.eurotux.com/> --
Oct 27, 8:18 am 2008
Alan Stern
Re: usb hdd problems with 2.6.27.2
I can write a patch to do that for you. However I'm more interested in solving the "infinite-retry" problem first. I did write some patches which might help. They weren't meant as bug fixes exactly, more as infrastructure cleanup. But you ought to try them out, because they do affect the logic in this area. The patches are here: http://marc.info/?l=linux-scsi&m=122443015406309&w=2 They are based on 2.6.27, not 2.6.28-rc. Alan Stern --
Oct 27, 8:38 am 2008
Alan Stern
Re: usb hdd problems with 2.6.27.2
This looks exactly like the "infinite retry" problem I warned about earlier. Here are the important parts of the log. For people who don't know how to interpret these messages, the CDB starts in the 16th byte of the 31-byte messages. For example, the first command here The response is 0x2e9390b0. In typical broken fashion, that is undoubtedly the total number of sectors rather than the highest sector number. Later on the system tries to read the contents of what it thinks is the ...
Oct 27, 7:24 am 2008
Kay Sievers
Re: usb hdd problems with 2.6.27.2
It's vol_id from udev. To auto-detect raid setups, LVM, MD metadata, ... Such devices carry their magic sequence at the "end" of the device, usually the last sector or a few sectors before the last sector. The "last" sector is obviously determined by the capacity the device reports. There is no way around looking at all block devices' last sector on a Linux box, as long as people expect auto-setup, auto-mounting, anything that is not put in /etc/fstab to work, as long as any "meta device" ...
Oct 27, 9:26 am 2008
Alan Stern
Re: usb hdd problems with 2.6.27.2
Okay, I tried the same sort of experiment in 2.6.27.4 and got the same result as you did. I was able to fix it by applying the 8bfa24727 commit mentioned earlier together with the patch below. Now, I'm pretty sure this is not the ideal solution. Fixing the block core would be better. Still, it does indicate for sure that there's a real problem. It's worth noting that the test added to scsi_requeue_command() succeeds every time, that is, req->retries is always 0. Clearly more work ...
Oct 27, 1:10 pm 2008
Luciano Rocha
Re: usb hdd problems with 2.6.27.2
<snip> 2.6.27.4 comes with it reverted. But I still get the same error. Reapplied it as one more test, with the same error. Regards, Luciano Rocha --=20 Luciano Rocha <luciano@eurotux.com> Eurotux Inform=E1tica, S.A. <http://www.eurotux.com/>
Oct 27, 4:14 am 2008
Luciano Rocha
Re: usb hdd problems with 2.6.27.2
Now in 2.6.27.4, same problem. The usb traffic is: f7161ec0 3564884672 C Ii:1:005:1 0:2048 1 = 02 f7161ec0 3564884690 S Ii:1:005:1 -115:2048 1 < f20138c0 3564884706 S Ci:1:005:0 s a3 00 0000 0001 0004 4 < f20138c0 3564885023 C Ci:1:005:0 0 4 = 01010100 f20138c0 3564885039 S Co:1:005:0 s 23 01 0010 0001 0000 0 f20138c0 3564885273 C Co:1:005:0 0 0 f20138c0 3564885291 S Co:1:005:0 s 23 03 0016 0001 0000 0 f20138c0 3564885522 C Co:1:005:0 0 0 f20138c0 3564885534 S Ci:1:005:0 s a3 00 0000 0001 ...
Oct 27, 4:28 am 2008
Douglas Gilbert
Re: usb hdd problems with 2.6.27.2
Since the READ CAPACITY "off by one" error is so common, perhaps drivers such as usb-storage could have a hook to do a pseudo READ CAPACITY. Then if the capacity value looked odd (in both senses) the driver could do an IO to the suspect block and if that failed decrement the capacity value passed back to the mid level. Put another way, why don't these defective devices trip up another OS? BTW a single disk in RAID 0 (seen on a HP E200 controller) has a shortened capacity value seen in the ...
Oct 27, 7:56 am 2008
Boaz Harrosh
Re: usb hdd problems with 2.6.27.2
Window$ never reads the last sector unless it is actually written to. I had such a device it got stuck when I wrote to the That would be udev or hald, I can't remember which. It is a special Linux Boaz --
Oct 27, 8:08 am 2008
Luciano Rocha
Re: usb hdd problems with 2.6.27.2
I've tested them (on 2.6.27.4), but I still get the bug. That email mentions: "Neither patch addresses the infinite-retry problem; I wanted to keep the issues separate." So am I missing some other patch? 2.6.28-rc2 is also buggy. Thanks, Luciano Rocha -- Luciano Rocha <luciano@eurotux.com> Eurotux Informática, S.A. <http://www.eurotux.com/> --
Oct 27, 9:53 am 2008
Alan Stern
Re: usb hdd problems with 2.6.27.2
We thought of that years ago. Unfortunately there is no reliable way of telling when a capacity value is wrong. There definitely do exist disks with an odd number of sectors. Furthermore, doing I/O to a suspect block is not a good idea. There are plenty of devices which simply crash when you try to access a I imagine they do. However Linux has partition code that stores information in the last sector of a partition (EFI GUID and md, for example). Other OS's apparently do not try to ...
Oct 27, 8:25 am 2008
Alan Stern
Re: usb hdd problems with 2.6.27.2
Here's the promised patch. Alan Stern Index: usb-2.6/drivers/usb/storage/unusual_devs.h =================================================================== --- usb-2.6.orig/drivers/usb/storage/unusual_devs.h +++ usb-2.6/drivers/usb/storage/unusual_devs.h @@ -1251,6 +1251,13 @@ UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY), +/* Reported by Luciano Rocha <luciano@eurotux.com> */ +UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, ...
Oct 27, 1:36 pm 2008
Greg KH
Re: [PATCH 3/5] w35und: remove dead code from wbusb_f.h
Heh, I already did this on my own. thanks, greg k-h --
Oct 27, 3:07 pm 2008
Greg KH
Re: [PATCH 3/5] w35und: remove dead code from wbusb_f.h
This patch gives me a bunch of build errors as I don't think you are in sync with the other changes in these files. Care to respin it against 2.6.28-rc2? thanks, greg k-h --
Oct 27, 11:37 am 2008
Pekka J Enberg
Re: [PATCH 3/5] w35und: remove dead code from wbusb_f.h
That's because I forgot to send the following patch. Sorry about that. Pekka From 564d8ad6fd7b72ac7b5c10ebc56b5c3180cd9cc0 Mon Sep 17 00:00:00 2001 From: Pekka Enberg <penberg@cs.helsinki.fi> Date: Wed, 22 Oct 2008 18:29:13 +0300 Subject: [PATCH] w35und: usb urb wrapper removal This patch removes the useless wb_usb_{submit|alloc}_urb() wrappers from driver code. Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> --- ...
Oct 27, 2:34 pm 2008
Pekka J Enberg
Re: [PATCH 3/5] w35und: remove dead code from wbusb_f.h
Hi Greg, That's strange. I rebased against 2.6.28-rc2 but didn't get any conficts and everything seems to build just fine. What kind of errors are you seeing? I've included the rediffed patch here in case it helps. Not sure why it would... Pekka From cc8c4e3686389a46e552c016722e3983ef72ac00 Mon Sep 17 00:00:00 2001 From: Pekka Enberg <penberg@cs.helsinki.fi> Date: Wed, 22 Oct 2008 18:46:33 +0300 Subject: [PATCH] w35und: remove dead code from wbusb_f.h Remove dead code from ...
Oct 27, 1:44 pm 2008
Greg KH
Re: [PATCH 3/5] w35und: remove dead code from wbusb_f.h
I still get the following errors with this patch applied: CC [M] drivers/staging/winbond/./linux/wb35reg.o drivers/staging/winbond/./linux/wb35reg.c: In function ‘Wb35Reg_BurstWrite’: drivers/staging/winbond/./linux/wb35reg.c:29: error: implicit declaration of function ‘wb_usb_alloc_urb’ drivers/staging/winbond/./linux/wb35reg.c:29: warning: assignment makes pointer from integer without a cast drivers/staging/winbond/./linux/wb35reg.c: In function ...
Oct 27, 2:14 pm 2008
Pavel Machek
Re: [PATCH] LIS3LV02Dx Accelerometer driver
Hi! No, I do not think so. The device is noisy enough that it will "always" generate a change -- even when sittig on the desktop quietly. We could switch to interrupt mode but it would just give us iterrupts at 40Hz. For harddisk protection it _might_ be possible to do something clever with threshold comparator on the chip, but... we are not even using the comparator for now. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) ...
Oct 27, 2:01 am 2008
Andrew Morton
Re: [PATCH] LIS3LV02Dx Accelerometer driver
You'll have the powertop police on your tail. --
Oct 26, 11:39 pm 2008
Eric W. Biederman
Re: [PATCH] netns: Coexist with the sysfs limitations v2
What I was thinking is that it goes into your tree for 2.6.29. Allowing for better test coverage in the short term, and removing the pressure to do a hack job on sysfs just to reduce the pain of testing. The patch was sent during the merge window just because that is when the conversation was happening. I guess the pain with sysfs is having multiple patches in different trees in this area causing conflicts in linux-next. Ugh. I can see why you would want to hold back. On the contrary ...
Oct 27, 1:19 pm 2008
David Miller
Re: [PATCH] netns: Coexist with the sysfs limitations v2
From: ebiederm@xmission.com (Eric W. Biederman) So let's figure out what happens with this patch. I'm personally ok with the change, the question is when and where. My net-2.6 tree was closed to new features long ago, so I really don't want to try to merge this sucker into 2.6.28-rcX :-) But if you guys think that is prudent, feel free to submit it directly to Linus and add my signoff: Signed-off-by: David S. Miller <davem@davemloft.net> otherwise if we shoot for 2.6.29 I would suggest ...
Oct 27, 12:41 pm 2008
Rodolfo Giometti
Re: [PATCH 1/2] Add c2 port support.
If I well understand the firmware class it works starting the firmware download from the kernel side, that is into the kernel we should call request_firmware() and then the files will /sys/class/firmware/xxx/{loading,data} appear. This solution doesn't fit C2 port needs since the firmware download is decided from userland erasing and then writing into the microcontroller on-board flash. Ciao, Rodolfo -- GNU/Linux Solutions e-mail: giometti@enneenne.com Linux ...
Oct 27, 1:54 am 2008
Greg KH
Re: [PATCH 1/2] Add c2 port support.
Yes, that is true, but userspace doesn't have to write to those files That's fine, you can still use the same interface, no problems. Just use the "async" version of the firmware interfae and you will be fine. thanks, greg k-h --
Oct 27, 9:14 am 2008
Max Kellermann
Re: High load in 2.6.27, NFS / rpcauth_lookup_credcache()?
It's a web server for shared hosting. The web space is mounted via NFSv3 from a NetApp. There is a huge number of web sites on this cluster. All web sites are owned by the same UID, and the web server runs as a different UID (read-only access). Each time a CGI starts, its uid is changed to the one "owner" UID (similar to mod_suexec, but there's only one UID for all customer accounts). Each time a CGI starts, its chroot (pivot_root) is constructed with several bind mounts (in a separate ...
Oct 27, 2:58 am 2008
Trond Myklebust
Re: High load in 2.6.27, NFS / rpcauth_lookup_credcache()?
OK. That points a finger at the garbage collector. Does the following patch help at all? Cheers Trond ------------------------------------------------------------------------ From: Trond Myklebust <Trond.Myklebust@netapp.com> Date: Mon, 27 Oct 2008 11:43:48 -0400 SUNRPC: Fix rpcauth_prune_expired We need to make sure that we don't remove creds from the cred_unused list if they are still under the moratorium, or else they will never get garbage collected. Signed-off-by: Trond ...
Oct 27, 8:48 am 2008
gregkh
patch staging-correct-dubious-use-of-x-y.patch added to ...
This is a note to let you know that I've just added the patch titled Subject: staging: correct dubious use of !x & y to my gregkh-2.6 tree. Its filename is staging-correct-dubious-use-of-x-y.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/ From harvey.harrison@gmail.com Mon Oct 27 11:24:51 2008 From: Harvey Harrison <harvey.harrison@gmail.com> Date: Tue, 21 Oct 2008 20:27:16 -0700 Subject: staging: correct ...
Oct 27, 12:44 pm 2008
Luis R. Rodriguez
Re: [otus-devel] Release of Atheros 802.11n USB Linux driver
On Thu, Oct 23, 2008 at 4:11 AM, Luis R. Rodriguez This is now fixed on the master branch, also the branch "for-upstream" does a lot of cleanup I thought you may like before stuffing it into staging like removing all KERNEL_VERSION checks, all wireless extensions checks, some compile warnings, removal of compat, dos2unix, use utf-8, etc. Unfortunately this still requires a specific version of wpa_supplicant but it seems it works. Not sure what bars you have for staging at this point. Will ...
Oct 27, 4:35 pm 2008
Eric Sandeen
Re: general protection fault: from release_blocks_on_commit
Ted, you probably need some slab debugging on to hit it. I think the problem is that jbd2_journal_commit_transaction may call __jbd2_journal_drop_transaction(journal, commit_transaction) if the checkpoint lists are NULL, and this frees the commit_transaction. However, the call to ->j_commit_callback() tries to use it after that. I'm out of time for now to be sure this is the right fix, but something like this perhaps? Index: ...
Oct 27, 3:26 pm 2008
Theodore Tso
Re: general protection fault: from release_blocks_on_commit
Can you send me your .config, please? I'm trying to duplicate it on my end. - Ted --
Oct 27, 11:19 am 2008
Theodore Tso
Re: general protection fault: from release_blocks_on_commit
I had slab debugging enabled, but haven't been able to replicate it I think you're right. I would probably change the patch around so that after calling __jbd2_jurnal_drop_transaction(), we set commit_transaction to NULL, and then adding an "if (commit_transaction)" to the lines in questions; that way we keep the There are plenty of other loops in the kernel where we go through the linked list and free all of the items on the list that don't bother to call list_del(). That was one of the ...
Oct 27, 4:28 pm 2008
Andrew Morton
Re: [RFC][PATCH] lru_add_drain_all() don't use schedule_ ...
On Fri, 24 Oct 2008 00:00:17 +0900 (JST) Or we change the callers of lru_add_drain_all() to call it without holding any locks. I mean, what's the *point* in calling it with mmap_sem held? That won't stop threads from adding new pages into the Because it's pretty sad to add yet another kernel thread on each CPU (thousands!) just because of some obscure theoretical deadlock in page-migration and memory-hotplug. Most people don't even use those. --
Oct 27, 2:55 pm 2008
KOSAKI Motohiro
Re: [RFC][PATCH] lru_add_drain_all() don't use schedule_ ...
Yeah, I found its thread. (I think it is "work_on_cpu: helper for doing task on a CPU.", right?) So I'll read it soon. --
Oct 27, 1:03 am 2008
KOSAKI Motohiro
Re: [RFC][PATCH] lru_add_drain_all() don't use schedule_ ...
Done. Now, I think smp_call_function() is better for this issue. I'll try it. --
Oct 27, 3:42 am 2008
KOSAKI Motohiro
Re: [RFC][PATCH] lru_add_drain_all() don't use schedule_ ...
In general, you are right. but this is special case. mmap_sem is really widely used various subsystem and drivers. (because page fault via copy_user introduce to depend on mmap_sem) Then, any work-queue reu-sing can cause similar dead-lock easily. So I think we have two choices (nick explained it at this thread). (1) own workqueue (the patch) (2) avoid lru_add_drain_all completely if you really strongly hate (1), we should target to (2) IMO. Thought? --
Oct 26, 8:14 pm 2008
Peter Zijlstra
Re: [RFC][PATCH] lru_add_drain_all() don't use schedule_ ...
Yeah, I know, and the cpu-hotplug discussion needed another thread due to yet another locking incident. I was hoping these two could go together. Neither are general-purpose workqueues, both need to stay away from the normal eventd due to deadlocks. ego, does you extra thread ever use mmap_sem? --
Oct 27, 12:56 am 2008
gregkh
patch uio-use-pci_ioremap_bar-in-drivers-uio.patch added ...
This is a note to let you know that I've just added the patch titled Subject: UIO: use pci_ioremap_bar() in drivers/uio to my gregkh-2.6 tree. Its filename is uio-use-pci_ioremap_bar-in-drivers-uio.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/ From hjk@linutronix.de Mon Oct 27 11:23:22 2008 From: Arjan van de Ven <arjan@linux.intel.com> Date: Tue, 21 Oct 2008 11:17:51 +0200 Subject: UIO: use ...
Oct 27, 12:44 pm 2008
MinChan Kim
Re: [Question] power management related with cgroup base ...
What you mention is already included in 2.6.28 merge window. I think we can use this feature on NVRAM, too. I think it's not cgroup controller's role but each subsystem's one. As you can see above article, Many mainline guys try to improve performance in each subsystems. Do you have a scenario or idea how to use cgroup frame work to manage -- Kinds regards, MinChan Kim --
Oct 26, 7:34 pm 2008
David Brownell
Re: [PATCH v2 RESEND] gpiolib: Add pin change notification
By the way ... I noticed some new use cases for this sort of mechanism. In the OMAP git tree, say the copy at http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git Have a look at arch/arm/plat-omap/gpio-switch.c ... current users include mach-omap2/board-n800.c and mach-omap1/board-palmte.c (in that tree), and report things like headphone jack insertion. Some of that fanciness seems like it shouldn't live in-kernel. I'll be glad to see the need for that driver vanish ...
Oct 27, 12:46 pm 2008
Ben Nizette
Re: [PATCH v2 RESEND] gpiolib: Add pin change notification
Yeah since akpm's review a few days back, a few things have been rearranged resulting in this figure blowing out to 13k on AVR32. Obviously not acceptable so I'm looking for a nicer way around this. So long as I allow the interrupt to be shared that should work fine (assuming gpio_to_irq returns the irq of the chip-wide pin change signal for all pins on the chip). akpm pointed out that sysfs_notify() cannot be called from interrupt context so now all irqs are really taken as Right. ...
Oct 27, 3:18 pm 2008
Mark Brown Oct 27, 3:08 am 2008
Andrew Morton
Re: [PATCH 2/2] rtc: rtc-wm8350: Add support for WM8350 RTC
If the calling process has signal_pending() (eg: someone typed ^C) then I'll switch those to schedule_timeout_uninterruptible(), OK? --
Oct 26, 10:14 pm 2008
Avi Kivity
Re: [x86] - technical questions about HV implementation ...
Almost any emulation error can cause this. Something goes wrong, an exception is raised, can't be handled due to the same problem (or maybe another one), triple fault. You need to print out the entire contents of the vmcs before the last entry and check it out carefully. -- error compiling committee.c: too many arguments to function --
Oct 27, 9:38 am 2008
Eric Lacombe
Re: [x86] - technical questions about HV implementation ...
Hi, Thanks for your answer. I will eventually add a netconsole, but for now, I find how to bypass my problem (getting debug information). However I come with a new question, related to an unexpected VM-exit. The scenario is as follows: 1. some setup occur 2. vmlaunch is executed by a function F, so the guest is launched. This guest (as I explained in my previous mail) executes the end of the function F. 3. The end of F, do some "printk" then return to the module init function. The ...
Oct 27, 7:29 am 2008
Kentaro Takeda
Re: [TOMOYO #11 (linux-next) 00/11] TOMOYO Linux
Stephen, James, Chris, Serge, What is the status of this patchset? I saw no objections against our patchset. We are waiting for your review for now. Is there something we can do? Regards, --
Oct 26, 7:18 pm 2008
Matt Helsley
Re: [RFC v7][PATCH 2/9] General infrastructure for check ...
If most setuid programs hold privileged resources for extended periods of time after dropping privileges then it seems like a good idea to refuse to checkpoint. Restart of those programs would be quite How will folks not specializing in checkpoint/restart know when to use this as opposed to deny? Instead, how about a flag to sys_checkpoint() -- DO_RISKY_CHECKPOINT -- which checkpoints despite !may_checkpoint? Cheers, -Matt Helsley --
Oct 27, 1:51 pm 2008
Peter Chubb
Re: [RFC v7][PATCH 2/9] General infrastructure for check ...
>>>>> "Oren" == Oren Laadan <orenl@cs.columbia.edu> writes: Oren> Nope, since we will fail to restart in many cases. We will need Oren> a way to move from caller's credentials to saved credentials, Oren> and even from caller's credentials to privileged credentials Oren> (e.g. to reopen a file that was created by a setuid program Oren> prior to dropping privileges). You can't necessarily tell the difference between this and revocation of privilege. For most security models, it must be ...
Oct 27, 1:27 am 2008
Oren Laadan
Re: [RFC v7][PATCH 2/9] General infrastructure for check ...
True. And this works very well for HPC applications. However, it doesn't work so well for server applications, for instance. Also, you could use file system snapshotting to ensure that the file system view does not change, and still face the same issue. So I'm perfectly ok with deferring this discussion to a later time :) --
Oct 27, 4:03 am 2008
Oren Laadan
Re: [RFC v7][PATCH 2/9] General infrastructure for check ...
I also agree with Matt - so we have a quorum :) so just to clarify: sys_checkpoint() is to fail (with what error ?) if the deny-checkpoint test fails. however, if the user is risky, she can specify CR_CHECKPOINT_RISKY to force an attempt to checkpoint as is. does this sound right ? Oren. --
Oct 27, 2:51 pm 2008
Dave Hansen
Re: [RFC v7][PATCH 2/9] General infrastructure for check ...
Oren, is this a good place to stick a process_deny_checkpoint()? Both so we refuse to checkpoint, and document this as something that has to be addressed later? -- Dave --
Oct 27, 9:42 am 2008
Oren Laadan
Re: [RFC v7][PATCH 2/9] General infrastructure for check ...
why refuse to checkpoint ? if I'm root, and I want to checkpoint, and later restart, my sshd server (assuming we support listening sockets) - then why not ? we can just let it be, and have the restart fail (if it isn't root that does the restart); perhaps add something like warn_checkpoint() (similar to deny, but only warns) ? Oren. --
Oct 27, 10:11 am 2008
Dave Hansen
Re: [RFC v7][PATCH 2/9] General infrastructure for check ...
This sounds like an awful lot of policy to determine *inside* the kernel. Everybody is going to have a different definition of risky, so this scheme will work for approximately 5 minutes until it gets patched. :) Is it possible to enhance our interface such that users might have some kind of choice on these matters? -- Dave --
Oct 27, 3:09 pm 2008
Serge E. Hallyn
Re: [RFC v7][PATCH 2/9] General infrastructure for check ...
I agree with Dave and Matt. Let's assume that we have a setuid root program which creates some resources then drops to username kooky. If you now checkpoint and restart that program, then a stupid restart will either 1. be done as user kooky and not be able to recreate the resources, fail. 2. be done as user root and not drop uid back to kooky, unsafe. For the earliest prototypes of c/r, I think saying that setuid an the life of a container makes checkpoint impossible is the right ...
Oct 27, 2:20 pm 2008
Krzysztof Halasa
Re: [PATCH] kill suid bit only for regular files
I don't know about the context, but SGID bits for directories are not magic, they mean the newly created files will inherit GID from the parent directory, and if the file is actually a subdirectory, it will also have SGID set. The same was also true WRT SUID bits on some systems. -- Krzysztof Halasa --
Oct 27, 8:19 am 2008
Dmitri Monakhov
Re: [PATCH] kill suid bit only for regular files
We have following locking rules:notify_changes must be protected by d_inode->i_mutex. Ok. Will do. My point is: it is improbable what some body(except me :) ) want to set S_ISUID/S_ISGID bit for non regular files. But it is --
Oct 27, 12:41 am 2008
Andrew Morton
Re: [PATCH] kill suid bit only for regular files
Are we sure that should_remove_suid() is not and never will used for What's wrong with blockdevs triggering this path? --
Oct 26, 9:47 pm 2008
Mariusz Kozlowski
Re: [PATCH] fix comile error of hdpuftrs
Yup. I used simple script to find the brace imbalance. Then I tried to compile it with make drivers/misc/hdpuftrs/hdpu_nexus.o to verify this. Mariusz --
Oct 27, 2:46 pm 2008
Andrew Morton
Re: [PATCH] fix comile error of hdpuftrs
This has been broken since 2.6.26. Nobody noticed because there is no way of enabling CONFIG_HDPU_FEATURES in Kconfig. I wonder what's up with that. --
Oct 26, 9:24 pm 2008
J.R. Mauro
Re: staging: me4000: remove duplicated #include's
Yes, I guess I meant something like this quick-n-dirty patch. I got bored waiting for the includecheck to finish on the whole source tree, so it's nice to be able to tell it to check only what I'm interested in. (don't try to apply this patch as gmail mutilates tabs) --- diff --git a/Makefile b/Makefile index e9c5d47..9b7891c 100644 --- a/Makefile +++ b/Makefile @@ -1524,7 +1524,7 @@ tags: FORCE # --------------------------------------------------------------------------- ...
Oct 27, 6:45 am 2008
Oren Laadan
Re: [PATCH 10/10] Add support for multiple processes
I noticed that don't take the appropriate locks when browsing through tasks lists (siblings, children, global list). Although I realize that the container should be frozen at this time, I keep wondering if this is indeed always safe. For instance, are you protected against an OOM killer that might just occur uninvited and kill one of those tasks ? Can the administrator force an un-freeze of the container ? Or perhaps Here too. [...] Oren. --
Oct 27, 8:58 am 2008
Linus Torvalds
Re: [GIT PULL/RESEND] kernel message catalog patches
I do agree. Another issue is that quite often the actual line to be printed is likely fairly short, and often in an error path (so it's indented and in an inconvenient place), but the explanation - even for a _single_ language - may well be pretty involved and long. Which is why I think for something like this, it really needs to be entirely outside. Because putting it inside the kernel simply isn't going to result in anything really useful. Either it can be close to the message and ...
Oct 27, 9:10 am 2008
Alan Cox
Re: [GIT PULL/RESEND] kernel message catalog patches
Small bits of it have to be inside the kernel - Markup (_("Hello") To extract the strings) - To format the data in a way that can be recovered by ksyslogd and translated. Alan --
Oct 27, 9:35 am 2008
Theodore Tso
Re: [GIT PULL/RESEND] kernel message catalog patches
Just as a suggestion, what about adding the component name the same way we added the priority level --- i.e., by adding an optional prefix, say "{COMPONENT}" to the printk string, which would be before the urgency level marker. If it's not present, printk can generate a 64-bit hash; if it is present, printk can generate the component name followed by a 32-bit hash. That way we can gradually add component names in a completely backwards compatible way, and only to the device drivers that care ...
Oct 27, 9:19 am 2008
Martin Schwidefsky
Re: [GIT PULL/RESEND] kernel message catalog patches
Ok, understood. Not that the reaction surprises me, seems like nobody likes documentation (including me). What I will do is to replace the kmsg_xxx macros with the pr_xxx macros in the device drivers patches and request the pull as a cleanup for 2.6.29. The out-of-tree kmsg patches will then play tricks with pr_xxx analog to dev_xxx. That way the patch should be minimal. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. --
Oct 27, 3:01 am 2008
Martin Schwidefsky
Re: [GIT PULL/RESEND] kernel message catalog patches
Yes, indeed. The farther away the documentation is from the source code the harder it will be to maintain. That is why I would like to see it in The message tag would be the way to find the translation in some Today I've replaced kmsg_xyz() with pr_xyz(). The current code now plays tricks with two families of printk macros: dev_xyz() and pr_xyz(). If you ask Greg every device driver should be using dev_xyz() for its In that case ALL printk messages would suddenly grow a hash. ...
Oct 27, 8:52 am 2008
Alan Cox
Re: [GIT PULL/RESEND] kernel message catalog patches
You really don't want 32 languages in mixed left/right rendering with multiple fonts in your kernel source. At least not with most editing and viewing tools.... User space uses message catalogues and has tools for maintaining them which make using any other format somewhat dumb. They extract strings using _("hello") type wrappers to identify what are translatable strings so if the kernel source has _() macros all the tooling just works and can live outside and way from the kernel. Just ...
Oct 27, 9:03 am 2008
Theodore Tso
Re: [GIT PULL/RESEND] kernel message catalog patches
It's likely that the explanation would need to be just outside the containing function, and not in-line where it might need to be deeply indented. And I think we do need separate out the question of multiple langauges from the explanation in a single canonical language (i.e., English). Does keeping the explanation just before the containing function mean that it's "so far away" that it might as well be kept completely outside of the kernel? I don't think so, but it's probably not worth a ...
Oct 27, 12:36 pm 2008
Randy Dunlap
Re: [GIT PULL/RESEND] kernel message catalog patches
On Mon, 27 Oct 2008 12:19:23 -0400 As I said a few months ago, please make it "almost kernel-doc style" but something that can be distinguished from the current kernel-doc. They aren't quite the same thing AFAICT. -- ~Randy --
Oct 27, 9:27 am 2008
Linus Torvalds
Re: [GIT PULL/RESEND] kernel message catalog patches
It's that I don't like out-of-line documentation. It's a damn pain to maintain, and it's _especially_ so when it's for small details rather than "big picture" issues. I also consider this to be _exactly_ the same issue as translating kernel messages into another language (which people have also wanted to do), except the "other language" is a S390-specific "odd-speak" rather than a real language. I have to say that I also dislike the technical implementation. I don't like having ...
Oct 27, 8:05 am 2008
Adrian Hunter
Re: [PATCH 1/2] mmc_block: print better data error messa ...
OK but the error bits are cleared as soon as the status has been reported, which is in the command response or, in the case of timeout, the response to the next command. Reading the status after that shows nothing. The status would have to be fished out of brq->mrq.cmd->resp[0]. ETIMEDOUT is a special case because it is not a hint for the error, it is I don't have SPI, so I can't test it. AFAICT timeouts are not meant to happen with SPI so it is a genuine error. The SPI error ...
Oct 27, 8:33 am 2008
Yinghai Lu
Re: [PATCH] disable CPU side GART accesses
better to have someone with amd system + 8g ram + agp adapter to verify it... YH --
Oct 27, 4:06 pm 2008
Bob Montgomery
Re: [PATCH] disable CPU side GART accesses
Are there any objections to this patch? The problem has been reproduced in 2.6.18 and 2.6.27, so existing changes in the gart code have not addressed it. The patch disarms a landmine left behind for the kdump kernel. You could leave it there and warn people not to step there, or you can disarm it so it isn't a danger. Thank you, --
Oct 27, 3:42 pm 2008
Andrew Morton Oct 26, 8:37 pm 2008
Dmitri Monakhov
Re: [PATCH] vfs: Fix possible chmod/truncate race condition.
i_mode read not protected by i_mutex in should_remove_suid() and we may have race condition with chown(). Sorry, seems I've been too crazy about this. The truth is: 1: No one will call truncate() and chown() concurrently. 2: This race is still possible regardless to this fix. --
Oct 27, 12:57 am 2008
Dave Young Oct 26, 6:25 pm 2008
Dave Young
Re: [BUG] hang with ath5k
Test with 2.6.28-rc2, run wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf, kernel warning triggered: [ 1648.091084] ------------[ cut here ]------------ [ 1648.091090] WARNING: at net/mac80211/rx.c:2201 __ieee80211_rx+0x1d0/0x5f0 [mac80211]() [ 1648.091094] Modules linked in: rfcomm l2cap bluetooth container fuse ath5k mac80211 led_class psmouse serio_raw sg cfg80211 e100 mii intel_agp agpgart thermal button processor thermal_sys evdev [ 1648.091127] Pid: 0, comm: swapper Not tainted ...
Oct 27, 1:34 am 2008
J.A.
Re: Linux 2.6.27-git3: no SD card reader
I solved this in modprobe.conf: options sdhci debug_quirks=1 If I uderstood the source, that touches the controller clock on each reset for the operation to work. 2.6.28-rc2 still doesn't see the card without that option. And there is another problem, -rc2 doesn't reboot on the One, but that's for another thread (don't know if it can be related). -- J.A. Magallon <jamagallon()ono!com> \ Software is like sex: \ It's ...
Oct 27, 1:33 am 2008
Ingo Molnar
Re: [PATCH] ftrace: use a real variable for ftrace_nop in x86
done - find the tip/tracing/urgent commit below. I also added an Impact: line. Ingo ----------------> From 8115f3f0c939c5db0fe3c6c6c58911fd3a205b1e Mon Sep 17 00:00:00 2001 From: Steven Rostedt <rostedt@goodmis.org> Date: Fri, 24 Oct 2008 09:12:17 -0400 Subject: [PATCH] ftrace: use a real variable for ftrace_nop in x86 Impact: avoid section mismatch warning, clean up The dynamic ftrace determines which nop is safe to use at start up. When it finds a safe nop for patching, it sets ...
Oct 27, 8:52 am 2008
Tejun Heo
Re: warning report
Eh... this really shouldn't happen. How often does the problem occur? Is there a way to reproduce this problem reliably? Thanks. -- tejun --
Oct 27, 7:57 am 2008
Török Edwin
Re: [PATCH 1/4] Add support for userspace stacktraces in ...
Sure, and "[PATCH 2/4] Identify which executable object the userspace address belongs to" is independent of the lock tracing part too. Perhaps I should send these 2 patches as 3 separate patches: - introduce save_stack_trace_user in arch/ - the ftrace parts for user stack tracing (userstacktrace >iter_ctrl) - the sym-userobj part (which is useful if you got ASLR, otherwise you don't have a chance to resolve the symbols later after the app is gone) I promised the lock contention tracepoints ...
Oct 27, 9:16 am 2008
Ingo Molnar
Re: [PATCH 1/4] Add support for userspace stacktraces in ...
okay, this makes quite a bit of sense - and sysprof already kind of walks down into the user-space stack. (and so does oprofile, if asked) Could you send this independently of the lock contention tracing patches perhaps? Ingo --
Oct 27, 9:03 am 2008
Ingo Molnar
Re: [PATCH 2/6] tracepoint: Check if the probe has been ...
should be this one: f66af45: tracepoint: check if the probe has been registered Ingo --
Oct 27, 9:10 am 2008
Ingo Molnar
Re: [tbench regression fixes]: digging out smelly deadmen.
yeah, that overhead was bad, and once it became clear that you had high-resolution timers enabled for your benchmaking runs (which is default-off and which is still rare for benchmarking runs - despite being a popular end-user feature) we immediately disabled the hrtick via this upstream commit: 0c4b83d: sched: disable the hrtick for now that commit is included in v2.6.28-rc1 so this particular issue should be resolved. high-resolution timers are still default-disabled in the ...
Oct 27, 2:30 am 2008
Mike Galbraith
Re: [tbench regression fixes]: digging out smelly deadmen.
There ya go, happy benchmarking is when they tell you what you want to hear. Successful is when you learn something. -Mike (not happy, but learning) --
Oct 27, 12:44 pm 2008
Mike Galbraith
Re: [tbench regression fixes]: digging out smelly deadmen.
Yup, and how. Early on, the other variables drove me bat-shit frigging _nuts_. I eventually selected a UP config to test _because_ those other Not really, but I can't seem to give up ;-) -Mike --
Oct 27, 12:11 pm 2008
Mike Galbraith
Re: [tbench regression fixes]: digging out smelly deadmen.
How many clients? dbench 160 -t 60 2.6.28-smp (git.today) Throughput 331.718 MB/sec 160 procs (no logjam) Throughput 309.85 MB/sec 160 procs (contains logjam) Throughput 392.746 MB/sec 160 procs (contains logjam) -Mike --
Oct 27, 2:29 am 2008
Ingo Molnar
Re: [tbench regression fixes]: digging out smelly deadmen.
i've actually implemented that about a decade ago: i've tracked down what makes dbench tick, i've implemented the kernel heuristics for it to make dbench scale linearly with the number of clients - just to be the best dbench results come from systems that have enough RAM to cache the full working set, and a filesystem intelligent enough to not insert bogus IO serialization cycles (ext3 is not such a filesystem). The moment there's real IO it becomes harder to analyze but the same ...
Oct 27, 11:33 am 2008
Jiri Kosina
Re: [tbench regression fixes]: digging out smelly deadmen.
We'll need to look into this a little bit more I think. I have sent out some numbers too, and these indicate very clearly that there is more than 50% performance drop (measured by dbench) just after the very merge of CFS in 2.6.23-rc1 merge window. -- Jiri Kosina SUSE Labs --
Oct 27, 6:42 am 2008
Jiri Kosina
Re: [tbench regression fixes]: digging out smelly deadmen.
Ok, so another important datapoint: with c1e4fe711a4 (just before CFS has been merged for 2.6.23), the dbench throughput measures 187.7 MB/s in our testing conditions (default config). With c31f2e8a42c4 (just after CFS has been merged for 2.6.23), the throughput measured by dbench is 82.3 MB/s This is the huge drop we have been looking for. After this, the performance was still going down gradually, up to ~45 MS/ we are measuring for 2.6.27. But the biggest drop (more than ...
Oct 27, 3:42 am 2008
David Miller
Re: [tbench regression fixes]: digging out smelly deadmen.
From: Ingo Molnar <mingo@elte.hu> This I heavily disagree with. The scheduler should be so cheap that you cannot possibly notice that it is even there for a benchmark like tbench. If we now think it's ok that picking which task to run is more expensive than writing 64 bytes over a TCP socket and then blocking on a read, I'd like to stop using Linux. :-) That's "real work" and if the scheduler is more expensive than "real work" we lose. I do want to remind you of a thread you participated ...
Oct 27, 2:57 am 2008
Mike Galbraith
Re: [tbench regression fixes]: digging out smelly deadmen.
Doesn't seem to be scheduler/fairness. 2.6.22.19 is O(1), and falls apart too, I posted the numbers and full dbench output yesterday. -Mike --
Oct 27, 5:06 am 2008
David Miller
Re: [tbench regression fixes]: digging out smelly deadmen.
From: Evgeniy Polyakov <zbr@ioremap.net> Yes, this situation was in my opinion a complete fucking joke. Someone like me shouldn't have to do all of the hard work for the scheduler folks in order for a bug like this to get seriously looked at. Evgeniy's difficult work was effectively ignored except by other testers who could also see and reproduce the problem. No scheduler developer looked seriously into these reports other than to say "please try to reproduce with tip" (?!?!?!) I guess ...
Oct 26, 7:34 pm 2008
Mike Galbraith
Re: [tbench regression fixes]: digging out smelly deadmen.
Sure. Watching the per/sec output, every kernel I have sucks at high client count dbench, it's just a matter of how badly, and how long. BTW, the nice pretty 160 client numbers I posted yesterday for ext2 turned out to be because somebody adds _netdev mount option when I mount -a in order to mount my freshly hotplugged external drive (why? that ain't in my fstab). Without that switch, ext2 output is roughly as raggedy as ext3, and nowhere near the up to 1.4GB/sec I can get ...
Oct 27, 7:17 am 2008
Evgeniy Polyakov
Re: [tbench regression fixes]: digging out smelly deadmen.
My test system has 8gb for 8 clients and its performance dropped by 30%. There is no IO load since tbech uses only network part while dbench itself uses only disk IO. What we see right now is that usual network server which handles mixed set of essentially small reads and writes from the socket from multiple (8) clients suddenly lost one third of Right now there is no disk IO at all. Only quite usual network and process load. -- Evgeniy Polyakov --
Oct 27, 12:39 pm 2008
Alan Cox
Re: [tbench regression fixes]: digging out smelly deadmen.
Rubbish. If you do that you'll not get enough I/O in parallel to schedule the disk well (not that most of our I/O schedulers are doing the job well, and the vm writeback threads then mess it up and the lack of Arjans Fairness isn't everything. Dbench is a fairly good tool for studying some real world workloads. If your fairness hurts throughput that much maybe your scheduler algorithm is just plain *wrong* as it isn't adapting to workload at all well. Alan --
Oct 27, 4:33 am 2008
Rick Jones
Re: [tbench regression fixes]: digging out smelly deadmen.
http://www.netperf.org/svn/netperf2/trunk/src/netsec_linux.c Pointers to programtatic detection of AppArmour and a couple salient details about firewall (enabled, perhaps number of rules) from any Plot thickening, seems that autotest knows about some version of netperf2 already... i'll be trying to see if there is some benefit to autotest to netperf2's top of trunk having the keyval output format, and then I guess I'll close with successful benchmarking, if not necessarily ...
Oct 27, 12:18 pm 2008
Ingo Molnar
Re: [tbench regression fixes]: digging out smelly deadmen.
that is a well-known property of dbench: it rewards unfairness in IO, memory management and scheduling. The way to get the best possible dbench numbers in CPU-bound dbench runs, you have to throw away the scheduler completely, and do this instead: - first execute all requests of client 1 - then execute all requests of client 2 .... - execute all requests of client N the moment the clients are allowed to overlap, the moment their requests are executed more fairly, the dbench ...
Oct 27, 4:27 am 2008
David Miller
Re: [tbench regression fixes]: digging out smelly deadmen.
From: Evgeniy Polyakov <zbr@ioremap.net> I think the hope is that by saying there isn't a problem enough times, it will become truth. :-) More seriously, Ingo, what in the world do we need to do in order to get you to start doing tbench runs and optimizing things (read as: fixing the regression you added)? I'm personally working on a test fibonacci heap implementation for the fair sched code, and I already did all of the cost analysis all the way back to the 2.6.22 pre-CFS days. But I'm ...
Oct 27, 12:48 pm 2008
Rick Jones
Re: [tbench regression fixes]: digging out smelly deadmen.
I cannot guarantee it will help, but the global -T option to pin netperf or netserver to a specific CPU might help cut-down the variables. FWIW netperf top of trunk omni tests can now also determine and report the state of SELinux. They also have code to accept or generate their own RFC4122-esque UUID. Define some connical tests and then ever closer to just needing some database-fu and automagic testing I suppose... things I do not presently posess but am curious enough to follow some ...
Oct 27, 10:26 am 2008
Randy Dunlap
Re: [Patch 2.6.27] fix booting on Sharp Zaurus c3000
On Sun, 26 Oct 2008 19:41:09 +0100 -- ~Randy --
Oct 27, 9:25 am 2008
David Brownell
Re: [rtc-linux] [i2c] [PATCH] rtc-ds1307 : SMBus compatibility
I tested these changes on my trusty ds1307 system using i2c-gpio (vs a "real SMBus controller") and it works just fine. Of the nine changed I/O calls, testing with the ds1307 covers all but the three supporting the new alarm calls. Given that those alarm changes are "obvious", I actually don't have any qualms signing off on these changes ... though it would of course be good to have Rodolfo re-test his alarm code. (It's freshly merged in any case, so it merits testing just in case a ...
Oct 27, 2:29 pm 2008
Ingo Molnar
Re: PATCH] ftrace: Add a C/P state tracer to help power ...
nice! No fundamental objections - Len, do you concur? We could carry this in the ftrace tree, the impact on the rest of the kernel is minimal. the defines should be an enum and please put a newline after the enum this should be HAVE_POWER_TRACER defined in arch/x86/Kconfig, instead s/analyize/analyse __read_mostly ? Ingo --
Oct 27, 8:59 am 2008
Alan Cox
Re: PATCH] ftrace: Add a C/P state tracer to help power ...
On Mon, 27 Oct 2008 12:05:57 -0400 (EDT) American English is indeed "different" to English. Alan --
Oct 27, 9:21 am 2008
Steven Rostedt
Re: PATCH] ftrace: Add a C/P state tracer to help power ...
Unless Britsh English is different, which I do not know. s/analyse/analyze/ ;-) --
Oct 27, 9:05 am 2008
Arjan van de Ven
Re: PATCH] ftrace: Add a C/P state tracer to help power ...
On Mon, 27 Oct 2008 15:47:30 -0400 because it's a ton simpler this way? do simple things simpe and all that.... -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Oct 27, 2:06 pm 2008
Arjan van de Ven
Re: PATCH] ftrace: Add a C/P state tracer to help power ...
On Mon, 27 Oct 2008 16:59:21 +0100 there's other tracers that have a similar depends other than that, updated patch below: From: Arjan van de Ven <arjan@linux.intel.com> Subject: [PATCH] ftrace: Add a C/P state tracer to help power optimization This patch adds a C/P-state ftrace plugin that will generate detailed statistics about the C/P-states that are being used, so that we can look at detailed decisions that the C/P-state code is making, rather than the too high level ...
Oct 27, 11:05 am 2008
Steven Rostedt
Re: PATCH] ftrace: Add a C/P state tracer to help power ...
By golly! Us Americans are more English that those on that Island over the pond. Dog gonnit! We still use the English system for measuring! Sarah Palin for Prez! ;-) -- STeve --
Oct 27, 10:16 am 2008
Steven Rostedt
Re: PATCH] ftrace: Add a C/P state tracer to help power ...
Yeah, this should be converted to a trace_point. See include/trace/sched.h for examples. The users are in kernel/sched.c. Just add "trace_" in front of the names to find the users. Then you can look at kernel/trace/trace_sched_switch.c to see an example on how to hook into it. -- Steve --
Oct 27, 1:13 pm 2008
Frank Ch. Eigler
Re: PATCH] ftrace: Add a C/P state tracer to help power ...
Is there some reason that this doesn't use tracepoints instead of such a single-backend hook? - FChE --
Oct 27, 12:47 pm 2008
Paul E. McKenney
Re: [PATCH] v3 rudimentary tracing for Classic RCU
So it does seem to operate correctly. I combined it with my patch and applied against 2.6.27 for ease of testing. One question -- why the multi-line format? This would be a bit awkward on a 128-CPU system, let alone on a 4,096-CPU system. --
Oct 27, 2:50 pm 2008
Paul E. McKenney
Re: [PATCH] v3 rudimentary tracing for Classic RCU
To clarify, by "missing some trick", I am wondering if there is some command that works in blocks of lines. After all, /proc/cpuinfo produces the same sort of output that your patch does. ;-) --
Oct 27, 4:57 pm 2008
Ingo Molnar
Re: [PATCH 1/4] x86: corruption-check: fix some style issues
i've picked up your fixes into tip/x86/corruption-check: b43d196: x86: corruption-check: some post-move cleanups 304e629: x86: corruption check: run the corruption checks from a work queue 6784f7d: x86: corruption check: move the corruption checks into their own file 04d2aac: x86: corruption-check: fix some style issues thanks Arjan! Ingo --
Oct 27, 10:11 am 2008
Andrew Morton
Re: [PATCH v5] ELF: implement AT_RANDOM for glibc PRNG seeding
True. As long as glibc doesn't do the /dev/urandom read when the kenrel has already done that. I assume that it will do so, until AT_RANDOM-aware glibc has propagated out? --
Oct 26, 10:46 pm 2008
Zhao, Yu
Re: [PATCH] pci: Fixing drivers/pci/search.c compilation ...
Why does the caller have a reference count? I don't see we increase the reference count after the 'dev' is returned by following in pci_get_dev_by_id(): dev = bus_find_device(&pci_bus_type, dev_start, (void *)id, match_pci_dev_by_id); And this 'dev' becomes the 'from' in the next loop, but it may be --
Oct 27, 12:34 am 2008
Matthew Wilcox
Re: [PATCH] pci: Fixing drivers/pci/search.c compilation ...
What problem with it? It's documented to return the device with an increased refcount, and the implementation appears to do exactly that: struct pci_dev * pci_get_bus_and_slot(unsigned int bus, unsigned int devfn) { struct pci_dev *dev = NULL; while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) { if (pci_domain_nr(dev->bus) == 0 && (dev->bus->number == bus && dev->devfn == devfn)) return dev; ...
Oct 27, 12:07 am 2008
Zhao, Yu
Re: [PATCH] pci: Fixing drivers/pci/search.c compilation ...
The 'dev' returned by pci_get_device() may be destroyed by PCI hotplug. I suppose that passing this 'dev' to pci_get_device() in the next loop would crash the system, right? --
Oct 27, 12:13 am 2008
Zhao, Yu
Re: [PATCH] pci: Fixing drivers/pci/search.c compilation ...
I checked the source code, there is no 'pci_dev_get(from)', the reference count is increased in bus_find_device(). while ((dev = next_device(&i))) if (match(dev, data) && get_device(dev)) But the essential problem is same: the reference count of 'dev' above may be decreased before the 'get_device(dev)', I guess. --
Oct 27, 12:43 am 2008
Matthew Wilcox
Re: [PATCH] pci: Fixing drivers/pci/search.c compilation ...
Erm, no, the 'dev' cannot be destroyed because the caller has a refcount on it. The physical device backing it might have gone away. The dev won't be destroyed until its reference count reaches zero, which could be any time someone calls pci_dev_put() on it. In the scenario you're postulating, it would happen in pci_get_dev_by_id(): if (from) pci_dev_put(from); which is the last time that 'from' is referred to in that callchain. -- Matthew Wilcox Intel ...
Oct 27, 12:21 am 2008
Matthew Wilcox
Re: [PATCH] pci: Fixing drivers/pci/search.c compilation ...
Either you've gone back to talking about pci_find_device() [which, yes, is vulnerable to race conditions, we know that, it's not interesting to talk about it], or you're refusing to take it on faith that pci_get_dev_by_id() returns a device with an increased refcount. And if you don't believe that is true, please follow the code in bus_find_device() to prove it. -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us ...
Oct 27, 12:45 am 2008
Zhao, Yu
Re: [PATCH] pci: Fixing drivers/pci/search.c compilation ...
How about pci_get_bus_and_slot()? People would meet the problem with it anyway. Thanks, Yu --
Oct 26, 8:18 pm 2008
Andrey Borzenkov
Re: ACPI video.c brightness handler conflicts with toshi ...
It is still not in rc2; is it scheduled for 2.6.28 or delayed further?
Oct 27, 9:52 am 2008
Andrey Mirkin
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoi ...
In OpenVZ we are creating first task and namespaces from sys_restart. --
Oct 27, 7:45 am 2008
Oren Laadan
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoi ...
This is inaccurate. I intentionally did not address how processes will be created, by simply allowing either way to be added to the patch. I do agree that we probably want to decide how to do it. However, there is also room to allow for both approaches, in a compatible Why do we care about it ? Why is there a difference if it is killed before or after entering This is the weak side of creating the processes in user space - that we need such an interface. Note, however, that we ...
Oct 27, 7:39 am 2008
Andrey Mirkin
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoi ...
Well, AFAICS from Oren's patch set his approach is oriented on process creation in user space. I think we should choose right now what approach will be used for process creation. We have two options here: fork processes in kernel or fork them in user space. If process will be forked in user space, then there will be a gap when process will be in user space and can be killed with received signal before entering kernel. Also we will need a functionolity to create processes with predefined ...
Oct 27, 7:07 am 2008
Andrey Mirkin
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoi ...
I agree that multiple process handling is not needed for initial review. But I believe that the question with process creation should be discussed right Well, in this case there will be a gap after process is returned from fork but before entering kernel. During that time process can be killed by delivered signal. Another drawback of this approach is that we will need to provide an You right here. Both approaches have pros and cons, but I think that kernel approach has more ...
Oct 27, 7:38 am 2008
Konstantin Kletschke
Re: SATA Cold Boot problems on >2.6.25 with NV
Hello Tejun! After my short reply I had a 2.6.27 running with [-- Attachment #2: sata_nv-nf2-hrst-debug-take2.patch --] fine so far. It bootet immediately at any time I powercycled the machine. Hot, cold and reboot seems to be no problem, no /var/log/messages flooding also. I just wanted to inform you, whatever the investigations result into, on _my_ machine this incarnation is just fine. Regards, Konsti -- GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 ...
Oct 27, 2:22 am 2008
Fernando Luis
Re: [PATCH] virtio_blk: use noop elevator by default
Thank you for the advice. I will be sending patches that take advantage of the profiling capability merged for 2.6.28. --
Oct 27, 2:43 am 2008
Fernando Luis
[PATCH 2/3] virtio_blk: set queue paravirt flag
As a paravirt front-end driver, virtio_blk is not a rotational device so we want do avoid idling in AS/CFQ. Tell the block layer about this. Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> --- diff -urNp linux-2.6.28-rc2-orig/drivers/block/virtio_blk.c linux-2.6.28-rc2/drivers/block/virtio_blk.c --- linux-2.6.28-rc2-orig/drivers/block/virtio_blk.c 2008-10-27 17:41:53.000000000 +0900 +++ linux-2.6.28-rc2/drivers/block/virtio_blk.c 2008-10-27 17:34:32.000000000 +0900 @@ -237,6 ...
Oct 27, 2:45 am 2008
Fernando Luis
[PATCH 1/3] block: add queue flag for paravirt frontend ...
As is the case with SSD devices, we do not want to idle in AS/CFQ when the block device is a paravirt front-end driver. This patch adds a flag (QUEUE_FLAG_VIRT) which should be used by front-end drivers such as virtio_blk and xen-blkfront to indicate a paravirtualized device. Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> --- diff -urNp linux-2.6.28-rc2-orig/include/linux/blkdev.h linux-2.6.28-rc2/include/linux/blkdev.h --- ...
Oct 27, 2:44 am 2008
Jens Axboe
Re: [PATCH 1/3] block: add queue flag for paravirt front ...
All three patches look fine, although we could just reuse QUEUE_FLAG_NONROT directly. But I agree it makes sense to make the distinction, so I've just applied 1-3. -- Jens Axboe --
Oct 27, 5:56 am 2008
Fernando Luis
[PATCH 3/3] xen-blkfront: set queue paravirt flag
Xen's blkfront sets noop as the default I/O scheduler at initialization time to avoid elevator overheads such as idling, but with the advent of basic disk profiling capabilities this is not necessary anymore. We should just tell the block layer that we are a paravirt front-end driver and the elevator will automatically make the necessary adjustments. Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> --- diff -urNp linux-2.6.28-rc2-orig/drivers/block/xen-blkfront.c ...
Oct 27, 2:45 am 2008
Paul E. McKenney
Re: [PATCH, RFC] v7 scalable classic RCU implementation
Agreed. Perhaps a good change to make while introducing stall detection to preemptable RCU -- there would then be three examples, which should allow good generalization. Thanx, Paul --
Oct 27, 9:45 am 2008
Manfred Spraul
Re: [PATCH, RFC] v7 scalable classic RCU implementation
Two implementations. IMHO the current rcu-classic code should be dropped immediately when you add rcu-tree: rcu-classic is buggy, as far as I can see long-running interrupts on nohz cpus are not handled correctly. I don't think it makes sense to keep it in the kernel in parallel to rcu-tree. I would propose that rcu-tree replaces rcu-classic. I'll continue to update rcu-state, I think that it will achieve lower latency than rcu-tree [average/max time between call_rcu() and destruction ...
Oct 27, 12:48 pm 2008
Paul E. McKenney
Re: [PATCH, RFC] v7 scalable classic RCU implementation
In keeping with my reputation as a "conservative programmer", I would suggest that rcuclassic.c remain for a year or so. Distros branching off during this time should continue making rcuclassic.c be the default. Other uses should have rcutree.c as the default. At the end of the year, we remove rcuclassic.c. All that said, one attractive aspect of your suggestion is immediately removing rcuclassic.c would eliminate the need to do further work on it. ;-) Your benchmarking proposal for ...
Oct 27, 4:52 pm 2008
Eric Dumazet
Re: [PATCH] PCI: Limit VPD length for Broadcom 5708S
Hi all Just tried linux-2.6.28-rc2 on same platform. Same problem again... Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.8.1 (Oct 7, 2008) bnx2 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 eth0: Broadcom NetXtreme II BCM5708 1000Base-SX (B2) PCI-X 64-bit 133MHz found at mem f6000000, IRQ 16, node addr 00:1e:0b:ec:d3:dc bnx2 0000:07:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 eth1: Broadcom NetXtreme II BCM5708 1000Base-SX (B2) PCI-X 64-bit 133MHz found at mem ...
Oct 27, 3:27 pm 2008
Douglas Gilbert
Re: [RFC PATCH] HP (Compaq) Smart Array 5xxx controller ...
My interest in SAS/SATA RAID controllers (e.g. cciss and megaraid) is to get to the physical drives and let smartmontools query them. The first difficulty is addressing physical drives within the logical drive presented to the OS. Then there are SATA drives: I have yet to see a SAT implementation good enough to fetch useful SMART data using "pure" SCSI commands; that leaves the SAT ATA PASS-THROUGH commands. Testing I did today on a HP E200 controller with version 1.80 firmware and the cciss ...
Oct 26, 9:09 pm 2008
FUJITA Tomonori
RE: [RFC PATCH] HP (Compaq) Smart Array 5xxx controller ...
On Fri, 24 Oct 2008 15:10:57 +0000 Awesome, I'm really looking forward to the release. Thanks! --
Oct 26, 9:54 pm 2008
previous daytodaynext day
October 26, 2008October 27, 2008October 28, 2008