Skip to contentSkip to conversation

OOPS handling proposal

DISCUSSION Samium Gromoff 2 participants 3 messages Sep 13, 2001

lore
Share & tools
lore
#0 lore raw

Hello folks!
People most likely needs first oops most of the time, so
it would be great to make a kernel boot option to stop after first oops, so in the situations when its neede life can be made easy.
Actually afaics this is being done each time by hand, so
panic() in BUG() as Rik proposed would be nice.
What do you folks think?

cheers, Sam

#1 lore raw
Quoted 7 lines · Samium Gromoff

Hello folks!
People most likely needs first oops most of the time, so
it would be great to make a kernel boot option to stop after first oops, so in the situations when its neede life can be made easy.
Actually afaics this is being done each time by hand, so
panic() in BUG() as Rik proposed would be nice.
What do you folks think?

Absolutely NOT. If you panic() in BUG() then you DO have to copy the oops by hand each time, whereas the normal situation is that you can keep running after an oops - to decode it, see what the symptoms are, check memory, etc.

Cheers, Andreas

Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
#2 lore raw

" Andreas Dilger wrote:"

Quoted 10 lines · Samium Gromoff
Quoted 7 lines

Hello folks!
People most likely needs first oops most of the time, so
it would be great to make a kernel boot option to stop after first oops, so in the situations when its neede life can be made easy.
Actually afaics this is being done each time by hand, so
panic() in BUG() as Rik proposed would be nice.
What do you folks think?

Quoted 4 lines

Absolutely NOT. If you panic() in BUG() then you DO have to copy the oops by hand each time, whereas the normal situation is that you can keep running after an oops - to decode it, see what the symptoms are, check memory, etc.

Hmm... I propose to make it a boot option.
Else sometimes you wont be able to retrieve info at all, as like
in the situation i have right now: oops in kupdated which i even cant post and it remains there all 2.4.8 and 2.4.9.

Cheers, Sam