Mysterious server lockups with Ubuntu Hardy

This is a discussion on Mysterious server lockups with Ubuntu Hardy within the Linux General forums, part of the Linux Forums category; I have a server with Hardy server edition installed (2.6.24). No GUI on it. It runs apache, mysql, ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-12-2008
Ignoramus4557
 
Posts: n/a
Default Mysterious server lockups with Ubuntu Hardy

I have a server with Hardy server edition installed (2.6.24). No GUI
on it. It runs apache, mysql, is an NFS client and Samba server. Runs
some of our custom scripts, nothing major.

Once in about every 2 days, it seems to lock up randomly.

Fortunately, it has an IPMI card and I programmed it to run an IPMI
watchdog, so it reboots itself very quickly upon lockup,
automatically. Still, I obviously do not like it in the least and hope
for something better.

If there is something that I can do, like enable debug mode of some
sort, etc, I will be happy to get started.

--
Due to extreme spam originating from Google Groups, and their inattention
to spammers, I and many others block all articles originating
from Google Groups. If you want your postings to be seen by
more readers you will need to find a different means of
posting on Usenet.
http://improve-usenet.org/
Reply With Quote
  #2 (permalink)  
Old 05-12-2008
Darren Salt
 
Posts: n/a
Default Re: Mysterious server lockups with Ubuntu Hardy

I demand that Ignoramus4557 may or may not have written...

> I have a server with Hardy server edition installed (2.6.24). No GUI on it.
> It runs apache, mysql, is an NFS client and Samba server. Runs some of our
> custom scripts, nothing major.

[snip]
> If there is something that I can do, like enable debug mode of some sort,
> etc, I will be happy to get started.


One of the following should help in case there's some kernel log text which
isn't making it to disk:

http://www.mjmwired.net/kernel/Docum...al-console.txt
http://www.mjmwired.net/kernel/Docum...netconsole.txt

It may also help to add "debug" to the kernel command line.

(Followups set to col.m.)

--
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Generate power using sun, wind, water, nuclear. FORGET COAL AND OIL.

I'm not dead; I'm metabolically challenged.
Reply With Quote
  #3 (permalink)  
Old 05-12-2008
Ignoramus4557
 
Posts: n/a
Default Re: Mysterious server lockups with Ubuntu Hardy

On 2008-05-12, Darren Salt <news@youmustbejoking.demon.cu.invalid> wrote:
> I demand that Ignoramus4557 may or may not have written...
>
>> I have a server with Hardy server edition installed (2.6.24). No GUI on it.
>> It runs apache, mysql, is an NFS client and Samba server. Runs some of our
>> custom scripts, nothing major.

> [snip]
>> If there is something that I can do, like enable debug mode of some sort,
>> etc, I will be happy to get started.

>
> One of the following should help in case there's some kernel log text which
> isn't making it to disk:
>
> http://www.mjmwired.net/kernel/Docum...al-console.txt
> http://www.mjmwired.net/kernel/Docum...netconsole.txt
>
> It may also help to add "debug" to the kernel command line.
>
> (Followups set to col.m.)
>


Thanks. I doubt that I will see anything, however, it is good not to
presume too much. I will definitely try it. Thank you again.
--
Due to extreme spam originating from Google Groups, and their inattention
to spammers, I and many others block all articles originating
from Google Groups. If you want your postings to be seen by
more readers you will need to find a different means of
posting on Usenet.
http://improve-usenet.org/
Reply With Quote
  #4 (permalink)  
Old 05-12-2008
Ignoramus4557
 
Posts: n/a
Default Re: Mysterious server lockups with Ubuntu Hardy

I was able to insmod netconsole.

root@server:~# modprobe netconsole netconsole="1941@10.1.xxx.xxx/eth0,1941@192.168.xxx.xxx/00:14:xx:xx:xx:xx"

mypc:myusername:~ ==>nc -u -l 1941

However, I did not receive any kernel messages on the target machine.

That's despite having generated some kernel messages by inserting a
superfluous module and verifying that with dmesg.

i

On 2008-05-12, Ignoramus4557 <ignoramus4557@NOSPAM.4557.invalid> wrote:
> On 2008-05-12, Darren Salt <news@youmustbejoking.demon.cu.invalid> wrote:
>> I demand that Ignoramus4557 may or may not have written...
>>
>>> I have a server with Hardy server edition installed (2.6.24). No GUI on it.
>>> It runs apache, mysql, is an NFS client and Samba server. Runs some of our
>>> custom scripts, nothing major.

