Mandrake 9.2 hangs when I plug/unplug powercord on Dell Latitude
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Mandrake 9.2 hangs when I plug/unplug powercord on Dell Latitude
I did a clean install of mandrake 9.2 powerpack on my Dell Latitude C640 laptop (1.8 Ghz pentium IV, 512 Mb memory).
It works fine, except whenever I plug/unplug the power, the machine hangs (with 100% reliability). It completely freezes (no respond, no ctrl+alt+backspace, no ctrl+alt+delete, no ctrl+alt+F1-F5), and the only way out is pressing the powerdown button for a couple of seconds and rebooting. Not exactly what was expected.
I did not have this problem with Mandrake 9.1 / 9.2RC2 (yes, I did a complete clean reinstall, formatting the partitions, etc, over three times, nothing wrong with the memory or other hardware. My windows partition is just fine and dandy). Anyone know if this is a kernel problem, or did I forget to install something?
Thanks for any suggestions! I am about to download another distro.
Last edited by rodevriendje; 10-20-2003 at 02:37 AM.
The first thing that popped into my mind was "Speed Step", it's used on certain mobile CPU, to reduce the battery cunsumption when on battery.
Try this,
Reboot the PC, press F2 at the DELL logo, and go to page (6 or 7) using ALT-P, there (some where) you should see a line that says SpeedStep ENABLED, disable it andthen boot under linux and try.
If all workes then I would advise to download the latest BIOS from the Dell website, and/or recompile the kernel, to reflect your processor or how should it work.
I disabled all power management features in the Bios, and it still hangs.
I am sure the problem is related to the powermanagement, so I will try to upgrade the Bios and see what happens.
There was something on the mandrake site about related problems with some HP laptops, inclduing the fix for it (passing nolapic to the kernel at boot). I tried this, but it does not solve my problem.
It was working whith a previous release.... The only major change other than the small pakages should be the kernel.
Have you tried to recompile the kernel?
What kernel rev. are you currently using?
It is kernel version 2.4.22 that is used in mandrake 9.2
I have not tried to recompile the kernel, but I am installing everything again right now (just to make sure nothing is broken in the file system because of all of the sudden freezes).
Compiling the kernel will be the next thing I'll try (never did it before, first time for everything). Or maybe I could see if I can get an answer from Mandrake directly.
You were right. It was the Intel Speedstep. Just taking the power saving features offline was not enough. Somewhere further down in the Bios I found a setting to turn Intel Speedstep off, and after that it works like a dream!
Do you think kernel developers need to know this? Or can it be a Mandrake specific problem?
OK, I have filed the bug with the kernel development team at Mandrake.
It does not seem to be reported before, so we might have solved a premium here.
Thanks again!
I built the kernel source from the package kernel-source-2.4.22-21mdk.i586.rpm (the most recent) and everything works well now...
1. Install the package from an update sight.
2. Using the directions at http://www.aerospacesoftware.com/ker...ile-howto.html get to the xconfig window for /usr/src/linux-2.4.22-21mdk/.
3. Under the "Processor type and features" button make "Local APIC support on uniprocessor" = no.
** You should also pick your processor type while your here.
4. Under the "General Setup"->"PCI Hotplug Support" buttons choose "IBM PCI Hotplug driver" = no .
** Unresolved symbol errors will occur during linking in the "make modules_install" phase if this is not done (if you don't know what I'm talking about, just do it).
5. Continue with the directions from the above link.
This worked for me so I assume it will work for you.
I did this and am very pleased my comp no longer locks when the lid is closed or the power cord is unplugged.
Problem: I tried to install acpi and acpid, and they don't seem to load at startup. No errors are shown, it acts as though they don't exist even though the files are in rc.5
Can acpi be run?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.