From: Ant on
On 3/7/2010 8:56 AM PT, Yousuf Khan typed:

>>> HOWTO enable core-dumps - LinuxReviews
>>> http://en.linuxreviews.org/HOWTO_enable_core-dumps
>>
>> Thanks. Isn't this for program crashes, not kernel panics? I wonder
>> why it was removed because I used to see those core files from crashes.
>
> You may want to ask in a Linux newsgroup for more details.

I am already am. ;)
--
"An ant's nest could bring down a hill." --Japanese
/\___/\
/ /\ /\ \ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links: http://aqfl.net
\ _ / Nuke ANT from e-mail address: philpi(a)earthlink.netANT
( ) or ANTant(a)zimage.com
Ant is currently not listening to any songs on his home computer.
From: Arno on
In comp.sys.ibm.pc.hardware.storage Ant <ant(a)zimage.comant> wrote:
> On 3/7/2010 8:56 AM PT, Yousuf Khan typed:

>>>> HOWTO enable core-dumps - LinuxReviews
>>>> http://en.linuxreviews.org/HOWTO_enable_core-dumps
>>>
>>> Thanks. Isn't this for program crashes, not kernel panics? I wonder
>>> why it was removed because I used to see those core files from crashes.
>>
>> You may want to ask in a Linux newsgroup for more details.

> I am already am. ;)

You don't need to, no disk access is possible after a kernel
panic, hence no loging. The only thing you can do, is to
look at the screen or to enable the serial console output and
log that on another machine.

The reason no disk access is possible is simple: A kernel
panic only hapens when the kernel internal state is regarded
as seriously corrupted. A disk access could then cause serious
filesystem corruption (at least writing) and is therefore
not done.

Arno

--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno(a)wagner.name
GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans
From: Arno on
In comp.sys.ibm.pc.hardware.storage Pascal Hambourg <boite-a-spam(a)plouf.fr.eu.org> wrote:
> Rod Speed a ?crit :
>> Pascal Hambourg wrote
>>
>>> Aren't pending sectors sectors waiting to be remapped because of read errors ?
>>
>> Thats not the same thing as unreadable sectors.

> Aren't pending sectors unreadable, because of read errors ?

A pending sector is one that the disk tried to read but
failed. Additional reads may recover it, but the disk
has already done the maximum it will do and will not
try by itself again. A pending sector will also become
a realocated sector on write, unless that time the
disk can read it without any problem after writing it.

Such "vanishing pending sectors" are possible when the
reason for the unreadability of the sector is external,
for example vribrarion or mechanical shock during the
initial write or a PSU that has unclean output voltages.

Arno
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno(a)wagner.name
GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans
From: Ant on
On 3/7/2010 9:20 AM PT, Arno typed:

> You don't need to, no disk access is possible after a kernel
> panic, hence no loging. The only thing you can do, is to
> look at the screen or to enable the serial console output and
> log that on another machine.
>
> The reason no disk access is possible is simple: A kernel
> panic only hapens when the kernel internal state is regarded
> as seriously corrupted. A disk access could then cause serious
> filesystem corruption (at least writing) and is therefore
> not done.

So Windows' blue screens with memory dumps are different?
--
"When many work together for a goal, great things may be accomplished.
It is said a lion cub was killed by a single colony of ants." --Saskya
Pandita
/\___/\
/ /\ /\ \ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links: http://aqfl.net
\ _ / Nuke ANT from e-mail address: philpi(a)earthlink.netANT
( ) or ANTant(a)zimage.com
Ant is/was listening to a song on his home computer: Phyortek -
Synthetic Deviance (ID: 316343)
From: Pascal Hambourg on
Arno a �crit :
> Pascal Hambourg <boite-a-spam(a)plouf.fr.eu.org> wrote:
>> Rod Speed a �crit :
>>> Pascal Hambourg wrote
>>>
>>>> Aren't pending sectors sectors waiting to be remapped because of read errors ?
>>>
>>> Thats not the same thing as unreadable sectors.
>
>> Aren't pending sectors unreadable, because of read errors ?
>
> A pending sector is one that the disk tried to read but
> failed.

"Tried to read but failed", that looks very much like the definition of
"unreadable" to me.

[skip the rest of the explaination I already knew about]