Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Laptop killer bug

[es] :: Linux hardware :: Laptop killer bug

[ Pregleda: 2139 | Odgovora: 8 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

gensher
above

Član broj: 68211
Poruke: 74
*.adsl-1.sezampro.yu.



Profil

icon Laptop killer bug16.10.2008. u 13:44 - pre 188 meseci
Ciao.

Imam problem:

Naime, uzeo sam skoro laptop i instalirao dual boot XP i Ubuntu s namerom da se presaltam na Linux, ali sam nakon prvog zapucavanja Ubuntua 'provalio' da postoji 'laptop killer bug' i od tada ga dizem 99% vremena na XP.

Zanima me moze li neko napraviti step-by-step tutorial kako da se zastitimo od laptop killer buga, tj. kako ide to neko iskljucivanje tog 'park unpark' sta li? Malo mi sto sve ide teze kad je linux u pitanju, tj. da budem precizniji od prilike nemam pojma o cemu ti ljudi pricaju na eng sajtovima i ne kontam njihova upustva.

Unapred zahvalan
Pozdrav
"Anyone who doesn't believe in miracles is not a realist."
-David Ben-Gurion

"Logic will get you from A to B. Imagination will take you everywhere."
"Imagination is more important than knowledge"
Albert Einstein
 
Odgovor na temu

Stefan Markic

Član broj: 82674
Poruke: 759
*.dynamic.sbb.rs.



+73 Profil

icon Re: Laptop killer bug16.10.2008. u 14:17 - pre 188 meseci
Pa moras prvo da nam kazes o kojem se bug-u radi.
 
Odgovor na temu

Srđan Pavlović
Specijalna Edukacija i Rehabilitacija MNRO
Vojvodina, Bačka Palanka

Član broj: 139340
Poruke: 5571
79.101.195.*

Sajt: www.oligofrenolog.com


+382 Profil

icon Re: Laptop killer bug16.10.2008. u 16:04 - pre 188 meseci
Citat:
to neko iskljucivanje tog 'park unpark' sta li?


Kako se bug manifestuje? Dakle, sta se desava pri radu u Linuxu sto mislis da ne bi
trebalo da se desava? To sto je neko dao nekom posebnom bagu nadimak, ne znaci
da svi ovde znaju o cemu se radi :) (killer-bug, Pera-bug, Mika-bug... ne moze tako)
 
Odgovor na temu

fade
Šalingrad

Član broj: 43688
Poruke: 2906
*.magnetplus.net.



+69 Profil

icon Re: Laptop killer bug16.10.2008. u 16:38 - pre 188 meseci
Mozda je covek na google nasao da se tako zove, ja sam ukucao isto, i dobio resenje, hmm, zanimljiv taj google mnogo...

Inace, problem je sto taj bug neprestano pali i gasi hdd, cime mu i smanjuje zivotni vek, inace, na google se moze naci i kao laptop hdd bug

Malo vise info-a na http://ubuntudemon.wordpress.c...26/laptop-hardrive-killer-bug/

A koliko vidim, resenje je otvoriti /etc/default/acpi-support i "zatarabiti" tj staviti # ispred laptop-mode. Onda system ne bi trebalo da vishe pali/gasi hdd, radice neprestano, i eto, problem resen...

Inace, ovo je pokusaj ljudi iz Ubuntu-a da sacuvaju sto vise energije, ali izgleda da su bili previse pohlepni.
Ko zna zna, ko ne zna 6.
 
Odgovor na temu

Srđan Pavlović
Specijalna Edukacija i Rehabilitacija MNRO
Vojvodina, Bačka Palanka

Član broj: 139340
Poruke: 5571
79.101.144.*

Sajt: www.oligofrenolog.com


+382 Profil

icon Re: Laptop killer bug16.10.2008. u 18:19 - pre 188 meseci
Citat:
The script that’s executed when you plug or unplug your laptop is /etc/acpi/power.sh. The relevant sections are:

function laptop_mode_enable {
...
$HDPARM -S $SPINDOWN_TIME /dev/$drive 2>/dev/null
$HDPARM -B 1 /dev/$drive 2>/dev/null
}

That is, when the laptop_mode_enable function is called, we set the drive power parameters. Now, by default laptop_mode_enable isn’t called:

if [ x$ENABLE_LAPTOP_MODE = xtrue ]; then
(sleep 5 && laptop_mode_enable)&
fi

