sd_setup_discard_cmnd: BUG: unable to handle kernel NULL pointer dereference at (null)

2014-06-19 Thread Stefan Priebe - Profihost AG
Hi, while using vanilla 3.10.44 with drbd on top of a md raid1. I'm pretty often hitting the followin kernel bug. It reminds me of: http://lists.openwall.net/linux-kernel/2014/02/19/428 But i don't use bcache. [sched_delayed] sched: RT throttling activated BUG: unable to handle kernel NULL poi

Mr. Ali Babekir Gebril

2014-06-19 Thread dr . kenneth
Good Day, I crave your indulgence to forgive me as I send you this mail without due consultation. I have a very credible financial business proposition to make to you that will attract an appreciable business gain. Is about one Mr Ahmed Syed, who was an investor with our bank but died in a pl

[PATCH] bnx2fc: do not scan uninitialized lists in case of error.

2014-06-19 Thread Maurizio Lombardi
In case of of error, the bnx2fc_cmd_mgr_alloc() function will call the bnx2fc_cmd_mgr_free() to perform the cleanup. The problem is that in one case the latter may try to scan some not-yet initialized lists, resulting in a kernel panic. This patch prevents this from happening by freeing the lists

Re: [PATCH v3 2/2] ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command.

2014-06-19 Thread Tejun Heo
On Thu, Jun 19, 2014 at 12:20:54PM +0530, Suman Tripathi wrote: > + /* > + * Restart the dma engine if the last cmd issued > + * is IDENTIFY DEVICE command > + */ > + if (unlikely(ctx->last_cmd[ap->port_no] == ATA_CMD_ID_ATA)) > + ahci_restart_engine(ap); Is it r

Re: [PATCH v3 2/2] ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command.

