Mailinglist Archive: opensuse-commit (2092 mails)
| < Previous | Next > |
commit kernel-source
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Thu, 16 Aug 2007 18:44:12 +0200
- Message-id: <20070816164412.C6BF7678182@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package kernel-source
checked in at Thu Aug 16 18:44:12 CEST 2007.
--------
--- kernel-source/kernel-bigsmp.changes 2007-08-16 09:01:55.000000000 +0200
+++ /mounts/work_src_done/STABLE/kernel-source/kernel-bigsmp.changes 2007-08-16 17:43:03.682466000 +0200
@@ -1,0 +2,22 @@
+Thu Aug 16 14:55:50 CEST 2007 - oneukum@xxxxxxx
+
+- patches.suse/usb_printer_no_auto.diff
+ USB: disable autosuspend for printers, as it generates
+ only limited practical benefit but breaks some printers
+
+-------------------------------------------------------------------
+Thu Aug 16 11:50:18 CEST 2007 - olh@xxxxxxx
+
+- add patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
+ add patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
+ more changes to make cold boot robust
+
+-------------------------------------------------------------------
+Thu Aug 16 11:21:41 CEST 2007 - agruen@xxxxxxx
+
+- rpm/kernel-syms.spec.in: make sure that the release numbers of
+ all the dependent kernel-$flavor packages match the kernel-syms
+ release number. (This is an additional safety check; the build
+ system should already make sure that the release numbers match.)
+
+-------------------------------------------------------------------
kernel-debug.changes: same change
kernel-default.changes: same change
kernel-dummy.changes: same change
kernel-kdump.changes: same change
kernel-ppc64.changes: same change
kernel-rt.changes: same change
kernel-rt_debug.changes: same change
kernel-s390.changes: same change
kernel-source.changes: same change
kernel-syms.changes: same change
kernel-vanilla.changes: same change
kernel-xen.changes: same change
kernel-xenpae.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kernel-bigsmp.spec ++++++
--- /var/tmp/diff_new_pack.B10643/_old 2007-08-16 18:42:09.000000000 +0200
+++ /var/tmp/diff_new_pack.B10643/_new 2007-08-16 18:42:09.000000000 +0200
@@ -39,7 +39,7 @@
%endif
Summary: Kernel with PAE Support
Version: 2.6.22.3
-Release: 1
+Release: 2
License: GPL v2 or later
Group: System/Kernel
Autoreqprov: on
@@ -163,7 +163,7 @@
-Source Timestamp: 2007/08/16 05:32:33 UTC
+Source Timestamp: 2007/08/16 14:09:17 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.22.tar.bz2 ]; then
@@ -549,6 +549,19 @@
%files -f kernel.files
%changelog
+* Thu Aug 16 2007 - oneukum@xxxxxxx
+- patches.suse/usb_printer_no_auto.diff
+ USB: disable autosuspend for printers, as it generates
+ only limited practical benefit but breaks some printers
+* Thu Aug 16 2007 - olh@xxxxxxx
+- add patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
+ add patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
+ more changes to make cold boot robust
+* Thu Aug 16 2007 - agruen@xxxxxxx
+- rpm/kernel-syms.spec.in: make sure that the release numbers of
+ all the dependent kernel-$flavor packages match the kernel-syms
+ release number. (This is an additional safety check; the build
+ system should already make sure that the release numbers match.)
* Thu Aug 16 2007 - teheo@xxxxxxx
- patches.drivers/pci-rs690-disable-msi: PCI: disable MSI on RS690
(299010).
kernel-debug.spec: same change
kernel-default.spec: same change
++++++ kernel-dummy.spec ++++++
--- /var/tmp/diff_new_pack.B10643/_old 2007-08-16 18:42:10.000000000 +0200
+++ /var/tmp/diff_new_pack.B10643/_new 2007-08-16 18:42:10.000000000 +0200
@@ -15,7 +15,7 @@
URL: http://www.kernel.org/
Summary: Internal dummy package for synchronizing release numbers
Version: 2.6.22.3
-Release: 1
+Release: 2
License: GPL v2 or later
Group: System/Kernel
Autoreqprov: off
@@ -28,7 +28,7 @@
--------
Andreas Gruenbacher <agruen@xxxxxxx>
-Source Timestamp: 2007/08/16 05:32:33 UTC
+Source Timestamp: 2007/08/16 14:09:17 UTC
%install
@@ -41,6 +41,19 @@
/etc/dummy
%changelog
+* Thu Aug 16 2007 - oneukum@xxxxxxx
+- patches.suse/usb_printer_no_auto.diff
+ USB: disable autosuspend for printers, as it generates
+ only limited practical benefit but breaks some printers
+* Thu Aug 16 2007 - olh@xxxxxxx
+- add patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
+ add patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
+ more changes to make cold boot robust
+* Thu Aug 16 2007 - agruen@xxxxxxx
+- rpm/kernel-syms.spec.in: make sure that the release numbers of
+ all the dependent kernel-$flavor packages match the kernel-syms
+ release number. (This is an additional safety check; the build
+ system should already make sure that the release numbers match.)
* Thu Aug 16 2007 - teheo@xxxxxxx
- patches.drivers/pci-rs690-disable-msi: PCI: disable MSI on RS690
(299010).
++++++ kernel-kdump.spec ++++++
--- /var/tmp/diff_new_pack.B10643/_old 2007-08-16 18:42:10.000000000 +0200
+++ /var/tmp/diff_new_pack.B10643/_new 2007-08-16 18:42:10.000000000 +0200
@@ -39,7 +39,7 @@
%endif
Summary: kernel for kdump
Version: 2.6.22.3
-Release: 1
+Release: 2
License: GPL v2 or later
Group: System/Kernel
Autoreqprov: on
@@ -167,7 +167,7 @@
-Source Timestamp: 2007/08/16 05:32:33 UTC
+Source Timestamp: 2007/08/16 14:09:17 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.22.tar.bz2 ]; then
@@ -553,6 +553,19 @@
%files -f kernel.files
%changelog
+* Thu Aug 16 2007 - oneukum@xxxxxxx
+- patches.suse/usb_printer_no_auto.diff
+ USB: disable autosuspend for printers, as it generates
+ only limited practical benefit but breaks some printers
+* Thu Aug 16 2007 - olh@xxxxxxx
+- add patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
+ add patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
+ more changes to make cold boot robust
+* Thu Aug 16 2007 - agruen@xxxxxxx
+- rpm/kernel-syms.spec.in: make sure that the release numbers of
+ all the dependent kernel-$flavor packages match the kernel-syms
+ release number. (This is an additional safety check; the build
+ system should already make sure that the release numbers match.)
* Thu Aug 16 2007 - teheo@xxxxxxx
- patches.drivers/pci-rs690-disable-msi: PCI: disable MSI on RS690
(299010).
++++++ kernel-ppc64.spec ++++++
--- /var/tmp/diff_new_pack.B10643/_old 2007-08-16 18:42:10.000000000 +0200
+++ /var/tmp/diff_new_pack.B10643/_new 2007-08-16 18:42:10.000000000 +0200
@@ -38,7 +38,7 @@
%endif
Summary: Kernel for ppc64 Systems
Version: 2.6.22.3
-Release: 1
+Release: 2
License: GPL v2 or later, LGPL v2 or later
Group: System/Kernel
Autoreqprov: on
@@ -179,7 +179,7 @@
Tom Gall <tom_gall@xxxxxxxxxxxx>
see /usr/src/linux/CREDITS for more details.
-Source Timestamp: 2007/08/16 05:32:33 UTC
+Source Timestamp: 2007/08/16 14:09:17 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.22.tar.bz2 ]; then
@@ -565,6 +565,19 @@
%files -f kernel.files
%changelog
+* Thu Aug 16 2007 - oneukum@xxxxxxx
+- patches.suse/usb_printer_no_auto.diff
+ USB: disable autosuspend for printers, as it generates
+ only limited practical benefit but breaks some printers
+* Thu Aug 16 2007 - olh@xxxxxxx
+- add patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
+ add patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
+ more changes to make cold boot robust
+* Thu Aug 16 2007 - agruen@xxxxxxx
+- rpm/kernel-syms.spec.in: make sure that the release numbers of
+ all the dependent kernel-$flavor packages match the kernel-syms
+ release number. (This is an additional safety check; the build
+ system should already make sure that the release numbers match.)
* Thu Aug 16 2007 - teheo@xxxxxxx
- patches.drivers/pci-rs690-disable-msi: PCI: disable MSI on RS690
(299010).
++++++ kernel-rt_debug.spec ++++++
--- /var/tmp/diff_new_pack.B10643/_old 2007-08-16 18:42:11.000000000 +0200
+++ /var/tmp/diff_new_pack.B10643/_new 2007-08-16 18:42:11.000000000 +0200
@@ -39,7 +39,7 @@
%endif
Summary: A Debug Version of the Kernel
Version: 2.6.22.3
-Release: 1
+Release: 2
License: GPL v2 or later
Group: System/Kernel
Autoreqprov: on
@@ -165,7 +165,7 @@
-Source Timestamp: 2007/08/16 05:32:33 UTC
+Source Timestamp: 2007/08/16 14:09:17 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.22.tar.bz2 ]; then
@@ -551,6 +551,19 @@
%files -f kernel.files
%changelog
+* Thu Aug 16 2007 - oneukum@xxxxxxx
+- patches.suse/usb_printer_no_auto.diff
+ USB: disable autosuspend for printers, as it generates
+ only limited practical benefit but breaks some printers
+* Thu Aug 16 2007 - olh@xxxxxxx
+- add patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
+ add patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
+ more changes to make cold boot robust
+* Thu Aug 16 2007 - agruen@xxxxxxx
+- rpm/kernel-syms.spec.in: make sure that the release numbers of
+ all the dependent kernel-$flavor packages match the kernel-syms
+ release number. (This is an additional safety check; the build
+ system should already make sure that the release numbers match.)
* Thu Aug 16 2007 - teheo@xxxxxxx
- patches.drivers/pci-rs690-disable-msi: PCI: disable MSI on RS690
(299010).
++++++ kernel-rt.spec ++++++
--- /var/tmp/diff_new_pack.B10643/_old 2007-08-16 18:42:11.000000000 +0200
+++ /var/tmp/diff_new_pack.B10643/_new 2007-08-16 18:42:11.000000000 +0200
@@ -39,7 +39,7 @@
%endif
Summary: The Realtime Linux Kernel
Version: 2.6.22.3
-Release: 1
+Release: 2
License: GPL v2 or later
Group: System/Kernel
Autoreqprov: on
@@ -170,7 +170,7 @@
see /usr/src/linux/CREDITS for more details.
-Source Timestamp: 2007/08/16 05:32:33 UTC
+Source Timestamp: 2007/08/16 14:09:17 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.22.tar.bz2 ]; then
@@ -556,6 +556,19 @@
%files -f kernel.files
%changelog
+* Thu Aug 16 2007 - oneukum@xxxxxxx
+- patches.suse/usb_printer_no_auto.diff
+ USB: disable autosuspend for printers, as it generates
+ only limited practical benefit but breaks some printers
+* Thu Aug 16 2007 - olh@xxxxxxx
+- add patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
+ add patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
+ more changes to make cold boot robust
+* Thu Aug 16 2007 - agruen@xxxxxxx
+- rpm/kernel-syms.spec.in: make sure that the release numbers of
+ all the dependent kernel-$flavor packages match the kernel-syms
+ release number. (This is an additional safety check; the build
+ system should already make sure that the release numbers match.)
* Thu Aug 16 2007 - teheo@xxxxxxx
- patches.drivers/pci-rs690-disable-msi: PCI: disable MSI on RS690
(299010).
++++++ kernel-s390.spec ++++++
--- /var/tmp/diff_new_pack.B10643/_old 2007-08-16 18:42:11.000000000 +0200
+++ /var/tmp/diff_new_pack.B10643/_new 2007-08-16 18:42:11.000000000 +0200
@@ -39,7 +39,7 @@
%endif
Summary: The Standard Kernel
Version: 2.6.22.3
-Release: 1
+Release: 2
License: GPL v2 or later
Group: System/Kernel
Autoreqprov: on
@@ -161,7 +161,7 @@
-Source Timestamp: 2007/08/16 05:32:33 UTC
+Source Timestamp: 2007/08/16 14:09:17 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.22.tar.bz2 ]; then
@@ -547,6 +547,19 @@
%files -f kernel.files
%changelog
+* Thu Aug 16 2007 - oneukum@xxxxxxx
+- patches.suse/usb_printer_no_auto.diff
+ USB: disable autosuspend for printers, as it generates
+ only limited practical benefit but breaks some printers
+* Thu Aug 16 2007 - olh@xxxxxxx
+- add patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
+ add patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
+ more changes to make cold boot robust
+* Thu Aug 16 2007 - agruen@xxxxxxx
+- rpm/kernel-syms.spec.in: make sure that the release numbers of
+ all the dependent kernel-$flavor packages match the kernel-syms
+ release number. (This is an additional safety check; the build
+ system should already make sure that the release numbers match.)
* Thu Aug 16 2007 - teheo@xxxxxxx
- patches.drivers/pci-rs690-disable-msi: PCI: disable MSI on RS690
(299010).
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.B10643/_old 2007-08-16 18:42:11.000000000 +0200
+++ /var/tmp/diff_new_pack.B10643/_new 2007-08-16 18:42:11.000000000 +0200
@@ -22,7 +22,7 @@
%endif
Summary: The Linux Kernel Sources
Version: 2.6.22.3
-Release: 1
+Release: 2
License: GPL v2 or later
Group: Development/Sources
Autoreqprov: off
@@ -106,7 +106,7 @@
see /usr/src/linux/CREDITS for more details.
-Source Timestamp: 2007/08/16 05:32:33 UTC
+Source Timestamp: 2007/08/16 14:09:17 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.22.tar.bz2 ]; then
@@ -277,6 +277,19 @@
%files -f kernel-source.files
%changelog
+* Thu Aug 16 2007 - oneukum@xxxxxxx
+- patches.suse/usb_printer_no_auto.diff
+ USB: disable autosuspend for printers, as it generates
+ only limited practical benefit but breaks some printers
+* Thu Aug 16 2007 - olh@xxxxxxx
+- add patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
+ add patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
+ more changes to make cold boot robust
+* Thu Aug 16 2007 - agruen@xxxxxxx
+- rpm/kernel-syms.spec.in: make sure that the release numbers of
+ all the dependent kernel-$flavor packages match the kernel-syms
+ release number. (This is an additional safety check; the build
+ system should already make sure that the release numbers match.)
* Thu Aug 16 2007 - teheo@xxxxxxx
- patches.drivers/pci-rs690-disable-msi: PCI: disable MSI on RS690
(299010).
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.B10643/_old 2007-08-16 18:42:11.000000000 +0200
+++ /var/tmp/diff_new_pack.B10643/_new 2007-08-16 18:42:11.000000000 +0200
@@ -21,7 +21,7 @@
%endif
Summary: Kernel Symbol Versions (modversions)
Version: 2.6.22.3
-Release: 1
+Release: 2
License: GPL v2 or later
Group: Development/Sources
Autoreqprov: off
@@ -96,7 +96,7 @@
see /usr/src/linux/CREDITS for more details.
-Source Timestamp: 2007/08/16 05:32:33 UTC
+Source Timestamp: 2007/08/16 14:09:17 UTC
%prep
echo "Architecture symbol(s):" %symbols
@@ -114,14 +114,25 @@
arch="${config%%/*}"
flavor="${config#*/}"
+ rpm -q --quiet kernel-$flavor || continue
# Don't add the build infrastructure for kernels that are based
# on a different set of patches than kernel-source.
set -- kernel-$flavor $flavor $(case $flavor in (rt|rt_*) echo RT ;; esac)
%_sourcedir/guards $* %symbols < %_sourcedir/series.conf \
> %_builddir/kernel-$flavor.patches
diff -q %_builddir/kernel-{source,$flavor}.patches || continue
+ # Make sure that all the kernel-$flavor release numbers match the
+ # kernel-syms release number.
+ set -- %release $(rpm -q --qf '%{RELEASE}' kernel-$flavor)
+%if 0%{?opensuse_bs}
+ set -- ${1%.*} ${2%.*}
+%endif
+ if [ "$1" != "$2" ]; then
+ echo "Release numbers $1 and $2 do not match" >&2
+ exit 1
+ fi
shopt -s nullglob
- for symvers in /usr/src/linux-*-obj/$arch/*/Module.symvers; do
+ for symvers in /usr/src/linux-*-obj/$arch/$flavor/Module.symvers; do
cp -p --parents $symvers $RPM_BUILD_ROOT/
done
for symsets in /boot/symsets-*-$flavor.tar.gz; do
@@ -139,6 +150,19 @@
/lib/modules/*/*
%changelog
+* Thu Aug 16 2007 - oneukum@xxxxxxx
+- patches.suse/usb_printer_no_auto.diff
+ USB: disable autosuspend for printers, as it generates
+ only limited practical benefit but breaks some printers
+* Thu Aug 16 2007 - olh@xxxxxxx
+- add patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
+ add patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
+ more changes to make cold boot robust
+* Thu Aug 16 2007 - agruen@xxxxxxx
+- rpm/kernel-syms.spec.in: make sure that the release numbers of
+ all the dependent kernel-$flavor packages match the kernel-syms
+ release number. (This is an additional safety check; the build
+ system should already make sure that the release numbers match.)
* Thu Aug 16 2007 - teheo@xxxxxxx
- patches.drivers/pci-rs690-disable-msi: PCI: disable MSI on RS690
(299010).
++++++ kernel-vanilla.spec ++++++
--- /var/tmp/diff_new_pack.B10643/_old 2007-08-16 18:42:11.000000000 +0200
+++ /var/tmp/diff_new_pack.B10643/_new 2007-08-16 18:42:11.000000000 +0200
@@ -39,7 +39,7 @@
%endif
Summary: The Standard Kernel - without any SUSE patches
Version: 2.6.22.3
-Release: 1
+Release: 2
License: GPL v2 or later
Group: System/Kernel
Autoreqprov: on
@@ -181,7 +181,7 @@
-Source Timestamp: 2007/08/16 05:32:33 UTC
+Source Timestamp: 2007/08/16 14:09:17 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.22.tar.bz2 ]; then
@@ -567,6 +567,19 @@
%files -f kernel.files
%changelog
+* Thu Aug 16 2007 - oneukum@xxxxxxx
+- patches.suse/usb_printer_no_auto.diff
+ USB: disable autosuspend for printers, as it generates
+ only limited practical benefit but breaks some printers
+* Thu Aug 16 2007 - olh@xxxxxxx
+- add patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
+ add patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
+ more changes to make cold boot robust
+* Thu Aug 16 2007 - agruen@xxxxxxx
+- rpm/kernel-syms.spec.in: make sure that the release numbers of
+ all the dependent kernel-$flavor packages match the kernel-syms
+ release number. (This is an additional safety check; the build
+ system should already make sure that the release numbers match.)
* Thu Aug 16 2007 - teheo@xxxxxxx
- patches.drivers/pci-rs690-disable-msi: PCI: disable MSI on RS690
(299010).
kernel-xenpae.spec: same change
kernel-xen.spec: same change
++++++ build-source-timestamp ++++++
--- kernel-source/build-source-timestamp 2007-08-16 09:01:49.000000000 +0200
+++ /mounts/work_src_done/STABLE/kernel-source/build-source-timestamp 2007-08-16 17:42:56.593561000 +0200
@@ -1 +1 @@
-2007/08/16 05:32:33 UTC
+2007/08/16 14:09:17 UTC
++++++ config.tar.bz2 ++++++
++++++ guards ++++++
--- kernel-source/guards 2007-08-16 09:01:58.000000000 +0200
+++ /mounts/work_src_done/STABLE/kernel-source/guards 2007-08-16 17:43:10.567576000 +0200
@@ -202,7 +202,7 @@
my $selected;
if (@guards) {
# If the first guard is -xxx, the patch is included by default;
- # if it is -xxx, the patch is excluded by default.
+ # if it is +xxx, the patch is excluded by default.
$selected = ($guards[0] =~ /^-/);
foreach (@guards) {
++++++ kabi.tar.bz2 ++++++
++++++ needed_space_in_mb ++++++
--- kernel-source/needed_space_in_mb 2007-08-16 10:48:16.000000000 +0200
+++ /mounts/work_src_done/STABLE/kernel-source/needed_space_in_mb 2007-08-16 17:43:28.564556000 +0200
@@ -1 +1 @@
-6000
+6144
++++++ novell-kmp.tar.bz2 ++++++
++++++ patches.apparmor.tar.bz2 ++++++
++++++ patches.arch.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.arch/ppc-ps3-storage-fix-probe-msgs.diff new/patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
--- old/patches.arch/ppc-ps3-storage-fix-probe-msgs.diff 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.arch/ppc-ps3-storage-fix-probe-msgs.diff 2007-08-16 11:51:01.000000000 +0200
@@ -0,0 +1,71 @@
+Subject: PS3: Enhance storage probe debug output
+
+Add some more info to the PS3 storage probe debug output.
+
+Signed-off-by: Geoff Levand <geoffrey.levand@xxxxxxxxxxx>
+---
+ arch/powerpc/platforms/ps3/device-init.c | 24 ++++++++++++++++--------
+ 1 files changed, 16 insertions(+), 8 deletions(-)
+
+--- a/arch/powerpc/platforms/ps3/device-init.c
++++ b/arch/powerpc/platforms/ps3/device-init.c
+@@ -297,8 +297,8 @@ static int ps3_storage_wait_for_device(c
+ u64 dev_port;
+ } *notify_event;
+
+- pr_debug(" -> %s:%u: bus_id %u, dev_id %u, dev_type %u\n", __func__,
+- __LINE__, repo->bus_id, repo->dev_id, repo->dev_type);
++ pr_debug(" -> %s:%u: (%u:%u:%u)\n", __func__, __LINE__, repo->bus_id,
++ repo->dev_id, repo->dev_type);
+
+ buf = kzalloc(512, GFP_KERNEL);
+ if (!buf)
+@@ -359,6 +359,11 @@ static int ps3_storage_wait_for_device(c
+ break;
+ }
+
++ pr_debug("%s:%d: notify event (%u:%u:%u): event_type 0x%lx, "
++ "port %lu\n", __func__, __LINE__, repo->bus_index,
++ repo->dev_index, repo->dev_type,
++ notify_event->event_type, notify_event->dev_port);
++
+ if (notify_event->event_type != notify_region_probe ||
+ notify_event->bus_id != repo->bus_id) {
+ pr_debug("%s:%u: bad notify_event: event %lu, "
+@@ -370,8 +375,9 @@ static int ps3_storage_wait_for_device(c
+
+ if (notify_event->dev_id == repo->dev_id &&
+ notify_event->dev_type == repo->dev_type) {
+- pr_debug("%s:%u: device ready: dev_id %u\n", __func__,
+- __LINE__, repo->dev_id);
++ pr_debug("%s:%u: device ready (%u:%u:%u)\n", __func__,
++ __LINE__, repo->bus_index, repo->dev_index,
++ repo->dev_type);
+ error = 0;
+ break;
+ }
+@@ -412,9 +418,10 @@ static int ps3_setup_storage_dev(const s
+ return -ENODEV;
+ }
+
+- pr_debug("%s:%u: index %u:%u: port %lu blk_size %lu num_blocks %lu "
++ pr_debug("%s:%u: (%u:%u:%u): port %lu blk_size %lu num_blocks %lu "
+ "num_regions %u\n", __func__, __LINE__, repo->bus_index,
+- repo->dev_index, port, blk_size, num_blocks, num_regions);
++ repo->dev_index, repo->dev_type, port, blk_size, num_blocks,
++ num_regions);
+
+ p = kzalloc(sizeof(struct ps3_storage_device) +
+ num_regions * sizeof(struct ps3_storage_region),
+@@ -681,8 +688,9 @@ static int ps3_probe_thread(void *data)
+ pr_debug("%s:%u: find device error.\n",
+ __func__, __LINE__);
+ else {
+- pr_debug("%s:%u: found device\n", __func__,
+- __LINE__);
++ pr_debug("%s:%u: found device (%u:%u:%u)\n",
++ __func__, __LINE__, repo->bus_index,
++ repo->dev_index, repo->dev_type);
+ ps3_register_repository_device(repo);
+ ps3_repository_bump_device(repo);
+ ms = 250;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff new/patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
--- old/patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff 2007-08-16 11:51:01.000000000 +0200
@@ -0,0 +1,102 @@
+Subject: PS3: Fix storage probe logic
+
+With the current PS3 storage probe logic there is a chance that device
+regions may appear in the repository some time after the device appears.
+Add a check to return -EAGAIN when a device is found in the repository
+with no regions.
+
+To make this more robust, the probe could cycle through the bus devices
+until no changes are found. The current logic waits on each device until
+it finds some regions, then goes to the next device. This will loop
+endlessly on the device if no regions ever appear for that device, and
+also will only register the regions found at the time the first region
+is found. Seems to work OK though.
+
+CC: Geert Uytterhoeven <Geert.Uytterhoeven@xxxxxxxxxxx>
+Signed-off-by: Geoff Levand <geoffrey.levand@xxxxxxxxxxx>
+---
+ arch/powerpc/platforms/ps3/device-init.c | 36 +++++++++++++++++++------------
+ 1 files changed, 23 insertions(+), 13 deletions(-)
+
+--- a/arch/powerpc/platforms/ps3/device-init.c
++++ b/arch/powerpc/platforms/ps3/device-init.c
+@@ -423,6 +423,9 @@ static int ps3_setup_storage_dev(const s
+ repo->dev_index, repo->dev_type, port, blk_size, num_blocks,
+ num_regions);
+
++ if (!num_regions)
++ return -EAGAIN;
++
+ p = kzalloc(sizeof(struct ps3_storage_device) +
+ num_regions * sizeof(struct ps3_storage_region),
+ GFP_KERNEL);
+@@ -624,32 +627,28 @@ static int ps3_register_repository_devic
+ case PS3_DEV_TYPE_STOR_DISK:
+ result = ps3_setup_storage_dev(repo, PS3_MATCH_ID_STOR_DISK);
+
+- /* Some devices are not accessable from the Other OS lpar. */
+- if (result == -ENODEV) {
+- result = 0;
+- pr_debug("%s:%u: not accessable\n", __func__,
++ if (result == -EAGAIN)
++ pr_debug("%s:%u: device not ready\n", __func__,
+ __LINE__);
+- }
+-
+- if (result)
++ else if (result)
+ pr_debug("%s:%u ps3_setup_storage_dev failed\n",
+ __func__, __LINE__);
+ break;
+-
+ case PS3_DEV_TYPE_STOR_ROM:
+ result = ps3_setup_storage_dev(repo, PS3_MATCH_ID_STOR_ROM);
+- if (result)
++ if (result == -EAGAIN)
++ pr_debug("%s:%u: device not ready\n", __func__,
++ __LINE__);
++ else if (result)
+ pr_debug("%s:%u ps3_setup_storage_dev failed\n",
+ __func__, __LINE__);
+ break;
+-
+ case PS3_DEV_TYPE_STOR_FLASH:
+ result = ps3_setup_storage_dev(repo, PS3_MATCH_ID_STOR_FLASH);
+ if (result)
+ pr_debug("%s:%u ps3_setup_storage_dev failed\n",
+ __func__, __LINE__);
+ break;
+-
+ default:
+ result = 0;
+ pr_debug("%s:%u: unsupported dev_type %u\n", __func__, __LINE__,
+@@ -663,6 +662,13 @@ static int ps3_register_repository_devic
+ * ps3_probe_thread - Background repository probing at system startup.
+ *
+ * This implementation only supports background probing on a single bus.
++ *
++ * To make this more robust, the probe could cycle through the bus devices
++ * until no changes are found. The current logic waits on each device until
++ * it finds some regions, then goes to the next device. This will loop
++ * endlessly on the device if no regions ever appear for that device, and
++ * also will only register the regions found at the time the first region
++ * is found. Seems to work OK though.
+ */
+
+ static int ps3_probe_thread(void *data)
+@@ -691,9 +697,13 @@ static int ps3_probe_thread(void *data)
+ pr_debug("%s:%u: found device (%u:%u:%u)\n",
+ __func__, __LINE__, repo->bus_index,
+ repo->dev_index, repo->dev_type);
+- ps3_register_repository_device(repo);
+- ps3_repository_bump_device(repo);
++ result = ps3_register_repository_device(repo);
++
+ ms = 250;
++ if (result == -EAGAIN)
++ break;
++
++ ps3_repository_bump_device(repo);
+ }
+ } while (!result);
+
++++++ patches.drivers.tar.bz2 ++++++
++++++ patches.fixes.tar.bz2 ++++++
++++++ patches.kernel.org.tar.bz2 ++++++
++++++ patches.rpmify.tar.bz2 ++++++
++++++ patches.rt.tar.bz2 ++++++
++++++ patches.suse.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/usb_printer_no_auto.diff new/patches.suse/usb_printer_no_auto.diff
--- old/patches.suse/usb_printer_no_auto.diff 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/usb_printer_no_auto.diff 2007-08-16 14:57:53.000000000 +0200
@@ -0,0 +1,23 @@
+Subject: disable autosuspend for usb printers
+Patch-mainline: no
+
+This patch disables autosuspend for USB printers,
+as it is unlikely that a computer connected to a
+printer operates on battery and some printers are
+incompatible with autosuspension
+
+Signed-off-by: Oliver Neukum <oneukum@xxxxxxx>
+---
+--- linux-2.6.22/drivers/usb/class/usblp.c 2007-07-09 01:32:17.000000000 +0200
++++ alt/drivers/usb/class/usblp.c 2007-08-16 14:30:05.449873000 +0200
+@@ -1246,7 +1246,9 @@ static struct usb_driver usblp_driver =
+ .suspend = usblp_suspend,
+ .resume = usblp_resume,
+ .id_table = usblp_ids,
+- .supports_autosuspend = 1,
++ /* disabled due to little practical signifocance
++ * and some broken devices */
++ /* .supports_autosuspend = 1, */
+ };
+
+ static int __init usblp_init(void)
++++++ patches.uml.tar.bz2 ++++++
++++++ patches.xen.tar.bz2 ++++++
++++++ series.conf ++++++
--- kernel-source/series.conf 2007-08-16 09:01:39.000000000 +0200
+++ /mounts/work_src_done/STABLE/kernel-source/series.conf 2007-08-16 17:42:36.861312000 +0200
@@ -169,6 +169,8 @@
patches.arch/ppc-ps3video-ps3-wip_ps3av-monitor-quirks.diff
patches.arch/ppc-ps3video-ps3-wip_ps3av-kill-unused-ps3av_set_mode.diff
patches.arch/ppc-ps3video-ps3-wip_ps3av-kill-boot-parameter.diff
+ patches.arch/ppc-ps3-storage-fix-probe-msgs.diff
+ patches.arch/ppc-ps3-storage-fix-probe-region-loop.diff
patches.arch/ppc-suse-spe-logo_logo-extern-in-header.diff
patches.suse/ppc-powerbook-usb-fn-key-default.patch
@@ -424,6 +426,9 @@
patches.drivers/usb-support-blackberry-pearl-with-berry_charge.patch
patches.drivers/usb-fix-support-for-dell-wireless-broadband.patch
+ #disable autosuspend for printers
+ patches.suse/usb_printer_no_auto.diff
+
########################################################
# I2C
########################################################
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |