Re: SATA exceptions with 2.6.20-rc5

2007-01-23 Thread Larry Walton
The last patch (sata_nv-force-int-dev-in-interrupt.patch) seems to have fix the problem. Much appreciated, thank you. I'd consider it a must have in 2.6.20. -- *--* Mail: [EMAIL PROTECTED] *--* Voice: 206.892.6269 *--* Cell: 206.225.0154 *--* HTTP://real.com

RE: Could convert a buffer that allocated by vmalloc to pages?

2007-01-23 Thread Yu-Chen Wu
Hi Anton, All of the code as below: //== extern struct vm_struct *vmlist; struct vm_struct *vmlist2,*L2vm; int find_vm_struct(void *addr) { struct vm_struct **p; int i; struct page *pg;

Re: [PATCH 2.6.20-rc5] SPI: alternative fix for spi_busnum_to_master

2007-01-23 Thread David Brownell
On Monday 22 January 2007 5:10 pm, Atsushi Nemoto wrote: On Mon, 22 Jan 2007 14:12:02 -0800, David Brownell [EMAIL PROTECTED] wrote: Here is a revised version. The children list of spi_master_class contains only spi_master class so we can just compare bus_num member instead of class_id

Re: Could convert a buffer that allocated by vmalloc to pages?

2007-01-23 Thread Kyle McMartin
On Tue, Jan 23, 2007 at 10:15:33PM +0800, Yu-Chen Wu wrote: printk(KERN_INFO vmalloc_to_page tpage :%x\n,tpage); //===info of dmesg== snip [ 1561.768492] page allocated:60ea9000 [ 1561.768497] vmalloc_to_page tpage :7fcf7e18 Why the page address get from

Re: [PATCH 2.6.20-rc5] SPI: alternative fix for spi_busnum_to_master

2007-01-23 Thread Atsushi Nemoto
On Tue, 23 Jan 2007 07:42:15 -0800, David Brownell [EMAIL PROTECTED] wrote: Indeed the check can be omitted. Should I send a new patch just moving class_device_get() into if (master-bus_num == bus_num) block? Yes, please. OK, here is. This patch uses spi_master_get() instead of

[PATCH RFC] hwmon/f71805f: Fix a race condition

2007-01-23 Thread Jean Delvare
Hi all, I think I introduced a potential race condition bug with commit 51c997d80e1f625aea3426a8a9087f5830ac6db3. I didn't realize it back then, but platform_device_put and platform_device_release both appear to free the platform data associated with the device. This makes an explicit kfree

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Pavel Machek
Hi1 +if [ ! -d /proc/sin ]; then +echo /proc/sin not found, has sinmod been loaded? +exit +fi No new /proc files, please. This was merely a prototype realized in a hurry, not a production driver. Really, I did't think it

LSISAS1068 controller reset (mptsas driver)

2007-01-23 Thread Emiliano Gabrielli (aka AlberT)
Hi, I'm not subscribed to the list .. so plz CC: to me on answer I'm having some problems with the LSISAS1068 controller (on a Dell PowerEdge 860 havind 2 SAS HD in HW raid 1)... dmesg gives a number of the following errors: sd 0:8:0:0: command: cdb[0]=0x2a: 2a 00 04 29 49 14 00 00

SAS1068 PCI-X Fusion-MPT SAS 1000:0055

2007-01-23 Thread areq
Hi I have new NEC server with SAS1068 PCI-X Fusion-MPT SAS pciid: 1000:0055 mptsas form 2.6.20-rc5 don't recognize it ;( I see that driver support only 1000:0054 and 1000:0058 devices. ./drivers/message/fusion/mptsas.c: { PCI_VENDOR_ID_LSI_LOGIC, MPI_MANUFACTPAGE_DEVID_SAS1068,

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Alessandro Di Marco
Pavel Machek [EMAIL PROTECTED] writes: But I still believe it can be out. Do you believe it could be a user-space daemon or what? Yes, what prevents userspace daemon watching /dev/input/event* to provide this functionality? Well that was my first attempt. Just an hack, but

Re: [Proposal] 2.6.18-stable release plans?

2007-01-23 Thread Stefan Richter
Sunil Naidu wrote: I have to dig deep into the patch kernel version to understand what are the features/implementations or fixes (patch). Problem here is 2 ways:- 1) Identifying which is a better kernel (features) for Desktop/Embedded/Server (I know, info mentioned in Changelog. But

Re: SATA problems

2007-01-23 Thread Pablo Sebastian Greco
Tejun Heo wrote: Hello, Pablo. Please apply common hardware debugging method. You know, swap drives. Use separate power supply for disks, swap cables, etc... It seems more like a hardware problem at this point. Thanks. Well, it took me a few days, but I think I'm ready to report back.

[PATCH] videobuf_qbuf: fix? possible videobuf_queue-stream corruption and lockup

2007-01-23 Thread Oleg Nesterov
I am pretty sure the bug is real, but the patch may be wrong, please review. We are doing -buf_prepare(buf) before adding buf to q-stream list. This means that videobuf_qbuf() should not try to re-add a STATE_PREPARED buffer. Signed-off-by: Oleg Nesterov [EMAIL PROTECTED] ---

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-23 Thread David Miller
From: Alan Cox [EMAIL PROTECTED] Date: Mon, 22 Jan 2007 07:45:02 -0500 On Mon, Jan 22, 2007 at 12:07:11PM +0100, Christoph Hellwig wrote: process. This year, the Kernel Summit will be held in Cambridge, England, at the DeVere University Arms Hotel, September 5-6 (with a welcome

[PATCH 3/3] replacement patch for pipefs and sockfs

2007-01-23 Thread Jeff Layton
Hi Andrew, I sent a set of 3 patches to you a week or so ago. This patch is a replacement for the third one in the set. Either one will work, but I think this is a better approach. The main differences here are: 1) pipefs declares its drop_inode function to be generic_delete_inode, which

Re: [PATCH 13/15] ide: fix UDMA/MWDMA/SWDMA masks

2007-01-23 Thread Sergei Shtylyov
Hello. Alan wrote: Ugh, I'm not seeing any *actual* support for MW/SW DMA in this driver... Thats long been broken. Should be correct in the libata driver Here's a surprise for you. pata_cmd64x copied the SW/MW DMA setup code from the IDE driver. No way it could be working. You may

Re: Kernel 2.6.19.2 New RAID 5 Bug (oops when writing Samba - RAID5)

2007-01-23 Thread Justin Piszcz
On Tue, 23 Jan 2007, Michael Tokarev wrote: Justin Piszcz wrote: On Tue, 23 Jan 2007, Michael Tokarev wrote: Disabling pre-emption on critical and/or server machines seems to be a good idea in the first place. IMHO anyway.. ;) So bottom line is make sure not to use preemption

Re: change strip_cache_size freeze the whole raid

2007-01-23 Thread kyle
I can try and do this later this week possibly. Justin. alt-sysrq-T or echo t /proc/sysrq-trigger can be really helpful to diagnose this sort of problem (providing the system isn't so badly stuck that the kernel logs don't get stored). It is probably hitting a memory-allocation deadlock,

Re: [uml-devel] [PATCH] [UML] fix mknod

2007-01-23 Thread Johannes Stezenbach
On Tue, Jan 23, 2007 at 09:02:30AM +0100, Blaisorblade wrote: On Monday 22 January 2007 21:13, Johannes Stezenbach wrote: I was playing with user-mode Linux and found that mknod creates devices node in hostfs with wrong major/minor numbers. The patch below fixes it for me. Hmpf. Still

[PATCH 0/5] KVM fixes for 2.6.20

2007-01-23 Thread Avi Kivity
The following series of patches fixes several kvm problems. I believe they are important and well-tested enough to be included in 2.6.20, especially the host reboot fix on AMD machines. -- error compiling committee.c: too many arguments to function - To unsubscribe from this list: send the

[PATCH 1/5] KVM: SVM: Fix SVM idt confusion

2007-01-23 Thread Avi Kivity
From: Leonard Norrgard [EMAIL PROTECTED] There's an obvious typo in svm_{get,set}_idt, causing it to access the ldt instead. Because these functions are only called for save/load on AMD, the bug does not impact normal operation. With the fix, save/load works as expected on AMD hosts.

[PATCH 2/5] KVM: Emulate IA32_MISC_ENABLE msr

2007-01-23 Thread Avi Kivity
This allows netbsd 3.1 i386 to get further along installing. Signed-off-by: Avi Kivity [EMAIL PROTECTED] Index: linux-2.6/drivers/kvm/kvm_main.c === --- linux-2.6.orig/drivers/kvm/kvm_main.c +++ linux-2.6/drivers/kvm/kvm_main.c @@

[PATCH 3/5] KVM: MMU: Perform access checks in walk_addr()

2007-01-23 Thread Avi Kivity
Check pte permission bits in walk_addr(), instead of scattering the checks all over the code. This has the following benefits: 1. We no longer set the accessed bit for accessed which fail permission checks. 2. Setting the accessed bit is simplified. 3. Under some circumstances, we used to

[PATCH 4/5] KVM: MMU: Report nx faults to the guest

2007-01-23 Thread Avi Kivity
Rith the recent guest page fault change, we perform access checks on our own instead of relying on the cpu. This means we have to perform the nx checks as well. Software like the google toolbar on windows appears to rely on this somehow. Signed-off-by: Avi Kivity [EMAIL PROTECTED] Index:

[PATCH 5/5] KVM: SVM: Propagate cpu shutdown events to userspace

2007-01-23 Thread Avi Kivity
From: Joerg Roedel [EMAIL PROTECTED] This patch implements forwarding of SHUTDOWN intercepts from the guest on to userspace on AMD SVM. A SHUTDOWN event occurs when the guest produces a triple fault (e.g. on reboot). This also fixes the bug that a guest reboot actually causes a host reboot under

[ANNOUNCE] kvm-12 release

2007-01-23 Thread Avi Kivity
Perhaps the most visible change is that -no-acpi is no longer required to install Windows (it is still recommended as the Windows ACPI HAL will eat a lot of cpu time). Changes from kvm-11: - More migration work (Uri Lublin) - savevm/loadvm (and migration) work on AMD (Leonard Norrgard) - More

[PATCH] correct sys_shmget allocation check

2007-01-23 Thread Guy Streeter
As written, sys_shmget will return ENOSPC when one page is still available for allocation. This patch corrects the test. Signed-off-by: Guy Streeter [EMAIL PROTECTED] -- Index: linux-2.6/ipc/shm.c === --- linux-2.6.orig/ipc/shm.c

Re: [Alsa-devel] [2.6 patch] echo3g_dsp.c shouldn't include #include linux/irq.h

2007-01-23 Thread Takashi Iwai
At Tue, 23 Jan 2007 16:17:56 +0100, Adrian Bunk wrote: Despite being under linux/, linux/irq.h shouldn't be #include'd by arch independent code. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Thanks, I applied to ALSA tree now. Takashi - To unsubscribe from this list: send the line

[PATCH] mxser: remove useless fields

2007-01-23 Thread Cedric Le Goater
the session and pgrp fields in mxser_struct are unused. Signed-off-by: Cedric Le Goater [EMAIL PROTECTED] --- drivers/char/mxser.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) Index: 2.6.20-rc4-mm1/drivers/char/mxser.c

Is it possible to directly call do_path_lookup() in kernel?

2007-01-23 Thread Xin Zhao
Hi, I tried to call the following code in a kernel module: error = do_path_lookup(AT_FDCWD, /etc/profile.d/glib2.csh, LOOKUP_PARENT, nd); I exported the function do_path_lookup() using EXPORT_SYMBOL_GPL(do_path_lookup); But do_path_lookup() caused the general protection fault:

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Pavel Machek
Hi! But I still believe it can be out. Do you believe it could be a user-space daemon or what? Yes, what prevents userspace daemon watching /dev/input/event* to provide this functionality? Well that was my first attempt. Just an hack, but it works. Nonetheless I

Re: [PATCH] MMC: au1xmmc R6 response support

2007-01-23 Thread Pierre Ossman
Manuel Lauss wrote: Hi, here's a trivial patch which adds R6 reponse support to the au1xmmc driver. Fixes SD card detection / operation. NAK. MMC_RSP_R1 and MMC_RSP_R6 have the same value so this will break the switch. Rgds -- -- Pierre Ossman Linux kernel, MMC maintainer

reading a binary sysfs attribute continues forever

2007-01-23 Thread Jonathan M. McCune
Hello, I have written a kernel module which introduces a new subsystem in sysfs, and it contains several attributes, one of which is binary. So far, I've been testing it using text. My problem is, attempting to read data continues forever. For example: # echo test data

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Mattia Dongili
On Tue, Jan 23, 2007 at 05:34:42PM +0100, Pavel Machek wrote: [...] Do you believe it could be a user-space daemon or what? Yes, what prevents userspace daemon watching /dev/input/event* to provide this functionality? hmmm... EVIOCGRAB for example? the synaptics Xorg driver is using it,

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Pavel Machek
On Tue 2007-01-23 20:01:07, Mattia Dongili wrote: On Tue, Jan 23, 2007 at 05:34:42PM +0100, Pavel Machek wrote: [...] Do you believe it could be a user-space daemon or what? Yes, what prevents userspace daemon watching /dev/input/event* to provide this functionality? hmmm...

Re: configfs: return value for drop_item()/make_item()?

2007-01-23 Thread Joel Becker
On Tue, Jan 23, 2007 at 02:49:59PM +0100, Michael Noisternig wrote: Sorry, I wasn't clear. I meant that it's not possible to let the user create the parent directory via mkdir(2) within sysfs. I.e. # mkdir object -- create object/, configfs only # ls object type # echo b object/type --

+1 4 cz (Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit)

2007-01-23 Thread Oleg Verych
In gmane.linux.kernel, David Miller wrote: From: Alan Cox [EMAIL PROTECTED] Date: Mon, 22 Jan 2007 07:45:02 -0500 On Mon, Jan 22, 2007 at 12:07:11PM +0100, Christoph Hellwig wrote: process. This year, the Kernel Summit will be held in Cambridge, England, at the DeVere University Arms

