Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-01-2003, 01:51 PM
|
#1
|
|
Member
Registered: Jun 2003
Distribution: mandrake 9.2
Posts: 57
Rep:
|
kernel halts, system halts, computer commits suicide
i just newly installed redhat linux 9 a few days ago cos i thought its gonna be cool. But this really sucks.
everytime my kernel reaches this line:
-----------------------------------------------------------------------
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
----------------------------------------------------------------------
my computer freezes rock dead. I have 3 questions:
1. is it the apm thats causing the problem?
2. is it the next line (kswap) thats causing the problem?
3. how do i fix it
thanks for reading this...
additional information:
after entering rescue mode, and typing "apm" my computer says no apm support in kernel
but typing in displayapm in "command line" at grub my computer returns sever array of numbers...
my computer is a tower, compaq presario, pentium 4,
|
|
|
|
06-02-2003, 09:54 AM
|
#2
|
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
Re: kernel halts, system halts, computer commits suicide
Quote:
Originally posted by stupid_guy
additional information:
after entering rescue mode, and typing "apm" my computer says no apm support in kernel
but typing in displayapm in "command line" at grub my computer returns sever array of numbers...
my computer is a tower, compaq presario, pentium 4,
|
well the rescue mode kernel probably does not provide apm support as its a rescue kernel... meaning bare minimum. Similiar to Windows Safe Mode w/ no drivers. To trouble shoot the normal kernel you can pass a kernel parameter (I don't know the specific one yet) that should be able to turn apm off so you can get pass that phase and see if kswapd is what's messing you up.
double checked against apm.c... its apm=off
hope that helps,
jbarto
Last edited by jpbarto; 06-02-2003 at 09:59 AM.
|
|
|
|
06-03-2003, 08:56 PM
|
#3
|
|
Member
Registered: Jun 2003
Distribution: mandrake 9.2
Posts: 57
Original Poster
Rep:
|
thanks jpbarto, I searched your solution on the internet and it confused me because there were some mixed views on apm= off.
So I have 2 questions
the linux manual says that the command looks like this:
boot: apm=off
-----------------
question 1: how do you get the "boot: " to come up? is it by using the linux startup floppy?
-----------------
other people mentioned about the grub kernel command line. they say that I should modify it like this:
kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/hda1 hdd=ide-scsi apm=off
------------------
question 2: which option is the best? I'm looking for a permanent fix to this bug.
-------------------
again thanks a bunch for helping out here...
|
|
|
|
06-03-2003, 09:20 PM
|
#4
|
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
well a permanent fix would be to download the kernel source and compile it yourself minus the apm.
as for the boot up I'm only familiar with lilo.
are you running grub or lilo?
|
|
|
|
06-04-2003, 05:45 AM
|
#5
|
|
Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565
Rep:
|
You should get a small prompt at startup, or a graphical menu etc. It may only be there for a few seconds, so watch carefully.
Another solution may to switch off APM in the BIOS. It's not critical for a desktop machine, APM == Advanced Power Management.
|
|
|
|
06-04-2003, 08:09 AM
|
#6
|
|
Member
Registered: Jun 2003
Distribution: mandrake 9.2
Posts: 57
Original Poster
Rep:
|
I'm using grub, because most people seem to prefer it to lilo.
I think I'll just go to edit kernel arguments in the startup screen and type in apm=off. I think that's what you mean by "BIOS" mike.
as for making my own kernel... I'll do it another day
|
|
|
|
06-04-2003, 08:26 AM
|
#7
|
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,164
Rep:
|
what he meant by bios is the bios setup, like where you
hit delete when you computer is in coming on, but that
depends on the brand a little, lliek f10 for compaq.
but anyway, most computers that you could hit delete
to enter startup, you go to power management and
turn apm off.
you can also enter rescue mode and edit your
/etc/grub/grub.conf and add apm=off to append line.
|
|
|
|
06-04-2003, 08:37 AM
|
#8
|
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
a wise indian once told me that "a man cannot truly call himself a man, until he builds his own kernel".
|
|
|
|
06-04-2003, 05:47 PM
|
#9
|
|
Member
Registered: Jun 2003
Distribution: mandrake 9.2
Posts: 57
Original Poster
Rep:
|
one step at a time... a wise engineer once told me "the lower you start, the higher you get to be. A sky scraper could not have got so high if the fundation did not start so low"-- I hope I'm starting low enough on linux
anyway. I'll have time this weekend to reinstall linux. THanks for all the information, I think I can get this apm thing solved this time.
If it works, I'll post again so that other linux starters who encounter the same problem will know that it works.
If it fails, I'll post again with more questions! 
|
|
|
|
06-04-2003, 06:08 PM
|
#10
|
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
either way let us know. best of luck to you. 
|
|
|
|
06-07-2003, 05:44 PM
|
#11
|
|
Member
Registered: Jun 2003
Distribution: mandrake 9.2
Posts: 57
Original Poster
Rep:
|
yes...yes...YES, and yes.
here's what I did, when grub boots up press p for bootloader password.
Now, choose the option "edit kernel arguments", Now at the end of the line add: apm=off
now press enter, it should load now.
Thanks a plethora for all the help, linuxs looks so cool.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:27 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|