Bug#762390: Patch for hppa arch

2014-09-22 Thread Uwe Kleine-König
On Sun, Sep 21, 2014 at 08:53:39PM +0200, Helge Deller wrote:
 Package: linux
 Version: 3.16.3-2
 Severity: bug
 Tags: patch
 
 Dear Debian Kernel maintainers,
 
 could you please temporarily add this hppa-specific patch to the debian
 kernel sources?
 
 Currently the 64bit hppa kernel gets miscompiled by gcc-4.8 and as such
 it will not boot.
 
 The attached patch fixes one of the problems. Latest changes in gcc-4.8
 made changes to the -mfast-indirect-calls option which now produces wrong code
 when compiling for 64bit. The problem is being worked on in upstream gcc-4.8,
 and we don't know yet if we will implement -mfast-indirect-calls for 64bit
 (which might introduce side-effects) or not. That's the reason why I don't 
 want
 to push attached patch upstream yet.
 
 The second problem is, that gcc-4.9 (which is used in debian to bootstrap 
 gcc-4.8)
 miscompiles one specific gcc-4.8 source code path and this bug is reported 
 upstream in
 GCC PR:
 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63302
 We work on that too.
 
 So, if you could apply the attached patch temporarily for now it would help us
 to get further. I will either send the patch upstream or we will fix the 
 compiler.
 The decision is still pending, but I will inform you when this patch can be 
 removed
 from debian kernel sources again (hopefully soon!).
 
 BTW: If you apply it, there is no need to trigger a new upload specifically 
 for this bug/hppa...
 
 Thanks,
 Helge

 diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
 index 7187664..5db8882 100644
 --- a/arch/parisc/Makefile
 +++ b/arch/parisc/Makefile
 @@ -48,7 +48,12 @@ cflags-y   := -pipe
  
  # These flags should be implied by an hppa-linux configuration, but they
  # are not in gcc 3.2.
 -cflags-y += -mno-space-regs -mfast-indirect-calls
 +cflags-y += -mno-space-regs
 +
 +# -mfast-indirect-calls is only relevant for 32-bit kernels.
Would it make sense to point out here that -mfast-indirect-calls is not
only unneeded but bad until http://link.to/relevant-discussion is
resolved?

 +ifndef CONFIG_64BIT
 +cflags-y += -mfast-indirect-calls
 +endif
  
Best regards
Uwe


-- 
Pengutronix e.K.   | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/  |


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140922072436.gs3...@pengutronix.de



Bug#762452: linux-headers-3.14-0.bpo.2-amd64: Missing include/linux/version.h

2014-09-22 Thread Daniel Dehennin
Package: linux-headers-3.14-0.bpo.2-amd64
Version: 3.14.15-2~bpo70+1
Severity: normal

Dear Maintainer,

I'm trying to build a DKMS module but I got the following error:

checking whether make has GNU make $(if) extension... yes
checking for Linux build
directory... /lib/modules/3.14-0.bpo.2-amd64/build
checking for Linux source
directory... /usr/src/linux-headers-3.14-0.bpo.2-common
checking for kernel version... 3.14.15
configure: error: Linux kernel source in 
/lib/modules/3.14-0.bpo.2-amd64/build is not configured

I found that there is no 
/usr/src/linux-headers-3.14-0.bpo.2-amd64/include/linux/version.h.

Regards.

-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-headers-3.14-0.bpo.2-amd64 depends on:
ii  linux-compiler-gcc-4.6-x86 3.14.15-2~bpo70+1
ii  linux-headers-3.14-0.bpo.2-common  3.14.15-2~bpo70+1
ii  linux-kbuild-3.14  3.14-1~bpo70+1

linux-headers-3.14-0.bpo.2-amd64 recommends no packages.

linux-headers-3.14-0.bpo.2-amd64 suggests no packages.

-- no debconf information

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


signature.asc
Description: PGP signature


Bug#762452: linux-headers-3.14-0.bpo.2-amd64: Missing include/linux/version.h

2014-09-22 Thread Uwe Kleine-König
On Mon, Sep 22, 2014 at 02:32:34PM +0200, Daniel Dehennin wrote:
 Package: linux-headers-3.14-0.bpo.2-amd64
 Version: 3.14.15-2~bpo70+1
 Severity: normal
 
 Dear Maintainer,
 
 I'm trying to build a DKMS module but I got the following error:
 
 checking whether make has GNU make $(if) extension... yes
 checking for Linux build
 directory... /lib/modules/3.14-0.bpo.2-amd64/build
 checking for Linux source
 directory... /usr/src/linux-headers-3.14-0.bpo.2-common
 checking for kernel version... 3.14.15
 configure: error: Linux kernel source in 
 /lib/modules/3.14-0.bpo.2-amd64/build is not configured
 
 I found that there is no 
 /usr/src/linux-headers-3.14-0.bpo.2-amd64/include/linux/version.h.
