LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Lockups (https://www.linuxquestions.org/questions/linux-newbie-8/linux-lockups-235296/)

5KIDMA 09-26-2004 02:43 AM

Linux Lockups
 
Hi I am only new to linux, i have used it once before with similar results to what i'm receiving now. I just did a fresh install of Mandrake 10.0 and it makes windows look like a rock of stability at this point in time. It constantly crashes, while booting up or in the GUI sometimes too. I had the same prob with linux a few years ago when i tried linux too on a completely different PC. basically is there anything that i could be doing wrong that may be compromising the stability of linux?

Asus A7N8x Deluxe
Athlon 2600
512Mb 333MHz DDR RAM
Ati raedon 9200
Western Digital 9.1Gig
Seagate 80Gig

:newbie:

drowstar 09-26-2004 03:23 AM

Hi 5KIDMA,
first off, sorry your experience with linux has not been as great as it should have been. Most people at lq.org will be very glad to help you.

Quote:

basically is there anything that i could be doing wrong that may be compromising the stability of linux?
Short answer: No.
Long answer: A linux (as any operating) system is very complex. Of course there are lots of things that can be done to compromise its stability. However all linux distributions have done a very good job at ensuring that the most common problems dont occur.

I think you will be best served to (let us help you) get rid off your problem and learn as you go. There is no reason to believe it's your fault.
Everyone of us needs as much information as you can give us to be able to help. So, please, every time you have trouble give detailed information about your problem:
When exactly does it freeze? Can you see a pattern?
Can you influence, if it freezes?
Is there are a "kernel panic"?
What messages do you receive?

For example: You may have a bad driver, which causes the system to freeze (it usually doesnt, but you get the point). That would probably happen during startup. If you give us the last line(s) of the output you are seeing (maybe not, try pressing F2 if you only see a pretty picture), we might be able to tell, which part of the system startup fails. Then we can tell you how to prevent this driver from loading and see if the problem goes away. If it does, you are lucky and all there is left is finding a better driver.

Please post more information about your problem in this thread and I (and - I am sure - many others) will be glad to help you.
I hope you will have a good linux experience, despite occasional problems,
good luck,
- drowstar

5KIDMA 09-26-2004 03:56 AM

Ok well i have been stuffing around and trying to trigger the error, linux would not boot past a certain point befre it kept stopping at this message after about 15 reboots it finally gave and continued to boot normally the message is as follows : Checking filesystems
/dev/hdb7: recovering journal


thats where it kept stopping but it has let me back in now but it still locks up randomly, there is no pattern that i can identify as of yet . I know this isn much info to go by but thats all ie got if there is specific info u need just post and iĺl have a look 4 u. any help is greatly apreciated

Baldrick65 09-26-2004 06:17 AM

Quote:

: Checking filesystems
/dev/hdb7: recovering journal
This is usually from a bad shutdown (i.e. power outage, just pressing the off button :rolleyes: )

Can you post the output of fdisk -l for us? Just run that command as root from a console.

Baldrick

Linux24 09-26-2004 07:21 AM

I think I know the problem. He's got power management conflicts. Mandrake 10 doesn't handle power management software very well.

When you boot up Mandrake 10, it uses Lilo as a boot loader by default. Your boot configuration needs editing, otherwise it will continue locking up randomly, because your motherboard has features that Mandrake's developers didn't code for very well. They need to be turned off.

You need to take the following steps:

1. Access a file called /etc/lilo.conf
2. Find the section in there relevant to your boot image (usually called label=linux)
3. Find the append="" line in that section.
4. Add the following lines with spaces between them and other items:

noapic nolapic

Also, edit the text inline that says apci=ht to say acpi=on

That should do the trick.

5. Run lilo -v from the command line to update the boot record, and you are done. Reboot, and it will stop locking up.

Here is my lilo.conf for you to compare to yours.

Quote:

image=/boot/vmlinuz-i686-up-4GB
label="linux-i686-up-4GB"
root=/dev/hde5
initrd=/boot/initrd-i686-up-4GB.img
append="noapic nolapic hdg=none devfs=mount acpi=on splash=silent"
read-only
That's the one I am booting up. Notice where I added noapic and nolapic, modified acpi=on. Also note that I put in hdg=none. Don't do that unless you have no devices on one IDE channel and your boot up is slow due to a probe for a device there.

I'm surprised you got it to install at all. Mine locked up on the third installation CD every time unless I booted from the installation disks with

linux noapic nolapic

Try that and tell us how it worked.

5KIDMA 09-26-2004 07:52 AM

OK well here is the readout from fdisk-l

Disk /dev/hda: 9115 MB, 9115361280 bytes
255 heads, 63 sectors/track, 1108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1108 8899978+ c W95 FAT32 (LBA)

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 8454 67906723+ c W95 FAT32 (LBA)
/dev/hdb2 8455 9729 10241437+ f W95 Ext'd (LBA)
/dev/hdb5 8455 9202 6008278+ 83 Linux
/dev/hdb6 9203 9265 506016 82 Linux swap
/dev/hdb7 9266 9729 3727048+ 83 Linux

i will also try the modifications to the lilo.conf file hopefully that´ll work. thanks a lot for you´re help everyone i will post and let you know if the hanging stops.
:newbie:

Baldrick65 09-26-2004 08:11 AM

Actually, I think Linux24 may have hit it on the head. The first thing I do is disable any power saving management when I install Mandrake ... It always gives me problems.

Baldrick

5KIDMA 09-26-2004 08:30 AM

Thanks
 
Thanks a whole heap guys i have reset like 10 times without a single problem, no hanging. i can now officially refer to windoze as a soft serve left out in the sun too long. now I just got a lot of learning to do, any recommendations on some good sites that can teach me how to use linux?

actually now that i think of it the previous computer that i had the same problems with had power managment and i was also trying to install mandrake on that but it kept locking up right at the end of the install on that one, I was a bit younger then and to proud to ask for help i left it, if i had only have known

Baldrick65 09-26-2004 08:38 AM

A few good sites are:
The Linux Documentation Project
Rute

There's a lot of reading in those two sites alone :D

Baldrick


All times are GMT -5. The time now is 02:37 PM.