rpms/kernel/F-8 linux-2.6-acpi-fix-error-with-external-methods.patch, NONE, 1.1 linux-2.6-net-iptables-add-xt_iprange-aliases.patch, NONE, 1.1 linux-2.6-nfs-client-mounts-hang.patch, NONE, 1.1 config-generic, 1.66, 1.67 kernel.spec, 1.443, 1.444 linux-2.6-acpi-fix-sizeof.patch, 1.1, 1.2

Chuck Ebbert (cebbert) fedora-extras-commits at redhat.com
Thu May 22 01:15:09 UTC 2008


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27300

Modified Files:
	config-generic kernel.spec linux-2.6-acpi-fix-sizeof.patch 
Added Files:
	linux-2.6-acpi-fix-error-with-external-methods.patch 
	linux-2.6-net-iptables-add-xt_iprange-aliases.patch 
	linux-2.6-nfs-client-mounts-hang.patch 
Log Message:
* Wed May 21 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.25.4-4
- Actually apply the firewire-git-pending and utrace patches.
- Add the wireless-fixups patch to the patch list.
- Fix ACPI error in the SizeOf() operator. (#436959)
- Add missing netfilter and NFS patches from F9.
- Set CONFIG_SYSFS_DEPRECATED[_V2]


linux-2.6-acpi-fix-error-with-external-methods.patch:

--- NEW FILE linux-2.6-acpi-fix-error-with-external-methods.patch ---
From: Bob Moore <robert.moore at intel.com>
Date: Thu, 10 Apr 2008 15:06:43 +0000 (+0400)
Subject: ACPICA: Fix for possible error when packages/buffers are passed to methods externally
X-Git-Tag: v2.6.26-rc1~101^2~12
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=24a3157a90ddf851a0880c0b8963bc43481cd85b

ACPICA: Fix for possible error when packages/buffers are passed to methods externally

Fixed a problem where buffer and package objects passed as
arguments to a control method via the external AcpiEvaluateObject
interface could cause an AE_AML_INTERNAL exception depending on the
order and type of operators executed by the target control method.

Signed-off-by: Bob Moore <robert.moore at intel.com>
Signed-off-by: Alexey Starikovskiy <astarikovskiy at suse.de>
Signed-off-by: Len Brown <len.brown at intel.com>
---

diff --git a/drivers/acpi/utilities/utcopy.c b/drivers/acpi/utilities/utcopy.c
index 4c4021d..4e9a62b 100644
--- a/drivers/acpi/utilities/utcopy.c
+++ b/drivers/acpi/utilities/utcopy.c
@@ -511,6 +511,10 @@ acpi_ut_copy_esimple_to_isimple(union acpi_object *external_object,
 			    external_object->buffer.length);
 
 		internal_object->buffer.length = external_object->buffer.length;
+
+		/* Mark buffer data valid */
+
+		internal_object->buffer.flags |= AOPOBJ_DATA_VALID;
 		break;
 
 	case ACPI_TYPE_INTEGER:
@@ -586,6 +590,10 @@ acpi_ut_copy_epackage_to_ipackage(union acpi_object *external_object,
 		}
 	}
 
+	/* Mark package data valid */
+
+	package_object->package.flags |= AOPOBJ_DATA_VALID;
+
 	*internal_object = package_object;
 	return_ACPI_STATUS(status);
 }

linux-2.6-net-iptables-add-xt_iprange-aliases.patch:

--- NEW FILE linux-2.6-net-iptables-add-xt_iprange-aliases.patch ---
From: Phil Oester <kernel at linuxace.com>
Date: Wed, 14 May 2008 06:27:48 +0000 (-0700)
Subject: netfilter: xt_iprange: module aliases for xt_iprange
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=01b7a314291b2ef56ad718ee1374a1bac4768b29

netfilter: xt_iprange: module aliases for xt_iprange

Using iptables 1.3.8 with kernel 2.6.25, rules which include '-m
iprange' don't automatically pull in xt_iprange module.  Below patch
adds module aliases to fix that.  Patch against latest -git, but seems
like a good candidate for -stable also.

Signed-off-by: Phil Oester <kernel at linuxace.com>
Signed-off-by: Patrick McHardy <kaber at trash.net>
Signed-off-by: David S. Miller <davem at davemloft.net>
---

diff --git a/net/netfilter/xt_iprange.c b/net/netfilter/xt_iprange.c
index 500528d..c63e933 100644
--- a/net/netfilter/xt_iprange.c
+++ b/net/netfilter/xt_iprange.c
@@ -179,3 +179,5 @@ module_exit(iprange_mt_exit);
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Jozsef Kadlecsik <kadlec at blackhole.kfki.hu>, Jan Engelhardt <jengelh at computergmbh.de>");
 MODULE_DESCRIPTION("Xtables: arbitrary IPv4 range matching");
+MODULE_ALIAS("ipt_iprange");
+MODULE_ALIAS("ip6t_iprange");

linux-2.6-nfs-client-mounts-hang.patch:

--- NEW FILE linux-2.6-nfs-client-mounts-hang.patch ---
From: Steve Dickson <SteveD at redhat.com>

This patch fixes a regression that was introduced by the string based mounts. 

nfs_mount() statically returns -EACCES for every error returned
by the remote mounted. This is incorrect because -EACCES is
an non-fatal error to the mount.nfs command. This error causes
mount.nfs to retry the mount even in the case when the exported
directory does not exist. 

This patch maps the errors returned by the remote mountd into
valid errno values, exactly how it was done pre-string based 
mounts. By returning the correct errno enables mount.nfs 
to do the right thing.  

Signed-off-by: Steve Dickson <steved at redhat.com>
---
Take 2- Why reinvent the wheel, as Trond pointed out using
nfs_stat_to_errno() makes more sense and is makes things much 
similar, something I'm always a fan of... 

diff -up linux/fs/nfs/mount_clnt.c.orig linux/fs/nfs/mount_clnt.c
--- linux/fs/nfs/mount_clnt.c.orig	2008-04-09 08:32:43.000000000 -0400
+++ linux/fs/nfs/mount_clnt.c	2008-04-11 19:42:16.000000000 -0400
@@ -14,6 +14,7 @@
 #include <linux/sunrpc/clnt.h>
 #include <linux/sunrpc/sched.h>
 #include <linux/nfs_fs.h>
+#include "internal.h"
 
 #ifdef RPC_DEBUG
 # define NFSDBG_FACILITY	NFSDBG_MOUNT
@@ -98,7 +99,7 @@ out_call_err:
 
 out_mnt_err:
 	dprintk("NFS: MNT server returned result %d\n", result.status);
-	status = -EACCES;
+	status = -nfs_stat_to_errno(result.status);
 	goto out;
 }

_______________________________________________
Fedora-kernel-list mailing list
Fedora-kernel-list at redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list



Index: config-generic
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/config-generic,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- config-generic	21 May 2008 23:55:13 -0000	1.66
+++ config-generic	22 May 2008 01:14:13 -0000	1.67
@@ -3173,8 +3173,8 @@
 # CONFIG_CGROUP_MEM_RES_CTLR is not set
 CONFIG_PROC_PID_CPUSET=y
 
-# CONFIG_SYSFS_DEPRECATED is not set
-# CONFIG_SYSFS_DEPRECATED_V2 is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
 
 CONFIG_RELAY=y
 # CONFIG_PRINTK_TIME is not set


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/kernel.spec,v
retrieving revision 1.443
retrieving revision 1.444
diff -u -r1.443 -r1.444
--- kernel.spec	21 May 2008 23:55:13 -0000	1.443
+++ kernel.spec	22 May 2008 01:14:13 -0000	1.444
@@ -621,6 +621,7 @@
 Patch422: linux-2.6-ext34-xattr-fix.patch
 Patch423: linux-2.6-xfs-small-buffer-reads.patch
 Patch424: linux-2.6-gfs-locking-exports.patch
+Patch425: linux-2.6-nfs-client-mounts-hang.patch
 
 Patch430: linux-2.6-net-silence-noisy-printks.patch
 Patch440: linux-2.6-sha_alignment.patch
@@ -639,6 +640,7 @@
 
 Patch680: linux-2.6-wireless.patch
 Patch681: linux-2.6-wireless-pending.patch
+Patch682: linux-2.6-wireless-fixups.patch
 Patch690: linux-2.6-at76.patch
 
 Patch720: linux-2.6-e1000-corrupt-eeprom-checksum.patch
@@ -646,7 +648,10 @@
 Patch725: linux-2.6-netdev-atl2.patch
 Patch727: linux-2.6-e1000-ich9.patch
 
-#Patch768: linux-2.6-acpi-fix-sizeof.patch
+Patch750: linux-2.6-net-iptables-add-xt_iprange-aliases.patch
+
+Patch768: linux-2.6-acpi-fix-sizeof.patch
+Patch769: linux-2.6-acpi-fix-error-with-external-methods.patch
 Patch784: linux-2.6-acpi-eeepc-hotkey.patch
 
 Patch820: linux-2.6-compile-fixes.patch
@@ -969,6 +974,7 @@
 ApplyPatch linux-2.6-upstream-reverts.patch -R
 
 # Roland's utrace ptrace replacement.
+ApplyPatch linux-2.6-utrace.patch
 
 # ALSA Thinkpad X300 support
 ApplyPatch linux-2.6-alsa-hda-codec-add-AD1884A.patch
@@ -1101,10 +1107,14 @@
 ApplyPatch linux-2.6-xfs-small-buffer-reads.patch
 # export symbols for gfs2 locking modules
 ApplyPatch linux-2.6-gfs-locking-exports.patch
+# fix nfs mount hang
+ApplyPatch linux-2.6-nfs-client-mounts-hang.patch
 
 # Networking
 # Disable easy to trigger printk's.
 ApplyPatch linux-2.6-net-silence-noisy-printks.patch
+# add alias for netfilter iprange matches
+ApplyPatch linux-2.6-net-iptables-add-xt_iprange-aliases.patch
 
 # Misc fixes
 # Fix SHA1 alignment problem on ia64
@@ -1120,8 +1130,6 @@
 
 # Fix the SELinux mprotect checks on executable mappings
 ApplyPatch linux-2.6-selinux-mprotect-checks.patch
-# don't leak memory in netlabel code
-# strip extra leading slashes in pathnames
 
 #
 # VM related fixes.
@@ -1167,8 +1175,9 @@
 ApplyPatch linux-2.6-netdev-atl2.patch
 
 # ACPI/PM patches
-# acpi has a bug in the sizeof function causing thermal panics (??? in 2.6.25)
-#ApplyPatch linux-2.6-acpi-fix-sizeof.patch
+# acpi has a bug in the sizeof function causing thermal panics (from 2.6.26)
+ApplyPatch linux-2.6-acpi-fix-sizeof.patch
+ApplyPatch linux-2.6-acpi-fix-error-with-external-methods.patch
 # properly disable stray interrupts in acpi (??? in 2.6.25)
 #ApplyPatch linux-2.6-acpi-disable-stray-interrupt-1.patch
 #ApplyPatch linux-2.6-acpi-disable-stray-interrupt-2.patch
@@ -1212,7 +1221,7 @@
 # FireWire updates and fixes
 # snap from http://me.in-berlin.de/~s5r6/linux1394/updates/
 ApplyPatch linux-2.6-firewire-git-update.patch
-#ApplyPatch linux-2.6-firewire-git-pending.patch
+ApplyPatch linux-2.6-firewire-git-pending.patch
 
 # usb video
 ApplyPatch linux-2.6-uvcvideo.patch
@@ -1814,6 +1823,13 @@
 
 
 %changelog
