[patch 15/26] Dynamic kernel command-line - parisc

2007-01-18 Thread Bernhard Walle
1. Rename saved_command_line into boot_command_line. 2. Set command_line as __initdata. Signed-off-by: Alon Bar-Lev [EMAIL PROTECTED] --- arch/parisc/kernel/setup.c |8 arch/parisc/mm/init.c |4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) Index:

Re: [PATCH] nfs: fix congestion control

2007-01-18 Thread Peter Zijlstra
On Wed, 2007-01-17 at 16:54 -0500, Trond Myklebust wrote: On Wed, 2007-01-17 at 22:52 +0100, Peter Zijlstra wrote: Index: linux-2.6-git/fs/inode.c === --- linux-2.6-git.orig/fs/inode.c 2007-01-12

kernel 2.6.19 bug report -- atkbd.c:spurious ACK on isa.... when boot from SATA hd, no way to start system

2007-01-18 Thread Daniel Gonzalez Schiller
When boot with SATA HD -- atkbd.c:spurious ACK on isa0060/serio0. Some program might be trying access hardware directly. When booting with normal hd no problem. I've searched in changelog but nothing found. more people with this problem:

Re: [PATCH] Provide an interface to limit total page cache.

2007-01-18 Thread Pavel Machek
Hi! A patch provide a interface to limit total page cache in /proc/sys/vm/pagecache_ratio. The default value is 90 percent. Any feedback is appreciated. Are you sure percentage is right thing to use? 1% of 200GB machine is 2GB... granularity seems too big here. KB? parts per million?

Re: What does this scsi error mean ?

2007-01-18 Thread Olivier Galibert
On Mon, Jan 15, 2007 at 11:14:52PM +, Alan wrote: Both smart and the internal blade diagnostics say everything is a-ok with the drive, there hasn't been any error ever except a bunch of corrected ECC ones, and no more than with a similar drive in another working blade. Hence my

long disable of Softirqs in br_forward_delay_timer_expired()

2007-01-18 Thread Juergen Pfeiffer
Hi I had problems in my implementation of Profibus-protocol, because my FDL-State machine is implemented in tasklets and sometimes there were situations, where Soft-Irqs were disabled for 20-40mS (Coldfire 5485 / 96MHz). After inserting some testpoints in kernels source, doing dump_stack(),

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-18 Thread Russell King
On Thu, Jan 18, 2007 at 01:58:52PM +0100, Bernhard Walle wrote: 2. Set command_line as __initdata. You can't. -static char command_line[COMMAND_LINE_SIZE]; +static char __initdata command_line[COMMAND_LINE_SIZE]; Uninitialised data is placed in the BSS. Adding __initdata to BSS data causes

Re: kernel cmdline: root=/dev/sdb1,/dev/sda1 fallback?

2007-01-18 Thread Tomasz Chmielewski
Al Borchers wrote: Thomas Chmielewski wrote: These all unpleasant tasks could be avoided if it was possible to have a fallback device. For example, consider this hypothetical command line: root=/dev/sdb1,/dev/sda1 Here is a patch to do this, though it sounds like you might have other

Re: data corruption with nvidia chipsets and IDE/SATA drives (k8 cpu errata needed?)

2007-01-18 Thread Christoph Anton Mitterer
joachim wrote: Not only has it only been on Nvidia chipsets but we have only seen reports on the Nvidia CK804 SATA controller. Please write in or add yourself to the bugzilla entry [1] and tell us which hardware you have if you get 4kB pagesize corruption and it goes away with iommu=soft. How

[PATCH] rdmsr_on_cpu, wrmsr_on_cpu

2007-01-18 Thread Alexey Dobriyan
There was OpenVZ specific bug rendering some cpufreq drivers unusable on SMP. In short, when cpufreq code thinks it confined itself to needed cpu by means of set_cpus_allowed() to execute rdmsr, some virtual cpu feature can migrate process to anywhere. This triggers bugons and does wrong things in

Re: PROBLEM: writting files 100 MB in FAT32

2007-01-18 Thread Condor
On Thu, 2007-01-18 at 11:22 +0200, Condor wrote: Hello, [1.] Files if 100 MB saving in USB memory stick 4 GB with FAT32. While saving all files is broken. im sorry, i do not understand this. you are saying that if you copy files larger than 100mb into drive, all files die? No, only

Re: data corruption with nvidia chipsets and IDE/SATA drives (k8 cpu errata needed?)

2007-01-18 Thread Christoph Anton Mitterer
Erik Andersen wrote: I just tried again and while using iommu=soft does avoid the corruption problem, as with previous kernels with 2.6.20-rc5 using iommu=soft still makes my pcHDTV HD5500 DVB cards not work. I still have to disable memhole and lose 1 GB. :-( Please add this to the bugreport

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-18 Thread Alon Bar-Lev
On 1/18/07, Russell King [EMAIL PROTECTED] wrote: On Thu, Jan 18, 2007 at 01:58:52PM +0100, Bernhard Walle wrote: 2. Set command_line as __initdata. You can't. -static char command_line[COMMAND_LINE_SIZE]; +static char __initdata command_line[COMMAND_LINE_SIZE]; Uninitialised data is

Re: PATCH: Update disable_IO_APIC to use 8-bit destination field (X86_64)

2007-01-18 Thread Benjamin Romer
On Thu, 2007-01-18 at 13:30 +0530, Vivek Goyal wrote: On Thu, Jan 18, 2007 at 12:10:55AM -0700, Eric W. Biederman wrote: Vivek Goyal [EMAIL PROTECTED] writes: Or how about making physical_dest field also 8bit like logical_dest field. This will work both for 4bit and 8bit physical apic

Re: PROBLEM: writting files 100 MB in FAT32

2007-01-18 Thread OGAWA Hirofumi
Condor [EMAIL PROTECTED] writes: I no longer can make tests because i remove my fat32 from my usb stick and i put it in to FAT16 and i make the exact tests and file is worked but on fat16 not in fat32. I just report the problem, to be investigate from kernel developers. Could you send the

[PATCH] Centralize the macro definition of __packed.

2007-01-18 Thread Robert P. J. Day
Centralize the attribute macro definition of __packed so no subsystem has to do that explicitly. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- compile tested to make sure the HFS subsystem still builds. now there's just 50 gazillion usages of __attribute__((packed)) that can be

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-18 Thread Tomas Carnecky
Russell King wrote: On Thu, Jan 18, 2007 at 01:58:52PM +0100, Bernhard Walle wrote: -static char command_line[COMMAND_LINE_SIZE]; +static char __initdata command_line[COMMAND_LINE_SIZE]; Uninitialised data is placed in the BSS. Adding __initdata to BSS data causes grief. Static

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-18 Thread Russell King
On Thu, Jan 18, 2007 at 04:31:51PM +0100, Tomas Carnecky wrote: Russell King wrote: On Thu, Jan 18, 2007 at 01:58:52PM +0100, Bernhard Walle wrote: -static char command_line[COMMAND_LINE_SIZE]; +static char __initdata command_line[COMMAND_LINE_SIZE]; Uninitialised data is placed in

[PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable

2007-01-18 Thread Atsushi Nemoto
CARDBUS_MEM_SIZE was increased to 64MB on 2.6.20-rc2, but larger size might result in allocation failure for the reserving itself on some platforms (for example typical 32bit MIPS). Make it (and CARDBUS_IO_SIZE too) customizable for such platforms. Signed-off-by: Atsushi Nemoto [EMAIL PROTECTED]

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-18 Thread Alon Bar-Lev
On 1/18/07, Russell King [EMAIL PROTECTED] wrote: If you want to place a variable in a specific section, it must be explicitly initialised. Eg, static char __initdata command_line[COMMAND_LINE_SIZE] = ; However, there is a bigger question here: that is the tradeoff between making this

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

2007-01-18 Thread Alan Stern
On Thu, 18 Jan 2007, Ingo Molnar wrote: * Christoph Hellwig [EMAIL PROTECTED] wrote: I'll be happy to move this over to the utrace setting, once it is merged. Do you think it would be better to include the current version of kwatch now or to wait for utrace? Roland, is

Re: [RFC 7/8] Exclude unreclaimable pages from dirty ration calculation

2007-01-18 Thread Nikita Danilov
Christoph Lameter writes: Consider unreclaimable pages during dirty limit calculation Tracking unreclaimable pages helps us to calculate the dirty ratio the right way. If a large number of unreclaimable pages are allocated (through the slab or through huge pages) then write throttling

Re: [PATCH] nfs: fix congestion control

2007-01-18 Thread Trond Myklebust
On Thu, 2007-01-18 at 14:27 +0100, Peter Zijlstra wrote: On Wed, 2007-01-17 at 16:54 -0500, Trond Myklebust wrote: On Wed, 2007-01-17 at 22:52 +0100, Peter Zijlstra wrote: Index: linux-2.6-git/fs/inode.c ===

Linux kernel - TI 2430 does not boot in nand

2007-01-18 Thread Ram
Hi, Im using Linux 2.6.14-omap-2430ONLY linux which i downloaded for linux.omap.com (This kernel is a TI specific kernel maintained internally by TI) Im using a TI 2430 SDP board. This kernel, im able to boot in NOR flash, but not in NAND flash. However, im able to boot 2.6.19 in NOR

Re: [PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable

2007-01-18 Thread Ralf Baechle
On Fri, Jan 19, 2007 at 12:23:46AM +0900, Atsushi Nemoto wrote: CARDBUS_MEM_SIZE was increased to 64MB on 2.6.20-rc2, but larger size might result in allocation failure for the reserving itself on some platforms (for example typical 32bit MIPS). Make it (and CARDBUS_IO_SIZE too) customizable

Re: [PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable

2007-01-18 Thread Robert P. J. Day
On Thu, 18 Jan 2007, Ralf Baechle wrote: On Fri, Jan 19, 2007 at 12:23:46AM +0900, Atsushi Nemoto wrote: CARDBUS_MEM_SIZE was increased to 64MB on 2.6.20-rc2, but larger size might result in allocation failure for the reserving itself on some platforms (for example typical 32bit MIPS).

Re: [PATCH] Centralize the macro definition of __packed.

2007-01-18 Thread Robert P. J. Day
On Thu, 18 Jan 2007, Robert P. J. Day wrote: Centralize the attribute macro definition of __packed so no subsystem has to do that explicitly. ummm ... might want to ignore this submission, i want to do some tweaking first. sorry. rday - To unsubscribe from this list: send the line

Re: data corruption with nvidia chipsets and IDE/SATA drives (k8 cpu errata needed?)

2007-01-18 Thread Chris Wedgwood
On Thu, Jan 18, 2007 at 04:00:28AM -0700, Erik Andersen wrote: I just tried again and while using iommu=soft does avoid the corruption problem, as with previous kernels with 2.6.20-rc5 using iommu=soft still makes my pcHDTV HD5500 DVB cards not work. i would file a separate bug about that,

Re: data corruption with nvidia chipsets and IDE/SATA drives (k8 cpu errata needed?)

2007-01-18 Thread Chris Wedgwood
On Thu, Jan 18, 2007 at 10:29:14AM +0100, joachim wrote: Not only has it only been on Nvidia chipsets but we have only seen reports on the Nvidia CK804 SATA controller. People have reported problems with other controllers. I have one here I can test given a day or so. I don't think it's SATA

unable to mmap /dev/kmem

2007-01-18 Thread Nadia Derbey
Hi there, Trying to mmap /dev/kmem with an offset I take from /boot/System.map, I get an EIO error on a 2.6.20-rc4. This is something that used to work on older kernels. Had a look at mmap_kmem() in drivers/char/mem.c, and I'm wondering whether pfn is correctly computed there: shouldn't we

Re: [PATCH] Centralize the macro definition of __packed.

2007-01-18 Thread Tim Schmielau
On Thu, 18 Jan 2007, Robert P. J. Day wrote: Centralize the attribute macro definition of __packed so no subsystem has to do that explicitly. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- compile tested to make sure the HFS subsystem still builds. now there's just 50

[patch 01/26] Dynamic kernel command-line - common

2007-01-18 Thread Bernhard Walle
1. Rename saved_command_line into boot_command_line, mark as init disposable. 2. Add dynamic allocated saved_command_line. 3. Add dynamic allocated static_command_line. 4. During startup copy: boot_command_line into saved_command_line. arch command_line into static_command_line. 5. Parse

Realtime-preemption for 2.6.20-rc5 ?

2007-01-18 Thread Sunil Naidu
Hi Ingo, I would like to try with patch-2.6.20-rc5-rt7 for an experiment to measure the latency. Is there any documentation or help which talks about patching, issues, and latency benchmarks? ~Akula2 - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: Realtime-preemption for 2.6.20-rc5 ?

2007-01-18 Thread Ingo Molnar
* Sunil Naidu [EMAIL PROTECTED] wrote: Hi Ingo, I would like to try with patch-2.6.20-rc5-rt7 for an experiment to measure the latency. Is there any documentation or help which talks about patching, issues, and latency benchmarks? the best place to start is: http://rt.wiki.kernel.org

Re: [PATCH 1/2] Consolidate bust_spinlocks()

2007-01-18 Thread Alexey Dobriyan
On Thu, Jan 18, 2007 at 12:39:25PM +0100, Martin Schwidefsky wrote: NACK for the s390 part. lib/bust_spinlocks.c does an unblank_screen if CONFIG_VT is defined. That is not good enough for s390 because we do not have CONFIG_VT nor unblank_screen but still require that console_unblank is

Re: A question about break and sysrq on a serial console (2.6.19.1)

2007-01-18 Thread Brian Beattie
On Thu, 2007-01-18 at 16:47 +, Russell King wrote: On Thu, Jan 18, 2007 at 08:19:47AM -0800, Brian Beattie wrote: On Thu, 2007-01-18 at 09:13 +, Russell King wrote: On Wed, Jan 17, 2007 at 03:56:54PM -0800, Brian Beattie wrote: I'm trying to do a SYSRQ over a serial console. As

[PATCH] Print number of oopses in Sysrq-P output

2007-01-18 Thread Alexey Dobriyan
From: Pavel Emelianov [EMAIL PROTECTED] Useful in deciding whether said output should be ignored in absence of other info. :) Signed-off-by: Pavel Emelianov [EMAIL PROTECTED] Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED] --- arch/i386/kernel/process.c |4 +++- arch/i386/kernel/traps.c

Re: [PATCH] Centralize the macro definition of __packed.

2007-01-18 Thread Robert P. J. Day
On Thu, 18 Jan 2007, Tim Schmielau wrote: On Thu, 18 Jan 2007, Robert P. J. Day wrote: Centralize the attribute macro definition of __packed so no subsystem has to do that explicitly. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- compile tested to make sure the HFS

Re: [PATCH] Centralize the macro definition of __packed.

2007-01-18 Thread Tim Schmielau
On Thu, 18 Jan 2007, Robert P. J. Day wrote: actually, it *appears* that the standard works this way. the macro __deprecated is defined in compiler-gcc.h with: #define __deprecated __attribute__((deprecated)) while the more generic compiler.h handles whether or not it was defined:

Re: A question about break and sysrq on a serial console (2.6.19.1)

2007-01-18 Thread Russell King
On Thu, Jan 18, 2007 at 08:52:49AM -0800, Brian Beattie wrote: On Thu, 2007-01-18 at 16:47 +, Russell King wrote: On Thu, Jan 18, 2007 at 08:19:47AM -0800, Brian Beattie wrote: On Thu, 2007-01-18 at 09:13 +, Russell King wrote: On Wed, Jan 17, 2007 at 03:56:54PM -0800, Brian

Re: [PATCH] Centralize the macro definition of __packed.

2007-01-18 Thread Robert P. J. Day
On Thu, 18 Jan 2007, Tim Schmielau wrote: On Thu, 18 Jan 2007, Robert P. J. Day wrote: actually, it *appears* that the standard works this way. the macro __deprecated is defined in compiler-gcc.h with: #define __deprecated __attribute__((deprecated)) while the more generic

Re: PATCH: Update disable_IO_APIC to use 8-bit destination field (X86_64)

2007-01-18 Thread Benjamin Romer
On Thu, 2007-01-18 at 13:30 +0530, Vivek Goyal wrote: On Thu, Jan 18, 2007 at 12:10:55AM -0700, Eric W. Biederman wrote: Vivek Goyal [EMAIL PROTECTED] writes: Or how about making physical_dest field also 8bit like logical_dest field. This will work both for 4bit and 8bit physical apic

[PATCH] extend the set of __attribute__ shortcut macros

2007-01-18 Thread Robert P. J. Day
Extend the set of __attribute__ shortcut macros, and remove identical (and now superfluous) definitions from a couple of source files. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- based on a page at robert love's blog: http://rlove.org/log/2005102601 extend the set of

Re: [PATCH] Print number of oopses in Sysrq-P output

2007-01-18 Thread Erik Mouw
On Thu, Jan 18, 2007 at 08:05:22PM +0300, Alexey Dobriyan wrote: From: Pavel Emelianov [EMAIL PROTECTED] Useful in deciding whether said output should be ignored in absence of other info. :) Signed-off-by: Pavel Emelianov [EMAIL PROTECTED] Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED]

