Re: 2.6.12-rc2-mm1

Stefan Seyfried
2005-04-11T07:41:13Z

Barry K. Nathan wrote:
> On Sun, Apr 10, 2005 at 11:27:47PM +0200, Pavel Machek wrote:
>> Can you try without XFS?
>
> No, XFS is my root filesystem. :( (Now that I think about it, would
> modularizing XFS and using an initrd be OK?)

Yes, although it is not totally trivial.

> I'll see if I can reproduce this on one of my test boxes. I'll *try* to
> get to it later today, but it's possible that I won't be able to get to
> it until next Friday or Saturday.
>
>> I do not why it interferes, but I've seen that before on suse
>> kernels...
>
> Have you seen it without the resume-from-initrd patch too, or only with
> that patch?

We have seen it in 9.3-beta, exact scenario was:
- root fs is XFS, ide driver is modular
=> xfs module and ide-controller module is in initramfs
=> first all modules were loaded (device driver + fs)
=> resume was triggered, resume was _really_ slow.

we worked around it in the initramfs by first loading device drivers,
triggering resume, then loading the fs modules and continuing boot.
In the resume case, we'd never reach the "load fs modules" part and
generally it seems a good idea (if the drivers are modular) to keep the
setup before resume as minimalistic as possible.

We never tried with XFS compiled in. It seems we can no longer hide from
fixing XFS ;-)

Best regards,

Stefan