Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2008, 02:01 PM
adamsville2k
 
Posts: n/a
Default Questions regarding a PANIC situation

Hi,

Last week, we experienced 2 KERNEL PANIC error on our SCO Unix 5.0.7
server within a 2 hour span. So I called our sofware support which is
OGC using running on an Informix Database. Within 5 minutes I had as
answer that the problem was an Hardware issue. Since the server is
supported by another supplier, I then called them. They told me that
such of a problem could be software as well. Not only hardware like
the SCO site posts here.

Why did my UNIX kernel "panic"?

They mentionned for example that a FTP command could make the server
PANIC! So I went back to the OGC software provider and told them that
we couldn't find any evidence within logs and everything of the source
of the problem happened that day. So How you could tell me in 5
minutes that it was an Hardware issue? They answered that software
means SCO Unix, NOT their software!!!!

So my question is: Is a PANIC error could be the result of a software
function or programming synthax or command other than the OS itself?
Assuming it's not hardware of course.

Thanks in advance.

Adamsville2k
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-10-2008, 02:01 PM
Andrew Smallshaw
 
Posts: n/a
Default Re: Questions regarding a PANIC situation

On 2008-05-09, adamsville2k <adamsville2k@hotmail.com> wrote:
>
> Last week, we experienced 2 KERNEL PANIC error on our SCO Unix 5.0.7
> server within a 2 hour span. So I called our sofware support which is
> OGC using running on an Informix Database. Within 5 minutes I had as
> answer that the problem was an Hardware issue. Since the server is
> supported by another supplier, I then called them. They told me that
> such of a problem could be software as well. Not only hardware like
> the SCO site posts here.


More details would have been appropriate here - you usually have
some indication of the source of the panic. However, the source
is unlikely to be your application, unless possibly it is doing
something nasty with raw memory via /dev/mem or something of that
sort. Put simply, your application shouldn't be able to make the
OS panic. It should reject any invalid requests made by system
calls etc cleanly and without threatening the integrity of the
system. This is generally what happens in reality. To do otherwise
would be a security flaw in that it would present a potential DoS
vector.

So the source of the panic is somewhere within the OS kernel itself
which doesn't have the same level of protection as userland
applications. OSR507 itself is generally fairly stable and so I
would tend to agree with your application provider that this is
probably a hardware issue. Kernel mode drivers typically have
limited error recovery built in to them but this is designed for
errors in normally functioning kit. Since you can't in general
anticipate what problems defective kit might throw up the drivers
don't attempt to and panic if things get too confusing.

--
Andrew Smallshaw
andrews@sdf.lonestar.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-10-2008, 02:01 PM
adamsville2k
 
Posts: n/a
Default Re: Questions regarding a PANIC situation

On 9 mai, 08:41, Andrew Smallshaw <andr...@sdf.lonestar.org> wrote:
> On 2008-05-09, adamsville2k <adamsvill...@hotmail.com> wrote:
>
>
>
> > Last week, we experienced 2 KERNEL PANIC error on our SCO Unix 5.0.7
> > server within a 2 hour span. So I called our sofware support which is
> > OGC using running on an Informix Database. Within 5 minutes I had as
> > answer that the problem was an Hardware issue. Since the server is
> > supported by another supplier, I then called them. They told me that
> > such of a problem could be software as well. Not only hardware like
> > the SCO site posts here.

>
> More details would have been appropriate here - you usually have
> some indication of the source of the panic. *However, the source
> is unlikely to be your application, unless possibly it is doing
> something nasty with raw memory via /dev/mem or something of that
> sort. *Put simply, your application shouldn't be able to make the
> OS panic. *It should reject any invalid requests made by system
> calls etc cleanly and without threatening the integrity of the
> system. *This is generally what happens in reality. *To do otherwise
> would be a security flaw in that it would present a potential DoS
> vector.
>
> So the source of the panic is somewhere within the OS kernel itself
> which doesn't have the same level of protection as userland
> applications. *OSR507 itself is generally fairly stable and so I
> would tend to agree with your application provider that this is
> probably a hardware issue. *Kernel mode drivers typically have
> limited error recovery built in to them but this is designed for
> errors in normally functioning kit. *Since you can't in general
> anticipate what problems defective kit might throw up the drivers
> don't attempt to and panic if things get too confusing.
>
> --
> Andrew Smallshaw
> andr...@sdf.lonestar.org