For 3.16 (and I assume for 3.14 also)

#include linux/version.h

is supposed to use


/usr/src/linux-headers-3.16-1-amd64/include/generated/uapi/linux/version.h

which is shipped in linux-headers-3.16-1-amd64. (And similar for other
archs.)

How does your package determine that
/lib/modules/3.14-0.bpo.2-amd64/build wasn't configured?

Best regards
Uwe

-- 
Pengutronix e.K.   | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/  |


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140922132916.gv3...@pengutronix.de



Bug#762458: [src:linux] Please enable CONFIG_IP_NF_NAT

2014-09-22 Thread Reinhard Karcher
Package: src:linux
Version: linux-image-3.17-rc5-amd64
Severity: normal

Between linux version 3.16 and 3.17 the option 
CONFIG_NF_NAT_IPV4 changed the name to
CONFIG_IP_NF_NAT. This option is not enabled in linux-image-3.17-rc5-amd64
Therefore I can't reach the internet from my KVM guest.

Please enable this option and the suboptions
CONFIG_IP_NF_TARGET_MASQUERADE
CONFIG_IP_NF_TARGET_NETMAP
CONFIG_IP_NF_TARGET_REDIRECT
as modules.
Generating a kernel with this options enabled, I can again access
the internet.

Reinhard
 
--- System information. ---
Architecture: amd64
Kernel:   Linux 3.17-rc5-amd64

Debian Release: jessie/sid
  500 unstabledebian 
  500 testing debian 
  500 stable  deb.opera.com 
  101 experimentaldebian 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/3453057.OuAJ73nbTp@apollon



Bug#762452: linux-headers-3.14-0.bpo.2-amd64: Missing include/linux/version.h

2014-09-22 Thread Daniel Dehennin
Uwe Kleine-König u.kleine-koe...@pengutronix.de writes:

 How does your package determine that
 /lib/modules/3.14-0.bpo.2-amd64/build wasn't configured?

The package is openvswitch-datapath-dkms, its configure script contains
the following tests:

if test ! -e $KBUILD/include/linux/version.h || \
   (test ! -e $KBUILD/include/linux/autoconf.h  \
test ! -e $KBUILD/include/generated/autoconf.h); then
as_fn_error $? Linux kernel source in $KBUILD is not
   configured $LINENO 5
fi

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


signature.asc
Description: PGP signature


Bug#762452: linux-headers-3.14-0.bpo.2-amd64: Missing include/linux/version.h

2014-09-22 Thread Ben Hutchings
Control: reassign -1 openvswitch-datapath-dkms 1.4.2+git20120612-9.1~deb7u1
Control: close -1 2.1.0+git20140325-1

On Mon, 2014-09-22 at 15:49 +0200, Daniel Dehennin wrote:
 Uwe Kleine-König u.kleine-koe...@pengutronix.de writes:
 
  How does your package determine that
  /lib/modules/3.14-0.bpo.2-amd64/build wasn't configured?
 
 The package is openvswitch-datapath-dkms, its configure script contains
 the following tests:
 
 if test ! -e $KBUILD/include/linux/version.h || \
(test ! -e $KBUILD/include/linux/autoconf.h  \
 test ! -e $KBUILD/include/generated/autoconf.h); then
 as_fn_error $? Linux kernel source in $KBUILD is not
configured $LINENO 5
 fi

This test is incorrect.  The version.h file moved to
include/generated/uapi/linux/version.h.

You need to use openvswitch-datapath-dkms from unstable.

Ben.

-- 
Ben Hutchings
Everything should be made as simple as possible, but not simpler.
   - Albert Einstein


signature.asc
Description: This is a digitally signed message part


Bug#762461: libusbip: please also ship shared library version

2014-09-22 Thread Christian Wick
Package: libusbip-dev
Version: 1.1.1+3.2.17-1
Severity: wishlist

Dear Maintainer,

the vendor of the following USB client application cannot provide a
binary-only version of his client for Debian Wheezy, because the shared
library version of libusbip is missing. 
https://www.virtualhere.com/usb_client_software

He already provides binaries for Ubuntu, because the libusbip.so is included
in their libusbip-dev package:
http://packages.ubuntu.com/trusty/amd64/libusbip-dev/filelist

Please also include the shared library version in addition to the static
one.

-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140922135249.14136.43038.reportbug@microserver



Processed: Re: Bug#762452: linux-headers-3.14-0.bpo.2-amd64: Missing include/linux/version.h

2014-09-22 Thread Debian Bug Tracking System
Processing control commands:

 reassign -1 openvswitch-datapath-dkms 1.4.2+git20120612-9.1~deb7u1
Bug #762452 [linux-headers-3.14-0.bpo.2-amd64] 
linux-headers-3.14-0.bpo.2-amd64: Missing include/linux/version.h
Bug reassigned from package 'linux-headers-3.14-0.bpo.2-amd64' to 
'openvswitch-datapath-dkms'.
No longer marked as found in versions linux/3.14.15-2~bpo70+1.
Ignoring request to alter fixed versions of bug #762452 to the same values 
previously set
Bug #762452 [openvswitch-datapath-dkms] linux-headers-3.14-0.bpo.2-amd64: 
Missing include/linux/version.h
Marked as found in versions openvswitch/1.4.2+git20120612-9.1~deb7u1.
 close -1 2.1.0+git20140325-1
Bug #762452 [openvswitch-datapath-dkms] linux-headers-3.14-0.bpo.2-amd64: 
Missing include/linux/version.h
Marked as fixed in versions openvswitch/2.1.0+git20140325-1.
Bug #762452 [openvswitch-datapath-dkms] linux-headers-3.14-0.bpo.2-amd64: 
Missing include/linux/version.h
Marked Bug as done

-- 
762452: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762452
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/handler.s.b762452.141139733410614.transcr...@bugs.debian.org



Bug#762461: libusbip: please also ship shared library version

2014-09-22 Thread Ben Hutchings
On Mon, 2014-09-22 at 15:52 +0200, Christian Wick wrote:
 Package: libusbip-dev
 Version: 1.1.1+3.2.17-1
 Severity: wishlist
 
 Dear Maintainer,
 
 the vendor of the following USB client application cannot provide a
 binary-only version of his client for Debian Wheezy, because the shared
 library version of libusbip is missing. 
 https://www.virtualhere.com/usb_client_software
 
 He already provides binaries for Ubuntu, because the libusbip.so is included
 in their libusbip-dev package:
 http://packages.ubuntu.com/trusty/amd64/libusbip-dev/filelist
 
 Please also include the shared library version in addition to the static
 one.

So far as I know, libusip does not have a stable ABI.  In that case this
will not solve the vendor's problem.

Ben.

-- 
Ben Hutchings
Everything should be made as simple as possible, but not simpler.
   - Albert Einstein


signature.asc
Description: This is a digitally signed message part


Bug#762461: libusbip: please also ship shared library version

2014-09-22 Thread Christian Wick

Am 22.09.2014 17:10, schrieb Ben Hutchings:

On Mon, 2014-09-22 at 15:52 +0200, Christian Wick wrote:

Package: libusbip-dev
Version: 1.1.1+3.2.17-1
Severity: wishlist


Please also include the shared library version in addition to the static
one.

So far as I know, libusip does not have a stable ABI.  In that case this
will not solve the vendor's problem.

There is already the static version of the library in this package. The 
vendor told me that he could technically use the static library, but 
cannot use it for legal reasons as his binary is closed-source.
I have managed to recompile the package with the option 
--disable-shared removed. This would solve the problem.

The vendor provides binaries for each distribution and architecture.

Christian





smime.p7s
Description: S/MIME Cryptographic Signature


Bug#762458: [src:linux] Please enable CONFIG_IP_NF_NAT

2014-09-22 Thread gregor herrmann
Control: notfound -1 linux-image-3.17-rc5-amd64
Control: found -1 3.17~rc5-1~exp1

On Mon, 22 Sep 2014 15:36:31 +0200, Reinhard Karcher wrote:

 Package: src:linux
 Version: linux-image-3.17-rc5-amd64
 Severity: normal
 
 Between linux version 3.16 and 3.17 the option 
 CONFIG_NF_NAT_IPV4 changed the name to
 CONFIG_IP_NF_NAT. This option is not enabled in linux-image-3.17-rc5-amd64

