Re: [PATCH] connector: Some fixes for ia64 unaligned access errors

2006-12-08 Thread Matt Helsley
On Fri, 2006-12-08 at 19:20 -0800, Pete Zaitcev wrote: > On Thu, 7 Dec 2006 17:22:13 -0600, Erik Jacobson <[EMAIL PROTECTED]> wrote: Erik, Thanks for cc'ing me on this patch. > > Here, we just adjust how the variables are declared and use memcopy to > > avoid the error messages. > > -

Re: [PATCH 2/3] Import fw-ohci driver.

2006-12-08 Thread Stefan Richter
Kristian Høgsberg wrote: > Yup, I've done away with the bitfields and switched to a mix of __le16 > and __le32 struct fields. I suppose the struct should get __attribute__((packed)) then. But is the order of two adjacent __le16 fields (i.e. two halves of a quadlet) independent of host byte

Re: PPC compiler error (redefinition of 'struct bug_entry')

2006-12-08 Thread Jeremy Fitzhardinge
Meelis Roos wrote: >> Hm, what's your .config? >> > > Below. It's a PReP machine so using the old ppc arch. > > >> Hey, what's arch/pps/include/asm/bug.h? Is your tree clean? >> > > Tree is clean So why don't I have arch/ppc/include/asm/bug.h in my tree here? It does look like the

Re: [patch 2.6.19-rc6] fix hotplug for legacy platform drivers

2006-12-08 Thread David Brownell
On Wednesday 06 December 2006 3:56 pm, Marco d'Itri wrote: > On Dec 06, David Brownell <[EMAIL PROTECTED]> wrote: > > > > Please explain in more details how hotplugging would be broken, possibly > > > with examples. > > > > First, for reference, I refer to hotplugging using the trivial ASH

[PATCH] usbhid quirks for macbook(pro) (was: Re: Fwd: Re: [linux-usb-devel] usb initialization order (usbhid vs. appletouch))

2006-12-08 Thread Soeren Sonnenburg
On Mon, 2006-10-30 at 05:12 -0500, Joseph Fannin wrote: > On Sat, Oct 28, 2006 at 10:27:46PM +0200, Soeren Sonnenburg wrote: > > On Sat, 2006-10-28 at 20:55 +0200, Oliver Neukum wrote: > > > > From: Sergey Vlasov <[EMAIL PROTECTED]> > > > > Subject: usbhid: Add HID_QUIRK_IGNORE_MOUSE flag > > > >

Re: [patch 08/32] cryptoloop: Select CRYPTO_CBC

2006-12-08 Thread Rene Herman
Chris Wright wrote: -stable review patch. If anyone has any objections, please let us know. -- From: Herbert Xu <[EMAIL PROTECTED]> As CBC is the default chaining method for cryptoloop, we should select it from cryptoloop to ease the transition. Signed-off-by: Herbert Xu

Recursive spinlocks for Network Recursion Bugs in 2.6.18

