Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1347814

Re: [PATCH] eata: Convert eata driver as normal PCI and platform device drivers

From Arthur Marsh <arthur.marsh@internode.on.net>
Newsgroups linux.kernel
Subject Re: [PATCH] eata: Convert eata driver as normal PCI and platform device drivers
Date 2016-03-02 08:00 +0100
Message-ID <r88Vm-3T2-17@gated-at.bofh.it> (permalink)
References <r7IHw-33a-7@gated-at.bofh.it> <r7MrM-5z7-7@gated-at.bofh.it> <r7Whr-3Ha-5@gated-at.bofh.it> <r80bo-6s3-33@gated-at.bofh.it> <r85E5-1TO-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] eata: Convert eata driver as normal PCI and platform device drivers Jiang Liu <jiang.liu@linux.intel.com> - 2016-03-01 04:00 +0100
  Re: [PATCH] eata: Convert eata driver as normal PCI and platform  device drivers Christoph Hellwig <hch@infradead.org> - 2016-03-01 08:00 +0100
    Re: [PATCH] eata: Convert eata driver as normal PCI and platform  device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2016-03-01 18:30 +0100
      Re: [PATCH] eata: Convert eata driver as normal PCI and platform  device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2016-03-01 22:40 +0100
        Re: [PATCH] eata: Convert eata driver as normal PCI and platform  device drivers Jiang Liu <jiang.liu@linux.intel.com> - 2016-03-02 04:30 +0100
          Re: [PATCH] eata: Convert eata driver as normal PCI and platform  device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2016-03-02 08:00 +0100

csiph-web