>> [snip]
>>> If there is something that I can do, like enable debug mode of some sort,
>>> etc, I will be happy to get started.

>>
>> One of the following should help in case there's some kernel log text which
>> isn't making it to disk:
>>
>> http://www.mjmwired.net/kernel/Docum...al-console.txt
>> http://www.mjmwired.net/kernel/Docum...netconsole.txt
>>
>> It may also help to add "debug" to the kernel command line.
>>
>> (Followups set to col.m.)
>>

>
> Thanks. I doubt that I will see anything, however, it is good not to
> presume too much. I will definitely try it. Thank you again.


--
Due to extreme spam originating from Google Groups, and their inattention
to spammers, I and many others block all articles originating
from Google Groups. If you want your postings to be seen by
more readers you will need to find a different means of
posting on Usenet.
http://improve-usenet.org/
Reply With Quote
  #5 (permalink)  
Old 05-12-2008
Mark Hobley
 
Posts: n/a
Default Re: Mysterious server lockups with Ubuntu Hardy

Ignoramus4557 <ignoramus4557@nospam.4557.invalid> wrote:
> Once in about every 2 days, it seems to lock up randomly.


Try setting the following boot options:

noapic nolapic pci=noacpi

Regards,

Mark.

--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
Reply With Quote
  #6 (permalink)  
Old 05-12-2008
Ignoramus4557
 
Posts: n/a
Default Re: Mysterious server lockups with Ubuntu Hardy

On 2008-05-12, Mark Hobley <markhobley@hotpop.donottypethisbit.com> wrote:
> Ignoramus4557 <ignoramus4557@nospam.4557.invalid> wrote:
>> Once in about every 2 days, it seems to lock up randomly.

>
> Try setting the following boot options:
>
> noapic nolapic pci=noacpi
>
> Regards,


where in menu.lst should I specify them? Any idea?
--
Due to extreme spam originating from Google Groups, and their inattention
to spammers, I and many others block all articles originating
from Google Groups. If you want your postings to be seen by
more readers you will need to find a different means of
posting on Usenet.
http://improve-usenet.org/
Reply With Quote
  #7 (permalink)  
Old 05-12-2008
Darren Salt
 
Posts: n/a
Default Re: Mysterious server lockups with Ubuntu Hardy

I demand that Ignoramus4557 may or may not have written...

> I was able to insmod netconsole.


> root@server:~# modprobe netconsole \
> netconsole="1941@10.1.xxx.xxx/eth0,1941@192.168.xxx.xxx/00:14:xx:xx:xx:xx"


> mypc:myusername:~ ==>nc -u -l 1941


> However, I did not receive any kernel messages on the target machine.


> That's despite having generated some kernel messages by inserting a
> superfluous module and verifying that with dmesg.


The IP addresses say that you're using two separate logical networks. That's
fine, so long as the destination IP address is routable and the destination
MAC address is one hop away from the source machine (the server). Is this the
case?

[snip]
--
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Travel less. Share transport more. PRODUCE LESS CARBON DIOXIDE.

It is sweet to let the mind unbend on occasion.
Reply With Quote
  #8 (permalink)  
Old 05-12-2008
Ignoramus17662
 
Posts: n/a
Default Re: Mysterious server lockups with Ubuntu Hardy

On 2008-05-12, Darren Salt <news@youmustbejoking.demon.cu.invalid> wrote:
> I demand that Ignoramus4557 may or may not have written...
>
>> I was able to insmod netconsole.

>
>> root@server:~# modprobe netconsole \
>> netconsole="1941@10.1.xxx.xxx/eth0,1941@192.168.xxx.xxx/00:14:xx:xx:xx:xx"

>
>> mypc:myusername:~ ==>nc -u -l 1941

>
>> However, I did not receive any kernel messages on the target machine.

>
>> That's despite having generated some kernel messages by inserting a
>> superfluous module and verifying that with dmesg.

>
> The IP addresses say that you're using two separate logical networks. That's
> fine, so long as the destination IP address is routable and the destination
> MAC address is one hop away from the source machine (the server). Is this the
> case?
>
> [snip]


That could be it.

I have modified the line in /boot/grub/menu.lst

from

defoptions=quiet splash

to

defoptions=quiet splash noapic nolapic pci=noacpi

I will try this after hours tonight.

