RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Arjan van de Ven
On Tue, 2005-03-08 at 18:08 -0500, Bagalkote, Sreenivas wrote: I will make this an instance parameter if the idea to reduce as many global variables as possible. But if the objection is because each adapter may have different value for variable, then it is indeed a global value. is_dma64 -

Re: [PATCH] VGA arbitration: draft of kernel side

2005-03-09 Thread Benjamin Herrenschmidt
Ok, here's today status. I posted the patch at http://gate.crashing.org/~benh/vga-arbiter.diff. I fixed some issues added support for nesting locks, I added comments/documentation to kernel interface. It's not tested yet. It's not complete neither, the userland interface is partially implemented

[PATCH] Automatically append a semi-random version for BK users

2005-03-09 Thread Ryan Anderson
Automatically append a semi-random version if the tree we're building isn't tagged in BitKeeper and CONFIG_LOCALVERSION_AUTO is set. This fixes the case when Linus (or someone else) does a release and tags it, someone else does a build of that release tree (i.e, 2.6.11), and installs it. Later,

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

2005-03-09 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

Re: Linux 2.6.11.2

2005-03-09 Thread Greg KH
diff -Nru a/Makefile b/Makefile --- a/Makefile 2005-03-09 00:13:29 -08:00 +++ b/Makefile 2005-03-09 00:13:29 -08:00 @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 11 -EXTRAVERSION = .1 +EXTRAVERSION = .2 NAME=Woozy Numbat # *DOCUMENTATION* diff -Nru a/fs/eventpoll.c

Linux 2.6.11.2

2005-03-09 Thread Greg KH
And to further test this whole -stable system, I've released 2.6.11.2. It contains one patch, which is already in the -bk tree, and came from the security team (hence the lack of the longer review cycle). It's available now in the normal kernel.org places:

problem in adding a new element to task_struct

2005-03-09 Thread selvakumar nagendran
I want to add a linked list member(list_head) to the task_struct data structure in kernel 2.4.28 for my personal work. When I added them without initializing them in INIT_TASK, no problem occurred. But when I initialized the linked list member using LIST_INIT_HEAD the kernel stops in POSIX

[PATCH] Security contact info

2005-03-09 Thread Chris Wright
Add security contact info and relevant documentation. Signed-off-by: Chris Wright [EMAIL PROTECTED] MAINTAINERS|5 + REPORTING-BUGS |4 Documentation/SecurityBugs | 38 ++ 3 files changed, 47 insertions(+) =

Re: Strange memory leak in 2.6.x

2005-03-09 Thread Tobias Hennerich
Hello, On Tue, Mar 08, 2005 at 05:38:11PM -0800, Andrew Morton wrote: we kindly ask for some suggestions about how to trace a memory leak which we suspect in the linux kernel version 2.6: Please grab 2.6.11, apply the below patch, set CONFIG_PAGE_OWNER and follow the below instructions.

Re: [Linux-fbdev-devel] [announce 0/7] fbsplash - The Framebuffer Splash

2005-03-09 Thread Geert Uytterhoeven
On Wed, 9 Mar 2005, Jon Smirl wrote: Another idea would be to build a console is user space. Think of it as a full screen xterm. A user space console has access to full hardware acceleration using the DRM interface. Yep. And that's what Alan Cox wanted to do. Console in userspace, eye candy

BK-kernel-tools/shortlog update

2005-03-09 Thread Matthias Andree
Hello Linus, you can either use bk receive to patch with this mail, or you can Pull from: bk://krusty.dt.e-technik.uni-dortmund.de/BK-kernel-tools or in cases of dire need, you can apply the patch below. BK: Parent repository is http://bktools.bkbits.net/bktools Patch description: [EMAIL

Re: [PATCH] 2.6.10 - direct-io async short read bug

2005-03-09 Thread Sébastien Dugué
Le mardi 08 mars 2005 à 20:07 -0800, Joel Becker a écrit : On Tue, Mar 08, 2005 at 03:54:04PM -0800, Badari Pulavarty wrote: 1. return EINVAL if the DIO goes past EOF. 2. truncate the request to file size (which is what your patch does) and if it works, it works. 3.

Re: Linux 2.6.11.2

2005-03-09 Thread Marcos D. Marado Torres
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 9 Mar 2005, Greg KH wrote: which is a patch against the 2.6.11.1 release. If consensus arrives that this patch should be against the 2.6.11 tree, it will be done that way in the future. IMHO it sould be against 2.6.11 and not 2.6.11.1, like

Re: select(2), usbserial, tty's and disconnect

2005-03-09 Thread Joerg Pommnitz
Robert Hancock wrote: There was discussion at one point about doing a tty_hangup() when the USB device was disconnected (this causes the read() to return with 0 bytes and future open attempts to fail), and a patch was put out to do this. I thought this had been merged, but I could be

