10-15-2012, 09:35 PM | #16 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
Mine required a binary patch. as may others in the future. solution found. thanks for the report though!
|
10-15-2012, 09:43 PM | #17 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Just sayin' |
|
10-15-2012, 09:50 PM | #18 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
@ixtab: But that course would not have turned up the reason.
|
10-15-2012, 09:55 PM | #19 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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:
I documented it. a few times. Once you startup the DIAGS it wipes the /blah/local. Last edited by twobob; 10-15-2012 at 10:12 PM. |
|
10-15-2012, 10:11 PM | #20 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Code:
$ strings /mnt/opt/factory/system_diags |grep local localtime /usr/local/bin/dropbearmulti mkdir -p /usr/local/sbin /usr/local/sbin/dropbearkey /usr/local/sbin/dropbear rm -f /var/local/system/low_batt |
|
10-15-2012, 10:15 PM | #21 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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:
but on my device that is what happens. Over and over. Don't make me break it again to prove it ;( I didn't just create that rogue bin on my own. and I did install your files at least twice. I noted the fancy progress text (err, and those diags sshd upstart entries were yours, No?) So impossible, No, odd, yes. something somewhere must be doing something unexpected. That's as specific as I am going to get. but it's real. B011 device. Last edited by twobob; 10-15-2012 at 10:19 PM. |
|
10-15-2012, 10:20 PM | #22 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
I can only speculate here, but the reason seems much simpler: people get their device into USB mode (while running in main), but forget to unplug and re-plug the cable so that the host would actually recognize it as a new device and set up the network interface.
(Yes, this keeps happening to me, too.) |
10-15-2012, 10:28 PM | #23 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Can you try to *manually* overwrite the diags partition using the commands (and the file) from the update.bin, and check if it keeps happening afterwards? (or... even better: compare the md5sums of the diags partition "before" and "after") ? I have always been suspicious of whether the update.bin *really* worked the way that it should (it goes through just a bit too fast for my personal taste, so *maybe* it's actually not doing what it should do.) - then again, it always worked correctly on my device, and geekmaster confirmed that it worked smoothly on "demo K5 devices"... |
|
10-15-2012, 10:45 PM | #24 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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:
the challenges we face |
|
10-16-2012, 09:01 AM | #25 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
**AND** the things executed in that EUS may be different on 2bob's system. I have not (yet) taken apart his initial 32Mbyte eMMC area to confirm the above but we have seen 'left overs' in the ps aux listing. |
|
10-31-2012, 08:06 AM | #26 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Now... why on earth does it not work from the update.bin? The dd command gets executed (and yes, I have verified that it changes at least something on the diags partition, by creating a test file in diags, running the update.bin [which doesn't contain that file], and verifying that the file was gone afterwards), and runs for about 5 seconds (only). So, first question is: how can that be? It seems like it is killed by something. I'm not too familiar with these "policy" things, but could it be that something like a ulimit/something similar is set, which would kill a process after some time? And... if so, my understanding is that the diags partition should actually be a complete mess, with a broken FS. But it seems to be just fine, even with an "aborted" dd. WTF is going on here? EDIT: just for completeness, and to make things even stranger: while the dd runs through too fast (5 secs, where it should really take something like 10 or 20), which makes me think that it gets aborted, it still returns a 0 exit code. Last edited by ixtab; 10-31-2012 at 09:08 AM. |
|
10-31-2012, 08:24 AM | #27 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@ixtab: Well, after a quick look at the package, it at least unearthed a stupid bug in KindleTool, but I'm not sure it's actually harmful since everything runs as root... (When creating a tarball, directories end up with broken permission: they're not searchable).
Will continue looking into it... EDIT: Not sure what's the $PWD during the update process when the install script is in a subdirectory, and since it's using relative paths, I'm not quite sure it's actually finding the kernel & partition dumps... (Try repacking it with -C ?) [I'm still confused, like you, as to why that wouldn't completely wreck the FS, though. But I'm not familiar with dd, and even less with busybox's implementation, so, there may be some *nix magic at work here ^^] Last edited by NiLuJe; 10-31-2012 at 08:40 AM. |
10-31-2012, 09:10 AM | #28 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
|
|
11-18-2012, 08:59 AM | #29 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Touch USB Networking/SSH | ChrisKaos | Kindle Developer's Corner | 55 | 02-22-2013 09:53 AM |
Kindle Touch SSH access? | firite | Kindle Developer's Corner | 3 | 05-03-2012 09:36 AM |
how to ssh into Kindle | thomass | Amazon Kindle | 4 | 04-11-2011 10:48 AM |
ssh from Kindle 3 | aKarma | Kindle Developer's Corner | 6 | 09-21-2010 08:59 PM |
SSH to Kindle | Zorz | Kindle Developer's Corner | 16 | 01-15-2010 01:18 AM |