Re: [PATCH] ppc64: Implement a vDSO and use it for signal trampoline #3

2005-02-11 Thread Hans-Peter Jansen
Hi Ben, are you copyrighting under a new pseudonym? E.g.: On Thursday 10 February 2005 03:32, Benjamin Herrenschmidt wrote: > === > --- /dev/null 1970-01-01 00:00:00.0 + > +++ linux-work/arch/ppc64/kernel/vdso32/sigtramp.

Re: [OOps] 2.6.11-rc3 rmmod ide-scsi

2005-02-11 Thread Bartlomiej Zolnierkiewicz
Hi Florian, Thanks for the report, addition of MRW support to cdrom.c exposed bugs in ide-scsi locking. ide-scsi is a "virtual" host driver which is a bridge between IDE and SCSI subsystems so fixing ide-scsi requires assuring that locking is correct both for IDE and SCSI "side". Required change

Re: Thinkpad R40 freezes after swsusp resume

2005-02-11 Thread Pavel Machek
Hi! > > Try also acpi=off. > > i was hoping for a test that's a bit more granular. might it be > possible to disable suspect bits of the acpi code instead of all of it? > i'm open to applying and testing patches. Well, you'd have to write that code, I'd guess. And I do not think you can really

Re: VIA VT6410 IDE support for 2.6.11-rc3/via82cxxx

2005-02-11 Thread Bartlomiej Zolnierkiewicz
On Mon, 07 Feb 2005 12:27:47 -0500, Jeff Garzik <[EMAIL PROTECTED]> wrote: > Mathias Kretschmer wrote: > > Mathias Kretschmer wrote: > > > >> Mathias Kretschmer wrote: > >> > >>> Jeff Garzik wrote: > >>> > Mathias Kretschmer wrote: > > > hi, > > > > I found an older version of

Re: How to disable slow agpgart in kernel config?

2005-02-11 Thread Dave Jones
On Fri, Feb 11, 2005 at 05:21:39PM +0100, Marcus Hartig wrote: > No warnings/errors in both logs. All clean. But switching/maximizing > between tasks like firefox, thunderbird or a gnome-terminal is so slow, > that you can see it how firefox/GTK+ theme is writing the GUI and the > fonts slo

Re: [PATCH] ohci1394: dma_pool_destroy while in_atomic() && irqs_disabled()

2005-02-11 Thread Jody McIntyre
On Fri, Feb 11, 2005 at 10:35:33AM -0500, Dan Dennedy wrote: > I am testing this patch in the same manner as you: exiting Kino capture. > I am getting a similar error in a different location. Can you look into > it, please? > > Debug: sleeping function called from invalid context at mm/slab.c:208

Re: How to disable slow agpgart in kernel config?

2005-02-11 Thread Dave Jones
On Fri, Feb 11, 2005 at 06:04:06PM +, Nick Warne wrote: > > > This surprises me, especially considering the in-kernel nvidia-agp driver > > > was actually written by NVidia. Are there any agp error messages in > > > your dmesg / X log ? > > > With the nVidia own nv_agp it appears directl

[2.6 patch] sstfb.c: make some code static

2005-02-11 Thread Adrian Bunk
This patch below makes some needlessly global code static. Additionally, it adds #ifdefs for code only used in the modular/nonmodular cases. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 21 Nov 2004 drivers/video/sstfb.c | 11 +++ 1 files chang

[PATCH] Fix the mincore() syscall

2005-02-11 Thread David Howells
The attached patch fixes the mincore syscall in three ways: (1) It moves as much argument checking outside of the semaphore-holding region as possible. (2) It checks the region parameters against TASK_SIZE so that a 32-bit binary on a 64-bit platform will get the right error when cal

Re: [ckrm-tech] Re: [Lse-tech] [PATCH] cpusets - big numa cpu and memory placement

2005-02-11 Thread Chandra Seetharaman
On Fri, Feb 11, 2005 at 08:54:52AM -0800, Jesse Barnes wrote: > On Thursday, February 10, 2005 6:46 pm, Chandra Seetharaman wrote: > > On Wed, Feb 09, 2005 at 09:59:28AM -0800, Chandra Seetharaman wrote: > > > On Tue, Feb 08, 2005 at 12:42:34PM -0800, Paul Jackson wrote: > > > > --stuff deleted---

Re: [ckrm-tech] Re: [Lse-tech] [PATCH] cpusets - big numa cpu and memory placement

2005-02-11 Thread Jesse Barnes
On Friday, February 11, 2005 10:42 am, Chandra Seetharaman wrote: > My email was intented mainly to erase the notion that ckrm cannot handle > cpuset. Also, I wanted to understand if there is any real issues and that > is why I talked with Matt about why he thought ckrm cannot accomodate > memset b

[2.6 patch] SCSI: dpt_i2o.c: make some code static

2005-02-11 Thread Adrian Bunk
This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 15 Nov 2004 - 24 Nov 2004 --- linux-2.6.10-rc1-mm5-full/drivers/scsi/dpt_i2o.c.old2004-11-13 21:01:47.0 +0100 +++ linux-2.6.10-rc1-mm5-full/

[2.6 patch] SCSI 53c700.c: make NCR_700_intr static

2005-02-11 Thread Adrian Bunk
NCR_700_intr was EXPORT_SYMBOL'e but has no external users. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 15 Nov 2004 - 24 Nov 2004 drivers/scsi/53c700.c |4 ++-- drivers/scsi/53c700.h |1 - 2 files changed, 2 insertions(+), 3 deletions(-) --- li

[2.6 patch] cfq-iosched.c: make some code static

2005-02-11 Thread Adrian Bunk
This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 29 Jan 2005 --- linux-2.6.11-rc2-mm1-full/drivers/block/cfq-iosched.c.old 2005-01-29 14:05:30.0 +0100 +++ linux-2.6.11-rc2-mm1-full/drivers/block/

[2.6 patch] deadline-iosched.c: make a struct static

2005-02-11 Thread Adrian Bunk
This patch makes a needlessly global struct static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 29 Jan 2005 --- linux-2.6.11-rc2-mm1-full/drivers/block/deadline-iosched.c.old 2005-01-29 14:07:00.0 +0100 +++ linux-2.6.11-rc2-mm1-full/drivers

[2.6 patch] drivers/block/paride/ cleanups (fwd)

2005-02-11 Thread Adrian Bunk
The patch below does the following cleanups in each if the five changed C files: - #ifndef MODULE: remove unused setup function - make a needlessly global struct static - pf.c: pf_init_units can be static and __init After this cleanup, setup.h is completely unused and therefore removed. Signed-of

Re: [RFC] Linux Kernel Subversion Howto

2005-02-11 Thread none given
On Fri, February 11, 2005 11:18 am, Larry McVoy said: The mails have started flowing in saying "I don't agree with Alexandre and please don't pull the plug" so a point of clarification. We have no intention of shutting down the BK free product. We are aware that there are 10's of thousands of dev

[2.6 patch] i386 quirks.c: make a function static

2005-02-11 Thread Adrian Bunk
This patch makes a needlessly global function static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 16 Jan 2005 --- linux-2.6.11-rc1-mm1-full/arch/i386/kernel/quirks.c.old 2005-01-16 04:42:55.0 +0100 +++ linux-2.6.11-rc1-mm1-full/arch/i386/ker

[2.6 patch] i386/x86_64: mpparse.c: make some code static

2005-02-11 Thread Adrian Bunk
This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 16 Jan 2005 arch/i386/kernel/mpparse.c |4 ++-- arch/x86_64/kernel/mpparse.c |4 ++-- include/asm-i386/mpspec.h|1 - include/asm-x86_64/mp

[2.6 patch] drivers/video/: misc cleanups

2005-02-11 Thread Adrian Bunk
This patch contains cleanups under drivers/video/ including: - make some needlessly global code static - the following was needlessly EXPORT_SYMBOL'ed: - fbcon.c: fb_con - fbmon.c: get_EDID_from_firmware (completely unused) Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/video/cf

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-11 Thread Erik Andersen
On Fri Feb 11, 2005 at 09:01:44AM -0800, Greg KH wrote: > It's not only pci, but all types of busses need this kind of "coldplug" > functionality. And yes, I have plans to provide that functionality in > this package too. > > In fact, if anyone looking to contribute some well defined and easy to

Re: [RFC][PATCH 2.6.11-rc3-mm2] Relay Fork Module

2005-02-11 Thread Greg KH
On Fri, Feb 11, 2005 at 04:08:40PM +0100, Guillaume Thouvenin wrote: > +void kobject_fork(struct kobject *kobj, pid_t parent, pid_t child) > +{ > +#ifdef CONFIG_KOBJECT_UEVENT No, provide two different functions. In a header file make it a static inline function that does nothing if this option i

[2.6 patch] i386 io_apic.c: make two variables static

2005-02-11 Thread Adrian Bunk
This patch makes two needlessly global variables static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 16 Jan 2005 --- linux-2.6.11-rc1-mm1-full/arch/i386/kernel/io_apic.c.old2005-01-16 04:38:36.0 +0100 +++ linux-2.6.11-rc1-mm1-full/arch/i386/

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-11 Thread Greg KH
On Fri, Feb 11, 2005 at 12:01:54PM -0700, Erik Andersen wrote: > On Fri Feb 11, 2005 at 09:01:44AM -0800, Greg KH wrote: > > It's not only pci, but all types of busses need this kind of "coldplug" > > functionality. And yes, I have plans to provide that functionality in > > this package too. > >

Re: [linux-dvb-maintainer] [RFC: 2.6 patch] DVB: possible cleanups

2005-02-11 Thread Holger Waechtler
Adrian Bunk wrote: Before I'm getting flamed to death: This patch contains possible cleanups. If parts of this patch conflict with pending changes these parts of my patch have to be dropped. This patch contains the following possible cleanups: - make needlessly global code static - remove the fol

Re: 2.6.11-rc3-mm2

2005-02-11 Thread Matt Mackall
On Fri, Feb 11, 2005 at 12:49:04PM -0500, Paul Davis wrote: > >RT-LSM introduces architectural problems in the form of bogus API. And > > that may be true of LSM, but not RT-LSM in particular. RT-LSM doesn't > introduce *any* API whatsoever - it simply allows software to call > various existing AP

[PATCH] Fix warning in gkc (make gconfig) {Scanned}

2005-02-11 Thread Romain Lievin
Hi, this patch against 2.6.11-rc3 fixes some warnings about GtkToolButton in gkc (the GTK Kernel Configurator). Please apply. Thanks, Romain. Signed-off-by: Romain LiƩvin <[EMAIL PROTECTED]> [cut here] diff -Naur linux-2.6.11-rc3/scripts/kconfig/gconf.c lin

Re: [RFC] Linux Kernel Subversion Howto

2005-02-11 Thread Larry McVoy
On Fri, Feb 11, 2005 at 10:56:02AM -0800, none given wrote: > On Fri, February 11, 2005 11:18 am, Larry McVoy said: > >The mails have started flowing in saying "I don't agree with Alexandre > >and please don't pull the plug" so a point of clarification. We have > >no intention of shutting down the

[RFC UPDATE PATCH] add wait_event_*_lock() functions and comments

2005-02-11 Thread Nishanth Aravamudan
On Fri, Feb 11, 2005 at 01:07:08AM -0600, Al Borchers wrote: > > > On Thursday 10 February 2005 9:39 am, Nishanth Aravamudan wrote: > >> It came up on IRC that the wait_cond*() functions from > >> usb/serial/gadget.c could be useful in other parts of the kernel. Does > >> the following patch make

Re: 2.6.11-rc3-mm2

2005-02-11 Thread Lee Revell
On Fri, 2005-02-11 at 11:42 -0800, Matt Mackall wrote: > On Fri, Feb 11, 2005 at 12:49:04PM -0500, Paul Davis wrote: > > >RT-LSM introduces architectural problems in the form of bogus API. And > > > > that may be true of LSM, but not RT-LSM in particular. RT-LSM doesn't > > introduce *any* API wha

Re: [PATCH] device-mapper: multipath hardware handler for EMC

2005-02-11 Thread Christoph Hellwig
> +/* Code borrowed from dm-lsi-rdac by Mike Christie */ Any reason that module isn't submitted? > + bio->bi_bdev = path->dev->bdev; > + bio->bi_sector = 0; > + bio->bi_private = path; > + bio->bi_end_io = emc_endio; > + > + page = alloc_page(GFP_ATOMIC); > + if (!page) {

Re: [RFC] Linux Kernel Subversion Howto

2005-02-11 Thread Larry McVoy
On Fri, Feb 11, 2005 at 03:22:34PM -0200, Alexandre Oliva wrote: > On Feb 11, 2005, Jon Smirl <[EMAIL PROTECTED]> wrote: > > > It's not Larry choosing not to have you do the work, you are self > > selecting not to do it because you won't sign the contracts. > > No. We don't want access to the BK

[PATCH] 2.6 ISDN Eicon driver: convert to pci_register_driver

2005-02-11 Thread Armin Schindler
Description: convert from pci_module_init to pci_register_driver Signed-off-by: Christophe Lucas <[EMAIL PROTECTED]> Signed-off-by: Armin Schindler <[EMAIL PROTECTED]> diff -u linux.orig/drivers/isdn/hardware/eicon/divasmain.c linux/drivers/isdn/hardware/eicon/divasmain.c --- linux.orig/drive

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-11 Thread Harald Dunkel
Greg KH wrote: I'd like to announce, yet-another-hotplug based userspace project: linux-ng. This collection of code replaces the existing linux-hotplug package with very tiny, compiled executable programs, instead of the existing bash scripts. cpio is running to setup a test partition. But one que

[PATCH] general split_vma hugetlb fix

2005-02-11 Thread Hugh Dickins
My recent do_munmap hugetlb fix has proved inadequate. There are other places (madvise, mbind, mlock, mprotect) where split_vma is called. Only mprotect excludes a hugetlb vma: the others are in danger of splitting at a misaligned address, causing later BUGs. So move the ~HPAGE_MASK check from d

Re: 2.6.11-rc3-mm2

2005-02-11 Thread Matt Mackall
On Fri, Feb 11, 2005 at 06:49:05PM +0100, Ingo Molnar wrote: > > * Matt Mackall <[EMAIL PROTECTED]> wrote: > > > > > Yes. There's also the whole soft limit thing. > > > > > > i'm curious, how does this 'per-app' rlimit thing work? If a user has > > > jackd installed and runs it from X unprivileg

[rfc/rft] Fujitsu B-Series Lifebook PS/2 TouchScreen driver

2005-02-11 Thread Vojtech Pavlik
Hi! I've reimplemented the Lifebook touchscreen driver using libps2 and input, to make it short and fitting into the kernel drivers. Please comment on code and test for functionality! PS.: The driver should register two input devices. It doesn't yet, since that isn't very straightforward in the

[PATCH] 2.6 ISDN Eicon driver: code cleanups

2005-02-11 Thread Armin Schindler
bincdAai5MuZi.bin Description: Binary data

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-11 Thread Vojtech Pavlik
On Thu, Feb 10, 2005 at 05:16:09PM -0800, Greg KH wrote: > > Please, continue this project and encourage distros to switch to it (when > > it exceeds hotplug in functionality and stability). Ubuntu currently is > > trying to reduce boot time, and I bet something like this would factor in > > (e

Re: [PATCH] general split_vma hugetlb fix

2005-02-11 Thread William Lee Irwin III
On Fri, Feb 11, 2005 at 08:06:08PM +, Hugh Dickins wrote: > My recent do_munmap hugetlb fix has proved inadequate. There are > other places (madvise, mbind, mlock, mprotect) where split_vma is > called. Only mprotect excludes a hugetlb vma: the others are in > danger of splitting at a misalig

Re: Latest ext3 patches (extents, mballoc, delayed allocation)

2005-02-11 Thread Alex Tomas
Good day all, I've updated the patchset against 2.6.10. A bunch of bugs have been fixed and mballoc now behaves smarter a bit. Extents and mballoc patches collects some stats they print upon umount. NOTE: they must not be used to store important data. A lot of things are to be done. Please rev

Ext2/3 32-bit stat() wrap for ~2TB files

2005-02-11 Thread Stephen C. Tweedie
Hi all, In testing large (>4TB) device support on 2.6, I've been using a simple write/verify test to check both block device and regular file correctness. Set to write 1MB poison patterns for the whole of a file until EOF is encountered, it worked just fine on ext3: the file got a short write on

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-11 Thread Greg KH
On Fri, Feb 11, 2005 at 09:06:40PM +0100, Harald Dunkel wrote: > Greg KH wrote: > >I'd like to announce, yet-another-hotplug based userspace project: > >linux-ng. This collection of code replaces the existing linux-hotplug > >package with very tiny, compiled executable programs, instead of the > >

[PATCH] tg3: capacitive coupling detection fix

2005-02-11 Thread Michael Chan
This patch fixes the problem reported in: http://marc.theaimsgroup.com/?l=linux-kernel&m=110798711911645&w=2 The 5700 link problem was caused by reading uninitialized values in sram and causing capacitive coupling mode to be enabled by mistake. This patch fixes the problem by properly validating

Re: How to disable slow agpgart in kernel config?

2005-02-11 Thread Marcus Hartig
Dave Jones wrote: > *shrug*, if the nvidia module is properly configured, it should make no difference at all. AGPGART operation isn't a performance critical thing, as the hardware does 99% of the work. Yes, that was also my opinion, but after using AGPGART, hmm. And it was on my last 32 bit FC2 s

Re: Interrupt starvation points

2005-02-11 Thread Russell King
On Fri, Feb 11, 2005 at 09:05:21AM -0800, Daniel Walker wrote: > The other patch enabled interrupt before calling up on > kernel_sem ..This one could use some thinking over. I did this cause > up() is very expensive on ARM , and combined with the looping above > interrupts can stay off for

Self-destruct in 5 seconds?

2005-02-11 Thread Creech, Matthew
Hi, I posted this to the linux-arm mailing list, and Russell King referred me to the main list. I'm running an AT91RM9200DK-based board with the 2.6.10 kernel. I'm trying to use TmpFS for my root so I don't have a hard-coded ramdisk size. My /linuxrc script looks something like this: mount -t

Re: Ext2/3 32-bit stat() wrap for ~2TB files

2005-02-11 Thread Andreas Dilger
On Feb 11, 2005 20:52 +, Stephen C. Tweedie wrote: > /* > * Maximal file size. There is a direct, and {,double-,triple-}indirect > * block limit, and also a limit of (2^32 - 1) 512-byte sectors in i_blocks. > * We need to be 1 filesystem block less than the 2^32 sector limit. > */ > > Tr

Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU_RATIO feature

2005-02-11 Thread Lee Revell
On Thu, 2005-02-03 at 22:41 +0100, Ingo Molnar wrote: > > > > It's clever that they do that, but additional control is needed in the > > future. jackd isn't the most sophisticate media app on this planet (not > > too much of an insult :)) [...] > > i think you are underestimating Jack - it is eas

Re: [PATCH] tg3: capacitive coupling detection fix

2005-02-11 Thread David S. Miller
On Fri, 11 Feb 2005 12:44:10 -0800 "Michael Chan" <[EMAIL PROTECTED]> wrote: > This patch fixes the problem reported in: > > http://marc.theaimsgroup.com/?l=linux-kernel&m=110798711911645&w=2 > > The 5700 link problem was caused by reading uninitialized values in sram and > causing capacitive co

Re: [PATCH 2.6.11-rc3 05/11] ide: fixes io_32bit race in ide_taskfile_ioctl()

2005-02-11 Thread Bartlomiej Zolnierkiewicz
applied to ide-dev-2.6, thanks I need some more time for the other patches - 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 read the FAQ at http://www.

Re: [PATCH] tg3: capacitive coupling detection fix

2005-02-11 Thread john stultz
On Fri, 2005-02-11 at 12:44 -0800, Michael Chan wrote: > This patch fixes the problem reported in: > > http://marc.theaimsgroup.com/?l=linux-kernel&m=110798711911645&w=2 > > > The 5700 link problem was caused by reading uninitialized values in sram and > causing capacitive coupling mode to be en

[BK PATCHES] ide-dev-2.6 update

2005-02-11 Thread Bartlomiej Zolnierkiewicz
Hi Andrew, ide-dev-2.6 is fixed now and can be added back to -mm. ChangeLog: * fix OOPS in task_end_request() * add VIA VT6410 support (Mathias Kretschmer) * fix unneeded LBA48 taskfile registers access * fix io_32bit race in ide_taskfile_ioctl() (Tejun Heo) BK users: bk pull bk://bar

Re: [PATCH] device-mapper: multipath

2005-02-11 Thread Andrew Morton
Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > > +EXPORT_SYMBOL(dm_register_path_selector); > > +EXPORT_SYMBOL(dm_unregister_path_selector); > > I though we agreed to only allow GPL'ed path selectors at OSDL? (OSDL?) Yup, this should be _GPL. Anything which uses these exports is a derived w

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-11 Thread Erik van Konijnenburg
On Fri, Feb 11, 2005 at 11:23:23AM -0800, Greg KH wrote: > On Fri, Feb 11, 2005 at 12:01:54PM -0700, Erik Andersen wrote: > > On Fri Feb 11, 2005 at 09:01:44AM -0800, Greg KH wrote: > > > It's not only pci, but all types of busses need this kind of "coldplug" > > > functionality. And yes, I have p

Re: Ext2/3 32-bit stat() wrap for ~2TB files

2005-02-11 Thread Stephen C. Tweedie
Hi, On Fri, 2005-02-11 at 21:27, Andreas Dilger wrote: > > Trouble is, that limit *should* be an i_blocks limit, because i_blocks > > is still 32-bits, and (more importantly) is multiplied by the fs > > blocksize / 512 in stat(2) to return st_blocks in 512-byte chunks. > > Overflow 2^32 sectors

Re: [PATCH] device-mapper: multipath

2005-02-11 Thread Christoph Hellwig
On Fri, Feb 11, 2005 at 01:36:32PM -0800, Andrew Morton wrote: > Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > > > > +EXPORT_SYMBOL(dm_register_path_selector); > > > +EXPORT_SYMBOL(dm_unregister_path_selector); > > > > I though we agreed to only allow GPL'ed path selectors at OSDL? > > (OSDL

Re: [patch] Real-Time Preemption, -RT-2.6.11-rc3-V0.7.38-01

2005-02-11 Thread Steven Rostedt
Ingo, Here's a trivial patch to help others from freaking out when they see on a show_trace that most of their processes are TASK_UNINTERRUPTIBLE. Index: kernel/sched.c === --- kernel/sched.c (revision 75) +++ kernel/sched.c

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-11 Thread Greg KH
On Fri, Feb 11, 2005 at 10:37:31PM +0100, Erik van Konijnenburg wrote: > On Fri, Feb 11, 2005 at 11:23:23AM -0800, Greg KH wrote: > > On Fri, Feb 11, 2005 at 12:01:54PM -0700, Erik Andersen wrote: > > > On Fri Feb 11, 2005 at 09:01:44AM -0800, Greg KH wrote: > > > > It's not only pci, but all types

Re: Interrupt starvation points

2005-02-11 Thread Daniel Walker
On Fri, 2005-02-11 at 12:04, Russell King wrote: > > Please substantiate your claim that up() is very expensive on ARM. > I disagree: I should have made it clear that I was talking about the RT version of up() . The RT version doesn't have any assembly in it, and it is expensive. > Plus

[PATCH] ppc32: Fix PCI2 support on MPC8555/41 CDS systems

2005-02-11 Thread Kumar Gala
Andrew, The following patch fixes an issue related to the second PCI host controller working on MPC8555/41 systems. If possible we should get this in before 2.6.11. Keep track of the last PCI bus number on PCI1 so that the PCI2 host controller can properly exclude itself at the right time, exc

Re: [PATCH] sundance.c: high interrupt load [resent]

2005-02-11 Thread Jeff Garzik
applied to netdev-2.6 so it can get some testing and review. Please send patches according to the format described at http://linux.yyz.us/patch-format.html Particularly, patches should apply with "patch -p1" and should include a signed-off-by line. Jeff - To unsubscribe from this list: se

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-11 Thread Erik van Konijnenburg
On Fri, Feb 11, 2005 at 01:49:57PM -0800, Greg KH wrote: > On Fri, Feb 11, 2005 at 10:37:31PM +0100, Erik van Konijnenburg wrote: > > On Fri, Feb 11, 2005 at 11:23:23AM -0800, Greg KH wrote: > > > On Fri, Feb 11, 2005 at 12:01:54PM -0700, Erik Andersen wrote: > > > > On Fri Feb 11, 2005 at 09:01:44

Re: [PATCH] de214x.c uses uninitialized pci_dev->irq

2005-02-11 Thread Jeff Garzik
applied - 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 read the FAQ at http://www.tux.org/lkml/

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-11 Thread Greg KH
On Fri, Feb 11, 2005 at 11:06:57PM +0100, Erik van Konijnenburg wrote: > For an old version of the idea, see > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=284294 Very nice stuff. Ok, that's a good reason not to get rid of these files, although they can be generated on the fly from t

Re: out-of-line x86 "put_user()" implementation

2005-02-11 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Richard Henderson <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > On Tue, Feb 08, 2005 at 06:27:08PM -0800, Linus Torvalds wrote: > > That brings up another issue: if I don't care which registers a 64-bit > > value goes into, can I get the "lo

Re: [PATCH] ppc64: Implement a vDSO and use it for signal trampoline #3

2005-02-11 Thread Benjamin Herrenschmidt
On Fri, 2005-02-11 at 19:10 +0100, Hans-Peter Jansen wrote: > Hi Ben, > > are you copyrighting under a new pseudonym? E.g.: > > On Thursday 10 February 2005 03:32, Benjamin Herrenschmidt wrote: > > === > > --- /dev/null 1970-01

Re: How to disable slow agpgart in kernel config?

2005-02-11 Thread Terence Ripperda
On Fri, Feb 11, 2005 at 01:48:21PM -0500, [EMAIL PROTECTED] wrote: > On Fri, Feb 11, 2005 at 06:04:06PM +, Nick Warne wrote: > > > > > This surprises me, especially considering the in-kernel nvidia-agp > driver > > > > was actually written by NVidia. Are there any agp error messages in > >

/proc/*/statm, exactly what does "shared" mean?

2005-02-11 Thread Richard F. Rebel
Hello, I can't seem to find clear documentation about the 'share' column from /proc//statm. Does this include pages that are shared with forked children marked as copy-on-write? Does this only reflect libraries that are dynamically loaded? What about shared memory segments/mmaps (ala shmat or

Re: How to disable slow agpgart in kernel config?

2005-02-11 Thread Nick Warne
On Friday 11 February 2005 22:19, Terence Ripperda wrote: > > > I just read through the nVidia readme file, and there is a > > > comprehensive section on what module to use for what chipset (and > > > card). It recommends using the nVagp for my setup, > > is that the "CONFIGURING AGP" appendix

Re: Ext2/3 32-bit stat() wrap for ~2TB files

2005-02-11 Thread Andreas Dilger
On Feb 11, 2005 21:39 +, Stephen C. Tweedie wrote: > ...i_blocks is counted in fs blocksize units, so we're nowhere near > overflowing that. It's only when stat() converts it to st_blocks' > 512-byte units that we get into trouble within the kernel. Umm, I don't think so. ext3 i_blocks is s

[PATCH] tone down pci=routeirq message

2005-02-11 Thread Bjorn Helgaas
Tone down the message about using "pci=routeirq". I do still get a few reports, but most are now prompted just by the fact that my email address appears in dmesg in an "error-type" message. Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> = arch/i386/pci/acpi.c 1.18 vs edited = --- 1.18/

Re: [PATCH] device-mapper: multipath

2005-02-11 Thread Alasdair G Kergon
On Fri, Feb 11, 2005 at 01:36:32PM -0800, Andrew Morton wrote: > Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > > +EXPORT_SYMBOL(dm_register_path_selector); > > > +EXPORT_SYMBOL(dm_unregister_path_selector); > Yup, this should be _GPL. Yup - and the same applies to the other exports. Alasda

Re: [PATCH] device-mapper: multipath hardware handler

2005-02-11 Thread Ingo Oeser
Hi Alasdair, Alasdair G Kergon wrote: > +/* > + * Constructs a hardware handler object, takes custom arguments > + */ > +typedef int (*hwh_ctr_fn) (struct hw_handler *hwh, unsigned arc, char > **argv); +typedef void (*hwh_dtr_fn) (struct hw_handler *hwh); > + > +typedef void (*hwh_pg_init_fn) (str

ohci_hcd, usb scanner and kernel 2.6.8.1 or 2.6.10 troubles

2005-02-11 Thread Barbara Post
Hi, I am unable to use my USB Agfa Snapscan 1212_U scanner, with kernel 2.6.8.1 or 2.6.10 (both compiled by myself from www.kernel.org sources) and xsane 0.96-1 (Debian). It worked with kernel 2.6.7. When I use VMware, I'm able to use it though (in Windows), whatever linux kernel I use. When I st

2.6-bk: cpu hotplug + preempt = smp_processor_id warnings galore

2005-02-11 Thread Nathan Lynch
Hi- With 2.6.11-rc3-bk7 on ppc64 I am seeing lots of smp_processor_id warnings whenever I hotplug cpus: # echo 0 > /sys/devices/system/cpu/cpu1/online cpu 1 (hwid 1) Ready to die... BUG: using smp_processor_id() in preemptible [0001] code: ksoftirqd/1/5 caller is .ksoftirqd+0xbc/0x1f8 Call T

Re: [linux-dvb-maintainer] Re: [RFC: 2.6 patch] DVB: possible cleanups

2005-02-11 Thread Johannes Stezenbach
Holger Waechtler wrote: > Adrian Bunk wrote: > > >Before I'm getting flamed to death: > >This patch contains possible cleanups. If parts of this patch conflict > >with pending changes these parts of my patch have to be dropped. > > > >This patch contains the following possible cleanups: > >- make

Re: ohci_hcd, usb scanner and kernel 2.6.8.1 or 2.6.10 troubles

2005-02-11 Thread Boris B. Zhmurov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Barbara Post. On 12.02.2005 02:25 you said the following: | Hi, | I am unable to use my USB Agfa Snapscan 1212_U scanner, with kernel | 2.6.8.1 or 2.6.10 (both compiled by myself from www.kernel.org sources) | and xsane 0.96-1 (Debian). | | It wo

Re: 2.6-bk: cpu hotplug + preempt = smp_processor_id warnings galore

2005-02-11 Thread Matthias-Christian Ott
Nathan Lynch wrote: Hi- With 2.6.11-rc3-bk7 on ppc64 I am seeing lots of smp_processor_id warnings whenever I hotplug cpus: # echo 0 > /sys/devices/system/cpu/cpu1/online cpu 1 (hwid 1) Ready to die... BUG: using smp_processor_id() in preemptible [0001] code: ksoftirqd/1/5 caller is .ksoftirqd

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-11 Thread Kasper Sandberg
On Fri, 2005-02-11 at 09:06 -0800, Greg KH wrote: > On Fri, Feb 11, 2005 at 12:47:07PM +0100, Kasper Sandberg wrote: > > On Thu, 2005-02-10 at 22:41 -0800, Greg KH wrote: > > > On Fri, 2005-02-11 at 02:30 +0100, Kasper Sandberg wrote: > > > > hey greg > > > > > > > > i remember for some months bac

What is Badness in map_area_pte at mm/vmalloc.c:126

2005-02-11 Thread James Simmons
I'm testing some code and I compiled the Virtual framebuffer as a module. When I insert it I get a Badness in map_area_pte at mm/vmalloc.c:126. What causes this? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: 2.6.11-rc3: intel8x0 alsa outputs no sound

2005-02-11 Thread Tomas Szepe
On Feb-05 2005, Sat, 16:06 -0600 Narayan Desai <[EMAIL PROTECTED]> wrote: > Try muting the headphone jack sense control with alsamixer. I had the > same problem with rc2 on my t41p, and that solved it. This doesn't help on a T40p, I'm afraid. No sound in 2.6.11-rc3 with snd-intel8x0.ko, worked al

Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm

2005-02-11 Thread Matt Mackall
On Thu, Feb 10, 2005 at 12:17:24PM +0100, Fruhwirth Clemens wrote: > On Thu, 2005-02-10 at 02:33 -0800, Andrew Morton wrote: > > Fruhwirth Clemens <[EMAIL PROTECTED]> wrote: > > > > > > On Wed, 2005-02-09 at 17:19 -0800, Andrew Morton wrote: > > > > Fruhwirth Clemens <[EMAIL PROTECTED]> wrote: > >

Re: 2.6.11-rc3: Kylix application no longer works?

2005-02-11 Thread Ingo Oeser
Hi, Rik van Riel wrote: > On Wed, 9 Feb 2005, Daniel Jacobowitz wrote: > > On Tue, Feb 08, 2005 at 06:10:18PM -0800, Andrew Morton wrote: > > It's asking for a lot of unwritable zeroed space. See this: > >> LOAD 0x00 0x08048000 0x08048000 0xb7354 0x1b7354 R E > >> 0x1000 LOAD

[PATCH] stop using "base" argument in __free_pages_bulk()

2005-02-11 Thread Dave Hansen
This patch is somewhat of a companion to the "no buddy bitmap" patches. It messes with core allocator functions, so it probably deserves a long turn in -mm. Appended is a patch which stops using the zone->zone_mem_map to calculate the buddy and combined page pointers. It uses the fact that the me

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-11 Thread Ingo Oeser
Hi, Greg KH write: > Very nice stuff. Ok, that's a good reason not to get rid of these > files, although they can be generated on the fly from the modules > themselves (like depmod does it.) Time to resurrect modinfo? ;-) Didn't we plan to get rid of that, too? If we like to use information fro

Re: 2.6-bk: cpu hotplug + preempt = smp_processor_id warnings galore

2005-02-11 Thread Nathan Lynch
On Sat, Feb 12, 2005 at 12:56:54AM +0100, Matthias-Christian Ott wrote: > Nathan Lynch wrote: > > >With 2.6.11-rc3-bk7 on ppc64 I am seeing lots of smp_processor_id > >warnings whenever I hotplug cpus: ... > > Use get_cpu() (It disables preemption) or __smp_processor_id () (on a smp). It's not ne

Using O_DIRECT for file writing in a kernel module

2005-02-11 Thread Hanson, Jonathan M
I'm trying to write to a file with the O_DIRECT flag from a kernel module in a 2.4 series of kernel on x86 hardware. I've learned that the O_DIRECT flag requires that the amount of data written and the file offset pointer must be multiples of the underlying "block size." To try thin

udev::cdsymlinks does not consider a 'cdrw' as a 'cdrom'

2005-02-11 Thread J.A. Magallon
Hi... I have a little problem with udev. I have udev-051, but have tried cdsymlinks.c from 053 and is the same. It does not give 'cdrom' or 'dvd' for DVD writers. In one box, hdb is a DVD, and hdc is a DVDRW: werewolf:/proc/sys/dev/cdrom> cat info CD-ROM information, Id: cdrom.c 3.20 2003/12/17

Re: udev::cdsymlinks does not consider a 'cdrw' as a 'cdrom'

2005-02-11 Thread J.A. Magallon
On 2005.02.12, J.A. Magallon wrote: > Hi... > > I have a little problem with udev. I have udev-051, but have tried > cdsymlinks.c from 053 and is the same. > > It does not give 'cdrom' or 'dvd' for DVD writers. > In one box, hdb is a DVD, and hdc is a DVDRW: > Opps, and cdsymlinks.c and .sh be

Re: udev::cdsymlinks does not consider a 'cdrw' as a 'cdrom'

2005-02-11 Thread J.A. Magallon
On 2005.02.12, J.A. Magallon wrote: > > On 2005.02.12, J.A. Magallon wrote: > > Hi... > > > > I have a little problem with udev. I have udev-051, but have tried > > cdsymlinks.c from 053 and is the same. > > > > It does not give 'cdrom' or 'dvd' for DVD writers. > > In one box, hdb is a DVD, an

[PATCH] kmalloc() bug in pci-dma.c

2005-02-11 Thread Venkatesh Pallipadi
After burning my fingers with a similar mistake in one of the patches that I am working on, I did a quick grep to find out all faulty kmalloc() calls and found this. dma_declare_coherent_memory() is calling kmalloc with wrong arguments. Attached patch fixes this. Please apply. Thanks, Venki

Re: [PATCH] kmalloc() bug in pci-dma.c

2005-02-11 Thread Andrew Morton
Venkatesh Pallipadi <[EMAIL PROTECTED]> wrote: > > After burning my fingers with a similar mistake in one of the patches > that I am working on, I did a quick grep to find out all faulty kmalloc() > calls and found this. > > dma_declare_coherent_memory() is calling kmalloc with wrong argumen

[PATCH] fixes for cdsymlinks.c

2005-02-11 Thread J.A. Magallon
Hi... I needed this patch to get this working, I think they are obvious corrections: --- cdsymlinks.c.orig 2005-02-12 02:51:15.0 +0100 +++ cdsymlinks.c2005-02-12 02:48:35.0 +0100 @@ -218,7 +218,7 @@ list_assign_split (struct list_t *list, char *text) { char *token =

Re: out-of-line x86 "put_user()" implementation

2005-02-11 Thread Chuck Ebbert
On Tue, 8 Feb 2005 at 18:27:08 -0800, Linus Torvalds wrote: > +/* > + * Strange magic calling convention: pointer in %ecx, > + * value in %eax(:%edx), return value in %eax, no clobbers. > + */ > +extern void __put_user_1(void); > +extern void __put_user_2(void); > +extern void __put_user_4(void);

Re: out-of-line x86 "put_user()" implementation

2005-02-11 Thread Linus Torvalds
On Fri, 11 Feb 2005, Chuck Ebbert wrote: > > And in any case is it too much to ask for an 80-column limit? ;) Yes. Dammit, especially for something like this, the long-line version is just _so_ much more readable. Compare my and your version wrt being able to tell what the differences betwe

[PATCH] Fix IPMI LAN bridging

2005-02-11 Thread Corey Minyard
The size of LAN bridged messages was not being returned properly from the function that calculated address sizes. This fixes the problem. Signed-off-by: Corey Minyard <[EMAIL PROTECTED]> Index: linux-2.6.11-rc3/drivers/char/ipmi/ipmi_msghandler.c

Blocking behavior changed for pipes in 2.6.11-rc3

2005-02-11 Thread Daniel Jacobowitz
This program [cribbed loosely from tst-cancel17.c in glibc] has changed behavior with the recent pipe changes. It used to block; which makes sense. It gets the maximum buffer size for the pipe (or a page if that's larger), and writes that many bytes plus two to it. It reads one back. The write "

[RFC 2.6.11-rc2-mm2 2/7] mm: manual page migration -- cleanup 2

2005-02-11 Thread Ray Bryant
This patch removes some remaining Memory HOTPLUG specific code from the page migration patch. I have sent Dave Hansen the -R version of this patch so that this code can be added back later at the start of the Memory HOTPLUG patches themselves. In particular, this patch removes some #ifdef CONFIG_

[RFC 2.6.11-rc2-mm2 3/7] mm: manual page migration -- cleanup 3

2005-02-11 Thread Ray Bryant
Fix a trivial error in include/linux/mmigrate.h Signed-off-by: Ray Bryant <[EMAIL PROTECTED]> Index: linux-2.6.11-rc2-mm2/include/linux/mmigrate.h === --- linux-2.6.11-rc2-mm2.orig/include/linux/mmigrate.h 2005-02-11 10:08:10.0

<    1   2   3   >