2014-06-19 Thread Tejun Heo
Two more things. On Thu, Jun 19, 2014 at 12:20:54PM +0530, Suman Tripathi wrote: > /** > + * xgene_ahci_qc_issue - Issue commands to the device > + * @qc: Command to issue > + * > + * Due to H/W errata, for the IENTIFY DEVICE command > + * controller is unable to clear the BSY bit after > + * rec

Re: [PATCH v3 2/2] ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command.

2014-06-19 Thread Tejun Heo
On Thu, Jun 19, 2014 at 07:44:28PM +0530, Suman Tripathi wrote: > Hi Tejun, > > On Thu, Jun 19, 2014 at 12:20:54PM +0530, Suman Tripathi wrote: > > + /* > > + * Restart the dma engine if the last cmd issued > > + * is IDENTIFY DEVICE command > > + */ > > + if (unlikely(ctx->

Re: [PATCH v3 2/2] ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command.

2014-06-19 Thread Tejun Heo
Hello, On Thu, Jun 19, 2014 at 07:57:33PM +0530, Suman Tripathi wrote: > [suman] : Are you ok if I make ahci_qc_issue in the ahci.h as not static > and make it as EXPORT_SYMBOL_GPL ? Currenty ahci_qc_issue is static. > If you take the current case , I only had to make ahci_sw_activity as non > st

Re: [PATCH 2/2] scsi: Do not complete timed-out command

2014-06-19 Thread Ewan Milne
On Tue, 2014-06-17 at 07:53 +0200, Hannes Reinecke wrote: > On 06/16/2014 08:23 PM, Ewan Milne wrote: > > On Fri, 2014-06-13 at 14:01 +0200, Hannes Reinecke wrote: > >> There is a possible race between scsi_times_out() and scsi_done(); > >> the LLDD is only notified about a timed out command by cal

[PATCH V2] pm80xx: Fix hibernation issue

2014-06-19 Thread bradley . grove
From: Bradley Grove During hibernation, the HBA firmware may lose power and forget the device id info. This causes the HBA to reject IO upon resume. The fix is to call the libsas power management routines to make the domain device forgetful. This fixes bug 76681: https://bugzilla.kernel.org/

BUG: scheduling while atomic in blk_mq codepath?

2014-06-19 Thread Theodore Ts'o
While trying to bisect some problems which were introduced sometime between 3.15 and 3.16-rc1 (specifically, (1) reads to a block device at offset 262144 * 4k are failing with a short read, and (2) block device reads are sometimes causing the entire kernel to hang), the following BUG got hit. [

Re: BUG: scheduling while atomic in blk_mq codepath?

2014-06-19 Thread Jens Axboe
On 2014-06-19 08:35, Theodore Ts'o wrote: While trying to bisect some problems which were introduced sometime between 3.15 and 3.16-rc1 (specifically, (1) reads to a block device at offset 262144 * 4k are failing with a short read, and (2) block device reads are sometimes causing the entire kerne

Re: BUG: scheduling while atomic in blk_mq codepath?

2014-06-19 Thread Theodore Ts'o
On Thu, Jun 19, 2014 at 08:59:26AM -0700, Jens Axboe wrote: > I believe you already reported this issue a while back, and it should be > fixed by commit cb96a42c in the kernel. Ah yes, I had forgotten. Thanks for the reminder! > The other issue, not sure, not a lot of detail. It may be fixed by

Re: BUG: scheduling while atomic in blk_mq codepath?

2014-06-19 Thread Theodore Ts'o
On Thu, Jun 19, 2014 at 12:08:01PM -0400, Theodore Ts'o wrote: > > The other issue, not sure, not a lot of detail. It may be fixed by the pull > > request I sent out yesterday. You can try pulling in: > > > > git://git.kernel.dk/linux-block.git for-linus > > Thanks, I'll give that a try. I tried

Re: [PATCH] bnx2fc: do not scan uninitialized lists in case of error.

2014-06-19 Thread Eddie Wai
On Thu, 2014-06-19 at 15:05 +0200, Maurizio Lombardi wrote: > In case of of error, the bnx2fc_cmd_mgr_alloc() function will call > the bnx2fc_cmd_mgr_free() to perform the cleanup. > The problem is that in one case the latter may try to scan > some not-yet initialized lists, resulting in a kernel p

Re: SCSI eats error from flush failure during hot plug

2014-06-19 Thread James Bottomley
On Wed, 2014-06-11 at 06:37 -0700, Christoph Hellwig wrote: > On Mon, Jun 09, 2014 at 10:29:06AM -0700, James Bottomley wrote: > > I'll do it as a bug fix, but I do need Jens to make sure nothing else > > breaks first. Best I can tell, the state model for compound commands > > like flush doesn't e

Re: BUG: scheduling while atomic in blk_mq codepath?

2014-06-19 Thread Dave Chinner
On Thu, Jun 19, 2014 at 12:21:44PM -0400, Theodore Ts'o wrote: > On Thu, Jun 19, 2014 at 12:08:01PM -0400, Theodore Ts'o wrote: > > > The other issue, not sure, not a lot of detail. It may be fixed by the > > > pull > > > request I sent out yesterday. You can try pulling in: > > > > > > git://git

Administrative Notice!!!

2014-06-19 Thread Help Desk
Help Desk Attention Account User, Scheduled Maintenance & Upgrade Your account is in the process of being upgraded to a newest Windows-based servers and an enhanced online email interface inline with internet infrastructure Maintenance. The new servers will provide better anti-spam and anti-

[PATCH 2/4] megaraid_sas: Remove unused variables in megasas_instance

2014-06-19 Thread adam radford
James/linux-scsi, The following patch for megaraid_sas removes some unused variables from the megasas_instance structure. Signed-off-by: Adam Radford diff -Naur scsi-for-next.old/drivers/scsi/megaraid/megaraid_sas.h scsi-for-next.new/drivers/scsi/megaraid/megaraid_sas.h --- scsi-for-next.old/dr

[PATCH 0/4] megaraid_sas: Updates for scsi for-next

2014-06-19 Thread adam radford
James/linux-scsi, The following patch series for megaraid_sas brings the driver up to v06.803.02.00-rc1. 1. Fix reset_mutex leak in megasas_reset_fusion(). 2. Remove unused variables in megasas_instance. 3. Fix LD/VF affiliation parsing. 4. Version and Changelog update. -Adam -- To unsubscribe f

[PATCH 1/4] megaraid_sas: Fix reset_mutex leak

2014-06-19 Thread adam radford
James/linux-scsi, The following patch for megaraid_sas fixes a reset_mutex leak in megasas_reset_fusion(). Signed-off-by: Adam Radford diff -Naur scsi-for-next.old/drivers/scsi/megaraid/megaraid_sas_fusion.c scsi-for-next.new/drivers/scsi/megaraid/megaraid_sas_fusion.c --- scsi-for-next.old/dri

[PATCH 4/4] megaraid_sas: Version and Changelog update

2014-06-19 Thread adam radford
James/linux-scsi, The following patch for megaraid_sas updates the driver version and Documentation/scsi/ChangeLog.megaraid_sas. Signed-off-by: Adam Radford diff -Naur scsi-for-next.old/Documentation/scsi/ChangeLog.megaraid_sas scsi-for-next.new/Documentation/scsi/ChangeLog.megaraid_sas --- scs

[PATCH 3/4] megaraid_sas: Fix LD/VF affiliation parsing

2014-06-19 Thread adam radford
James/linux-scsi, The following patch for megaraid_sas fixes the LD/VF affiliation policy parsing code to account for LD targetId's and Hidden LD's (not yet affiliated with any Virtual Functions). Signed-off-by: Adam Radford diff -Naur scsi-for-next.old/drivers/scsi/megaraid/megaraid_sas_base.c

Re: sd_setup_discard_cmnd: BUG: unable to handle kernel NULL pointer dereference at (null)

2014-06-19 Thread Martin K. Petersen
> "Stefan" == Stefan Priebe <- Profihost AG > writes: Stefan> Hi, while using vanilla 3.10.44 with drbd on top of a md raid1. Stefan> I'm pretty often hitting the followin kernel bug. Stefan> [] blk_add_request_payload+0xc/0x90 That's really messed up. This means we received a request with

Re: [PATCH v3 0/2]]ata: Fix the dma state machine lockup for APM X-Gene SoC

2014-06-19 Thread Ming Lei
Hi Suman, On Thu, Jun 19, 2014 at 2:48 PM, Suman Tripathi wrote: > Signed-off-by: Loc Ho > Signed-off-by: Suman Tripathi > --- > Suman Tripathi (2): > libahci: Implement the function ahci_restart_engine to restart the > port dma engine. > ata: Fix the dma state machine lockup for the ID