Bug#578129: please apply skip sense logging for some ATA PASS-THROUGH cdbs from 2.6.33

2010-04-17 Thread Robert Edmonds
Package: linux-2.6
Version: 2.6.32-11
Severity: normal
Tags: patch

hi,

when SATA drives are attached to SAS controllers and used in ATA
pass-through mode, many operations cause alarming but harmless messages
(though it may not be immediately obvious to the user that they are
harmless) to be written to the kernel log, e.g.:

[1381579.095459] sd 8:0:23:0: [sdx] Sense Key : Recovered Error [current] 
[descriptor]
[1381579.095518] Descriptor sense data with sense descriptors (in hex):
[1381579.095549] 72 01 00 1d 00 00 00 0e 09 0c 00 00 00 00 00 00 
[1381579.095614] 00 4f 00 c2 00 50 
[1381579.095654] sd 8:0:23:0: [sdx] Add. Sense: ATA pass through information 
available

i see these types of messages at boot as well as periodically due to the
use of smartmontools.  if you have a lot of disks your kernel log will
be spammed.

can you apply commit e7efe5932b1d3916c79326a4221693ea90a900e2 from
2.6.33 to suppress these messages?

thanks.

-- 
Robert Edmonds
edmo...@debian.org
From e7efe5932b1d3916c79326a4221693ea90a900e2 Mon Sep 17 00:00:00 2001
From: Douglas Gilbert dgilb...@interlog.com
Date: Sun, 3 Jan 2010 13:51:15 -0500
Subject: [PATCH] [SCSI] skip sense logging for some ATA PASS-THROUGH cdbs

Further to the lsml thread titled:
does scsi_io_completion need to dump sense data for ata pass through (ck_cond =
1) ?

This is a patch to skip logging when the sense data is
associated with a SENSE_KEY of RECOVERED_ERROR and the
additional sense code is ATA PASS-THROUGH INFORMATION
AVAILABLE. This only occurs with the SAT ATA PASS-THROUGH
commands when CK_COND=1 (in the cdb). It indicates that
the sense data contains ATA registers.

Smartmontools uses such commands on ATA disks connected via
SAT. Periodic checks such as those done by smartd cause
nuisance entries into logs that are:
- neither errors nor warnings
- pointless unless the cdb that caused them are also logged

Signed-off-by: Douglas Gilbert dgilb...@interlog.com
Signed-off-by: James Bottomley james.bottom...@suse.de
---
 drivers/scsi/scsi_lib.c |   10 --
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index c664242..5697709 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -773,8 +773,14 @@ void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes)
 	 * we already took a copy of the original into rq-errors which
 	 * is what gets returned to the user
 	 */
-	if (sense_valid  sshdr.sense_key == RECOVERED_ERROR) {
-		if (!(req-cmd_flags  REQ_QUIET))
+	if (sense_valid  (sshdr.sense_key == RECOVERED_ERROR)) {
+		/* if ATA PASS-THROUGH INFORMATION AVAILABLE skip
+		 * print since caller wants ATA registers. Only occurs on
+		 * SCSI ATA PASS_THROUGH commands when CK_COND=1
+		 */
+		if ((sshdr.asc == 0x0)  (sshdr.ascq == 0x1d))
+			;
+		else if (!(req-cmd_flags  REQ_QUIET))
 			scsi_print_sense(, cmd);
 		result = 0;
 		/* BLOCK_PC may have set error */
-- 
1.7.0.4



signature.asc
Description: Digital signature


Bug#578131: [linux-2.6] Copying big files to pendrive is deadly slow

2010-04-17 Thread Antonio Marcos López Alonso
Package: linux-2.6
Version: 2.6.32-3-amd64
Severity: normal

--- Please enter the report below this line. ---

Copying big files to a removable fat32/ntfs device begins at a normal speed 
but after a third (approx.) of the process is completed, the speed drops to a 
few kb/s.

dmesg spits no messages regarding this.

Regards
Antonio

--- System information. ---
Architecture: amd64
Kernel:   Linux 2.6.32-3-amd64

Debian Release: squeeze/sid
  600 testing www.debian-multimedia.org 
  600 testing security.debian.org 
  600 testing ftp.es.debian.org 
  550 unstablewww.debian-multimedia.org 
  550 unstableftp.es.debian.org 
  500 stable  dl.google.com 
  500 squeeze www.lamaresh.net 

--- 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: http://lists.debian.org/201004170831.40470.amlopezalo...@gmail.com



Re: nfs-kernel-server, 2.6.32 and lenny

2010-04-17 Thread Ben Hutchings
On Fri, 2010-04-16 at 08:45 -0700, Martin Michlmayr wrote:
 * John Winters j...@sinodun.org.uk [2010-04-16 09:09]:
  2) Kernel 2.6.32-2 causes problems with Lenny running as an NFS server.
  The nfs-kernel-server startup scripts try to check whether the kernel
  is NFS-capable and erroneously decide it isn't.
 
 This has been fixed in unstable but I think it would be nice to push a
 fix into lenny too since a lot of people run newer kernels on lenny.
 
 debian-kernel: any thoughts?

Agreed.

Aníbal, do you want to prepare this or shall I?

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


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


Bug#578005: Please consider backporting KVM_GET/SET_CLOCK to 2.6.32

2010-04-17 Thread Ben Hutchings
On Fri, 2010-04-16 at 03:41 +0300, Faidon Liambotis wrote:
 Package: linux-2.6
 Version: 2.6.32-11
 Severity: minor
 Tags: patch, fixed-upstream
 
 Hi,
[...]
 IOW, the API greatly helps KVM live migrations. Without it, there are fair
 chances that after the migration the guest will crash. The API is used by
 qemu-kvm = 0.12.1 and 0.12.3 is currently in squeeze.

This is definitely worthwhile but it does involve an ABI bump.  So we
will probably wait for a convenient time to do that.

[...]
 BTW, while you're at it, perhaps you should have a look at the, also trivial,
 3cfc3092f40bc37c57ba556cfd8de4218f2135ab (“KVM: x86: Add
 KVM_GET/SET_VCPU_EVENTS”) too.

The same goes for that.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


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


Processed: tagging 577724

2010-04-17 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 # Automatically generated email from bts, devscripts version 2.10.35lenny7
 tags 577724 + pending
Bug #577724 [src:linux-2.6] xserver-xorg-video-intel: Fail to start Screen(s) 
found, but none have a usable configuration. when laptop's LID closed
Added tag(s) pending.

End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
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.c.12715151053274.transcr...@bugs.debian.org



Processed: tagging 572201

2010-04-17 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 # Automatically generated email from bts, devscripts version 2.10.35lenny7
 tags 572201 + pending
Bug #572201 [linux-2.6] linux-image-2.6.32-trunk-amd64: forcedeth driver hangs 
under heavy load
Added tag(s) pending.

End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
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.c.12715156048227.transcr...@bugs.debian.org



Bug#577764: marked as done (ALSA: snd-aloop module MISSING from recent kernels!)

2010-04-17 Thread Debian Bug Tracking System
Your message dated Sat, 17 Apr 2010 15:50:54 +0100
with message-id 1271515854.3679.96.ca...@localhost
and subject line Re: Bug#577764: ALSA: snd-aloop module MISSING from recent 
kernels!
has caused the Debian Bug report #577764,
regarding ALSA: snd-aloop module MISSING from recent kernels!
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.)


-- 
577764: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577764
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: linux-2.6
Version: 2.6.32-9
Severity: normal

Hi,

the ALSA virtual loopback sound card module, snd-aloop, is
missing from recent kernels!!!

(it was available on Lenny's kernel: 

/lib/modules/2.6.26-2-686/updates/alsa/drivers/snd-aloop.ko
)

Any idea why it disappared? The sources are included in all 
recent ALSA versions up to the latest.

I do NEED it, please make it come back in stock kernels!


Tnx a lot.


