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

From: Jiang Liu
Date: Wed Sep 23 2015 - 01:25:54 EST


This is a multi-part message in MIME format.On 2015/9/23 7:36, Arthur Marsh wrote:
> James Bottomley wrote on 23/09/15 08:15:
>> On Wed, 2015-09-23 at 07:55 +0930, Arthur Marsh wrote:
>> It looks to be some problem in shut down. Can you simply remove and
>> re-insert the driver successfully? If it's your root disk driver,
>> you'll have to do this from an initrd so as not to have root mounted
>> from the eata controller.
>>
>> If the remove and reinsert fails, it means we have a problem in the
>> driver shut down. If not, it's likely something kexec related.
>>
>> James
>
> OK, it looks like there was a problem with unloading the driver.
>
> After un-mounting file systems on the disk attached to the SCSI
> controller using the eata driver I could do a:
>
> modprobe -r eata
>
> but received the output of the attached dmesg log.
>
> Attempting to do
>
> modprobe eata
>
> after the previous modprobe -r eata resulted in a complete lock-up.
Hi Arthur,
I have found the cause of the warning messages, it's caused
by a flaw in the conversion. But according to my understanding,
it isn't related to the kexec/kdump failure. Could you please help
to test the attached new version?
Thanks!
Gerry

>
> Arthur.