because ENABLE_LAPTOP_MODE is false in the default install (check /etc/default/acpi-support). This means that, by default, we do not alter the hard drive power settings. In other words, the APM settings that your drive is using in Ubuntu are the ones that your BIOS programmed into it when the computer started. This is supported by the fact that people see this issue after resuming from suspend. We don’t touch the hard drive settings at that point, so the only way it can occur is if your BIOS or drive default to this behaviour.

If you enable laptop mode, then we will enable aggressive power management on the drive and that may lead to some reduction in hard drive lifespan. That’s a fairly inevitable consequence of laptop mode, since it only makes sense if the laptop enages in aggressive power management. But, as I said, that’s not the default behaviour of Ubuntu.

There’s certainly an argument that we should work around BIOSes, but in general our assumption has been that your hardware manufacturer has a better idea what your computer is capable of than we do. If a laptop manufacturer configures your drive to save power at the cost of life expectancy, then that’s probably something you should ask your laptop manufacturer about.


Dakle radi se o power-savingu VS trajanju HDD-a = negde mora da se napravi kompromis. Ovde gore se objasvanja da se taj kompromis
prepusta onome koji pravi racunar sto je OK, (BIOS, hdd-firmware), a Ubuntu ovo NE MODIFIKUJE po defaultu, ali onaj ko zeli da vise
cuva struju ali da mu po cenu toga krace traje HDD, mozde da ukljuci laptop_mode (lepo pise da je laptop-mode FALSE po default install-u)

Ili objasnjenje "na srpskom" za one koji se manje razumeju: To je isto kao kada neki elektricni uredjaj palite i gasite
mnogo puta (recimo najobicnija sijalica) - ustedecete struju dok je on ugasen i tu je dobitak u tom smislu, ali ce sama sijalica krace
trajati od tog drndanja i sokova zbog visestrukog paljenja (slica stvar je i ovo sa HDD-om u laptopovima, stalno parkiranje glave HDD-a) -
dakle, stvar je da KORISNIK ODLUCI sta je njemu samom bitnije.

Citat:
The following things might instead cause aggressive power management settings :

* your (laptop) harddrive firmware might have aggressive power management defaults (operating system independent)
* your (laptop) BIOS might set your harddrive to use aggressive power management (operating system independent)
* you might have enabled laptop-mode in /etc/default/acpi-support (disabled by default) which will set your harddrive to use aggressive power management

These aggressive power management settings are set by your BIOS or harddrive firmware. Windows and/or Mac OS X might be overriding these settings which might make Ubuntu look bad if Ubuntu doesn’t override these settings.









[Ovu poruku je menjao nemysis dana 20.10.2008. u 00:52 GMT+1]
 
Odgovor na temu

gensher
above

Član broj: 68211
Poruke: 74
*.adsl-1.sezampro.yu.



Profil

icon Re: Laptop killer bug16.10.2008. u 18:33 - pre 188 meseci
i u principu ne moram nista da radim, tj. da slobodno koristim Ubuntu i da je to sto mi se taj jedan put zapucao bilo zbog toga sto sam mu previse stvari zadao da izprocesuje odjednom?
"Anyone who doesn't believe in miracles is not a realist."
-David Ben-Gurion

"Logic will get you from A to B. Imagination will take you everywhere."
"Imagination is more important than knowledge"
Albert Einstein
 
Odgovor na temu

Srđan Pavlović
Specijalna Edukacija i Rehabilitacija MNRO
Vojvodina, Bačka Palanka

Član broj: 139340
Poruke: 5571
79.101.144.*

Sajt: www.oligofrenolog.com


+382 Profil

icon Re: Laptop killer bug16.10.2008. u 18:38 - pre 188 meseci
Razloga da se neki OS "zapuca" moze biti milion, ali je ovaj oko koga se
razvukla ova tema najmanje verovatan :) (ne manifestuje se tako).

Dakle proveri za svaki slucaj da ti nije setovano to laptop_mode, ako
se bas bojis ovoga za HDD, mada licno mislim da je taj problem malo prenaduvan.
 
Odgovor na temu

fade
Šalingrad

Član broj: 43688
Poruke: 2906
*.magnetplus.net.



+69 Profil

icon Re: Laptop killer bug16.10.2008. u 21:39 - pre 188 meseci
Gledaj to ovako, i windows ti zapucao 50 puta, pa ga koristis, i kola su ti se pokvarila na pola puta, pa ih vozis, nista nije savrseno, pa tako ni ubuntu, jos uvek :)
Ko zna zna, ko ne zna 6.
 
Odgovor na temu

[es] :: Linux hardware :: Laptop killer bug

[ Pregleda: 2139 | Odgovora: 8 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.