Few days ago I’ve blogged on How to workaround (fix) hibernate “PM: Cannot find swap device, try swapon -a†GNOME issues on Debian testing/unstable Linux
In that article I’ve suggested one possible fix to the hibernation issues I experienced with the error;
PM: Cannot find swap device, try swapon -a
Nevertheless just recently I have figure out another better solution to the hibernation issues I’ve experienced
I’ve noticed that for some reason the debian package linux-patch-tuxonice was missing in my current set deb package repository.
deb http://ftp.bg.debian.org/debian/
Changing this repository to deb http://ftp.nl.debian.org/debian/ and installing the linux-patch-tuxonice package actually solved the issue properly without any need for exchange of the script /usr/sbin/pm-hibernate with /usr/sbin/hibernate as I’ve earlier suggested in my article on how to fix the PM: Cannot find swap device try swapon -a
So the solution to the hibernation issue came out as easily as to installing the linux-patch-tuxonice deb package.
Thus the issues was properly and fully resolved by:
debian:~# apt-get install linux-patch-tuxonice
Now hibernation should start working once agian.
One more issue with the solition I’ve earlier pointed out with exchanging the /usr/sbin/pm-hibernate with the /usr/sbin/hibernate script was that using the hibernate in favour of pm-hibernate cause my system to crash sometimes after a system restore from hibernate.
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Hey long time now see, thanks for dropping back again! 🙂
More helpful Articles
- Business Research Projects – A Solution Oriented Approach (Electronic Book Download)
- How to enable Automatic login in GNOME GDM 2 on GNU / Linux
- Howto Remove (delist) your mail server IP from Hotmail, Live.com and MSN mail server blacklist
- Saving multiple passwords in Linux with Revelation and Keepass2 – Keeping track of multiple passwords
- What is Schengen (What does it mean for a country to accept & enter the Shengen agreement)
- Wine in The Central Park
- Cheated on the International Law Exam
- The Hindenburg disaster took place on Thursday, May 6, 1937, as the German passenger airship LZ 129 Hindenburg caught fire and was destroyed during its attempt to dock with its mooring mast at Naval Air Station Lakehurst, which is located adjacent to the borough of Lakehurst, New Jersey, United States. Of the 97 people on board (36 passengers and 61 crewmen), there were 35 fatalities (13 passengers and 22 crewmen). One worker on the ground was also killed, making a total of 36 dead. The disaster was the subject of spectacular newsreel coverage, photographs, and Herbert Morrison’s recorded radio eyewitness reports from the landing field, which were broadcast the next day. A variety of hypotheses have been put forward for both the cause of ignition and the initial fuel for the ensuing fire. The incident shattered public confidence in the giant, passenger-carrying rigid airship and marked the end of the airship era.
- Who were our ancestors – Genetic history of Europe – DNA – Truth or Machination from IGENEA
- How to check about infected files in clamav log files
- A bundle of nice spiritual Movies
- How to make a mirror of website on GNU / Linux with wget / Few tips on wget site mirroring
- Fix Mac OS X camera problems – Tell which application is using Mac OS X builtin Camera
- Install Cacti on Debian, CentOS, SuSE and Gentoo Linux – Tracking graphically server performance
Download PDF Tags: Resolve / Fix "PM: Cannot find swap device, try swapon -a" GNOME issue on Debian Squeeze/Sid
This entry was posted on Saturday, December 4th, 2010 at 3:56 pm and is filed under Linux, Linux and FreeBSD Desktop. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Mozilla/5.0 (X11; U; Linux i686; bg; rv:1.9.1.18) Gecko/20110324 Iceweasel/3.5.18 (like Firefox/3.5.18)
ЗдраÑти колега, надÑвам Ñе мога да пиша на българÑки, ако не — ще поÑтна отново на английÑки. И аз Ñ‚Ð¸Ñ Ð´Ð½Ð¸ Ñе озовах ÑÑŠÑ ÑÑŠÑ‰Ð¸Ñ Ð¿Ñ€Ð¾Ð±Ð»ÐµÐ¼ като тебе, или поне Ñимптомът е ÑÑŠÑ‰Ð¸Ñ — проÑловутото “PM: Cannot find swap device, try swapon -a”. Само че при мене ÑитуациÑта е малко по-различна: ÐаÑкоро Ñи прехвърлÑÑ… Дебиана от един диÑк на нов (по-бърз), Ñамо че бÑÑ… забравил да оÑÑ‚Ð°Ð²Ñ Ð¼ÑÑто за Ñуоп дÑл, та за начало карах ÑÑŠÑ ÑÑ‚Ð°Ñ€Ð¸Ñ Ñуоп дÑл на Ð¿Ñ€ÐµÐ´Ð½Ð¸Ñ Ð´Ð¸Ñк (което по принцип е доволно тъпа идеÑ, защото Ð´Ñ€ÑƒÐ³Ð¸Ñ Ð´Ð¸Ñк иначе не ми Ñ‚Ñ€Ñбва и Ñе въртеше Ñамо заради ÐµÐ´Ð¸Ð½Ð¸Ñ Ñуоп). Въпреки това обаче вÑичко Ñи работеше и хибернациÑта беше на 6. При това без никакви пачове и други проÑтотии (нито TuxOnIce, нито uswsusp), проÑто Ñ Ð½Ð¾Ñ€Ð¼Ð°Ð»Ð½Ð°Ñ‚Ð° вградена функционалноÑÑ‚ на кърнъла. ÐžÐ½Ñ Ð´ÐµÐ½ Ñе накарах най-Ñетне да оÑÐ²Ð¾Ð±Ð¾Ð´Ñ Ð½Ñкой друг ГБ за Ñуоп на Ð½Ð¾Ð²Ð¸Ñ Ð´Ð¸Ñк, и очаквах дори да бачка по-бързо. Е да, ама не. Тогава почна да излиза това Ñ cannot find swap device. Първо миÑлех, че му е малък Ñуопа, Ñлед това, че му е голÑм, пробвах още един куп неща, ама нъцки — както и да го Ð²ÑŠÑ€Ñ‚Ñ Ð½Ðµ щеше да тръгне. Ðа вÑичко отгоре по непонÑтни за мен причини ÑÐµÐ³Ð°ÑˆÐ½Ð¸Ñ Ð”ÐµÐ±Ð¸Ð°Ð½ теÑтинг не Ñъдържа нито TuxOnIce, нито uswsusp. Ð’ Ñтейбъл ги има, в ънÑтейбъл Ñъщо, ама в теÑтинг не… Така че Ñпоред мене при тебе проблемът не е бил в бг репозиторито, а във варианта на Дебиан. Ðз ползвам немÑкото репо, и там ги нÑмаше Ñ‚Ð¸Ñ Ð¿Ð°ÐºÐµÑ‚Ð¸, и в онлайн пакет браузъра на Дебиан (packages.debian.org) Ñъщо ги нÑма. Та Ð½Ð°ÐºÑ€Ð°Ñ Ñе наложи да мина временно на ънÑтейбъл, да инÑталирам uswsusp и да върна обратно на теÑтинг. Сега бачка, но така и не можах да разбера какъв беше проблема.
Иначе отноÑно TuxOnIce — ти как го инÑталираш него? Ðко правилно разбрах гореÑÐ¿Ð¾Ð¼ÐµÐ½Ð°Ñ‚Ð¸Ñ Ð¿Ð°ÐºÐµÑ‚ в Дебиан е пач към Ð¾Ñ„Ð¸Ñ†Ð¸Ð°Ð»Ð½Ð¸Ñ ÐºÑŠÑ€Ð½ÑŠÐ», а не към кърнъла, който е в Дебиан. Също така ми Ñе ще да Ñи ÑпеÑÑ‚Ñ Ñ€ÑŠÑ‡Ð½Ð¾Ñ‚Ð¾ компилиране на кърнъл и най-вече повтарÑнето на цÑлата процедура при вÑеки ъпдейт. Има ли нÑкакъв начин да Ñе автоматизира това, или Ñ‚Ñ€Ñбва вÑеки път от начало? И изобщо защо TuxOnIce не е в Ð¾Ñ„Ð¸Ñ†Ð¸Ð°Ð»Ð½Ð¸Ñ (или поне в дебианÑкиÑ) кърнъл? Щом не го вземат значи има причина…
Ðо иначе мерÑи за Ð¸Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ‚Ð¸Ð²Ð½Ð¸Ñ Ð¿Ð¾ÑÑ‚, научих нÑкои неща! И блогът като цÑло е интереÑен!
View CommentView CommentMozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
ЗдраÑти Mike,
Sega ne sym si na notebook-a kydeto mi e debian-a i ne sym siguren dali ima tux on ice ili ne trqbva da pogledna.
uswsusp дейÑтвително го липÑва в теÑтинг-а, Ñложи го от stable-а.
Иначе тухонце-Ñ ÐºÐ¾Ð¸Ñ‚Ð¾ Ñе инÑталира като packet миÑÐ»Ñ Ñ‡Ðµ е проÑто кернел екÑтенÑион, пак Ñ‚Ñ€Ñбва да погледна.
Като Ñе кордиÑам на лаптоп-а Ñи ще ти кажа кое как е.
Поздрав
View CommentView CommentMozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6
ЗдраÑти Mike 😉
Сега погледнах,
Ðе ползвам tuxonice, имам го инÑталирано като patch file пакет, но не го ползвам реално.
uswsusp, е възможно ако го нÑмаш в unstable да пробваш да инÑталираш stable верÑиÑта Ñ repository-то на stable в /etc/apt/sources.lists и поÑле да върнеш обратно repo-тата на unstable.
Поздрав!
View CommentView CommentГеорги