Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I've searched this forum several times, and cannot seem to find an answer.
Using Mandrake 8.2,9 and 9.1 my machine will freeze when I reboot or shutdown (8.1 doesn't freeze). It tries to reboot and hangs half way. I have to power the machine off completely to get it to boot again.
The wierd thing is that this problem occurs in RedHat 7.3 and older, but not with version 8. The problem is that I'm no fan of RedHat (it's just not my preference).
I am baffled as to what is causing the problem. I've tried shutting down as many things as I can before I shutdown, but it doesn't seem to help.
If any of you have any ideas, I'm more than happy to hear them. I really want to get Mandrake 9.1 working right, if I can.
My system is:
Compaq Presario 1210us notebook
850 MHz AMD Duron
320MB PC133 Ram
20 GB HD/ATI Rage Mobility M-1 8MB AGP
It completes the shutdown of services, and gets half way through a reboot. My "COMPAQ" bios screen pops up, and I get a solid white cursor at the top-right corner. It's freezing during post, as I can tell. That is what is so strange. I don't know if it is a memory thing, or what. It won't halt, won't reboot. I have to power it off ("Pull the plug") to get it to respond.
This problem has occured since Mandrake 8.2, and older versions of redhat (previous to version 8). I don't know enough about it to solve the problem, if it can be solved. Mandrake 8.1 worked pretty good in terms of rebooting/locking up.
Redhat 8 does do the same thing after setup completes, but doesn't when you boot the os and restart. I'm just not sure what to do about it.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
You say it will freeze when you "reboot or shutdown". Does this
mean it will also freeze at the same point after you've shutdown,
powered off, and powered it back up? I suspect not, but need to
be sure. It sounds like a piece of your hardware is being left in
an undefined state after you unload linux. This is *probably* a
hardware problem (because it happens for more than one distro).
Try setting linux so that it doesn't load drivers for a piece of
hardware (sound card, for example), reboot, boot linux, then
reboot to see if it freezes. Repeat until you find the problem. It
could be a necessary piece of hardware, but you say it doesn't
happen for some versions, which means either a nonessential
(RAM, CPU, etc.) piece of hardware, or a driver does something
different. Anyway, you should be able to figure out which piece
of hardware is affected.
Once the machine is powered down, it fires back up, the bios gives me a "your previous boot was imcomplete...do you want to continue or enter setup". I continue and everything boots just fine.
Once I go to reboot again, it does the same thing.
How to I disable devices/unload drivers? I see what you mean, but I have no idea how to do that.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Well, I *think* the start up scripts are in /etc/init.d for Mandrake,
but someone with more knowledge of MDK's boot process should
confirm or correct this (it may be /etc/rc.3, for example).
In that directory (wherever it happens to be), you'll see a bunch
of scripts that start various services and devices.
I would do:
Code:
grep modprobe *
while sitting in that directory. This will show which scripts load
up device drivers. Edit those scripts and comment out all the
modprobe lines, except one. Reboot and reload linux, then
reboot and see if that fixed it. repeat.
There is probably some MDK GUI that allows one to disable
certain devices, and that may be easier to deal with, but I don't
know what that tool is (I really should install Mandrake some day
and mess with it).
This looks more like a Comapq-specific issue. If you're seeing the large flashing cursor that's the Compaq boot loader, which will load the maintenance/setup software if you press F10 while the cursor is visible. The software usually lives in a small (usually 2 - 10 MB, depending on your version/platform) partition at the end of your hard drive. If you don't have that partition anymore you can still get a floppy that can do the job as well. Run the diagnostics and setup and see if you can get any extra info as to what's happening. Specifically I'd look at the power management and PnP settings.
I don't think this is compaq specific, and the reason I don't is that I've heard of other notebook vendors having the same problem. I think it is a driver. There is no compaq boot loader (I use XOSL to boot, and put lilo in the / partition instead). The error screen I'm referring to is a bios prompt, nothing more. One key boots, the other key takes me to BIOS setup.
I don't have options in the BIOS setup. I have no way to control PnP or power management. I can set boot order, change the system clock, and set a boot password. That's it. It's a phoenix bios....need a say more?
I will try the modprobe stuff, see what it gives me. For the moment, I'm going to study my calculus test.
Thanks a bunch for the help. I'll let you guys know how the modprobe stuff goes.
I was going to try disabling devices and seeing if that helps, but it is more complex than I anticipated. Isn't there a command that I can use to disable or enable devices from starting? Redhat has a chkconfig command they use for services (dhcp, etc) and gentoo (I am told) has a rc-update command. Is there something like that I can use?
As far as apm is concerned, I've never used it before, and prior to Mandrake 8.1, I haven't had a problem. It is worth a try, though. How do I do that? It should be in my list of services in mandrake control panel, right? Does Mandrake install that by default, and is it just called apm? Or is the package named something else?
I wouldn't call that a solution. The fact that it works on some distros and not others (at least to some extent) would lead lead me to assume that it isn't the bios.
Mandrake 8.1 and older does not do it...RH 8 and newer don't do it. There's something that is freezing it up. This machine in particular is a multiboot machine, and if I can't get it to multi-boot, I may have to go back to redhat (please no!).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.