Re: [2.6 patch] i386/mach-default/topology.c: make cpu_devices static

2005-02-02 Thread Matthew Dobson
Looks good to me! Acked-by: Matthew Dobson <[EMAIL PROTECTED]> Adrian Bunk wrote: This patch makes a needlessly global struct static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- arch/i386/mach-default/topology.c |2 +- include/asm-i386/cpu.h|1 - 2 files changed, 1

Re: Copyright / licensing question

2005-02-02 Thread Thomas Gleixner
On Wed, 2005-02-02 at 06:49 -0800, Frank klein wrote: > I am having some licensing questions. It would be > really great if you can clarify on them > > 1. For explaining the internals of a filesystem in > detail, I need to take their code from kernel sources > 'as it is' in the book. Do I need to

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

2005-02-02 Thread Paul Davis
>As Ingo said in an earlier a post, with a little ingenuity this problem >can be solved in user space. The programs in question can be setuid >root so that they can set RT scheduling policy BUT have their >permissions set so that they only executable by owner and group with the >group set to

Re: Please open sysfs symbols to proprietary modules

2005-02-02 Thread Greg KH
On Wed, Feb 02, 2005 at 05:56:57PM -0500, Pavel Roskin wrote: > I'm writing a module under a proprietary license. I decided to use sysfs > to do the configuration. Unfortunately, all sysfs exports are available > to GPL modules only because they are exported by EXPORT_SYMBOL_GPL. Heh, a

Re: [patch libata-dev-2.6 1/1] libata: sync SMART ioctls with ATA pass thru spec (T10/04-262r7)

2005-02-02 Thread Douglas Gilbert
Jens Axboe wrote: > > > > -/* Temporary values for T10/04-262 until official values are > allocated */ > > -#define ATA_160x85 /* 16-byte pass-thru > [0x85 == unused]*/ > -#define ATA_120xb3 /* 12-byte pass-thru > [0xb3 == obsolete set limits

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

2005-02-02 Thread Paul Davis
>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 :)) and the demands from this group is bound to Actually, JACK probably is the most sophisticated media *framework* on the

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

2005-02-02 Thread James Morris
On Mon, 24 Jan 2005, Fruhwirth Clemens wrote: > This patch adds the ability for a cipher mode to store cipher mode specific > information in crypto_tfm. This is necessary for LRW's precomputed > GF-multiplication tables. This one looks fine as part of the LRW patchset (i.e. not needed for

Re: Touchpad problems with 2.6.11-rc2

