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


Groups > linux.kernel > #1233153

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

From Arthur Marsh <arthur.marsh@internode.on.net>
Newsgroups linux.kernel
Subject Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers
Date 2015-09-26 08:30 +0200
Message-ID <qcR9D-d5-1@gated-at.bofh.it> (permalink)
References (5 earlier) <qbKMW-2YL-3@gated-at.bofh.it> <qbPMC-1HW-5@gated-at.bofh.it> <qbTwS-78H-17@gated-at.bofh.it> <qc6kq-DF-7@gated-at.bofh.it> <qc7Jw-2vR-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



Arthur Marsh wrote on 24/09/15 15:26:
>
>
> Jiang Liu wrote on 24/09/15 13:58:
>
>> Hi James,
>>     Thanks for review. How about the attached patch which addresses
>> the three suggestions from you?
>> Thanks!
>> Gerry
>
> I've applied the patch, rebuilt the kernel and verified that it allows
> unloading of the eata module and reloading it, as well as a successful
> kexec.
>
> Regards,
>
> Arthur.

After some more thorough testing I've encountered an ongoing problem 
trying to use kexec with filesystems mounted with the eata driver.

If I boot up and have the eata driver loaded but no filesystem check or 
mounting of filesystems on the disk attached to the DPT2044W controller, 
then attempt a kexec reboot I get the reboot pausing after the 
"synchronizing scsi cache" messages and getting the errors that I have 
included as pictures in my previous reports.

If I do a normal boot which includes eata being loaded, the disk 
attached to the DPT2044W controller having its filesystems checked and 
mounted, then attempt a kexec reboot, I get the reboot pausing after the 
"synchronizing SCSI cache" messages as before.

If I un-mount the filesystems on the disk attached to the DPT2044W 
controller after start-up and try a reboot I get the same problem.

If I do modprobe -r eata after un-mounting the filesystems on the disk 
attached to the DPT2044W controller after a start-up kexec *works fine*.

If I do:

start-up
un-mount filesystems on disk attached to DPT2044W controller
modprobe -r eata
modprobe eata
fsck -a of filesystems on disk attached to DPT2044W controller
mount filesystems

then a kexec reboot works fine.

I did some more experimenting and found a workaround:

I was unable to blacklist the eata module but if I did:

modprobe -r eata
modprobe eata

in a cron job before the fsck and mount commands then
I could then perform a kexec reboot successfully.

I also verified that if I did:

modprobe -r eata

after eata was loaded on boot-up without any fsck or mounting of 
filesystems on the disk attached to the DPT2044W controller using the 
eata the kexec reboot worked fine.

In summary:

if eata is loaded kexec reboot will fail unless a modprobe -r eata is 
done either manually or by a cron job.

if a modprobe -r eata has been done, then even if I modprobe eata and 
fsck and mount filesystems, kexec reboot works.

Any suggestions for further tests or checks welcome.

Arthur.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [RFT v3] eata: Convert eata driver as normal PCI and platform  device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2015-09-23 00:30 +0200
  Re: [RFT v3] eata: Convert eata driver as normal PCI and platform  device drivers James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-09-23 00:50 +0200
    Re: [RFT v3] eata: Convert eata driver as normal PCI and platform  device drivers Jiang Liu <jiang.liu@linux.intel.com> - 2015-09-23 07:30 +0200
      Re: [RFT v3] eata: Convert eata driver as normal PCI and platform  device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2015-09-23 12:50 +0200
        Re: [RFT v3] eata: Convert eata driver as normal PCI and platform  device drivers James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-09-23 16:50 +0200
          Re: [RFT v3] eata: Convert eata driver as normal PCI and platform  device drivers Jiang Liu <jiang.liu@linux.intel.com> - 2015-09-24 06:30 +0200
            Re: [RFT v3] eata: Convert eata driver as normal PCI and platform  device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2015-09-24 08:00 +0200
              Re: [RFT v3] eata: Convert eata driver as normal PCI and platform  device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2015-09-26 08:30 +0200
                Re: [RFT v3] eata: Convert eata driver as normal PCI and platform  device drivers Jiang Liu <jiang.liu@linux.intel.com> - 2015-10-03 10:20 +0200
                Re: [RFT v3] eata: Convert eata driver as normal PCI and platform  device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2015-10-03 13:20 +0200
                Re: [RFT v3] eata: Convert eata driver as normal PCI and platform  device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2015-10-05 10:30 +0200

csiph-web