Re: [PATCH] extend the set of __attribute__ shortcut macros

2007-01-18 Thread Ralf Baechle
On Thu, Jan 18, 2007 at 12:35:18PM -0500, Robert P. J. Day wrote: Extend the set of __attribute__ shortcut macros, and remove identical (and now superfluous) definitions from a couple of source files. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] Nice clenaup, thanks! Acked-by: Ralf

Re: unable to mmap /dev/kmem

2007-01-18 Thread Hugh Dickins
On Thu, 18 Jan 2007, Nadia Derbey wrote: Trying to mmap /dev/kmem with an offset I take from /boot/System.map, I get an EIO error on a 2.6.20-rc4. This is something that used to work on older kernels. Had a look at mmap_kmem() in drivers/char/mem.c, and I'm wondering whether pfn is

Re: PATCH: Update disable_IO_APIC to use 8-bit destination field (X86_64)

2007-01-18 Thread Eric W. Biederman
Benjamin Romer [EMAIL PROTECTED] writes: On Thu, 2007-01-18 at 13:30 +0530, Vivek Goyal wrote: On Thu, Jan 18, 2007 at 12:10:55AM -0700, Eric W. Biederman wrote: Vivek Goyal [EMAIL PROTECTED] writes: Or how about making physical_dest field also 8bit like logical_dest field. This

