My guess is that something in your kernel or your configuration is
causing it; I have been running Gentoo on a Mini for awhile and never
noticed it going to sleep without me telling it to. 

Try compiling your own kernel, and/or checking out your ACPI set up. I
imagine that maybe acpid is telling the machine to go to sleep due to
inactivity. I'm pretty sure that by disabling ACPI/Sleep in the kernel,
you can avoid this problem entirely. 

-- Erik

On Wed, Mar 14, 2007 at 02:53:52PM +0100, Christoph Langguth wrote:
> Hi all,
> 
> first off, I'm sorry to bother you with a slightly off-topic post, but I
> guess that the only real experts are around the Mactel community... :-)
> 
> About two weeks ago, I have set up an Intel Mac mini as a replacement of
> our old server. The operating system is Ubuntu 6.06, currently running a
> the standard Ubuntu 2.6.15-28-686 kernel (SMP). I chose Ubuntu mostly
> because I like the easy maintenance (which, with the long-term-support
> for 6.06 makes it an ideal server OS IMO), and because I'm familiar with
> Ubuntu.
> 
> Installation went smoothly, and everything is running perfectly well...
> as long as the machine has some work to do. It seems that the Mac mini,
> after some period of inactivity, goes to sleep and doesn't properly wake
> up anymore. It does not react to network activity anymore, which is of
> course fatal for a server. Only a physical key press seems to wake the
> system up again. Afterwards, network latency is horrible (ping times of
> around 5 seconds) for a minute or two, after which the system
> "stabilizes" and works as normal -- until it decides to sleep again... :-(
> 
> I have tried playing around with different kernel options (noacpi,
> noapic, apm=off and the like), but in fact they seem to not fix the
> problem (it still goes to sleep), but to even aggravate it, because the
> system then becomes terribly slow and throws strange error messages at me.
> 
> I have also tried to disable powernowd, and to fiddle around with
> /proc/acpi/wakeup, which currently looks like this:
> 
> [EMAIL PROTECTED]:~# cat /proc/acpi/wakeup
> Device  Sleep state     Status
> PXS1       4             enabled
> PXS2       4             enabled
> USB1       3             enabled
> USB2       3             enabled
> USB3       3             enabled
> USB4       3             enabled
> USB7       3             enabled
> 
> All of this, unfortunately, did not help with the problem. I'm really
> lost now and begging for help... If anybody has any clue or hint, what
> could cause this behavior and how to fix it, please please help!
> 
> Basically, a solution that would help me a lot would simply be a method
> to prevent the system from entering anything but a "100% on" state. I'm
> actually not really sure whether this has anything to do with ACPI at
> all, but I strongly believe so.
> 
> Of course, the ideal solution would be a fully functional machine which
> actually makes use of the powersaving features it provides, but the "do
> not sleep at all" method would be sufficient for the time being to
> guarantee that the server is responsive at all times...
> 
> Any thoughts are highly appreciated... Of course, I'll provide any other
> necessary information that could be helpful for troubleshooting.
> 
> Thanks a lot in advance,
> best regards,
> 
> Chris
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Mactel-linux-users mailing list
> Mactel-linux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mactel-linux-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mactel-linux-users mailing list
Mactel-linux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-users

Reply via email to