linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arthur Marsh <arthur.marsh@internode.on.net>
To: Jiang Liu <jiang.liu@linux.intel.com>,
	Christoph Hellwig <hch@infradead.org>
Cc: Dario Ballabio <ballabio_dario@emc.com>,
	"James E.J. Bottomley" <JBottomley@odin.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Hannes Reinecke <hare@suse.de>,
	"Ballabio, Dario" <dario.ballabio@emc.com>,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] eata: Convert eata driver as normal PCI and platform device drivers
Date: Wed, 2 Mar 2016 17:22:26 +1030	[thread overview]
Message-ID: <56D68DAA.5000206@internode.on.net> (raw)
In-Reply-To: <56D65BF6.1050905@linux.intel.com>



Jiang Liu wrote on 02/03/16 13:50:

>> I spoke too soon, without removing and re-inserting the eata module
>> before any filesystems on disks attached to the DPT controller were
>> mounted, I'd get the following messages, similar to ones previously
>> reported:
>>
>> sd 0:0:6:0: tag#0 abort, mbox 1.
>> EATA0: abort, mbox 1 is in use.
>> sd 0:0:6:0: tag#0 reset, enter.
>> EATA0: reset, mbox 1 in reset.
>> EATA0: reset, board reset done, enabling interrupts.
>> EATA0: reset, interrupts disabled, loops 100415.
>> EATA0, reset, mbox 1 locked, DID_RESET, done.
>> EATA0: reset, exit, done.
>>
>>
>> and so on, finally hanging after printing "kexec_core: Starting new
>> kernel" (I have a photo of the messages if they're needed).
>>
>> So I'm still using the new patch but have to continue to remove and
>> reinsert eata at start-up before any attempts to mount disks attatched
>> to the DPT SCSI controller.
> Hi Authur,
> 	Thanks for testing. So current situation is that we have
> a working driver for normal case, but still have issues during kexec.
> Per my understanding, we need to implement a PCI device driver shutdown
> callback to reset the RAID controller. I have once tried to implement
> the shutdown callback, but it doesn't work. And I have no deep
> understanding of the RAID controller and have no hardware for
> experiment too, so have no idea about next step.
> 	Maybe one acceptable way is to merge this patch first, so
> we get a basic working driver, and then ask help from expert to
> solve the kexec issue.
> Thanks!
> Gerry

My controller is a DPT2044W, it does not provide any hardware RAID 
capabilities.

I'm not sure where responsibility lies in driver development but I'm 
still using the DPT2044W controller which worked on the 4.2.0 kernels 
and earlier and this problem has been around for nearly 5 months now.

I can do builds and tests of any patches that people can provide, but am 
not a C programmer, much less a Linux driver developer.

Regards,

Arthur.

      reply	other threads:[~2016-03-02  6:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-01  3:02 [PATCH] eata: Convert eata driver as normal PCI and platform device drivers Jiang Liu
2016-03-01  3:10 ` kbuild test robot
2016-03-01  3:16 ` kbuild test robot
2016-03-01  6:52 ` Christoph Hellwig
2016-03-01 17:27   ` Arthur Marsh
2016-03-01 21:36     ` Arthur Marsh
2016-03-02  3:20       ` Jiang Liu
2016-03-02  6:52         ` Arthur Marsh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56D68DAA.5000206@internode.on.net \
    --to=arthur.marsh@internode.on.net \
    --cc=JBottomley@odin.com \
    --cc=ballabio_dario@emc.com \
    --cc=dario.ballabio@emc.com \
    --cc=hare@suse.de \
    --cc=hch@infradead.org \
    --cc=jiang.liu@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).