+* Wed May 21 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.25.4-4
+- Actually apply the firewire-git-pending and utrace patches.
+- Add the wireless-fixups patch to the patch list.
+- Fix ACPI error in the SizeOf() operator. (#436959)
+- Add missing netfilter and NFS patches from F9.
+- Set CONFIG_SYSFS_DEPRECATED[_V2]
+
 * Wed May 21 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.25.4-3
 - Initial cut of 2.6.25.4 kernel -- passes 'make prep'.
 

linux-2.6-acpi-fix-sizeof.patch:

Index: linux-2.6-acpi-fix-sizeof.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/linux-2.6-acpi-fix-sizeof.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- linux-2.6-acpi-fix-sizeof.patch	18 Mar 2008 23:43:36 -0000	1.1
+++ linux-2.6-acpi-fix-sizeof.patch	22 May 2008 01:14:13 -0000	1.2
@@ -1,28 +1,75 @@
-http://bugzilla.kernel.org/show_bug.cgi?id=9558#c33
-http://bugzilla.kernel.org/show_bug.cgi?id=10245#c2
-https://bugzilla.redhat.com/show_bug.cgi?id=437466
+Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8246934b7cf99d1f0c053d57890775e5d0df9c33
+Commit:     8246934b7cf99d1f0c053d57890775e5d0df9c33
+Parent:     c351f2dd542a3980e96cf128e06d19f784c5ea3e
+Author:     Lin Ming <ming.m.lin at intel.com>
+AuthorDate: Thu Apr 10 19:06:41 2008 +0400
+Committer:  Len Brown <len.brown at intel.com>
+CommitDate: Tue Apr 22 14:29:29 2008 -0400
+
+    ACPICA: Fix for SizeOf when used with Buffers and Packages
+    
+    Fixed a problem with the SizeOf operator when used with Package
+    and Buffer objects. These objects have deferred execution for some
+    arguments, and the execution is now completed before the SizeOf is
+    executed. This problem caused unexpected AE_PACKAGE_LIMIT errors
+    on some systems.
+    
+    http://bugzilla.kernel.org/show_bug.cgi?id=9558
+    
+    Signed-off-by: Lin Ming <ming.m.lin at intel.com>
+    Signed-off-by: Bob Moore <robert.moore at intel.com>
+    Signed-off-by: Alexey Starikovskiy <astarikovskiy at suse.de>
+    Signed-off-by: Len Brown <len.brown at intel.com>
+---
+ drivers/acpi/executer/exoparg1.c |   22 +++++++++++++++++-----
+ 1 files changed, 17 insertions(+), 5 deletions(-)
 
 diff --git a/drivers/acpi/executer/exoparg1.c b/drivers/acpi/executer/exoparg1.c
-index 252f10a..fed6ddf 100644
+index ab5c037..313803b 100644
 --- a/drivers/acpi/executer/exoparg1.c
 +++ b/drivers/acpi/executer/exoparg1.c
-@@ -740,6 +740,9 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state)
- 			break;
- 
- 		case ACPI_TYPE_BUFFER:
-+			if (!(temp_desc->common.flags & AOPOBJ_DATA_VALID)) {
-+				status = acpi_ds_get_buffer_arguments (temp_desc);
-+			}
- 			value = temp_desc->buffer.length;
+@@ -740,26 +740,38 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state)
+ 			value = acpi_gbl_integer_byte_width;
  			break;
  
-@@ -748,6 +751,9 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state)
+-		case ACPI_TYPE_BUFFER:
+-			value = temp_desc->buffer.length;
+-			break;
+-
+ 		case ACPI_TYPE_STRING:
+ 			value = temp_desc->string.length;
  			break;
  
++		case ACPI_TYPE_BUFFER:
++
++			/* Buffer arguments may not be evaluated at this point */
++
++			status = acpi_ds_get_buffer_arguments(temp_desc);
++			value = temp_desc->buffer.length;
++			break;
++
  		case ACPI_TYPE_PACKAGE:
-+			if (!(temp_desc->common.flags & AOPOBJ_DATA_VALID)) {
-+				status = acpi_ds_get_package_arguments (temp_desc);
-+			}
++
++			/* Package arguments may not be evaluated at this point */
++
++			status = acpi_ds_get_package_arguments(temp_desc);
  			value = temp_desc->package.count;
  			break;
  
+ 		default:
+ 			ACPI_ERROR((AE_INFO,
+-				    "Operand is not Buf/Int/Str/Pkg - found type %s",
++				    "Operand must be Buffer/Integer/String/Package - found type %s",
+ 				    acpi_ut_get_type_name(type)));
+ 			status = AE_AML_OPERAND_TYPE;
+ 			goto cleanup;
+ 		}
+ 
++		if (ACPI_FAILURE(status)) {
++			goto cleanup;
++		}
++
+ 		/*
+ 		 * Now that we have the size of the object, create a result
+ 		 * object to hold the value
+




More information about the fedora-extras-commits mailing list