![]() |
#31 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Are we now using the "someone else's" image? Are we now using the one you built yourself? Thread is tagged "K5" - which arch are you using, armel or armhf? |
|
![]() |
![]() |
![]() |
#32 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Armel, afik
|
![]() |
![]() |
![]() |
#33 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
dasmoover had a debian image that installed with an extension for yifanlu's touch menu. You could do apt-get to install stuff from the debian repo when chrooted to it.
I also used an arm BackTrack image that was larger than 2GB, so to fit it on vfat, I removed stuff from it I was not using, then copied its files to a 2GB image file. I played with nmap on the kindle a bit. I also had kismet working on the kindle. I also have a working "John the Ripper" that runs on the kindle, but a LOT slower than on a host PC. But that was on the K3. On the K5, I only had success with chroot on diags. Both I and dasmoover had virtually bricked our K5's trying to do chroots from main (until I developed "select boot" to debrick my and dasmoover's K5s). Last edited by geekmaster; 06-26-2012 at 04:27 PM. |
![]() |
![]() |
![]() |
#34 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 85746
Join Date: Jun 2012
Device: Kindle Touch
|
I made a new image from stable today, until now, I had been using an image I made from the testing repos. both created with deboostrap with arch=armel.
Both of them freeze while doing things on the kindle, but are fine when copied back to a host PC and ran with user-mode qemu. with the squeeze image, I didn't need to call apt-update, since it was already done on the host-pc before copying over. I even managed to do an apt-get install from the kindle without it crashing! unfortunately, it wasn't that the problem went away, it just seems like it just managed to finish before freezing. I tryed to install another larger package, and froze while unpacking... ( good news though! I can play tetris as long as I like! ) regarding diags mode, Theres two reasons I see why I don't really want to go that route: 1. no ssh access means I have to flash a new image there, which I'm nt sure I'm ready to do at this point. 2. from information in several posts before, you seem to say that it drains batteries several times faster than main mode. however I might end up there soon... |
![]() |
![]() |
![]() |
#35 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
That should have been dealt with by now, but perhaps it still requires more resources than are available. One way to minimize the resource requirements - have an absolute minimum number of repositories listed in /etc/apt/sources.list If that doesn't do it - now that you are running Deb-6 (which should be a fairly close match in age with the Kindle kernel) - - - It will not be changing that often - you can copy off you chroot environment file and do the "apt-get update" and "apt-get dist-upgrade" under qemu - say once every 2 or 3 months. The two hung processes you noticed both take large amounts of ram - the log rotate only needs it briefly but it probably made its request at "just the wrong time" during the apt-get update fetch. You should be able to manage when (and if) the log rotate daemon runs - it is usually a cron job. Do a crontab -l and edit it with crontab -e as required to make it behave. PS: This is not impossible to do - I run Debian on my NSLU-2 with only 32Mbyte of ram, and have successfully rebuilt the Debian base install packages from source (twice). Added note: It does take awhile - like days, its only a 233Mhz machine. ![]() Last edited by knc1; 06-26-2012 at 08:41 PM. |
|
![]() |
![]() |
![]() |
#36 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
There have been reports of some newer firmware erasing files from /usr/local to break SSH on a reboot though... P.S. On my K3, running in chroot, it took 12 hours to build X11. Builds in a K5 should be faster... |
|
![]() |
![]() |
![]() |
#37 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Oct 2012
Device: K4NT, K5Touch
|
The same problems with apt-get as described above, including a heavily bricked K5, happend to me, too.
After replacing Code:
mount -o loop -t ext3 /mnt/us/debian.ext3 /mnt/debian Code:
mount -o loop -t ext3 /mnt/base-us/debian.ext3 /mnt/debian This avoids file transfers through that strange mount loop on /mnt/us. RAM monitoring with Code:
free -s 5 As I don`t understand that strange /mnt/us loop, I don`t know, whether this is save. Up to now it works. BTW: I have no swap file/partition. Debian version is testing. /etc/issues says wheezy/sid. |
![]() |
![]() |
![]() |
#38 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Can somebody please explain the difference between /mnt/us and /mnt/base-us, and when we should use which one, and why the startup scripts generally use /mnt/us? Is there a reason why a loop mount would hang on /mnt/us but work on /mnt/base-us, or is that just coincidental here? Thanks. |
|
![]() |
![]() |
![]() |
#39 | |
( ͡° ͜ʖ ͡°){ʇ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:
That is of course only from my reading of the DIAGS monolithic startup script. but I have to believe the code is cut-pasted from the main startup. but in terms of mounting details the permissions are set differently permissions based nomenclature. If there was another permission I missed then you can find it in the upstarts mount section but that was the big difference I noticed between the two calls. Last edited by twobob; 10-24-2012 at 08:37 PM. Reason: put in some names |
|
![]() |
![]() |
![]() |
#40 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Anything that upsets the operation of the kernel's VFS layer should have left messages in the kernel message file.
That message may not have survived the system hang. If that is why no message is seen, monitor the kernel's operator console port. |
![]() |
![]() |
![]() |
#41 | |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Unfortunately, I don't know for sure whether these requests are modified by proxy in any way and, if so, when and how they are modified. Once I've read on this forum that fsp serves for holding requests on pause if real parition isn't available at the moment. But I didn't check this theory (or, maybe, fact?) by myself, because I don't know how to do it. |
|
![]() |
![]() |
![]() |
#42 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Last edited by geekmaster; 10-24-2012 at 09:31 PM. |
|
![]() |
![]() |
![]() |
#43 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
|
![]() |
![]() |
![]() |
#44 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
|
![]() |
![]() |
![]() |
#45 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Perhaps. Perhaps not. I don't know for sure. (BTW, it is /mnt/us => proxy => /mnt/base-us, not the other way. Access to /mnt/base-us isn't proxied.).
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |