![]() |
#46 | |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 87422
Join Date: Sep 2012
Device: Kindle Touch
|
Quote:
You can also make a new node inside /dev/ called swap for easier access: Code:
mknod /dev/swap b 7 8 #b=block device, 7=use loop driver, 8=loop device number Code:
mkdir /mnt/us/swap cd /mnt/us/swap Code:
dd if=/dev/zero of=swapfile bs=1M count=128 mkswap swapfile Code:
losetup /dev/swap /mnt/us/swap/swapfile swapon.sh Spoiler:
swapoff.sh Spoiler:
Swap on...swap off Sounds like wax on, wax off from the original Karate Kid, if you know what I'm talking about ![]() Last edited by AeroFengBlade; 10-26-2012 at 04:00 PM. |
|
![]() |
![]() |
![]() |
#47 |
Official Lurker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
![]() I liked the old Karate Kid movie better than the new one... |
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
No host found for xkid.biz
|
![]() |
![]() |
![]() |
#49 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
So yeah. it's down... so I dug around...
Quote:
Which looks a lot like https://www.mobileread.com/forums/showthread.php?t=96048 here's more of the same: http://tomashg.com/?p=330 hope that helps enjoy Last edited by twobob; 10-31-2012 at 07:23 AM. |
|
![]() |
![]() |
![]() |
#50 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 87422
Join Date: Sep 2012
Device: Kindle Touch
|
Luckily I downloaded the image a few days before it went down (like a few months ago). I don't have the original, but if you want my current copy of it, I'm currently uploading it.
|
![]() |
![]() |
Advert | |
|
![]() |
#51 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 87422
Join Date: Sep 2012
Device: Kindle Touch
|
Ok guys, here it is:
https://dl.dropbox.com/s/mft5c4vgjk8...t3.tar.gz?dl=1 It's on Dropbox since it's too large to attach, and because I don't have a site to host it on. |
![]() |
![]() |
![]() |
#52 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
for a ge.tt mirror of that mate. HTH |
|
![]() |
![]() |
![]() |
#53 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17
Karma: 17948
Join Date: Oct 2012
Device: KT
|
Using /mnt/base-us seems to work unless you are accessing userstore from host PC at the same time.
The lock ups might not be caused by loop mounting in general, but by fsp. /etc/fstab includes: Code:
fsp#/mnt/base-us /mnt/us fuse rw,max_write=65536,max_readahead=65536,noatime,exec,nosuid,nodev,nonempty Code:
strings /sbin/fsp Code:
ps -eo %mem,rss,args | grep fsp Code:
0.4 1116 fsp /mnt/base-us /mnt/us -o rw,nosuid,nodev,noatime,max_write=65536,max_readahead=65536,nonempty |
![]() |
![]() |
![]() |
#54 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I use winscp (on linux) to push stuff onto the mounted /mnt/debain/stuff/here directly from my linux mint box.
never had a complaint, mounted or otherwise. Since that works flawlessly seemingly I am sticking with that. HTH (it's mounted via /mnt/base-us IIRC at mount time) |
![]() |
![]() |
![]() |
#55 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
At least it does if you want the device nodes to work within the chroot environment. Note the "nodev" attribute on /mnt/us. |
|
![]() |
![]() |
![]() |
#56 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
![]() |
![]() |
![]() |
#57 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
That clears my cross compiling nightmares!
|
![]() |
![]() |
![]() |
#58 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
![]() Quote:
losetup /dev/swap /mnt/base-us/swap/swapfile I run mine via base-us. Unsure if this has any impact but the other way occasionally locked up. (possibly the whole Fuse file proxy thing again) Thought I would share... ![]() |
|
![]() |
![]() |
![]() |
#59 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Yup - you can't run swap over the anything fuse - it is a deadlock path in the kernel.
I think the same restriction applies to NFS (or, at least, it used to apply). And there is no reason to turn the swap file into a device - 'swap' can use a file as well as a device. So just "use it" as a file after you run mkswap on it. |
![]() |
![]() |
![]() |
#60 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 929
Karma: 15576314
Join Date: Jan 2013
Location: Ely, Cambridgeshire, UK
Device: Kindle Oasis 3, Kindle Oasis 1
|
Recent kernels can swap over NFS, but it was a very hard problem: a huge patchset brewing for literally years. The solution involves an emergency memory pool that the network subsystem can dip into for packet buffers, so it won't make it any more possible to swap to FUSE. *That* is risky as hell even if you mlockall() your entire FUSE daemon into memory, because stack allocations can still happen...
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Troubleshooting my kindle3g locks up when I go online | carbide08 | Amazon Kindle | 5 | 08-21-2011 02:35 PM |
Kobo locks up on this ePub | RSaunders | Devices | 3 | 08-10-2011 01:55 PM |
Library Software Locks Up | sakura-panda | Sony Reader | 8 | 01-02-2010 01:40 AM |
Document locks up Kindle 2 | Rhett | Amazon Kindle | 0 | 10-25-2009 07:45 PM |
HanLin V3 locks up | roytravis | HanLin eBook | 8 | 05-27-2009 10:03 AM |