Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: Kernel panic timeout (LILO)(Safe remote reboot)


  • Subject: Re: lug-bg: Kernel panic timeout (LILO)(Safe remote reboot)
  • From: micro@email.domain.hidden (Plamen Tonev)
  • Date: Mon, 19 May 2003 11:15:48 +0300

On Sat, 17 May 2003 20:54:09 +0300
George Danchev <danchev_at_spnet.net> wrote:

<em class="quotelev1">> On 16 05 2003 19:50, Plamen Tonev wrote:
<em class="quotelev1">> 
<em class="quotelev1">> Õàéäå for the record ;-) äà îñòàíå â àðõèâà.
<em class="quotelev1">> 
<em class="quotelev2">> > Àáå èìàøå ëè òàêîâà íåùî äà ñå ñåòíå òàéìàóò íà boot manager-à (â ñëó÷àÿ
<em class="quotelev2">> > LIoLiO) êàòî ñðåùíå  çîð (kernel panic) da èçòàéìàóòè è äà boot-íå äðóã
<em class="quotelev2">> > kernel?
<em class="quotelev1">> 
<em class="quotelev1">> Àêî â ìîìåíòà ðàáîòåùèÿ kernel äîñòèãíå äî "kernel panic", òî òîé ìîæå äà 
<em class="quotelev1">> reboot-ne ñèñòåìàòà ñëåä äàäåí èíòåðâàë îò âðåìå. ïðè "0" íÿìà äà ãî íàïðàâè.
<em class="quotelev1">> 
<em class="quotelev1">> kernel boot parameter - panic=<sec>
<em class="quotelev1">> proc/sys/kernel/panic <sec> ðàçëè÷íî îò íóëà.
<em class="quotelev1">> 
<em class="quotelev2">> > Àêî íÿìà ñåùàòå ëè ñå çà äîáúð íà÷èí äà ñå îñèãóðè ñèãóðåí safe reboot àêî
<em class="quotelev2">> > íå óñïåå linux-à äà loadne íîâèÿò êåðíåë è/èëè äà íå ìîæå äà mount-íå íåùî
<em class="quotelev2">> > è äà óâèñâà çàðàäè òîâà. ;-) 
<em class="quotelev1">> 
<em class="quotelev1">> Ïèòàíåòî å çàáëóæäàâàùî, èäå ðå÷ çà ïðåââèäåí èëè íåïðåäâèäåí reboot (see 
<em class="quotelev1">> above) íà ðàáîòåùèÿ â ìîìåíòà êúðíúë è ïîñëå çàðåæäàíå íà ïðîâåðåí ðàáîòåù 
<em class="quotelev1">> image. 
<em class="quotelev1">> 
Ìäàì ïðàâ ñè óñïåøíî *çàáëóäèõ* âñè÷êè âè êàêâî òî÷íî èñêàì ;-)
Áòâ. 10õ è çà íàïîìíÿíåòî çà tunå2fs çà âñåêè ñëó÷àé çà äà íå ñòèãà äî fsck ;-)
Áòâ2. Just another hint: Àêî ïî íÿêàêâà ïðè÷èíà ìàøèíàòà ñè çàïàëè áåç ïðîáëåìè 
ò.å â íîâèÿò kernel íå âúçíèêíå ïðîáëåì ïðè mount-âàíå íà ôàéëîâè ñèñòåìè èëè íåùî îò ñîðòà,
âñå îùå ñúùåñòâóâà øàíñ ìàøèíàòà äà íå çàïàëè network, êîåòî ñè å ñúùî òîëêîâà ôàòàëíî ;-)
Çàòîâà ñ åäíî ïðîñòî ñêðèïò÷å ìîæå äà ñè îñèãóðèòå ðåñòàðò àêî ñëåä ïúëíî çàðåæäàíå è ñòàðòèðàíå 
íà äåìîíè è ñêðèïòîâå ñå îïèòà äà ping-íå 2-3 ïúòè ïðåç îïðåäåëåí ïåðèîä 2-3 ñúðâúðà è fail-íå...òî òîãàâà 
åäèí ðåñòàðò îò ñêðèïòà ùå ðåñòàðòèðà îòíîâî è òîâà ùå ïîçâîëè íà Ëèëè äà ñòàðòèðà old and safe kernel.


<em class="quotelev1">> Äà, ìîæå äà ñå íàïðàâè ïðåäâàðèòåëíî çàïèñ íà òî÷íî îïðåäåëåí boot command 
<em class="quotelev1">> line â (master) boot record-a êîéòî äà ñå èçïúëíè, òàêà ÷å äà ñå çàðåäè ñëåä 
<em class="quotelev1">> ðåñòàðòà òî÷íî îïðåäåëåí image, êîéòî ñå çíàå, ÷å ðàáîòè. 
<em class="quotelev1">> 
<em class="quotelev1">> From: Alexander Atanasov <alex_at_ssi.bg>
<em class="quotelev1">> To: lug-bg_at_linux-bulgaria.org
<em class="quotelev1">> 
<em class="quotelev1">> default=old
<em class="quotelev1">> image=/boot/kernel1
<em class="quotelev1">>       label=old
<em class="quotelev1">> image=/boot/kernel2
<em class="quotelev1">>       label=new
<em class="quotelev1">> 
<em class="quotelev1">> 	lilo -R new
<em class="quotelev1">>         reboot
<em class="quotelev1">>         ako stane avtomatichen reboot puska defaultnia (old) koito e v
<em class="quotelev1">>  lilo.conf
<em class="quotelev1">> 
<em class="quotelev1">>
<em class="quotelev1">> Âñè÷êî òîâà ìîæå äà ñå èçïðîöåäèðà è íà remote çà âàñ machine... 
<em class="quotelev1">> 
<em class="quotelev1">> "cross your fingers & pray hard till login" ;-) 
<em class="quotelev1">> 
<em class="quotelev1">> -- 
<em class="quotelev1">> pub  4096R/0E4BD0AB 2003-03-18
<em class="quotelev1">> 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB <keyserver.bu.edu>
<em class="quotelev1">> 
<em class="quotelev1">> 
<em class="quotelev1">> ============================================================================
<em class="quotelev1">> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
<em class="quotelev1">> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
<em class="quotelev1">> To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
<em class="quotelev1">> ============================================================================


-- 
"Life is short - pray hard."

Man is certainly stark mad: He cannot make a flea,
yet he makes gods by the dozens. - Montaigne

--------------------------------------------------------
Public PGP key at: http://www.fadata.bg/pgp/micropgp.asc
--------------------------------------------------------


============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================

<hr>

Attachment: part
Description: PGP signature



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.