Bug#707023: marked as done (linux-kbuild-3.8 is not installable)

2013-05-07 Thread Debian Bug Tracking System
Your message dated Tue, 07 May 2013 06:18:07 +
with message-id e1uzbdz-0007ks...@franck.debian.org
and subject line Bug#707023: fixed in linux-tools 3.8.11-1
has caused the Debian Bug report #707023,
regarding linux-kbuild-3.8 is not installable
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.)


-- 
707023: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707023
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: linux-kbuild-3.8
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Trying to install linux-headers-3.8-1-amd64, results in:

The following packages have unmet dependencies:
 linux-headers-3.8-1-amd64 : Depends: linux-kbuild-3.8 but it is not
 installable

Has this package failed to migrate to sid from experimental? 


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Dale Harris  d...@med.cornell.edu
Unix System Administratordah2...@med.cornell.edu
Information Technologies  Services  (212) 746-6841
Weill Cornell Medical College575 Lexington, 3rd Floor, NY, NY 10022
---End Message---
---BeginMessage---
Source: linux-tools
Source-Version: 3.8.11-1

We believe that the bug you reported is fixed in the latest version of
linux-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 707...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings b...@decadent.org.uk (supplier of updated linux-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Tue, 07 May 2013 02:11:16 +0100
Source: linux-tools
Binary: linux-kbuild-3.8 linux-tools-3.8 libusbip-dev usbip
Architecture: amd64 source
Version: 3.8.11-1
Distribution: unstable
Urgency: low
Maintainer: Debian Kernel Team debian-kernel@lists.debian.org
Changed-By: Ben Hutchings b...@decadent.org.uk
Closes: 707023
Description: 
 libusbip-dev - USB device sharing system over IP network (development files)
 linux-kbuild-3.8 - Kbuild infrastructure for Linux 3.8
 linux-tools-3.8 - Performance analysis tools for Linux 3.8
 usbip  - USB device sharing system over IP network
Changes: 
 linux-tools (3.8.11-1) unstable; urgency=low
 .
   * New upstream stable update
 .
   [ Ben Hutchings ]
   * Upload to unstable (Closes: #707023)
Checksums-Sha1: 
 b7ef3e7efb615fac40ed8501877dff46f16eb773 2312 linux-tools_3.8.11-1.dsc
 d130ccd6d23c8497f65c391a876e96d6cece5935 6971956 linux-tools_3.8.11.orig.tar.xz
 1ff9d210446942de832ee25ca159f0c189d74f39 19496 
linux-tools_3.8.11-1.debian.tar.xz
 893b2be38835572d3b22b9dbcd99782d84a8e994 247022 
linux-kbuild-3.8_3.8.11-1_amd64.deb
 9129048c7f41b387be0ad62a033564f1c440b79d 31084 
libusbip-dev_1.1.1+3.8.11-1_amd64.deb
 94545637b3f0a07e5595d5464c577838bc8dcbcc 53310 usbip_1.1.1+3.8.11-1_amd64.deb
 dbff380e4d9e43ebed0b03fe603e7d78b4f44c3a 548692 
linux-tools-3.8_3.8.11-1_amd64.deb
Checksums-Sha256: 
 94dccaaa68e4453515e668347995d5325750872195498a396138b136d197e3ef 2312 
linux-tools_3.8.11-1.dsc
 e45103379b091af6635e505f732f6f3451ccdffe33bb54d329408dcfb674d737 6971956 
linux-tools_3.8.11.orig.tar.xz
 bafe62174fb62975a4223528040962d37893c38eabe28ed6537395676a019112 19496 
linux-tools_3.8.11-1.debian.tar.xz
 59e235a9be967cd4171a07a6721c059967293ab8a141f532c874bece226e54da 247022 
linux-kbuild-3.8_3.8.11-1_amd64.deb
 1213b8cedccb49dce9060948bb824e10ed0c6c8cbc0df679f143f81c1b13ef90 31084 
libusbip-dev_1.1.1+3.8.11-1_amd64.deb
 a04e53df1686aa47228cd774e6c98e19c3539bdc07549d95dc39b0fac4c43b04 53310 
usbip_1.1.1+3.8.11-1_amd64.deb
 d95d22488119eeec7007589bc700fe6158698502dd70b9856805311950e8160e 548692 
linux-tools-3.8_3.8.11-1_amd64.deb
Files: 
 2f2ec76152b9e978996052889efb23db 2312 kernel optional linux-tools_3.8.11-1.dsc
 777054ddfcfaed99ad79962ff516f9e8 6971956 kernel optional 
linux-tools_3.8.11.orig.tar.xz
 56aa063941d388ac96f19352f96ca00f 19496 kernel optional 

Processing of linux-tools_3.8.11-1_multi.changes

2013-05-07 Thread Debian FTP Masters
linux-tools_3.8.11-1_multi.changes uploaded successfully to localhost
along with the files:
  linux-tools_3.8.11-1.dsc
  linux-tools_3.8.11.orig.tar.xz
  linux-tools_3.8.11-1.debian.tar.xz
  linux-kbuild-3.8_3.8.11-1_amd64.deb
  libusbip-dev_1.1.1+3.8.11-1_amd64.deb
  usbip_1.1.1+3.8.11-1_amd64.deb
  linux-tools-3.8_3.8.11-1_amd64.deb

Greetings,

Your Debian queue daemon (running on host franck.debian.org)


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1uzb3b-0004lv...@franck.debian.org



linux-tools_3.8.11-1_multi.changes ACCEPTED into unstable

2013-05-07 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Tue, 07 May 2013 02:11:16 +0100
Source: linux-tools
Binary: linux-kbuild-3.8 linux-tools-3.8 libusbip-dev usbip
Architecture: amd64 source
Version: 3.8.11-1
Distribution: unstable
Urgency: low
Maintainer: Debian Kernel Team debian-kernel@lists.debian.org
Changed-By: Ben Hutchings b...@decadent.org.uk
Closes: 707023
Description: 
 libusbip-dev - USB device sharing system over IP network (development files)
 linux-kbuild-3.8 - Kbuild infrastructure for Linux 3.8
 linux-tools-3.8 - Performance analysis tools for Linux 3.8
 usbip  - USB device sharing system over IP network
Changes: 
 linux-tools (3.8.11-1) unstable; urgency=low
 .
   * New upstream stable update
 .
   [ Ben Hutchings ]
   * Upload to unstable (Closes: #707023)
Checksums-Sha1: 
 b7ef3e7efb615fac40ed8501877dff46f16eb773 2312 linux-tools_3.8.11-1.dsc
 d130ccd6d23c8497f65c391a876e96d6cece5935 6971956 linux-tools_3.8.11.orig.tar.xz
 1ff9d210446942de832ee25ca159f0c189d74f39 19496 
linux-tools_3.8.11-1.debian.tar.xz
 893b2be38835572d3b22b9dbcd99782d84a8e994 247022 
linux-kbuild-3.8_3.8.11-1_amd64.deb
 9129048c7f41b387be0ad62a033564f1c440b79d 31084 
libusbip-dev_1.1.1+3.8.11-1_amd64.deb
 94545637b3f0a07e5595d5464c577838bc8dcbcc 53310 usbip_1.1.1+3.8.11-1_amd64.deb
 dbff380e4d9e43ebed0b03fe603e7d78b4f44c3a 548692 
linux-tools-3.8_3.8.11-1_amd64.deb
Checksums-Sha256: 
 94dccaaa68e4453515e668347995d5325750872195498a396138b136d197e3ef 2312 
linux-tools_3.8.11-1.dsc
 e45103379b091af6635e505f732f6f3451ccdffe33bb54d329408dcfb674d737 6971956 
linux-tools_3.8.11.orig.tar.xz
 bafe62174fb62975a4223528040962d37893c38eabe28ed6537395676a019112 19496 
linux-tools_3.8.11-1.debian.tar.xz
 59e235a9be967cd4171a07a6721c059967293ab8a141f532c874bece226e54da 247022 
linux-kbuild-3.8_3.8.11-1_amd64.deb
 1213b8cedccb49dce9060948bb824e10ed0c6c8cbc0df679f143f81c1b13ef90 31084 
libusbip-dev_1.1.1+3.8.11-1_amd64.deb
 a04e53df1686aa47228cd774e6c98e19c3539bdc07549d95dc39b0fac4c43b04 53310 
usbip_1.1.1+3.8.11-1_amd64.deb
 d95d22488119eeec7007589bc700fe6158698502dd70b9856805311950e8160e 548692 
linux-tools-3.8_3.8.11-1_amd64.deb
Files: 
 2f2ec76152b9e978996052889efb23db 2312 kernel optional linux-tools_3.8.11-1.dsc
 777054ddfcfaed99ad79962ff516f9e8 6971956 kernel optional 
linux-tools_3.8.11.orig.tar.xz
 56aa063941d388ac96f19352f96ca00f 19496 kernel optional 
linux-tools_3.8.11-1.debian.tar.xz
 f612477acd2d5ffa2f039d25ca05fbb4 247022 kernel optional 
linux-kbuild-3.8_3.8.11-1_amd64.deb
 a54a82c9d4f7a30f4cacd8406fbd14b8 31084 libdevel optional 
libusbip-dev_1.1.1+3.8.11-1_amd64.deb
 082ba9285aaba1b7d66d302f9cd97f27 53310 admin optional 
usbip_1.1.1+3.8.11-1_amd64.deb
 3ecbdf5080a2cd4fe6c99cc560a9b8d7 548692 devel optional 
linux-tools-3.8_3.8.11-1_amd64.deb

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIVAwUBUYiXSOe/yOyVhhEJAQqGbA/+MmS3Uxu3kbFk5akSZWPXerlHSaOb84e1
AaOW2pF/mqPt3jiPH9hsx4WDWyBBxcsvwUTCmC1dknoDvx9SDt0c7I9Q1z8ZDPLW
inL2n0K7tnRgJTezZDK5GG8JhRBCKUIOuSkVVcuNe9btvsP+gB/To6eFbkv1KQOh
zoxlwdwFcXpf8znUSKxk7BBVgTmtecpy76pU2RjsYfqO0zZq+zDpQOEXanhg+T8R
xZyjZ2rBrota6zVQqHBAz4EVzNynD9IT+HxbDCAltaewG7nwz0yNxjhZLwMAfN8T
QN7qRaztrG4qAdM5gf25vHOKZHVP0zBmCLbnN5Sz4m9908qaAzMJmI13gOjCCOwj
htPgKoU6hUlC+zrjmLtYnJgmYM1BdR/wj+OAKZsAR5H0JJlTbrN439DT3slTSqbs
2cNEtN6p8q6xCbvUgHXinfCcCd3aCURkxltrxHOZP9ZbF8vxLTIyMOhmrgypq9cJ
AOL5+wY26MgMRVERQl5JQe5W9JXnaoR+M0wIshUQltjf6h5iyMdrExwMU1j/haYc
e8T4ml4dp9n+b94vl4lk3Pz3eB+sErlJdbRGSovIHpx1cmITdW0zhiqLiNMhPIyD
rsRztMmC+I+kp/FYDspypoIQaBv3hYRDfXuGgbtf2jvNxwhOtwR4jNbLlkjAID95
DPnRv0b6H98=
=hC1i
-END PGP SIGNATURE-


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1uzbdz-0007km...@franck.debian.org



Processed: Re: Bug#706444: poweroff fails after wol

2013-05-07 Thread Debian Bug Tracking System
Processing control commands:

 reassign -1 linux-image-3.2.0-4-amd64
Bug #706444 [r8168-dkms] r8168-dkms: poweroff fails after wol
Bug reassigned from package 'r8168-dkms' to 'linux-image-3.2.0-4-amd64'.
No longer marked as found in versions r8168/8.035.00-1.
Ignoring request to alter fixed versions of bug #706444 to the same values 
previously set
 retitle -1 poweroff fails after wol
Bug #706444 [linux-image-3.2.0-4-amd64] r8168-dkms: poweroff fails after wol
Changed Bug title to 'poweroff fails after wol' from 'r8168-dkms: poweroff 
fails after wol'

-- 
706444: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706444
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: 
http://lists.debian.org/handler.s.b706444.136791539525123.transcr...@bugs.debian.org



Bug#700333: [ 3.5.y.z extended stable ] Patch clockevents: Set dummy handler on CPU_DEAD shutdown has been added to staging queue

2013-05-07 Thread Luis Henriques
This is a note to let you know that I have just added a patch titled

clockevents: Set dummy handler on CPU_DEAD shutdown

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:

 
http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

--

From 286b8c6a68ace04e9cc8748e8f4681da9f4a42ff Mon Sep 17 00:00:00 2001
From: Thomas Gleixner t...@linutronix.de
Date: Thu, 25 Apr 2013 11:45:53 +0200
Subject: [PATCH] clockevents: Set dummy handler on CPU_DEAD shutdown

commit 6f7a05d7018de222e40ca003721037a530979974 upstream.

Vitaliy reported that a per cpu HPET timer interrupt crashes the
system during hibernation. What happens is that the per cpu HPET timer
gets shut down when the nonboot cpus are stopped. When the nonboot
cpus are onlined again the HPET code sets up the MSI interrupt which
fires before the clock event device is registered. The event handler
is still set to hrtimer_interrupt, which then crashes the machine due
to highres mode not being active.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700333

There is no real good way to avoid that in the HPET code. The HPET
code alrady has a mechanism to detect spurious interrupts when event
handler == NULL for a similar reason.

We can handle that in the clockevent/tick layer and replace the
previous functional handler with a dummy handler like we do in
tick_setup_new_device().

The original clockevents code did this in clockevents_exchange_device(),
but that got removed by commit 7c1e76897 (clockevents: prevent
clockevent event_handler ending up handler_noop) which forgot to fix
it up in tick_shutdown(). Same issue with the broadcast device.

Reported-by: Vitaliy Fillipov vita...@yourcmc.ru
Cc: Ben Hutchings b...@decadent.org.uk
Cc: 700...@bugs.debian.org
Signed-off-by: Thomas Gleixner t...@linutronix.de
[ luis: adjust context ]
Signed-off-by: Luis Henriques luis.henriq...@canonical.com
---
 kernel/time/tick-broadcast.c | 4 
 kernel/time/tick-common.c| 1 +
 2 files changed, 5 insertions(+)

diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c
index a13987a..239a323 100644
--- a/kernel/time/tick-broadcast.c
+++ b/kernel/time/tick-broadcast.c
@@ -66,6 +66,8 @@ static void tick_broadcast_start_periodic(struct 
clock_event_device *bc)
  */
 int tick_check_broadcast_device(struct clock_event_device *dev)
 {
+   struct clock_event_device *cur = tick_broadcast_device.evtdev;
+
if ((dev-features  CLOCK_EVT_FEAT_DUMMY) ||
(tick_broadcast_device.evtdev 
 tick_broadcast_device.evtdev-rating = dev-rating) ||
@@ -73,6 +75,8 @@ int tick_check_broadcast_device(struct clock_event_device 
*dev)
return 0;

clockevents_exchange_device(tick_broadcast_device.evtdev, dev);
+   if (cur)
+   cur-event_handler = clockevents_handle_noop;
tick_broadcast_device.evtdev = dev;
if (!cpumask_empty(tick_get_broadcast_mask()))
tick_broadcast_start_periodic(dev);
diff --git a/kernel/time/tick-common.c b/kernel/time/tick-common.c
index da6c9ec..ead79bc 100644
--- a/kernel/time/tick-common.c
+++ b/kernel/time/tick-common.c
@@ -323,6 +323,7 @@ static void tick_shutdown(unsigned int *cpup)
 */
dev-mode = CLOCK_EVT_MODE_UNUSED;
clockevents_exchange_device(dev, NULL);
+   dev-event_handler = clockevents_handle_noop;
td-evtdev = NULL;
}
raw_spin_unlock_irqrestore(tick_device_lock, flags);
--
1.8.1.2


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1367922821-24974-1-git-send-email-luis.henriq...@canonical.com



Bug#706999: Writing ISO to USB results in an unkillable blkid process

2013-05-07 Thread Christian Kastner
On 2013-05-06 23:51, Marco d'Itri wrote:
 reassign 706999 linux-2.6 thanks
 
 On May 06, Christian Kastner deb...@kvr.at wrote:
 
 When attempting to write an ISO installer image to a USB stick,
 at some point there is an unkillable blkid process (state:
 uninterruptible sleep) and syslog gets spammed with the following
 message once every second:

 Processes in D state are the result of kernel issues, you are 
 experiencing the symptoms and not the cause.

Just in case this helps: on the same machine running Squeeze + the
most current backported kernel (3.2.39-2~bpo60+1),  I did not
experience this issue.


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5188f061.4080...@kvr.at



Bug#700333: [PATCH 102/118] clockevents: Set dummy handler on CPU_DEAD shutdown

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch.  If anyone has any objections, please let me 
know.

--

From: Thomas Gleixner t...@linutronix.de

commit 6f7a05d7018de222e40ca003721037a530979974 upstream.

Vitaliy reported that a per cpu HPET timer interrupt crashes the
system during hibernation. What happens is that the per cpu HPET timer
gets shut down when the nonboot cpus are stopped. When the nonboot
cpus are onlined again the HPET code sets up the MSI interrupt which
fires before the clock event device is registered. The event handler
is still set to hrtimer_interrupt, which then crashes the machine due
to highres mode not being active.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700333

There is no real good way to avoid that in the HPET code. The HPET
code alrady has a mechanism to detect spurious interrupts when event
handler == NULL for a similar reason.

We can handle that in the clockevent/tick layer and replace the
previous functional handler with a dummy handler like we do in
tick_setup_new_device().

The original clockevents code did this in clockevents_exchange_device(),
but that got removed by commit 7c1e76897 (clockevents: prevent
clockevent event_handler ending up handler_noop) which forgot to fix
it up in tick_shutdown(). Same issue with the broadcast device.

Reported-by: Vitaliy Fillipov vita...@yourcmc.ru
Cc: Ben Hutchings b...@decadent.org.uk
Cc: 700...@bugs.debian.org
Signed-off-by: Thomas Gleixner t...@linutronix.de
[ luis: adjust context ]
Signed-off-by: Luis Henriques luis.henriq...@canonical.com
---
 kernel/time/tick-broadcast.c | 4 
 kernel/time/tick-common.c| 1 +
 2 files changed, 5 insertions(+)

diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c
index a13987a..239a323 100644
--- a/kernel/time/tick-broadcast.c
+++ b/kernel/time/tick-broadcast.c
@@ -66,6 +66,8 @@ static void tick_broadcast_start_periodic(struct 
clock_event_device *bc)
  */
 int tick_check_broadcast_device(struct clock_event_device *dev)
 {
+   struct clock_event_device *cur = tick_broadcast_device.evtdev;
+
if ((dev-features  CLOCK_EVT_FEAT_DUMMY) ||
(tick_broadcast_device.evtdev 
 tick_broadcast_device.evtdev-rating = dev-rating) ||
@@ -73,6 +75,8 @@ int tick_check_broadcast_device(struct clock_event_device 
*dev)
return 0;
 
clockevents_exchange_device(tick_broadcast_device.evtdev, dev);
+   if (cur)
+   cur-event_handler = clockevents_handle_noop;
tick_broadcast_device.evtdev = dev;
if (!cpumask_empty(tick_get_broadcast_mask()))
tick_broadcast_start_periodic(dev);
diff --git a/kernel/time/tick-common.c b/kernel/time/tick-common.c
index da6c9ec..ead79bc 100644
--- a/kernel/time/tick-common.c
+++ b/kernel/time/tick-common.c
@@ -323,6 +323,7 @@ static void tick_shutdown(unsigned int *cpup)
 */
dev-mode = CLOCK_EVT_MODE_UNUSED;
clockevents_exchange_device(dev, NULL);
+   dev-event_handler = clockevents_handle_noop;
td-evtdev = NULL;
}
raw_spin_unlock_irqrestore(tick_device_lock, flags);
-- 
1.8.1.2


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1367933964-1564-103-git-send-email-luis.henriq...@canonical.com



[PATCH v4 0/4] deb-pkg: bring it a little bit closer to debian packaging

2013-05-07 Thread Anisse Astier
These little fixes should bring debian packaging closer to the way it's done in 
debian:


Changes since:
v2:
 - only build debug packages when CONFIG_DEBUG_INFO=y
 - build debug package last.
 - more verbose debug package description
 - put package in section debug
v3:
 - remove duplicate code from v2
v4:
 - fixes thanks to Ben Hutchings' review
 - use KCONFIG_CONFIG instead of .config
 - use installed path specific to each architecture instead of hard-coded
   /boot/vmlinuz-$version, based on
   
http://anonscm.debian.org/viewvc/kernel/dists/wheezy/linux/debian/rules.real?view=markup

Anisse Astier (4):
  deb-pkg: use KCONFIG_CONFIG instead of .config file directly
  deb-pkg: split debug symbols in their own package
  deb-pkg: fix installed image path on parisc, mips and powerpc
  deb-pkg: add a hook argument to match debian hooks parameters

 scripts/package/builddeb | 82 +++-
 1 file changed, 67 insertions(+), 15 deletions(-)

-- 
1.8.3.rc1


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1367941611-12223-1-git-send-email-ani...@astier.eu



[PATCH v4 3/4] deb-pkg: fix installed image path on parisc, mips and powerpc

2013-05-07 Thread Anisse Astier
Signed-off-by: Anisse Astier ani...@astier.eu
---
 scripts/package/builddeb | 25 ++---
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 797484b..73bb551 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -89,6 +89,18 @@ if [ $ARCH = um ] ; then
packagename=user-mode-linux-$version
 fi
 
+# Not all arches have the same installed path in debian
+case $ARCH in
+um)
+   installed_image_path=usr/bin/linux-$version
+   ;;
+parisc|mips|powerpc)
+   installed_image_path=boot/vmlinux-$version
+   ;;
+*)
+   installed_image_path=boot/vmlinuz-$version
+esac
+
 BUILD_DEBUG=$(grep -s '^CONFIG_DEBUG_INFO=y' $objtree/$KCONFIG_CONFIG || 
true)
 
 # Setup the directory structure
@@ -116,16 +128,15 @@ if [ $ARCH = um ] ; then
cp System.map $tmpdir/usr/lib/uml/modules/$version/System.map
cp $KCONFIG_CONFIG $tmpdir/usr/share/doc/$packagename/config
gzip $tmpdir/usr/share/doc/$packagename/config
-   cp $KBUILD_IMAGE $tmpdir/usr/bin/linux-$version
 else 
cp System.map $tmpdir/boot/System.map-$version
cp $KCONFIG_CONFIG $tmpdir/boot/config-$version
-   # Not all arches include the boot path in KBUILD_IMAGE
-   if [ -e $KBUILD_IMAGE ]; then
-   cp $KBUILD_IMAGE $tmpdir/boot/vmlinuz-$version
-   else
-   cp arch/$ARCH/boot/$KBUILD_IMAGE $tmpdir/boot/vmlinuz-$version
-   fi
+fi
+# Not all arches include the boot path in KBUILD_IMAGE
+if [ -e $KBUILD_IMAGE ]; then
+   cp $KBUILD_IMAGE $tmpdir/$installed_image_path
+else
+   cp arch/$ARCH/boot/$KBUILD_IMAGE $tmpdir/$installed_image_path
 fi
 
 if grep -q '^CONFIG_MODULES=y' $objtree/$KCONFIG_CONFIG ; then
-- 
1.8.3.rc1


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1367941611-12223-4-git-send-email-ani...@astier.eu



[PATCH v4 1/4] deb-pkg: use KCONFIG_CONFIG instead of .config file directly

2013-05-07 Thread Anisse Astier
Signed-off-by: Anisse Astier ani...@astier.eu
---
 scripts/package/builddeb | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index acb8650..2d84671 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -41,9 +41,9 @@ create_package() {
parisc*)
debarch=hppa ;;
mips*)
-   debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y .config  echo el) ;;
+   debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y 
$objtree/$KCONFIG_CONFIG  echo el) ;;
arm*)
-   debarch=arm$(grep -q CONFIG_AEABI=y .config  echo el) ;;
+   debarch=arm$(grep -q CONFIG_AEABI=y $objtree/$KCONFIG_CONFIG  
echo el) ;;
*)
echo  2
echo ** ** **  WARNING  ** ** ** 2
@@ -106,12 +106,12 @@ fi
 if [ $ARCH = um ] ; then
