Re: [PATCH 2/2] Fix console handling during suspend/resume

Pavel Machek
2006-06-15T00:00:21Z

Hi!

> > > The irq9 one is really irritating (hey, ACPI almost always is). I thought
> > > it would be something as simple as the wrong polarity or something, but
> > > nope..
> >
> > BTW what is wrong with mac mini? I asked original reporter to boot
> > noacpi and nosmp, and he told me it will not boot in any of those
> > cases. At that point I basically called that machine terminally
> > broken. Is it supposed to be PC-compatible?
>
> It's _not_ supposed to be PC-compatible. It just happens to be close
> enough that we can ignore the differences.

Aha, okay. So it basically needs special config to work, and
complaining that it does not boot noapic is not helpful.

> And btw, the reason it didn't resume originally was because _we_ did
> things wrong. The PCI command word mustn't be writen before the rest of
> the config space has been restored (one of the things I used my debugging
> patches for, until I noticed that -mm had the same fix independently, so
> that's the one that is merged right now ;)

Yes, right, this was Linux's fault.

> The fact is, Linux suspend/resume to RAM has been broken for as long as I
> can remember. I finally got fed up, and started debugging it. Unlike
> laptops (which I only use when travelling), I hope to make a MacMini like
> system my main one (well, I'm going to wait for Conroe/Merom, and the
> current one goes to Patricia or Tove, but the point is that small is
> beautiful, and that machine is one of the few desktops I know is supposed
> to do STR fine, and where it makes sense to do so).

Actually s2ram used to work for quite long time... with video needing
userspace hacks. Just some compaq evos are problematic :-) [acpi
problems, and firmware has definitely some problems, too]. Thinkpads
tend to be rather good. (suspend.sf.net has video parts.)
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html