Re: URGENT : System hands on "Freeing unused kernel memory: "

2001-03-27 Thread Alan Cox

> Freeing unused kernel memory: xxk freed
> 
> So we took the box home and tried to boot it from a bootdisk (generated as we 
>installed the box,
> redhat 7.0). The SAME problem occurs ... 
> 
> Freeing unused kernel memory: xxk freed
> 
> The system hangs (i've tried 2.2.18 AND 2.4.2-ac20, 2.2.16 is on our bootdisk). I 
>thought
> it could be the swap-partition ... so we inserted an IDE Disk, installed a small 
>system so that
> i was able to mount the SCSI-Disks. So i rebuild the swap-parition with
> mkswap /dev/sda5 and activated it via swapon /dev/sda5 ... worked.
> 
> So i tried to boot it again from the SCSI-Disks ... nothing! The same odd failure ...

Boot off the ide disk and fsck the scsi disks. See if that helps


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: URGENT : System hands on "Freeing unused kernel memory: "

2001-03-27 Thread Stuart MacDonald

From: "Thomas Foerster" <[EMAIL PROTECTED]>
> But suddenly the box was offline. One technical assistant from our ISP
tried to reboot
> our server (he couldn't tell me if there had been any messages on the
screen), but the
> system always hangs on
>
> Freeing unused kernel memory: xxk freed

I have a customer with the same symptom. They
have stock Mandrake 7.2 (kernel 2.2.17-21mdk)
and have installed serial-5.05 into it. The kernel
boots to the Freeing message and hangs. I
noticed ctl-alt-del still works, so I configured  in
magic sysrq (Documentation/sysrq.txt). sysrq-p
allowed me to get the eip, which checking against
the System.map I find is mod_timer(). A quick
printk showed me that the kernel isn't hung,
it's in an infinite loop, with mod_timer() being
one of the calls in the loop.

YMMV, but hopefully this method can help
you find your problem.

..Stu


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: URGENT : System hands on "Freeing unused kernel memory: "

2001-03-27 Thread Jonathan Morton

>> I have 2 ideas:
>> * glibc corrupted
>> * did you downgrade the cpu?
>
>These happen frequently to me (when compiling and installing a
>new glibc)
>But in this case you would have other messages (IIRC something
>like
>respawn too fast).
>Thus the problem is not this!

How about running memtest86 - could be that a RAM module blew up or worked
loose and caused the initial crash and this misbehaviour both at once.

--
from: Jonathan "Chromatix" Morton
mail: [EMAIL PROTECTED]  (not for attachments)
big-mail: [EMAIL PROTECTED]
uni-mail: [EMAIL PROTECTED]

The key to knowledge is not to rely on people to teach you it.

Get VNC Server for Macintosh from http://www.chromatix.uklinux.net/vnc/

-BEGIN GEEK CODE BLOCK-
Version 3.12
GCS$/E/S dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS
PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*)
-END GEEK CODE BLOCK-


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: URGENT : System hands on "Freeing unused kernel memory: "

2001-03-27 Thread Giacomo Catenazzi

Studierende der Universitaet des Saarlandes wrote:
> 
> I have 2 ideas:
> * glibc corrupted
> * did you downgrade the cpu?

These happen frequently to me (when compiling and installing a
new glibc)
But in this case you would have other messages (IIRC something
like
respawn too fast).
Thus the problem is not this!


Possible problem:

1) permition of /sbin/init
2) unable to exec ELF binary (or a.out, which init do you
have?)
3) problems with the root partition. (check it with an
emergency disk)
4) once I had strange problem with init and /dev (init was
continuosly
killed, but after some init.d scripts). Check your /dev/


giacomo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



RE: URGENT : System hands on "Freeing unused kernel memory: "

2001-03-27 Thread Thomas Foerster

> Does it hang forever ?

