[patch] linux/preempt.h needs linux/thread_info.h

2006-12-27 Thread Horms
It seems that linux/preempt.h needs to include linux/thread_info.h in order to access current_thread_info(), which is used in preempt_count(). I guess that all callers of preempt_count() must include both linux/thread_info.h and linux/preempt.h directly or indirectly, as this does not cause a comp

Re: [patch] linux/preempt.h needs linux/thread_info.h

2006-12-27 Thread Al Viro
On Wed, Dec 27, 2006 at 05:17:02PM +0900, Horms wrote: > It seems that linux/preempt.h needs to include linux/thread_info.h > in order to access current_thread_info(), which is used in > preempt_count(). > > I guess that all callers of preempt_count() must include > both linux/thread_info.h and li

Re: Feature request: exec self for NOMMU.

2006-12-27 Thread Rob Landley
On Wednesday 27 December 2006 1:08 am, Vadim Lobanov wrote: > On Wed, 2006-12-27 at 00:51 -0500, Rob Landley wrote: > > On Wednesday 27 December 2006 12:13 am, Ray Lee wrote: > > > How about openning an fd to yourself at the beginning of execution, then > > > calling fexecve later? > > > > I haven

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread Andrei Popa
I have corrupted files... > --- > diff --git a/fs/buffer.c b/fs/buffer.c > index 263f88e..4652ef1 100644 > --- a/fs/buffer.c > +++ b/fs/buffer.c > @@ -1653,19 +1653,7 @@ static int __block_write_full_page(struct inode > *inode, struct page *page, > do { > if (!buffer_mapped(bh

kernel BUG at mm/slab.c:607 in 2.6.19.1

2006-12-27 Thread Marco Berizzi
Hello everybody. This morning isc dhcpd 3.0.5 running on linux 2.6.19.1 (slackware 10.2 glibc 2.3.5 gcc 3.3.6) has been crashed and this error was logged (I have also noticed that any kernel message event are written to /var/log/syslog). Is this a kernel or hardware problem? [EMAIL PROTECTED]:/tmp

Re: [PATCH 1/1 2.6.20-rc2] MM: ramfs breaks without CONFIG_BLOCK

2006-12-27 Thread Andrew Morton
On Tue, 26 Dec 2006 18:09:47 +0100 [EMAIL PROTECTED] wrote: > From: Dimitri Gorokhovik <[EMAIL PROTECTED]> > > ramfs doesn't provide the .set_dirty_page a_op, and when the BLOCK > layer is not configured in, 'set_page_dirty' makes a call via a NULL > pointer. OK. But I think it'd be better to f

Re: [patch] linux/preempt.h needs linux/thread_info.h

2006-12-27 Thread Horms
On Wed, Dec 27, 2006 at 08:27:02AM +, Al Viro wrote: > On Wed, Dec 27, 2006 at 05:17:02PM +0900, Horms wrote: > > It seems that linux/preempt.h needs to include linux/thread_info.h > > in order to access current_thread_info(), which is used in > > preempt_count(). > > > > I guess that all call

Re: [PATCH 1/10] cxgb3 - main header files

2006-12-27 Thread Divy Le Ray
Jeff, You can grab the monolithic patch at this URL: http://service.chelsio.com/kernel.org/cxgb3.patch.bz2 This patch adds support for the latest 1G/10G Chelsio adapter, T3. It is required by the T3 RDMA driver Steve Wise submitted. Here is a brief description of its content: drivers/net/cxgb3

Re: [PATCH 1/10] cxgb3 - main header files

2006-12-27 Thread Arjan van de Ven
On Wed, 2006-12-27 at 00:52 -0800, Divy Le Ray wrote: > Jeff, > > You can grab the monolithic patch at this URL: > http://service.chelsio.com/kernel.org/cxgb3.patch.bz2 > > This patch adds support for the latest 1G/10G Chelsio adapter, T3. > It is required by the T3 RDMA driver Steve Wise submitt

Re: moxa serial driver testing

2006-12-27 Thread Sergei Organov
Jiri Slaby <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: >> Hi Jiri, >> >> I've figured out that both old and new mxser drivers have two similar >> problems: >> >> 1. When there are data coming to a port, sometimes opening of the port >>entirely locks the box. This is quite reproduci

Re: [patch] sched: remove __resched_legal() and fix cond_resched_softirq()

2006-12-27 Thread Ingo Molnar
* OGAWA Hirofumi <[EMAIL PROTECTED]> wrote: > > i found another bug and realized that the whole __resched_legal() > > approach is fundamentally wrong! The patch below fixes this. > > Hmm.. but the path seems, > > -> cond_resched() > -> if (__resched_legal()) /* preempt_count == 0 *

Re: util-linux: orphan

2006-12-27 Thread Alessandro Suardi
On 12/27/06, Theodore Tso <[EMAIL PROTECTED]> wrote: On Tue, Dec 26, 2006 at 07:08:43PM -0800, H. Peter Anvin wrote: > >I saw that the current Fedora already dynamically links /bin/mount > >against /usr/lib/libblkid.so. This obviously does not work if > >/usr is a separate partition that needs to

Re: moxa serial driver testing

2006-12-27 Thread Sergei Organov
Jiri Slaby <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: >> Hi Jiri, >> >> I've figured out that both old and new mxser drivers have two similar >> problems: >> >> 1. When there are data coming to a port, sometimes opening of the port >>entirely locks the box. This is quite reproduc

Re: util-linux: orphan

2006-12-27 Thread Jan Engelhardt
On Dec 27 2006 12:24, Alessandro Suardi wrote: > On 12/27/06, Theodore Tso <[EMAIL PROTECTED]> wrote: >> On Tue, Dec 26, 2006 at 07:08:43PM -0800, H. Peter Anvin wrote: I saw that the current Fedora already dynamically links /bin/mount against /usr/lib/libblkid.so. This obviously does n

[patch] block: remove BKL dependency from drivers/block/loop.c

2006-12-27 Thread Ingo Molnar
Subject: [patch] block: remove BKL dependency from drivers/block/loop.c From: Ingo Molnar <[EMAIL PROTECTED]> the block loopback device is protected by lo->lo_ctl_mutex and it does not need to hold the BKL anywhere. Convert its ioctl to unlocked_ioctl and remove the BKL acquire/release from its

Re: Binary Drivers

2006-12-27 Thread Nikolaos D. Bougalis
Horst H. von Brand wrote: David Schwartz <[EMAIL PROTECTED]> wrote: [..] . The point is that any rights the manufacturer may have had to the car should have been sold along with the car, otherwise it's not a normal free and clear sale. A normal free and clear sale includes all rights to the ite

limiting node (NUMA) memory

2006-12-27 Thread Rajesham Gajjela
PS: Please cc me I am not on the list: On 2.6.7 kernel & x86_64 arch, I am trying to limit the each node memory. I have 4 CPUs on my system and therefore 4 nodes will be setup. Total RAM is 8G, and each node will have 2G mem. But at times, I may want to limit each node mem to 1G - some thing like:

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-27 Thread Jari Sundell
On 12/27/06, Linus Torvalds <[EMAIL PROTECTED]> wrote: - It never uses mprotect on the shared mappings, but it _does_ do: "mincore()" - but the return values don't much matter (it's used as a heuristic on which parts to hash, apparently) I do

Re: Oops in 2.6.19.1

2006-12-27 Thread Alistair John Strachan
On Wednesday 27 December 2006 02:07, Zhang, Yanmin wrote: [snip] > > Call Trace: > > [] do_sys_poll+0x253/0x480 > > [] sys_poll+0x33/0x50 > > [] syscall_call+0x7/0xb > > [] 0xb7f26402 > > === > > Code: 58 01 00 00 0f 4f c2 09 c1 89 c8 83 c8 08 85 db 0f 44 c8 8b 5d

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-27 Thread valdyn
On Tue, Dec 26, 2006 at 11:26:50AM -0800, Linus Torvalds wrote: > What would also actually be interesting is whether somebody can reproduce > this on Reiserfs, for example. I _think_ all the reports I've seen are on > ext2 or ext3, and if this is somehow writeback-related, it could be some > bug

Re: xfslogd-spinlock bug?

2006-12-27 Thread Haar János
Hello, - Original Message - From: "David Chinner" <[EMAIL PROTECTED]> To: "David Chinner" <[EMAIL PROTECTED]> Cc: "Haar János" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; Sent: Tuesday, December 19, 2006 5:47 AM Subject: Re: xfslogd-spinlock bug? > On Tue, Dec 19, 2006 at 01:52:29PM +110

Re: [PATCH] Remove logically superfluous comparisons from Kconfig files.

2006-12-27 Thread Horst H. von Brand
Robert P. J. Day <[EMAIL PROTECTED]> wrote: > Remove Kconfig comparisons of the form FUBAR || FUBAR=n, since they > appear to be superfluous. > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> > > --- > > based on what i read in kconfig-language.txt, it would *appear* that > those compa

Re: util-linux: orphan

2006-12-27 Thread Horst H. von Brand
Fedora rawhide (i686): $ rpm -qf /bin/mount util-linux-2.13-0.48.fc7 $ ldd /bin/mount linux-gate.so.1 => (0x00f9b000) libblkid.so.1 => /lib/libblkid.so.1 (0x45dbc000) libuuid.so.1 => /lib/libuuid.so.1 (0x45db6000) libselinux.so.1 => /lib/libselinux.so.1 (0x43c5c00

Re: util-linux: orphan

2006-12-27 Thread Christoph Hellwig
On Tue, Dec 26, 2006 at 07:08:43PM -0800, H. Peter Anvin wrote: > That's a pretty silly statement. The real issue is that any library > needed by binaries in /bin or /sbin should live in /lib, not /usr/lib. Well, there's a real treat here - lots of shared libraries mean mount is rendered unusabl

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-27 Thread Jari Sundell
On 12/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I do get this error on reiserfs ( old one, didn't try on reiser4 ). Stock 2.6.19 plus reiser4 patch. Previously reported by me only in the debian bts. I've had reports of corrupted data on earlier kernel releases with reiserfs3, which we

Racy /proc creations interfaces

2006-12-27 Thread Alexey Dobriyan
1. Not setting ->owner for your favourite /proc file is oopsable. $ while true; do cat /proc/fs/xfs/stat 1>/dev/null 2>/dev/null; done # while true; do modprobe xfs; rmmod xfs; done BUG: unable to handle kernel paging request at virtual address fc281049 printing eip: fc281049 *pd

Re: moxa serial driver testing

2006-12-27 Thread Jiri Slaby
> Jiri Slaby <[EMAIL PROTECTED]> writes: > > > Could you test the patch below, if something changes? > > Just tested with low_latency commented out. Still oopses: > > BUG: unable to handle kernel NULL pointer dereference at virtual address > 0008 > printing eip: > f8f1730f > *pde = 000

Re: SATA DMA problem (sata_uli)

2006-12-27 Thread Tejun Heo
Tejun Heo wrote: > I'm just gonna ack Alan's patch. > > * ATA_FLAG_NO_LEGACY is not really used widely (and thus LLDs don't set > it rigorously). I think it should be removed once we get initialization > model right. > > * I'm really reluctant to add more LLD-specific knowledge into libata > cor

Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-27 Thread Catalin Marinas
On 18/12/06, Ingo Molnar <[EMAIL PROTECTED]> wrote: * Catalin Marinas <[EMAIL PROTECTED]> wrote: > I could also use a simple allocator based on alloc_pages [...] > [...] It could be so simple that it would never need to free any > pages, just grow the size as required and reuse the freed memleak

Re: Racy /proc creations interfaces

2006-12-27 Thread Al Viro
On Wed, Dec 27, 2006 at 04:42:23PM +0300, Alexey Dobriyan wrote: > > struct proc_entry_raw foo_pe_raw = { > .owner = THIS_MODULE, > .name = "foo", > .mode = 0644, > .read_proc = foo_read_proc, > .data = foo_data, >

Re: moxa serial driver testing

2006-12-27 Thread Sergei Organov
Jiri Slaby <[EMAIL PROTECTED]> writes: >> Jiri Slaby <[EMAIL PROTECTED]> writes: >> >> > Could you test the patch below, if something changes? >> >> Just tested with low_latency commented out. Still oopses: >> >> BUG: unable to handle kernel NULL pointer dereference at virtual address >> 0

How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Martin Knoblauch
Hi, (please CC on replies, thanks) for the ganglia project (http://ganglia.sourceforge.net/) we are trying to find a heuristics to determine the number of physical CPU "cores" as opposed to virtual processors added by enabling HT. The method should work on 2.4 and 2.6 kernels. So far it seems t

[PATCH 1/4] i386: Restore CONFIG_PHYSICAL_START option

2006-12-27 Thread Vivek Goyal
o Relocatable bzImage support had got rid of CONFIG_PHYSICAL_START option thinking that now this option is not required as people can build a second kernel as relocatable and load it anywhere. So need of compiling the kernel for a custom address was gone. But Magnus uses vmlinux images fo

[PATCH 4/4] Modpost whitelist reference to more symbols (pattern 3)

2006-12-27 Thread Vivek Goyal
o MODPOST generates warning on i386 if kernel is compiled with CONFIG_RELOCATABLE=y. WARNING: vmlinux - Section mismatch: reference to .init.text:__init_begin from .text between 'free_initmem' (at offset 0xc0114fd3) and 'do_test_wp_bit' WARNING: vmlinux - Section mismatch: reference to .init.

[PATCH 3/4] modpost add more symbols to whitelist pattern2

2006-12-27 Thread Vivek Goyal
o MODPOST generates warning for i386 if compiled with CONFIG_RELOCATABLE=y and serial console support is enabled. o Serial console setup function, serial8250_console_setup(), is a non __init function and it calls functions which are of type __init(). (uart_parse_options() and uart_set_opti

[PATCH 2/4] i386: make apic probe function non-init

2006-12-27 Thread Vivek Goyal
o struct genapic contains pointer to probe() function which is of type __init. Hence MODPOST generates warning if kernel is compiled with CONFIG_RELOCATABLE=y for i386. WARNING: vmlinux - Section mismatch: reference to .init.text: from .data between 'apic_summit' (at offset 0xc058b504) and

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Arjan van de Ven
On Wed, 2006-12-27 at 06:16 -0800, Martin Knoblauch wrote: > Hi, (please CC on replies, thanks) > > for the ganglia project (http://ganglia.sourceforge.net/) we are > trying to find a heuristics to determine the number of physical CPU > "cores" as opposed to virtual processors added by enabling H

Re: [patch 2.6.20-rc1 6/6] input: ads7846 directly senses PENUP state

2006-12-27 Thread Imre Deak
On Fri, Dec 22, 2006 at 12:40:20PM -0800, David Brownell wrote: > On Friday 22 December 2006 12:35 pm, Dmitry Torokhov wrote: > > On 12/22/06, David Brownell <[EMAIL PROTECTED]> wrote: > > > > > > +static void ads7846_report_pen_state(struct ads7846 *ts, int down) > > > +{ > > > + struct inpu

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Jan Engelhardt
On Dec 27 2006 06:16, Martin Knoblauch wrote: > > So far it seems that looking at the "physical id", "core id" and "cpu >cores" of /proc/cpuinfo is the way to go. Possibly, but it does not catch all cases. $grep '"physical id' /erk/kernel/linux-2.6.20-rc2/ -r returns exactly three lines, for

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Martin Knoblauch
--- Arjan van de Ven <[EMAIL PROTECTED]> wrote: > On Wed, 2006-12-27 at 06:16 -0800, Martin Knoblauch wrote: > > Hi, (please CC on replies, thanks) > > > > for the ganglia project (http://ganglia.sourceforge.net/) we are > > trying to find a heuristics to determine the number of physical CPU >

Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-27 Thread Ingo Molnar
* Catalin Marinas <[EMAIL PROTECTED]> wrote: > On 18/12/06, Ingo Molnar <[EMAIL PROTECTED]> wrote: > >* Catalin Marinas <[EMAIL PROTECTED]> wrote: > >> I could also use a simple allocator based on alloc_pages [...] > >> [...] It could be so simple that it would never need to free any > >> pages,

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Arjan van de Ven
> > one piece of information that Ganglia collects for a node is the > "number of CPUs", originally meaning "physical CPUs". Ok I was afraid of that. > With the > introduction of HT and multi-core things are a bit more complex now. We > have decided that HT sibblings do not qualify as "real"

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Gleb Natapov
On Wed, Dec 27, 2006 at 04:13:00PM +0100, Arjan van de Ven wrote: > The original p4 HT to a large degree suffered from a too small cache > that now was shared. SMT in general isn't per se all that different in > performance than dual core, at least not on a fundamental level, it's > all a matter of

Re: moxa serial driver testing

2006-12-27 Thread Sergei Organov
Jiri Slaby <[EMAIL PROTECTED]> writes: >> Jiri Slaby <[EMAIL PROTECTED]> writes: >> >> > Could you test the patch below, if something changes? >> >> Just tested with low_latency commented out. Still oopses: >> >> BUG: unable to handle kernel NULL pointer dereference at virtual address >> 0

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Arjan van de Ven
> If I run two threads that are doing only calculations and very little or no > IO at all on the same socket will modern HT and dual core be the same > (or close) performance wise? it depends on how cache/memory bandwidth sensitive your calculation is if your calculation is memory bandwidth s

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Martin Knoblauch
--- Gleb Natapov <[EMAIL PROTECTED]> wrote: > On Wed, Dec 27, 2006 at 04:13:00PM +0100, Arjan van de Ven wrote: > > The original p4 HT to a large degree suffered from a too small > cache > > that now was shared. SMT in general isn't per se all that different > in > > performance than dual core, a

Page alignment issue

2006-12-27 Thread Aubrey
As for the buddy system, much of docs mention the physical address of the first page frame of a block should be a multiple of the group size. For example, the initial address of a 16-page-frame block should be 16-page aligned. I happened to encounted an issue that the physical addresss pf the bloc

Re: [patch] block: remove BKL dependency from drivers/block/loop.c

2006-12-27 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > Subject: [patch] block: remove BKL dependency from drivers/block/loop.c > From: Ingo Molnar <[EMAIL PROTECTED]> > > the block loopback device is protected by lo->lo_ctl_mutex and it does > not need to hold the BKL anywhere. Convert its ioctl to unlocke

Re: Linux disk performance.

2006-12-27 Thread Phillip Susi
Bill Davidsen wrote: Quite honestly, the main place I have found O_DIRECT useful is in keeping programs doing large i/o quantities from blowing the buffers and making the other applications run like crap. If you application is running alone, unless you are very short of CPU or memory avoiding t

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Martin Knoblauch
--- Gleb Natapov <[EMAIL PROTECTED]> wrote: > > > If I run two threads that are doing only calculations and very little > or no > IO at all on the same socket will modern HT and dual core be the same > (or close) performance wise? > actually I wanted to write that "HT as implemented on XEONs

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Arjan van de Ven
> > this is a real interesting question. Ganglia is coming [originally] > from the HPC side of computing. At least in the past HT as implemented > on XEONs did help a lot. Running two CPU+memory-bandwith intensive > processes on the same physical CPU would at best result in a 50/50 > performanc

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Arjan van de Ven
> > actually I wanted to write that "HT as implemented on XEONs did not > help a lot for HPC workloads in the past" btw this is exactly the problem I am trying to point out: ".. as implemented in generation XYZ model ABC of processor DEF". that's going to be really fragile and in fact won'

Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-27 Thread Catalin Marinas
On 17/12/06, Ingo Molnar <[EMAIL PROTECTED]> wrote: it would be nice to record 1) the jiffies value at the time of allocation, 2) the PID and the comm of the task that did the allocation. The jiffies timestamp would be useful to see the age of the allocation, and the PID/comm is useful for contex

Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-27 Thread Arjan van de Ven
On Wed, 2006-12-27 at 16:14 +, Catalin Marinas wrote: > On 17/12/06, Ingo Molnar <[EMAIL PROTECTED]> wrote: > > it would be nice to record 1) the jiffies value at the time of > > allocation, 2) the PID and the comm of the task that did the allocation. > > The jiffies timestamp would be useful t

[RFC] Heads up on a series of AIO patchsets

2006-12-27 Thread Suparna Bhattacharya
Here is a quick attempt to summarize where we are heading with a bunch of AIO patches that I'll be posting over the next few days. Because a few of these patches have been hanging around for a bit, and have gone through bursts of iterations from time to time, falling dormant for other phases, the

Re: [RFC] Heads up on a series of AIO patchsets

2006-12-27 Thread Christoph Hellwig
On Wed, Dec 27, 2006 at 09:08:56PM +0530, Suparna Bhattacharya wrote: > (2) Most of these other applications need the ability to process both > network events (epoll) and disk file AIO in the same loop. With POSIX AIO > they could at least sort of do this using signals (yeah, and all > ass

Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-27 Thread Catalin Marinas
On 27/12/06, Arjan van de Ven <[EMAIL PROTECTED]> wrote: On Wed, 2006-12-27 at 16:14 +, Catalin Marinas wrote: > On 17/12/06, Ingo Molnar <[EMAIL PROTECTED]> wrote: > > it would be nice to record 1) the jiffies value at the time of > > allocation, 2) the PID and the comm of the task that did

Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-27 Thread Ingo Molnar
* Catalin Marinas <[EMAIL PROTECTED]> wrote: > On 17/12/06, Ingo Molnar <[EMAIL PROTECTED]> wrote: > >it would be nice to record 1) the jiffies value at the time of > >allocation, 2) the PID and the comm of the task that did the allocation. > >The jiffies timestamp would be useful to see the age

Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-27 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > Trying to copy the comm with get_task_comm, I get the lockdep report > > below, caused by acquiring the task's alloc_lock. Any idea how to go > > around this? > > just memcpy p->comm without any locking. It's for the current task, > right? That doe

Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-27 Thread Catalin Marinas
On 27/12/06, Ingo Molnar <[EMAIL PROTECTED]> wrote: * Catalin Marinas <[EMAIL PROTECTED]> wrote: > On 17/12/06, Ingo Molnar <[EMAIL PROTECTED]> wrote: > >it would be nice to record 1) the jiffies value at the time of > >allocation, 2) the PID and the comm of the task that did the allocation. >

[PATCH 03/28] V4L/DVB (4958): Fix namespace conflict between w9968cf.c on MIPS

2006-12-27 Thread Mauro Carvalho Chehab
From: Ralf Baechle <[EMAIL PROTECTED]> Both use __SC. Since __* is sort of private namespace I've choosen to fix this in the driver. For consistency I decieded to also change __UNSC to UNSC. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed

[PATCH 06/28] V4L/DVB (4964): VIDEO_PALETTE_YUYV and VIDEO_PALETTE_YUV422 are the same palette

2006-12-27 Thread Mauro Carvalho Chehab
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Consistent handling of VIDEO_PALETTE_YUYV and VIDEO_PALETTE_YUV422 Signed-off-by: Andrea A Odetti <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/video/meye.c |4 ++-- drivers/media/video/w99

[PATCH 19/28] V4L/DVB (4991): Cafe_ccic.c: fix NULL dereference

2006-12-27 Thread Mauro Carvalho Chehab
From: Adrian Bunk <[EMAIL PROTECTED]> We shouldn't dereference "cam" when we already know it's NULL. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/video/cafe_ccic.c |2 +- 1 files c

[PATCH 05/28] V4L/DVB (4960): Removal of unused code from usbvision-i2c.c

2006-12-27 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <[EMAIL PROTECTED]> i2c_adap is almost not used. This patch removes it, cleaning the i2c support, and improving driver understanding. Thanks to Thierry Merle for testing it. Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/video/usbvision/u

[PATCH 07/28] V4L/DVB (4967): Add missing tuner module option pal=60 for PAL-60 support.

2006-12-27 Thread Mauro Carvalho Chehab
From: Hans Verkuil <[EMAIL PROTECTED]> Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/video/tuner-core.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/tuner-core.c b/dri

[PATCH 13/28] V4L/DVB (4980): Fixes bug 7267: PAL/60 is not working

2006-12-27 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <[EMAIL PROTECTED]> On cx88 driver, sampling rate should be at chroma subcarrier freq (FSC). However, driver were programming wrong values for PAL/60, PAL/Nc and NTSC 4.43. This patch do the proper calculation. It also calculates htotal, hdelay and hactive constants, a

[PATCH 02/28] V4L/DVB (4956): [NOVA-T-USB2] Put remote-debugging in the right place

2006-12-27 Thread Mauro Carvalho Chehab
From: Mario Rossi <[EMAIL PROTECTED]> This patch removes unnecessary (and misleading) debug output (it printed the values of the keys in the table up to the value of the key pressed). Signed-off-by: Mario Rossi <[EMAIL PROTECTED]> Signed-off-by: Patrick Boettcher <[EMAIL PROTECTED]> Signed-off-b

[PATCH 18/28] V4L/DVB (4990): Cpia2/cpia2_usb.c: fix error-path leak

2006-12-27 Thread Mauro Carvalho Chehab
From: Amit Choudhary <[EMAIL PROTECTED]> Free previously allocated memory (in array elements) if kmalloc() returns NULL in submit_urbs(). Signed-off-by: Amit Choudhary <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --

[PATCH 10/28] V4L/DVB (4972): Dvb-core: fix bug in CRC-32 checking on 64-bit systems

2006-12-27 Thread Mauro Carvalho Chehab
From: Ang Way Chuang <[EMAIL PROTECTED]> CRC-32 checking during ULE decapsulation always failed on x86_64 systems due to the size of a variable used to store CRC. This bug was discovered on Fedora Core 6 with kernel-2.6.18-1.2849. The i386 counterpart has no such problem. This patch has been test

[PATCH 08/28] V4L/DVB (4968): Add PAL-60 support for cx2584x.

2006-12-27 Thread Mauro Carvalho Chehab
From: Hans Verkuil <[EMAIL PROTECTED]> Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/video/cx25840/cx25840-vbi.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/cx25

linux-kernel@vger.kernel.org

2006-12-27 Thread Mauro Carvalho Chehab
From: Alexey Dobriyan <[EMAIL PROTECTED]> Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/video/usbvision/usbvision-core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/

[PATCH 17/28] V4L/DVB (4988): Cx2341x audio_properties is an u16, not u8

2006-12-27 Thread Mauro Carvalho Chehab
From: Hans Verkuil <[EMAIL PROTECTED]> This bug broke the MPEG audio mode controls. Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- include/media/cx2341x.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/inc

[PATCH 16/28] V4L/DVB (4984): LOG_STATUS should show the real temporal filter value.

2006-12-27 Thread Mauro Carvalho Chehab
From: Hans Verkuil <[EMAIL PROTECTED]> The temporal filter is forced off when scaling. The VIDIOC_LOG_STATUS handler still showed the old temporal filter. It is now consistent with the real temporal filter value. Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Cheha

[PATCH 14/28] V4L/DVB (4982): Fix broken audio mode handling for line-in in msp3400.

2006-12-27 Thread Mauro Carvalho Chehab
From: Hans Verkuil <[EMAIL PROTECTED]> The wrong matrix was used when an external input was selected instead of the tuner input. The rxsubchans field was also not initialized to STEREO for an external input. And finally the msp34xxg_detect_stereo() should not try to detect stereo for an external

[PATCH 11/28] V4L/DVB (4973): Dvb-core: fix printk type warning

2006-12-27 Thread Mauro Carvalho Chehab
From: Michael Krufky <[EMAIL PROTECTED]> dvb_net.c: In function 'dvb_net_ule': dvb_net.c:628: warning: format '%#lx' expects type 'long unsigned int', but argument 3 has type 'u32' dvb_net.c:628: warning: format '%#lx' expects type 'long unsigned int', but argument 4 has type 'u32' Signed-off-

[PATCH 04/28] V4L/DVB (4959): Usbvision: possible cleanups

2006-12-27 Thread Mauro Carvalho Chehab
From: Adrian Bunk <[EMAIL PROTECTED]> This patch contains the following possible cleanups: - make needlessly global functions static - remove the unused EXPORT_SYMBOL's Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/vid

[PATCH 12/28] V4L/DVB (4979): Fixes compilation when CONFIG_V4L1_COMPAT is not selected

2006-12-27 Thread Mauro Carvalho Chehab
From: Dwaine Garden <[EMAIL PROTECTED]> - SYSFS: Replaced all to_video_device(cd), video_device_create_file, video_device_remove_file and add the proper checks at create_file - Converted old norm values to V4L2 ones. - Robustness on sysfs hue/contrast/saturation queries. Additional check in o

[PATCH 24/28] V4L/DVB (4997): Bttv: delete duplicated ioremap()

2006-12-27 Thread Mauro Carvalho Chehab
From: Akinobu Mita <[EMAIL PROTECTED]> ioremap() is called twice to same resource. The returen value of first one is not error-checked. second one is complely ignored. Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/vid

[PATCH 23/28] V4L/DVB (4996): Msp3400: fix kthread_run error check

2006-12-27 Thread Mauro Carvalho Chehab
From: Akinobu Mita <[EMAIL PROTECTED]> The return value of kthread_run() should be checked by IS_ERR(). Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/video/msp3400-driver.c |2 +- 1 files changed, 1 insertions(+),

[PATCH 28/28] V4L/DVB (5010): Cx88: Fix leadtek_eeprom tagging

2006-12-27 Thread Mauro Carvalho Chehab
From: Jean Delvare <[EMAIL PROTECTED]> reference to .init.text: from .text between 'cx88_card_setup' (at offset 0x68c) and 'cx88_risc_field' Caused by leadtek_eeprom() being declared __devinit and called from a non-devinit context. Signed-off-by: Jean Delvare <[EMAIL PROTECTED]> Signed-off-by: M

[PATCH 09/28] V4L/DVB (4970): Usbvision memory fixes

2006-12-27 Thread Mauro Carvalho Chehab
From: Thierry MERLE <[EMAIL PROTECTED]> - fix decompression buffer allocation not done at first driver open - simplification of USB sbuf allocation (use of usb_buffer_alloc) - replaced vmalloc by vmalloc_32 (for homogeneity) - add of saa7111 (i2cAddr=0x48) detection printout in attach_inform Sig

[PATCH 25/28] V4L/DVB (5014): Allyesconfig build fixes on some non x86 arch

2006-12-27 Thread Mauro Carvalho Chehab
From: David Brownell <[EMAIL PROTECTED]> - CAFE_CCIC needs to depend on PCI, else "allyesconfig" breaks on systems without PCI - em28xx-video can't udelay(2500) else "allyesconfig" breaks on systems that refuse to spin that long (I saw it on ARM) Signed-off-by: David Brownell <[EMAIL PROTE

[PATCH 01/28] V4L/DVB (4955): Fix autosearch index

2006-12-27 Thread Mauro Carvalho Chehab
From: Mario Rossi <[EMAIL PROTECTED]> After rewriting the driver the wrong autosearch index was used when COFDM-parameter needed to be detected. Thanks to Mario Rossi who found it. Signed-off-by: Mario Rossi <[EMAIL PROTECTED]> Signed-off-by: Patrick Boettcher <[EMAIL PROTECTED]> Signed-off-by:

[PATCH 20/28] V4L/DVB (4992): Fix typo in saa7134-dvb.c

2006-12-27 Thread Mauro Carvalho Chehab
From: Stephan Berberig <[EMAIL PROTECTED]> Fix a typo (use_frontent -> use_frontend) in saa7134-dvb.c. Signed-off-by: Stephan Berberig <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/video/saa7134/saa7134-dvb.c |8 1 files changed, 4

[PATCH 21/28] V4L/DVB (4994): Vivi: fix use after free in list_for_each()

2006-12-27 Thread Mauro Carvalho Chehab
From: Akinobu Mita <[EMAIL PROTECTED]> Freeing data including list_head in list_for_each() is not safe. Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/video/vivi.c |4 +++- 1 files changed, 3 insertions(+), 1 delet

[PATCH 26/28] V4L/DVB (5001): Add two required headers on kernel 2.6.20-rc1

2006-12-27 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <[EMAIL PROTECTED]> include/media/ir-common.h:78: error: field 'work' has incomplete type drivers/media/common/ir-functions.c: In function 'ir_rc5_timer_end': drivers/media/common/ir-functions.c:301: error: 'jiffies' undeclared (first use in this function) drivers/med

[PATCH 22/28] V4L/DVB (4995): Vivi: fix kthread_run() error check

2006-12-27 Thread Mauro Carvalho Chehab
From: Akinobu Mita <[EMAIL PROTECTED]> The return value of kthread_run() should be checked by IS_ERR(). Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/video/vivi.c |4 ++-- 1 files changed, 2 insertions(+), 2 delet

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > once your program (and many others) have such a check, then the next > step will be pressure on the kernel code to "fake" the old situation > when there is a processor where no longer > holds. It's basically a road to madness :-( I agree that for HPC si

[PATCH 15/28] V4L/DVB (4983): Force temporal filter to 0 when scaling to prevent ghosting.

2006-12-27 Thread Mauro Carvalho Chehab
From: Hans Verkuil <[EMAIL PROTECTED]> Change the code to unconditionally turn off the temporal filter when scaling. If the window is not full screen the filter will introduce a nasty ghosting effect. Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PR

Re: 2.6.19-rc5 libata PATA ATAPI CDROM SiS 5513 NOT WORKING

2006-12-27 Thread Joel Soete
Hello Alan, Jeff, Reading a paper on this new libata, I just want to try but failled yet for what said this thread "ATAPI CDROM" ;_(. I first test the latest stable 2.6.19.1 without luck, so I also want to try latest 2.6.20-rc2 unfortunately without more success. Here it was the test of new

[PATCH -rt] disconnect warp check from hrtimers

2006-12-27 Thread Daniel Walker
These calls were getting inconsistent wrt. the xtime_lock. The xtime_lock should be held when doing the warp check update, and interrupts should be off. In some places the warp update was getting called twice, once under the xtime_lock then again right outside the xtime_lock. Signed-Off-By: Dani

Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-27 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > As I mentioned in a different e-mail, a way to remove the global > > hash table is to create per-cpu hashes. The only problem is that in > > these 8-10% of the cases, freeing would need to look up the other > > hashes. This would become a problem wi

Re: [PATCH -rt] disconnect warp check from hrtimers

2006-12-27 Thread Ingo Molnar
* Daniel Walker <[EMAIL PROTECTED]> wrote: > These calls were getting inconsistent wrt. the xtime_lock. The > xtime_lock should be held when doing the warp check update, and > interrupts should be off. thanks, applied. Does this solve some warnings that you saw trigger? Ingo - To unsu

[patch] respect srctree/objtree in Documentation/DocBook/Makefile

2006-12-27 Thread Mike Frysinger
the KERNELDOC and DOCPROC variables are relative to the $(srctree)/$(objtree) and expect to be run only from there ... attached patch adds proper srctree/objtree prefixes to both variables -mike linux-docbook-trees.patch Description: Binary data

Re: PATA -- pata_amd on 2.6.19 fails to IDENTIFY my DVD-ROM

2006-12-27 Thread Rene Herman
Tejun Heo wrote: Rene Herman wrote: I just tried the PATA driver for my AMD756 chip. During boot, it hangs for 3 minutes failing to identify my DVD-ROM (secondary slave) and does not give me access to it after it timed out. Please give a shot at v2.6.20-rc2 and report what the kernel says.

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Martin Knoblauch
>In article <[EMAIL PROTECTED]> you wrote: >> once your program (and many others) have such a check, then the next >> step will be pressure on the kernel code to "fake" the old situation >> when there is a processor where no longer >> holds. It's basically a road to madness :-( > > I agree that fo

Re: [PATCH -rt] disconnect warp check from hrtimers

2006-12-27 Thread Daniel Walker
On Wed, 2006-12-27 at 18:39 +0100, Ingo Molnar wrote: > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > These calls were getting inconsistent wrt. the xtime_lock. The > > xtime_lock should be held when doing the warp check update, and > > interrupts should be off. > > thanks, applied. Does thi

Re: [PATCH -rt] disconnect warp check from hrtimers

2006-12-27 Thread Daniel Walker
On Wed, 2006-12-27 at 09:53 -0800, Daniel Walker wrote: > The system hang was resolved by changing the irq threads to all prio > 50 .. Guess I was wrong about this.. The hang was resolved, but I's not sure how yet .. Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kerne

idle RAID1 cpu usage

2006-12-27 Thread Paul Slootman
Summary: why are idle RAID1 devices using CPU? I have a Sun Netra X1 (ultrasparc @ 440MHz) running 2.6.19.1. There's one little modification I made to it: instead of 2 SCSI disks, it has one SCSI and one SATA disk (and a PCI SII 3512 card to connect it). Both disks are basically partitioned ident

Re: util-linux: orphan

2006-12-27 Thread Karel Zak
On Wed, Dec 27, 2006 at 03:46:10AM +0100, Arnd Bergmann wrote: > On Monday 18 December 2006 08:17, Karel Zak wrote: > > - remove FS/device detection code > >           (libblkid from e2fsprogs or libvolumeid is replacement) > > I saw that the current Fedora already dynamically links /bin/m

  1   2   >