Thanks Andrew for replying. I know that there is few details here but
the point is to find out who's wrong and who's right! So if "software"
means SCO OS alone, it's fine to me. I just want ot make sure that
applications don't make the KERNEL to panic.

Adamsville2k
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-10-2008, 02:01 PM
Pat Welch
 
Posts: n/a
Default Re: Questions regarding a PANIC situation

adamsville2k wrote:
> On 9 mai, 08:41, Andrew Smallshaw <andr...@sdf.lonestar.org> wrote:
>> On 2008-05-09, adamsville2k <adamsvill...@hotmail.com> wrote:
>>
>>
>>
>>> Last week, we experienced 2 KERNEL PANIC error on our SCO Unix 5.0.7
>>> server within a 2 hour span. So I called our sofware support which is
>>> OGC using running on an Informix Database. Within 5 minutes I had as
>>> answer that the problem was an Hardware issue. Since the server is
>>> supported by another supplier, I then called them. They told me that
>>> such of a problem could be software as well. Not only hardware like
>>> the SCO site posts here.

>> More details would have been appropriate here - you usually have
>> some indication of the source of the panic. However, the source
>> is unlikely to be your application, unless possibly it is doing
>> something nasty with raw memory via /dev/mem or something of that
>> sort. Put simply, your application shouldn't be able to make the
>> OS panic. It should reject any invalid requests made by system
>> calls etc cleanly and without threatening the integrity of the
>> system. This is generally what happens in reality. To do otherwise
>> would be a security flaw in that it would present a potential DoS
>> vector.
>>
>> So the source of the panic is somewhere within the OS kernel itself
>> which doesn't have the same level of protection as userland
>> applications. OSR507 itself is generally fairly stable and so I
>> would tend to agree with your application provider that this is
>> probably a hardware issue. Kernel mode drivers typically have
>> limited error recovery built in to them but this is designed for
>> errors in normally functioning kit. Since you can't in general
>> anticipate what problems defective kit might throw up the drivers
>> don't attempt to and panic if things get too confusing.
>>
>> --
>> Andrew Smallshaw
>> andr...@sdf.lonestar.org

>
> Thanks Andrew for replying. I know that there is few details here but
> the point is to find out who's wrong and who's right! So if "software"
> means SCO OS alone, it's fine to me. I just want ot make sure that
> applications don't make the KERNEL to panic.
>
> Adamsville2k


We can't be helpful here without more specific information - make and
model of system, how old is it, how much RAM and disk, what other
hardware is attached (EG Digiport serial ports, USB printers/disk drives
etc. etc.)

What patches have you applied? FYI The current Master Patch version for
5.0.7 is MP5.

Have you looked at the var/adm/syslog file to see if there's evidence of
problems just before the PANIC? Ditto any logs maintained by your
application?

Any red lights on any disk drives in your RAID array (if you have one)?

Finally, someone needs to write down all the info from the PANIC display
on the system console - that info is only onscreen, because a PANIC
stops SCO dead in it's tracks.

--
----------------------------------------------------
Pat Welch, UBB Computer Services, a WCS Affiliate
SCO Authorized Partner
Microlite BackupEdge Certified Reseller
Unix/Linux/Windows/Hardware Sales/Support
(209) 745-1401 Cell: (209) 251-9120
E-mail: patubb@inreach.com
----------------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-12-2008, 09:08 AM
JP
 
Posts: n/a
Default Re: Questions regarding a PANIC situation


"adamsville2k" <adamsville2k@hotmail.com> wrote in message
news:4d70ebe3-97d6-4473-bd34-9d80dd47d0df@r66g2000hsg.googlegroups.com...
On 9 mai, 08:41, Andrew Smallshaw <andr...@sdf.lonestar.org> wrote:
> On 2008-05-09, adamsville2k <adamsvill...@hotmail.com> wrote:
>
>
>
> > Last week, we experienced 2 KERNEL PANIC error on our SCO Unix 5.0.7
> > server within a 2 hour span. So I called our sofware support which is
> > OGC using running on an Informix Database. Within 5 minutes I had as
> > answer that the problem was an Hardware issue. Since the server is
> > supported by another supplier, I then called them. They told me that
> > such of a problem could be software as well. Not only hardware like
> > the SCO site posts here.