Yes :(

> I've noticed that my kernel (2.4.2) stalls for several minutes with the same
> message but suddenly after that the login prompt appears (anything between,
> like configurations and services starting messages, are gone). We've been
> able to track it down to a change we did to /etc/lilo.conf to add support
> for kernel prints to go out to a serial debugger. Before that everything was
> OK, but after we added append="console=tty0 console=ttyS1,38400", this
> problem started. We did notice however that everything that doesn't appear
> on the console does appear on the serial debugger.

We didn't change anything on the system .. it once crashed and now it won't boot
anymore, it always stops at "freeing unused kernel memory ..."

Thomas

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: URGENT : System hands on "Freeing unused kernel memory: "

2001-03-27 Thread Studierende der Universitaet des Saarlandes

I have 2 ideas:
* glibc corrupted
* did you downgrade the cpu?

RH 7.0 automatically installs glibc for a Pentium Pro or later if that
cpu is present during install.
If you then move the hd into a computer with an AMD K6, it won't boot.

I'd run

#rpm -Va

and check if some unusual files are modified (...5.. without "c")

--
Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



RE: URGENT : System hands on "Freeing unused kernel memory: "

2001-03-27 Thread Hen, Shmulik

Does it hang forever ?

I've noticed that my kernel (2.4.2) stalls for several minutes with the same
message but suddenly after that the login prompt appears (anything between,
like configurations and services starting messages, are gone). We've been
able to track it down to a change we did to /etc/lilo.conf to add support
for kernel prints to go out to a serial debugger. Before that everything was
OK, but after we added append="console=tty0 console=ttyS1,38400", this
problem started. We did notice however that everything that doesn't appear
on the console does appear on the serial debugger.


Shmulik.

-Original Message-
From: Thomas Foerster [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 10:40 AM
To: [EMAIL PROTECTED]
Subject: Re: URGENT : System hands on "Freeing unused kernel memory: "



> On 03.27 Thomas Foerster wrote:
>>
>> But suddenly the box was offline. One technical assistant from our ISP
tried
>> to reboot
>> our server (he couldn't tell me if there had been any messages on the
screen),
>> but the
>> system always hangs on
>>
>> Freeing unused kernel memory: xxk freed
>>

> Try booting with init=/bin/bash, it looks like kernel gets a bad
/sbin/init,
> and gets stuck. Perhaps the shutdown damaged init, it starts to run and
get
> hung.

That didn't fix the problem :(

When i run "diff" on a new and the "old" init, i get no diffs ...

Must be something other :(

Thomas

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: URGENT : System hands on "Freeing unused kernel memory: "

2001-03-27 Thread Thomas Foerster


> On 03.27 Thomas Foerster wrote:
>>
>> But suddenly the box was offline. One technical assistant from our ISP tried
>> to reboot
>> our server (he couldn't tell me if there had been any messages on the screen),
>> but the
>> system always hangs on
>>
>> Freeing unused kernel memory: xxk freed
>>

> Try booting with init=/bin/bash, it looks like kernel gets a bad /sbin/init,
> and gets stuck. Perhaps the shutdown damaged init, it starts to run and get
> hung.

That didn't fix the problem :(

When i run "diff" on a new and the "old" init, i get no diffs ...

Must be something other :(

Thomas

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: URGENT : System hands on "Freeing unused kernel memory: "

2001-03-26 Thread J . A . Magallon


On 03.27 Thomas Foerster wrote:
> 
> But suddenly the box was offline. One technical assistant from our ISP tried
> to reboot
> our server (he couldn't tell me if there had been any messages on the screen),
> but the
> system always hangs on 
> 
> Freeing unused kernel memory: xxk freed
> 

Try booting with init=/bin/bash, it looks like kernel gets a bad /sbin/init,
and gets stuck. Perhaps the shutdown damaged init, it starts to run and get
hung.

-- 
J.A. Magallon  #  Let the source
mailto:[EMAIL PROTECTED]  #  be with you, Luke... 

Linux werewolf 2.4.2-ac25 #5 SMP Mon Mar 26 17:46:56 CEST 2001 i686

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/