I certainly do not need ACPI on this server.
--
Due to extreme spam originating from Google Groups, and their inattention
to spammers, I and many others block all articles originating
from Google Groups. If you want your postings to be seen by
more readers you will need to find a different means of
posting on Usenet.
http://improve-usenet.org/
Reply With Quote
  #9 (permalink)  
Old 05-12-2008
Ignoramus17662
 
Posts: n/a
Default Re: Mysterious server lockups with Ubuntu Hardy

I was able to insert these noacpi options by editing the commented out
kopt= parameter and rerunning update-group. Booted with all ACPI
disabled.

I will see how it goes.

# kopt=root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ro noapic nolapic pci=noacpi acpi=off

So far it seems that the server is running OK, but only time will
tell.

i

On 2008-05-12, Ignoramus17662 <ignoramus17662@NOSPAM.17662.invalid> wrote:
> On 2008-05-12, Darren Salt <news@youmustbejoking.demon.cu.invalid> wrote:
>> I demand that Ignoramus4557 may or may not have written...
>>
>>> I was able to insmod netconsole.

>>
>>> root@server:~# modprobe netconsole \
>>> netconsole="1941@10.1.xxx.xxx/eth0,1941@192.168.xxx.xxx/00:14:xx:xx:xx:xx"

>>
>>> mypc:myusername:~ ==>nc -u -l 1941

>>
>>> However, I did not receive any kernel messages on the target machine.

>>
>>> That's despite having generated some kernel messages by inserting a
>>> superfluous module and verifying that with dmesg.

>>
>> The IP addresses say that you're using two separate logical networks. That's
>> fine, so long as the destination IP address is routable and the destination
>> MAC address is one hop away from the source machine (the server). Is this the
>> case?
>>
>> [snip]

>
> That could be it.
>
> I have modified the line in /boot/grub/menu.lst
>
> from
>
> defoptions=quiet splash
>
> to
>
> defoptions=quiet splash noapic nolapic pci=noacpi
>
> I will try this after hours tonight.
>
> I certainly do not need ACPI on this server.


--
Due to extreme spam originating from Google Groups, and their inattention
to spammers, I and many others block all articles originating
from Google Groups. If you want your postings to be seen by
more readers you will need to find a different means of
posting on Usenet.
http://improve-usenet.org/
Reply With Quote
  #10 (permalink)  
Old 05-12-2008
Ignoramus17662
 
Posts: n/a
Default Re: Mysterious server lockups with Ubuntu Hardy

On 2008-05-12, Ignoramus17662 <ignoramus17662@NOSPAM.17662.invalid> wrote:
> I was able to insert these noacpi options by editing the commented out
> kopt= parameter and rerunning update-group. Booted with all ACPI
> disabled.


I mean update-grub

> I will see how it goes.
>
> # kopt=root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ro noapic nolapic pci=noacpi acpi=off
>
> So far it seems that the server is running OK, but only time will
> tell.
>
> i
>
> On 2008-05-12, Ignoramus17662 <ignoramus17662@NOSPAM.17662.invalid> wrote:
>> On 2008-05-12, Darren Salt <news@youmustbejoking.demon.cu.invalid> wrote:
>>> I demand that Ignoramus4557 may or may not have written...
>>>
>>>> I was able to insmod netconsole.
>>>
>>>> root@server:~# modprobe netconsole \
>>>> netconsole="1941@10.1.xxx.xxx/eth0,1941@192.168.xxx.xxx/00:14:xx:xx:xx:xx"
>>>
>>>> mypc:myusername:~ ==>nc -u -l 1941
>>>
>>>> However, I did not receive any kernel messages on the target machine.
>>>
>>>> That's despite having generated some kernel messages by inserting a
>>>> superfluous module and verifying that with dmesg.
>>>
>>> The IP addresses say that you're using two separate logical networks. That's
>>> fine, so long as the destination IP address is routable and the destination
>>> MAC address is one hop away from the source machine (the server). Is this the
>>> case?
>>>
>>> [snip]

>>
>> That could be it.
>>
>> I have modified the line in /boot/grub/menu.lst
>>
>> from
>>
>> defoptions=quiet splash
>>
>> to
>>
>> defoptions=quiet splash noapic nolapic pci=noacpi
>>
>> I will try this after hours tonight.
>>
>> I certainly do not need ACPI on this server.

>


--
Due to extreme spam originating from Google Groups, and their inattention
to spammers, I and many others block all articles originating
from Google Groups. If you want your postings to be seen by
more readers you will need to find a different means of
posting on Usenet.
http://improve-usenet.org/
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:11 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0