[opensuse-kernel] 2.6.27-rc3 update

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all - After a long battle, I've just updated HEAD to 2.6.27-rc3. A few comments: There were significant changes in file permission calls that required a bit of AppArmor rework. Please report any regressions you see. Firmware blobs were added to the kernel packages. udev hasn't been updated to locate them yet, so you may run into problems with devices requiring the firmware blobs. ia64, powerpc, and s390 are failing to build the kernel-source package. I expect this is because those architectures eliminated the use of include/asm-$arch. The build process creates an empty directory and links to it, but I suspect that something doesn't like an empty directory and is leaving it out. I haven't yet tried to place a dummy file in that directory. It's failing when it tries to link to a nonexistent target. Can someone with a better knowledge of rpm-fu take a look at this? The binary packages on those arches are failing with several unpackaged files powerpc is failing with an internal compiler error while building ath9k. I hope to gather a bit more information on that tomorrow. As usual, the -xen and -rt flavors are disabled until those features can be re-merged. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkikmsIACgkQLPWxlyuTD7KPbwCgorymu6FfBvFIko3D/wEHCQKN xQoAn3pTZS536YrY1Ow+NUUjrbjcJena =diXq -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

On Thu, Aug 14, 2008 at 04:51:14PM -0400, Jeff Mahoney wrote:
Hi all -
After a long battle, I've just updated HEAD to 2.6.27-rc3.
A few comments:
There were significant changes in file permission calls that required a bit of AppArmor rework. Please report any regressions you see.
Firmware blobs were added to the kernel packages. udev hasn't been updated to locate them yet, so you may run into problems with devices requiring the firmware blobs.
Hm, this shouldn't be the case here. Why aren't we building the firmware into the kernel/drivers like we always have been? Otherwise we are going to run into the versioning problems you ran into :) thanks, greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greg KH wrote:
On Thu, Aug 14, 2008 at 04:51:14PM -0400, Jeff Mahoney wrote:
Hi all -
After a long battle, I've just updated HEAD to 2.6.27-rc3.
A few comments:
There were significant changes in file permission calls that required a bit of AppArmor rework. Please report any regressions you see.
Firmware blobs were added to the kernel packages. udev hasn't been updated to locate them yet, so you may run into problems with devices requiring the firmware blobs.
Hm, this shouldn't be the case here. Why aren't we building the firmware into the kernel/drivers like we always have been? Otherwise we are going to run into the versioning problems you ran into :)
CONFIG_FIRMWARE_IN_KERNEL=y is in our configs, but it looks like it's building and installing the firmware blobs anyway. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkikzFMACgkQLPWxlyuTD7JedQCbBqPQge855Xwl3DNF0r0O8TWS RZ4Anjc7uvZGKertsonSjNIVLSZGZcyL =lBp4 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

