Red Hat 7.1 -- Sleep Mode?

mindslash

Member
Dec 19, 2000
114
0
0
I just installed 7.1 last week. I leave the PC alone for a little while and it goes into sleep mode (screensaver in X-windows or blank screen in command line). That's as it should be. But when I resume operation, everything is SUPER slow! I can't even run any program (whether in X-windows or command line) without actually killing the process because it takes so long to start. What gives? And how do I stop this?

I want the same rapid response I had when I ran RH5.x/6.x.

Any suggestions are good.

BTW, Hardware - MSI 6330, Dur600, 256MB Curcial, 10/100 NIC, WD 20GB HDD
 

cirrus1

Senior member
Jul 26, 2000
662
0
0
It could be the APM daemon screwing things up. Try to disable it with linuxconf...
 

mindslash

Member
Dec 19, 2000
114
0
0
Well I opened linuxconf but there are no apmd daemons in there -- at least not where I could see -- I clicked thruough a whole bunch of stuff and nothing! Any ideas if this is due in some way to the BIOS shutting the Harddrive down (after 20minutes of idle) or something? Silly Question: Is there a /etc/rc.d/rc.apmd or something file I should edit/delete etc?
 

marat

Senior member
Aug 2, 2001
207
0
0


<< I just installed 7.1 last week. I leave the PC alone for a little while and it goes into sleep mode (screensaver in X-windows or blank screen in command line). That's as it should be. But when I resume operation, everything is SUPER slow! I can't even run any program (whether in X-windows or command line) without actually killing the process because it takes so long to start. What gives? And how do I stop this?

I want the same rapid response I had when I ran RH5.x/6.x.

Any suggestions are good.

BTW, Hardware - MSI 6330, Dur600, 256MB Curcial, 10/100 NIC, WD 20GB HDD
>>



Had the same problem.

Solution 1: Disable X windows. Log in in text mode - it is much more fun!

solution 2(Optimal): Install newer distro (NOT from RedHat).

7.1 features 2.4.2 Kernel, which is way to old. Plus, is has buggy gcc 2.96 which will not compile anyting right. Plus, it installs wrong kernel headers (funny but it is true) so you can not compile drivers in it. Plus, if you want to install security patches you have to register and you'll get free updates for 1 computer only with no charge.

Solution? Download free version of Mandrake or Suse, they are great for newbies. I know, it sounds to much of the hassle to solve "simple" lock up problem, but you'll get much better distro.
 

FUBAR

Senior member
Oct 11, 1999
618
0
0
ok, here's a suggestion that doesn't force you to rebuild your system.


To disable your apmd go to /etc/rc.d/rc5.d and find the Sxxapmd link. Run mv Sxxapmd Kyyapmd where yy = 100 - xx (more on this later). That will take care of it on the reboot. For the current session, you can run an /etc/init.d/apmd stop and it will stop for now.
Here's the deal on Sxx and Kyy links. S runs the daemon with a start option, K runs it with stop (think kill) They run in numerical order, and you want the things that start first to stop last so you invert the order. You could just delete the link but this way it's still there in case you ever want it (probably not in this case)


Now, about the switching distros... DAMMIT PEOPLE.. what is going on here... throw me a freaking bone people. It's all linux underneath, just with different file locations and packages, which you can (and should) select on install anyway. I've compiled kernels on that crappy compiler and my machine runs fine. I would guarantee that some nooB running redhat would have a more stable/enjoyable time running redbutt/mandrake/etc. than struggling through slackware or debian. Let them learn when they aren't asking basic questions anymore.

If you doubt that, read the article on the register about people making linux look harder than it needs to be. Very good points all around about converting the masses, telling them to switch is throwing them to the wolves with a steak tied to their back, and they will go kicking and screaming back to Macro$haft
 

mindslash

Member
Dec 19, 2000
114
0
0
I just want to thank all the folks out there who helped me out of this little problem (cirrus1, marat, FUBAR).

I disabled the hardware APM (except for blanking the monitor) and FUBAR's directions regarding the apmd modules were awesome!

Thanks again all!:D