Re: BUG: 2.6.11-rc2 and -rc1 hang during boot on PowerMacs

2005-01-26 Thread Mikael Pettersson
Benjamin Herrenschmidt writes: On Tue, 2005-01-25 at 09:56 +0100, Mikael Pettersson wrote: On the eMac: /proc/sys/kernel/powersave-nap exists and contains 0. /proc/device-tree/cpus/PowerPC,G4/flush-on-lock exists as an empty file. Ok, that is weird... so for some reason, Apple

Re: waiting for ppp0 to become free (Re: ppp0 out of control)

2005-01-26 Thread Andre Tomt
Janos Farkas wrote: On 2005-01-21 at 15:44:44, Aurélien GÉRÔME wrote: I am running 2.6.10 from kernel.org on Debian Sid ppc/x86, the same issue occurs with 2.6.9. Though, 2.6.8.1 and previous are fine. When my ISP connection via PPPoE (kernel side) goes down, reconnection does not occur, and the

[patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU feature, -D7

2005-01-26 Thread Ingo Molnar
* Peter Williams [EMAIL PROTECTED] wrote: Oops, after rereading the patch, a task that set its RT_CPU_RATIO rlimit to zero wouldn't be escaping the mechanism at all. It would be suffering maximum throttling. [...] my intention was to let 'limit 0' mean 'old RT semantics' - i.e. 'no RT CPU

Re: 2.6.11-rc2-mm1: SuperIO scx200 breakage

2005-01-26 Thread Christoph Hellwig
On Wed, Jan 26, 2005 at 01:35:56AM +0300, Evgeniy Polyakov wrote: I have one rule - if noone answers that it means noone objects, or it is not interesting for anyone, and thus noone objects. That's simply not true. The amount of patches submitted is extremly huge and the reviewers don't have

Re: 2.6.11-rc2-mm1: SuperIO scx200 breakage

2005-01-26 Thread Evgeniy Polyakov
On Wed, 2005-01-26 at 10:55 +0100, Jean Delvare wrote: Hi Evgeniy, So I suspect that this update at least was never reviewed by anyone (on the sensors list at least). I have one rule - if noone answers that it means noone objects, or it is not interesting for anyone, and thus noone

[PATCH] Documentation updates

2005-01-26 Thread Martin Waitz
hoi :) I have created some updates to the Linux documentation. This includes two important fixes that allow to generate DocBook documenation from kernel-doc comments again and some low-priority updates to the kernel-doc comments itself. All patches are available in my BK repository, it only

Re: [PATCH 2/4] page_cache_readahead: remove duplicated code

2005-01-26 Thread Oleg Nesterov
Ram wrote: No. There is a reason why we had some duplication. With your patch, we will end up reading-on-demand instead of reading ahead. When we notice a sequential reads have resumed, we first read in the data that is requested. However if the read request is for more pages than what are

Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU feature, -D7

2005-01-26 Thread Ingo Molnar
i've uploaded a simple utility to set the RT_CPU rlimit, called execrtlim: http://redhat.com/~mingo/rt-limit-patches/ execrtlim can be used to test the rlimit, e.g.: ./execrtlim 10 10 /bin/bash will spawn a new shell with RLIMIT_RT_CPU curr/max set to 10%/10%. on older kernels the

Re: [PATCH] Documentation updates

2005-01-26 Thread Christoph Hellwig
On Wed, Jan 26, 2005 at 11:56:21AM +0100, Martin Waitz wrote: hoi :) I have created some updates to the Linux documentation. This includes two important fixes that allow to generate DocBook documenation from kernel-doc comments again and some low-priority updates to the kernel-doc

Re: 2.6.11-rc2-mm1: SuperIO scx200 breakage

2005-01-26 Thread Evgeniy Polyakov
On Wed, 2005-01-26 at 10:14 +, Christoph Hellwig wrote: On Wed, Jan 26, 2005 at 01:35:56AM +0300, Evgeniy Polyakov wrote: I have one rule - if noone answers that it means noone objects, or it is not interesting for anyone, and thus noone objects. That's simply not true. The amount of

Bug in 2.4.26 in mm/filemap.c when using RLIMIT_RSS

2005-01-26 Thread Ake
Use of rlim[RLIMIT_RSS] in mm/filemap.c is wrong. It is passed down to kernel as a number of bytes but is being used as a number of pages. There is also a misinformative comment in fs/proc/array.c in proc_pid_stat where it says mm ? mm-rss : 0, /* you might want to shift this left 3 */ the number

USB API, ioctl's and libusb

2005-01-26 Thread DervishD
Hi everybody :) I've been solving a USB problem related to a digital photo camera, and I've noticed that 'libusb' uses a ioctl interface to the USB kernel system. In fact it implements 'usb_control_msg()' using ioctl's. On the other hand, the kernel itself (I'm talking about 2.4.29)

Re: Fw: How to submit device ID into hid blacklist.

2005-01-26 Thread linux-os
On Tue, 25 Jan 2005 [EMAIL PROTECTED] wrote: Hi, I work for 3M Touch Systems (former MicroTouch) as software engineer and our main product is touchscreen as input device. Recently, we have released hid compliant devices (they work perfectly under Windows OS), but Linux hid driver does not

How do I find out who uses swap?

2005-01-26 Thread Maciej Soltysiak
Hi, I have a problem for some time with that the amount of swap being used constantly increases up to the moment where the swap is used in 100% and the machine deadlocks. How do I find out which proceses use swap and in what amount? I tried using top and sorting by SWAP, it shows this: PID

Re: [PATCH] therm_adt746x: smooth fan

2005-01-26 Thread Colin Leroy
This patchs allows a smoother fan speed switching with therm_adt746x. Instead of setting 0 or 128, it scales speed according to temperature. Thanks, but you'd have saved some of your time if you had checked 2.6.10: I implemented such a system, it's in since 2.6.10 :) It would be even better

Re: 2.6.11-rc2-mm1: SuperIO scx200 breakage

2005-01-26 Thread Russell King
On Wed, Jan 26, 2005 at 10:14:34AM +, Christoph Hellwig wrote: That's simply not true. The amount of patches submitted is extremly huge and the reviewers don't have time to look at everythning. If no one replies it simply means no one has looked at it in enough detail to comment yet.

Deadlock in serial driver 2.6.x

2005-01-26 Thread Martin Kgler
I noticed with different kernel versions (a 2.6.5 FC2 Kernel, a 2.6.7 Knoppix Kernel and 2.6.10 FC2 and FC3 Kernels (which have no patches for the serial driver)), that it is possible for a normal user, which has rw access to /dev/ttySx, to hang a computer. To exploit it, there must be a

Re: [PATCH 4/29] x86-i8259-shutdown

2005-01-26 Thread Sytse Wielinga
On Tue, Jan 25, 2005 at 03:12:00PM -0700, Eric W. Biederman wrote: Barry K. Nathan [EMAIL PROTECTED] writes: On Tue, Jan 25, 2005 at 05:12:43AM -0700, Eric W. Biederman wrote: Could you try this patch on your system with acpi that is having problems. The patch needs some work

Re: 2.6.11-rc2-mm1

2005-01-26 Thread Dmitry Torokhov
On Wed, 26 Jan 2005 11:31:07 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Tue, 2005-01-25 at 22:42 +, Christoph Hellwig wrote: Yes, and it is better than removing module whose structures are in use. SuperIO core is asynchronous in it's nature, one can use logical device

Re: USB API, ioctl's and libusb

2005-01-26 Thread Oliver Neukum
Am Mittwoch, 26. Januar 2005 13:20 schrieb DervishD: My question is: which interface should be used by user space applications, linux/usb.h or ioctl's? Is the ioctl interface deprecated in any way? In the Programming guide for Linux USB Device Drivers, located in

[PATCH] OSS Support for AC97 low power codecs

2005-01-26 Thread Liam Girdwood
Hi Andrew, This is a resend of a patch that has been applied to 2.4. The low power codec functionality has also now been included in ALSA. I've attached a patch against 2.6.11-rc2 that checks the codec ID before doing an AC97 register reset. This allows the kernel to support low power codecs

Re: [PATCH] therm_adt746x: smooth fan

2005-01-26 Thread Jorge Bernal
El Miércoles 26 Enero 2005 14:03, Colin Leroy escribió: This patchs allows a smoother fan speed switching with therm_adt746x. Instead of setting 0 or 128, it scales speed according to temperature. Thanks, but you'd have saved some of your time if you had checked 2.6.10: I implemented such a

Re: Problem with cpu_rest() change

2005-01-26 Thread Benjamin Herrenschmidt
On Tue, 2005-01-25 at 23:45 -0600, Kumar Gala wrote: Will these changes cause us to back out the patch already made to arch/ppc/kernel/idle.c for systems that did not support powersavings? Did it already make it upstream ? Ingo's fix should make our workarounds unnecessary indeed... Ben. -

Re: 2.6.11-rc2-mm1

2005-01-26 Thread Dmitry Torokhov
On Wed, 26 Jan 2005 11:25:02 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Tue, 2005-01-25 at 23:57 -0500, Dmitry Torokhov wrote: I have a slightly different concern - the superio is a completely new subsystem and it should be integtrated with the driver model (superio bus?).

Re: BUG: 2.6.11-rc2 and -rc1 hang during boot on PowerMacs

2005-01-26 Thread Benjamin Herrenschmidt
On Wed, 2005-01-26 at 11:02 +0100, Mikael Pettersson wrote: Benjamin Herrenschmidt writes: On Tue, 2005-01-25 at 09:56 +0100, Mikael Pettersson wrote: On the eMac: /proc/sys/kernel/powersave-nap exists and contains 0. /proc/device-tree/cpus/PowerPC,G4/flush-on-lock exists as an

I RESEND THE MESSAGE

2005-01-26 Thread [EMAIL PROTECTED]
Dear friend, Assalamu Alaikum Salaam,I want to drop you a quick note because I did not hear back from you concerning the information I sent you the other day.Incase you did not recieve the letter introducing my intent. I am mohammed Hassan an Iraqi,Please i need your help now there is very big

Re: 2.6.11-rc2-mm1: SuperIO scx200 breakage

2005-01-26 Thread Dmitry Torokhov
On Wed, 26 Jan 2005 13:59:17 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Wed, 2005-01-26 at 10:14 +, Christoph Hellwig wrote: On Wed, Jan 26, 2005 at 01:35:56AM +0300, Evgeniy Polyakov wrote: I have one rule - if noone answers that it means noone objects, or it is not

Re: User space out of memory approach

2005-01-26 Thread Mauricio Lin
Hi Andrea, On Wed, 26 Jan 2005 01:49:01 +0100, Andrea Arcangeli [EMAIL PROTECTED] wrote: On Tue, Jan 25, 2005 at 08:11:19PM -0400, Mauricio Lin wrote: Sometimes the first application to be killed is XFree. AFAIK the This makes more sense now. You need somebody trapping sigterm in order to

Re: [PATCH] OSS Support for AC97 low power codecs

2005-01-26 Thread Liam Girdwood
Andrew, Looks like I missed a critical diff line in the patch :- --- a/include/linux/ac97_codec.h 2005-01-22 01:46:59.0 + and added some PM stuff that is from a future patch. Correct patch is attached. Liam On Wed, 2005-01-26 at 13:42, Liam Girdwood wrote: Hi Andrew, This is

Re: [PATCH 2.6.11-rc2] I2C: lm80 driver improvement (From Aurelien)

2005-01-26 Thread Sytse Wielinga
On Wed, Jan 26, 2005 at 02:49:23AM -0500, Shawn Starr wrote: static inline unsigned char FAN_TO_REG(unsigned rpm, unsigned div) { - if (rpm == 0) + if (rpm = 0) The rpm parameter is unsigned so this change is useless. The rest makes sense to me. BTW, can anyone tell me why the uints in this

Re: [PATCH 2.6.11-rc2] modules: add version and srcversion to sysfs

2005-01-26 Thread Matt Domsch
On Wed, Jan 26, 2005 at 10:22:29AM +0100, Andreas Gruenbacher wrote: On Wednesday 26 January 2005 07:05, Matt Domsch wrote: Module: Add module version and srcversion to the sysfs tree why do you need this? a) Tools like DKMS, which deal with changing out individual kernel modules without

Re: [PATCH 4/29] x86-i8259-shutdown

2005-01-26 Thread Eric W. Biederman
Sytse Wielinga [EMAIL PROTECTED] writes: On my box this patch breaks shutdown instead, while it was working without it on -rc2-mm1. I have an Asus A7V8X motherboard with a VIA VT8377 (KT400) north bridge and a VT8235 south bridge (according to lspci). The IO-APIC is used for interrupt

Re: Problem with cpu_rest() change

2005-01-26 Thread Kumar Gala
Ok, will send a patch to back out the change that Linus already accepted. - kumar On Jan 26, 2005, at 7:44 AM, Benjamin Herrenschmidt wrote: On Tue, 2005-01-25 at 23:45 -0600, Kumar Gala wrote: Will these changes cause us to back out the patch already made to arch/ppc/kernel/idle.c for

Re: [PATCH 2.6.11-rc2] I2C: lm80 driver improvement (From Aurelien)

2005-01-26 Thread Sytse Wielinga
On Wed, Jan 26, 2005 at 03:05:09PM +0100, I wrote: BTW, can anyone tell me why the uints in this parameter list are declared as 'unsigned' and not as 'unsigned int'? $ find /usr/src/linux/ -name \*.c |xargs grep unsigned\ [^icsl] |wc -l 3151 - Gives himself a good smack on the head - Sorry

Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU feature, -D7

2005-01-26 Thread Jack O'Quin
Ingo Molnar [EMAIL PROTECTED] writes: (My current thinking is that the default RT_CPU rlimit should be 0.) How about a kernel .config option allowing us to easily compile in a different default? That should tide over most of the audio users for the next 6 months or so until we get userspace

Re: [PATCH 2.6.11-rc2] modules: add version and srcversion to sysfs