2006-12-08 Thread Jeffrey V. Merkey
This code segment in /net/core/dev.c is a prime example of the need for recursive spin locks. if (dev->flags & IFF_UP) { int cpu = smp_processor_id(); /* ok because BHs are off */ if (dev->xmit_lock_owner != cpu) {

Re: [PATCH] cpuset - rework cpuset_zone_allowed api

2006-12-08 Thread Andrew Morton
On Fri, 08 Dec 2006 03:21:52 -0800 Paul Jackson <[EMAIL PROTECTED]> wrote: > From: Paul Jackson <[EMAIL PROTECTED]> > > Elaborate the API for calling cpuset_zone_allowed(), so that users > have to explicitly choose between the two variants: > > cpuset_zone_allowed_hardwall() >

Re: single bit errors on files stored on USB-HDDs via USB2/usb_storage

2006-12-08 Thread Ben Nizette
Also, you mentioned that the corruption occurs systematically on certain byte patterns. Therefore it's certainly not related to the cables. It'd guess that too, but who can that say for sure. :-| You may have a bit pattern that stresses the controllers and suddenly a marginal cable may matter.

Re: [PATCH] group xtime, xtime_lock, wall_to_monotonic, avenrun, calc_load_count fields together in ktimed

2006-12-08 Thread Randy Dunlap
On Fri, 8 Dec 2006 21:46:25 -0800 Andrew Morton wrote: > On Fri, 8 Dec 2006 17:52:09 +0100 > Eric Dumazet <[EMAIL PROTECTED]> wrote: [snip] > Sounds like you have about three patches there. > > /> > > > > > -extern struct timespec xtime; > > -extern struct timespec wall_to_monotonic; > >

Re: VCD not readable under 2.6.18

2006-12-08 Thread Rakhesh Sasidharan
Hi, I am having problems reading VCDs under various Linux distros (Fedora Core 6, openSUSE 10.2, Slackware 11 with the 2.6 kernel), and while searching Google for a solution I found that this problem has been mentioned on the LKML list too. (http://lkml.org/lkml/2006/10/29/95) I didn't see

Re: [PATCH] 2.6 driver for Silan SC92031 (second try)

2006-12-08 Thread Andrew Morton
On Fri, 08 Dec 2006 18:17:06 -0200 Cesar Eduardo Barros <[EMAIL PROTECTED]> wrote: > From: Cesar Eduardo Barros <[EMAIL PROTECTED]> > > This is a driver for the Silan SC92031/Rsltek 8139D NIC chip. > > ... > +config SC92031 > + depends on NET_PCI && PCI && EXPERIMENTAL > + select CRC32

Re: [PATCH] group xtime, xtime_lock, wall_to_monotonic, avenrun, calc_load_count fields together in ktimed

2006-12-08 Thread Andrew Morton
On Fri, 8 Dec 2006 17:52:09 +0100 Eric Dumazet <[EMAIL PROTECTED]> wrote: > This patch introduces a new structure called ktimed (Kernel Time Data), where > some time keeping related variables are put together to share as few cache > lines as possible. This avoid some false sharing, (since

Re: PPC compiler error (redefinition of 'struct bug_entry')

2006-12-08 Thread Meelis Roos
> Hm, what's your .config? Below. It's a PReP machine so using the old ppc arch. > Hey, what's arch/pps/include/asm/bug.h? Is your tree clean? Tree is clean except a local in-progress patch against cirrusfb and another against net/ipv6/ndisc.c that made 2.6.19 work, nothing unclean about

2.6.19-ck2

2006-12-08 Thread Con Kolivas
This patchset is designed to improve system responsiveness and interactivity. It is configurable to any workload but the default -ck patch is aimed at the desktop and -cks is available with more emphasis on serverspace. Apply to 2.6.19

Re: [RFC] [PATCH] virtual memmap on sparsemem v3 [4/4] ia64 support

2006-12-08 Thread KAMEZAWA Hiroyuki
I tested ia64 with this patch under - DISCONTIGMEM + VIRTUAL_MEM_MAP - SPARSEMEM - SPARSEMEM_VMEMMAP on SMP with tiger4_defconfig. Fix typo for DISCONTIGMEM Signed-Off-By: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> Index: devel-2.6.19/include/asm-ia64/pgtable.h

Re: [RFC] [PATCH] virtual memmap on sparsemem v3 [1/4] map and unmap

2006-12-08 Thread KAMEZAWA Hiroyuki
This removes implicit default actions in map_generic_kernel() call. Also changes comments in vmalloc.h Signed-Off-By: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> Index: devel-2.6.19/include/linux/vmalloc.h === ---

Re: [RFC] [PATCH] virtual memmap on sparsemem v3 [3/4] static virtual mem_map

2006-12-08 Thread KAMEZAWA Hiroyuki
for avoiding complex inclusion of headr file in the middle of another header file. Signed-Off-By: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> Index: devel-2.6.19/include/linux/mmzone.h === --- devel-2.6.19.orig/include/linux/mmzone.h

Re: [PATCH][resend] PNX8550 UART driver

2006-12-08 Thread Andrew Morton
On Fri, 8 Dec 2006 18:04:46 +0300 Vitaly Wool <[EMAIL PROTECTED]> wrote: > This patch adds UART support for PNX8330/8550/8950 Philips MIPS-based SoCs. I expect it'll need updating for the terios->ktermios changes which were merged today. > Should be applied together with the PNX UART header

Re: [PATCH][resend] fix PNX8550 serial breakage

2006-12-08 Thread Andrew Morton
On Thu, 7 Dec 2006 18:24:39 +0300 Vitaly Wool <[EMAIL PROTECTED]> wrote: > inlined is the patch (being resent) that fixes the serial header breakage for > the PNX8550 MIPS platform. When sending a fix please include a full description of the problem which is being fixed, and a description of

Re: 2.6.19-git libusual: modprobe for usb-storage succeeded, but module is not present

2006-12-08 Thread art
to: linux-kernel@vger.kernel.org cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Re: 2.6.19-git libusual: modprobe for usb-storage succeeded, but module is not present usb 2-2: new high speed USB device using ehci_hcd and address 3 > usb 2-2: configuration #1 chosen from 1 choice > libusual:

Re: [patch 28/32] autofs: fix error code path in autofs_fill_sb()

2006-12-08 Thread Ian Kent
On Fri, 2006-12-08 at 15:58 -0800, Chris Wright wrote: > plain text document attachment > (autofs-fix-error-code-path-in-autofs_fill_sb.patch) > -stable review patch. If anyone has any objections, please let us know. > -- Stable review of what (version)? > > From: Jiri Kosina

Re: [RFC] [PATCH] virtual memmap on sparsemem v3 [3/4] static virtual mem_map

2006-12-08 Thread KAMEZAWA Hiroyuki
On Fri, 8 Dec 2006 19:33:23 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > Would prefer to unconditionally include the header file - conditional > > > inclusions > > > like this can cause compile failures when someone changes a config > > > option. They > > > generally raise the

Re: [RFC] [PATCH] virtual memmap on sparsemem v3 [3/4] static virtual mem_map

2006-12-08 Thread Andrew Morton
On Sat, 9 Dec 2006 11:49:50 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > On Fri, 8 Dec 2006 16:30:20 -0800 > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > +#ifdef CONFIG_SPARSEMEM_VMEMMAP_STATIC > > > +#include > > > +extern struct page mem_map[]; > > > +#else > > > extern struct

Re: [stable] [patch 00/32] -stable review

2006-12-08 Thread Chris Wright
* Chuck Ebbert ([EMAIL PROTECTED]) wrote: > In-Reply-To: <[EMAIL PROTECTED]> > > On Fri, 8 Dec 2006 16:38:10 -0800, Chris Wright wrote: > > > And a roll-up is available at: > > > > > > http://www.kernel.org/pub/linux/kernel/people/chrisw/stable/patch-2.6.19.1-rc1.{gz,bz2} > > Would it

Re: 2.6.19-git libusual: modprobe for usb-storage succeeded, but module is not present

2006-12-08 Thread Pete Zaitcev
On Fri, 08 Dec 2006 19:08:29 -0600, [EMAIL PROTECTED] wrote: > usb 2-2: new high speed USB device using ehci_hcd and address 3 > usb 2-2: configuration #1 chosen from 1 choice > libusual: modprobe for usb-storage succeeded, but module is not present > usb 2-4: new high speed USB device using

Re: [stable] [patch 00/32] -stable review

2006-12-08 Thread Chuck Ebbert
In-Reply-To: <[EMAIL PROTECTED]> On Fri, 8 Dec 2006 16:38:10 -0800, Chris Wright wrote: > And a roll-up is available at: > > > http://www.kernel.org/pub/linux/kernel/people/chrisw/stable/patch-2.6.19.1-rc1.{gz,bz2} Would it be possible to make this available as a quilt patchset, like

Re: [PATCH] connector: Some fixes for ia64 unaligned access errors

2006-12-08 Thread Pete Zaitcev
On Thu, 7 Dec 2006 17:22:13 -0600, Erik Jacobson <[EMAIL PROTECTED]> wrote: > Here, we just adjust how the variables are declared and use memcopy to > avoid the error messages. > - ev->timestamp_ns = timespec_to_ns(); > + ev.timestamp_ns = timespec_to_ns(); Please try to declare u64

RE: [LinuxBIOS] [linux-usb-devel] [RFC][PATCH 0/2] x86_64 Early usb debug port support.

2006-12-08 Thread Lu, Yinghai
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 07, 2006 11:42 PM >> With Eric code in LinuxBIOS, it will report "No device found in debug >> port" >Hmm. At least this is partial progress :) It works in LinuxBIOS now. It will loop all

Re: Relative atime (was Re: What's in ocfs2.git)

2006-12-08 Thread Valerie Henson
On Tue, Dec 05, 2006 at 08:58:02PM -0800, Andrew Morton wrote: > That's the easy part. How are we going to get mount(8) patched? Karel, interested in taking a look at the following patch? The kernel bits are in -mm currently. -VAL Add the "relatime" (relative atime) option support to mount.

Re: CD/DVD drive errors and lost ticks

2006-12-08 Thread Christoph Anton Mitterer
Hi. Sorry for my late reply,.. but I've been very busy this week (dozens of new Sun Fires that hat to be installed, etc.) ;-) Parag Warudkar wrote: > It seems that your kernel is using IDE for your CDROM and libata for your > other drives. Yes it does. > I recall having a similar problem

[patch 2.6.19-git] rts-rs5c372 updates: more chips, alarm, 12hr mode, etc

2006-12-08 Thread David Brownell
Update the rtc-rs5c372 driver: Bugfixes: - Handle RTCs which are configured to use 12-hour mode. - Never report bogus/un-initialized times. - Displaying "raw trim" requires not masking it first! - Fix the procfs display of crystal and trim data. Features: - Handle other RTCs in this

Re: [RFC] [PATCH] virtual memmap on sparsemem v3 [3/4] static virtual mem_map

2006-12-08 Thread KAMEZAWA Hiroyuki
On Fri, 8 Dec 2006 16:30:20 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > +#ifdef CONFIG_SPARSEMEM_VMEMMAP_STATIC > > +#include > > +extern struct page mem_map[]; > > +#else > > extern struct page* mem_map; > > #endif > > +#endif > > This looks rather unpleasant - what went wrong here? >

Re: [RFC] [PATCH] virtual memmap on sparsemem v3 [1/4] map and unmap

2006-12-08 Thread KAMEZAWA Hiroyuki
On Fri, 8 Dec 2006 16:28:19 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > Generally we prefer to simply *require* that the function vector be filled > in appropriately. So if the caller has no special needs, the caller will > set their gen_map_kern_ops.k_pte_alloc to point at

Re: [PATCH] PCI legacy resource fix

2006-12-08 Thread Alan
> Checking the patch, my problem is that the old way, all BAR's were being > set at start = end = flags = 0. The patch makes it set all the BAR's to Yes the old quirk used to blank the resources as the values on the chip are undefined and random. This gives you corrupt resource trees and needs

Re: [PATCH] PCI legacy resource fix

2006-12-08 Thread Ben Collins
On Sat, 2006-12-09 at 01:25 +, Ralf Baechle wrote: > On Fri, Dec 08, 2006 at 07:46:18PM -0500, Ben Collins wrote: > > > On Wed, 2006-12-06 at 13:41 +, Ralf Baechle wrote: > > > Since commit 368c73d4f689dae0807d0a2aa74c61fd2b9b075f the kernel will try > > > to update the non-writeable BAR

Re: [PATCH 2/3] Import fw-ohci driver.

2006-12-08 Thread Kristian Høgsberg
Jeff Garzik wrote: Thanks for reviewing this. I'm updating my git repo with your changes now, will send an updated patch set in a few days. +struct descriptor { +u32 req_count:16; + +u32 wait:2; +u32 branch:2; +u32 irq:2; +u32 yy:1; +u32 ping:1; + +u32 key:3; +

[BUG] acpi: failed to poweroff

2006-12-08 Thread Liyu
Hi, all. I got a hasee notebook, and failed to poweroff after win soundcard (ALC861) problem. I seen someone said acpi=off may help this, but when I append it on kernel parameter list, the kernel even can not boot, the kernel just said "hdc: lost interrupt" at last, and freezeing. The

Re: [PATCH 0/4] atl1: Revised Attansic L1 ethernet driver

2006-12-08 Thread Vasco
I've got the p5B-E board to with the onboard attansic l1. I did the the atl1-2.0.2 patch against the 2.6.19.rc6 kernel. I can confirm the card is working but performance is *really* bad, 200Kb/s over Gbit LAN. I tried copying a ~50MB file over SSH and it didn't complete because of a connection

Re: [PATCH 0/4] atl1: Revised Attansic L1 ethernet driver

2006-12-08 Thread Vasco
I've got the p5B-E board to with the onboard attansic l1. I did the the atl1-2.0.2 patch against the 2.6.19.rc6 kernel. I can confirm the card is working but performance is *really* bad, 200Kb/s over Gbit LAN. I tried copying a ~50MB file over SSH and it didn't complete because of a connection

Re: BUG: warning at drivers/scsi/ahci.c:859/ahci_host_intr() [ 2.6.17.14 ]

2006-12-08 Thread Olivier Galibert
On Sat, Dec 09, 2006 at 01:18:30AM +, Alan wrote: > On Fri, 8 Dec 2006 20:05:07 -0500 > koan <[EMAIL PROTECTED]> wrote: > > > ata4: status=0x50 { DriveReady SeekComplete } > > ata4: error=0x01 { AddrMarkNotFound } > > That looks like a genuine drive problem. Is a disk driver supposed to

[patch 33/32] NETLINK: Put {IFA,IFLA}_{RTA,PAYLOAD} macros back for userspace.

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: David Miller <[EMAIL PROTECTED]> NETLINK: Put {IFA,IFLA}_{RTA,PAYLOAD} macros back for userspace. GLIBC uses them etc. They are guarded by ifndef __KERNEL__ so nobody will start accidently using

Re: [PATCH] PCI legacy resource fix

2006-12-08 Thread Ralf Baechle
On Fri, Dec 08, 2006 at 07:46:18PM -0500, Ben Collins wrote: > On Wed, 2006-12-06 at 13:41 +, Ralf Baechle wrote: > > Since commit 368c73d4f689dae0807d0a2aa74c61fd2b9b075f the kernel will try > > to update the non-writeable BAR registers 0..3 of PIIX4 IDE adapters if > >

oops on 2.6.19-rc6-mm2: deref of 0x28 at permission+0x7

2006-12-08 Thread Jiri Slaby
Hi! I got this oops on 2.6.19-rc6-mm2 when starting the system. It happened only once -- when echo "raidautorun /dev/md0" | nash --quiet was executed. I don't know why it happened, after reboot it started OK. There is no md0, only md1, md2 and md3. See camera-shots here:

RE: [RFC][PATCH 2/2] x86_64: earlyprintk usb debug device support.

2006-12-08 Thread Lu, Yinghai
-Original Message- From: Greg KH [mailto:[EMAIL PROTECTED] Sent: Friday, December 08, 2006 5:17 PM >Buffer size? flow control? the fact that the buffer has already >overflowed? Who knows, don't trust usb-serial as a real "console" >please :) I set buffer size to 128k, and can get

2.6.19-git libusual: modprobe for usb-storage succeeded, but module is not present

2006-12-08 Thread art
to: linux-kernel@vger.kernel.org cc: [EMAIL PROTECTED] 2.6.19-git libusual: modprobe for usb-storage succeeded, but module is not present Linux version 2.6.19-200612081830-g17097758 ([EMAIL PROTECTED]) (gcc version 4.1.1 20061011 ) #16 SMP PREEMPT Fri Dec 8 18:37:41 CST 2006 Command

Re: [RFC][PATCH 2/2] x86_64: earlyprintk usb debug device support.

2006-12-08 Thread Greg KH
On Wed, Dec 06, 2006 at 07:20:16PM -0800, Lu, Yinghai wrote: > Greg, > > I wonder why the netconsole could print all boot log from beginning with > buffer. But your usb serial console can not. Buffer size? flow control? the fact that the buffer has already overflowed? Who knows, don't trust

Re: BUG: warning at drivers/scsi/ahci.c:859/ahci_host_intr() [ 2.6.17.14 ]

2006-12-08 Thread Alan
On Fri, 8 Dec 2006 20:05:07 -0500 koan <[EMAIL PROTECTED]> wrote: > ata4: status=0x50 { DriveReady SeekComplete } > ata4: error=0x01 { AddrMarkNotFound } That looks like a genuine drive problem. Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

BUG: warning at drivers/scsi/ahci.c:859/ahci_host_intr() [ 2.6.17.14 ]

2006-12-08 Thread koan
Hello, After 33 days of uptime, I noticed something in my dmesg output. The system is 4 x SATA2 disks connected to the onboard SATA2 controller. They are all part of a linux software raid 5 volume. According to /proc/mdstat , all of the disks are still online (?). Right now the system is still

Re: Possible circular locking in ntfs on 2.6.19-rc5-mm2 (now 2.6.19-rc6-mm2)

2006-12-08 Thread Jiri Slaby
Jiri Slaby wrote: > -- Forwarded message -- > From: Larry Finger <[EMAIL PROTECTED]> > Date: Nov 24, 2006 5:17 PM > Subject: Possible circular locking in ntfs on 2.6.19-rc5-mm2 > To: LKML , [EMAIL PROTECTED] > > > On kernel 2.6.19-rc5-mm2, my log shows the following dump of a >

[PATCH 1/1 v3] Char: isicom, fix card locking

2006-12-08 Thread Jiri Slaby
me wrote: > If nothing appeared in dmesg (even before setserial) and the second option is > enabled, then I'm out of clues for now (however I revealed another recursive > locking issue in close() function). Could you apply this dirty hack Ok, this third version covers the revealed recursion.

Re: [PATCH] PCI legacy resource fix

2006-12-08 Thread Ben Collins
On Wed, 2006-12-06 at 13:41 +, Ralf Baechle wrote: > Since commit 368c73d4f689dae0807d0a2aa74c61fd2b9b075f the kernel will try > to update the non-writeable BAR registers 0..3 of PIIX4 IDE adapters if > pci_assign_unassigned_resources() is used to do full resource assignment > of the bus.

Re: [PATCH 0/2] file capabilities: two bugfixes

2006-12-08 Thread Seth Arnold
On Fri, Dec 08, 2006 at 01:36:57PM -0600, Serge E. Hallyn wrote: > The other is that root can lose capabilities by executing files with > only some capabilities set. The next two patches change these > behaviors. I saw this in my code review and thought that this behaviour was intentional. :) It

Re: [stable] [patch 00/32] -stable review

2006-12-08 Thread Chris Wright
And a roll-up is available at: http://www.kernel.org/pub/linux/kernel/people/chrisw/stable/patch-2.6.19.1-rc1.{gz,bz2} - 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: [RFC] [PATCH] virtual memmap on sparsemem v3 [3/4] static virtual mem_map

2006-12-08 Thread Andrew Morton
On Fri, 8 Dec 2006 16:07:08 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > This patch adds support for statically allocated virtual mem_map. > (means virtual address of mem_map array is defined statically.) > This removes reference to *(_map). > > Signed-Off-By: KAMEZAWA Hiroyuki <[EMAIL

2.6.19-rt10: compilation/link failure

2006-12-08 Thread Jonathan Woithe
Hi guys I still can't get 2.6.19-rt to compile. This time it fails during the final link process: LD .tmp_vmlinux1 arch/i386/kernel/built-in.o(.text+0xf2c7): In function `smp_send_nmi_allbutself': : undefined reference to `send_IPI_mask_bitmask' make: *** [.tmp_vmlinux1] Error

Re: [PATCH] cpuset - rework cpuset_zone_allowed api

2006-12-08 Thread Paul Jackson
Paul M wrote: > While you're changing this, is there a good reason not to check > is_mem_exclusive() *before* taking callback_mutex and calling > nearest_exclusive_ancestor()? > > something like: > > rcu_read_lock(); > exc = is_mem_exclusive(rcu_dereference(current->cs)); > rcu_read_unlock(); >

Re: [RFC] [PATCH] virtual memmap on sparsemem v3 [1/4] map and unmap

2006-12-08 Thread Andrew Morton
On Fri, 8 Dec 2006 16:01:42 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > When we want to map pages into the kernel space by vmalloc()'s routine, > we always need 'struct page' to do that. > > There are cases where there is no page struct to use (bootstrap, etc..). > This function is

[patch 11/32] SUNHME: Fix for sunhme failures on x86

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Jurij Smakov <[EMAIL PROTECTED]> The following patch fixes the failure of sunhme drivers on x86 hosts due to missing pci_enable_device() and pci_set_master() calls, lost during code refactoring. It

[patch 25/32] drm-sis linkage fix

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Andrew Morton <[EMAIL PROTECTED]> Fix http://bugzilla.kernel.org/show_bug.cgi?id=7606 WARNING: "drm_sman_set_manager" [drivers/char/drm/sis.ko] undefined! Cc: <[EMAIL PROTECTED]> Cc: Dave Airlie

[patch 17/32] do_coredump() and not stopping rewrite attacks? (CVE-2006-6304)

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Alexey Dobriyan <[EMAIL PROTECTED]> On Sat, Dec 02, 2006 at 11:47:44PM +0300, Alexey Dobriyan wrote: > David Binderman compiled 2.6.19 with icc and grepped for "was set but never > used". Many

[patch 27/32] PM: Fix swsusp debug mode testproc

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Rafael J Wysocki <[EMAIL PROTECTED]> The 'testproc' swsusp debug mode thaws tasks twice in a row, which is _very_ confusing. Fix that. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]>

[patch 22/32] IrDA: Incorrect TTP header reservation

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Jeet Chaudhuri <[EMAIL PROTECTED]> We must reserve SAR + MAX_HEADER bytes for IrLMP to fit in. This fixes an oops reported (and fixed) by Jeet Chaudhuri, when max_sdu_size is greater than 0.

[patch 31/32] x86_64: fix boot hang due to nmi watchdog init code

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Ravikiran G Thirumalai <[EMAIL PROTECTED]> 2.6.19 stopped booting (or booted based on build/config) on our x86_64 systems due to a bug introduced in 2.6.19. check_nmi_watchdog schedules an IPI on

[patch 29/32] softirq: remove BUG_ONs which can incorrectly trigger

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Zachary Amsden <[EMAIL PROTECTED]> It is possible to have tasklets get scheduled before softirqd has had a chance to spawn on all CPUs. This is totally harmless; after success during action

[patch 04/32] EBTABLES: Verify that ebt_entries have zero ->distinguisher.

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Al Viro <[EMAIL PROTECTED]> We need that for iterator to work; existing check had been too weak. Signed-off-by: Al Viro <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

[patch 13/32] NETFILTER: Fix iptables compat hook validation

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Dmitry Mishin <[EMAIL PROTECTED]> In compat mode, matches and targets valid hooks checks always successful due to not initialized e->comefrom field yet. This patch separates this checks from

[patch 32/32] forcedeth: Disable INTx when enabling MSI in forcedeth

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Daniel Barkalow <[EMAIL PROTECTED]> At least some nforce cards continue to send legacy interrupts when MSI is enabled, and these interrupts are treated as unhandled by the kernel. This patch

[patch 18/32] TOKENRING: Remote memory corruptor in ibmtr.c

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: David Miller <[EMAIL PROTECTED]> ip_summed changes last summer had missed that one. As the result, we have ip_summed interpreted as CHECKSUM_PARTIAL now. IOW, ->csum is interpreted as offset of

[patch 14/32] NETFILTER: bridge netfilter: deal with martians correctly

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Bart De Schuymer <[EMAIL PROTECTED]> The attached patch resolves an issue where a IP DNATed packet with a martian source is forwarded while it's better to drop it. It also resolves messages

[patch 10/32] PKT_SCHED act_gact: division by zero

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: David Miller <[EMAIL PROTECTED]> Not returning -EINVAL, because someone might want to use the value zero in some future gact_prob algorithm? Signed-off-by: Kim Nordlund <[EMAIL PROTECTED]>

Re: [PATCH 000 of 5] md: Assorted minor fixes for mainline

2006-12-08 Thread Andrew Morton
On Fri, 8 Dec 2006 12:05:24 +1100 NeilBrown <[EMAIL PROTECTED]> wrote: > Following are 5 patches for md in 2.6.19-rc6-mm2 that are suitable for 2.6.20. > > Patch 4 might fix an outstanding bug against md which manifests as an > oops early in boot, but I don't have test results yet. > >

[patch 21/32] IPSEC: Fix inetpeer leak in ipv4 xfrm dst entries.

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: David Miller <[EMAIL PROTECTED]> We grab a reference to the route's inetpeer entry but forget to release it in xfrm4_dst_destroy(). Bug discovered by Kazunori MIYAZAWA <[EMAIL PROTECTED]>

[patch 30/32] m32r: make userspace headers platform-independent

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Hirokazu Takata <[EMAIL PROTECTED]> The m32r kernel 2.6.18-rc1 or after cause build errors of "unknown isa configuration" for userspace application programs, such as glibc, gdb, etc. This is

[patch 08/32] cryptoloop: Select CRYPTO_CBC

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Herbert Xu <[EMAIL PROTECTED]> As CBC is the default chaining method for cryptoloop, we should select it from cryptoloop to ease the transition. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>

[patch 28/32] autofs: fix error code path in autofs_fill_sb()

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Jiri Kosina <[EMAIL PROTECTED]> When kernel is compiled with old version of autofs (CONFIG_AUTOFS_FS), and new (observed at least with 5.x.x) automount deamon is started, kernel correctly reports

[patch 06/32] EBTABLES: Prevent wraparounds in checks for entry components sizes.

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Al Viro <[EMAIL PROTECTED]> --- net/bridge/netfilter/ebtables.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) --- linux-2.6.19.orig/net/bridge/netfilter/ebtables.c +++

[patch 15/32] softmac: fix unbalanced mutex_lock/unlock in ieee80211softmac_wx_set_mlme

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Maxime Austruy <[EMAIL PROTECTED]> Routine ieee80211softmac_wx_set_mlme has one return that fails to release a mutex acquired at entry. Signed-off-by: Maxime Austruy <[EMAIL PROTECTED]>

[patch 03/32] EBTABLES: Fix wraparounds in ebt_entries verification.

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Al Viro <[EMAIL PROTECTED]> We need to verify that a) we are not too close to the end of buffer to dereference b) next entry we'll be checking won't be _before_ our While we are at

[patch 19/32] XFRM: Use output device disable_xfrm for forwarded packets

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy <[EMAIL PROTECTED]> Currently the behaviour of disable_xfrm is inconsistent between locally generated and forwarded packets. For locally generated packets disable_xfrm disables the

[patch 20/32] USB: Fix oops in PhidgetServo

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Sean Young <[EMAIL PROTECTED]> The PhidgetServo causes an Oops when any of its sysfs attributes are read or written too, making the driver useless. Signed-off-by: Sean Young <[EMAIL PROTECTED]>

[patch 23/32] NETLINK: Restore API compatibility of address and neighbour bits

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Thomas Graf <[EMAIL PROTECTED]> Restore API compatibility due to bits moved from rtnetlink.h to separate headers. Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Signed-off-by: David S. Miller

[patch 16/32] IB/ucm: Fix deadlock in cleanup

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Michael S Tsirkin <[EMAIL PROTECTED]> ib_ucm_cleanup_events() holds file_mutex while calling ib_destroy_cm_id(). This can deadlock since ib_destroy_cm_id() flushes event handlers, and

[patch 05/32] EBTABLES: Deal with the worst-case behaviour in loop checks.

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Al Viro <[EMAIL PROTECTED]> No need to revisit a chain we'd already finished with during the check for current hook. It's either instant loop (which we'd just detected) or a duplicate work.

[patch 26/32] compat: skip data conversion in compat_sys_mount when data_page is NULL

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Andrey Mirkin <[EMAIL PROTECTED]> OpenVZ Linux kernel team has found a problem with mounting in compat mode. Simple command "mount -t smbfs ..." on Fedora Core 5 distro in 32-bit mode leads to

[patch 07/32] NET_SCHED: policer: restore compatibility with old iproute binaries

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy <[EMAIL PROTECTED]> The tc actions increased the size of struct tc_police, which broke compatibility with old iproute binaries since both the act_police and the old NET_CLS_POLICE

[patch 24/32] add bottom_half.h

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Andrew Morton <[EMAIL PROTECTED]> With CONFIG_SMP=n: drivers/input/ff-memless.c:384: warning: implicit declaration of function 'local_bh_disable' drivers/input/ff-memless.c:393: warning: implicit

Re: [patch] net: dev_watchdog() locking fix

2006-12-08 Thread Herbert Xu
On Fri, Dec 08, 2006 at 03:19:02PM -0800, Andrew Morton wrote: > > Like this? > > /* don't get messages out of order, and no recursion */ > if (skb_queue_len(>txq) == 0 && > npinfo->poll_owner != smp_processor_id()) { > local_bh_disable(); /*

[patch 12/32] NETFILTER: Fix {ip, ip6, arp}_tables hook validation

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Dmitry Mishin <[EMAIL PROTECTED]> Commit 590bdf7fd2292b47c428111cb1360e312eff207e introduced a regression in match/target hook validation. mark_source_chains builds a bitmask for each rule

[patch 01/32] IPV6 NDISC: Calculate packet length correctly for allocation.

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: David Miller <[EMAIL PROTECTED]> MAX_HEADER does not include the ipv6 header length in it, so we need to add it in explicitly. With help from YOSHIFUJI Hideaki. Signed-off-by: David S. Miller

[patch 02/32] softmac: remove netif_tx_disable when scanning

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Michael Buesch <[EMAIL PROTECTED]> In the scan section of ieee80211softmac, network transmits are disabled. When SoftMAC re-enables transmits, it may override the wishes of a driver that may have

[patch 09/32] Revert "ACPI: SCI interrupt source override"

2006-12-08 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Len Brown <[EMAIL PROTECTED]> This reverts commit 281ea49b0c294649a6de47a6f8fbe5611137726b, which broke ACPI Interrupt source overrides that move the SCI from one IRQ in PIC mode to another in

[patch 00/32] -stable review

2006-12-08 Thread Chris Wright
This is the start of the stable review cycle for the 2.6.19.1 release. There are 32 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let us know. If anyone is a maintainer of the proper subsystem, and wants to add a

Re: Status of buffered write path (deadlock fixes)

2006-12-08 Thread Mark Fasheh
On Fri, Dec 08, 2006 at 02:28:10PM +1100, Nick Piggin wrote: > >In generic_file_buffered_write() we now do: > > > > status = a_ops->commit_write(file, page, offset,offset+copied); > > > >Which tells the file system to commit only the amount of data that > >filemap_copy_from_user() was able to

[PATCH] kcalloc: Re-order the first two out-of-order args to kcalloc().

2006-12-08 Thread Robert P. J. Day
Some calls to kcalloc() appear to have the first two args in the wrong order. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- drivers/macintosh/smu.c |2 +- drivers/net/skge.c |2 +- drivers/scsi/sym53c8xx_2/sym_hipd.c |2 +-

Re: [PATCH RFC] use of activate_mm in fs/aio.c:use_mm()?

2006-12-08 Thread Andrew Morton
On Wed, 06 Dec 2006 17:36:02 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Jeremy Fitzhardinge wrote: > > I'm wondering if activate_mm() is the right thing to be using in > > use_mm(); shouldn't this be switch_mm()? > > > > On normal x86, they're synonymous, but for the Xen patches I'm

Re: [PATCH 2/6] e1000: use pcix_set_mmrbc

2006-12-08 Thread Jeff Kirsher
On 12/8/06, Auke Kok <[EMAIL PROTECTED]> wrote: Stephen Hemminger wrote: > On Fri, 08 Dec 2006 13:45:05 -0800 > > Hmm.. looks like all that code should really be moved off to PCI bus > quirk/setup. None of it is E1000 specific. Something like this (untested): This is not true, and I have to

Re: [patch] net: dev_watchdog() locking fix

2006-12-08 Thread Andrew Morton
On Fri, 8 Dec 2006 08:06:57 +1100 Herbert Xu <[EMAIL PROTECTED]> wrote: > On Thu, Dec 07, 2006 at 09:55:22PM +0100, Ingo Molnar wrote: > > > > fallout of the recent big networking merge i guess. Tested fix below. > > David, Herbert, do you agree with it, or is it a false positive? > > I agree

[PATCH] sysctl: remove unused "context" param

2006-12-08 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- arch/frv/kernel/pm.c |6 ++--- arch/mips/lasat/sysctl.c | 17 ++ arch/x86_64/kernel/vsyscall.c |3 -- drivers/char/random.c |2 - include/linux/sysctl.h |5 +---

[PATCH] sysctl: remove some OPs

2006-12-08 Thread Alexey Dobriyan
kernel.cap-bound uses only OP_SET and OP_AND Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- kernel/sysctl.c | 10 -- 1 file changed, 10 deletions(-) --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -1931,9 +1931,6 @@ int proc_dointvec(ctl_table *table, int #define OP_SET 0

  1   2   3   4   5   6   7   8   >