On Thu, Aug 14, 2008 at 08:22:43PM -0400, Jeff Mahoney wrote:
Greg KH wrote:
On Thu, Aug 14, 2008 at 04:51:14PM -0400, Jeff Mahoney wrote:
Hi all -
After a long battle, I've just updated HEAD to 2.6.27-rc3.
A few comments:
There were significant changes in file permission calls that required a bit of AppArmor rework. Please report any regressions you see.
Firmware blobs were added to the kernel packages. udev hasn't been updated to locate them yet, so you may run into problems with devices requiring the firmware blobs.
Hm, this shouldn't be the case here. Why aren't we building the firmware into the kernel/drivers like we always have been? Otherwise we are going to run into the versioning problems you ran into :)
CONFIG_FIRMWARE_IN_KERNEL=y is in our configs, but it looks like it's building and installing the firmware blobs anyway.
That's not good, we need to report that upstream, it's a bug :( thanks, greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

At Thu, 14 Aug 2008 16:51:14 -0400, Jeff Mahoney wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi all -
After a long battle, I've just updated HEAD to 2.6.27-rc3.
A few comments:
There were significant changes in file permission calls that required a bit of AppArmor rework. Please report any regressions you see.
Firmware blobs were added to the kernel packages. udev hasn't been updated to locate them yet, so you may run into problems with devices requiring the firmware blobs.
Can we put them first to /lib/firmware, then change to /lib/firmware/$VERSION later? Putting the identical file by multiple packages works fine with rpm. I basically agree to keep the files in separate directory, but the breakage is worse than the future theoretical safeness. Let's have first the properly working one. thanks, Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

At Thu, 14 Aug 2008 16:51:14 -0400, Jeff Mahoney wrote:
powerpc is failing with an internal compiler error while building ath9k. I hope to gather a bit more information on that tomorrow.
The following patch is found in linux-next tree. Maybe this helps? Takashi --- From 655f30bb59b72e369bf3b10e7308704db6542c6a Mon Sep 17 00:00:00 2001 From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Mon, 11 Aug 2008 16:17:33 +1000 Subject: [PATCH] ath9k: work around gcc ICE again Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c index bde162f..ac2a087 100644 --- a/drivers/net/wireless/ath9k/hw.c +++ b/drivers/net/wireless/ath9k/hw.c @@ -5017,7 +5017,10 @@ static void ath9k_hw_spur_mitigate(struct ath_hal *ah, for (i = 0; i < 123; i++) { if ((cur_vit_mask > lower) && (cur_vit_mask < upper)) { - if ((abs(cur_vit_mask - bin)) < 75) + /* workaround for gcc bug #37014 */ + volatile int tmp = abs(cur_vit_mask - bin); + + if (tmp < 75) mask_amt = 1; else mask_amt = 0; -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Takashi Iwai wrote:
At Thu, 14 Aug 2008 16:51:14 -0400, Jeff Mahoney wrote:
powerpc is failing with an internal compiler error while building ath9k. I hope to gather a bit more information on that tomorrow.
The following patch is found in linux-next tree. Maybe this helps?
Looks like it should. Thanks! - -Jeff
From 655f30bb59b72e369bf3b10e7308704db6542c6a Mon Sep 17 00:00:00 2001 From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Mon, 11 Aug 2008 16:17:33 +1000 Subject: [PATCH] ath9k: work around gcc ICE again
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c index bde162f..ac2a087 100644 --- a/drivers/net/wireless/ath9k/hw.c +++ b/drivers/net/wireless/ath9k/hw.c @@ -5017,7 +5017,10 @@ static void ath9k_hw_spur_mitigate(struct ath_hal *ah,
for (i = 0; i < 123; i++) { if ((cur_vit_mask > lower) && (cur_vit_mask < upper)) { - if ((abs(cur_vit_mask - bin)) < 75) + /* workaround for gcc bug #37014 */ + volatile int tmp = abs(cur_vit_mask - bin); + + if (tmp < 75) mask_amt = 1; else mask_amt = 0;
- -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkildhkACgkQLPWxlyuTD7KvvgCdF1QvfkZq8e+/ZVVPJnmdkGtT 6m8AoKKDpRV5/g46ZvvyqYYRiqnVcF3r =O8eq -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

Hi, On Fri, 15 Aug 2008, Takashi Iwai wrote:
At Thu, 14 Aug 2008 16:51:14 -0400, Jeff Mahoney wrote:
powerpc is failing with an internal compiler error while building ath9k. I hope to gather a bit more information on that tomorrow.
The following patch is found in linux-next tree. Maybe this helps?
Richard will submit a new gcc to stable today, which fixes this bug. So if you can wait until that is checked in you don't need to apply the workaround ;) Ciao, Michael. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

At Thu, 14 Aug 2008 16:51:14 -0400, Jeff Mahoney wrote:
ia64, powerpc, and s390 are failing to build the kernel-source package. I expect this is because those architectures eliminated the use of include/asm-$arch. The build process creates an empty directory and links to it, but I suspect that something doesn't like an empty directory and is leaving it out. I haven't yet tried to place a dummy file in that directory. It's failing when it tries to link to a nonexistent target. Can someone with a better knowledge of rpm-fu take a look at this? The binary packages on those arches are failing with several unpackaged files
Looking at this problem now, and found that it's likely a bug in the upstream. The patch below should fix the creation of include2/asm symlink, which resulted in build errors. Takashi --- diff --git a/Makefile b/Makefile index 53bf6ec..bcbb764 100644 --- a/Makefile +++ b/Makefile @@ -934,7 +934,11 @@ ifneq ($(KBUILD_SRC),) fi; $(Q)if [ ! -d include2 ]; then \ mkdir -p include2; \ - ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \ + if [ -d $(srctree)/arch/$(SRCARCH)/include/asm ]; then \ + ln -fsn $(srctree)/arch/$(SRCARCH)/include/asm include2/asm; \ + else \ + ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \ + fi; \ fi endif -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Takashi Iwai wrote:
At Thu, 14 Aug 2008 16:51:14 -0400, Jeff Mahoney wrote:
ia64, powerpc, and s390 are failing to build the kernel-source package. I expect this is because those architectures eliminated the use of include/asm-$arch. The build process creates an empty directory and links to it, but I suspect that something doesn't like an empty directory and is leaving it out. I haven't yet tried to place a dummy file in that directory. It's failing when it tries to link to a nonexistent target. Can someone with a better knowledge of rpm-fu take a look at this? The binary packages on those arches are failing with several unpackaged files
Looking at this problem now, and found that it's likely a bug in the upstream. The patch below should fix the creation of include2/asm symlink, which resulted in build errors.
Perfect. That does fix the problem. Thanks! - -Jeff
diff --git a/Makefile b/Makefile index 53bf6ec..bcbb764 100644 --- a/Makefile +++ b/Makefile @@ -934,7 +934,11 @@ ifneq ($(KBUILD_SRC),) fi; $(Q)if [ ! -d include2 ]; then \ mkdir -p include2; \ - ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \ + if [ -d $(srctree)/arch/$(SRCARCH)/include/asm ]; then \ + ln -fsn $(srctree)/arch/$(SRCARCH)/include/asm include2/asm; \ + else \ + ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \ + fi; \ fi endif
- -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkilhbcACgkQLPWxlyuTD7KylQCgiGTczrsrQuYMcLQgLB0jH+zh XRcAnjDMfdV4C7KhpSUU1LRpP4S+EjZC =XsV7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

At Fri, 15 Aug 2008 09:33:43 -0400, Jeff Mahoney wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Takashi Iwai wrote:
At Thu, 14 Aug 2008 16:51:14 -0400, Jeff Mahoney wrote:
ia64, powerpc, and s390 are failing to build the kernel-source package. I expect this is because those architectures eliminated the use of include/asm-$arch. The build process creates an empty directory and links to it, but I suspect that something doesn't like an empty directory and is leaving it out. I haven't yet tried to place a dummy file in that directory. It's failing when it tries to link to a nonexistent target. Can someone with a better knowledge of rpm-fu take a look at this? The binary packages on those arches are failing with several unpackaged files
Looking at this problem now, and found that it's likely a bug in the upstream. The patch below should fix the creation of include2/asm symlink, which resulted in build errors.
Perfect. That does fix the problem.
OK, I'll submit the patch to the upstream now. thanks, Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (4)
-
Greg KH
-
Jeff Mahoney
-
Michael Matz
-
Takashi Iwai