$MAKE linux
cp System.map $tmpdir/usr/lib/uml/modules/$version/System.map
-   cp .config $tmpdir/usr/share/doc/$packagename/config
+   cp $KCONFIG_CONFIG $tmpdir/usr/share/doc/$packagename/config
gzip $tmpdir/usr/share/doc/$packagename/config
cp $KBUILD_IMAGE $tmpdir/usr/bin/linux-$version
 else 
cp System.map $tmpdir/boot/System.map-$version
-   cp .config $tmpdir/boot/config-$version
+   cp $KCONFIG_CONFIG $tmpdir/boot/config-$version
# Not all arches include the boot path in KBUILD_IMAGE
if [ -e $KBUILD_IMAGE ]; then
cp $KBUILD_IMAGE $tmpdir/boot/vmlinuz-$version
@@ -120,7 +120,7 @@ else
fi
 fi
 
-if grep -q '^CONFIG_MODULES=y' .config ; then
+if grep -q '^CONFIG_MODULES=y' $objtree/$KCONFIG_CONFIG ; then
INSTALL_MOD_PATH=$tmpdir $MAKE KBUILD_SRC= modules_install
rm -f $tmpdir/lib/modules/$version/build
rm -f $tmpdir/lib/modules/$version/source
@@ -245,7 +245,7 @@ fi
 # Build header package
 (cd $srctree; find . -name Makefile\* -o -name Kconfig\* -o -name \*.pl  
$objtree/debian/hdrsrcfiles)
 (cd $srctree; find arch/$SRCARCH/include include scripts -type f  
$objtree/debian/hdrsrcfiles)
-(cd $objtree; find arch/$SRCARCH/include .config Module.symvers include 
scripts -type f  $objtree/debian/hdrobjfiles)
+(cd $objtree; find arch/$SRCARCH/include $KCONFIG_CONFIG Module.symvers 
include scripts -type f  $objtree/debian/hdrobjfiles)
 destdir=$kernel_headers_dir/usr/src/linux-headers-$version
 mkdir -p $destdir
 (cd $srctree; tar -c -f - -T $objtree/debian/hdrsrcfiles) | (cd $destdir; 
tar -xf -)
-- 
1.8.3.rc1


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1367941611-12223-2-git-send-email-ani...@astier.eu



[PATCH v4 2/4] deb-pkg: split debug symbols in their own package

2013-05-07 Thread Anisse Astier
This can reduce almost 3 times the size of the linux-image package,
while keeping the debug symbols available for this particular build, in
their own package.

This mimics the way kernels are built in debian, ubuntu, or with
make-kpkg, and comes at the price of a small slowdown in the building of
packages.

Signed-off-by: Anisse Astier ani...@astier.eu
---
 scripts/package/builddeb | 43 ++-
 1 file changed, 42 insertions(+), 1 deletion(-)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 2d84671..797484b 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -78,17 +78,21 @@ tmpdir=$objtree/debian/tmp
 fwdir=$objtree/debian/fwtmp
 kernel_headers_dir=$objtree/debian/hdrtmp
 libc_headers_dir=$objtree/debian/headertmp
+dbg_dir=$objtree/debian/dbgtmp
 packagename=linux-image-$version
 fwpackagename=linux-firmware-image
 kernel_headers_packagename=linux-headers-$version
 libc_headers_packagename=linux-libc-dev
+dbg_packagename=$packagename-dbg
 
 if [ $ARCH = um ] ; then
packagename=user-mode-linux-$version
 fi
 
+BUILD_DEBUG=$(grep -s '^CONFIG_DEBUG_INFO=y' $objtree/$KCONFIG_CONFIG || 
true)
+
 # Setup the directory structure