2005-01-26 Thread Paulo Marques
Matt Domsch wrote: [...] +static char *strdup(const char *str) +{ + char *s; + + if (!str) + return NULL; + s = kmalloc(strlen(str)+1, GFP_KERNEL); + if (!s) + return NULL; + strcpy(s, str); + return s; +} + There is already this code in sound/core/memory.c: char *snd_kmalloc_strdup(const char

Re: 2.6.11-rc2-mm1: SuperIO scx200 breakage

2005-01-26 Thread Jean Delvare
Hi Evgeniy, I presented the code. Several times in special mail list. That's true. Except that the second time (at least) you didn't find anyone to review it. Also note that your patches are about superio, gpio and now access bus. The list is dedicated to hardware monitoring. This is no exact

Re: 2.6.11-rc2-mm1

2005-01-26 Thread Evgeniy Polyakov
On Wed, 2005-01-26 at 08:32 -0500, Dmitry Torokhov wrote: On Wed, 26 Jan 2005 11:31:07 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Tue, 2005-01-25 at 22:42 +, Christoph Hellwig wrote: Yes, and it is better than removing module whose structures are in use. SuperIO core is

Re: [RFC][PATCH 0/5] consolidate i386 NUMA init code

2005-01-26 Thread Martin J. Bligh
The following five patches reorganize and consolidate some of the i386 NUMA/discontigmem code. They grew out of some observations as we produced the memory hotplug patches. Only the first one is really necessary, as it makes the implementation of one of the hotplug components much simpler

Re: [PATCH 4/29] x86-i8259-shutdown

2005-01-26 Thread Sytse Wielinga
On Wed, Jan 26, 2005 at 07:06:50AM -0700, Eric W. Biederman wrote: Sytse Wielinga [EMAIL PROTECTED] writes: On my box this patch breaks shutdown instead, while it was working without it on -rc2-mm1. I have an Asus A7V8X motherboard with a VIA VT8377 (KT400) north bridge and a

[PATCH] ppc32: back out idle patch for non-powersaving CPU's

2005-01-26 Thread Kumar Gala
Back out previous patch to ppc idle that handled CPU's that did not have powersavings. Ingo's fixes to cpu_rest, cause this fix to no longer be needed. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- diff -Nru a/arch/ppc/kernel/idle.c b/arch/ppc/kernel/idle.c --- a/arch/ppc/kernel/idle.c

Re: How to add/drop SCSI drives from within the driver?

2005-01-26 Thread Brian King
Newer kernels also have kobject_uevent, which lets any application use netlink to look for hotplug events. -Brian Mukker, Atul wrote: Thanks for the suggestion. After more exploration, looks like different distribution have different implementations for /sbin/hotplug. This may aggravate the

Re: 2.6.11-rc2-mm1

2005-01-26 Thread Evgeniy Polyakov
On Wed, 2005-01-26 at 08:46 -0500, Dmitry Torokhov wrote: On Wed, 26 Jan 2005 11:25:02 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Tue, 2005-01-25 at 23:57 -0500, Dmitry Torokhov wrote: I have a slightly different concern - the superio is a completely new subsystem and it

Re: Banging my head on SATA / ATAPI DMA problem. Help?

2005-01-26 Thread Lennart Sorensen
On Tue, Jan 25, 2005 at 07:57:58PM -0800, Rick Bressler wrote: I've played with a lot of hardware since the Linux 1.0.9 days but not yet run into something quite like this. Alan has been talking a lot lately about ATA/SATA patches, and while I mostly lurk on this list, thought this one might

MPT fusion still unable to recover properly under 2.6, ok under 2.4

2005-01-26 Thread Hubert Tonneau
I have a Dell PowerEdge 2600 than run smoothly on Linux 2.6 for 6 monthes, then three days ago, it started to have tiny problems on the SCSI. Now the bug is that 2.6.9 is unable to recover from these tiny problems (it enters an infinit loop that locks all processes attempting to access disk)

Re: [PATCH 4/29] x86-i8259-shutdown

2005-01-26 Thread Eric W. Biederman
Sytse Wielinga [EMAIL PROTECTED] writes: On Wed, Jan 26, 2005 at 07:06:50AM -0700, Eric W. Biederman wrote: How does the kernel shutdown fail? It halts after saying 'acpi_power_off called'. Strangely, it only breaks when using the Alt-SysRq-O poweroff function. Shutting down normally still

Re: 2.6.11-rc2-mm1

2005-01-26 Thread Dmitry Torokhov
On Wed, 26 Jan 2005 17:59:07 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: Each superio chip has the same logical devices inside. With your approach we will have following schema: bus: superio1 - voltage, temp, gpio, rtc, wdt, acb superio2 - voltage, temp, gpio, rtc, wdt, acb superio3

Re: thoughts on kernel security issues

2005-01-26 Thread Jesse Pollard
On Tuesday 25 January 2005 15:05, linux-os wrote: On Tue, 25 Jan 2005, John Richard Moser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [snip] In this context, it doesn't make sense to deploy a protection A or B without the companion protection, which is what I meant. You're

[no subject]

2005-01-26 Thread pse
(null) - 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: i8042 access timings

2005-01-26 Thread Vojtech Pavlik
On Tue, Jan 25, 2005 at 02:41:14AM -0500, Dmitry Torokhov wrote: Recently there was a patch from Alan regarding access timing violations in i8042. It made me curious as we only wait between accesses to status register but not data register. I peeked into FreeBSD code and they use delays to

Re: 2.6.11-rc2-mm1

2005-01-26 Thread Evgeniy Polyakov
On Wed, 2005-01-26 at 10:26 -0500, Dmitry Torokhov wrote: On Wed, 26 Jan 2005 17:59:07 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: Each superio chip has the same logical devices inside. With your approach we will have following schema: bus: superio1 - voltage, temp, gpio, rtc,

Re: Memory leak in 2.6.11-rc1?

2005-01-26 Thread Parag Warudkar
I am running 2.6.11-rc2+ fix for the pipe related leak by Linus. I am currently running a QT+KDE compile with distcc on two machines. I am running these machines for around 11 hours now and swap seems to be growing steadily on the -rc2 box - it went to ~260kb after 10hrs, after which I ran

[PATCH 0/3] TIGLUSB Cleanups

2005-01-26 Thread Mikkel Krautz
Hello! The tiglusb-driver was removed in 2.6.11-rc1. Since then, references to it in other files have been kept, namely the following files: Documentation/usb/silverlink.txt, Documentation/kernel-parameters.txt MAINTAINERS This series of patches removes the silverlink.txt-documentation,

Re: thoughts on kernel security issues

2005-01-26 Thread Sytse Wielinga
On Tue, Jan 25, 2005 at 03:03:04PM -0500, John Richard Moser wrote: That being said, you should also consider (unless somebody forgot to tell me something) that it takes two source trees to make a split-out patch. The author also has to chew down everything but the feature he wants to split

Re: 2.6.11-rc2-mm1: SuperIO scx200 breakage

2005-01-26 Thread Evgeniy Polyakov
On Wed, 2005-01-26 at 15:34 +0100, Jean Delvare wrote: Hi Evgeniy, I presented the code. Several times in special mail list. That's true. Except that the second time (at least) you didn't find anyone to review it. Also note that your patches are about superio, gpio and now access bus.

Re: make flock_lock_file_wait static

2005-01-26 Thread Paul E. McKenney
On Wed, Jan 26, 2005 at 10:01:00AM +0100, Arjan van de Ven wrote: On Tue, 2005-01-25 at 10:58 -0800, Paul E. McKenney wrote: On Tue, Jan 11, 2005 at 08:36:22PM +0100, Arjan van de Ven wrote: On Tue, 2005-01-11 at 14:16 -0500, Trond Myklebust wrote: (you may think it's only 100 bytes,

Re: thoughts on kernel security issues

2005-01-26 Thread Linus Torvalds
On Wed, 26 Jan 2005, Jesse Pollard wrote: And covering the possible unknown errors is a good way to add protection. I heartily agree. The more we can do to make the inevitable bugs be less likely to be security problems, the better off we are. Most of that ends up being design - trying to

[PATCH 1/3] TIGLUSB Cleanups

2005-01-26 Thread Mikkel Krautz
This removes the tiusb boot-parameter from kernel-parameters.txt. Signed-off-by: Mikkel Krautz [EMAIL PROTECTED] --- kernel-parameters.txt |3 --- 1 files changed, 3 deletions(-) --- clean/Documentation/kernel-parameters.txt +++ dirty/Documentation/kernel-parameters.txt @@ -1356,9 +1356,6 @@

don't let mmap allocate down to zero

2005-01-26 Thread Rik van Riel
With some programs the 2.6 kernel can end up allocating memory at address zero, for a non-MAP_FIXED mmap call! This causes problems with some programs and is generally rude to do. This simple patch fixes the problem in my tests. Make sure that we don't allocate memory all the way down to zero, so

[PATCH 3/3] TIGLUSB Cleanups

2005-01-26 Thread Mikkel Krautz
This removes the TIGLUSB-documentation, silverlink.txt. Signed-off-by: Mikkel Krautz [EMAIL PROTECTED] --- silverlink.txt | 78 - 1 files changed, 78 deletions(-) --- clean/Documentation/usb/silverlink.txt +++

Re: [ck] [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU feature, -D7

2005-01-26 Thread Cal
Ingo Molnar wrote: [...] the -D7 patch available from the usual place: Hi, Consideringthe amount and rate of work in progress, this may well be no longer be pertinent, but I'm consistently getting an oops running the basic jack_test3.2 with rt-limit-2.6.11-rc2-D7 on SMP (P3 993 x 2). The oops

Re: 2.6.11-rc2-mm1

2005-01-26 Thread Dmitry Torokhov
On Wed, 26 Jan 2005 18:54:08 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Wed, 2005-01-26 at 10:26 -0500, Dmitry Torokhov wrote: On Wed, 26 Jan 2005 17:59:07 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: Each superio chip has the same logical devices inside. With your

Re: [ck] [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU feature, -D7

2005-01-26 Thread Cal
Please ignore that, I've just started looking through the log properly. cheers. - 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

Re: 2.6.11-rc2-mm1: SuperIO scx200 breakage

2005-01-26 Thread Evgeniy Polyakov
On Wed, 2005-01-26 at 09:00 -0500, Dmitry Torokhov wrote: On Wed, 26 Jan 2005 13:59:17 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Wed, 2005-01-26 at 10:14 +, Christoph Hellwig wrote: On Wed, Jan 26, 2005 at 01:35:56AM +0300, Evgeniy Polyakov wrote: I have one rule - if

Re: [PATCH 1/1] pci: Block config access during BIST (resend)

2005-01-26 Thread Brian King
Alan Cox wrote: On Maw, 2005-01-18 at 15:14, Brian King wrote: Alan - are you satisfied with the most recent patch, or would you prefer the patch not returning failure return codes and just bit bucketing writes and returning all ff's on reads? Either way works for me. Which was the last one.

Re: i8042 access timings

2005-01-26 Thread Dmitry Torokhov
On Wed, 26 Jan 2005 16:43:07 +0100, Vojtech Pavlik [EMAIL PROTECTED] wrote: On Tue, Jan 25, 2005 at 02:41:14AM -0500, Dmitry Torokhov wrote: @@ -213,7 +217,10 @@ if (!retval) for (i = 0; i ((command 8) 0xf); i++) { if ((retval =

Re: [PATCH 2.6.11-rc2] modules: add version and srcversion to sysfs

2005-01-26 Thread Andreas Gruenbacher
On Wed, 2005-01-26 at 15:09, Matt Domsch wrote: On Wed, Jan 26, 2005 at 10:22:29AM +0100, Andreas Gruenbacher wrote: On Wednesday 26 January 2005 07:05, Matt Domsch wrote: Module: Add module version and srcversion to the sysfs tree why do you need this? a) Tools like DKMS, which

Re: don't let mmap allocate down to zero

2005-01-26 Thread linux-os
On Wed, 26 Jan 2005, Rik van Riel wrote: With some programs the 2.6 kernel can end up allocating memory at address zero, for a non-MAP_FIXED mmap call! This causes problems with some programs and is generally rude to do. This simple patch fixes the problem in my tests. Does this mean that we

Re: [PATCH 0/3] TIGLUSB Cleanups

2005-01-26 Thread Greg KH
On Wed, Jan 26, 2005 at 05:27:46PM +0100, Mikkel Krautz wrote: On Wed, 26 Jan 2005 17:04:29 +0100, Mikkel Krautz [EMAIL PROTECTED] wrote: Hello! The tiglusb-driver was removed in 2.6.11-rc1. Since then, references to it in other files have been kept, namely the following files:

Re: [PATCH 2.6.11-rc2] I2C: lm80 driver improvement (From Aurelien) - Resubmit

2005-01-26 Thread Greg KH
On Wed, Jan 26, 2005 at 02:57:35AM -0500, Shawn Starr wrote: static inline unsigned char FAN_TO_REG(unsigned rpm, unsigned div) { - if (rpm == 0) + if (rpm = 0) As was pointed out, this doesn't make any sense. Care to redo the patch? thanks, greg k-h - To unsubscribe from this

Re: 2.6.11-rc2-mm1

2005-01-26 Thread Evgeniy Polyakov
On Wed, 2005-01-26 at 11:25 -0500, Dmitry Torokhov wrote: On Wed, 26 Jan 2005 18:54:08 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Wed, 2005-01-26 at 10:26 -0500, Dmitry Torokhov wrote: On Wed, 26 Jan 2005 17:59:07 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: Each

Re: How do I find out who uses swap?

2005-01-26 Thread Chris Shoemaker
On Wed, Jan 26, 2005 at 02:11:56PM +0100, Maciej Soltysiak wrote: Hi, I have a problem for some time with that the amount of swap being used constantly increases up to the moment where the swap is used in 100% and the machine deadlocks. How do I find out which proceses use swap and in

Re: [PATCH] Documentation updates

2005-01-26 Thread Randy.Dunlap
Martin Waitz wrote: hoi :) I have created some updates to the Linux documentation. This includes two important fixes that allow to generate DocBook documenation from kernel-doc comments again and some low-priority updates to the kernel-doc comments itself. All patches are available in my BK

Re: [RFC][PATCH] new timeofday arch specific hooks (v. A2)

2005-01-26 Thread Christoph Lameter
On Wed, 26 Jan 2005, Benjamin Herrenschmidt wrote: On Tue, 2005-01-25 at 16:34 -0800, Christoph Lameter wrote: I just hope that the implementation of one arch does not become a standard without sufficient reflection. Could we first get an explanation of the rationale of the offsets? From

Re: [PATCH 0/3] TIGLUSB Cleanups

2005-01-26 Thread Mikkel Krautz
On Wed, 26 Jan 2005 17:04:29 +0100, Mikkel Krautz [EMAIL PROTECTED] wrote: Hello! The tiglusb-driver was removed in 2.6.11-rc1. Since then, references to it in other files have been kept, namely the following files: Documentation/usb/silverlink.txt,

Re: Possible GPL Violation of Linux in Amstrad's E3 Videophone.

2005-01-26 Thread Jonathan McDowell
On Sat, Jan 15, 2005 at 01:43:10PM +, Jonathan McDowell wrote: On Fri, Jan 07, 2005 at 09:48:52PM +, Jonathan McDowell wrote: On Fri, Oct 01, 2004 at 04:59:44PM +0100, Alan Cox wrote: If anyone has a copy of the emailer source btw (or gets one for review so has a download option

Re: [RFC][PATCH] new timeofday arch specific hooks (v. A2)

2005-01-26 Thread Christoph Lameter
On Wed, 26 Jan 2005, Martin Schwidefsky wrote: Why not add an if at the start of gettimeofday to check when the last ntp updates has been done and if it has been too long since the last time then call ntp_scale ? That way the update isn't done on every call to gettimeofday and we don't depend

Re: [PATCH 0/3] TIGLUSB Cleanups

2005-01-26 Thread Greg KH
On Wed, Jan 26, 2005 at 05:48:19PM +0100, Mikkel Krautz wrote: On Wed, 26 Jan 2005 08:40:10 -0800, Greg KH [EMAIL PROTECTED] wrote: Use a different email client, or attach the patches as plain text. Good luck, greg k-h Alright, they're attached this time. I hope this'll do for

Re: [PATCH 0/3] TIGLUSB Cleanups

2005-01-26 Thread Mikkel Krautz
On Wed, 26 Jan 2005 08:40:10 -0800, Greg KH [EMAIL PROTECTED] wrote: Use a different email client, or attach the patches as plain text. Good luck, greg k-h Alright, they're attached this time. I hope this'll do for now. :-) Mikkel Krautz Signed-off-by: Mikkel Krautz [EMAIL PROTECTED] ---

Re: 2.6.11-rc2-mm1

2005-01-26 Thread Dmitry Torokhov
On Wed, 26 Jan 2005 19:46:14 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Wed, 2005-01-26 at 11:25 -0500, Dmitry Torokhov wrote: On Wed, 26 Jan 2005 18:54:08 +0300, Evgeniy Polyakov [EMAIL PROTECTED] wrote: On Wed, 2005-01-26 at 10:26 -0500, Dmitry Torokhov wrote: On Wed, 26 Jan

Re: USB API, ioctl's and libusb

2005-01-26 Thread DervishD
Hi Oliver :) * Oliver Neukum [EMAIL PROTECTED] dixit: Am Mittwoch, 26. Januar 2005 13:20 schrieb DervishD:     My question is: which interface should be used by user space applications, linux/usb.h or ioctl's? Is the ioctl interface deprecated in any way? In the Programming guide for

RE: How to add/drop SCSI drives from within the driver?

2005-01-26 Thread Greg KH
Thanks for the suggestion. After more exploration, looks like different distribution have different implementations for /sbin/hotplug. This may aggravate the issue for applications. For now, we will stick with a wait and watch after bus scan :-( What do you mean? Just use the /etc/dev.d

Re: i8042 access timings

2005-01-26 Thread linux-os
On Wed, 26 Jan 2005, Dmitry Torokhov wrote: On Wed, 26 Jan 2005 16:43:07 +0100, Vojtech Pavlik [EMAIL PROTECTED] wrote: On Tue, Jan 25, 2005 at 02:41:14AM -0500, Dmitry Torokhov wrote: @@ -213,7 +217,10 @@ if (!retval) for (i = 0; i ((command 8) 0xf); i++) {

Re: [PATCH 0/3] TIGLUSB Cleanups

2005-01-26 Thread Mikkel Krautz
On Wed, 26 Jan 2005 08:57:07 -0800, Greg KH [EMAIL PROTECTED] wrote: On Wed, Jan 26, 2005 at 05:48:19PM +0100, Mikkel Krautz wrote: On Wed, 26 Jan 2005 08:40:10 -0800, Greg KH [EMAIL PROTECTED] wrote: Use a different email client, or attach the patches as plain text. Good luck,

[PATCH 2/3] TIGLUSB Cleanups

2005-01-26 Thread Mikkel Krautz
This removes the TIGLUSB-maintainers from the MAINTAINERS-file. Signed-off-by: Mikkel Krautz [EMAIL PROTECTED] --- MAINTAINERS |7 --- 1 files changed, 7 deletions(-) --- clean/MAINTAINERS +++ dirty/MAINTAINERS @@ -2178,13 +2178,6 @@ M: [EMAIL PROTECTED] S: Maintained -TI GRAPH LINK

[PATCH 1/3] TIGLUSB Cleanups

2005-01-26 Thread Mikkel Krautz
This removes the tiusb boot-parameter from kernel-parameters.txt. Signed-off-by: Mikkel Krautz [EMAIL PROTECTED] --- kernel-parameters.txt |3 --- 1 files changed, 3 deletions(-) --- clean/Documentation/kernel-parameters.txt +++ dirty/Documentation/kernel-parameters.txt @@ -1356,9 +1356,6

[PATCH] FUSE - better error reporting in fuse_fill_super

2005-01-26 Thread Miklos Szeredi
Andrew, This patch makes fuse_fill_super() return correct error value in case of OOM. Please apply. Thanks, Miklos Signed-off-by: Miklos Szeredi [EMAIL PROTECTED] diff -rup linux-2.6.11-rc2-mm1/fs/fuse/inode.c linux-fuse/fs/fuse/inode.c --- linux-2.6.11-rc2-mm1/fs/fuse/inode.c

Re: [RFC][PATCH 0/5] consolidate i386 NUMA init code

2005-01-26 Thread Dave Hansen
On Wed, 2005-01-26 at 06:37 -0800, Martin J. Bligh wrote: The following five patches reorganize and consolidate some of the i386 NUMA/discontigmem code. They grew out of some observations as we produced the memory hotplug patches. Only the first one is really necessary, as it makes the

Re: [RFC][PATCH 0/5] consolidate i386 NUMA init code

2005-01-26 Thread Martin J. Bligh
Built on all the i386 configs here: http://sr71.net/patches/2.6.11/2.6.11-rc1-mm1-mhp1/configs/ Booted on x440 (summit and generic), numaq, 4-way PIII. I would imagine that any problem would manifest as the system simply not booting. The most likely to fail would be systems with DISCONTIG

Re: don't let mmap allocate down to zero

2005-01-26 Thread linux-os
On Wed, 26 Jan 2005, Olivier Galibert wrote: On Wed, Jan 26, 2005 at 11:38:15AM -0500, linux-os wrote: On Wed, 26 Jan 2005, Rik van Riel wrote: With some programs the 2.6 kernel can end up allocating memory at address zero, for a non-MAP_FIXED mmap call! This causes problems with some programs

Re: 2.6.11-rc2-mm1: SuperIO scx200 breakage

2005-01-26 Thread Adrian Bunk
On Wed, Jan 26, 2005 at 07:38:48PM +0300, Evgeniy Polyakov wrote: ... Btw, where was comments about w1, kernel connector and acrypto? They were presented several times in lkml and all are completely new subsystems. Should I stop developing just because I did not get comments? ... I sent you

Re: don't let mmap allocate down to zero

2005-01-26 Thread Bryn Reeves
On Wed, 2005-01-26 at 17:34, Chris Friesen wrote: linux-os wrote: Does this mean that we can't mmap the screen regen buffer at 0x000b8000 anymore? How do I look at the real-mode interrupt table starting at offset 0? You know that the return value of mmap is to be checked for

Re: [ck] [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU feature, -D7

2005-01-26 Thread Cal
Jack O'Quin wrote: I notice that JACK's call to mlockall() is failing. This is one difference between your system and mine (plus, my machine is UP). As an experiment, you might try testing with `ulimit -l unlimited'. I went for the panic retraction on the first report when I saw the failures

Re: don't let mmap allocate down to zero

2005-01-26 Thread Olivier Galibert
On Wed, Jan 26, 2005 at 11:38:15AM -0500, linux-os wrote: On Wed, 26 Jan 2005, Rik van Riel wrote: With some programs the 2.6 kernel can end up allocating memory at address zero, for a non-MAP_FIXED mmap call! This causes problems with some programs and is generally rude to do. This simple

Re: 2.6.11-rc2-mm1: SuperIO scx200 breakage

2005-01-26 Thread Adrian Bunk
On Wed, Jan 26, 2005 at 01:59:17PM +0300, Evgeniy Polyakov wrote: On Wed, 2005-01-26 at 10:14 +, Christoph Hellwig wrote: On Wed, Jan 26, 2005 at 01:35:56AM +0300, Evgeniy Polyakov wrote: I have one rule - if noone answers that it means noone objects, or it is not interesting for

RE: PCI Express MSI in kernel 2.4 ?

2005-01-26 Thread Nguyen, Tom L
On Tuesday, January 25, 2005 10:59 PM Philippe Marteau wrote: I saw that there is an implementation of MSI in the Linux kernel 2.6 stream. Is there a possibility to port this in the 2.4 kernel tree (we are at this time using 2.4.17) ? Is this already foreseen and planned and when ? There

Re: make flock_lock_file_wait static

2005-01-26 Thread Arjan van de Ven
On Wed, 2005-01-26 at 08:07 -0800, Paul E. McKenney wrote: Another question: is the SDD module even available for mainline kernels, or is it only available for distribution kernels ? Distributions only. don't you think it's a bit weird/offensive to ask for exports in the mainline

Re: porting Linux to a virtual machine

2005-01-26 Thread Chris Wright
* Robert W. Fuller ([EMAIL PROTECTED]) wrote: Has anybody ported Linux to a virtual machine? Does anybody have any pointers aside from the lkml's abbreviated FAQ entry concering porting to a new processor? What would be the best way of going about this? Is there a supported architecture

Re: 2.6.11-rc2/ext3 quota allocation bug on error path ...

2005-01-26 Thread Andrew Morton
Andreas Gruenbacher [EMAIL PROTECTED] wrote: +cleanup_dquot: + DQUOT_FREE_BLOCK(inode, 1); + goto cleanup; + bad_block: ext3_error(inode-i_sb, __FUNCTION__, inode %ld: bad block %d, inode-i_ino, looks good. Can this please be added? Yup. But nobody

Re: [PATCH] unexport register_cpu and unregister_cpu

2005-01-26 Thread Keshavamurthy Anil S
On Wed, Jan 26, 2005 at 01:10:30PM -0600, Nathan Lynch wrote: On Wed, 2005-01-26 at 10:22 -0800, Keshavamurthy Anil S wrote: On Wed, Jan 26, 2005 at 12:55:47AM -0600, Nathan Lynch wrote: http://linus.bkbits.net:8080/linux-2.5/[EMAIL

<    1   2   3   4   5   6   >