Re: [2.6.20-get13] KVM-12 won't build

2007-02-16 Thread Bill Davidsen
Joerg Roedel wrote: On Fri, Feb 16, 2007 at 11:32:13AM -0500, Bill Davidsen wrote: Goes out with an error message: cc -I /home/davidsen/downloads/kernel.org/linux-2.6.20-git13/include -MMD -MF ./.kvmctl.d -g -c -o kvmctl.o kvmctl.c kvmctl.c:29:2: error: #error libkvm: userspace

[PATCH] free swap space when (re)activating page

2007-02-16 Thread Rik van Riel
The attached patch does what I described in the other thread, it makes the pageout code free swap space when swap is getting full, by taking away the swap space from pages that get moved onto or back onto the active list. In some tests on a system with 2GB RAM and 1GB swap, it kept the free swap

Re: Using sched_clock for mmio-trace

2007-02-16 Thread Daniel Walker
On Fri, 2007-02-16 at 17:10 -0500, Jeff Muizelaar wrote: I still meant for _with_features to have same semantics so calling: clocksource_get_clock_with_features(CLOCKSOURCE_PM_UNAFFECTED|CLOCKSOURCE_STABLE |CLOCKSOURC_ATOMIC|CLOCKSOURCE_64BITS|CLOCKSOURCE_CONTINUOUS); would be

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Robert Hancock
linux-os (Dick Johnson) wrote: Have you tried it recently? Attached is a compressed session Yes, I have, most recently in 2.6.20. It works fine. showing 2.6.16.24 compiling fine. Then the same thing is attempted with 2.6.19. It fails with some improper configuration errors. This script shows

[PATCH] fix SAA7146_CLIPPING_MEM size

2007-02-16 Thread Olaf Hering
Limit the pci_alloc_consistent size to 128K PAGE_SIZE can be 64K, which leads to a 896K allocation. calculate_clipping_registers_rect() uses not more than 257 bytes because saa7146_video.c:s_fmt limits ov.nclips to 16 But bttv-driver.c does not allow up to 2048 clips in win-clipcount

Re: 2.6.20 kernel hang with USB drive and vfat doing ftruncate

2007-02-16 Thread Robert Hancock
Kumar Gala wrote: I'm seeing an issue with a stock 2.6.20 kernel running on an embedded PPC. I've got a usb flash drive plugged in and the filesystem on the drive is vfat. Running with 64M and no swap. If I execute a series of large (100M+) ftruncate() on the disk the kernel will hang and

Add .splice_read to sockets?

2007-02-16 Thread Paul P Komkoff Jr
Hi! Is there any plans to make splice(socket, ..., pipe, ...) work? Thanks! -- Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key This message represents the official view of the voices in my head - To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: O2micro smartcard reader driver.

2007-02-16 Thread Markus Rechberger
Hi, so finally I'm also looking at that driver, http://pieleric.free.fr/o2scr/ the driver compiles fine, though it doesn't seem to work (unless I'm doing something wrong here) dmesg shows up following entries: pccard: card ejected from slot 1 PCMCIA: socket c160c364: *** DANGER *** unable to

[GIT PATCH] more PCI patches for 2.6.20

2007-02-16 Thread Greg KH
Here are some more PCI patches against 2.6.20-git They are a few additional quirks, a new sysfs file for NUMA machines, and some documentation fixes. All of these have been in the -mm tree for a while. Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6.git/

[GIT PATCH] more Driver core patches for 2.6.20

2007-02-16 Thread Greg KH
Here are some more driver core and debugfs patches and a serial port device id addition for 2.6.20-git. All of these have been in the -mm tree. Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6.git/ Patches will be sent as a follow-on to this message to

Re: [PATCH 05/05] Linux Kernel Markers, non optimized architectures

2007-02-16 Thread Mathieu Desnoyers
* Karim Yaghmour ([EMAIL PROTECTED]) wrote: - KRYPTIVA PACKAGED MESSAGE - PACKAGING TYPE: SIGNED Mathieu Desnoyers wrote: The main goal of this config option is for embedded systems which doesn't support live code modification. Maybe we can put that under embedded sytems menu ?

[PATCH 01/10] Driver.h copyright update

2007-02-16 Thread Greg Kroah-Hartman
It was pointed out that I had not updated my copyright on driver.h Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- include/linux/device.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/device.h b/include/linux/device.h index 26e4692..d5b1b7b 100644

[PATCH 02/10] Driver core: let request_module() send a /sys/modules/kmod/-uevent

2007-02-16 Thread Greg Kroah-Hartman
From: Kay Sievers [EMAIL PROTECTED] On recent systems, calls to /sbin/modprobe are handled by udev depending on the kind of device the kernel has discovered. This patch creates an uevent for the kernels internal request_module(), to let udev take control over the request, instead of forking the

[PATCH 03/10] serial: Add PCMCIA IDs for Quatech DSP-100 dual RS232 adapter.

2007-02-16 Thread Greg Kroah-Hartman
From: Sergei Organov [EMAIL PROTECTED] Add PCMCIA IDs for Quatech DSP-100 dual RS232 adapter. Signed-off-by: Sergei Organov [EMAIL PROTECTED] Acked-by: Alan Cox [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/serial/serial_cs.c |5 +

[PATCH 04/10] kobject: kobj-k_name verification fix

2007-02-16 Thread Greg Kroah-Hartman
From: Martin Stoilov [EMAIL PROTECTED] The function 'kobject_add' tries to verify the name of a new kobject instance is properly set before continuing. if (!kobj-k_name) kobj-k_name = kobj-name; if (!kobj-k_name) { pr_debug(kobject attempted to be registered with no

[PATCH 05/10] Driver: remove redundant kobject_unregister checks

2007-02-16 Thread Greg Kroah-Hartman
From: Mariusz Kozlowski [EMAIL PROTECTED] Here is a patch that removes all redundant kobject_unregister argument checks. Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/base/class.c |3 +-- fs/partitions/check.c |9

[PATCH 06/10] debugfs: implement symbolic links

2007-02-16 Thread Greg Kroah-Hartman
From: Peter Oberparleiter [EMAIL PROTECTED] debugfs: implement symbolic links Implement a new function debugfs_create_symlink() which can be used to create symbolic links in debugfs. This function can be useful for people moving functionality from /proc to debugfs (e.g. the gcov-kernel patch).

[PATCH 07/10] debugfs: Remove misleading comments.

2007-02-16 Thread Greg Kroah-Hartman
From: Cornelia Huck [EMAIL PROTECTED] Just mention which error will be returned if debugfs is disabled. Callers should be able to figure out themselves what they need to check. Signed-off-by: Cornelia Huck [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[PATCH 10/10] sysfs: fix build errors: uevent with CONFIG_SYSFS=n

2007-02-16 Thread Greg Kroah-Hartman
From: Randy Dunlap [EMAIL PROTECTED] Fix source files to build with CONFIG_SYSFS=n. module_subsys is not available. SYSFS=n, MODULES=y: T:y SYSFS=n, MODULES=n: T:y SYSFS=y, MODULES=y: T:y SYSFS=y, MODULES=n: T:y Signed-off-by: Randy Dunlap [EMAIL PROTECTED] Signed-off-by: Greg

[PATCH 08/10] Driver core: device_add_attrs() cleanup

2007-02-16 Thread Greg Kroah-Hartman
From: Andrew Morton [EMAIL PROTECTED] Clean up the coding in device_add_attrs() a bit. Cc: Jean Delvare [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/base/bus.c | 22 ++ 1 files changed, 10

[PATCH 09/10] pcmcia: some class_device fallout

2007-02-16 Thread Greg Kroah-Hartman
From: Alexey Dobriyan [EMAIL PROTECTED] As found on some arm defconfigs. I only looked at how original patch changes things and other patches fix compilation. ;-) Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED] Cc: Dominik Brodowski [EMAIL PROTECTED] Cc: Russell King [EMAIL PROTECTED]

Re: [ANNOUNCE] DualFS: File System with Meta-data and Data Separation

2007-02-16 Thread Bill Davidsen
Jörn Engel wrote: On Thu, 15 February 2007 23:59:14 +0100, Juan Piernas Canovas wrote: Actually, the version of DualFS for Linux 2.4.19 implements a cleaner. In our case, the cleaner is not really a problem because there is not too much to clean (the meta-data device only contains meta-data

Re: 2.6.20-mm1

2007-02-16 Thread J.A. Magallón
On Thu, 15 Feb 2007 21:30:06 -0800, Andrew Morton [EMAIL PROTECTED] wrote: Nope, can't reproduce (the bug, that is). Actually, the oops you have there is the fourth one, so we might be seeing downstream effects of oops #1. Can you please capture the first oops trace? Increasing the log

Re: [RFC PATCH(Experimental) 2/4] Revert changes to workqueue.c

2007-02-16 Thread Oleg Nesterov
On 02/16, Srivatsa Vaddagiri wrote: Note with the change proposed in refrigerator, we can avoid CPU_DEAD_KILL_THREADS and do all cleanup in CPU_DEAD itself. In that case (all processes are frozen when workqueue_cpu_callback() calls cleanup_workqueue_thread()) I agree, it is better to just use

[PATCH] Remove obsolete raw device support.

2007-02-16 Thread Robert P. J. Day
Remove the long-obsolete raw device support. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- based on this excerpt from Documentation/feature-removal-schedule.txt: What: RAW driver (CONFIG_RAW_DRIVER) When: December 2005 Why:declared obsolete since kernel 2.6.3

[kj][RFC] roll macro's in bitops.h

2007-02-16 Thread Darren Jenkins\\
G'day people, I was looking at bitops.h and noticed there were a couple of inline roll functions to operate on 32bit variables. (left and right) I think that is a little bit dumb as they are constant width (only 32bits) due to it being an inline function, and was wondering if anyone thought it

Kbuild problem (was: [2.6 patch] drivers/isdn/gigaset/: build asyncdata.o into the gigaset module)

2007-02-16 Thread Tilman Schmidt
Am 16.02.2007 09:33 schrieb Adrian Bunk: ... LD drivers/isdn/gigaset/built-in.o drivers/isdn/gigaset/ser_gigaset.o: In function `gigaset_m10x_send_skb': (.text+0xe50): multiple definition of `gigaset_m10x_send_skb' drivers/isdn/gigaset/usb_gigaset.o:(.text+0x0): first defined here

Re: [BUG?] register_blkdev: failed to get major for device mapper

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 14:37:28 +0100 Rolf Eike Beer [EMAIL PROTECTED] wrote: I can't bring up my machine with root LVM anymore using x86_64. The same machine from same kernel tree boots fine as x86. The error message is quoted in subject. The tree is at 86a71dbd3e81e8870d0f0e56b87875f57e58222b

Re: [PATCH] nfs: init req_lock in nfs_alloc_inode

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 11:05:32 -0600 [EMAIL PROTECTED] (Olof Johansson) wrote: + nfsi-req_lock = SPIN_LOCK_UNLOCKED; This can confound lockdep. Please use spin_lock_init(). - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED]

[PATCH] Fix constant folding and poor optimization in byte swapping code

2007-02-16 Thread Trent Piepho
Constant folding does not work for the swabXX() byte swapping functions, and the C versions optimize poorly. Attempting to initialize a global variable to swab16(0x1234) or put something like case swab32(42): in a switch statement will not compile. It can work, swab.h just isn't doing it

Re: [PATCH 2.6.21-rc1] ibmebus: Support dynamic addition and removal of adapters

2007-02-16 Thread Joachim Fenkes
John Rose [EMAIL PROTECTED] wrote on 15.02.2007 14:57:37: Looks good. Questions: how can the user space tools verify the success of an add or remove? If the probe operation succeeds, the respective device will show up beneath /sys/bus/ibmebus/devices. Also, will /sys/bus/ibmebus exist

[PATCH] 9p: add write-cache support to loose cache mode (take 4)

2007-02-16 Thread Eric Van Hensbergen
Loose cache mode was added primarily to asssist exclusive, read-only mounts (like venti) -- however, there is also a case for using loose write cacheing in support of read/write exclusive mounts. This feature is linked to the loose cache option and is disabled by default. This code adds the

Re: [patch 05/14] syslets: core code

2007-02-16 Thread Davide Libenzi
On Thu, 15 Feb 2007, Ingo Molnar wrote: + spin_lock(ah-lock); + + new_async_thread = pick_ready_cachemiss_thread(ah); + if (!new_async_thread) + goto out_unlock; + + async_ready = t-async_ready; + WARN_ON(!async_ready); + t-async_ready = NULL; + +

Re: 2.6.20-ck1

2007-02-16 Thread Chuck Ebbert
Con Kolivas wrote: mm-filesize_dependant_lru_cache_add.patch I like it. Is any of this stuff ever going to be merged? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH] 9p: add write-cache support to loose cache mode (take 4)

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 18:46:59 -0600 Eric Van Hensbergen [EMAIL PROTECTED] wrote: Loose cache mode was added primarily to asssist exclusive, read-only mounts (like venti) -- however, there is also a case for using loose write cacheing in support of read/write exclusive mounts. This feature is

Re: loosen dependancy on rtc cmos

2007-02-16 Thread David Brownell
On Thursday 15 February 2007 9:12 pm, David Brownell wrote: On Thursday 15 February 2007 8:38 pm, Len Brown wrote: So I've taken Andi's advice and checked in the patches below. OK; that simplifies things for me, good! I can discard that patch (broken by Andi's pcspkr change anyway), stop

Re: Add .splice_read to sockets?

2007-02-16 Thread Jens Axboe
On Sat, Feb 17 2007, Paul P Komkoff Jr wrote: Hi! Is there any plans to make splice(socket, ..., pipe, ...) work? It's a work in-progress, latest effort is to import and attempt to fix the stuff that Intel initially posted some months ago. See the splice-net branch of the block git repo. --

Re: 2.6.20-ck1

2007-02-16 Thread Con Kolivas
On Saturday 17 February 2007 11:53, Chuck Ebbert wrote: Con Kolivas wrote: mm-filesize_dependant_lru_cache_add.patch I like it. Thanks :-) Is any of this stuff ever going to be merged? See the last paragraph here: http://lkml.org/lkml/2007/2/9/112 I'm thru with bashing my head against

2.6.20-mm1 USB-related OOPS

2007-02-16 Thread Berck E. Nash
I get the following OOPS on boot, presumably connected with USB driver loading. I've attached the entire log. Please CC on replies as I'm not subscribed. [ 149.525742] Unable to handle kernel NULL pointer dereference at 0008 RIP: [ 149.531302] [8887eec3]

Re: [PATCH] nfs: init req_lock in nfs_alloc_inode

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 11:05:32 -0600 [EMAIL PROTECTED] (Olof Johansson) wrote: Seems like req_lock is never initialized. CONFIG_DEBUG_SPINLOCK reported: BUG: spinlock bad magic on CPU#0, mount/1073 lock: c0007fdca108, .magic: , .owner: /24576, .owner_cpu: 0 Call Trace:

CAP_NET_BIND_SERVICE checking in inet_bind vs socket_bind

2007-02-16 Thread Simon Arlott
Why does inet_bind (instead of socket_bind) check that ports below 1024 require CAP_NET_BIND_SERVICE? Couldn't this check be moved to the dummy socket_bind so that the behaviour can be changed by a security module? --- diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index cf358c8..d75a2c5

Re: 2.6.20.git regression: 'PCI: add the sysfs driver name to all modules' causes hard hang on boot

2007-02-16 Thread Mike Galbraith
On Fri, 2007-02-16 at 14:36 -0800, Greg KH wrote: On Fri, Feb 16, 2007 at 10:55:10AM +0100, Mike Galbraith wrote: Greetings, Per $subject, git.yesterday hangs hard on boot here. A git bisect fingered the commit below, which I verified via git bisect reset; git revert -n

Re: 2.6.20.git regression: 'PCI: add the sysfs driver name to all modules' causes hard hang on boot

2007-02-16 Thread Greg KH
On Sat, Feb 17, 2007 at 02:38:08AM +0100, Mike Galbraith wrote: On Fri, 2007-02-16 at 14:36 -0800, Greg KH wrote: On Fri, Feb 16, 2007 at 10:55:10AM +0100, Mike Galbraith wrote: Greetings, Per $subject, git.yesterday hangs hard on boot here. A git bisect fingered the commit below,

2.6.20-git: undefined reference to `smp_call_function_single'

2007-02-16 Thread Len Brown
Yes, an obscure .config, but it used to build before today: kernel/built-in.o: In function `tick_broadcast_on_off': (.text+0x1b6f0): undefined reference to `smp_call_function_single' # # Automatically generated make config: don't edit # Linux kernel version: 2.6.20 # Fri Feb 16 19:08:20 2007 #

Re: [RFC] killing the NR_IRQS arrays.

2007-02-16 Thread Benjamin Herrenschmidt
On Fri, 2007-02-16 at 05:10 -0700, Eric W. Biederman wrote: Getting the drivers changed actually looks to be pretty straight forward it will just be a very large mechanical change. We change the type where of variables where appropriate and every once in a while introduce an irq_nr(irq) to

Re: [RFC] killing the NR_IRQS arrays.

2007-02-16 Thread Benjamin Herrenschmidt
On Fri, 2007-02-16 at 13:41 +0100, Ingo Molnar wrote: * Eric W. Biederman [EMAIL PROTECTED] wrote: So I propose we remove all assumptions from the code that we actually have an array of irqs. That will allow for irq_desc to be dynamically allocated instead of statically allocated

Re: [RFC] killing the NR_IRQS arrays.

2007-02-16 Thread Benjamin Herrenschmidt
Rather than having the job of rewriting this code during 2.6, I'd much prefer to get something sorted, even if it is ARM only before 2.6. I believe that there are some common problems with the existing API which have been hinted at over the last few days, such as large NR_IRQS. As

Re: [PATCH] Remove stack hard limit on ia64

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 23:06:54 +0100 Olaf Hering [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Un-Breaks pthreads, since Oct 2003. Oh come on, that's not a changelog. I refuse to believe that nobody has used pthreads on ia64 for the past three years. Index:

Re: [PATCH] Remove stack hard limit on ia64

2007-02-16 Thread Ken Chen
On 2/16/07, Olaf Hering [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Un-Breaks pthreads, since Oct 2003. why aren't you using /etc/security/limits.conf? I think the stack limit can be set as big as 8TB on ia64 with default 16KB page size. - Ken - To unsubscribe from this list: send the

Re: [PATCH] drivers/scsi/aic7xxx_old: Convert to generic boolean-values

2007-02-16 Thread James Bottomley
On Mon, 2007-02-12 at 12:27 -0800, Andrew Morton wrote: Given that we now have a standard kernel-wide, c99-friendly way of expressing true and false, I'd suggest that this decision can be revisited. Because a true is significantly more meaningful (and hence readable) thing than a bare 1.

RE: [PATCH 3/5] scsi: megaraid_sas - throttle io if FW is busy

2007-02-16 Thread James Bottomley
On Thu, 2007-02-15 at 19:53 -0700, Patro, Sumant wrote: Hello James, I re-submitted the patch yesterday with the space issue fixed (adhering to coding guideline). I will check for alternative to calculate the time driver have been sending host busy to OS. Will check with

Re: [PATCH] drivers/scsi/aic7xxx_old: Convert to generic boolean-values

2007-02-16 Thread Richard Knutsson
James Bottomley wrote: On Mon, 2007-02-12 at 12:27 -0800, Andrew Morton wrote: Given that we now have a standard kernel-wide, c99-friendly way of expressing true and false, I'd suggest that this decision can be revisited. Because a true is significantly more meaningful (and hence readable)

Re: [PATCH] drivers/scsi/aic7xxx_old: Convert to generic boolean-values

2007-02-16 Thread James Bottomley
On Fri, 2007-02-16 at 19:04 +0100, Richard Knutsson wrote: James Bottomley wrote: On Mon, 2007-02-12 at 12:27 -0800, Andrew Morton wrote: Given that we now have a standard kernel-wide, c99-friendly way of expressing true and false, I'd suggest that this decision can be revisited.

Re: [PATCH] drivers/scsi/aic7xxx_old: Convert to generic boolean-values

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 10:42:12 -0600 James Bottomley [EMAIL PROTECTED] wrote: On Mon, 2007-02-12 at 12:27 -0800, Andrew Morton wrote: Given that we now have a standard kernel-wide, c99-friendly way of expressing true and false, I'd suggest that this decision can be revisited. Because a

Re: [PATCH] drivers/scsi/aic7xxx_old: Convert to generic boolean-values

2007-02-16 Thread James Bottomley
On Fri, 2007-02-16 at 10:34 -0800, Andrew Morton wrote: On Fri, 16 Feb 2007 10:42:12 -0600 James Bottomley [EMAIL PROTECTED] wrote: On Mon, 2007-02-12 at 12:27 -0800, Andrew Morton wrote: Given that we now have a standard kernel-wide, c99-friendly way of expressing true and false, I'd

Re: [PATCH] drivers/scsi/aic7xxx_old: Convert to generic boolean-values

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 12:42:27 -0600 James Bottomley [EMAIL PROTECTED] wrote: On Fri, 2007-02-16 at 10:34 -0800, Andrew Morton wrote: On Fri, 16 Feb 2007 10:42:12 -0600 James Bottomley [EMAIL PROTECTED] wrote: On Mon, 2007-02-12 at 12:27 -0800, Andrew Morton wrote: Given that we now

Re: [PATCH] drivers/scsi/aic7xxx_old: Convert to generic boolean-values

2007-02-16 Thread Richard Knutsson
James Bottomley wrote: On Fri, 2007-02-16 at 19:04 +0100, Richard Knutsson wrote: James Bottomley wrote: On Mon, 2007-02-12 at 12:27 -0800, Andrew Morton wrote: Given that we now have a standard kernel-wide, c99-friendly way of expressing true and false, I'd suggest that

Re: [PATCH] drivers/scsi/aic7xxx_old: Convert to generic boolean-values

2007-02-16 Thread Doug Ledford
On Fri, 2007-02-16 at 10:50 -0800, Andrew Morton wrote: Me no understand. If you take the specific example of void ahd_set_syncrate(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset, u_int ppr_options, u_int type, int paused)

Re: forcedeth problems on 2.6.20-rc6-mm3

2007-02-16 Thread Tobias Diedrich
Tobias Diedrich wrote: Jeff Garzik wrote: Tobias Diedrich wrote: Tobias Diedrich wrote: Ayaz Abdulla wrote: For all those who are having issues, please try out the attached patch. Will try. Does not apply cleanly against 2.6.20, is this one fixed up right? It probably needs to

Re: [PATCH 2.6.21-rc1] ehea: dynamic add / remove port

2007-02-16 Thread Jan-Bernd Themann
Hi, I agree with most points. Here the new design proposal: On Wednesday 14 February 2007 23:25, John Rose wrote: Hi- A few high level comments, then some really insignificant ones. First, is there a reason why we shouldn't have a sysfs entry/kobject for each logical port? How is it

Re: [PATCH 2.6.21-rc1] ehea: dynamic add / remove port

2007-02-16 Thread John Rose
Hi- Sounds good. A couple of questions/comments: I think it is not necessary to have a special entry/kobject for each logical port. I suggest we use SET_NETDEV_DEV to create links to all ethernet devices that represent each a logical port. This should be in sync with all other ethernet

[PATCH] dma-mapping.h

2007-02-16 Thread Gary Zambrano
Added dma_sync_single_range_for_cpu/device to dma-mapping.h in asm-arm asm-avr32 to call dma_sync_single_for_cpu/device. This patch enables b44 to compile on systems with these cpus. This patch was created with the assumption that another method of dma_sync_single_range_for_cpu/device does not

Re: [PATCH] net/wan/pc300too.c: pci_module_init to pci_register_driver

2007-02-16 Thread Krzysztof Halasa
Richard Knutsson [EMAIL PROTECTED] writes: Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson [EMAIL PROTECTED] Ack. --- a/drivers/net/wan/pc300too.c +++ b/drivers/net/wan/pc300too.c @@ -542,7 +542,7 @@ static int __init pc300_init_module(void)

MediaGX/GeodeGX1 requires X86_OOSTORE. (Was: Re: Strange connection slowdown on pcnet32)

2007-02-16 Thread Lennart Sorensen
On Fri, Feb 16, 2007 at 05:27:28PM -0500, Lennart Sorensen wrote: On Fri, Feb 16, 2007 at 04:01:57PM -0500, Lennart Sorensen wrote: It seems whenever it gets stuck, it is always the same descripter it is stuck on. Here is my current log: eth1: interrupt csr0=0x4f3 new csr=0x33,

Re: MediaGX/GeodeGX1 requires X86_OOSTORE. (Was: Re: Strange connection slowdown on pcnet32)

2007-02-16 Thread Lennart Sorensen
On Fri, Feb 16, 2007 at 05:48:24PM -0500, Lennart Sorensen wrote: Well so far it really looks like enabling OOSTORE on the Geode SC1200/GX1 really does make a difference. A bit of searching seems to indicate the person that originally submitted the patch that enabled load/store reordering on

2.6.20 USB issue(?) [disabled by hub(EMI?)]

2007-02-16 Thread Justin Piszcz
This happens under heavy I/O + network traffic, it happened again, this time under 2.6.20-- is this normal/or would it be considered a bug? Because it does retry/re-discover the device. == /p34/var/log/messages == Feb 16 09:26:21 p34 kernel: [1007261.262023] usb 6-2: USB disconnect, address 2

Re: [Linux-usb-users] 2.6.20 USB issue(?) [disabled by hub(EMI?)]

2007-02-16 Thread Alan Stern
On Fri, 16 Feb 2007, Justin Piszcz wrote: This happens under heavy I/O + network traffic, it happened again, this time under 2.6.20-- is this normal/or would it be considered a bug? It would be considered a bug in your device, not a bug in the kernel. Alan Stern - To unsubscribe from this

RE: [PATCH 3/5] scsi: megaraid_sas - throttle io if FW is busy

2007-02-16 Thread Patro, Sumant
Hello James, It is difficult to know when the device will go into a state where it is not able to process cmds within timeout period consistently. Many factors may be contributing for the device to get into this state. Reducing can_queue may help but the difficult part is when

Re: [git patches] libata updates (mostly fixes)

2007-02-16 Thread Adrian Bunk
On Thu, Feb 15, 2007 at 03:48:04PM -0800, Linus Torvalds wrote: On Thu, 15 Feb 2007, Jeff Garzik wrote: diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index db185f3..d51f0f1 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -22,6 +22,7 @@ config IA64 config

Re: libata FUA revisited

2007-02-16 Thread Jeff Garzik
Tejun Heo wrote: Hello, Robert Hancock wrote: [--correct summary snipped--] Given the above, what I'm proposing to do is: -Remove the blacklisting of Maxtor BANC1G10 firmware for FUA. If we need to FUA-blacklist any drives this should likely be added to the existing horkage mechanism we now

Re: pata_amd dropping to PIO on resume

2007-02-16 Thread Robert Hancock
Tobias Diedrich wrote: Possibly a known issue: After resume pata_amd drops from UDMA/33 to PIO on my system. Reloading the module puts both attached optical drives (master and slave) back to UDMA/33. AFAICS simplex DMA is claimed by other device, disabling DMA seems to be causing it to drop to

Re: pata_amd dropping to PIO on resume

2007-02-16 Thread Jeff Garzik
Robert Hancock wrote: Tobias Diedrich wrote: Possibly a known issue: After resume pata_amd drops from UDMA/33 to PIO on my system. Reloading the module puts both attached optical drives (master and slave) back to UDMA/33. AFAICS simplex DMA is claimed by other device, disabling DMA seems to

Re: [RFC] killing the NR_IRQS arrays.

2007-02-16 Thread Arnd Bergmann
On Friday 16 February 2007 23:37, Benjamin Herrenschmidt wrote: You might want to have a look at the powerpc API with it's remaping capabilities. It's very nice for handling multiple domain spaces. It might be of some use for you. I don't consider the powerpc virtual IRQs a solution for the

Re: [ck] Re: 2.6.20-ck1

2007-02-16 Thread michael chang
On 2/16/07, Con Kolivas [EMAIL PROTECTED] wrote: I'm thru with bashing my head against the wall. I do hope this post isn't in any way redundant, but from what I can see, this has never been suggested... (someone please do enlighten me if I'm wrong.) Has anyone tried booting a kernel with the

Re: 2.6.20.git regression: 'PCI: add the sysfs driver name to all modules' causes hard hang on boot

2007-02-16 Thread Markus Rechberger
On 2/17/07, Greg KH [EMAIL PROTECTED] wrote: On Sat, Feb 17, 2007 at 02:38:08AM +0100, Mike Galbraith wrote: On Fri, 2007-02-16 at 14:36 -0800, Greg KH wrote: On Fri, Feb 16, 2007 at 10:55:10AM +0100, Mike Galbraith wrote: Greetings, Per $subject, git.yesterday hangs hard on boot

Re: [PATCH 2.6.21-rc1] ibmebus: Support dynamic addition and removal of adapters

2007-02-16 Thread Joachim Fenkes
Sylvain Munaut [EMAIL PROTECTED] wrote on 15.02.2007 15:11:42: Mmmh, I posted a patch that added a common uevent interface for all of_device based bus. And that kinda clash with this one. Oops, I was not aware of this. I had a look at your patch and yes, it's a nice and generic interface. I

Re: [RFC PATCH(Experimental) 2/4] Revert changes to workqueue.c

2007-02-16 Thread Srivatsa Vaddagiri
On Sat, Feb 17, 2007 at 02:59:39AM +0300, Oleg Nesterov wrote: In that case (all processes are frozen when workqueue_cpu_callback() calls cleanup_workqueue_thread()) I agree, it is better to just use kthread_stop/kthread_should_stop. Great, thanks! This also means that probably it won't be

Re: [RFC PATCH(Experimental) 1/4] freezer-cpu-hotplug core

2007-02-16 Thread Srivatsa Vaddagiri
On Fri, Feb 16, 2007 at 10:46:05PM +0300, Oleg Nesterov wrote: Instead, we can just clear PF_FROZEN before kthread_should_stop(). That should work too. Thanks! I don't claim this is better, but this way we don't need to add a subtle change to process.c. -- Regards, vatsa - To unsubscribe

[patch 1/2] sched: fix idle load balancing in softirqd context

2007-02-16 Thread Siddha, Suresh B
Periodic load balancing in recent kernels happen in the softirq. In certain -rt configurations, these softirqs are handled in softirqd context. And hence the check for idle processor was always returning busy (as nr_running 1). This patch captures the idle information at the tick and passes this

RE: GPL vs non-GPL device drivers

2007-02-16 Thread David Schwartz
On Thu, Feb 15, 2007 at 04:38:41PM -0800, David Schwartz wrote: Just to be perfectly clear, it is an outrageous claim that *every* *possible* kernel module must be a derivative work of the kernel. Copyright *cannot* protect every possible way to accomplish a particular function (and

RE: GPL vs non-GPL device drivers

2007-02-16 Thread David Schwartz
On 2/16/07, David Schwartz [EMAIL PROTECTED] wrote: (See, among other cases, Lexmark. v. Static Controls.) A copyright is not a patent, you can only own something if there are multiple equally good ways to do it and you claim *one* of them. Only in a world where write a Linux module

RE: GPL vs non-GPL device drivers

2007-02-16 Thread David Schwartz
That's exactly what they're doing. Knowing only the *function* of his program, they are claiming it must obey their licensing terms. They have no idea exactly how he chose to implement that function, but claim they must own it anyway. They are not claiming ownership of his code.

[patch 2/2] sched: dynticks idle load balancing - v2

2007-02-16 Thread Siddha, Suresh B
Changes since v1: - Move the idle load balancer selection from schedule() to the first busy scheduler_tick() after restarting the tick. This will avoid the unnecessay ownership changes when softirq's(which are run in softirqd context in certain -rt configurations) like timer,

[PATCH 2.6.21-rc1] ibmebus: Use of_device_uevent()

2007-02-16 Thread Hoang-Nam Nguyen
This patch replaces ibmebus_uevent() by Sylvain's generic function. Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- ibmebus.c | 37 +++-- 1 file changed, 3 insertions(+), 34 deletions(-) diff -urp a/arch/powerpc/kernel/ibmebus.c

RE: GPL vs non-GPL device drivers

2007-02-16 Thread David Schwartz
Linking with kernel exported symbols in a kernel module is by many people considered creating a work derived from the kernel. That's simply unreasonable. It is the most clear settled law that only a creative process can create a work for copyright purposes. Linking is an automated process, not

Re: 2.6.20.git regression: 'PCI: add the sysfs driver name to all modules' causes hard hang on boot

2007-02-16 Thread Markus Rechberger
On 2/17/07, Markus Rechberger [EMAIL PROTECTED] wrote: On 2/17/07, Greg KH [EMAIL PROTECTED] wrote: On Sat, Feb 17, 2007 at 02:38:08AM +0100, Mike Galbraith wrote: On Fri, 2007-02-16 at 14:36 -0800, Greg KH wrote: On Fri, Feb 16, 2007 at 10:55:10AM +0100, Mike Galbraith wrote:

Re: [ck] Re: 2.6.20-ck1

2007-02-16 Thread Con Kolivas
On Saturday 17 February 2007 13:15, michael chang wrote: On 2/16/07, Con Kolivas [EMAIL PROTECTED] wrote: I'm thru with bashing my head against the wall. I do hope this post isn't in any way redundant, but from what I can see, this has never been suggested... (someone please do enlighten me

exporting LANG=C (Re: [PATCH] override build timestamp)

2007-02-16 Thread Oleg Verych
From: Olaf Hering Newsgroups: gmane.linux.kernel Subject: [PATCH] override build timestamp Date: Fri, 16 Feb 2007 22:52:13 +0100 Hallo, Olaf. Pass a timestamp to kbuild via an enviroment variable. TZ=UTC BUILD_TIMESTAMP=2007-01-01 make -kj O=../O vmlinux This can be used when the

[PATCH] Fix build errors if bitop functions are do {} while macros.

2007-02-16 Thread Ralf Baechle
If one of clear_bit, change_bit or set_bit is defined as a do { } while (0) function usage of these functions in parenthesis like (foo_bit(23, var)) while be expaned to something like (do { ... } while (0)}). resulting in a build error. This patch removes the useless parenthesis.

Re: O2micro smartcard reader driver.

2007-02-16 Thread Markus Rechberger
Hi Eric, I committed your code to linuxtv.org to review and modify it there. http://linuxtv.org/hg/~mrechberger/chipcardreader one thing I noticed is the error handling in ozscr_probe. I'll continue the rest during the next few days, I'd like to see it as soon as possible in the upstream

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Michael K. Edwards
On 2/15/07, Gene Heskett [EMAIL PROTECTED] wrote: [ignorant silliness] There is no one to my knowledge here, who would not cheer loudly once a verdict was rendered because that courts decision would give the FOSS community a quotable case law as to exactly what is, and is not legal for you to do

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Gene Heskett
On Friday 16 February 2007, Michael K. Edwards wrote: On 2/15/07, Gene Heskett [EMAIL PROTECTED] wrote: [ignorant silliness] There is no one to my knowledge here, who would not cheer loudly once a verdict was rendered because that courts decision would give the FOSS community a quotable case

Re: Using sched_clock for mmio-trace

2007-02-16 Thread Jeff Muizelaar
On Fri, Feb 16, 2007 at 02:47:45PM -0800, Daniel Walker wrote: Gets pretty ugly .. The clocksource interface already has a positive rating to describe the best clocks in the system, which is used to return the best clock .. Where the maintainers of the system give each clock a rating.

Re: [pp] kbuild: asm-offsets generalized

2007-02-16 Thread Rusty Russell
On Fri, 2007-02-16 at 22:56 +0100, Oleg Verych wrote: Hallo. lguest parts look good though! Rusty. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: 2.6.20.git regression: 'PCI: add the sysfs driver name to all modules' causes hard hang on boot

2007-02-16 Thread Greg KH
On Sat, Feb 17, 2007 at 04:04:52AM +0100, Markus Rechberger wrote: On 2/17/07, Markus Rechberger [EMAIL PROTECTED] wrote: On 2/17/07, Greg KH [EMAIL PROTECTED] wrote: On Sat, Feb 17, 2007 at 02:38:08AM +0100, Mike Galbraith wrote: On Fri, 2007-02-16 at 14:36 -0800, Greg KH wrote: On

Re: 2.6.20 kernel hang with USB drive and vfat doing ftruncate

2007-02-16 Thread Kumar Gala
On Feb 16, 2007, at 5:10 PM, Robert Hancock wrote: Kumar Gala wrote: I'm seeing an issue with a stock 2.6.20 kernel running on an embedded PPC. I've got a usb flash drive plugged in and the filesystem on the drive is vfat. Running with 64M and no swap. If I execute a series of large

[git patches] more IDE updates

2007-02-16 Thread Bartlomiej Zolnierkiewicz
Contains: IRQ-ack fix for ICH chipsets (Albert Lee), ide-floppy unformatted media fix (Alan Cox), more fixes for IDE PCI drivers (Sergei Shtylyov), new driver for Toshiba Cell Reference Board (Kou Ishizaki kou.ishizaki at toshiba.co.jp) and a bunch of rather obvious cleanups/improvements (me).

[GIT PULL] please pull infiniband.git

2007-02-16 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This adds IB multicast tracking, to allow userspace

Re: [patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-16 Thread Jeremy Fitzhardinge
Andi Kleen wrote: It's for populating the pagetable in a vmalloc area. There's magic in If the lazy setup doesn't work for you you can always call vmalloc_sync() early. Yes, that would work. Unfortunately that's i386 arch-specific, whereas the rest of this code is generic. I

Re: [Xen-devel] Re: [patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-16 Thread Keir Fraser
On 16/2/07 16:46, Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Yes, that would work. Unfortunately that's i386 arch-specific, whereas the rest of this code is generic. I guess I could just move it all to arch/i386/mm. This whole thing isn't an issue on ia64 (they no-op lock_vm_area) and

<    3   4   5   6   7   8   9   >