Re: [PATCH] tipc: checking returns and Re: Possible Circular Locking in TIPC

2007-01-04 Thread Jarek Poplawski
On Thu, Jan 04, 2007 at 04:16:20PM +, Jon Maloy wrote: > Regards > ///jon > > Jarek Poplawski wrote: > > > > >I know lockdep is sometimes > >too careful but nevertheless some change is needed > >to fix a real bug or give additional information > >to lockdep. > > > > > I don't know lockdep

[PATCH 8/9] KVM: Simplify mmu_alloc_roots()

2007-01-04 Thread Avi Kivity
From: Ingo Molnar <[EMAIL PROTECTED]> Small optimization/cleanup: page == page_header(page->page_hpa) Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/mmu.c

[PATCH 7/9] KVM: Make loading cr3 more robust

2007-01-04 Thread Avi Kivity
From: Ingo Molnar <[EMAIL PROTECTED]> Prevent the guest's loading of a corrupt cr3 (pointing at no guest phsyical page) from crashing the host. Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/kvm_main.c

[PATCH 6/9] KVM: MMU: Add missing dirty bit

2007-01-04 Thread Avi Kivity
If we emulate a write, we fail to set the dirty bit on the guest pte, leading the guest to believe the page is clean, and thus lose data. Bad. Fix by setting the guest pte dirty bit under such conditions. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/paging_tmpl.h

[PATCH 4/9] KVM: Add missing 'break'

2007-01-04 Thread Avi Kivity
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/kvm_main.c === --- linux-2.6.orig/drivers/kvm/kvm_main.c +++ linux-2.6/drivers/kvm/kvm_main.c @@ -1922,6 +1922,7 @@ static long kvm_dev_ioctl(struct file *f

[PATCH 5/9] KVM: Don't set guest cr3 from vmx_vcpu_setup()

2007-01-04 Thread Avi Kivity
It overwrites the right cr3 set from mmu setup. Happens only with the test harness. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/vmx.c === --- linux-2.6.orig/drivers/kvm/vmx.c +++

[PATCH 3/9] KVM: Avoid oom on cr3 switch

2007-01-04 Thread Avi Kivity
From: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/mmu.c === --- linux-2.6.orig/drivers/kvm/mmu.c +++

[PATCH 2/9] KVM: Initialize vcpu->kvm a little earlier

2007-01-04 Thread Avi Kivity
Fixes oops on early close of /dev/kvm. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/kvm_main.c === --- linux-2.6.orig/drivers/kvm/kvm_main.c +++ linux-2.6/drivers/kvm/kvm_main.c @@ -230,6 +230,7 @@

[PATCH 1/9] KVM: Improve reporting of vmwrite errors

2007-01-04 Thread Avi Kivity
This will allow us to see the root cause when a vmwrite error happens. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/vmx.c === --- linux-2.6.orig/drivers/kvm/vmx.c +++ linux-2.6/drivers/kvm/vmx.c @@

[PATCH 0/9] KVM: Flush out my patch queue

2007-01-04 Thread Avi Kivity
This patchset is mostly fallout from the mmu stuff that I've neglected to integrate with the main patchset sent yesterday. It includes a fashionable missing dirty bit fix, and other fixes and cleanups. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. -

Re: [PATCH 2.6.16.29 1/1] memory: enhance Linux swap subsystem

2007-01-04 Thread yunfeng zhang
A new patch has been done by me, based on the previous quilt patch (2.6.16.29). Here is changelog -- NEW New kernel thread kppsd is added to execute background scanning task periodically (mm/vmscan.c). PPS statistic is added into /proc/meminfo, its prototype is in

Re: NCPFS and brittle connections

2007-01-04 Thread Petr Vandrovec
Pierre Ossman wrote: Petr Vandrovec wrote: Nobody is working on it (at least to my knowledge), and to me it is feature - it always worked this way, like smbfs did back in the past - if you send signal 9 to process using mount point, and there is some transaction in progress, nobody can

Re: [PATCH 2.6.16.29 1/1] memory: enhance Linux swap subsystem

2007-01-04 Thread yunfeng zhang
No, a new idea to re-write swap subsystem at all. In fact, it's an impossible task to me, so I provide a compromising solution -- pps (pure private page system). 2006/12/30, Zhou Yingchao <[EMAIL PROTECTED]>: 2006/12/27, yunfeng zhang <[EMAIL PROTECTED]>: > To multiple address space, multiple

Re: Multi kernel tree support on the same distro?

2007-01-04 Thread Auke Kok
Steve Brueggeman wrote: There are some difficulties with gcc versions between linux-2.4 and linux-2.6, but I do not recall all of the details off of the top of my head. If I recall correctly, one of the issues is, linux-2.4 ?prefers? gcc-2.96, while newer linux-2.6 support/prefer gcc-3.? or

Re: [PATCH] 4/4 block: explicit plugging

2007-01-04 Thread Jens Axboe
On Thu, Jan 04 2007, Nick Piggin wrote: > Jens Axboe wrote: > >Nick writes: > > > >This is a patch to perform block device plugging explicitly in the > >submitting > >process context rather than implicitly by the block device. > > Hi Jens, > > Hey thanks for doing so much hard work with this, I

Re: [PATCH 2.6.20-rc3] TTY_IO: Remove unnecessary kmalloc casts

2007-01-04 Thread Ahmed S. Darwish
On Fri, Jan 05, 2007 at 01:56:09AM -0500, Robert P. J. Day wrote: > On Fri, 5 Jan 2007, Ahmed S. Darwish wrote: > > > Remove unnecessary kmalloc casts in drivers/char/tty_io.c > > rather than remove these casts a file or two at a time, why not just > do them all at once and submit a single

Re: [PATCH 2.6.20-rc3] TTY_IO: Remove unnecessary kmalloc casts

2007-01-04 Thread Robert P. J. Day
On Fri, 5 Jan 2007, Ahmed S. Darwish wrote: > Remove unnecessary kmalloc casts in drivers/char/tty_io.c rather than remove these casts a file or two at a time, why not just do them all at once and submit a single patch? there aren't that many of them: grep -Er "\([^\)\*]+\*\) ?k[cmz]alloc

Re: [PATCHSET 1][PATCH 0/6] Filesystem AIO read/write

2007-01-04 Thread Jens Axboe
On Fri, Jan 05 2007, Suparna Bhattacharya wrote: > On Thu, Jan 04, 2007 at 09:02:42AM -0800, Andrew Morton wrote: > > On Thu, 4 Jan 2007 10:26:21 +0530 > > Suparna Bhattacharya <[EMAIL PROTECTED]> wrote: > > > > > On Wed, Jan 03, 2007 at 02:15:56PM -0800, Andrew Morton wrote: > > > > On Thu, 28

Re: [PATCH -mm 0/8] user ns: Introduction

2007-01-04 Thread Serge E. Hallyn
Quoting Serge E. Hallyn ([EMAIL PROTECTED]): > Quoting Andrew Morton ([EMAIL PROTECTED]): > > On Thu, 4 Jan 2007 12:06:35 -0600 > > "Serge E. Hallyn" <[EMAIL PROTECTED]> wrote: > > > > > This patchset adds a user namespace, which allows a process to > > > unshare its user_struct table, allowing

RE: open(O_DIRECT) on a tmpfs?

2007-01-04 Thread Chen, Kenneth W
Hugh Dickins wrote on Thursday, January 04, 2007 11:14 AM > On Thu, 4 Jan 2007, Hua Zhong wrote: > > So I'd argue that it makes more sense to support O_DIRECT > > on tmpfs as the memory IS the backing store. > > A few more voices in favour and I'll be persuaded. Perhaps I'm > out of date: when

Re: JMicron JMB363 problems

2007-01-04 Thread Robert Hancock
xt knight wrote: I've been receiving odd error messages (accompanied by freezing up) over the days. They are originating from the JMicron controller. Setup: Gigabyte GA-965P-DS3 (Intel 965P Express) rev 2.0, latest BIOS (F9) -Intel ICH8 on-board [IDE emulation mode] --250G Maxtor SATA --

[PATCH 2.6.20-rc3] TTY_IO: Remove unnecessary kmalloc casts

2007-01-04 Thread Ahmed S. Darwish
Remove unnecessary kmalloc casts in drivers/char/tty_io.c Signed-off-by: Ahmed Darwish <[EMAIL PROTECTED]> diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 47a6eac..97f54b0 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ -1932,16 +1932,14 @@ static int

JMicron JMB363 problems

2007-01-04 Thread xt knight
I've been receiving odd error messages (accompanied by freezing up) over the days. They are originating from the JMicron controller. Setup: Gigabyte GA-965P-DS3 (Intel 965P Express) rev 2.0, latest BIOS (F9) -Intel ICH8 on-board [IDE emulation mode] --250G Maxtor SATA -- /dev/sda --250G

Re: [PATCHSET 1][PATCH 0/6] Filesystem AIO read/write

2007-01-04 Thread Suparna Bhattacharya
On Thu, Jan 04, 2007 at 09:02:42AM -0800, Andrew Morton wrote: > On Thu, 4 Jan 2007 10:26:21 +0530 > Suparna Bhattacharya <[EMAIL PROTECTED]> wrote: > > > On Wed, Jan 03, 2007 at 02:15:56PM -0800, Andrew Morton wrote: > > > On Thu, 28 Dec 2006 13:53:08 +0530 > > > Suparna Bhattacharya <[EMAIL

Re: [PATCH -mm 0/8] user ns: Introduction

2007-01-04 Thread Serge E. Hallyn
Quoting Andrew Morton ([EMAIL PROTECTED]): > On Thu, 4 Jan 2007 12:06:35 -0600 > "Serge E. Hallyn" <[EMAIL PROTECTED]> wrote: > > > This patchset adds a user namespace, which allows a process to > > unshare its user_struct table, allowing for separate accounting > > per user namespace. > > With

2.6.20-rc3-mm1

2007-01-04 Thread Andrew Morton
Temporarily at http://userweb.kernel.org/~akpm/2.6.20-rc3-mm1/ will appear later at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc3-mm1/ - Added the IBM ACPi driver tree to the -mm lineup, as git-ibm-acpi.patch (Henrique de Moraes

[PATCH 2.6.20-rc3] Remove unneeded kmalloc casts

2007-01-04 Thread Ahmed S. Darwish
Remove unneeded kmalloc casts Signed-off-by: Ahmed Darwish <[EMAIL PROTECTED]> diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c index 0e94fbb..682b1bb 100644 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -3361,11 +3361,9 @@ static int

Duplicated functions (was: fix memory corruption from misinterpreted bad_inode_ops return values)

2007-01-04 Thread Mitchell Blank Jr
Al Viro wrote: > On Thu, Jan 04, 2007 at 03:21:06PM -0800, Mitchell Blank Jr wrote: > > The real (but harder) fix for the wasted space issue > > would be to get the toolchain to automatically combine functions that > > end up compiling into identical assembly. > > Can't do. [...] > Comparing

Re: VM: Fix nasty and subtle race in shared mmap'ed page writeback

2007-01-04 Thread Nick Piggin
Andrea Gelmini wrote: On Thu, Jan 04, 2007 at 05:03:43PM +1100, Nick Piggin wrote: Anyway that leaves us with the question of why Andrea's database is getting corrupted. Hopefully he can give us a minimal test-case. yep, I can give you a complete image of my machine, or a root access.

Re: open(O_DIRECT) on a tmpfs?

2007-01-04 Thread Nick Piggin
Denis Vlasenko wrote: On Thursday 04 January 2007 17:19, Bill Davidsen wrote: Hugh Dickins wrote: In many cases the use of O_DIRECT is purely to avoid impact on cache used by other applications. An application which writes a large quantity of data will have less impact on other applications

[PATCHSET 4][PATCH 1/1] AIO fallback for pipes, sockets and pollable fds

2007-01-04 Thread Suparna Bhattacharya
As glibc POSIX AIO switches over completely to using native AIO it needs basic AIO support for various file types - including sockets, pipes etc. Since userland will no longer be simulating asynchronous behaviour with threads, it expects the underlying implementation to be asynchronous. Which is

Re: [patch] dont export asm/page.h to userspace

2007-01-04 Thread Andrew Morton
On Thu, 4 Jan 2007 22:28:30 -0500 Mike Frysinger <[EMAIL PROTECTED]> wrote: > On 1/4/07, Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > It should not be exported to userspace at all. Care to submit a patch? > > trivial patch attached > -mike > > > [application/pgp-signature (828B)] > >

Re: [PATCHSET 1][PATCH 0/6] Filesystem AIO read/write

2007-01-04 Thread Nick Piggin
Suparna Bhattacharya wrote: On Thu, Jan 04, 2007 at 05:50:11PM +1100, Nick Piggin wrote: OK, but I think that after IO submission, you do not run sync_page to unplug the block device, like the normal IO path would (via lock_page, before the explicit plug patches). In the buffered AIO case,

[PATCH 2/3] Vmi initialize fs for smp

2007-01-04 Thread Zachary Amsden
Now that Jeremy's change to move the kernel PDA to %fs has arrived, convert the AP processor setup for SMP to use FS instead of GS. Signed-off-by: Zachary Amsden <[EMAIL PROTECTED]> diff -r 2ac108843573 arch/i386/kernel/vmi.c --- a/arch/i386/kernel/vmi.cThu Jan 04 20:01:52 2007 -0800 +++

[PATCH 1/3] Vmi compile fix

2007-01-04 Thread Zachary Amsden
The variable no_timer_check does not exist in UP builds; don't try to set it in the vmi init code. Signed-off-by: Zachary Amsden <[EMAIL PROTECTED]> diff -r 21d7686ee318 arch/i386/kernel/vmi.c --- a/arch/i386/kernel/vmi.cThu Jan 04 15:23:30 2007 -0800 +++ b/arch/i386/kernel/vmi.cThu Jan

[PATCH 3/3] Vmi native fix

2007-01-04 Thread Zachary Amsden
In paravirt builds with VMI compiled in, vmi_bringup is called unconditionally, not via a paravirt-ops table (as no other hypervisor uses the APIC startup technique). Make the calls to setup VMI state conditional on the presence of the VMI ROM. Signed-off-by: Zachary Amsden <[EMAIL PROTECTED]>

[PATCH 0/3] VMI hotfixes

2007-01-04 Thread Zachary Amsden
Hotfixes for VMI code from -rc2-mm1. This fixes several critical problems, a compile fix for +PARAVIRT+VMI-SMP, a bogus indirect call to a VMI function on native, and corrects the FS/GS startup state for SMP to match the new FS/GS PDA changes. - To unsubscribe from this list: send the line

Re: [PATCH -mm 8/8] user ns: implement user ns unshare

2007-01-04 Thread Serge E. Hallyn
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > On Thu, 04 Jan 2007 16:52:53 CST, "Serge E. Hallyn" said: > > Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > > > On Thu, 04 Jan 2007 19:07:00 GMT, Frederik Deweerdt said: > > > > > int err = 0; > > > > > > > > The "= 0"

Re: Multi kernel tree support on the same distro?

2007-01-04 Thread Steve Brueggeman
There are some difficulties with gcc versions between linux-2.4 and linux-2.6, but I do not recall all of the details off of the top of my head. If I recall correctly, one of the issues is, linux-2.4 ?prefers? gcc-2.96, while newer linux-2.6 support/prefer gcc-3.? or greater. At any rate, what

Re: sonypc with Sony Vaio VGN-SZ1VP

2007-01-04 Thread Andrew Morton
On Fri, 05 Jan 2007 00:54:32 +0100 Stelian Pop <[EMAIL PROTECTED]> wrote: > Le jeudi 04 janvier 2007 à 15:44 -0800, Andrew Morton a écrit : > > On Fri, 05 Jan 2007 00:36:23 +0100 > > Stelian Pop <[EMAIL PROTECTED]> wrote: > > > > > Added acpi_bus_generate event for forwarding Fn-keys pressed to

Re: [PATCH -mm 0/8] user ns: Introduction

2007-01-04 Thread Andrew Morton
On Thu, 4 Jan 2007 12:06:35 -0600 "Serge E. Hallyn" <[EMAIL PROTECTED]> wrote: > This patchset adds a user namespace, which allows a process to > unshare its user_struct table, allowing for separate accounting > per user namespace. With these patches applied and with CONFIG_USER_NS=n, my

Re: PROBLEM: LSIFC909 mpt card fails to recognize devices

2007-01-04 Thread Eric Moore
On Thu, Jan 04, 2007 at 04:59:22PM -0800, Andrew Morton wrote: > On Thu, 04 Jan 2007 19:06:46 -0500 > Justin Rosander <[EMAIL PROTECTED]> wrote: > > > Please forward this to the appropriate maintainer. Thank you. > > > > [1.] One line summary of the problem:My fibre channel drives fail to >

[PATCH 2.6.20-rc3] cpufreq: check sysfs_create_link return value

2007-01-04 Thread Ahmed S. Darwish
Trivial patch to check sysfs_create_link return values. Fail gracefully if needed. Signed-off-by: Ahmed Darwish <[EMAIL PROTECTED]> diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index d913304..72ee576 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@

[patch] dont export asm/page.h to userspace

2007-01-04 Thread Mike Frysinger
On 1/4/07, Christoph Hellwig <[EMAIL PROTECTED]> wrote: > It should not be exported to userspace at all. Care to submit a patch? trivial patch attached -mike pgpVvto1SV01x.pgp Description: PGP signature diff --git a/include/asm-generic/Kbuild.asm b/include/asm-generic/Kbuild.asm index

Re: SATA problems

2007-01-04 Thread Pablo Sebastian Greco
Pablo Sebastian Greco wrote: Tejun Heo wrote: Pablo Sebastian Greco wrote: By crash I mean the whole system going down, having to reset the entire machine. I'm sending you 4 files: dmesg: current boot dmesg, just a boot, because no errors appeared after last crash, since the server is out

Re: wireless Q

2007-01-04 Thread Gene Heskett
On Thursday 04 January 2007 17:14, John W. Linville wrote: >On Thu, Jan 04, 2007 at 12:51:49AM -0500, Gene Heskett wrote: >> I bought a Belkin Wireless G card, a pci 802-11 radio of some sort. >> >> The main chip on it wears the label "RTL8185L" >> >> Is there any support for making this a

"svc: unknown version (3)" when CONFIG_NFSD_V4=y

2007-01-04 Thread Fengguang Wu
Hi Neil, NFS mounting succeeded, but the kernel gives a warning. I'm running 2.6.20-rc2-mm1. # mount -o vers=3 localhost:/suse /mnt [ 689.651606] svc: unknown version (3) # mount | grep suse localhost:/suse on /mnt type nfs (rw,nfsvers=3,addr=127.0.0.1) Any clues about it? Short .config: # #

Re: [uml-devel] [PATCH 1/6] UML - Console locking fixes

2007-01-04 Thread Jeff Dike
On Wed, Jan 03, 2007 at 04:07:34PM +0100, Blaisorblade wrote: > > + spin_lock(>count_lock); > > + if(!line->valid) > > + goto out_unlock; > > + > > + err = 0; > > + if(tty->count > 1) > > + goto out_unlock; > > > > - /* The IRQ which takes this lock is not yet enabled

Re: execve hanging in selinux_bprm_post_apply_creds

2007-01-04 Thread Sami Farin
On Thu, Jan 04, 2007 at 16:03:34 -0800, Andrew Morton wrote: > On Fri, 5 Jan 2007 00:26:42 +0200 > Sami Farin <[EMAIL PROTECTED]> wrote: > > > Kernel 2.6.19.1 SMP on Pentium D. I ran command restorecon -R /wrk. > > After a while or two programs stopped responding and I had to reboot. > > > >

Re: sonypc with Sony Vaio VGN-SZ1VP

2007-01-04 Thread MoRpHeUz
Hi, I own a Sony Vaio VGN-SZ340 and I had problems regarding acpi + it's dual core processor. The guys from Intel gave me a workaround and now it recognises both cores. The problem is that it does not do cpu frequency scaling for both cores, just for cpu0...And when I boot with acpi the

[PATCH] cx88xx: Fix lockup on suspend

2007-01-04 Thread Robert Hancock
Suspending with the cx88xx module loaded causes the system to lock up because the cx88_audio_thread kthread was missing a try_to_freeze() call, which caused it to go into a tight loop and result in softlockup when suspending. Fix that. Signed-off-by: Robert Hancock <[EMAIL PROTECTED]> ---

Re: S.M.A.R.T no longer available in 2.6.20-rc2-mm2 with libata

2007-01-04 Thread Gene Heskett
On Thursday 04 January 2007 17:12, Ed Sweetman wrote: >Alistair John Strachan wrote: >> On Thursday 04 January 2007 01:50, Ed Sweetman wrote: >>> Not sure what went on between 2.6.19-rc5-mm2 and 2.6.20-rc2-mm2 in >>> libata land but SMART is no longer available on my hdds. I'm >>> assuming this

Re: [PATCH -mm 8/8] user ns: implement user ns unshare

2007-01-04 Thread Valdis . Kletnieks
On Thu, 04 Jan 2007 16:52:53 CST, "Serge E. Hallyn" said: > Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > > On Thu, 04 Jan 2007 19:07:00 GMT, Frederik Deweerdt said: > > > > int err = 0; > > > > > > The "= 0" is superfluous here. > > > > Umm? bss gets cleared

2.6.20-rc3-git4 oops on suspend: __drain_pages

2007-01-04 Thread Robert Hancock
Saw this oops on 2.6.20-rc3-git4 when attempting to suspend. This only happened in 1 of 3 attempts. Jan 4 19:36:43 newcastle kernel: Linux version 2.6.20-rc3-git4 ([EMAIL PROTECTED]) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Thu Jan 4 19:24:09 CST 2007 Jan 4 19:36:43 newcastle

[PATCH] All Transmeta CPUs have constant TSCs

2007-01-04 Thread H. Peter Anvin
[i386] All Transmeta CPUs have constant TSCs All Transmeta CPUs ever produced have constant-rate TSCs. Signed-off-by: H. Peter Anvin <[EMAIL PROTECTED]> --- commit 07e54489ef8a3341b20ae42b53b1254a68061204 tree 204fa19fe2b2dd3ddb1add83ec66ccda7360f4e6 parent

Re: 2.6.20-rc2-mm1: INFO: possible recursive locking detected in con_close

2007-01-04 Thread Greg KH
On Fri, Dec 29, 2006 at 11:00:41AM +, Frederik Deweerdt wrote: > On Thu, Dec 28, 2006 at 10:25:12PM +0100, Laurent Riffard wrote: > > Le 28.12.2006 11:42, Andrew Morton a ?crit : > > >ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc2/2.6.20-rc2-mm1/ > > > > Hello, > >

Re: [PATCH] X.25: Trivial, SOCK_DEBUG's in x25_facilities missing newlines

2007-01-04 Thread David Miller
From: ahendry <[EMAIL PROTECTED]> Date: Thu, 04 Jan 2007 15:39:24 +1100 > Trivial. Newlines missing on the SOCK_DEBUG's for X.25 facility negotiation. > > Signed-off-by: Andrew Hendry <[EMAIL PROTECTED]> Applied, thanks Andrew. - To unsubscribe from this list: send the line "unsubscribe

Re: PROBLEM: LSIFC909 mpt card fails to recognize devices

2007-01-04 Thread Andrew Morton
On Thu, 04 Jan 2007 19:06:46 -0500 Justin Rosander <[EMAIL PROTECTED]> wrote: > Please forward this to the appropriate maintainer. Thank you. > > [1.] One line summary of the problem:My fibre channel drives fail to > be recognized by my LSIFC909 card. Please send the output of `lspci -vn'

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

2007-01-04 Thread Zach Brown
generic_write_checks() are done in the submission path, not repeated during retries, so such types of checks are not intended to run in the aio thread. Ah, I see, I was missing the short-cut which avoids re-running parts of the write path if we're in a retry. if

Re: [Sdhci-devel] sdhci ubuntu problem.

2007-01-04 Thread emilus
Dnia 03-01-2007, śro o godzinie 22:21 +0100, Pierre Ossman napisał(a): > emilus wrote: > > Uff... > > I just change system back to debian because of other problems with > > Ubuntu. > > And suprise ... SD doesn't work! I'm very suprised... > > There was no problem before. Card reader works with

Re: 2.6.20-rc3: known unfixed regressions (v3)

2007-01-04 Thread Horst H. von Brand
Adrian Bunk <[EMAIL PROTECTED]> wrote: > This email lists some known regressions in 2.6.20-rc3 compared to 2.6.19 > that are not yet fixed in Linus' tree. > > 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

Re: [PATCH 0/6] containers: Generic Process Containers (V6)

2007-01-04 Thread Paul Menage
Hi Serge, On 1/3/07, Serge E. Hallyn <[EMAIL PROTECTED]> wrote: From: Serge E. Hallyn <[EMAIL PROTECTED]> Subject: [RFC] [PATCH 1/1] container: define a namespace container subsystem Here's a stab at a namespace container subsystem based on Paul Menage's containers patch, just to experiment

Re: sonypc with Sony Vaio VGN-SZ1VP

2007-01-04 Thread Jan Engelhardt
On Jan 5 2007 00:36, Stelian Pop wrote: >@@ -61,6 +61,7 @@ static struct acpi_driver sony_acpi_driv > > static acpi_handle sony_acpi_handle; > static struct proc_dir_entry *sony_acpi_dir; >+static struct acpi_device *sony_acpi_acpi_device = NULL; acpi_acpi? >@@ -310,7 +315,7 @@ static int

Re: Multi kernel tree support on the same distro?

2007-01-04 Thread Auke Kok
Akula2 wrote: Hello All, I am looking to use multiple kernel trees on the same distro. Example:- 2.6.19.1 for - software/tools development 2.4.34for - embedded systems development. I do know that 2.6 supports embedded in a big waybut still requirement demands to work with such boards

PROBLEM: LSIFC909 mpt card fails to recognize devices

2007-01-04 Thread Justin Rosander
Hello, Please forward this to the appropriate maintainer. Thank you. [1.] One line summary of the problem:My fibre channel drives fail to be recognized by my LSIFC909 card. [2.] Full description of the problem/report: see #1. [3.] Keywords (i.e., modules, networking, kernel): [4.] Kernel

Re: execve hanging in selinux_bprm_post_apply_creds

2007-01-04 Thread Andrew Morton
On Fri, 5 Jan 2007 00:26:42 +0200 Sami Farin <[EMAIL PROTECTED]> wrote: > Kernel 2.6.19.1 SMP on Pentium D. I ran command restorecon -R /wrk. > After a while or two programs stopped responding and I had to reboot. > > I'm not sure is this bug or feature... bug ;) > I upgraded selinux policy

Re: 2.6.20-rc2-mm1 -- INFO: possible recursive locking detected

2007-01-04 Thread Greg KH
On Thu, Jan 04, 2007 at 11:50:02PM +, Hugh Dickins wrote: > On Thu, 4 Jan 2007, Greg KH wrote: > > On Sat, Dec 30, 2006 at 02:47:20AM -0800, Miles Lane wrote: > > > Sorry Andrew, I am not sure which maintainer to contact about this. I > > > CCed gregkh for sysfs and Yi for ipw2200. Hopefully

Re: sonypc with Sony Vaio VGN-SZ1VP

2007-01-04 Thread Stelian Pop
Le jeudi 04 janvier 2007 à 15:44 -0800, Andrew Morton a écrit : > On Fri, 05 Jan 2007 00:36:23 +0100 > Stelian Pop <[EMAIL PROTECTED]> wrote: > > > Added acpi_bus_generate event for forwarding Fn-keys pressed to acpi > > subsystem, > > and made correspondent necessary changes for this to work. >

Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values

2007-01-04 Thread Al Viro
On Thu, Jan 04, 2007 at 03:21:06PM -0800, Mitchell Blank Jr wrote: > Linus Torvalds wrote: > > Well, that probably would work, but it's also true that returning a 64-bit > > value on a 32-bit platform really _does_ depend on more than the size. > > Yeah, obviously this is restricted to the

Re: 2.6.20-rc2-mm1 -- INFO: possible recursive locking detected

2007-01-04 Thread Hugh Dickins
On Thu, 4 Jan 2007, Greg KH wrote: > On Sat, Dec 30, 2006 at 02:47:20AM -0800, Miles Lane wrote: > > Sorry Andrew, I am not sure which maintainer to contact about this. I > > CCed gregkh for sysfs and Yi for ipw2200. Hopefully this is helpful. > > BTW, I also found that none of my network

Re: sonypc with Sony Vaio VGN-SZ1VP

2007-01-04 Thread Andrew Morton
On Fri, 05 Jan 2007 00:36:23 +0100 Stelian Pop <[EMAIL PROTECTED]> wrote: > Added acpi_bus_generate event for forwarding Fn-keys pressed to acpi > subsystem, > and made correspondent necessary changes for this to work. neato. err, how does one use this? - To unsubscribe from this list: send

Re: /usr/include/*/acpi.h

2007-01-04 Thread Robert Hancock
Petr Baudis wrote: On Thu, Jan 04, 2007 at 04:15:45PM CET, Len Brown wrote: This header files are part of the linux kernel, and thus of course available in /usr/include/{asm,linux}. So you pick up all of the kernel include/linux and include/asm*? (but exclude include/acpi/, which is as much a

Re: sonypc with Sony Vaio VGN-SZ1VP

2007-01-04 Thread Stelian Pop
Le jeudi 04 janvier 2007 à 12:51 -0800, Andrew Morton a écrit : > The place to start (please) is the patches in -mm: > > 2.6-sony_acpi4.patch > sony_apci-resume.patch > sony_apci-resume-fix.patch > acpi-add-backlight-support-to-the-sony_acpi.patch >

execve hanging in selinux_bprm_post_apply_creds

2007-01-04 Thread Sami Farin
Kernel 2.6.19.1 SMP on Pentium D. I ran command restorecon -R /wrk. After a while or two programs stopped responding and I had to reboot. I'm not sure is this bug or feature... I upgraded selinux policy before running restorecon. 2007-01-04 22:41:55.360538500 <4>softlimit D 61707865 0

Re: sonypc with Sony Vaio VGN-SZ1VP

2007-01-04 Thread Stelian Pop
Le jeudi 04 janvier 2007 à 20:15 +0100, Mattia Dongili a écrit : > > If someone want to step forward now it is a great time ! > > I have the hw and I'd be happy to do some basic working on the code Cool ! > but: > - I'll probably need some help; Feel free to ask... > - I'll have an

Re: PROBLEM: sata_sil24 lockups under heavy i/o

2007-01-04 Thread Robert Hancock
Mark Wagner wrote: [1.] One line summary of the problem: sata_sil24 lockups under heavy i/o [2.] Full description of the problem/report: I have a PCI-based sata_sil24 card. It has 4 ports. It was functioning well with two disks attached. Once I attached 2 additional disks (for a total of 4)

Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values

2007-01-04 Thread Eric Sandeen
Linus Torvalds wrote: > On Thu, 4 Jan 2007, Andrew Morton wrote: > >> That's what I currently have queued. It increases bad_inode.o text from >> 200-odd bytes to 700-odd :( >> > Then I think we're ok. We do care about bytes, but we care more about > bytes that actually ever hit the

Re: [PATCH] Fix __ucmpdi2 in v4l2_norm_to_name()

2007-01-04 Thread Stelian Pop
Le jeudi 04 janvier 2007 à 20:59 -0200, Mauro Carvalho Chehab a écrit : > > The largest value we use here is 0x0200. Perhaps v4l2_std_id shouldn't > > be 64-bit? > Too late to change it to 32 bits. It is at V4L2 userspace API since > kernel 2.6.0. We can, however use this approach as a

Re: [PATCH] Fix __ucmpdi2 in v4l2_norm_to_name()

2007-01-04 Thread Andrew Morton
On Thu, 04 Jan 2007 20:59:08 -0200 Mauro Carvalho Chehab <[EMAIL PROTECTED]> wrote: > > The largest value we use here is 0x0200. Perhaps v4l2_std_id shouldn't > > be 64-bit? > Too late to change it to 32 bits. It is at V4L2 userspace API since > kernel 2.6.0. You could perhaps make it

Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values

2007-01-04 Thread Linus Torvalds
On Thu, 4 Jan 2007, Andrew Morton wrote: > > That's what I currently have queued. It increases bad_inode.o text from > 200-odd bytes to 700-odd :( Then I think we're ok. We do care about bytes, but we care more about bytes that actually ever hit the icache or dcache, and this will

Re: [PATCH] Fix __ucmpdi2 in v4l2_norm_to_name()

2007-01-04 Thread Mauro Carvalho Chehab
Em Qui, 2007-01-04 às 14:48 -0800, Andrew Morton escreveu: > On Thu, 04 Jan 2007 12:10:14 +0100 > Stelian Pop <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > This patch replaces a switch statement using 64 bit values with the > > if/else equivalent in order to prevent a call __ucmpdi2 generated by

Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values

2007-01-04 Thread Andrew Morton
On Thu, 4 Jan 2007 14:35:09 -0800 (PST) Linus Torvalds <[EMAIL PROTECTED]> wrote: > Anybody want to send in the patch that just generates separate versions > for > > loff_t eio_llseek(struct file *file, loff_t offset, int origin) > { > return -EIO; > } > >

Re: kernel + gcc 4.1 = several problems

2007-01-04 Thread Geert Bosch
On Jan 4, 2007, at 13:34, Segher Boessenkool wrote: The "signed wrap is undefined" thing doesn't fit in this category though: -- It is an important optimisation for loops with a signed induction variable; It certainly isn't that important. Even SpecINT compiled with -O3 and top-of-tree

Re: wireless Q

2007-01-04 Thread John W. Linville
On Thu, Jan 04, 2007 at 12:51:49AM -0500, Gene Heskett wrote: > I bought a Belkin Wireless G card, a pci 802-11 radio of some sort. > > The main chip on it wears the label "RTL8185L" > > Is there any support for making this a wireless server in the kernel at > the present time? > > I have

PATCH i2c/m41t00 do not forget to write year

2007-01-04 Thread Philippe De Muyter
m41t00.c forgets to set the year field in set_rtc_time; fix that. Signed-off-by: Philippe De Muyter <[EMAIL PROTECTED]> --- drivers/i2c/chips/m41t00.c 2007-01-02 20:57:59.0 +0100 +++ drivers/i2c/chips/m41t00.c 2007-01-04 22:11:35.0 +0100 @@ -209,6 +209,7 @@ m41t00_set(void

Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values

2007-01-04 Thread Mitchell Blank Jr
Linus Torvalds wrote: > Well, that probably would work, but it's also true that returning a 64-bit > value on a 32-bit platform really _does_ depend on more than the size. Yeah, obviously this is restricted to the signed-integer case. My point was just that you could have the compiler figure

Re: Finding hardlinks

2007-01-04 Thread Pavel Machek
Hi! > > > High probability is all you have. Cosmic radiation hitting your > > > computer will more likly cause problems, than colliding 64bit inode > > > numbers ;) > > > > Some of us have machines designed to cope with cosmic rays, and would be > > unimpressed with a decrease in reliability. >

Re: [Bug] OOPS with nf_conntrack_ipv6, probably fragmented UDPv6

2007-01-04 Thread Andrew Morton
On Thu, 04 Jan 2007 17:58:23 +0100 Bernhard Schmidt <[EMAIL PROTECTED]> wrote: > Hi, > > I've hit another kernel oops with 2.6.20-rc3 on i386 platform. It is > reproducible, as soon as I load nf_conntrack_ipv6 and try to send > something large (scp or so) inside an OpenVPN tunnel on my client

Re: [PATCH -mm 8/8] user ns: implement user ns unshare

2007-01-04 Thread Serge E. Hallyn
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > On Thu, 04 Jan 2007 19:07:00 GMT, Frederik Deweerdt said: > > On Thu, Jan 04, 2007 at 12:13:10PM -0600, Serge E. Hallyn wrote: > > > From: Serge E. Hallyn <[EMAIL PROTECTED]> > > > Subject: [PATCH -mm 8/8] user ns: implement user ns unshare > > > >

Re: [PATCH] Fix __ucmpdi2 in v4l2_norm_to_name()

2007-01-04 Thread Andrew Morton
On Thu, 04 Jan 2007 12:10:14 +0100 Stelian Pop <[EMAIL PROTECTED]> wrote: > Hi, > > This patch replaces a switch statement using 64 bit values with the > if/else equivalent in order to prevent a call __ucmpdi2 generated by > some versions of gcc (verified with gcc-4.1.2 20060928): > >

Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values

2007-01-04 Thread Eric Sandeen
Linus Torvalds wrote: > Anybody want to send in the patch that just generates separate versions > for > > loff_t eio_llseek(struct file *file, loff_t offset, int origin) > { > return -EIO; > } > > int eio_readdir(struct file *filp, void *dirent, filldir_t

Re: BUG, 2.6.20-rc3 raid autodetection [repost due to forgotten CC]

2007-01-04 Thread Redeeman
On Thu, 2007-01-04 at 22:45 +0100, Kasper Sandberg wrote: > On Thu, 2007-01-04 at 22:06 +0100, Bartlomiej Zolnierkiewicz wrote: > > On 1/4/07, Kasper Sandberg <[EMAIL PROTECTED]> wrote: > > > On Thu, 2007-01-04 at 21:07 +0100, Bartlomiej Zolnierkiewicz wrote: > > > > On 1/4/07, Kasper Sandberg

Re: [RFC: 2.6 patch] remove the broken VIDEO_PLANB driver

2007-01-04 Thread Benjamin Herrenschmidt
> If you need explanations about the code or the hardware, don't hesitate > to ask. Not sure what I still remember, but I still have my old paper > notes. Heh, ok. No idea when I'll have time to look tho. Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values

2007-01-04 Thread Linus Torvalds
On Thu, 4 Jan 2007, Mitchell Blank Jr wrote: > > I don't think you need to do fancy #ifdef's: > > static s32 return_eio_32(void) { return -EIO; } > static s64 return_eio_64(void) { return -EIO; } > extern void return_eio_unknown(void); /* Doesn't exist */ > #define return_eio(type)

Re: [RFC,PATCHSET] Managed device resources

2007-01-04 Thread Greg KH
On Thu, Jan 04, 2007 at 05:26:43PM -0500, Jeff Garzik wrote: > Greg KH wrote: > >Hm, but I guess without the follow-up patches for libata, it will not > >really get tested much. Jeff, if I accept this, what's your feelings of > >letting libata be the "test bed" for it? > > > It would be easiest

how to get serial_no from usb HD disk (HDIO_GET_IDENTITY ioctl, hdparm -i)

2007-01-04 Thread Yakov Lerner
How can I get serial_no from usb-attached HD drive ? The HDIO_GET_IDENTITY ioctl fails (like 'hdparm -i'). Any advice on how to extract the drive serialNo from the usb disk ? Can I write kernel module to extract the SerialNo ? (I don't need whole 'struct hd_driveid', only the SerialNo). Thanks

Re: [RFC: 2.6 patch] remove the broken VIDEO_PLANB driver

2007-01-04 Thread Mich Lanners
Hi Adrian, hi Ben, On 5 Jan, this message from Benjamin Herrenschmidt echoed through cyberspace: > On Thu, 2007-01-04 at 19:53 +0100, Adrian Bunk wrote: >> The VIDEO_PLANB driver: >> - has been marked as BROKEN for more than two years and >> - is still marked as BROKEN. >> >> Drivers that had

Re: [RFC,PATCHSET] Managed device resources

2007-01-04 Thread Jeff Garzik
Greg KH wrote: Hm, but I guess without the follow-up patches for libata, it will not really get tested much. Jeff, if I accept this, what's your feelings of letting libata be the "test bed" for it? It would be easiest for me to merge this through my libata-dev.git#upstream tree. That will

Re: Linux 2.6.16.37

2007-01-04 Thread Adrian Bunk
On Sun, Dec 31, 2006 at 05:05:55PM -0500, Chuck Ebbert wrote: > In-Reply-To: <[EMAIL PROTECTED]> > > On Thu, 28 Dec 2006 14:53:08 +0100, Adrian Bunk wrote: > > > Changes since 2.6.16.36: > > ... > > If you're not going to merge the critical x86 fixes I sent, > I won't bother sending anything

Re: [PATCH -mm 8/8] user ns: implement user ns unshare

2007-01-04 Thread Valdis . Kletnieks
On Thu, 04 Jan 2007 19:07:00 GMT, Frederik Deweerdt said: > On Thu, Jan 04, 2007 at 12:13:10PM -0600, Serge E. Hallyn wrote: > > From: Serge E. Hallyn <[EMAIL PROTECTED]> > > Subject: [PATCH -mm 8/8] user ns: implement user ns unshare > > > > Implement CLONE_NEWUSER flag useable at clone/unshare.

  1   2   3   4   5   6   7   >