r1900 - in trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian: . patches patches/series

Andres Salomon dilinger-guest@haydn.debian.org
Wed, 24 Nov 2004 22:22:33 -0700


Author: dilinger-guest
Date: 2004-11-24 22:22:14 -0700 (Wed, 24 Nov 2004)
New Revision: 1900

Added:
   trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian/patches/dm_io-ENOMEM-goof.dpatch
   trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian/patches/series/2.6.9-3
Modified:
   trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian/changelog
Log:
complete changelog from 2.6.8-8, include missing dm_io-ENOMEM patch, and
start 2.6.9-3.


Modified: trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian/changelog
===================================================================
--- trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian/changelog	2004-11-24 21:19:58 UTC (rev 1899)
+++ trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian/changelog	2004-11-25 05:22:14 UTC (rev 1900)
@@ -1,3 +1,10 @@
+kernel-source-2.6.9 (2.6.9-3) UNRELEASED; urgency=low
+
+  * Include dm_io-ENOMEM-goof patch that was included in final 2.6.8-8
+    (Andres Salomon).
+
+ -- Andres Salomon <dilinger@voxel.net>  Thu, 25 Nov 2004 00:20:47 -0500
+
 kernel-source-2.6.9 (2.6.9-2) unstable; urgency=low
 
   * [SECURITY] Fix problems in binfmt_elf loader; see
@@ -133,11 +140,14 @@
 
  -- Andres Salomon <dilinger@voxel.net>  Thu, 28 Oct 2004 01:11:01 -0400
 
