View Single Post
Old 11-07-2010, 10:30 PM   #1
Vryali
Junior Member
Vryali began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2010
Location: Columbia, SC
Device: Kindle 3
Errno 30 : Read-Only filesystem

Solved: fsck.vfat -a /dev/sdb1 resolved
I've been a-googling with little luck, so I figured I'd post here. No matter what I seem to do I can't get Calibre to get past the read-only error.

1) Calibre does mount the device as I believe it should, using umask 077 and suchlike... No dice even though it does mount to the proper location with said umask.

2) I ran fsck.vfat just in case there were errors on the FS (Saw a post saying that would fix it), no dice.

3) I've tried removing the calibre-mount-helper so that it can't mount things and then mounting the device myself, I get the same error even when mounted as below:

/dev/sdb1 on /media/Kindle Main Memory type vfat (rw,noexec,nosuid,nodev,umask=000,uid=1000,gid=100 ,user=vry)

With the above I can manually move files to the device, but I get the same error from Calibre everytime.

Kinda at my wits end :'(

Code:
[Errno 30] Read-only file system: u'/media/Kindle Main Memory/metadata.calibre'

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/device.py", line 69, in run
    self.result = self.func(*self.args, **self.kwargs)
  File "/usr/lib/calibre/calibre/gui2/device.py", line 311, in _books
    mainlist = self.device.books(oncard=None, end_session=False)
  File "/usr/lib/calibre/calibre/devices/kindle/driver.py", line 177, in books
    bl = USBMS.books(self, oncard=oncard, end_session=end_session)
  File "/usr/lib/calibre/calibre/devices/usbms/driver.py", line 164, in books
    self.sync_booklists((bl, None, None))
  File "/usr/lib/calibre/calibre/devices/usbms/driver.py", line 305, in sync_booklists
    write_prefix(self._main_prefix, 0)
  File "/usr/lib/calibre/calibre/devices/usbms/driver.py", line 303, in write_prefix
    with open(self.normalize_path(os.path.join(prefix, self.METADATA_CACHE)), 'wb') as f:
IOError: [Errno 30] Read-only file system: u'/media/Kindle Main Memory/metadata.calibre'
Code:
Linux aria 2.6.35-ARCH #1 SMP PREEMPT Sat Oct 30 21:22:26 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux

local/calibre 0.7.27-1
Thanks in advance, I'd love to get this working

Last edited by Vryali; 11-08-2010 at 11:10 PM.
Vryali is offline   Reply With Quote