>
> More details would have been appropriate here - you usually have
> some indication of the source of the panic. However, the source
> is unlikely to be your application, unless possibly it is doing
> something nasty with raw memory via /dev/mem or something of that
> sort. Put simply, your application shouldn't be able to make the
> OS panic. It should reject any invalid requests made by system
> calls etc cleanly and without threatening the integrity of the
> system. This is generally what happens in reality. To do otherwise
> would be a security flaw in that it would present a potential DoS
> vector.
>
> So the source of the panic is somewhere within the OS kernel itself
> which doesn't have the same level of protection as userland
> applications. OSR507 itself is generally fairly stable and so I
> would tend to agree with your application provider that this is
> probably a hardware issue. Kernel mode drivers typically have
> limited error recovery built in to them but this is designed for
> errors in normally functioning kit. Since you can't in general
> anticipate what problems defective kit might throw up the drivers
> don't attempt to and panic if things get too confusing.
>
> --
> Andrew Smallshaw
> andr...@sdf.lonestar.org


Thanks Andrew for replying. I know that there is few details here but
the point is to find out who's wrong and who's right! So if "software"
means SCO OS alone, it's fine to me. I just want ot make sure that
applications don't make the KERNEL to panic.

Adamsville2k

Ok, let's look at this logically. Has your application EVER caused the
system to 'panic' trap? My guess is 'NO'. Therefore, it is only logical to
look elsewhere. Most times, when we experience panics, it's the direct
result of something else having occurred ...... either the hardware has
malfunctioned, someone has changed something in the OS, or maybe the lights
flickered a few times. Like the others, there really isn't enough
information here to make a sound decision on just what caused the panic, but
it would be prudent to start looking at your hardware and make dead sure you
have adequately backed up the important files. Kernel panics have a nasty
habit of crashing systems.

JP


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-13-2008, 06:11 PM
mbennett
 
Posts: n/a
Default Re: Questions regarding a PANIC situation

You really need to shift your focus away from "who can I blame for
this" to what caused it and how to fix it.

First go here, scroll all the way to the bottom and read the section
on using the crash diagnostics.
http://osr507doc.sco.com/en/OSAdminG/CONTENTS.html

If you're the sysadmin you should know how to use this. If you didn't
before, learn now. This is a well-defined procedure, but you must be
ready to save a kernel dump before it happens, not days afterwards.
Acting promptly when it happens is the only solution.

If it were me, I would have already reseated all cards, memory and cpu
chips on this system.

You want to know if software can cause a kernel panic, and the answer
is yes. It would be extremely rare for application software to do so,
but it's possible for a driver to cause a panic. So have you checked
every driver version and upgraded as necessary?

Even with the latest driver, it's possible for circumstances to cause
a crash. I vividly recall an incident several years ago when a
client's system periodically panicked and crashed. There didn't seem
to be any cause or pattern. They had had me setup a temporary remote
office, running dumb terminals over a modem connection to a well-known
multi-user serial card. They were printing some very long reports to
a transparent printer over this connection. When a print job was
running, if the modem connection dropped the system panicked and
crashed. The only way I isolated this was by using the 'crash'
procedure as documented. Yes it was technically caused by driver
software, which solved nothing. Not printing reports of several
hundred pages over this connection solved the problem.

Good luck. Mark


On May 9, 6:34*am, adamsville2k <adamsvill...@hotmail.com> wrote:
> Hi,
>
> Last week, we experienced 2 KERNEL PANIC error on our SCO Unix 5.0.7
> server within a 2 hour span. So I called our sofware support which is
> OGC using running on an Informix Database. Within 5 minutes I had as
> answer that the problem was an Hardware issue. Since the server is
> supported by another supplier, I then called them. They told me that
> such of a problem could be software as well. Not only hardware like
> the SCO site posts here.
>
> Why did my UNIX kernel "panic"?
>
> They mentionned for example that a FTP command could make the server
> PANIC! So I went back to the OGC software provider and told them that
> we couldn't find any evidence within logs and everything of the source
> of the problem happened that day. So How you could tell me in 5
> minutes that it was an Hardware issue? They answered that software
> means SCO Unix, NOT their software!!!!
>
> So my question is: Is a PANIC error could be the result of a software
> function or programming synthax or command other than the OS itself?
> Assuming it's not hardware of course.
>
> Thanks in advance.
>
> Adamsville2k


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:17 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145