The missing modules between 3.16 and 3.17 are:
-/lib/modules/$KVERS/kernel/net/ipv4/netfilter/iptable_nat.ko
-/lib/modules/$KVERS/kernel/net/ipv6/netfilter/ip6table_nat.ko
-/lib/modules/$KVERS/kernel/net/netfilter/xt_nat.ko

AFAICS, CONFIG_IP_NF_NAT only enables the build of iptable_nat.ko.


Cheers,
gregor


-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT  SPI, fellow of the Free Software Foundation Europe
   `-   NP: Mark Knopfler: Irish Boy


signature.asc
Description: Digital Signature


Processed: Re: Bug#762458: [src:linux] Please enable CONFIG_IP_NF_NAT

2014-09-22 Thread Debian Bug Tracking System
Processing control commands:

 notfound -1 linux-image-3.17-rc5-amd64
Bug #762458 [src:linux] [src:linux] Please enable CONFIG_IP_NF_NAT
The source 'linux' and version 'linux-image-3.17-rc5-amd64' do not appear to 
match any binary packages
No longer marked as found in versions linux/linux-image-3.17-rc5-amd64.
 found -1 3.17~rc5-1~exp1
Bug #762458 [src:linux] [src:linux] Please enable CONFIG_IP_NF_NAT
Marked as found in versions linux/3.17~rc5-1~exp1.

-- 
762458: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762458
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/handler.s.b762458.141140285719910.transcr...@bugs.debian.org



Bug#762461: marked as done (libusbip: please also ship shared library version)

2014-09-22 Thread Debian Bug Tracking System
Your message dated Mon, 22 Sep 2014 17:41:47 +0100
with message-id 1411404107.3659.6.ca...@decadent.org.uk
and subject line Re: Bug#762461: libusbip: please also ship shared library 
version
has caused the Debian Bug report #762461,
regarding libusbip: please also ship shared library version
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
762461: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762461
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: libusbip-dev
Version: 1.1.1+3.2.17-1
Severity: wishlist

Dear Maintainer,

the vendor of the following USB client application cannot provide a
binary-only version of his client for Debian Wheezy, because the shared
library version of libusbip is missing. 
https://www.virtualhere.com/usb_client_software

He already provides binaries for Ubuntu, because the libusbip.so is included
in their libusbip-dev package:
http://packages.ubuntu.com/trusty/amd64/libusbip-dev/filelist

Please also include the shared library version in addition to the static
one.

-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
---End Message---
---BeginMessage---
On Mon, 2014-09-22 at 17:35 +0200, Christian Wick wrote:
 Am 22.09.2014 17:10, schrieb Ben Hutchings:
  On Mon, 2014-09-22 at 15:52 +0200, Christian Wick wrote:
  Package: libusbip-dev
  Version: 1.1.1+3.2.17-1
  Severity: wishlist
 
 
  Please also include the shared library version in addition to the static
  one.
  So far as I know, libusip does not have a stable ABI.  In that case this
  will not solve the vendor's problem.
 
 There is already the static version of the library in this package. The 
 vendor told me that he could technically use the static library, but 
 cannot use it for legal reasons as his binary is closed-source.

Using a shared library also does not solve this problem, as libusbip is
licenced under GPLv2, not any version of LGPL.

 I have managed to recompile the package with the option 
 --disable-shared removed. This would solve the problem.
 The vendor provides binaries for each distribution and architecture.

As the sole purpose of this request is apparently to aid in copyright
infringement, I am closing this bug.

Ben.

-- 
Ben Hutchings
Everything should be made as simple as possible, but not simpler.
   - Albert Einstein


signature.asc
Description: This is a digitally signed message part
---End Message---


Bug#762390: Patch for hppa arch

2014-09-22 Thread Helge Deller

On 09/22/2014 09:24 AM, Uwe Kleine-König wrote:

diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
--- a/arch/parisc/Makefile
+++ b/arch/parisc/Makefile
  # These flags should be implied by an hppa-linux configuration, but they
  # are not in gcc 3.2.
-cflags-y   += -mno-space-regs -mfast-indirect-calls
+cflags-y   += -mno-space-regs
+
+# -mfast-indirect-calls is only relevant for 32-bit kernels.

Would it make sense to point out here that -mfast-indirect-calls is not
only unneeded but bad until http://link.to/relevant-discussion is
resolved?


Yes, this makes sense, but there is no public visible discussion
about it yet. It's in private mail between Dave and myself.
Anyway, we decided to push this patch upstream, so I'll add some more
comments in the (upstream) changelog then.

Helge


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54206b2e.6040...@gmx.de