-kernel-source-2.6.8 (2.6.8-8) UNRELEASED; urgency=low
+kernel-source-2.6.8 (2.6.8-8) unstable; urgency=medium
 
   * Add workaround for broken Happy Meal ethernet controllers.
     (closes: #275485) (Joshua Kwan)
 
+  * Fix goof in dm-io.c that led to uncaught errors on ENOMEM (Joshua Kwan)
+    using Nigel Cunningham's patch on LKML.
+
   * Include a couple fixes for the mem= & max_addr= boot params on ia64.
     (dann frazier)
 
@@ -170,14 +180,38 @@
 
   * NFS localhost mount netfilter fix (closes: #254645) (Andres Salomon).
 
+  * Correctly detect VIA 8233A sound card (closes: #254645) (Simon Horman)
+
   * Update aic7xxx/aic79xx to current mainline versions (Christoph Hellwig).
 
   * Drop aic79xx-nohw; superceded by aic7xxx-update (Andres Salomon).
 
   * Fix smbfs overrun/leak (Andres Salomon).
 
- -- Simon Horman <horms@debian.org>  Mon, 18 Oct 2004 12:34:24 +0900
+  * VIA8231 support for parallel port driver (closes: #279174) (Simon Horman)
 
+  * [ACPI] reserve EBDA for Dell BIOS that neglects to.
+    (Possible fix for: Bug#277298) (Simon Horman)
+
+  * Changed recomends libqt3-dev to libqt3-mt-dev as the former is debricated.
+    (closes: #279605) (Simon Horman)
+
+  * Via Velocity Driver update from 2.6.9
+    (closes: Bug#278508) (Simon Horman)
+
+  * Allow more SCSI ioctls.
+    (Possible fix for: Bug#277083) (Simon Horman)
+
+  * [ia64] fix a bug that causes HP systems to run out of DMA mapping resources
+    under heavy load (dann frazier)
+
+  * Backport of vmscan fixes from upstream. (Simon Horman)
+
+  * Fixes to cope with hardware with broken GetMaxLUN responses (Simon Horman).
+    (Possible fix for: Bug#279889)
+
+ -- Andres Salomon <dilinger@voxel.net>  Tue, 09 Nov 2004 01:28:16 -0500
+
 kernel-source-2.6.8 (2.6.8-7) unstable; urgency=medium
 
   * Fix VGA console on PReP systems (closes: #271852) (Jens Schmalzing).

Added: trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian/patches/dm_io-ENOMEM-goof.dpatch
===================================================================
--- trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian/patches/dm_io-ENOMEM-goof.dpatch	2004-11-24 21:19:58 UTC (rev 1899)
+++ trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian/patches/dm_io-ENOMEM-goof.dpatch	2004-11-25 05:22:14 UTC (rev 1900)
@@ -0,0 +1,93 @@
+# origin: Debian (joshk) -> LKML
+# cset: n/a
+# inclusion: n/a
+# revision date: 2004-11-08
+
+Path: main.gmane.org!not-for-mail
+From: Nigel Cunningham <ncunningham@linuxmail.org>
+Newsgroups: gmane.linux.kernel
+Subject: PATCH (Trivial): Fix dm_io.c oops in low memory conditions.
+Date: Tue, 09 Nov 2004 14:44:45 +1100
+Lines: 34
+Approved: news@gmane.org
+Message-ID: <1099971769.10988.6.camel@desktop.cunninghams>
+Reply-To: ncunningham@linuxmail.org
+NNTP-Posting-Host: deer.gmane.org
+X-Trace: sea.gmane.org 1099972242 16923 80.91.229.6 (9 Nov 2004 03:50:42
+	GMT)
+X-Complaints-To: usenet@sea.gmane.org
+NNTP-Posting-Date: Tue, 9 Nov 2004 03:50:42 +0000 (UTC)
+Original-X-From:
+	linux-kernel-owner+glk-linux-kernel=40m.gmane.org-S261210AbUKIDrY@vger.kern
+	el.org Tue Nov 09 04:50:31 2004
+Return-path:
+	<linux-kernel-owner+glk-linux-kernel=40m.gmane.org-S261210AbUKIDrY@vger.ker
+	nel.org>
+Original-Received: from vger.kernel.org ([12.107.209.244])
+	by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian))
+	id 1CRN1b-0007fY-00
+	for <glk-linux-kernel@gmane.org>; Tue, 09 Nov 2004 04:50:31 +0100
+Original-Received: (majordomo@vger.kernel.org) by vger.kernel.org via
+	listexpand
+	id S261210AbUKIDrY (ORCPT <rfc822;glk-linux-kernel@m.gmane.org>);
+	Mon, 8 Nov 2004 22:47:24 -0500
+Original-Received: (majordomo@vger.kernel.org) by vger.kernel.org id
+	S261229AbUKIDqL
+	(ORCPT <rfc822;linux-kernel-outgoing>);
+	Mon, 8 Nov 2004 22:46:11 -0500
+Original-Received: from pop5-1.us4.outblaze.com ([205.158.62.125]:940 "HELO
+	pop5-1.us4.outblaze.com") by vger.kernel.org with SMTP
+	id S261210AbUKIDp7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>);
+	Mon, 8 Nov 2004 22:45:59 -0500
+Original-Received: (qmail 14504 invoked from network); 9 Nov 2004 03:45:58
+	-0000
+Original-Received: from unknown (HELO ?203.194.46.144?)
+	(ncunningham@linuxmail.org@203.194.46.144)  by pop5-1.us4.outblaze.com with
+	SMTP; 9 Nov 2004 03:45:57 -0000
+Original-To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
+	Andrew Morton <akpm@digeo.com>,
+	Linus Torvalds <torvalds@osdl.org>
+X-Mailer: Ximian Evolution 1.4.6-1mdk
+Original-Sender: linux-kernel-owner@vger.kernel.org
+Precedence: bulk
+X-Mailing-List: linux-kernel@vger.kernel.org
+Xref: main.gmane.org gmane.linux.kernel:253634
+X-Report-Spam: http://spam.gmane.org/gmane.linux.kernel:253634
+MIME-Version: 1.0
+Content-Type: text/plain
+Content-Transfer-Encoding: 7bit
+
+Hi.
+
+If you call drivers/md/dm-io.c:resize_pool on an empty pool and
+mempool_create is unable to make the pool, the condition is not handled
+correctly, resulting in an oops in mempool_destroy.
+
+Please apply.
+
+Regards,
+
+Nigel
+
+diff -ruN 900-dm-low-memory-fix-old/drivers/md/dm-io.c 900-dm-low-memory-fix-new/drivers/md/dm-io.c
+--- 900-dm-low-memory-fix-old/drivers/md/dm-io.c	2004-11-09 14:35:09.234557768 +1100
++++ 900-dm-low-memory-fix-new/drivers/md/dm-io.c	2004-11-09 13:34:36.000000000 +1100
+@@ -265,7 +265,7 @@
+ 		/* create new pool */
+ 		_io_pool = mempool_create(new_ios, alloc_io, free_io, NULL);
+ 		if (!_io_pool)
+-			r = -ENOMEM;
++			return -ENOMEM;
+ 
+ 		r = bio_set_init(&_bios, "dm-io", 512, 1);
+ 		if (r) {
+
+-- 
+Nigel Cunningham
+Pastoral Worker
+Christian Reformed Church of Tuggeranong
+PO Box 1004, Tuggeranong, ACT 2901
+
+You see, at just the right time, when we were still powerless, Christ
+died for the ungodly.		-- Romans 5:6
+

Added: trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian/patches/series/2.6.9-3
===================================================================
--- trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian/patches/series/2.6.9-3	2004-11-24 21:19:58 UTC (rev 1899)
+++ trunk/kernel/source/kernel-source-2.6.9-2.6.9/debian/patches/series/2.6.9-3	2004-11-25 05:22:14 UTC (rev 1900)
@@ -0,0 +1 @@
++ dm_io-ENOMEM-goof.dpatch