Re: [RFC] -stable, how it's going to work.

2005-03-09 Thread Andi Kleen
Greg KH [EMAIL PROTECTED] writes: Rules on what kind of patches are accepted, and what ones are not, into the -stable tree: - It must be obviously correct and tested. - It can not bigger than 100 lines, with context. This rule seems silly. What happens when a security fix needs 150 lines?

mounting and unmounting of /proc filesystem

2005-03-09 Thread sounak chakraborty
hi which file and function inside the kernel (is called) during the mounting of proc file system while system startup. Is it do_mount? And in which function does the unmounting of the proc file system during shutdown thanks sounak

Re: Linux 2.6.11.2

2005-03-09 Thread Geert Uytterhoeven
On Wed, 9 Mar 2005, Marcos D. Marado Torres wrote: On Wed, 9 Mar 2005, Greg KH wrote: which is a patch against the 2.6.11.1 release. If consensus arrives that this patch should be against the 2.6.11 tree, it will be done that way in the future. IMHO it sould be against 2.6.11 and not

Re: select(2), usbserial, tty's and disconnect

2005-03-09 Thread Joerg Pommnitz
Robert Hancock wrote: I thought this (hangup on remove [jpo]) had been merged, but I could be wrong. I just checked bitkeeper. The patch went in some time ago: 4 months eolson 1.126 usb-serial: add tty_hangup on disconnect Regards Joerg

Re: [RFC] -stable, how it's going to work.

2005-03-09 Thread Arjan van de Ven
On Wed, 2005-03-09 at 10:56 +0100, Andi Kleen wrote: One rule I'm missing: - It must be accepted to mainline. I absolutely agree with Andi on this one. If a mainline patch violates too many of your other rules (Fixes one thing; doesn't do cosmetic changes etc.) perhaps the mainline

Re: [RFC] -stable, how it's going to work.

2005-03-09 Thread Russell King
On Wed, Mar 09, 2005 at 11:10:59AM +0100, Arjan van de Ven wrote: On Wed, 2005-03-09 at 10:56 +0100, Andi Kleen wrote: One rule I'm missing: - It must be accepted to mainline. I absolutely agree with Andi on this one. What about the case (as highlighted in previous discussions)

Re: Linux 2.6.11.2

2005-03-09 Thread Marcos D. Marado Torres
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 9 Mar 2005, Geert Uytterhoeven wrote: which is a patch against the 2.6.11.1 release. If consensus arrives that this patch should be against the 2.6.11 tree, it will be done that way in the future. IMHO it sould be against 2.6.11 and not

Re: Linux 2.6.11.2

2005-03-09 Thread Dominik Karall
On Wednesday 09 March 2005 11:04, Geert Uytterhoeven wrote: On Wed, 9 Mar 2005, Marcos D. Marado Torres wrote: On Wed, 9 Mar 2005, Greg KH wrote: which is a patch against the 2.6.11.1 release. If consensus arrives that this patch should be against the 2.6.11 tree, it will be done that

Re: [PATCH] VGA arbitration: draft of kernel side

2005-03-09 Thread Pekka Enberg
Hi Benjamin, On Tue, 2005-03-08 at 22:29 +0100, Kronos wrote: kfree(NULL) is fine, no need to check for null pointer. On Wed, 09 Mar 2005 09:46:20 +1100, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: Hehe, yes, but I don't like it :) Please consider doing that anyway as there are ongoing

Re: [RFC] -stable, how it's going to work.

2005-03-09 Thread Arjan van de Ven
On Wed, 2005-03-09 at 10:17 +, Russell King wrote: On Wed, Mar 09, 2005 at 11:10:59AM +0100, Arjan van de Ven wrote: On Wed, 2005-03-09 at 10:56 +0100, Andi Kleen wrote: One rule I'm missing: - It must be accepted to mainline. I absolutely agree with Andi on this one.

RE: Writing data PAGESIZE into kernel with proc fs

2005-03-09 Thread Weber Matthias
On Tue, Mar 08, 2005 at 20:05:42 +0100, Weber Matthias wrote: is there any chance to signal an EOF when writing data to kernel via proc fs? Actually if the length of data is N*PAGE_SIZE it seems not to be detectable. I followed up the struct file but haven't found anything that helped...