2005-02-02 Thread Peter Osterlund
On Wed, 2 Feb 2005, Pete Zaitcev wrote: > On 02 Feb 2005 21:57:39 +0100, Peter Osterlund <[EMAIL PROTECTED]> wrote: > > > Please try this patch instead. It works well with my alps touchpad. (I > > don't have a synaptics touchpad.) It does the following: > > > > * Compensates for the lack of

Please open sysfs symbols to proprietary modules

2005-02-02 Thread Pavel Roskin
Hello! I'm writing a module under a proprietary license. I decided to use sysfs to do the configuration. Unfortunately, all sysfs exports are available to GPL modules only because they are exported by EXPORT_SYMBOL_GPL. I have found the original e-mail where this change was proposed:

RE: [Announce] megaraid_mbox 2.20.4.4 patch

2005-02-02 Thread James Bottomley
On Wed, 2005-02-02 at 10:56 -0500, Ju, Seokmann wrote: > + .sdev_attrs = megaraid_device_attrs, > + .shost_attrs= megaraid_class_device_attrs, These are, perhaps, slightly confusing names. The terms device and class_device have well defined

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

2005-02-02 Thread James Morris
On Sun, 30 Jan 2005, Fruhwirth Clemens wrote: > Ok, here comes a reworked scatterwalk patch. Instead of making > scatterwalk_walk controllable via another additional function or interface, > I decided to make scatterwalk_walk quickly restartable. Therefore, I had to > move an initialization

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

2005-02-02 Thread Jack O'Quin
Ingo Molnar <[EMAIL PROTECTED]> writes: > so forgive us this stubborness, it's not directed against you in person > or against any group of users, it's always directed at the problem at > hand. I think we can do the LSM thing, and if this problem comes up in > the future again, then maybe by that

Re: RFC: [PATCH-2.6] Add helper function to lock multiple page cache pages.

2005-02-02 Thread Andrew Morton
Anton Altaparmakov <[EMAIL PROTECTED]> wrote: > > Below is a patch which adds a function > mm/filemap.c::find_or_create_pages(), locks a range of pages. Please see > the function description in the patch for details. This isn't very nice, is it, really? Kind of a square peg in a round hole.

Re: [PATCH] Prevent NMI oopser

2005-02-02 Thread Andrey J. Melnikoff (TEMHOTA)
Hi Matt Domsch! On Wed, Feb 02, 2005 at 02:19:14PM -0600, Matt Domsch wrote next: > On Wed, Feb 02, 2005 at 10:32:28PM +0300, Vasily Averin wrote: > > >As a hack, one could #define inline /*nothing*/ in megaraid2.h to > > >avoid this, but it would be nice if the functions could all get > >

Re: Touchpad problems with 2.6.11-rc2

2005-02-02 Thread Peter Osterlund
On Wed, 2 Feb 2005, Dmitry Torokhov wrote: > On Wed, 02 Feb 2005 13:52:03 -0800 (PST), Peter Osterlund > <[EMAIL PROTECTED]> wrote: > > > >if (mousedev->touch) { > > + size = dev->absmax[ABS_X] - dev->absmin[ABS_X]; > > + if (size == 0) size = xres; > > Sorry,

Re: Memory leak in 2.6.11-rc1?

2005-02-02 Thread Linus Torvalds
On Wed, 2 Feb 2005, Dave Hansen wrote: > > Strangely enough, it seems to be one single, persistent page. Ok. Almost certainly not a leak. It's most likely the FIFO that "init" opens (/dev/initctl). FIFO's use the pipe code too. If you don't want unreclaimable highmem pages, then I

Re: Real-Time Preemption and GFP_ATOMIC

2005-02-02 Thread Esben Nielsen
On 2 Feb 2005, Kevin Hilman wrote: > While testing an older driver on an -RT kernel (currently using > -V0.7.37-03), I noticed something strange. > > The driver was triggering a "sleeping function called from invalid > context" BUG(). It was coming from a case where the driver was doing > a

Re: Touchpad problems with 2.6.11-rc2

2005-02-02 Thread Pete Zaitcev
On 02 Feb 2005 21:57:39 +0100, Peter Osterlund <[EMAIL PROTECTED]> wrote: > Please try this patch instead. It works well with my alps touchpad. (I > don't have a synaptics touchpad.) It does the following: > > * Compensates for the lack of floating point arithmetic by keeping > track of

Re: [PATCH] SuperHyway bus support

2005-02-02 Thread Greg KH
On Wed, Feb 02, 2005 at 09:10:01AM +0200, Paul Mundt wrote: > On Tue, Feb 01, 2005 at 02:05:52PM -0800, Greg KH wrote: > > On Wed, Jan 12, 2005 at 02:48:36PM +0200, Paul Mundt wrote: > > > Yes, it would seem that way. Here we go again: > > > > > > drivers/sh/Makefile |6

Re: [2.6 patch] IDE: remove WAIT_READY dependency on APM

2005-02-02 Thread Bartlomiej Zolnierkiewicz
applied, sorry for the delay - 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: Linux hangs during IDE initialization at boot for 30 sec

2005-02-02 Thread Michael Brade
On Wednesday 02 February 2005 21:01, you wrote: > >Awesome! Thanks, booting is finally acceptably fast again :-) > >Just strange > >that it worked for the last 3 years (in fact, 7 years) with > >just about every > >kernel version that's out there... but I'm happy with the workaround. > > Was it

Re: A scrub daemon (prezeroing)

2005-02-02 Thread Christoph Lameter
On Wed, 2 Feb 2005, Marcelo Tosatti wrote: > > Nope the BTE is a block transfer engine. Its an inter numa node DMA thing > > that is being abused to zero blocks. > Ah, OK. > Is there a driver for normal BTE operation or is not kernel-controlled ? There is a function bte_copy in the ia64 arch.

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

2005-02-02 Thread hui
On Wed, Feb 02, 2005 at 01:14:05PM -0800, Bill Huey wrote: > Step one in this is to acknowlege that Unix scheduling semantics is > "inantiquated" with regard to media apps. Some notion of scoping needs to bah, "inadequate". > be put in. > > Everybody on the same page ? bill - To unsubscribe

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

2005-02-02 Thread Ingo Molnar
* Bill Huey <[EMAIL PROTECTED]> wrote: > On Wed, Feb 02, 2005 at 10:44:22AM -0600, Jack O'Quin wrote: > > I believe Ingo's RT patches already support this on a per-IRQ basis. > > Each IRQ handler can run in a realtime thread with priority assigned > > by the sysadmin. Balancing the interrupt

Re: Sabotaged PaXtest (was: Re: Patch 4/6 randomize the stack pointer)

2005-02-02 Thread pageexec
> and how do you force a program to call that function and then to execute > your shellcode? In other words: i challenge you to show a working > (simulated) exploit on Fedora (on the latest fc4 devel version, etc.) > that does that. i don't have any Fedora but i think i know roughly what you're

Re: Touchpad problems with 2.6.11-rc2

2005-02-02 Thread Dmitry Torokhov
On Wed, 02 Feb 2005 13:52:03 -0800 (PST), Peter Osterlund <[EMAIL PROTECTED]> wrote: > >if (mousedev->touch) { > + size = dev->absmax[ABS_X] - dev->absmin[ABS_X]; > + if (size == 0) size = xres; Sorry, missed this piece first time around. Since we don't want

Re: [PATCH] Altix : ioc4 serial driver support

2005-02-02 Thread Christoph Hellwig
On Wed, Feb 02, 2005 at 02:36:15PM -0600, Patrick Gefre wrote: > >Please kill ioc4_ide_init as it's completely unused and make > >ioc4_serial_init > >a normal module_init() handler in ioc4_serial, there's no need to call > >them from the generic driver. > > > > I want ioc4_serial_init called

Re: [PATCH 2/2] Helping prezoring with reduced fragmentation allocation

2005-02-02 Thread Christoph Lameter
On Wed, 2 Feb 2005, Andrew Morton wrote: > Marcelo Tosatti <[EMAIL PROTECTED]> wrote: > > > > What are your thoughts about inclusion of Mel's allocator work on -mm ? > > It's sitting in my to-do pile. Tell me when you need my prezeroing patches on top of mel's patches - To unsubscribe from

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

2005-02-02 Thread Peter Williams
Bill Huey (hui) wrote: On Tue, Feb 01, 2005 at 11:10:48PM -0600, Jack O'Quin wrote: Ingo Molnar <[EMAIL PROTECTED]> writes: (also, believe me, this is not arrogance or some kind of game on our part. If there was a nice clean solution that solved your and others' problems equally well then it would

Re: [RFC] Linux Kernel Subversion Howto

2005-02-02 Thread Daniele Venzano
Il giorno 02/feb/05, alle 16:54, Stelian Pop ha scritto: Hi, I've played lately a bit with Subversion and used it for managing the kernel sources, using Larry McVoy's bk2cvs bridge and Ben Collins' bkcvs2svn conversion script. Really useful, thanks ! I'm using svn to manage a very small part of

Re: Touchpad problems with 2.6.11-rc2

2005-02-02 Thread Peter Osterlund
Dmitry Torokhov <[EMAIL PROTECTED]> writes: > On Wed, 02 Feb 2005 13:07:21 -0800 (PST), Peter Osterlund > <[EMAIL PROTECTED]> wrote: > > + if (mousedev->pkt_count >= 2) { > > + tmp = ((fx(0) - fx(2)) * (250 * > >

Re: [RFC] shared subtrees

2005-02-02 Thread J. Bruce Fields
On Wed, Feb 02, 2005 at 04:33:08PM -0500, Mike Waychison wrote: > That still keeps you from using the 'build tree elsewhere' and 'mount > - --move' approach though, as the parent mountpoint would likely be shared. I believe it's also just the source mountpoint that's the problem, not the

Re: Touchpad problems with 2.6.11-rc2

2005-02-02 Thread David Ford
What does one need to do to: a) put tapping back in, and b) fix the severe jerkiness with small movements Thanks - 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] Altix : ioc4 serial driver support

2005-02-02 Thread Bartlomiej Zolnierkiewicz
On Wed, 02 Feb 2005 14:36:15 -0600, Patrick Gefre <[EMAIL PROTECTED]> wrote: > Christoph Hellwig wrote: > > Do you need to use ide_pci_register_driver? IOC4 doesn't have the legacy > > IDE problems, and it's never used together with such devices in a system, > > so a plain pci_register_driver

Re: A scrub daemon (prezeroing)

2005-02-02 Thread David Woodhouse
On Wed, 2005-02-02 at 14:31 -0200, Marcelo Tosatti wrote: > Someone should try implementing the zeroing driver for a fast x86 PCI > device. :) The BT848/BT878 seems like an ideal candidate. That kind of abuse is probably only really worth it on an architecture with cache-coherent DMA though. If

Re: [PATCH 3/4] readahead: factor out duplicated code

2005-02-02 Thread Steven Pratt
Oleg Nesterov wrote: This patch introduces make_ahead_window() function for simplification of page_cache_readahead. Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> --- 2.6.11-rc2/mm/readahead.c~ 2005-01-27 22:14:39.0 +0300 +++ 2.6.11-rc2/mm/readahead.c 2005-01-29 15:51:04.0

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

2005-02-02 Thread hui
On Wed, Feb 02, 2005 at 10:21:00PM +0100, Ingo Molnar wrote: > yes and no. You are right in that the individual workloads (e.g. > softirqs) are not separated and identified/credited to the thread that > requested them. (in part due to the fact that you cannot e.g. credit a > thread for e.g.

Re: A scrub daemon (prezeroing)

2005-02-02 Thread David Woodhouse
On Wed, 2005-02-02 at 21:00 +, Maciej W. Rozycki wrote: > E.g. the Broadcom's MIPS64-based SOCs have four general purpose DMA > engines onchip which can transfer data to/from the memory controller in > 32-byte chunks over the 256-bit internal bus. We have hardly any use for > these

Re: [RFC] shared subtrees

2005-02-02 Thread Mike Waychison
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J. Bruce Fields wrote: > On Wed, Feb 02, 2005 at 04:08:32PM -0500, Mike Waychison wrote: > >>Well, fwiw, I have the same kind of race in autofsng. I counter it by >>building up the vfsmount tree elsewhere and mount --move'ing it. >> >>Unfortunately,

Re: [RFC] shared subtrees

2005-02-02 Thread J. Bruce Fields
On Wed, Feb 02, 2005 at 04:08:32PM -0500, Mike Waychison wrote: > Well, fwiw, I have the same kind of race in autofsng. I counter it by > building up the vfsmount tree elsewhere and mount --move'ing it. > > Unfortunately, the RFC states that moving a shared vfsmount is > prohibited (for which

Re: Touchpad problems with 2.6.11-rc2

2005-02-02 Thread Dmitry Torokhov
On Wed, 02 Feb 2005 13:07:21 -0800 (PST), Peter Osterlund <[EMAIL PROTECTED]> wrote: > + if (mousedev->pkt_count >= 2) { > + tmp = ((fx(0) - fx(2)) * (250 * > FRACTION_DENOM)) / size; > + tmp

dm-crypt crypt_status reports key?

2005-02-02 Thread Matt Mackall
>From looking at the dm_crypt code, it appears that it can be interrogated to report the current key. Some quick testing shows: # dmsetup table /dev/mapper/volume1 0 200 crypt aes-plain 0123456789abcdef0123456789abcdef 0 7:0 0 Obviously, root can in principle recover this password from the

Re: [RFC] shared subtrees

2005-02-02 Thread Mike Waychison
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ram wrote: > On Wed, 2005-02-02 at 11:45, Mike Waychison wrote: > > Ram wrote: > >>On Tue, 2005-02-01 at 15:21, J. Bruce Fields wrote: > > >>>On Tue, Jan 25, 2005 at 01:07:12PM -0800, Ram wrote: > > If there exists a private subtree in a

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

2005-02-02 Thread hui
On Wed, Feb 02, 2005 at 10:44:22AM -0600, Jack O'Quin wrote: > Bill Huey (hui) <[EMAIL PROTECTED]> writes: > > Also, as media apps get more sophisticated they're going to need some > > kind of access to the some traditional softirq facilities, possibily > > migrating it into userspace safely

[2.6 patch] SCSI qlogicisp.c: some cleanups

2005-02-02 Thread Adrian Bunk
This patch does the following cleanups: - make some needlessly global functions static - remove qlogicisp.h since it doesn't contain much - remove the unused functions isp1020_abort and isp1020_reset Please review especially the latter two points. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

Re: [RFC] shared subtrees

2005-02-02 Thread Mike Waychison
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ram wrote: > On Tue, 2005-02-01 at 15:21, J. Bruce Fields wrote: > >>On Tue, Jan 25, 2005 at 01:07:12PM -0800, Ram wrote: >> >>>If there exists a private subtree in a larger shared subtree, what >>>happens when the larger shared subtree is rbound to

Re: A scrub daemon (prezeroing)

2005-02-02 Thread Marcelo Tosatti
On Wed, Feb 02, 2005 at 11:05:14AM -0800, Christoph Lameter wrote: > On Wed, 2 Feb 2005, Marcelo Tosatti wrote: > > > Sounds very interesting idea to me. Guess it depends on whether the cost of > > DMA write for memory zeroing, which is memory architecture/DMA engine > > dependant, > > offsets

[2.6 patch] update Computone MAINTAINERS entry

2005-02-02 Thread Adrian Bunk
On Mon, Jan 17, 2005 at 08:56:04PM -0500, Michael H. Warfield wrote: > On Sat, Jan 01, 2005 at 06:28:32PM +0100, Adrian Bunk wrote: >... > > It seems you are still active :-) , so why is it "Orphaned"? > > Good question. Probably someone jumping the gun a bit because > I haven't been very

Re: A scrub daemon (prezeroing)

2005-02-02 Thread Maciej W. Rozycki
On Wed, 2 Feb 2005, Marcelo Tosatti wrote: > > Some architectures tend to have spare DMA engines lying around. There's > > no need to use the CPU for zeroing pages. How feasible would it be for > > scrubd to use these? [...] > I suppose you are talking about DMA engines which are not being driven

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

2005-02-02 Thread Adrian Bunk
The patch below makes some needlessly global code static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 21 Nov 2004 drivers/video/savage/savagefb.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) ---

Re: Touchpad problems with 2.6.11-rc2

2005-02-02 Thread Peter Osterlund
Pete Zaitcev <[EMAIL PROTECTED]> writes: > On 30 Jan 2005 12:10:34 +0100, Peter Osterlund <[EMAIL PROTECTED]> wrote: > > > > - Slow motion of finger produces no motion, then a jump. So, it's very > > > hard to > > > target smaller UI elements and some web links. > > > > I see this too when I

Re: [PATCH 2/2] Helping prezoring with reduced fragmentation allocation

2005-02-02 Thread Marcelo Tosatti
Hi Andrew, What are your thoughts about inclusion of Mel's allocator work on -mm ? On Wed, Feb 02, 2005 at 12:31:36AM +, Mel Gorman wrote: > On Tue, 1 Feb 2005, Christoph Lameter wrote: > > > On Tue, 1 Feb 2005, Mel Gorman wrote: > > > > > > Would it not be better to zero the global

[PATCH 3/4] Ignore non-LED events in hid-input hidinput_event().

2005-02-02 Thread Vojtech Pavlik
You can pull this changeset from: bk://kernel.bkbits.net/vojtech/for-linus === [EMAIL PROTECTED], 2005-01-29 13:09:24+01:00, [EMAIL PROTECTED] input: Ignore non-LED events in hid-input hidinput_event(). This gets rid

Re: [PATCH] Altix : ioc4 serial driver support

2005-02-02 Thread Patrick Gefre
Christoph Hellwig wrote: On Mon, Jan 31, 2005 at 04:45:05PM -0600, Pat Gefre wrote: Please kill ioc4_ide_init as it's completely unused and make ioc4_serial_init a normal module_init() handler in ioc4_serial, there's no need to call them from the generic driver. I want ioc4_serial_init called

[PATCH 4/4] Fix HID LED mapping.

2005-02-02 Thread Vojtech Pavlik
You can pull this changeset from: bk://kernel.bkbits.net/vojtech/for-linus === [EMAIL PROTECTED], 2005-02-02 17:54:35+01:00, [EMAIL PROTECTED] input: Fix HID LED mapping. LEDs were ignored because the usage value

Re: [RFC] shared subtrees

2005-02-02 Thread Ram
On Wed, 2005-02-02 at 11:45, Mike Waychison wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ram wrote: > > On Tue, 2005-02-01 at 15:21, J. Bruce Fields wrote: > > > >>On Tue, Jan 25, 2005 at 01:07:12PM -0800, Ram wrote: > >> > >>>If there exists a private subtree in a larger shared

[PATCH 2/4] Document the atkbd.softraw module parameter.

2005-02-02 Thread Vojtech Pavlik
You can pull this changeset from: bk://kernel.bkbits.net/vojtech/for-linus === [EMAIL PROTECTED], 2005-01-29 12:27:56+01:00, [EMAIL PROTECTED] input: Document the atkbd.softraw module parameter. From: Andries Brouwer

Re: [PATCH 2/2] Helping prezoring with reduced fragmentation allocation

2005-02-02 Thread Andrew Morton
Marcelo Tosatti <[EMAIL PROTECTED]> wrote: > > What are your thoughts about inclusion of Mel's allocator work on -mm ? It's sitting in my to-do pile. - 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] Prevent NMI oopser

2005-02-02 Thread Matt Domsch
On Wed, Feb 02, 2005 at 10:32:28PM +0300, Vasily Averin wrote: > >As a hack, one could #define inline /*nothing*/ in megaraid2.h to > >avoid this, but it would be nice if the functions could all get > >reordered such that inlining works properly, and the need for function > >declarations in

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

2005-02-02 Thread Ingo Molnar
* Jack O'Quin <[EMAIL PROTECTED]> wrote: > I guess you're right, Lee. I hadn't thought of it that way. It just > looks broken to me because we have no standing in any normal kernel > requirements process. That's a shame, but it does seem less like a > systemic issue. you have just as much

driver model: fix types in usb

2005-02-02 Thread Pavel Machek
Hi! From: Bernard Blackham <[EMAIL PROTECTED]> This fixes types in USB w.r.t. driver model. It should not actually change any code. Please apply, Pavel Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> diff -ru

[PATCH 1/4] Fix MUX mode disabling.

2005-02-02 Thread Vojtech Pavlik
You can pull this changeset from: bk://kernel.bkbits.net/vojtech/for-linus === [EMAIL PROTECTED], 2005-01-28 21:11:52+01:00, [EMAIL PROTECTED] input: Fix MUX mode disabling. Signed-off-by: Vojtech Pavlik <[EMAIL

[bk-patches] [resend] Needed input fixes for 2.6.11

2005-02-02 Thread Vojtech Pavlik
Hi! I pretty much screwed up in the last update you merged for 2.6.11, making USB input devices rather annoying to use. These four patches fix the damage made: 1) The MUX mode disabling had a bug that caused it to not work at all. 2) MSC_SCAN events backpropagating into hid-input.c caused a

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