Ciao,
Paolo.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (900, 'stable'), (190, 'testing'), (180, 'unstable'), (7, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-4-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.32-3-686 depends on:
ii  debconf [debconf-2.0] 1.5.30 Debian configuration management sy
ii  initramfs-tools [linux-initra 0.92o  tools for generating an initramfs
ii  module-init-tools 3.4-1  tools for managing Linux kernel mo

Versions of packages linux-image-2.6.32-3-686 recommends:
ii  firmware-linux-free   2.6.32-9   Binary firmware for various driver
ii  libc6-i6862.10.2-6   GNU C Library: Shared libraries [i

Versions of packages linux-image-2.6.32-3-686 suggests:
ii  grub   0.97-47lenny2 GRand Unified Bootloader (Legacy v
pn  linux-doc-2.6.32   none(no description available)

Versions of packages linux-image-2.6.32-3-686 is related to:
pn  firmware-bnx2 none (no description available)
pn  firmware-bnx2xnone (no description available)
pn  firmware-ipw2x00  none (no description available)
pn  firmware-ivtv none (no description available)
pn  firmware-iwlwifi  none (no description available)
ii  firmware-linux0.23   Binary firmware for various driver
ii  firmware-linux-nonfree0.23   Binary firmware for various driver
pn  firmware-qlogic   none (no description available)
pn  firmware-ralink   none (no description available)

-- debconf information:
  linux-image-2.6.32-3-686/prerm/would-invalidate-boot-loader-2.6.32-3-686: true
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.32-3-686/postinst/bootloader-error-2.6.32-3-686:
  linux-image-2.6.32-3-686/postinst/depmod-error-initrd-2.6.32-3-686: false
  linux-image-2.6.32-3-686/postinst/bootloader-test-error-2.6.32-3-686:
  linux-image-2.6.32-3-686/postinst/missing-firmware-2.6.32-3-686:
  linux-image-2.6.32-3-686/prerm/removing-running-kernel-2.6.32-3-686: true


---End Message---
---BeginMessage---
On Wed, 2010-04-14 at 12:36 +0200, Paolo Saggese wrote:
 Package: linux-2.6
 Version: 2.6.32-9
 Severity: normal
 
 Hi,
 
 the ALSA virtual loopback sound card module, snd-aloop, is
 missing from recent kernels!!!
 
 (it was available on Lenny's kernel: 
 
 /lib/modules/2.6.26-2-686/updates/alsa/drivers/snd-aloop.ko
 )

Anything in the 'updates' subdirectory is installed by some other
package.  All modules included in the official kernel packages will be
installed under the 'kernel' subdirectory.

 Any idea why it disappared? The sources are included in all 
 recent ALSA versions up to the latest.

And yet not in mainline Linux, where they should be.

 I do NEED it, please make it come back in stock kernels!

Then you should talk to ALSA upstream about including it in mainline.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


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


Bug#577747: linux-image-2.6.32-4-686: corrupted SSH connection little time after boot with the atl1e driver on a Eeepc 1002HA

2010-04-17 Thread Ben Hutchings
On Wed, 2010-04-14 at 13:00 +0200, Frédéric Boiteux wrote:
 Le Wed, 14 Apr 2010 11:32:25 +0100,
 Ben Hutchings b...@decadent.org.uk a écrit :
 
  On Wed, 2010-04-14 at 09:28 +0200, Frédéric Boiteux wrote:
   Package: linux-2.6
   Version: 2.6.32-11
   Severity: normal
   Tags: upstream
   
   Some minutes after booting (cold boot, or resume from hibernation,
   at least before  #534422 prevents me to use hibernation), my
   Iceweasel session launched through a SSH connection always fail
   with following error message : Corrupted MAC on input.
   Disconnecting: Packet corrupt  Restarting the SSH connection, the
   problem don't occur anymore before next reboot.  I've checked and
   replaced the ethernet cable, without change. I also tested the
   memory, seems ok.  I thought at start it was a iceweasel or openssh
   problem, but then found other people have the same problem, like :
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/60764
   https://bugzilla.kernel.org/show_bug.cgi?id=12282 and perhaps also
   https://bugzilla.kernel.org/show_bug.cgi?id=13404  The problem is
   here at least since 2.6.30, and is always present with latest
   kernel from Sid.
  
  The bug could be at either end of the connection (or between them).
  Is the remote system on the same local network?  If so, please can you
  provide the output of these commands on the remote system:
  
  ls -l /sys/class/net/*/device/driver
  grep . /sys/class/net/*/features
 
 I don't think so, because the remote system is on a local network, and
 I use same type of ssh connection from other systems without problem.
 But here is the output you request (the remote system is an HP
 DL380G5) :

OK, I think I can generally trust bnx2.

As I understand it, you are doing this:
1. Run ssh on Eeepc, connecting to server
2. Run iceweasel on server with X forwarding over ssh
3. ssh on Eeepc fails with this error message, indicating it received
corrupt data

If we can trust the server's driver and hardware, this implies that a
received packet has been corrupted after its CRC and TCP/IP checksums
were verified by the Eeepc's network controller.

Based on the bug reports at bugzilla.kernel.org I believe this is a
hardware fault and there is unlikely to be any way to fix this in
software.  However you may be able to work around it by disabling RX
checksum offload via ethtool.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


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


Processed: tagging 577747

2010-04-17 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tags 577747 wontfix
Bug #577747 [linux-2.6] linux-image-2.6.32-4-686: corrupted SSH connection 
little time after boot with the atl1e driver on a Eeepc 1002HA
Added tag(s) wontfix.
 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
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.c.127151785929820.transcr...@bugs.debian.org



Processed: tagging 577735

2010-04-17 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 # Automatically generated email from bts, devscripts version 2.10.35lenny7
 tags 577735 + pending
Bug #577735 [linux-base] linux-base: Damaged /etc/crypttab after migration to 
UUIDs
Added tag(s) pending.

End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
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.c.12715182381238.transcr...@bugs.debian.org



Bug#577735: linux-base: Damaged /etc/crypttab after migration to UUIDs

2010-04-17 Thread Ben Hutchings
On Wed, 2010-04-14 at 04:16 +0200, Marcin Szewczyk, Wodny wrote:
 Package: linux-base
 Version: 2.6.32-11
 Severity: normal
 Tags: patch
 
 There is no newline character after #oldline\nnewline in the /etc/crypttab
 file, so everything is just a big furry text ball.
 
 The \n is needed as whitespace is removed at lines  856 and 857.
 
 Proposed patch included.

Sorry about this.  I don't know why I didn't spot that in testing.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


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


Bug#572201: Bug#506419: [Fwd: Re: forcedeth driver hangs under heavy load]

2010-04-17 Thread Ben Hutchings
On Tue, 2010-04-13 at 15:49 +0100, stephen mulcahy wrote:
 Hi Martin,
 
 Just came across a similar bug you logged a while back - thought you 
 might be interested.

The patch for #572201 by Ayaz Abdulla fixed a regression introduced in
Linux 2.6.31.  So the bugs may be related but they are not the same.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


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


Bug#578189: please move common headers to /usr/src/linux-headers-`uname -r`

2010-04-17 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Package: linux-headers-2.6.32-4-common
Version: 2.6.32-11

Debian breaks compatibility to upstream's kernel source tree
by splitting the header file directory tree into 2 parts.
This affects 3rd party software, e.g. the makefiles included
in Nvidia's driver package.

Do you think it would be possible to improve compatibility
between Debian's kernel headers and the rest of the world?


Many thanx

Harri
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvJ/F0ACgkQUTlbRTxpHjeiaQCeITg9AKMT/3wnIa18U0W72bs+
DycAn1Sh+ZJQOnUy3XI0GGGaceQBAwCI
=xchA
-END PGP SIGNATURE-



-- 
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/4bc9fc5d.5050...@afaics.de



Re: nfs-kernel-server, 2.6.32 and lenny

2010-04-17 Thread Aníbal Monsalve Salazar
On Sat, Apr 17, 2010 at 01:40:10PM +0100, Ben Hutchings wrote:
On Fri, 2010-04-16 at 08:45 -0700, Martin Michlmayr wrote:
On Fri, Apr 16, 2010 at 09:09:11AM +0100, John Winters wrote:
2) Kernel 2.6.32-2 causes problems with Lenny running as an NFS
server.  The nfs-kernel-server startup scripts try to check whether
the kernel is NFS-capable and erroneously decide it isn't.

This has been fixed in unstable but I think it would be nice to push a
fix into lenny too since a lot of people run newer kernels on lenny.

debian-kernel: any thoughts?

Agreed.

Aníbal, do you want to prepare this or shall I?

Please go ahead. Thank you Ben. I don't have a lenny devel environment
right now and it'll take some time before I can build one.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


signature.asc
Description: Digital signature