Re: [PATCH 1/2] BDI: Provide backing device capability information [try #3]

2005-03-09 Thread David Howells
Andrew Morton [EMAIL PROTECTED] wrote: The attached patch replaces backing_dev_info::memory_backed with capabilitied bitmap. Looks sane to me, thanks. I hope you got all the conversions correct - breakage in the writeback dirty accounting manifests in subtle ways. I'll double-check

Re: Linux 2.6.11.2

2005-03-09 Thread Marcos D. Marado Torres
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 9 Mar 2005, Dominik Karall wrote: which is a patch against the 2.6.11.1 release. If consensus arrives that this patch should be against the 2.6.11 tree, it will be done that way in the future. IMHO it sould be against 2.6.11 and not 2.6.11.1,

Re: [RFC] -stable, how it's going to work.

2005-03-09 Thread Russell King
On Wed, Mar 09, 2005 at 11:24:58AM +0100, Arjan van de Ven wrote: On Wed, 2005-03-09 at 10:17 +, Russell King wrote: What about the case (as highlighted in previous discussions) that the stable tree needs a simple dirty fix, whereas mainline takes the complex clean fix? that's the

Re: Bug: ll_rw_blk.c, elevator.c and displaying default IO Schedule r at boot-time (Cosmetic only)

2005-03-09 Thread Jens Axboe
On Wed, Mar 09 2005, Roberts-Thomson, James wrote: Hi, I've been trying to investigate an IO performance issue on my machine, as part of this I've noticed what is (presumably only a cosmetic) issue with the messages displayed at kernel boot-time. In the good old days (i.e. older 2.6.x

amd64 - ide_cd errors

2005-03-09 Thread Jeremy Huddleston
I have a dvd+-rw drive (LITE-ON DVDRW LDW-411S with FS0K firmware). The drive appears to opperate correctly. I can mount media, read from it, and burn just fine, but printk output indicates some error. 2.6.10: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } hdc: packet

2.6.11-ck2

2005-03-09 Thread Con Kolivas
These are patches designed to improve system responsiveness. It is configurable to any workload but the default ck* patch is aimed at the desktop and ck*-server is available with more emphasis on serverspace. http://ck.kolivas.org/patches/2.6/2.6.11/2.6.11-ck2/patch-2.6.11-ck2.bz2 web:

Re: Random number generator in Linux kernel

2005-03-09 Thread selvakumar nagendran
I think ur idea of generating a random number with a seed will not be effective. The kernel comes up with true random number generation by using the random interaction of device drivers with the kernel. I think that will be more effective than ur logic. It provides true randomness and it

Re: [PATCH] VGA arbitration: draft of kernel side

2005-03-09 Thread Pekka Enberg
Hi Benjamin, Few coding style nitpicks follow. On Tue, 08 Mar 2005 18:11:59 +1100, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: Index: linux-work/include/linux/pci.h === --- linux-work.orig/include/linux/pci.h 2005-01-24

Re: Linux 2.6.11.2

2005-03-09 Thread Geert Uytterhoeven
On Wed, 9 Mar 2005, Marcos D. Marado Torres wrote: On Wed, 9 Mar 2005, Geert Uytterhoeven wrote: which is a patch against the 2.6.11.1 release. If consensus arrives that this patch should be against the 2.6.11 tree, it will be done that way in the future. IMHO it sould be

serial console messup during boot

2005-03-09 Thread Paul Slootman
With 2.6 kernels we've noticed that there's a period during booting that the serial console output is messed up. Most probable cause is a wrong baud rate. This is on Dell rackmount servers, with the serial console running at 115200 baud. The BIOS works fine, GRUB works fine, the first part of the

Re: Linux 2.6.11.2

2005-03-09 Thread Adrian Bunk
On Wed, Mar 09, 2005 at 10:28:32AM +, Marcos D. Marado Torres wrote: With that full tarball for 2.6.11.X the issues would be over. I think there should be one. It's already there Marado cu Adrian -- Is there not promise of rain? Ling Tan asked suddenly out of the

Re: aio stress panic on 2.6.11-mm1

2005-03-09 Thread Suparna Bhattacharya
Any sense of how costly it is to use spin_lock_irq's vs spin_lock (across different architectures) ? Isn't rwsem used very widely ? Regards Suparna On Wed, Mar 09, 2005 at 10:33:58AM +, David Howells wrote: Andrew Morton [EMAIL PROTECTED] wrote: If we want to take the spinlock from

Re: aio stress panic on 2.6.11-mm1

2005-03-09 Thread Andrew Morton
Suparna Bhattacharya [EMAIL PROTECTED] wrote: Any sense of how costly it is to use spin_lock_irq's vs spin_lock (across different architectures) ? Isn't rwsem used very widely ? It's only on the slow path, and we've already done a bunch of atomic ops and a schedule()/wakeup() anyway. - To

Re: aio stress panic on 2.6.11-mm1

2005-03-09 Thread Arjan van de Ven
On Wed, 2005-03-09 at 16:34 +0530, Suparna Bhattacharya wrote: Any sense of how costly it is to use spin_lock_irq's vs spin_lock (across different architectures) on x86 it makes a difference of maybe a few cycles. At most. However please consider using spin_lock_irqsave(); the _irq() variant,

Max size of writing to the proc file system

2005-03-09 Thread Kristian Sørensen
Hi all! What is the maximal data I can write to a /proc file? I write two kilo bytes, but buffer in the proc_write function only contains 1003 bytes :-(( Cheers, Kristian. -- Kristian Sørensen - The Umbrella Project -- Security for Consumer Electronics http://umbrella.sourceforge.net - To

Re: aio stress panic on 2.6.11-mm1

2005-03-09 Thread Arjan van de Ven
On Wed, 2005-03-09 at 16:34 +0530, Suparna Bhattacharya wrote: Any sense of how costly it is to use spin_lock_irq's vs spin_lock (across different architectures) ? Isn't rwsem used very widely ? oh also rwsems aren't used all that much simply because they are quite more expensive than regular

Re: Linux 2.6.11.2

2005-03-09 Thread Pavel Machek
On St 09-03-05 09:52:46, Marcos D. Marado Torres wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 9 Mar 2005, Greg KH wrote: which is a patch against the 2.6.11.1 release. If consensus arrives that this patch should be against the 2.6.11 tree, it will be done that way in the

Re: aio stress panic on 2.6.11-mm1

2005-03-09 Thread Andi Kleen
Suparna Bhattacharya [EMAIL PROTECTED] writes: Any sense of how costly it is to use spin_lock_irq's vs spin_lock (across different architectures) ? Isn't rwsem used very widely ? On P4s cli/sti is quite costly, let's says 100+ cycles. That is mostly because it synchronizes the CPU partly. The

Race against parent deletion in key_user_lookup()

2005-03-09 Thread Alexander Nyberg
I looked at some of the oops reports against keyrings, I think the problem is that the search isn't restarted after dropping the key_user_lock, *p will still be NULL when we get back to try_again and look through the tree. It looks like the intention was that the search start over from scratch.

Re: aio stress panic on 2.6.11-mm1

2005-03-09 Thread Andi Kleen
Arjan van de Ven [EMAIL PROTECTED] writes: On Wed, 2005-03-09 at 16:34 +0530, Suparna Bhattacharya wrote: Any sense of how costly it is to use spin_lock_irq's vs spin_lock (across different architectures) on x86 it makes a difference of maybe a few cycles. At most. However please consider

Re: Linux 2.6.11.2

2005-03-09 Thread Jesper Juhl
On Wed, 9 Mar 2005, Geert Uytterhoeven wrote: On Wed, 9 Mar 2005, Marcos D. Marado Torres wrote: On Wed, 9 Mar 2005, Geert Uytterhoeven wrote: which is a patch against the 2.6.11.1 release. If consensus arrives that this patch should be against the 2.6.11 tree, it will be done

Re: aio stress panic on 2.6.11-mm1

2005-03-09 Thread Andi Kleen
Arjan van de Ven [EMAIL PROTECTED] writes: On Wed, 2005-03-09 at 16:34 +0530, Suparna Bhattacharya wrote: Any sense of how costly it is to use spin_lock_irq's vs spin_lock (across different architectures) ? Isn't rwsem used very widely ? oh also rwsems aren't used all that much simply

Re: Bug: ll_rw_blk.c, elevator.c and displaying default IO Schedule r at boot-time (Cosmetic only)

2005-03-09 Thread Srihari Vijayaraghavan
Roberts-Thomson, James wrote: I've been trying to investigate an IO performance issue on my machine, as part of this I've noticed what is (presumably only a cosmetic) issue with the messages displayed at kernel boot-time. Agree, purely cosmetic. In the good old days (i.e. older 2.6.x kernel

Re: aio stress panic on 2.6.11-mm1

2005-03-09 Thread Andrew Morton
Arjan van de Ven [EMAIL PROTECTED] wrote: On Wed, 2005-03-09 at 16:34 +0530, Suparna Bhattacharya wrote: Any sense of how costly it is to use spin_lock_irq's vs spin_lock (across different architectures) on x86 it makes a difference of maybe a few cycles. At most. However please consider

[2.6 patch] OSS gameport fixes

2005-03-09 Thread Adrian Bunk
This patch adds dummy gameport_register_port, gameport_unregister_port and gameport_set_phys functions to gameport.h for the case when a driver can't use gameport. This fixes the compilation of some OSS drivers with GAMEPORT=n without the need to #if inside every single driver. This patch

Re: [Linux-fbdev-devel] [announce 0/7] fbsplash - The Framebuffer Splash

2005-03-09 Thread Pavel Machek
Hi! Fbsplash - The Framebuffer Splash - is a feature that allows displaying images in the background of consoles that use fbcon. The project is partially descended from bootsplash. What are you trying to do exactly? I really don't see the point of this patch. At least some Debians,

Application approval for linux-kernel-announce@vger.kernel.org Wed, 09 Mar 2005 03:45:56 -0800

2005-03-09 Thread [EMAIL PROTECTED]
Hello, We sent you an email a while ago, because you now qualify for a much lower rate based on the biggest rate drop in years. You can now get $327,000 for as little as $617 a month! Bad credit? Doesn't matter, low rates are fixed no matter what! Follow this link to process your application

Re: Logitech MX1000 Horizontal Scrolling

2005-03-09 Thread Esben Stien
Vojtech Pavlik [EMAIL PROTECTED] writes: I don't think I have a patch for the MX1000 among them. I do have the MX1000, though, and I'm still thinking about what to do with it. ;) The problem is that the mouse really does reports all the double-button stuff and autorepeat, and horizontal

Re: aio stress panic on 2.6.11-mm1

2005-03-09 Thread David Howells
Andrew Morton [EMAIL PROTECTED] wrote: spin_lock_irq() is OK for down_*(), since down() can call schedule() anyway. spin_lock_irqsave() should be used in up_*() and I guess down_*_trylock(), although the latter shouldn't need to go into the slowpath anyway. That's what I've done. I'm just

Race against parent deletion in key_user_lookup()

2005-03-09 Thread David Howells
I looked at some of the oops reports against keyrings, I think the problem is that the search isn't restarted after dropping the key_user_lock, *p will still be NULL when we get back to try_again and look through the tree. It looks like the intention was that the search start over from scratch.

Bad patch to schedule()

2005-03-09 Thread Andi Kleen
I just see that this patch went into mainline. [PATCH] posix-timers: high-resolution CPU clocks for POSIX clock_* syscalls This patch provides support for thread and process CPU time clocks in the /* + * This is called on clock ticks and on context switches. + * Bank in p-sched_time the

remap_page_range compile ERROR

2005-03-09 Thread Mukund JB.
Hi all, I am running Redhat 9 Linux. I have problem with compiling the i810fb driver downloaded from Sourceforge site. I have D/W the i810fb patch linux-i810fb-0.0.35.tar.bz2. When I run the make modules I get the following ERROR i810_main.c: 643: warning: passing arg 1 of

[PATCH] rwsem: Make rwsems use interrupt disabling spinlocks

2005-03-09 Thread David Howells
The attached patch makes read/write semaphores use interrupt disabling spinlocks, thus rendering the up functions and trylock functions available for use in interrupt context. I've assumed that the normal down functions must be called with interrupts enabled (since they might schedule), and used

Re: RFD: Kernel release numbering

2005-03-09 Thread szonyi calin
--- Jeff Garzik [EMAIL PROTECTED] a écrit : Tangent: I would like to see requests-for-testing for FC kernels on LKML. If people announce -ac/-as/-aa/-ck/etc. kernels on LKML, why not distro kernels? Because some people switched to other distribution also because of the

Re: remap_page_range compile ERROR

2005-03-09 Thread linux-os
On Wed, 9 Mar 2005, Mukund JB. wrote: Hi all, I am running Redhat 9 Linux. I have problem with compiling the i810fb driver downloaded from Sourceforge site. I have D/W the i810fb patch linux-i810fb-0.0.35.tar.bz2. When I run the make modules I get the following ERROR i810_main.c: 643: warning:

Re: Linux 2.6.11.2

2005-03-09 Thread Andy Whitcroft
which is a patch against the 2.6.11.1 release. If consensus arrives that this patch should be against the 2.6.11 tree, it will be done that way in the future. It seems to me that we have V (delta?) and VI (delta incremental) for all the other kernel patch series. So perhaps we could have both,

Re: remap_page_range compile ERROR

2005-03-09 Thread Arjan van de Ven
Please suggest me what could be the problem. the problem is that you are using a way way way too old kernel. I suggest you fix that first - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Problem with DCE with Kernel Patch

2005-03-09 Thread Singal, Manoj Kumar (STSD)
Hello, While installing DCE 0.1.13 on RH Linux AS 2.1 Kernel 2.4.18-e.54smp running on Itanium, the system hangs and becomes unbootable. It then has to be started in single user mode, the dce rpm has to be removed and then booted. This happens with kernel patch 52/54. Has anyone faced a

Re: inconsistent kallsyms data [2.6.11-mm2]

2005-03-09 Thread Paulo Marques
Dominik Brodowski wrote: On Tue, Mar 08, 2005 at 12:35:54PM -0800, Andrew Morton wrote: Dominik Brodowski [EMAIL PROTECTED] wrote: compiling -mm2 on my x86 box results in: SYSMAP .tmp_System.map Inconsistent kallsyms data Try setting CONFIG_KALLSYMS_EXTRA_PASS make: *** [vmlinux] Fehler 1

Re: Adaptec 29160 + Promise Ultratrak100 TX8 problems

2005-03-09 Thread Maarten de Boer
Does it work correctly under any other kernel versions? If so, which? I just tried with 2.4.29, and it has the same problems. Maarten - 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: a problem with linux 2.6.11 and sa

2005-03-09 Thread Nix
On Tue, 8 Mar 2005, George Georgalis announced authoritatively: Here's what I'm doing that is broken. I use tcpserver (functionally similar to inetd) to receive an incoming smtp connection. While the smtp session is still open, the message is piped to a temp file which is then scanned for

Re: [RFC] ext3/jbd race: releasing in-use journal_heads

2005-03-09 Thread Stephen C. Tweedie
Hi, On Tue, 2005-03-08 at 15:12, Jan Kara wrote: Isn't also the following scenario dangerous? __journal_unfile_buffer(jh); journal_remove_journal_head(bh); It depends. I think the biggest problem here is that there's really no written rule protecting this stuff universally. But in

Re: Problem with DCE with Kernel Patch

2005-03-09 Thread Arjan van de Ven
On Wed, 2005-03-09 at 18:21 +0530, Singal, Manoj Kumar (STSD) wrote: Hello, While installing DCE 0.1.13 on RH Linux AS 2.1 Kernel 2.4.18-e.54smp running on Itanium, the system hangs and becomes unbootable. It then has to be started in single user mode, the dce rpm has to be removed and then

Re: oom with 2.6.11

2005-03-09 Thread Mauricio Lin
Hi Christian, Could you check the mm/oom_kill.c for your kernel 2.6.11-rc3? During the 2.6.11-rc development, the oom killer was changed by Andrea Arcangeli. I do not remember exactly which was the version that this modification was included, perhaps in kernel 2.6.11-rc4. Now this oom killer

Re: Adaptec 29160 + Promise Ultratrak100 TX8 problems

2005-03-09 Thread Maarten de Boer
Hello, I just connected an Ultratrak SX8000 instead of the Ultratrak100 TX8, and it seems to work without a problem... Maarten - 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: size of /proc/kcore grows?

2005-03-09 Thread Christian Kujau
Tony Luck wrote: Take a look at the driver (fs/proc/kcore.c) that creates this pseudo-file. will do ;) Initially the size of the file is set from the size of your memory. Reading the file has the side-effect of setting up the ELF headers to make this look like an ELF file ... in fact a

Re: OOM with 2.6.11

2005-03-09 Thread Christian Kujau
...replying to myself: it happened again! switched back to 2.6.11-rc5-bk2, details will follow. thanks, Christian. -- BOFH excuse #311: transient bus protocol violation - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

I/O and Memory accounting...

2005-03-09 Thread Guillaume Thouvenin
Hello, In the ChangeLog-2.6.11 file I read that the enhanced I/O accounting data patch and the enhanced memory accounting data collection patch were added. It's cool but I don't see how this stuff is used because information is never dump in a file or send to an accounting application (or I

Re: [RFC] ext3/jbd race: releasing in-use journal_heads

2005-03-09 Thread Jan Kara
On Tue, 2005-03-08 at 15:12, Jan Kara wrote: Isn't also the following scenario dangerous? __journal_unfile_buffer(jh); journal_remove_journal_head(bh); It depends. I think the biggest problem here is that there's really no written rule protecting this stuff universally. But

Questions relating page descriptor

2005-03-09 Thread Xeon Cathrine
Hi, I have some questions regarding the page descriptors in the linux kernel with discontig memory support. According to my understanding memory for page descriptors is allocated from the bootmem allocator and that for pg_dat_t structure comes from the node_remap_start addr. So the first

Re: oom with 2.6.11

2005-03-09 Thread Mauricio Lin
Hi Christian, I found the 2.6.11-rc3 patch. The oom killer modification from Arcangeli was included in 2.6.11-rc3. Right? So this is correct, so the problem is not related to Arcangeli modification. Does anyone have idea? BR, Mauricio Lin. On Wed, 9 Mar 2005 09:18:31 -0400, Mauricio Lin

Re: oom with 2.6.11

2005-03-09 Thread Christian Kujau
Mauricio Lin wrote: Hi Christian, I found the 2.6.11-rc3 patch. The oom killer modification from Arcangeli was included in 2.6.11-rc3. Right? So this is correct, so the problem is not related to Arcangeli modification. Does anyone have idea? hi Mauricio, thank you for your answers, but

make menuconfig creates erronous config for 386

2005-03-09 Thread Gustav Lidberg
Hi There is a bug in make menuconfig. If one chooses 386 or 486 for cpu type, CONFIG_X86_TSC=y is set in .config. This creates a kernel that is unbootable on 386. Testing shows that it worked in 2.4.19, but is broken from 2.4.20 onwards. Someone should definetely look into this. (I'm not

Re: [Fastboot] Re: Query: Kdump: Core Image ELF Format

2005-03-09 Thread Eric W. Biederman
Vivek Goyal [EMAIL PROTECTED] writes: On Tue, 2005-03-08 at 11:00 -0700, Eric W. Biederman wrote: That sounds good. But we loose the advantage of doing limited debugging with gdb. Crash (or other analysis tools) will still take considerable amount of time before before they are fully ready

Average power consumption in S3?

2005-03-09 Thread Moritz Muehlenhoff
Hi, I'm using an IBM Thinkpad X31. With stock 2.6.11 and the additional radeontool to power-off the backlight in suspend, S3 works very well and reliable. During S3 I've measured a power consumption of 1400 to 1500 mWh (using 512 megabytes of RAM). Is there still room for optimization? What's the

Re: 2.6.11 low latency audio test results

2005-03-09 Thread K.R. Foley
Lee Revell wrote: OK, I have run some simple tests with JACK, Hydrogen, and 2.6.11. 2.6.11 does not seem to be much of an improvement over 2.6.10. It may in fact be slightly worse. This was what I expected, as it appears that a number of latency fixes in the VM got preempted by the 4-level page

Re: about interrupt latency

2005-03-09 Thread Francesco Oppedisano
On Tue, 8 Mar 2005 14:03:21 -0500 (EST), linux-os You can't measure interrupt latency that way even though you may get the correct answer! Why do you think the technique is not valid? Make a simple module that uses IRQ7, the printer-port interrupt. Inside your ISR, you toggle one of the

badness in interruptible_sleep_on_timeout FC-3 (source code and Makefile attached)

2005-03-09 Thread Srinivas G.
Dear All, I have developed a small module in Fedora Core 3 with 2.6.9-1.667 kernel version. This module uses the interruptible_sleep_on_timeout call and one proc entry in it. After inserting the module when I try to cat the /proc entry I got the following messages on the screen. jit_init

RE: [ANNOUNCE][PATCH 2.6.11 1/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
source drivers/scsi/megaraid/Kconfig.megaraid +source drivers/scsi/megaraid/Kconfig.megaraid_sas why a fully separate file and not add your ONE config option to Kconfig.megaraid instead ?? Arjan, I didn't want to needlessly couple megaraid and megaraid_sas. Since they are in

Re: Average power consumption in S3?

2005-03-09 Thread Matthew Garrett
Moritz Muehlenhoff [EMAIL PROTECTED] wrote: I'm using an IBM Thinkpad X31. With stock 2.6.11 and the additional radeontool to power-off the backlight in suspend, S3 works very well and reliable. During S3 I've measured a power consumption of 1400 to 1500 mWh (using 512 megabytes of RAM). Is

Re: aio stress panic on 2.6.11-mm1

2005-03-09 Thread Suparna Bhattacharya
On Wed, Mar 09, 2005 at 12:21:01PM +0100, Andi Kleen wrote: Arjan van de Ven [EMAIL PROTECTED] writes: On Wed, 2005-03-09 at 16:34 +0530, Suparna Bhattacharya wrote: Any sense of how costly it is to use spin_lock_irq's vs spin_lock (across different architectures) ? Isn't rwsem used very

badness in interruptible_sleep_on_timeout FC-3 (source code and Makefile attached)

2005-03-09 Thread Srinivas G.
Dear All, I have developed a small module in Fedora Core 3 with 2.6.9-1.667 kernel version. This module uses the interruptible_sleep_on_timeout call and one proc entry in it. After inserting the module when I try to cat the /proc entry I got the following messages on the screen. jit_init

Re: about interrupt latency

2005-03-09 Thread Francesco Oppedisano
On Tue, 8 Mar 2005 12:09:58 -0700 (MST), Zwane Mwaikambo [EMAIL PROTECTED] wrote: At some cpu frequency point on i386 the main cause of your interrupt service latency will be in the interrupt controller and how long from irq assertion to the signal being recognised, resultant vector being

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
I will make this an instance parameter if the idea to reduce as many global variables as possible. But if the objection is because each adapter may have different value for variable, then it is indeed a global value. is_dma64 - which is computed using the size of dma_addr_t - is telling

Re: [Fastboot] Re: Query: Kdump: Core Image ELF Format

2005-03-09 Thread Dipankar Sarma
On Wed, Mar 09, 2005 at 07:17:49AM -0700, Eric W. Biederman wrote: Vivek Goyal [EMAIL PROTECTED] writes: On Tue, 2005-03-08 at 11:00 -0700, Eric W. Biederman wrote: This also requires, setting the kernel virtual addresses while preparing the headers. KVA for linearly mapped region is

Re: [PATCH] 2.6.10 - direct-io async short read bug

2005-03-09 Thread Suparna Bhattacharya
On Tue, Mar 08, 2005 at 08:07:57PM -0800, Joel Becker wrote: On Tue, Mar 08, 2005 at 03:54:04PM -0800, Badari Pulavarty wrote: 1. return EINVAL if the DIO goes past EOF. 2. truncate the request to file size (which is what your patch does) and if it works, it works. 3.

Re: [RFC] ext3/jbd race: releasing in-use journal_heads

2005-03-09 Thread Stephen C. Tweedie
Hi, On Wed, 2005-03-09 at 13:28, Jan Kara wrote: Hmm. I see for example a place at jbd/commit.c, line 287 (which you did not change in your patch) which does this and doesn't seem to be protected against journal_unmap_buffer() (but maybe I miss something). Not that I'd find that race

[PATCH] Hotplug parallel ports

2005-03-09 Thread Russell King
This patch is against 2.6.11. The Mobility docking station provides a PCI-based parallel port. Since the docking station connects via Cardbus, such devices are removable. Therefore, track which parallel ports are registered to each PCI device, and remove them when the PCI device is

Re: a problem with linux 2.6.11 and sa

2005-03-09 Thread George Georgalis
On Wed, Mar 09, 2005 at 01:06:11PM +, Nix wrote: An interesting technique that allows a program (such as a log writer) to run as an unprivileged user, while receiving privileged data. (taken almost verbatim from Gerrit Pape's socklog) #!/bin/sh exec /proc/kmsg exec 21 exec softlimit

Re: Linux 2.6.11.2

2005-03-09 Thread Greg KH
On Wed, Mar 09, 2005 at 10:28:32AM +, Marcos D. Marado Torres wrote: On Wed, 9 Mar 2005, Dominik Karall wrote: which is a patch against the 2.6.11.1 release. If consensus arrives that this patch should be against the 2.6.11 tree, it will be done that way in the future. IMHO it

PPPD fails on recent 2.6.11-bk

2005-03-09 Thread Steven Cole
Last night, I did a bk pull from linux.bkbits.net/linux-2.6, built and rebooted, and the pppd (version 2.4.2) failed to start after the modem at the ISP end answered. I usually keep the kernel fairly up-to-date with bk, and I'm certain that 2.6.11-vanilla ran pppd just fine a few days earlier. I

Re: Writing data PAGESIZE into kernel with proc fs

2005-03-09 Thread Jan Hudec
On Wed, Mar 09, 2005 at 11:26:30 +0100, Weber Matthias wrote: On Tue, Mar 08, 2005 at 20:05:42 +0100, Weber Matthias wrote: is there any chance to signal an EOF when writing data to kernel via proc fs? Actually if the length of data is N*PAGE_SIZE it seems not to be detectable. I

Re: [ patch 4/7] drivers/serial/jsm: new serial device driver

2005-03-09 Thread Wen Xiong
Greg KH wrote: On Tue, Mar 08, 2005 at 01:55:33PM -0500, Wen Xiong wrote: +static ssize_t jsm_driver_boards_show(struct device_driver *ddp, char *buf) +{ + int adapter_count = 0; + adapter_count = jsm_total_boardnum(); + return snprintf(buf, PAGE_SIZE, %d\n, adapter_count); +} +static

Re: [PATCH] resync ATI PCI idents into base kernel

2005-03-09 Thread Alan Cox
On Maw, 2005-03-08 at 22:33, Christoph Hellwig wrote: Really - so does it go to the PCI maintainer, the IDE maintainer or the DRI maintainer or someone else, or all of them, or in bits to different ones remembering there are dependancies and I don't use bitcreeper ? If you don't know send

Re: [ patch 6/7] drivers/serial/jsm: new serial device driver

2005-03-09 Thread Wen Xiong
Greg KH wrote: On Tue, Mar 08, 2005 at 01:42:31PM -0500, Wen Xiong wrote: The following email I got from Scott Kilau in digi: Scott Kilau wrote: The DPA program is very old, and is shared among other drivers and OS's, so changing the code to read the sysfs instead of doing ioctls

  1   2   3   4   5   6   7   8   9   10   >