Re: [Proposal] 2.6.18-stable release plans?

2007-01-23 Thread Sunil Naidu
On 1/23/07, Stefan Richter [EMAIL PROTECTED] wrote: This would be hard to organize and support. There are news sites like LWN which give outlines of important kernel changes, and there are mailinglists or community sites for architectures or driver subsystems if you are interested in special

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Scott Preece
On 1/23/07, Pavel Machek [EMAIL PROTECTED] wrote: Hi1 ... But I still believe it can be out. Do you believe it could be a user-space daemon or what? Yes, what prevents userspace daemon watching /dev/input/event* to provide this functionality?

RE: Could convert a buffer that allocated by vmalloc to pages?

2007-01-23 Thread Anton Altaparmakov
Hi, On Tue, 23 Jan 2007, Yu-Chen Wu wrote: All of the code as below: //== extern struct vm_struct *vmlist; struct vm_struct *vmlist2,*L2vm; int find_vm_struct(void *addr) { struct vm_struct **p; int i;

Re: Any problem if softirq are done in a interrupt context (IRQ stack)?

2007-01-23 Thread Steven Rostedt
On Wed, 2007-01-03 at 11:43 +0100, Björn Steinbrink wrote: [Re-added lkml to the CC list, please don't drop anything from CC] yes, since I would not have replied to this ;) On 2007.01.03 17:39:48 +0800, [EMAIL PROTECTED] wrote: Hi! Thanks very much for your clear explanation ! I

Re: [PATCH 4/11] i386 vDSO: use VM_ALWAYSDUMP

2007-01-23 Thread Andrew Morton
On Sat, 13 Jan 2007 21:34:28 -0800 (PST) Roland McGrath [EMAIL PROTECTED] wrote: + vma = vma-vm_next ?: vma == gate_vma ? NULL : gate_vma) { Painful. Can we do this? diff -puN fs/binfmt_elf.c~i386-vdso-use-vm_alwaysdump-tidy fs/binfmt_elf.c ---

Re: XFS or Kernel Problem / Bug

2007-01-23 Thread Chuck Ebbert
Stefan Priebe - FH wrote: I've 3 Servers which works wonderful with 2.6.16.X (also testet the latest 2.6.16.37) but with 2.6.18.6 i get these errors: general protection fault: [#1] Modules linked in: CPU:0 EIP:0060:[c01c8fd2]Not tainted VLI EFLAGS: 00010246 (2.6.18.6

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-23 Thread Sunil Naidu
On 1/22/07, Alan Cox [EMAIL PROTECTED] wrote: Ditto.. Definitely disagree with that. I'd like to see the conference somewhere else different this time - perhaps Czech Republic, or somewhere else more easterly and Linux active (or even Finland...) While we're at it it would be nice to get rid

Re: [PATCH 4/11] i386 vDSO: use VM_ALWAYSDUMP

2007-01-23 Thread Linus Torvalds
On Tue, 23 Jan 2007, Andrew Morton wrote: /* + * Helper function for iterating across a vma list. It ensures that the caller + * will visit `gate_vma' prior to terminating the search. Well, the comment is wrong. The code doesn't actually visit 'gate_vma' if the list of VMA's is

Re: [PATCH 4/11] i386 vDSO: use VM_ALWAYSDUMP

2007-01-23 Thread Roland McGrath
On Sat, 13 Jan 2007 21:34:28 -0800 (PST) Roland McGrath [EMAIL PROTECTED] wrote: +vma = vma-vm_next ?: vma == gate_vma ? NULL : gate_vma) { Painful. Can we do this? Can't stand concise, eh? ;-) Your version is fine with me. Thanks, Roland - To unsubscribe from this list:

Re: [patch 1/3] Scheduled removal of SA_xxx interrupt flags

2007-01-23 Thread Andrew Morton
On Sun, 14 Jan 2007 08:33:45 - Thomas Gleixner [EMAIL PROTECTED] wrote: The name space cleanup of the interrupt request flags (SA_xxx - IRQF_xxx) left a 6 month grace period for the old deprecated flags. Remove them. fwiw, I'll make this [patch 3/3], so the kernel compiles OK at each step.

Re: [Proposal] 2.6.18-stable release plans?

2007-01-23 Thread Stefan Richter
Sunil Naidu wrote: ... Am talking from the Linux users point of view (who need to know deep about the Kernel development, etc. Imagine, a student or a professional who wants to build a kernel with a patch for a i686 machine? You speak of advanced users with very special requirements. They can

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Mattia Dongili
On Tue, Jan 23, 2007 at 08:02:57PM +0100, Pavel Machek wrote: On Tue 2007-01-23 20:01:07, Mattia Dongili wrote: On Tue, Jan 23, 2007 at 05:34:42PM +0100, Pavel Machek wrote: [...] Do you believe it could be a user-space daemon or what? Yes, what prevents userspace daemon watching

Re: [PATCH 4/11] i386 vDSO: use VM_ALWAYSDUMP

2007-01-23 Thread Roland McGrath
Not that the old code did either, so it's not like it's a new bug, but I thought I'd point it out anyway. As if we care (but you can probably trigger this by having an app that does munmap(NULL, TASK_SIZE); which will cause a SIGSEGV on return (because the stack doesn't exist) and

[PATCH 0/2] Mechanism to turn of ASR on a per-ELF binary basis

2007-01-23 Thread Samium Gromoff
These patches allow the binaries which absolutely require that their address space layout to be unaffected by address space randomisation to specify that in their ELF header. The first part defines the ELF header flag, the second implements the corresponding part of the interpreter functionality.

[PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

2007-01-23 Thread Samium Gromoff
Author: Samium Gromoff [EMAIL PROTECTED] Date: Tue Jan 23 22:31:13 2007 +0300 Define the ELF binary header flag EF_AS_NO_RANDOM EF_AS_NO_RANDOM should mean that the binary requests to not apply randomisation to address spaces of its processes. diff --git a/include/linux/elf.h

Re: [patch 1/3] Scheduled removal of SA_xxx interrupt flags

2007-01-23 Thread Thomas Gleixner
On Tue, 2007-01-23 at 12:02 -0800, Andrew Morton wrote: The name space cleanup of the interrupt request flags (SA_xxx - IRQF_xxx) left a 6 month grace period for the old deprecated flags. Remove them. fwiw, I'll make this [patch 3/3], so the kernel compiles OK at each step. Yup, should

[PATCH 2/2] Make the EF_AS_NO_RANDOM e_flag bit disable PF_RANDOMIZE

2007-01-23 Thread Samium Gromoff
Author: Samium Gromoff [EMAIL PROTECTED] Date: Tue Jan 23 23:12:16 2007 +0300 load_elf_binary: do not set PF_RANDOMIZE if the ELF file has EF_AS_NO_RANDOM s et diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 7cb2872..007dedd 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@

Re: [PATCH -rt] whitespace cleanup for 2.6.20-rc5-rt7

2007-01-23 Thread Richard Knutsson
Satoru Takeuchi wrote: At Tue, 23 Jan 2007 00:42:31 +0100, Richard Knutsson wrote: Michal Piotrowski wrote: How about this script? d) Ensure that your patch does not add new trailing whitespace. The below script will fix up your patch by stripping off such whitespace.

Re: 2.6.18-stable release plans?

2007-01-23 Thread Chuck Ebbert
Jesper Juhl wrote: On 22/01/07, Chuck Ebbert [EMAIL PROTECTED] wrote: Is there going to be another 2.6.18-stable release? Now that 2.6.19 is out, most likely not. -stable releases are made for the latest stable 2.6.x kernel, once 2.6.x+1 is out that's the one -stable patches are made for

Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

2007-01-23 Thread Jakub Jelinek
On Tue, Jan 23, 2007 at 11:28:13PM +0300, Samium Gromoff wrote: Author: Samium Gromoff [EMAIL PROTECTED] Date: Tue Jan 23 22:31:13 2007 +0300 Define the ELF binary header flag EF_AS_NO_RANDOM EF_AS_NO_RANDOM should mean that the binary requests to not apply randomisation

Re: 2.6.18-stable release plans?

2007-01-23 Thread Adrian Bunk
On Tue, Jan 23, 2007 at 03:33:48PM -0500, Chuck Ebbert wrote: Jesper Juhl wrote: On 22/01/07, Chuck Ebbert [EMAIL PROTECTED] wrote: Is there going to be another 2.6.18-stable release? Now that 2.6.19 is out, most likely not. -stable releases are made for the latest stable 2.6.x

Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

2007-01-23 Thread Samium Gromoff
At Tue, 23 Jan 2007 15:50:18 -0500, Jakub Jelinek wrote: On Tue, Jan 23, 2007 at 11:28:13PM +0300, Samium Gromoff wrote: Author: Samium Gromoff [EMAIL PROTECTED] Date: Tue Jan 23 22:31:13 2007 +0300 Define the ELF binary header flag EF_AS_NO_RANDOM EF_AS_NO_RANDOM

identifying CONFIG variable typoes in the source tree

2007-01-23 Thread Robert P. J. Day
because it's cold outside and i was bored, i put together the following script, to be run from the top of the source tree: ==B #!/bin/sh CV=$(grep -rh ^#.*if.* CONFIG_[A-Za-z0-9] . | grep -v endif) CVARS=$(echo ${CV} | sed s/.*\(CONFIG_[^

Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

2007-01-23 Thread Jakub Jelinek
On Wed, Jan 24, 2007 at 12:06:45AM +0300, Samium Gromoff wrote: Should we introduce per-arch asm/elf.h files to hold the relevant flag definitions then? On some architectures there are no bits left. On others you'd need to go through whomever maintains the relevant psABI to get a bit

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-23 Thread James Morris
On Wed, 24 Jan 2007, Sunil Naidu wrote: If Kernel community comes down to India...this would have a big impact on the community + industry too. I think it's a good idea. Any other reasons am missing here? Cost of flying 70 mainly US/European developers to India. - James -- James Morris

Re: [PATCH] s2io bogus memset

2007-01-23 Thread Jeff Garzik
Al Viro wrote: memset() after kmalloc() on size * 8 would better be on size * 8, not just size; fixed by switching to kcalloc() - it's more idiomatic anyway. Signed-off-by: Al Viro [EMAIL PROTECTED] applied - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: 2.6.19.2 sky2/acpi crashes

2007-01-23 Thread Len Brown
On Tuesday 23 January 2007 07:27, Lionel Landwerlin wrote: Le mardi 23 janvier 2007 à 17:22 +0800, Luming Yu a écrit : Please try to remove processor module. Ok, that's done. Same problem. any difference with idle=poll? if yes, how about idle=halt? - To unsubscribe from this list: send the

[PATCH 2.6.20-rc5 01/12] dmaengine: add base support for the async_tx api

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] * introduce struct dma_async_tx_descriptor as a common field for all dmaengine software descriptors * convert the device_memcpy_* methods into separate prep, set src/dest, and submit stages * support capabilities beyond memcpy (xor, memset, xor zero sum,

[PATCH 2.6.20-rc5 02/12] dmaengine: add the async_tx api

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] async_tx is an api to describe a series of bulk memory transfers/transforms. When possible these transactions are carried out by asynchrounous dma engines. The api handles inter-transaction dependencies and hides dma channel management from the client. When

[PATCH 2.6.20-rc5 05/12] md: move write operations to raid5_run_ops

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] handle_stripe sets STRIPE_OP_PREXOR, STRIPE_OP_BIODRAIN, STRIPE_OP_POSTXOR to request a write to the stripe cache. raid5_run_ops is triggerred to run and executes the request outside the stripe lock. Signed-off-by: Dan Williams [EMAIL PROTECTED] ---

[PATCH 2.6.20-rc5 06/12] md: move raid5 compute block operations to raid5_run_ops

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] handle_stripe sets STRIPE_OP_COMPUTE_BLK to request servicing from raid5_run_ops. It also sets a flag for the block being computed to let other parts of handle_stripe submit dependent operations. raid5_run_ops guarantees that the compute operation completes

[PATCH 2.6.20-rc5 03/12] md: add raid5_run_ops and support routines

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] Prepare the raid5 implementation to use async_tx for running stripe operations: * biofill (copy data into request buffers to satisfy a read request) * compute block (generate a missing block in the cache from the other blocks) * prexor (subtract existing data

[PATCH 2.6.20-rc5 10/12] md: move raid5 io requests to raid5_run_ops

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] handle_stripe now only updates the state of stripes. All execution of operations is moved to raid5_run_ops. Signed-off-by: Dan Williams [EMAIL PROTECTED] --- drivers/md/raid5.c | 68 1 files changed,

[PATCH 2.6.20-rc5 09/12] md: use async_tx and raid5_run_ops for raid5 expansion operations

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] The parity calculation for an expansion operation is the same as the calculation performed at the end of a write with the caveat that all blocks in the stripe are scheduled to be written. An expansion operation is identified as a stripe with the POSTXOR flag

[PATCH 2.6.20-rc5 12/12] dmaengine: driver for the iop32x, iop33x, and iop13xx raid engines

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] This is a driver for the iop DMA/AAU/ADMA units which are capable of pq_xor, pq_update, pq_zero_sum, xor, dual_xor, xor_zero_sum, fill, copy+crc, and copy operations. Changelog: * fixed a slot allocation bug in do_iop13xx_adma_xor that caused too few slots to

[PATCH 2.6.20-rc5 11/12] md: remove raid5 compute_block and compute_parity5

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] replaced by raid5_run_ops Signed-off-by: Dan Williams [EMAIL PROTECTED] --- drivers/md/raid5.c | 124 1 files changed, 0 insertions(+), 124 deletions(-) diff --git a/drivers/md/raid5.c

[PATCH 2.6.20-rc5 08/12] md: satisfy raid5 read requests via raid5_run_ops

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] Use raid5_run_ops to carry out the memory copies for a raid5 read request. Signed-off-by: Dan Williams [EMAIL PROTECTED] --- drivers/md/raid5.c | 40 +++- 1 files changed, 15 insertions(+), 25 deletions(-) diff --git

[PATCH 2.6.20-rc5 04/12] md: use raid5_run_ops for stripe cache operations

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] Each stripe has three flag variables to reflect the state of operations (pending, ack, and complete). -pending: set to request servicing in raid5_run_ops -ack: set to reflect that raid5_runs_ops has seen this request -complete: set when the operation is

[PATCH 2.6.20-rc5 07/12] md: move raid5 parity checks to raid5_run_ops

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] handle_stripe sets STRIPE_OP_CHECK to request a check operation in raid5_run_ops. If raid5_run_ops is able to perform the check with a dma engine the parity will be preserved in memory removing the need to re-read it from disk, as is necessary in the

Re: 2.6.20-rc3-mm1: umount reiser4 FS stuck in D state

2007-01-23 Thread Vladimir V. Saveliev
Hello On Saturday 13 January 2007 01:56, Laurent Riffard wrote: Le 06.01.2007 19:58, Vladimir V. Saveliev a écrit : Hello On Saturday 06 January 2007 13:58, Laurent Riffard wrote: Hello, got this with 2.6.20-rc3-mm1: === SysRq : Show Blocked State

Re: 2.6.20-rc3-mm1: umount reiser4 FS stuck in D state

2007-01-23 Thread Jens Axboe
On Tue, Jan 23 2007, Vladimir V. Saveliev wrote: Hello On Saturday 13 January 2007 01:56, Laurent Riffard wrote: Le 06.01.2007 19:58, Vladimir V. Saveliev a écrit : Hello On Saturday 06 January 2007 13:58, Laurent Riffard wrote: Hello, got this with 2.6.20-rc3-mm1:

Re: linux-2.6.20-rc4-mm1 Reiser4 filesystem freeze and corruption

2007-01-23 Thread Vladimir V. Saveliev
Hello On Tuesday 23 January 2007 10:38, Vince wrote: Zan Lynx wrote: I have been running 2.6.20-rc2-mm1 without problems, but both rc3-mm1 and rc4-mm1 have been giving me these freezes. They were happening inside X and without external console it was impossible to get anything, plus I

Re: 2.6.20-rc3-mm1: umount reiser4 FS stuck in D state

2007-01-23 Thread Laurent Riffard
Le 23.01.2007 16:46, Jens Axboe a écrit : On Tue, Jan 23 2007, Vladimir V. Saveliev wrote: Hello On Saturday 13 January 2007 01:56, Laurent Riffard wrote: Le 06.01.2007 19:58, Vladimir V. Saveliev a écrit : Hello On Saturday 06 January 2007 13:58, Laurent Riffard wrote: Hello, got this

Re: [RFC 3/6] bidi support: bidirectional request

2007-01-23 Thread Benny Halevy
James Bottomley wrote: On Mon, 2007-01-22 at 01:25 +0200, Boaz Harrosh wrote: - Instantiate another request_io_part in request for bidi_read. - Define Implement new API for accessing bidi parts. - API to Build bidi requests and map to sglists. - Define new end_that_request_block() function

Re: [RFC 1/6] bidi support: request dma_data_direction

2007-01-23 Thread Benny Halevy
Muli Ben-Yehuda wrote: On Mon, Jan 22, 2007 at 01:21:28AM +0200, Boaz Harrosh wrote: - Introduce a new enum dma_data_direction data_dir member in struct request. and remove the RW bit from request-cmd_flag Some architecture use 'enum dma_data_direction' and some 'int

Re: [RFC 1/6] bidi support: request dma_data_direction

2007-01-23 Thread Benny Halevy
Douglas Gilbert wrote: Benny Halevy wrote: Douglas Gilbert wrote: Perhaps the right use of DMA_BIRECTIONAL needs to be defined. Could it be used with a XDWRITE(10) SCSI command defined in sbc3r07.pdf at http://www.t10.org ? I suspect using two scatter gather lists would be a better

Re: [RFC 1/6] bidi support: request dma_data_direction

2007-01-23 Thread Muli Ben-Yehuda
On Tue, Jan 23, 2007 at 03:45:00PM +0200, Benny Halevy wrote: +static inline int dma_uni_dir(enum dma_data_direction dir) +{ + return (dir == DMA_TO_DEVICE) || (dir == DMA_FROM_DEVICE) || + (dir == DMA_NONE); +} While this doesn't look very useful. Why is DMA_NONE a

Re: [RFC 1/6] bidi support: request dma_data_direction

2007-01-23 Thread Benny Halevy
Muli Ben-Yehuda wrote: On Tue, Jan 23, 2007 at 03:45:00PM +0200, Benny Halevy wrote: +static inline int dma_uni_dir(enum dma_data_direction dir) +{ + return (dir == DMA_TO_DEVICE) || (dir == DMA_FROM_DEVICE) || + (dir == DMA_NONE); +} While this doesn't look very useful. Why is

[PATCH] [RESEND] return ENOENT from ext3_link when racing with unlink

2007-01-23 Thread Eric Sandeen
(resend now that LCA is done) An update from the earlier thread, [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race I think this is better than the original idea of trying to handle the race; I've seen that the orphan inode list can get corrupted, but there may well be

Re: [PATCH] Fix rmmod/read/write races in /proc entries

2007-01-23 Thread Andrew Morton
On Mon, 15 Jan 2007 18:39:27 +0300 Alexey Dobriyan [EMAIL PROTECTED] wrote: pde = create_proc_entry() if (!pde) return -ENOMEM; pde-write_proc = ...; open write

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-23 Thread Josh Boyer
On 1/23/07, James Morris [EMAIL PROTECTED] wrote: On Wed, 24 Jan 2007, Sunil Naidu wrote: If Kernel community comes down to India...this would have a big impact on the community + industry too. I think it's a good idea. Any other reasons am missing here? Cost of flying 70 mainly

Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

2007-01-23 Thread Samium Gromoff
At Tue, 23 Jan 2007 16:16:12 -0500, Jakub Jelinek wrote: On Wed, Jan 24, 2007 at 12:06:45AM +0300, Samium Gromoff wrote: Should we introduce per-arch asm/elf.h files to hold the relevant flag definitions then? On some architectures there are no bits left. On others you'd need to go

[patch 00/46] High resolution timer / dynamic tick update

2007-01-23 Thread Thomas Gleixner
This is a full replacement queue for the high resolution timer / dynamic ticks implemementation in -mm. This version includes the following improvements: - Seperate clockevents management of devices and users - Provide a generic tick managament infrastructure, which makes use of the clock

[patch 01/46] Add irq flag to disable balancing for an interrupt

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Add a flag so we can prevent the irq balancing of an interrupt. Move the bits, so we have room for more :) Necessary for the ability to setup clocksources more flexible (e.g. use the different HPET channels per CPU) Signed-off-by: Thomas Gleixner [EMAIL

[patch 22/46] Extend next_timer_interrupt() to use a reference jiffie

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] For CONFIG_NO_HZ we need to calculate the next timer wheel event based on a given jiffie value. Extend the existing code to allow the extra 'now' argument. Provide a compability function for the existing implementations to call the function with now ==

[patch 21/46] Fix cascade lookup of next_timer_interrupt

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] When searching for the next pending timer in the timer wheel we need to take the cascade into account. The current code has several problems: 1. it looks into the previous cascade 2. it ignores a pending cascade 3. it ignores multiple cascades Change

[patch 30/46] ACPI keep track of timer broadcasting

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] This is a preperatory patch for highres/dyntick: - replace the big #ifdef ARCH_APICTIMER_STOPS_ON_C3 hackery by functions - remove the double switch in the power verify function (in the worst case we switched ipi to apic and 20usec later apic to ipi) -

[patch 31/46] Allow early access to the power management timer

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Allow early access to the power management timer by exposing the verified read function and providing a helper function which checks the pmtmr_ioport variable and returns either the pm timer readout or 0 in case the pm timer is not available. Create a new

[patch 44/46] Add debugging feature /proc/timer_stat

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] Add /proc/timer_stats support: debugging feature to profile timer expiration. Both the starting site, process/PID and the expiration function is captured. This allows the quick identification of timer event sources in a system. Sample output: # echo 1

[patch 45/46] Add debugging feature /proc/timer_list

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] add /proc/timer_list, which prints all currently pending (high-res) timers, all clock-event sources and their parameters in a human-readable form. Sample output: Timer List Version: v0.1 HRTIMER_MAX_CLOCK_BASES: 2 now at 4246046273872 nsecs cpu: 0 clock 0:

[patch 20/46] uninline irq_enter()

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] Uninline irq_enter(). [dynticks adds more stuff to it] No functional changes. Signed-off-by: Ingo Molnar [EMAIL PROTECTED] Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- include/linux/hardirq.h |7

[patch 46/46] Add SysRq-Q to print timer_list debug info

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] Add SysRq-Q to print pending timers and other timer info. Signed-off-by: Ingo Molnar [EMAIL PROTECTED] Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/char/sysrq.c| 14 +-

[patch 43/46] hrtimers: prevent possible itimer DoS

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Fix potential setitimer DoS with high-res timers by pushing itimer rearm processing to process context. [Fixes from: Ingo Molnar [EMAIL PROTECTED]] Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo Molnar [EMAIL PROTECTED]

  1   2   3   4   5   6   7   >