Re: [RFC] pci_bus conversion to struct device

2007-01-18 Thread Jesse Barnes
On Thursday, January 18, 2007 1:00 am, Greg KH wrote: On Thu, Jan 18, 2007 at 09:14:06AM +0100, Martin Mares wrote: Hello! I recommend we just delete the pci_bus class. I don't think it serves any useful purpose. The bridge can be inferred frmo the sysfs hierarchy (not to mention

Re: kernel cmdline: root=/dev/sdb1,/dev/sda1 fallback?

2007-01-18 Thread H. Peter Anvin
Tomasz Chmielewski wrote: I managed to compile a Testing 1.4.31 version (in fact, version 1.4 didn't compile because I didn't have a linux link pointing to kernel sources; version 1.4.31 tells that it's missing - so both versions compile fine). At this point, 1.4.31 is probably what you

Re: kernel 2.6.19 bug report -- atkbd.c:spurious ACK on isa.... when boot from SATA hd, no way to start system

2007-01-18 Thread Alan J. Wylie
On Thu, 18 Jan 2007 14:50:24 +0100, Daniel Gonzalez Schiller [EMAIL PROTECTED] said: When boot with SATA HD -- atkbd.c:spurious ACK on isa0060/serio0. Some program might be trying access hardware directly. When booting with normal hd no problem. The problems are almost certainly to do with

Re: PATCH: Update disable_IO_APIC to use 8-bit destination field (X86_64)

2007-01-18 Thread Benjamin Romer
On Thu, 2007-01-18 at 11:14 -0700, Eric W. Biederman wrote: Benjamin Romer [EMAIL PROTECTED] writes: On Thu, 2007-01-18 at 13:30 +0530, Vivek Goyal wrote: On Thu, Jan 18, 2007 at 12:10:55AM -0700, Eric W. Biederman wrote: Vivek Goyal [EMAIL PROTECTED] writes: Or how about making

[ANNOUNCE] System Inactivity Monitor v1.0

2007-01-18 Thread Alessandro Di Marco
Hi all, this is a new 2.6.20 module implementing a user inactivity trigger. Basically it acts as an event sniffer, issuing an ACPI event when no user activity is detected for more than a certain amount of time. This event can be successively grabbed and managed by an user-level daemon such as

Questions on PCI express AER support in HBA driver

2007-01-18 Thread Allexio Ju
Hi, I've got some questions on supporting PCI Express AER in Linux HBA drivers. BTW, I'm developing SCSI HBA driver. What are the expected changes on SCSI LLD driver in regards to PCIE AER supporting? I understood that the driver need to call following API during probing, --- if

2.6.20-rc5: knwon unfixed regressions (v2) (part2)

2007-01-18 Thread Adrian Bunk
This email lists some known regressions in 2.6.20-rc5 compared to 2.6.19. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering you in any other way possibly

Re: [RFC 7/8] Exclude unreclaimable pages from dirty ration calculation

2007-01-18 Thread Christoph Lameter
On Thu, 18 Jan 2007, Nikita Danilov wrote: I think that simpler solution of this problem is to use only potentially reclaimable pages (that is, active, inactive, and free pages) to calculate writeout threshold. This way there is no need to maintain counters for unreclaimable pages. Below is a

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-18 Thread Bodo Eggert
Alon Bar-Lev [EMAIL PROTECTED] wrote: On 1/18/07, Russell King [EMAIL PROTECTED] wrote: On Thu, Jan 18, 2007 at 01:58:52PM +0100, Bernhard Walle wrote: 2. Set command_line as __initdata. You can't. -static char command_line[COMMAND_LINE_SIZE]; +static char __initdata

Data corruption with raid5/dm-crypt/lvm/reiserfs on 2.6.19.2

2007-01-18 Thread noah
Hi! I'm experiencing data corruption in the following setup: 1. mdadm --create /dev/md0 -n3 -lraid5 /dev/hda1 /dev/hdc1 /dev/hde1 2. cryptsetup -c aes-cbc-essiva:sha256 luksFormat /dev/md0 mykey 3. cryptsetup -d mykey luksOpen /dev/md0 cryptvol 4. pvcreate /dev/mapper/cryptvol 5. vgcreate vg0

[RESEND][PATCH] 9p: fix bogus return code checks during initialization

2007-01-18 Thread Eric Van Hensbergen
There is a simple logic error in init_v9fs - the return code checks are reversed. This patch fixes the return code and adds some messages to prevent module initialization from failing silently. Signed-off-by: Eric Van Hensbergen [EMAIL PROTECTED] --- fs/9p/mux.c |4 +++- fs/9p/v9fs.c |

Re: 2.6.20-rc2: kernel BUG at include/asm/dma-mapping.h:110!

2007-01-18 Thread Stefan Richter
I wrote on 2007-01-02: Kyuma Ohta wrote: ... Now,I'm testing 2.6.20-rc3 for x86_64, submitted patch for this issue; Fault has happened in 'cleanuped' sbp2/1394 module in *not 32bit* architecture hardwares . As result of, sbp2 driver in 2.6.20-rc3 is seems to running w/o any faults,but

[PATCH] Documentation/rbtree.txt

2007-01-18 Thread Rob Landley
Signed-off-by: Rob Landley [EMAIL PROTECTED] Documentation for lib/rbtree.c. -- I'm not an expert on this but I was asked to write up some documentation for rbtree in the Linux kernel, and as long as it's there... I'm sure if I screwed something up somebody will point it out to me, loudly. :)

Re: kernel cmdline: root=/dev/sdb1,/dev/sda1 fallback?

2007-01-18 Thread H. Peter Anvin
Tomasz Chmielewski wrote: Al Borchers wrote: Thomas Chmielewski wrote: These all unpleasant tasks could be avoided if it was possible to have a fallback device. For example, consider this hypothetical command line: root=/dev/sdb1,/dev/sda1 Here is a patch to do this, though it sounds like

REQ: advice on tuning via-velocity parameters

2007-01-18 Thread Brian Hall
I have a GBe Via Velocity NIC on an Abit AV8 motherboard, with 1GB DDR and a 3700+ CPU, running kernel 2.6.19. When I push a lot of data via TCP-mounted NFS, I get a lot of these messages in the system log and the machine is briefly slow to respond: eth0: excessive work at interrupt. I am

Re: trouble loading self compiled vanilla kernel

2007-01-18 Thread Jonas Svensson
On 8 Jan 2007 at 9:40, Vadim Lobanov wrote: In my experience on openSUSE, the following sequence of commands installs both the kernel and the initrd: make *config* make make modules_install make install However, if the order of the last two make invocations is

Re: Questions on PCI express AER support in HBA driver

2007-01-18 Thread Allexio Ju
What are the expected changes on SCSI LLD driver in regards to PCIE AER supporting? I understood that the driver need to call following APIs during probing to enable AER support for the device, --- if (pci_find_aer_capability(dev)) { pci_enable_pcie_error_reporting(dev); } --- What else does

[RESEND][PATCH] 9p: fix rename return code

2007-01-18 Thread Eric Van Hensbergen
9p doesn't handle renames between directories -- however, we were returning EPERM instead of EXDEV when we detected this case. Signed-off-by: Eric Van Hensbergren [EMAIL PROTECTED] --- fs/9p/vfs_inode.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/9p/vfs_inode.c

Re: [RFC] pci_bus conversion to struct device

2007-01-18 Thread Martin Mares
Hello! So, if it were to stay, where in the tree should it be? Hanging off of the pci device that is the bridge? Or just placing these files within the pci device directory itself, as it is the bridge. I originally didn't realize that we already represent devices on the subordinate bus as

[2.6 patch] arch/arm26/kernel/entry.S: remove dead code

2007-01-18 Thread Adrian Bunk
CONFIG_ALIGNMENT_TRAP is never set on arm26. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- arch/arm26/kernel/entry.S | 10 -- 1 file changed, 10 deletions(-) --- linux-2.6.20-rc4-mm1/arch/arm26/kernel/entry.S.old 2007-01-18 22:08:51.0 +0100 +++

[GIT PULL] More hwmon updates for 2.6.20

2007-01-18 Thread Jean Delvare
Hi Linus, Please pull the late hwmon subsystem updates for Linux 2.6.20 from: git://jdelvare.pck.nerim.net/jdelvare-2.6 hwmon-for-linus They fix several problems that were found in the new w83793 hardware monitoring driver. Documentation/hwmon/w83793 |8 +-- drivers/hwmon/hwmon-vid.c |

[PATCH] 9p: update documentation regarding server applications

2007-01-18 Thread Eric Van Hensbergen
Update the documentation to cover using Inferno as a server for 9p and to include information about spfs (a stable single-threaded stand-alone 9p server). Signed-off-by: Eric Van Hensbergen [EMAIL PROTECTED] --- Documentation/filesystems/9p.txt | 20 +--- 1 files changed, 17

Kernel headers - linux-atm userspace build broken by recent change; __be16 undefined

2007-01-18 Thread Andrew Walrond
Don't know exactly when this change went in, but it's not in 2.6.18.3 and is in 2.6.19.2+ $ diff linux/include/linux/if_arp.h linux-2.6/include/linux/if_arp.h 133,134c133,134 unsigned short ar_hrd; /* format of hardware address */ unsigned short ar_pro; /*

[PATCH 1/5] eCryptfs: convert f_op-write() to vfs_write()

2007-01-18 Thread Michael Halcrow
Andrew Morton wrote: On Tue, 9 Jan 2007 16:22:55 -0600 Michael Halcrow [EMAIL PROTECTED] wrote: + lower_file-f_op-write(lower_file, (char __user *)page_virt, + PAGE_CACHE_SIZE, lower_file-f_pos); hm. sys_write() takes a local copy of f_pos and writes that back into the struct file.It

[PATCH 2/5] eCryptfs: convert kmap() to kmap_atomic()

2007-01-18 Thread Michael Halcrow
On Tue, Jan 09, 2007 at 02:42:03PM -0800, Andrew Morton wrote: On Tue, 9 Jan 2007 16:23:37 -0600 Michael Halcrow [EMAIL PROTECTED] wrote: + page_virt = (char *)kmap(page); Do we _have_ to use kmap here? It's slow and theoretically deadlocky. kmap_atomic() is

[PATCH 3/5] eCryptfs: open-code flag checking and manipulation

2007-01-18 Thread Michael Halcrow
Open-code flag checking and manipulation. Signed-off-by: Michael Halcrow [EMAIL PROTECTED] Signed-off-by: Trevor Highland [EMAIL PROTECTED] --- fs/ecryptfs/crypto.c | 37 +++-- fs/ecryptfs/debug.c |6 +++--- fs/ecryptfs/ecryptfs_kernel.h

[PATCH 4/5] eCryptfs: add flush_dcache_page() calls

2007-01-18 Thread Michael Halcrow
On Tue, Jan 09, 2007 at 02:42:03PM -0800, Andrew Morton wrote: On Tue, 9 Jan 2007 16:23:37 -0600 Michael Halcrow [EMAIL PROTECTED] wrote: + set_header_info(page_virt, crypt_stat); + } The kernel must always run flush_dcache_page()

[PATCH 5/5] eCryptfs: convert lookup_one_len() to lookup_one_len_nd()

2007-01-18 Thread Michael Halcrow
Call the new lookup_one_len_nd() rather than lookup_one_len(). This fixes an oops when stacked on NFS. Note that there are still some issues with eCryptfs on NFS having to do with directory deletion (I'm not getting an oops, just an -EBUSY). Signed-off-by: Michael Halcrow [EMAIL PROTECTED] ---

Re: obsolete versus deprecated, and a new config option?

2007-01-18 Thread H. Peter Anvin
Robert P. J. Day wrote: that's entirely a judgment call on the part of the code's maintainer. if something is both obsolete and broken, then make it depend on *both* OBSOLETE and BROKEN if you want. no big deal. Yup. OBSOLETE = might be broken, no one is planning to maintain it. BROKEN =

Re: Vectored AIO breakage for sockets and pipes ?

2007-01-18 Thread Zach Brown
I'm not sure what the best way to fix this is. One option is to always make a copy of the iovec and pass that down. Any other thoughts ? Can we use this as another motivation to introduce an iovec container struct instead of passing a raw iov/seg? The transition could turn hand-rolled

Re: [patch] faster vgetcpu using sidt (take 2)

2007-01-18 Thread Andi Kleen
let me know what you think... thanks. It's ok, although I would like to have the file in a separate directory. -Andi - 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: 2.6.20-rc4-mm1] JFS: Avoid deadlock introduced by explicit I/O plugging

2007-01-18 Thread Dave Kleikamp
On Thu, 2007-01-18 at 01:30 -0500, Josef Sipek wrote: On Wed, Jan 17, 2007 at 04:55:49PM -0600, Dave Kleikamp wrote: /* * jfs_lock.h @@ -42,6 +43,7 @@ do { \ if (cond) \

Re: [PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable

2007-01-18 Thread Andrew Morton
On Thu, 18 Jan 2007 16:03:38 + Ralf Baechle [EMAIL PROTECTED] wrote: On Fri, Jan 19, 2007 at 12:23:46AM +0900, Atsushi Nemoto wrote: CARDBUS_MEM_SIZE was increased to 64MB on 2.6.20-rc2, but larger size might result in allocation failure for the reserving itself on some platforms

[2.6 patch] proper prototype for tosh_smm()

2007-01-18 Thread Adrian Bunk
This patch adds a proper prototype for tosh_smm() to include/linux/toshiba.h Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- This patch was already sent on: - 4 Jan 2007 drivers/video/neofb.c |1 - include/linux/toshiba.h |2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) ---

[2.6 patch] arch/i386/kernel/alternative.c should #include asm/bugs.h

2007-01-18 Thread Adrian Bunk
Every file should include the headers containing the prototypes for it's global functions. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- This patch was already sent on: - 4 Jan 2007 --- linux-2.6.20-rc2-mm1/arch/i386/kernel/alternative.c.old 2007-01-03 23:13:18.0 +0100 +++

[-mm patch] fs/unionfs/: possible cleanups

2007-01-18 Thread Adrian Bunk
On Thu, Jan 11, 2007 at 10:26:27PM -0800, Andrew Morton wrote: ... - Added the unionfs filesystem driver as git-unionfs.patch (Josef Jeff Sipek [EMAIL PROTECTED]) ... Changes since 2.6.20-rc3-mm1: ... git-unionfs.patch ... git trees ... Let's start with a small exercise: Consider

Re: data corruption with nvidia chipsets and IDE/SATA drives (k8 cpu errata needed?)

2007-01-18 Thread Chip Coldwell
On Thu, 18 Jan 2007, Andi Kleen wrote: The Northbridge guarantees coherency over the aperture, but only if the caching attributes match. That's interesting. Makes sense, I suppose. You would need to change_page_attr() every kernel address that is mapped into the IOMMU to use an uncached

Re: intel-agp PM experiences (was: 2.6.20-rc5: usb mouse breaks suspend to ram)

2007-01-18 Thread Nigel Cunningham
Hi. On Thu, 2007-01-18 at 12:51 +0100, Andreas Mohr wrote: [...] All in all intel-agp code semi-shattered my universe. I didn't expect to find all these issues in rather important core code for a wide-spread chipset vendor - it doesn't even log an unhandled chipset: resuming may fail,

Re: uClibc - waitid()

2007-01-18 Thread James Chapman
You're asking the wrong list. Try the uClibc list at uclibc.org. glibc and uClibc provide C APIs to kernel system calls. uClibc doesn't implement all features that glibc supports - there are several kernel APIs that uClibc doesn't expose. Ask the uClibc folk for advice. -- James Chapman

Re: Kernel headers - linux-atm userspace build broken by recent change; __be16 undefined

2007-01-18 Thread chas williams - CONTRACTOR
it might be that the userspace code shouldnt be including if_arp.h. can you try that instead? In message [EMAIL PROTECTED],Andrew Walrond writes: Don't know exactly when this change went in, but it's not in 2.6.18.3 and is in 2.6.19.2+ $ diff linux/include/linux/if_arp.h

Re: [PATCH] rdmsr_on_cpu, wrmsr_on_cpu

2007-01-18 Thread H. Peter Anvin
Alexey Dobriyan wrote: There was OpenVZ specific bug rendering some cpufreq drivers unusable on SMP. In short, when cpufreq code thinks it confined itself to needed cpu by means of set_cpus_allowed() to execute rdmsr, some virtual cpu feature can migrate process to anywhere. This triggers bugons

Re: configfs: return value for drop_item()/make_item()?

2007-01-18 Thread Joel Becker
On Thu, Jan 18, 2007 at 01:50:20PM +0100, Michael Noisternig wrote: did you get my last reply? I hope you still consider it to be worthwhile to comment on. :) I didn't get it, I'm sorry. I wonder what happened. Did you send it to me, linux-kernel, or both (both is preferred). And

Re: NTFS

2007-01-18 Thread Christoph Hellwig
On Thu, Jan 18, 2007 at 10:25:50AM +, Anton Altaparmakov wrote: Hi Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6.git This NTFS update fixes the deadlock reported by Sergey Vlasov in ntfs_put_inode(). The fix was to remove ntfs_put_inode() which

Re: Ext3 mounted as ext2 but journal still in effect.

2007-01-18 Thread Andries Brouwer
You were right, even after making the changes, it seems to be telling lies: # mount /dev/hda2 on / type ext2 (rw,usrquota) Roughly speaking: /etc/mtab shows you what you said to mount. /proc/mounts shows what the current kernel state is. These may differ greatly. For all filesystems

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

2007-01-18 Thread Christoph Hellwig
On Thu, Jan 18, 2007 at 08:31:59AM +0100, Ingo Molnar wrote: * Christoph Hellwig [EMAIL PROTECTED] wrote: I'll be happy to move this over to the utrace setting, once it is merged. Do you think it would be better to include the current version of kwatch now or to wait for utrace?

Re: [PATCH 2.6.20-rc5 4/4] sys_futex64 : allows 64bit futexes

2007-01-18 Thread Christoph Hellwig
On Thu, Jan 18, 2007 at 08:45:56AM +0100, Ingo Molnar wrote: actually, we have a big multiplexer there already, so it's only symmetric. Nothing is served by doing it half-assed. I raised the issue of the multiplexer back when the first futex API was merged (years ago), and it was rejected.

Re: data corruption with nvidia chipsets and IDE/SATA drives (k8 cpu errata needed?)

2007-01-18 Thread Andi Kleen
On Friday 19 January 2007 08:57, Chip Coldwell wrote: But it still might be a reasonable thing to do to test the theory that the problem is cache coherency across the graphics aperture, even if it isn't a long-term solution for the problem. I suspect it would disturb timing so badly that it

Re: [PATCH] msr.c: use smp_call_function_single()

2007-01-18 Thread H. Peter Anvin
Alexey Dobriyan wrote: It will execute rdmsr and wrmsr only on the cpu we need. Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED] This is good, but a bit incomplete; see other message recently posted to LKML. Since this affects paravirtualization I want to minimize the number of changes.

Re: 2.6.20-rc5: known unfixed regressions

2007-01-18 Thread Sami Farin
On Wed, Jan 17, 2007 at 14:43:29 +1100, David Chinner wrote: ... Subject: BUG: at mm/truncate.c:60 cancel_dirty_page() (XFS) References : http://lkml.org/lkml/2007/1/5/308 Submitter : Sami Farin [EMAIL PROTECTED] Handled-By : David Chinner [EMAIL PROTECTED] Status :

Re: NTFS

2007-01-18 Thread Andrew Morton
On Thu, 18 Jan 2007 22:38:13 + Christoph Hellwig [EMAIL PROTECTED] wrote: On Thu, Jan 18, 2007 at 02:35:06PM -0800, Andrew Morton wrote: Cool. That means -put_inode is gone in -mm. Andrew, what are the plans for sending the patches to make the ext2 preallocation work like ext3

EDAC chipkill messages

2007-01-18 Thread Orion Poplawski
Can someone please explain to me what these mean? EDAC k8 MC1: general bus error: participating processor(local node origin), time-out(no timeout) memory transaction type(generic read), mem or i/o(mem access), cache level(generic) EDAC MC1: CE page 0xfbf6f, offset 0x4d0, grain 8, syndrome

[PATCH 2.6.20-rc5] Gigaset ISDN driver error handling fixes (resend)

2007-01-18 Thread Tilman Schmidt
My apologies if anyone is getting this more than once. I still haven't seen it appear on the list after two attempts, so I'm sending it again, this time through a different server. Subject: [PATCH] Gigaset ISDN driver error handling fixes From: Tilman Schmidt [EMAIL PROTECTED] Fix several flaws

Re: [PATCH] Print number of oopses in Sysrq-P output

2007-01-18 Thread Andi Kleen
On Friday 19 January 2007 04:05, Alexey Dobriyan wrote: @@ -292,9 +292,11 @@ __setup(idle=, idle_setup); void show_regs(struct pt_regs * regs) { unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; + extern int die_counter; externs should always be in some .h file, never in a

<    1   2   3   4   5   >