Re: Why does the system hungs?

From: T. E. (pelegrine_at_hotmail.com)
Date: 06/08/03


Date: Sun, 8 Jun 2003 21:02:40 +0200


<tony@aplawrence.com> schrieb im Newsbeitrag
news:bbv3fv$eph$1@pcls4.std.com...
> T. E. <pelegrine@hotmail.com> wrote:
> : Hello there,
>
> : has anybody out there an idea, why the system hungs during execution of
the
> : script with an Kernel Error (or Kernel Exeption ... not quite sure
anymore
> : how its called ...):
> : #!/bin/sh
> : #
> : DATADIR=/FTS/DATEN/21
> : WORKDIR=/q8/tmas/WEAT
>
> (script deleted)
>
>
> : I tested that script on an linux machine, and it worked fine.
> : The SCO OpenServer 5.0.5 system just hungs .... :(
> : It starts transfering data, and stops during doing so - simply hungs,
with
> : an screen showing info of the memorydump, and saying "Now its safe to
> : shut-off the system, or reboot by pressing any key" (or something like
> : that).
>
> Ordinarily the phrase "or something like that" will engender severe
> and well deserved chastisement. If you want help with a problem,
> it behooves you to describe said problem accurately and the make
> the effort to transcribe error messages precisely.
>
> In this case, we know what you mean (you have a trap message), but you
> have left out the most important piece of information: exactly what the
trap
> number is.
>
> The most common trap seen is E, which is explained at
> http://aplawrence.com/Unixart/trape.html
>
> However, you might be seeing a panic that included something like
> "PANIC: HTFS: Free block freed on HTFS" or similar language indicating
> that a block already on the free list was found in an inode being
> freed. That would be HTFS file system corruption, fixable by
> a single-user fsck -ofull and on some systems preventable by
> proper patches. The reason I suspect something like this is
> that you only mention this happening during a certain script,
> which might mean that it is a particular file that causes the problem.
>
> Or you might be seeing something else entirely that could indicate
> adaptor driver problems.
>
> But there's no point in me or anyone else guessing: make it happen
> again and this time write it all down completely.
>
> You mighrt also read http://aplawrence.com/newtosco.html#newsg for
> advice on how to ask a better question here.
>
> --
> tony@aplawrence.com Unix/Linux resources: http://aplawrence.com
> Inexpensive phone/email support
> Download Free SCO Skills Test: http://pcunix.com/skilltests.html

Hi,

so I started that script again.
First time it run without any probs, but when I staretd it a second time the
system got a trap.
This screen content was shown:

<snip>
cr0 0x80010015 cr2 0x464C458B cr3 0x00002000 tlb 0x00000000
ss 0x00002810 uesp 0x00000001 efl 0x00010207 ipl 0x00000005
cs 0x00000158 eip 0xF0094C84 err 0x00000000 trap 0x0000000E
eax 0x00000000 ecx 0xF50153A0 edx 0x00002C04 ebx 0x464C457F
esp 0xE0000924 ebp 0cE0000954 esi 0x300A680A edi 0x00000000
ds 0x00000160 es 0x00000160 fs 0x00000000 gs 0x00000000
cpu 0x00000001

PANIC: k_trap - Kernel mode trap type 0x0000000E
Cannot dump 130958 pages to dumpdev hd /1/41): Space for only 128000 pages

Dump not complete
Warning: aac: system coming down

** Safe to Power Off **
            or
** Press Any Key to Reboot **

</snip>

Thanks!

c y
Torsten



Relevant Pages

  • Re: FTP: 421 Service not available....
    ... Or environment dependencies in your script. ... # Trap various errors ... logit "1. ... function exitfunc { ...
    (comp.os.linux.networking)
  • Re: transfering signals to a subshell
    ... > If you are at the command line and enter the command above, ... trap 2 3 ... Now I run test1 and press ^C immediately: ... The Script is rather long. ...
    (comp.unix.shell)
  • Re: Running a command for a limited time
    ... This does happen automatically, the signal is SIGCHLD. ... trap exit SIGCHLD ... trap "exit" SIGCHLD ... I adapted the latest script to bash and it works as advertised. ...
    (comp.unix.shell)
  • RE: Active Directory Password Script Error Trapping
    ... I wrote a similar asp page for our company. ... You should put an On Error Resume Next in your script, ... > What I would like to know is how do I error trap this? ... > Policy complexity rules (no idea what the error code for this is yet as this ...
    (microsoft.public.windows.server.scripting)
  • [Summary] puzzle with cold mirror script
    ... puzzle with cold mirror script ... DUMP: Date of last level 0 dump: the epoch ... all the disk information and a listing of the script follows. ... /export/home/chris# format ...
    (SunManagers)