2005-02-02 Thread Ingo Molnar
* Jack O'Quin <[EMAIL PROTECTED]> wrote: > The LSM was a stop-gap measure intended to tide us over until a real > fix could be "done right" for 2.8. It had the advantage of being > minimally disruptive to the kernel and its maintainability. [...] i'm not opposed to the LSM solution per se,

-jedi kernel patches

2005-02-02 Thread Frank Denis \(Jedi/Sector One\)
Hello, This is the unique announcement that will be sent to LKML. I'm maintaining a small patch against the -mm tree that might be useful to other people. Almost every time Andrew releases a new -mm version, it brings nice bug fixes, and it also often introduces new exciting

[2.6 patch] update email address of Pedro Roque Marques

2005-02-02 Thread Adrian Bunk
I tried to send a Cc of a patch in a file in the Linux kernel that is credited to Pedro Roque Marques, but the email bounced. The patch below (already ACK'ed by Pedro Roque Marques) updates his email address. This patch was already included in Marcelo's 2.4 tree. Signed-off-by: Adrian Bunk

Re: [PATCH] Prevent NMI oopser

2005-02-02 Thread Vasily Averin
Matt Domsch wrote: On Wed, Feb 02, 2005 at 09:42:02PM +0300, Vasily Averin wrote: This is megaraid2 driver update (2.10.8.2 version, latest 2.4-compatible version that I've seen), taken from latest RHEL3 kernel update. I believe it should prevent NMI in abort/reset handler. Thanks Vasily, I was

RE: Linux hangs during IDE initialization at boot for 30 sec

2005-02-02 Thread Aleksey Gorelov
>-Original Message- >From: Michael Brade [mailto:[EMAIL PROTECTED] >Sent: Wednesday, February 02, 2005 11:55 AM >To: Aleksey Gorelov >Subject: Re: Linux hangs during IDE initialization at boot for 30 sec > >Hi, > >> Since you don't care about anything except ide0 & ide1, try to add >>

Re: Accelerated frame buffer functions

2005-02-02 Thread Haakon Riiser
[Geert Uytterhoeven] > mmap() the MMIO registers to userspace, and program the > acceleration engine from userspace, like DirectFB (and XF*_FBDev > 3.x for Matrox and Mach64) does. Right, this was how I originally intended to do it. The reason why I started to obsess about the accelerated

Re: Touchpad problems with 2.6.11-rc2

2005-02-02 Thread Pete Zaitcev
On Wed, 2 Feb 2005 20:11:35 +0100, Vojtech Pavlik <[EMAIL PROTECTED]> wrote: > It's different hardware. While the ALPS pad delivers X axis in the range > of 0 to 1000, the Synaptics pad will give X axis values from approx 1500 > to approx 5500. This is four times the resolution - the size of the

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

2005-02-02 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 --- linux-2.6.10-rc1-mm5-full/drivers/scsi/sim710.c.old 2004-11-14 01:27:51.0 +0100 +++ linux-2.6.10-rc1-mm5-full/drivers/scsi/sim710.c

[2.6 patch] prism54: misc cleanups

2005-02-02 Thread Adrian Bunk
This patch makes some functions in prism54 that are only required locally static. As a side effect it turned out that the mgt_unlatch_all function was completely unused, and it's therefore #if 0'ed. I also considered moving display_buffer as static inline into islpci_mgt.h, but I wasn't 100%

[2.6 patch] SCSI qlogicfc.c: some cleanups

2005-02-02 Thread Adrian Bunk
This patch does the following cleanups: - make some needlessly global functions static - remove qlogicfc.h since it doesn't contain much - remove the unused function isp2x00_reset Please review especially the latter two points. --- This patch was already sent on: - 15 Nov 2004

Re: [PATCH] Prevent NMI oopser

2005-02-02 Thread Vasily Averin
Hello Matt Matt Domsch wrote: On Wed, Feb 02, 2005 at 09:42:02PM +0300, Vasily Averin wrote: This is megaraid2 driver update (2.10.8.2 version, latest 2.4-compatible version that I've seen), taken from latest RHEL3 kernel update. I believe it should prevent NMI in abort/reset handler. Thanks

Re: Touchpad problems with 2.6.11-rc2

2005-02-02 Thread Vojtech Pavlik
On Wed, Feb 02, 2005 at 11:39:29AM -0800, Pete Zaitcev wrote: > On Wed, 2 Feb 2005 20:11:35 +0100, Vojtech Pavlik <[EMAIL PROTECTED]> wrote: > > > It's different hardware. While the ALPS pad delivers X axis in the range > > of 0 to 1000, the Synaptics pad will give X axis values from approx 1500

Re: Touchpad problems with 2.6.11-rc2

2005-02-02 Thread Dmitry Torokhov
On Wed, 2 Feb 2005 09:58:51 -0800, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > On Wed, 2 Feb 2005 18:07:27 +0100, Vojtech Pavlik <[EMAIL PROTECTED]> wrote: > > > On Wed, Feb 02, 2005 at 08:56:28AM -0800, Pete Zaitcev wrote: > > > On Wed, 2 Feb 2005 11:20:33 +0100, Vojtech Pavlik <[EMAIL PROTECTED]>

[Patch] keep ide disk sleeping when resuming

2005-02-02 Thread Peter Münster
Hello, I need this patch (against linux-2.6.11-rc2), to keep ide disk sleeping, when resuming from ACPI S1. In fact, it's just removing a patch from 22 Jun 2004 by Jens Axboe. He has told me, that "We can probably kill the patch completely". So, this is what I'm doing now. Kind regards, Peter

Re: Accelerated frame buffer functions

2005-02-02 Thread Geert Uytterhoeven
On Wed, 2 Feb 2005, Haakon Riiser wrote: > > On Wed, 2 Feb 2005 16:41:39 +0100, Haakon Riiser > > <[EMAIL PROTECTED]> wrote: > >> Thanks for the tip, I hadn't heard about it. I will take a look, > >> but only to see if it can show me the user space API of /dev/fb. > >> I don't need a general

Re: [PATCH] Prevent NMI oopser

2005-02-02 Thread Vasily Averin
Hello Matt Matt Domsch wrote: On Wed, Feb 02, 2005 at 09:42:02PM +0300, Vasily Averin wrote: Marcelo, This is megaraid2 driver update (2.10.8.2 version, latest 2.4-compatible version that I've seen), taken from latest RHEL3 kernel update. I believe it should prevent NMI in abort/reset handler.

Re: [PATCH] Prevent NMI oopser

2005-02-02 Thread Andrey J. Melnikoff (TEMHOTA)
Hi Vasily Averin! On Wed, Feb 02, 2005 at 09:42:02PM +0300, Vasily Averin wrote next: > Marcelo Tosatti wrote: > >On Tue, Jan 25, 2005 at 11:00:22AM +0300, Vasily Averin wrote: > >>You should unlock io_request_lock before msleep, like in latest versions > >>of megaraid2 drivers. > > > >Andrey,

Re: Accelerated frame buffer functions

2005-02-02 Thread James Simmons
> > You should look at writing a DRM driver. DRM implements the kernel > > interface to get 3D hardware running. It is a fully accelerated driver > > interface. They are located in drivers/char/drm > > Have the standard frame buffer drivers been abandoned, even > for devices that have no 3D

Re: Copyright / licensing question

2005-02-02 Thread Rik van Riel
On Wed, 2 Feb 2005, Frank klein wrote: 1. For explaining the internals of a filesystem in detail, I need to take their code from kernel sources 'as it is' in the book. Do I need to take any permissions from the owner/maintainer regarding this ? Will it violate any license if reproduce the driver

Re: Accelerated frame buffer functions

2005-02-02 Thread James Simmons
> > Le mercredi 02 février 2005 à 15:21 +0100, Haakon Riiser a > > écrit : > > >> How can I use a frame buffer driver's optimized copyarea, > >> fillrect, blit, etc. from userspace? The only way I've ever > >> seen anyone use the frame buffer device is by mmap()ing it > >> and doing everything

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

2005-02-02 Thread Jack O'Quin
> On Tue, 2005-02-01 at 23:10 -0600, Jack O'Quin wrote: >> Is nobody responsible for figuring out what users need? I didn't >> realize kernel development had become so disconnected. Lee Revell <[EMAIL PROTECTED]> writes: > IMHO the requirements gathering process usually works well. When >

Re: [patch libata-dev-2.6 1/1] libata: sync SMART ioctls with ATA pass thru spec (T10/04-262r7)

2005-02-02 Thread John W. Linville
On Wed, Feb 02, 2005 at 07:51:22PM +0100, Jens Axboe wrote: > On Wed, Feb 02 2005, John W. Linville wrote: > > -/* Temporary values for T10/04-262 until official values are allocated */ > > -#defineATA_160x85 /* 16-byte pass-thru [0x85 == > > unused]*/ > > -#define

Re: Patch to add usbmon

2005-02-02 Thread Pete Zaitcev
On Wed, 02 Feb 2005 17:40:17 +0100, Marcel Holtmann <[EMAIL PROTECTED]> wrote: > While I am really thinking about starting usbdump, I may ask why you > have choosen to use debugfs as interface. This will not be available in > normal distribution kernels and I think a general USB monitoring

Re: Touchpad problems with 2.6.11-rc2

2005-02-02 Thread Vojtech Pavlik
On Wed, Feb 02, 2005 at 09:58:51AM -0800, Pete Zaitcev wrote: > On Wed, 2 Feb 2005 18:07:27 +0100, Vojtech Pavlik <[EMAIL PROTECTED]> wrote: > > > On Wed, Feb 02, 2005 at 08:56:28AM -0800, Pete Zaitcev wrote: > > > On Wed, 2 Feb 2005 11:20:33 +0100, Vojtech Pavlik <[EMAIL PROTECTED]> > > >

Re: A scrub daemon (prezeroing)

2005-02-02 Thread Christoph Lameter
On Wed, 2 Feb 2005, Marcelo Tosatti wrote: > Sounds very interesting idea to me. Guess it depends on whether the cost of > DMA write for memory zeroing, which is memory architecture/DMA engine > dependant, > offsets the cost of CPU zeroing. > > Do you have any thoughts on that? > > I wonder if

Re: Memory leak in 2.6.11-rc1?

2005-02-02 Thread Dave Hansen
On Wed, 2005-02-02 at 10:27 -0800, Linus Torvalds wrote: > How many of these pages do you see? It's normal for a single pipe to be > associated with up to 16 pages (although that would only happen if there > is no reader or a slow reader, which is obviously not very common). Strangely enough,

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

2005-02-02 Thread Lee Revell
On Tue, 2005-02-01 at 23:10 -0600, Jack O'Quin wrote: > > So in the Linux core code we have zero tolerance on crap. We are > > doing this for the long-term fun of it. > > So, we should never do anything boring, even though people actually > need it? > > The fact that a large group of

Re: [PATCH] Prevent NMI oopser

2005-02-02 Thread Matt Domsch
On Wed, Feb 02, 2005 at 09:42:02PM +0300, Vasily Averin wrote: > Marcelo Tosatti wrote: > >On Tue, Jan 25, 2005 at 11:00:22AM +0300, Vasily Averin wrote: > >>You should unlock io_request_lock before msleep, like in latest versions > >>of megaraid2 drivers. > > > >Andrey, > > > >Can you please

RE: Linux hangs during IDE initialization at boot for 30 sec

2005-02-02 Thread Aleksey Gorelov
Hi, >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Michael Brade >Sent: Tuesday, February 01, 2005 3:58 AM >To: linux-kernel@vger.kernel.org >Subject: Linux hangs during IDE initialization at boot for 30 sec > [snip] > >I found additional lines in

Re: [patch libata-dev-2.6 1/1] libata: sync SMART ioctls with ATA pass thru spec (T10/04-262r7)

2005-02-02 Thread Jens Axboe
On Wed, Feb 02 2005, John W. Linville wrote: > Update libata's SMART-related ioctl handlers to match the current > ATA command pass-through specification (T10/04-262r7). Also change > related SCSI op-code definition to match current spec. > > Signed-off-by: John W. Linville <[EMAIL PROTECTED]> >

Re: Joe User DOS kills Linux-2.6.10

2005-02-02 Thread Rik van Riel
On Wed, 2 Feb 2005, linux-os wrote: When I compile and run the following program: ./xxx `yes` It looks like the program itself doesn't matter, since it's bash that's eating up memory like crazy, until the point where it is OOM killed. PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+

Re: Joe User DOS kills Linux-2.6.10

2005-02-02 Thread Andreas Schwab
linux-os <[EMAIL PROTECTED]> writes: > When I compile and run the following program: > > #include > int main(int x, char **y) > { > pause(); > } > ... as: > > ./xxx `yes` This is roughly equivalent to this: #include int main(void) { while (1) malloc(1); } Andreas. -- Andreas Schwab,

Re: [PATCH] Prevent NMI oopser

2005-02-02 Thread Vasily Averin
Marcelo Tosatti wrote: On Tue, Jan 25, 2005 at 11:00:22AM +0300, Vasily Averin wrote: You should unlock io_request_lock before msleep, like in latest versions of megaraid2 drivers. Andrey, Can you please update your patch to unlock io_request_lock before sleeping and locking after coming back?

Real-Time Preemption and GFP_ATOMIC

2005-02-02 Thread Kevin Hilman
While testing an older driver on an -RT kernel (currently using -V0.7.37-03), I noticed something strange. The driver was triggering a "sleeping function called from invalid context" BUG(). It was coming from a case where the driver was doing a __get_free_page(GFP_ATOMIC) while interrupts were

[patch libata-dev-2.6 1/1] libata: sync SMART ioctls with ATA pass thru spec (T10/04-262r7)

2005-02-02 Thread John W. Linville
Update libata's SMART-related ioctl handlers to match the current ATA command pass-through specification (T10/04-262r7). Also change related SCSI op-code definition to match current spec. Signed-off-by: John W. Linville <[EMAIL PROTECTED]> --- Contact w/ spec author (Curtis Stevens @ Western

Re: A scrub daemon (prezeroing)

2005-02-02 Thread Marcelo Tosatti
On Thu, Jan 27, 2005 at 12:15:24PM +, David Woodhouse wrote: > On Fri, 2005-01-21 at 12:29 -0800, Christoph Lameter wrote: > > Adds management of ZEROED and NOT_ZEROED pages and a background daemon > > called scrubd. scrubd is disabled by default but can be enabled > > by writing an order

Re: [RFC] shared subtrees

2005-02-02 Thread Ram
On Tue, 2005-02-01 at 15:21, J. Bruce Fields wrote: > On Tue, Jan 25, 2005 at 01:07:12PM -0800, Ram wrote: > > If there exists a private subtree in a larger shared subtree, what > > happens when the larger shared subtree is rbound to some other place? > > Is a new private subtree created in the

<    1   2   3   4   5   6   7   >