-rm -rf $tmpdir $fwdir $kernel_headers_dir $libc_headers_dir
+rm -rf $tmpdir $fwdir $kernel_headers_dir $libc_headers_dir $dbg_dir
 mkdir -m 755 -p $tmpdir/DEBIAN
 mkdir -p  $tmpdir/lib $tmpdir/boot $tmpdir/usr/share/doc/$packagename
 mkdir -m 755 -p $fwdir/DEBIAN
@@ -101,6 +105,10 @@ mkdir -p $kernel_headers_dir/lib/modules/$version/
 if [ $ARCH = um ] ; then
mkdir -p $tmpdir/usr/lib/uml/modules/$version $tmpdir/usr/bin
 fi
+if [ -n $BUILD_DEBUG ] ; then
+   mkdir -p $dbg_dir/usr/share/doc/$dbg_packagename
+   mkdir -m 755 -p $dbg_dir/DEBIAN
+fi
 
 # Build and install the kernel
 if [ $ARCH = um ] ; then
@@ -128,6 +136,20 @@ if grep -q '^CONFIG_MODULES=y' $objtree/$KCONFIG_CONFIG ; 
then
mv $tmpdir/lib/modules/$version/* 
$tmpdir/usr/lib/uml/modules/$version/
rmdir $tmpdir/lib/modules/$version
fi
+   if [ -n $BUILD_DEBUG ] ; then
+   (
+   cd $tmpdir
+   for module in $(find lib/modules/ -name *.ko); do
+   mkdir -p $(dirname 
$dbg_dir/usr/lib/debug/$module)
+   # only keep debug symbols in the debug file
+   objcopy --only-keep-debug $module 
$dbg_dir/usr/lib/debug/$module
+   # strip original module from debug symbols
+   objcopy --strip-debug $module
+   # then add a link to those
+   objcopy 
--add-gnu-debuglink=$dbg_dir/usr/lib/debug/$module $module
+   done
+   )
+   fi
 fi
 
 if [ $ARCH != um ]; then
@@ -299,4 +321,23 @@ fi
 
 create_package $packagename $tmpdir
 
+if [ -n $BUILD_DEBUG ] ; then
+   # Build debug package
+   mkdir -p $dbg_dir/usr/lib/debug/lib/modules/$version/
+   cp vmlinux $dbg_dir/usr/lib/debug/lib/modules/$version/
+
+   cat EOF  debian/control
+
+Package: $dbg_packagename
+Section: debug
+Provides: linux-debug, linux-debug-$version
+Architecture: any
+Description: Linux kernel debugging symbols for $version
+ This package will come in handy if you need to debug the kernel. It provides
+ all the necessary debug symbols for the kernel and its modules.
+EOF
+
+   create_package $dbg_packagename $dbg_dir
+fi
+
 exit 0
-- 
1.8.3.rc1


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1367941611-12223-3-git-send-email-ani...@astier.eu



[PATCH v4 4/4] deb-pkg: add a hook argument to match debian hooks parameters

2013-05-07 Thread Anisse Astier
We now provide the installed image path to the kernel hooks.

This should allow the package to better integrate with debian hooks, and
should not be too disruptive of hooks supporting only one parameter.

Signed-off-by: Anisse Astier ani...@astier.eu
---
 scripts/package/builddeb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 73bb551..fa084c6 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -182,7 +182,7 @@ set -e
 # Pass maintainer script parameters to hook scripts
 export DEB_MAINT_PARAMS=\$*
 
-test -d $debhookdir/$script.d  run-parts --arg=$version 
$debhookdir/$script.d
+test -d $debhookdir/$script.d  run-parts --arg=$version 
--arg=/$installed_image_path $debhookdir/$script.d
 exit 0
 EOF
chmod 755 $tmpdir/DEBIAN/$script
-- 
1.8.3.rc1


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1367941611-12223-5-git-send-email-ani...@astier.eu



Bug#707144: initramfs-tools: fails to include firmware

2013-05-07 Thread Sebastian Dalfuß
Package: initramfs-tools
Version: 0.112
Severity: normal

While installing a new kernel or updating initramfs update-initramfs fails to
add necessary firmware to the initramfs.

Quick'n dirty workaround:
I added 
copy_exec /lib/firmware/iwlwifi-6000g2b-6.ucode
to the bottom of
manual_add_modules()
in
/usr/share/initramfs-tools/hook-functions

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 2.7M May  7 20:00 /boot/initrd.img-3.8-1-amd64
-rw-r--r-- 1 root root 2.3M May  7 20:00 /boot/initrd.img-3.8.11
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.8-1-amd64 root=UUID=bbf0c2f9-dae5-4053-a279-0f39468480b2 
ro quiet

-- /proc/filesystems
ext4
ext2
fuseblk

-- lsmod
Module  Size  Used by
tun22480  0 
fuse   62705  3 
parport_pc 22409  0 
ppdev  12763  0 
lp 17160  0 
parport31901  3 lp,ppdev,parport_pc
cpufreq_powersave  12454  0 
cpufreq_stats  12866  0 
cpufreq_userspace  12576  0 
cpufreq_conservative13225  0 
uinput 17478  1 
nfsd  187722  2 
auth_rpcgss29433  1 nfsd
nfs_acl12511  1 nfsd
nfs   110231  0 
lockd  59673  2 nfs,nfsd
dns_resolver   12641  1 nfs
fscache37519  1 nfs
sunrpc164519  6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
ext2   59600  1 
loop   22908  0 
xts12722  1 
gf128mul   13047  1 xts
dm_crypt   18372  1 
dm_mod 64083  3 dm_crypt
btusb  17553  0 
bluetooth 164784  2 btusb
uvcvideo   70803  0 
videobuf2_vmalloc  12860  1 uvcvideo
videobuf2_memops   12519  1 videobuf2_vmalloc
videobuf2_core 31098  1 uvcvideo
videodev   92117  2 uvcvideo,videobuf2_core
media  18184  2 uvcvideo,videodev
iTCO_wdt   12831  0 
iTCO_vendor_support12704  1 iTCO_wdt
joydev 17317  0 
coretemp   12854  0 
kvm_intel 118327  0 
kvm   319005  1 kvm_intel
crc32c_intel   21850  0 
ghash_clmulni_intel13062  0 
cryptd 14560  1 ghash_clmulni_intel
arc4   12543  2 
snd_hda_codec_hdmi 31479  1 
snd_hda_codec_realtek55535  1 
psmouse69190  0 
i2c_i801   17045  0 
serio_raw  12940  0 
evdev  17650  16 
samsung_laptop 13608  0 
iwldvm111692  0 
lpc_ich16757  0 
snd_hda_intel  31301  2 
microcode  30456  0 
snd_hda_codec  88454  3 
snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep  13189  1 snd_hda_codec
mac80211  371723  1 iwldvm
pcspkr 12632  0 
snd_pcm68523  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
mfd_core   12601  1 lpc_ich
snd_page_alloc 13018  2 snd_pcm,snd_hda_intel
r8169  52743  0 
snd_seq45225  0 
mii12675  1 r8169
snd_seq_device 13176  1 snd_seq
battery13146  0 
snd_timer  22812  2 snd_pcm,snd_seq
wmi13243  0 
iwlwifi64362  1 iwldvm
snd53077  13 
snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec,snd_hda_intel,snd_seq_device
cfg80211  352039  3 iwlwifi,mac80211,iwldvm
ehci_pci   12472  0 
xhci_hcd   78158  0 
i915  472367  2 
ehci_hcd   40464  1 ehci_pci
ac 12624  0 
rfkill 19166  4 cfg80211,samsung_laptop,bluetooth
soundcore  13026  1 snd
video  17686  2 i915,samsung_laptop
drm_kms_helper 31890  1 i915
drm   206364  3 i915,drm_kms_helper
i2c_algo_bit   12841  1 i915
mei32175  0 
i2c_core   24041  6 
drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
usbcore   134291  5 btusb,uvcvideo,ehci_hcd,ehci_pci,xhci_hcd
usb_common 12354  1 usbcore
acpi_cpufreq   13354  0 
mperf  12453  1 acpi_cpufreq
button 12944  1 i915
processor  28362  1 acpi_cpufreq
ext4  396099  2 
crc16  12343  2 ext4,bluetooth
jbd2   71860  1 ext4
mbcache13114  2 ext2,ext4
sd_mod 40549  4 
crc_t10dif 12348  1 sd_mod
fan12681  0 
thermal17425  0 
thermal_sys22833  4 fan,video,thermal,processor
ahci   25060  3 
libahci22918  1 ahci
libata141683  2 ahci,libahci
scsi_mod  162472  2 libata,sd_mod

-- 

Bug#707144: initramfs-tools: fails to include firmware

2013-05-07 Thread Julien Cristau
On Tue, May  7, 2013 at 20:38:14 +0200, Sebastian Dalfuß wrote:

 Package: initramfs-tools
 Version: 0.112
 Severity: normal
 
 While installing a new kernel or updating initramfs update-initramfs fails to
 add necessary firmware to the initramfs.
 
 Quick'n dirty workaround:
 I added 
 copy_exec /lib/firmware/iwlwifi-6000g2b-6.ucode
 to the bottom of
 manual_add_modules()
 in
 /usr/share/initramfs-tools/hook-functions
 
Why would you need firmware for a wireless driver in initramfs?  Root on
nfs over wifi doesn't sound like a sane thing to do, somehow.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#688846: Rebuilding initramfs seems to be sufficient

2013-05-07 Thread Florian Boelstler
Hi,

just came across the same issue.

Luckily linux-image-2.6.32-5-686 from squeeze was still installed.
An update of initramfs using update-initramfs -u -k 3.2.0-4-486 while
running 2.6.32 appears to have solved the problem. I've not modified
/etc/initramfs-tools/modules (file is still empty).
(dm-crypt based installation was initially setup using Lenny d-i)

I don't think #678636 is related.

Cheers,

  Florian


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51895782.50...@boelstler.net



Bug#691902: Machine comes back on after shutdown

2013-05-07 Thread Aryeh Leib Taurog
Dear Kernel Team, 

After installing debian wheezy (using rc2 media), I'm experiencing
the same problem described in this bug.  The shutdown sequence runs up 
to 'Will now halt.'  Then the machine seems to turn off, but it comes 
back on a few seconds later.

I tried with the suggested images from snapshots and I got the same 
results described above:

=== === 
kernel  version shutdown
--- --- 
linux-image-3.2.0-4-amd64   3.2.41-2problematic
linux-image-3.2.0-2-amd64   3.2.14-1problematic
linux-image-3.2.0-2-amd64   3.2.13-1 OK
=== === 

I am attaching the reportbug output.

With appreciation,
Aryeh Leib Taurog

-- Package-specific info:
** Version:
Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 
(Debian 4.6.3-15) ) #1 SMP Debian 3.2.41-2

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-amd64 
root=UUID=55c86996-4846-402b-a202-58a7af52fb82 ro quiet

** Not tainted

** Kernel log:
[1.802774] sd 0:0:0:0: [sda] Attached SCSI disk
[1.804963] sd 0:0:0:0: Attached scsi generic sg0 type 0
[1.805014] sr 1:0:0:0: Attached scsi generic sg1 type 5
[1.853568] usb 5-1: New USB device found, idVendor=17ef, idProduct=6019
[1.853573] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[1.853577] usb 5-1: Product: Lenovo USB Optical Mouse
[1.853580] usb 5-1: Manufacturer: Logitech
[1.869828] input: Logitech Lenovo USB Optical Mouse as 
/devices/pci:00/:00:1d.1/usb5/5-1/5-1:1.0/input/input2
[1.869946] generic-usb 0003:17EF:6019.0003: input,hidraw2: USB HID v1.11 
Mouse [Logitech Lenovo USB Optical Mouse] on usb-:00:1d.1-1/input0
[2.831003] PM: Starting manual resume from disk
[2.831007] PM: Hibernation image partition 8:2 present
[2.831009] PM: Looking for hibernation image.
[2.831218] PM: Image not found (code -22)
[2.831221] PM: Hibernation image not present or could not be loaded.
[2.853991] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: 
(null)
[4.117225] udevd[339]: starting version 175
[4.677431] input: Power Button as 
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/PNP0C0C:00/input/input3
[4.677439] ACPI: Power Button [PWRB]
[4.677500] input: Power Button as 
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
[4.677504] ACPI: Power Button [PWRF]
[4.714053] tpm_tis 00:0a: 1.2 TPM (device-id 0x1002, rev-id 2)
[4.856917] input: PC Speaker as /devices/platform/pcspkr/input/input5
[4.865544] coretemp coretemp.0: Using relative temperature scale!
[4.865561] coretemp coretemp.0: Using relative temperature scale!
[4.896113] ACPI: Requesting acpi_cpufreq
[4.941680] i801_smbus :00:1f.3: enabling device (0001 - 0003)
[5.075284] iTCO_vendor_support: vendor-support=0
[5.076117] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.07
[5.076217] iTCO_wdt: Found a ICH8 or ICH8R TCO device (Version=2, 
TCOBASE=0x1060)
[5.076280] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[5.206380] [drm] Initialized drm 1.1.0 20060810
[5.276130] tpm_tis 00:0a: Adjusting TPM timeout parameters.
[5.300086] parport_pc 00:09: reported by Plug and Play ACPI
[5.300160] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
[5.312973] snd_hda_intel :00:1b.0: irq 42 for MSI/MSI-X
[5.313000] snd_hda_intel :00:1b.0: setting latency timer to 64
[5.389476] input: HDA Digital PCBeep as 
/devices/pci:00/:00:1b.0/input/input6
[5.393738] i915 :00:02.0: setting latency timer to 64
[5.463583] i915 :00:02.0: irq 43 for MSI/MSI-X
[5.463590] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[5.463592] [drm] Driver supports precise vblank timestamp query.
[5.463633] vgaarb: device changed decodes: 
PCI::00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[5.480220] [drm] initialized overlay support
[5.514980] composite sync not supported
[5.523561] fbcon: inteldrmfb (fb0) is primary device
[5.573763] Console: switching to colour frame buffer device 240x67
[5.582853] fb0: inteldrmfb frame buffer device
[5.582855] drm: registered panic notifier
[5.582909] ACPI Exception: AE_NOT_FOUND, Evaluating _DOD 
(20110623/video-1161)
[5.582993] input: Video Bus as 
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input7
[5.583056] ACPI: Video Device [IGD0] (multi-head: yes  rom: no  post: no)
[5.583093] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0
[8.477560] Adding 3906556k swap on /dev/sda2.  Priority:-1 extents:1 
across:3906556k 
[8.491163] EXT4-fs (sda1): re-mounted. Opts: (null)
[8.659631] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[8.743477] loop: module loaded
[   10.022743] RPC: Registered named UNIX socket transport module.
[   

Bug#691902: ThinkCentre M55: Machine comes back on after shutdown

2013-05-07 Thread Jonathan Nieder
Hi,

Aryeh Leib Taurog wrote:

 I tried with the suggested images from snapshots and I got the same 
 results described above:

 === === 
 kernel  version shutdown
 --- --- 
 linux-image-3.2.0-4-amd64   3.2.41-2problematic
 linux-image-3.2.0-2-amd64   3.2.14-1problematic
 linux-image-3.2.0-2-amd64   3.2.13-1 OK
 === === 

Interesting.  Your hardware is quite different from the reporters
of this bug and the corresponding upstream bug, so please file a
new report.  Then we can try to take this upstream.

Thanks,
Jonathan


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130507211047.GA5608@elie.Belkin



Bug#707144: initramfs-tools: fails to include firmware

2013-05-07 Thread Sebastian Dalfuß
On Tue, May 07, 2013 at 09:19:12PM +0200, Julien Cristau wrote:
 Why would you need firmware for a wireless driver in initramfs?  Root on
 nfs over wifi doesn't sound like a sane thing to do, somehow.

With the firmware not beeing present during boot, I got a kernel error 
message about firmware not beeing found, instead of working wifi.
That's why it seemed that the firmware belongs into initramfs. Putting 
the firmware into initramfs solved the problem.

Otherwise users would be supposed to remove and reinsert the module by 
modifing some script in /etc/init.d/ somwhere before the interface is 
going to be acessed, which would work (but not for compiled-in drivers), 
but wouldn't be exactly user friendly.


signature.asc
Description: Digital signature


Bug#707144: initramfs-tools: fails to include firmware

2013-05-07 Thread Julien Cristau
[please reply to all, not just to me]

On Tue, May  7, 2013 at 22:50:09 +0200, Sebastian Dalfuß wrote:

 On Tue, May 07, 2013 at 09:19:12PM +0200, Julien Cristau wrote:
  Why would you need firmware for a wireless driver in initramfs?  Root on
  nfs over wifi doesn't sound like a sane thing to do, somehow.
 
 With the firmware not beeing present during boot, I got a kernel error 
 message about firmware not beeing found, instead of working wifi.
 That's why it seemed that the firmware belongs into initramfs. Putting 
 the firmware into initramfs solved the problem.
 
The wireless driver isn't supposed to be in initramfs either...

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#707170: ThinkCentre M55: Machine comes back on after shutdown

2013-05-07 Thread Aryeh Leib Taurog
Package: linux-image-3.2.0-4-amd64
Version: 3.2.41-2

Dear Kernel Team,

I've been asked to resubmit this as a new bug report:
After installing debian wheezy (using rc2 media), I'm experiencing
problems shutting down, similar to what's reported in bug #691902:
When shutting down, the shutdown sequence runs up to 'Will now halt.' 
Then the machine seems to turn off, but it comes back on a few seconds 
later.

(It may not be relevant, but I encountered similar behavior 
hibernating this machine under ubuntu 10.04, but in that case shutdown 
worked okay, and IIRC the problem only occurred with a particular USB 
drive attached.)

In any case, I tried linux images from snapshots and I got the results 
listed below:

=== === 
kernel  version shutdown
--- --- 
linux-image-3.2.0-4-amd64   3.2.41-2problematic
linux-image-3.2.0-2-amd64   3.2.14-1problematic
linux-image-3.2.0-2-amd64   3.2.13-1 OK
=== === 

The reportbug output is attached.

With much appreciation,
Aryeh Leib Taurog

On Tue, May 07, 2013 at 02:10:47PM -0700, Jonathan Nieder wrote:
 Interesting.  Your hardware is quite different from the reporters
 of this bug and the corresponding upstream bug, so please file a
 new report.  Then we can try to take this upstream.
 
 Thanks,
 Jonathan
-- Package-specific info:
** Version:
Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 
(Debian 4.6.3-15) ) #1 SMP Debian 3.2.41-2

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-amd64 
root=UUID=55c86996-4846-402b-a202-58a7af52fb82 ro quiet

** Not tainted

** Kernel log:
[1.802774] sd 0:0:0:0: [sda] Attached SCSI disk
[1.804963] sd 0:0:0:0: Attached scsi generic sg0 type 0
[1.805014] sr 1:0:0:0: Attached scsi generic sg1 type 5
[1.853568] usb 5-1: New USB device found, idVendor=17ef, idProduct=6019
[1.853573] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[1.853577] usb 5-1: Product: Lenovo USB Optical Mouse
[1.853580] usb 5-1: Manufacturer: Logitech
[1.869828] input: Logitech Lenovo USB Optical Mouse as 
/devices/pci:00/:00:1d.1/usb5/5-1/5-1:1.0/input/input2
[1.869946] generic-usb 0003:17EF:6019.0003: input,hidraw2: USB HID v1.11 
Mouse [Logitech Lenovo USB Optical Mouse] on usb-:00:1d.1-1/input0
[2.831003] PM: Starting manual resume from disk
[2.831007] PM: Hibernation image partition 8:2 present
[2.831009] PM: Looking for hibernation image.
[2.831218] PM: Image not found (code -22)
[2.831221] PM: Hibernation image not present or could not be loaded.
[2.853991] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: 
(null)
[4.117225] udevd[339]: starting version 175
[4.677431] input: Power Button as 
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/PNP0C0C:00/input/input3
[4.677439] ACPI: Power Button [PWRB]
[4.677500] input: Power Button as 
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
[4.677504] ACPI: Power Button [PWRF]
[4.714053] tpm_tis 00:0a: 1.2 TPM (device-id 0x1002, rev-id 2)
[4.856917] input: PC Speaker as /devices/platform/pcspkr/input/input5
[4.865544] coretemp coretemp.0: Using relative temperature scale!
[4.865561] coretemp coretemp.0: Using relative temperature scale!
[4.896113] ACPI: Requesting acpi_cpufreq
[4.941680] i801_smbus :00:1f.3: enabling device (0001 - 0003)
[5.075284] iTCO_vendor_support: vendor-support=0
[5.076117] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.07
[5.076217] iTCO_wdt: Found a ICH8 or ICH8R TCO device (Version=2, 
TCOBASE=0x1060)
[5.076280] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[5.206380] [drm] Initialized drm 1.1.0 20060810
[5.276130] tpm_tis 00:0a: Adjusting TPM timeout parameters.
[5.300086] parport_pc 00:09: reported by Plug and Play ACPI
[5.300160] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
[5.312973] snd_hda_intel :00:1b.0: irq 42 for MSI/MSI-X
[5.313000] snd_hda_intel :00:1b.0: setting latency timer to 64
[5.389476] input: HDA Digital PCBeep as 
/devices/pci:00/:00:1b.0/input/input6
[5.393738] i915 :00:02.0: setting latency timer to 64
[5.463583] i915 :00:02.0: irq 43 for MSI/MSI-X
[5.463590] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[5.463592] [drm] Driver supports precise vblank timestamp query.
[5.463633] vgaarb: device changed decodes: 
PCI::00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[5.480220] [drm] initialized overlay support
[5.514980] composite sync not supported
[5.523561] fbcon: inteldrmfb (fb0) is primary device
[5.573763] Console: switching to colour frame buffer device 240x67
[5.582853] fb0: inteldrmfb frame buffer device
[5.582855] drm: registered panic notifier
[5.582909] ACPI 

Bug#707175: linux-image-3.2.0-4-powerpc64: kernel BUG at /build/buildd-linux_3.2.41-2-powerpc-TjfGhD/linux-3.2.41/fs/dcache.c:474

2013-05-07 Thread Rob Leslie
Package: src:linux
Version: 3.2.41-2
Severity: important

Attempting to interrupt an SPU-using process results in the following kernel
bug:

[  482.153589] [ cut here ]
[  482.154820] kernel BUG at 
/build/buildd-linux_3.2.41-2-powerpc-TjfGhD/linux-3.2.41/fs/dcache.c:474!
[  482.157284] Oops: Exception in kernel mode, sig: 5 [#2]
[  482.158555] SMP NR_CPUS=32 NUMA PS3
[  482.159765] Modules linked in: sha1_generic hmac cts rfcomm bnep autofs4 
binfmt_misc fuse rpcsec_gss_krb5 nfsd nfs nfs_acl auth_rpcgss lockd fscache 
sunrpc spufs sha256_generic aes_generic cbc dm_snapshot dm_crypt btusb 
bluetooth rfkill snd_ps3 snd_pcm crc16 snd_timer snd soundcore snd_page_alloc 
ps3flash ps3_lpm rtc_ps3 ext3 mbcache jbd btrfs crc32c libcrc32c dm_mod sg 
sr_mod cdrom ohci_hcd ehci_hcd usbcore ps3_gelic usb_common ps3rom ps3disk 
ps3stor_lib ps3vram [last unloaded: scsi_wait_scan]
[  482.160052] NIP: c0180a74 LR: c0180a64 CTR: c00ec1c8
[  482.160071] REGS: c4cd70a0 TRAP: 0700   Tainted: G  D   
(3.2.0-4-powerpc64 Debian 3.2.41-2)
[  482.160084] MSR: 80028032 EE,CE,IR,DR  CR: 22482422  XER: 2000
[  482.160113] TASK = ce298240[4595] 'ruby1.9.1' THREAD: 
c4cd4000 CPU: 1
[  482.160126] GPR00: 0001 c4cd7320 c07f2bf8 
c3019f1c 
[  482.160146] GPR04: c07a05d0 c0729c00  
6018 
[  482.160166] GPR08: 00c0  02c6 
0001 
[  482.160185] GPR12: d1ac0178 c7ffa280 0001 
c4ba0300 
[  482.160204] GPR16: c4cd7ea0 c4ba0a08 c4a03280 
418004fc 
[  482.160224] GPR20: 00040100 00040006 c4ba0308 
0405 
[  482.160243] GPR24: c4ebc810 c4c95c90 c4ebc810 
c3019ec0 
[  482.160263] GPR28: c3019ec0  c0763998 
 
[  482.160295] NIP [c0180a74] .dput+0x4c/0x24c
[  482.160306] LR [c0180a64] .dput+0x3c/0x24c
[  482.160311] Call Trace:
[  482.160321] [c4cd7320] [c0180a64] .dput+0x3c/0x24c 
(unreliable)
[  482.160338] [c4cd73c0] [c016b154] .fput+0x224/0x23c
[  482.160352] [c4cd7470] [c013c9b8] .remove_vma+0x68/0xb8
[  482.160367] [c4cd7500] [c013e044] .exit_mmap+0xf8/0x11c
[  482.160385] [c4cd7610] [c0081d30] .mmput+0x6c/0x168
[  482.160419] [c4cd76a0] [d1ab7724] .spu_forget+0x48/0x60 
[spufs]
[  482.160438] [c4cd7730] [d1ab2254] .spufs_dir_close+0x84/0xa0 
[spufs]
[  482.160451] [c4cd77e0] [c016b098] .fput+0x168/0x23c
[  482.160464] [c4cd7890] [c0168354] .filp_close+0xa8/0xb8
[  482.160479] [c4cd7920] [c00883dc] 
.put_files_struct+0xa4/0x10c
[  482.160491] [c4cd79d0] [c0088bbc] .do_exit+0x314/0x80c
[  482.160505] [c4cd7ad0] [c00893d0] .do_group_exit+0xa8/0xdc
[  482.160522] [c4cd7b60] [c0098d2c] 
.get_signal_to_deliver+0x58c/0x5d0
[  482.160537] [c4cd7c70] [c001528c] 
.do_signal_pending.constprop.4+0x48/0x2d4
[  482.160551] [c4cd7db0] [c0015668] .do_signal+0x1c/0x48
[  482.160568] [c4cd7e30] [c0009ee8] do_work+0x24/0x28
[  482.160576] Instruction dump:
[  482.160584] 3ba0 801c0058 2f81 409e000c 4832ceed 6000 387c005c 
4832f919 
[  482.160608] 6000 813c0058 7d200074 7800d182 0b00 2b890001 409d0010 
3929 
[  482.165728] ---[ end trace 06baac6563dc533f ]---

I am not sure if this could be related to the odd behavior of the spufs
filesystem, which since upgrading to wheezy no longer displays any thread
directories (rendering spu-ps and spu-top useless).


-- Package-specific info:
** Version:
Linux version 3.2.0-4-powerpc64 (debian-kernel@lists.debian.org) (gcc version 
4.6.3 (Debian 4.6.3-12) ) #1 SMP Debian 3.2.41-2

** Command line:
root=/dev/ps3da1 video=ps3fb:mode:0 

** Tainted: W (512)
 * Taint on warning.

** Kernel log:
[   61.541516] RPC: Registered udp transport module.
[   61.541534] RPC: Registered tcp transport module.
[   61.541550] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   61.610873] FS-Cache: Loaded
[   61.743684] FS-Cache: Netfs 'nfs' registered for caching
[   61.787108] Installing knfsd (copyright (C) 1996 o...@monad.swb.de).
[   62.476429] fuse init (API version 7.17)
[   67.917764] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   67.918996] Bluetooth: BNEP filters: protocol multicast
[   67.970612] Bluetooth: RFCOMM TTY layer initialized
[   67.971895] Bluetooth: RFCOMM socket layer initialized
[   67.972902] Bluetooth: RFCOMM ver 1.11
[  578.377857] [ cut here ]
[  578.378114] WARNING: at 
/build/buildd-linux_3.2.41-2-powerpc-TjfGhD/linux-3.2.41/fs/dcache.c:1291
[  578.378561] Modules linked in: rfcomm 

Bug#707144: initramfs-tools: fails to include firmware

2013-05-07 Thread Ben Hutchings
Control: tag -1 moreinfo

On Tue, 2013-05-07 at 20:38 +0200, Sebastian Dalfuß wrote:
 Package: initramfs-tools
 Version: 0.112
 Severity: normal
 
 While installing a new kernel or updating initramfs update-initramfs fails to
 add necessary firmware to the initramfs.
[...]

It should include all the firmware files listed in the module info
(modinfo -F firmware) for all modules included in the initramfs, if they
exist.

If you also upgraded firmware-iwlwifi recently, in what order did you
upgrade that and initramfs-tools and the kernel?

Did update-initramfs warn that this file was missing?

(All the packages of firmware for Ethernet hardware do trigger an
initramfs rebuild, but firmware-iwlwifi does not because the iwlwifi
drivers are not normally included in an initramfs.)

Ben.

-- 
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison


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


Processed: Re: Bug#707144: initramfs-tools: fails to include firmware

2013-05-07 Thread Debian Bug Tracking System
Processing control commands:

 tag -1 moreinfo
Bug #707144 [initramfs-tools] initramfs-tools: fails to include firmware
Added tag(s) moreinfo.

-- 
707144: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707144
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: 
http://lists.debian.org/handler.s.b707144.13679786081444.transcr...@bugs.debian.org



Processed: Re: Bug#707175: linux-image-3.2.0-4-powerpc64: kernel BUG at /build/buildd-linux_3.2.41-2-powerpc-TjfGhD/linux-3.2.41/fs/dcache.c:474

2013-05-07 Thread Debian Bug Tracking System
Processing control commands:

 tag -1 moreinfo
Bug #707175 [src:linux] linux-image-3.2.0-4-powerpc64: kernel BUG at 
/build/buildd-linux_3.2.41-2-powerpc-TjfGhD/linux-3.2.41/fs/dcache.c:474
Added tag(s) moreinfo.

-- 
707175: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707175
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: 
http://lists.debian.org/handler.s.b707175.13679794886949.transcr...@bugs.debian.org



Bug#707175: linux-image-3.2.0-4-powerpc64: kernel BUG at /build/buildd-linux_3.2.41-2-powerpc-TjfGhD/linux-3.2.41/fs/dcache.c:474

2013-05-07 Thread Ben Hutchings
Control: tag -1 moreinfo

On Tue, 2013-05-07 at 15:16 -0700, Rob Leslie wrote:
 Package: src:linux
 Version: 3.2.41-2
 Severity: important
 
 Attempting to interrupt an SPU-using process results in the following kernel
 bug:
 
 [  482.153589] [ cut here ]
 [  482.154820] kernel BUG at 
 /build/buildd-linux_3.2.41-2-powerpc-TjfGhD/linux-3.2.41/fs/dcache.c:474!
 [  482.157284] Oops: Exception in kernel mode, sig: 5 [#2]
 [  482.158555] SMP NR_CPUS=32 NUMA PS3
 [  482.159765] Modules linked in: sha1_generic hmac cts rfcomm bnep autofs4 
 binfmt_misc fuse rpcsec_gss_krb5 nfsd nfs nfs_acl auth_rpcgss lockd fscache 
 sunrpc spufs sha256_generic aes_generic cbc dm_snapshot dm_crypt btusb 
 bluetooth rfkill snd_ps3 snd_pcm crc16 snd_timer snd soundcore snd_page_alloc 
 ps3flash ps3_lpm rtc_ps3 ext3 mbcache jbd btrfs crc32c libcrc32c dm_mod sg 
 sr_mod cdrom ohci_hcd ehci_hcd usbcore ps3_gelic usb_common ps3rom ps3disk 
 ps3stor_lib ps3vram [last unloaded: scsi_wait_scan]
 [  482.160052] NIP: c0180a74 LR: c0180a64 CTR: 
 c00ec1c8
 [  482.160071] REGS: c4cd70a0 TRAP: 0700   Tainted: G  D   
 (3.2.0-4-powerpc64 Debian 3.2.41-2)
[...]

The letter D here indicates there was an earlier BUG.  Look further up
the log to find the first one.

Does Linux 3.8 (in experimental, should be in unstable shortly) work any
better?

Ben

-- 
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison


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


Re: [PATCH v4 1/4] deb-pkg: use KCONFIG_CONFIG instead of .config file directly

2013-05-07 Thread Ben Hutchings
On Tue, 2013-05-07 at 17:46 +0200, Anisse Astier wrote:
 Signed-off-by: Anisse Astier ani...@astier.eu
 ---
  scripts/package/builddeb | 12 ++--
  1 file changed, 6 insertions(+), 6 deletions(-)
 
 diff --git a/scripts/package/builddeb b/scripts/package/builddeb
 index acb8650..2d84671 100644
 --- a/scripts/package/builddeb
 +++ b/scripts/package/builddeb
 @@ -41,9 +41,9 @@ create_package() {
   parisc*)
   debarch=hppa ;;
   mips*)
 - debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y .config  echo el) ;;
 + debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y 
 $objtree/$KCONFIG_CONFIG  echo el) ;;
   arm*)
 - debarch=arm$(grep -q CONFIG_AEABI=y .config  echo el) ;;
 + debarch=arm$(grep -q CONFIG_AEABI=y $objtree/$KCONFIG_CONFIG  
 echo el) ;;

You use $objtree here (and I think I may have suggested to you that it
was necessary)...

   *)
   echo  2
   echo ** ** **  WARNING  ** ** ** 2
 @@ -106,12 +106,12 @@ fi
  if [ $ARCH = um ] ; then
   $MAKE linux
   cp System.map $tmpdir/usr/lib/uml/modules/$version/System.map
 - cp .config $tmpdir/usr/share/doc/$packagename/config
 + cp $KCONFIG_CONFIG $tmpdir/usr/share/doc/$packagename/config
[...]

but you don't use it here.  This still works because we are running with
current directory set to $objtree.  So be consistent and just use
$KCONFIG_CONFIG in all cases.

Ben.

-- 
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison


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


Re: [PATCH v4 2/4] deb-pkg: split debug symbols in their own package

2013-05-07 Thread Ben Hutchings
On Tue, 2013-05-07 at 17:46 +0200, Anisse Astier wrote:
 This can reduce almost 3 times the size of the linux-image package,
 while keeping the debug symbols available for this particular build, in
 their own package.
 
 This mimics the way kernels are built in debian, ubuntu, or with
 make-kpkg, and comes at the price of a small slowdown in the building of
 packages.
 
 Signed-off-by: Anisse Astier ani...@astier.eu
 ---
  scripts/package/builddeb | 43 ++-
  1 file changed, 42 insertions(+), 1 deletion(-)
 
 diff --git a/scripts/package/builddeb b/scripts/package/builddeb
 index 2d84671..797484b 100644
 --- a/scripts/package/builddeb
 +++ b/scripts/package/builddeb
 @@ -78,17 +78,21 @@ tmpdir=$objtree/debian/tmp
  fwdir=$objtree/debian/fwtmp
  kernel_headers_dir=$objtree/debian/hdrtmp
  libc_headers_dir=$objtree/debian/headertmp
 +dbg_dir=$objtree/debian/dbgtmp
  packagename=linux-image-$version
  fwpackagename=linux-firmware-image
  kernel_headers_packagename=linux-headers-$version
  libc_headers_packagename=linux-libc-dev
 +dbg_packagename=$packagename-dbg
  
  if [ $ARCH = um ] ; then
   packagename=user-mode-linux-$version
  fi
  
 +BUILD_DEBUG=$(grep -s '^CONFIG_DEBUG_INFO=y' $objtree/$KCONFIG_CONFIG || 
 true)

As in the previous patch, you can omit $objtree/ here.

[...]
 @@ -128,6 +136,20 @@ if grep -q '^CONFIG_MODULES=y' $objtree/$KCONFIG_CONFIG 
 ; then
   mv $tmpdir/lib/modules/$version/* 
 $tmpdir/usr/lib/uml/modules/$version/
   rmdir $tmpdir/lib/modules/$version
   fi
 + if [ -n $BUILD_DEBUG ] ; then
 + (
 + cd $tmpdir
 + for module in $(find lib/modules/ -name *.ko); do

What if this is a non-modular kernel?

[...] 
 +if [ -n $BUILD_DEBUG ] ; then
 + # Build debug package
 + mkdir -p $dbg_dir/usr/lib/debug/lib/modules/$version/
 + cp vmlinux $dbg_dir/usr/lib/debug/lib/modules/$version/
[...]

Different tools have different ideas about where vmlinux debuginfo
should be.  What I ended up doing in Debian's own kernel debug packages
in wheezy was installing/symlinking to all of:

/usr/lib/debug/boot/vmlinux-$version[systemtap]
/usr/lib/debug/lib/modules/$version/vmlinux [perf]
/usr/lib/debug/vmlinux-$version [kdump-tools]

So unless anyone has a better suggestion I think you'd better do the
same here.

(But really, the Linux development community ought to agree on a single
canonical path format that all such tools will support.)

Ben.

-- 
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison



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


Bug#707175: linux-image-3.2.0-4-powerpc64: kernel BUG at /build/buildd-linux_3.2.41-2-powerpc-TjfGhD/linux-3.2.41/fs/dcache.c:474

2013-05-07 Thread Rob Leslie
On May 7, 2013, at 7:17 PM, Ben Hutchings b...@decadent.org.uk wrote:
 [  482.160071] REGS: c4cd70a0 TRAP: 0700   Tainted: G  D   
 (3.2.0-4-powerpc64 Debian 3.2.41-2)
 
 The letter D here indicates there was an earlier BUG.  Look further up
 the log to find the first one.

Here is the first instance of the BUG:

[  477.438640] [ cut here ]
[  477.438804] kernel BUG at 
/build/buildd-linux_3.2.41-2-powerpc-TjfGhD/linux-3.2.41/fs/dcache.c:474!
[  477.439090] Oops: Exception in kernel mode, sig: 5 [#1]
[  477.439255] SMP NR_CPUS=32 NUMA PS3
[  477.439388] Modules linked in: sha1_generic hmac cts rfcomm bnep autofs4 
binfmt_misc fuse rpcsec_gss_krb5 nfsd nfs nfs_acl auth_rpcgss lockd fscache 
sunrpc spufs sha256_generic aes_generic cbc dm_snapshot dm_crypt btusb 
bluetooth rfkill snd_ps3 snd_pcm crc16 snd_timer snd soundcore snd_page_alloc 
ps3flash ps3_lpm rtc_ps3 ext3 mbcache jbd btrfs crc32c libcrc32c dm_mod sg 
sr_mod cdrom ohci_hcd ehci_hcd usbcore ps3_gelic usb_common ps3rom ps3disk 
ps3stor_lib ps3vram [last unloaded: scsi_wait_scan]
[  477.441388] NIP: c0180a74 LR: c0180a64 CTR: c01f8484
[  477.441632] REGS: c4af7940 TRAP: 0700   Not tainted  
(3.2.0-4-powerpc64 Debian 3.2.41-2)
[  477.441910] MSR: 80028032 EE,CE,IR,DR  CR: 22000422  XER: 2000
[  477.442221] TASK = ce10e140[4502] 'ruby1.9.1' THREAD: 
c4af4000 CPU: 0
[  477.442483] GPR00: 0001 c4af7bc0 c07f2bf8 
c301a25c
[  477.443955] GPR04: c079e3e0 c0729c00  
6018
[  477.44] GPR08: 00c0  15b0 
0003
[  477.449398] GPR12: d1ac0178 c7ffa000  
ffd6df5d
[  477.452166] GPR16: 0ffd2190   

[  477.454969] GPR20: 9008 ffd6d244 003f 
001e
[  477.457757] GPR24: c4f6dd10 c4c95090 4010 
c65f2d80
[  477.460556] GPR28: c301a200  c0763998 

[  477.464611] NIP [c0180a74] .dput+0x4c/0x24c
[  477.466007] LR [c0180a64] .dput+0x3c/0x24c
[  477.467376] Call Trace:
[  477.468673] [c4af7bc0] [c0180a64] .dput+0x3c/0x24c 
(unreliable)
[  477.471325] [c4af7c60] [c016b154] .fput+0x224/0x23c
[  477.472735] [c4af7d10] [c0168354] .filp_close+0xa8/0xb8
[  477.475278] [c4af7da0] [c016927c] .SyS_close+0xd0/0x128
[  477.477824] [c4af7e30] [c000986c] syscall_exit+0x0/0x40
[  477.480355] Instruction dump:
[  477.481595] 3ba0 801c0058 2f81 409e000c 4832ceed 6000 387c005c 
4832f919
[  477.484203] 6000 813c0058 7d200074 7800d182 0b00 2b890001 409d0010 
3929
[  477.492303] —[ end trace 06baac6563dc533e ]---

 Does Linux 3.8 (in experimental, should be in unstable shortly) work any
 better?

I’ll try it and report.

-- 
Rob Leslie
r...@mars.org


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/7dc40303-09dc-412e-9b14-e5733a18f...@mars.org



Bug#707189: [linux] Redundant description of linux-headers packages

2013-05-07 Thread Filipus Klutiero

Package: linux
Version: 3.8.11-1
Severity: minor

The descriptions of linux-headers packages are redundant. For example, 
3.8-1-486's reads:


This package provides the architecture-specific kernel header files for
Linux kernel 3.8-1-486, generally used for building out-of-tree kernel
modules.  These files are going to be installed into
/usr/src/linux-headers-3.8-1-486, and can be used for building modules
that load into the kernel provided by the linux-image-3.8-1-486 package.


It would also help to start with a general description before getting specific. 
Also, the description shouldn't assume the reader did not install the package.

I suggest, for this example:


This package provides header files used to compile loadable kernel modules for 
Linux. These are generally used for building out-of-tree modules.

This package provides the header files corresponding to the 
linux-image-3.8-1-486 package, in /usr/src/linux-headers-3.8-1-486/.


Finally, the short description is unclear on what headers are provided. Instead of 
Header files for Linux 486 configuration (meta-package), I suggest:

LKM header files for Linux 486 configuration (meta-package)



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5189c4d7.9080...@gmail.com



Re: [PATCH v4 3/4] deb-pkg: fix installed image path on parisc, mips and powerpc

2013-05-07 Thread Ben Hutchings
On Tue, 2013-05-07 at 17:46 +0200, Anisse Astier wrote:
 Signed-off-by: Anisse Astier ani...@astier.eu
 ---
  scripts/package/builddeb | 25 ++---
  1 file changed, 18 insertions(+), 7 deletions(-)
 
 diff --git a/scripts/package/builddeb b/scripts/package/builddeb
 index 797484b..73bb551 100644
 --- a/scripts/package/builddeb
 +++ b/scripts/package/builddeb
 @@ -89,6 +89,18 @@ if [ $ARCH = um ] ; then
   packagename=user-mode-linux-$version
  fi
  
 +# Not all arches have the same installed path in debian
 +case $ARCH in
 +um)
 + installed_image_path=usr/bin/linux-$version
 + ;;
 +parisc|mips|powerpc)
 + installed_image_path=boot/vmlinux-$version
 + ;;
 +*)
 + installed_image_path=boot/vmlinuz-$version
 +esac
[...]

This certainly matches the naming we use in official Debian kernel
packages.  The intent was, I think, to match what 'make install' would
do, but with the version suffix.  We've diverged from that slightly in
that some MIPS platforms now support compressed kernel images which are
installed as vmlinuz.

So, you can consider this:

Reviewed-by: Ben Hutchings b...@decadent.org.uk

However I think we could improve on this by making each architecture
Makefile define the canonical installed name of the kernel image.

Ben.

-- 
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison


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


Re: [PATCH v4 4/4] deb-pkg: add a hook argument to match debian hooks parameters

2013-05-07 Thread Ben Hutchings
On Tue, 2013-05-07 at 17:46 +0200, Anisse Astier wrote:
 We now provide the installed image path to the kernel hooks.
 
 This should allow the package to better integrate with debian hooks, and
 should not be too disruptive of hooks supporting only one parameter.
 
 Signed-off-by: Anisse Astier ani...@astier.eu
Reviewed-by: Ben Hutchings b...@decadent.org.uk

All hook scripts should support both forms, as specified in
http://kernel-handbook.alioth.debian.org/ch-update-hooks.html.  Of
course, that is only Debian policy and we don't know that everyone
working on derivatives has read it...

Ben.

 ---
  scripts/package/builddeb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/scripts/package/builddeb b/scripts/package/builddeb
 index 73bb551..fa084c6 100644
 --- a/scripts/package/builddeb
 +++ b/scripts/package/builddeb
 @@ -182,7 +182,7 @@ set -e
  # Pass maintainer script parameters to hook scripts
  export DEB_MAINT_PARAMS=\$*
  
 -test -d $debhookdir/$script.d  run-parts --arg=$version 
 $debhookdir/$script.d
 +test -d $debhookdir/$script.d  run-parts --arg=$version 
 --arg=/$installed_image_path $debhookdir/$script.d
  exit 0
  EOF
   chmod 755 $tmpdir/DEBIAN/$script
 -- 
 1.8.3.rc1
 
 

-- 
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison


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