LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-22-2012, 12:49 AM   #1
BILLYKANE
Member
 
Registered: Feb 2008
Location: Hefei,Anhui,China
Distribution: Slackware;chakra
Posts: 96

Rep: Reputation: 22
linux on usb flash drive with suspend problem.


Hello all. I installed chakra linux on one usb flash disk. It works very well except the suspend function.Once I try to suspend (to memory) and resume, it says that the /dev/sda1(/ directory) was write-protected . I try to remount it, but get no lucky. When reboot ,fsck works and fixes some file system errors.

For logical reasoning,I find it is because when suspend, the USB driver( /dev/sda1 ) is power off, and this make file system error occurs, so /dev/sda1 was mounted as read-only.

Anyone know how to fix this problem?
 
Old 01-22-2012, 10:23 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Try pm-utils (pm-suspend) and see if that hooks & unhooks things any smarter. I would also check the suspednd/resume in the logs.
 
Old 01-23-2012, 03:40 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Are you using a live install to usb sort of deal or did you do a real normal install to that flash along with a swap file?
 
Old 01-24-2012, 06:12 AM   #4
BILLYKANE
Member
 
Registered: Feb 2008
Location: Hefei,Anhui,China
Distribution: Slackware;chakra
Posts: 96

Original Poster
Rep: Reputation: 22
I did a real normal install without swap.However, I tried to acitve my swap patition in my hard disk using swapon.There is also bugs report in launchpad, but no resolution:

https://bugs.launchpad.net/ubuntu/+s...ux/+bug/438379
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Flash Drive Problem - Light glows, but drive is not detected MihirSahasrabudhe Linux - Hardware 5 07-07-2010 08:51 AM
usb flash drive problem soumalya Linux - Desktop 3 06-01-2008 05:23 AM
USB flash drive problem Executor21 SUSE / openSUSE 4 12-17-2006 12:45 PM
Usb flash drive problem procfs Linux - Hardware 5 07-18-2006 10:51 PM
USB flash drive problem Kensai Mandriva 6 02-23-2004 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration