LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-21-2005, 06:50 PM   #1
ckr
Member
 
Registered: Jul 2004
Posts: 45

Rep: Reputation: 15
Unhappy Server Crashing.. Help? (Guru needed??) Part 2


I'm hoping that someone will be able to help me with this. If you *really* need the full skinny, I had another topic that was named the same thing as this one, just without the 'part 2'.

The short story, is that I built a nice little Linux server using Mandrake 10 and a P3-500 and the longest it's stayed up is about 3 days (It is not duel boot). Various possibilities were mentioned about why that might be, and someone told me that the noapic option should be used. The server is still crashing, but I found the following info in the /var/messages when I rebooted.

Feb 21 19:16:29 localhost kernel: ACPI disabled because your bios is from 1999 and too old
Feb 21 19:16:29 localhost kernel: You can enable it with acpi=force
Feb 21 19:16:29 localhost kernel: Built 1 zonelists
{{Feb 21 19:16:29 localhost kernel: Kernel command line: auto BOOT_IMAGE=linux ro root=301 devfs=mount acpi=ht resume=/dev/hda5 noapic}}
Feb 21 19:16:29 localhost kernel: Local APIC disabled by BIOS -- reenabling.
Feb 21 19:16:29 localhost kernel: Found and enabled local APIC!
Feb 21 19:16:29 localhost kernel: Initializing CPU#0

As you can see, somehow, even though the lilo.conf file tells it not to, something is re-enabling apic. At least, that's how I've read this log. Since getting the noapic option to work is an important trouble shooting step, I'd love to know how to keep it turned off. You'll note the line above surrounded with the {{}} is proof that I used the noapic in Lilo and that the lilo.conf file was recompiled.

Below, is the lilo.conf file:
boot=/dev/hda1
map=/boot/map
default="linux"
keytable=/boot/us.klt
nowarn
message=/boot/message
menu-scheme=wb:bw:wb:bw
disk=/dev/hdd bios=0x82
image=/boot/vmlinuz
label="linux"
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda5 noapic"
read-only
image=/boot/vmlinuz-2.6.3-7mdk
label="263-7"
root=/dev/hda1
initrd=/boot/initrd-2.6.3-7mdk.img
append="devfs=mount acpi=ht resume=/dev/hda5 noapic"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda1
initrd=/boot/initrd.img
append="failsafe acpi=ht resume=/dev/hda5 devfs=nomount noapic"
read-only

If anyone has any suggestions as to how I can make this server stop crashing, I'm all ears I'm not a newbe, but I'm no where near guru stature either. If I can't get this to work, then I'll give another distro a try in hopes that it's not my hardware that's crashing out.


Thanks for listening, and I appeciate you're help in advance!
 
Old 02-21-2005, 08:19 PM   #2
ckr
Member
 
Registered: Jul 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Just an update -- the computer died about ten minutes after I posted this. Of course, I wasn't on it at the time, but a script that I have running updates a file every ten minutes.... this is very frustrating.
 
Old 02-22-2005, 11:23 AM   #3
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
Try changing the line:
append="devfs=mount acpi=ht resume=/dev/hda5 noapic"
to
append="devfs=mount acpi=ht resume=/dev/hda5 noapic nolapic"

If you noticed I added the nolapic option. If I don't add this option to my system I get the same symptoms your having
 
Old 02-22-2005, 10:25 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Also try noacpi and noapm as well.

Set your bios to PNP OS = NO

Good luck.
 
Old 02-23-2005, 02:03 AM   #5
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
And perhaps replace "acpi=ht" with "acpi=off"

However I thought the acpi/apic problem was mostly found in new PC's not an old P3.
Check your memory with memtest (http://www.memtest86.com/) and check /var/log/messages for anything
running prior to the crash.

- Peder
 
Old 02-23-2005, 02:11 AM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Yup, but as he posted the kernel seems to attempt to enable acpi & apic even on older machines, which could itself cause problems.
 
Old 02-23-2005, 06:26 AM   #7
ckr
Member
 
Registered: Jul 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Thanks for all the tips folks! I tried the additional parameter of nolapic and that kept the machine from re-initializing the APIC. I rebooted and we're off to the races. I don't like to change too many things at once, so I'll have to wait and see if it crashes again. I'll also give the memory test a try since, while I don't *think* it's the memory, I could be completely wrong. Besides, the random crashing could easily be caused by the memory.

As far as messages and syslog, there's nothing of use (with reguard to the crashing) in those logs. I wish there were. I've kept all of them, and eventually maybe a pattern will immerge, if this last change didn't fix it.

Thanks again for all the suggestions. I'll be usin' 'em if the machine keeps crashing!
 
Old 02-23-2005, 04:32 PM   #8
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
As stated before. Mine would crash randomly but I was able to force it to crash/lockup by coping a large file(>75M) across my network. I was guaranteed a crash or lockup every time.
 
Old 02-23-2005, 05:11 PM   #9
ckr
Member
 
Registered: Jul 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Well, these crashes occur while the machine is basicly sitting idle. It's currently been up over a day, but I've gone as long as 3 with no crashes. Hopefully, the last change wil have fixed it.
 
Old 02-27-2005, 12:15 PM   #10
ckr
Member
 
Registered: Jul 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Well, hopefully, this will be the last chapter in this particular story

The problem was definately hardware related. I was running a memory checker that booted off a CD (DOS based, I think -- nothing to do with Linux) and the machine went down. I *think* that the cause was the old UPS I was using. Apparently it was power cycling because the batteries were too old. It actaully did it while I was up there. Since I've been off that UPS (I plugged into a newer one that I have) the server's been up for almost 2 days. That's not the record, but I really hope that this was the problem.

And if it turns out that it was, well... I still leared a lot due to the help that people gave me.

Thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE Guru needed AxXium Slackware 15 06-03-2005 07:04 PM
Server Crashing.. Help? (Guru needed??) ckr Mandriva 6 02-19-2005 10:04 AM
Perl guru needed J_Szucs Programming 1 10-11-2004 03:05 AM
Linux Guru Needed !!! Tuzinor Linux - General 6 11-17-2002 05:40 PM
guru help needed. dk Linux - Newbie 2 04-26-2001 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration