03-27-2012, 07:45 AM | #31 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Perhaps my posts where not clear, I did not suspect the USB communications. I wanted to be certain that the USB connection was positively identified before continuing with things to be done over it. A point in the procedure that I thought was important to include in the thread for the benefit of future readers. The alternate (displayed by the output of blkid) was to identify those device names to avoid because they named the devices holding another operating system. For this specific LiveCD and host machine, the devices /dev/sda and /dev/sdb |
|
03-27-2012, 08:02 AM | #32 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Oh, that part was more directed at ed007, since he mentioned above that he still suspects the USB controller. It just doesn't match my experiences with broken USB controllers.
As an aside note: I agree that USB controllers are quite notorious for breaking due to bad electrical design. A hacker friend of mine goes as far as saying "USB simply does not work". However, I think hardware designers have learned and now have some diodes in place that care for the worst electrostatical surges. This is somewhat mandatory as nowadays, USB controllers tend to be part of the SoC (and they are for Kindles). Note that the MMC is not - however, I wouldn't go as far as recommending to desolder the eMMC chip and replace it by another. At least if you never did SMD soldering before. |
03-27-2012, 08:20 AM | #33 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I do have a Kindle-3, it is open, it is lying next to the photo stand... But I haven't had the time (yet) to photograph the MMC part and locate its datasheet. I expect it will turn out to be a Hynix part, and Hynix is real good about publishing their datasheets. In the datasheet we should be able to learn where (if) they put the erase-block(s) that serve as the bad block table, the details for unlocking it and updating it. The erase-blocks used for the internal bad block table are usually on their own dedicated lock chain. And sometimes the read/erase/re-program commands are different. Since it appears that we only have to deal with one or two blocks, it should be practical to do this "by hand" (well, with general purpose commands). Once that bad block which the driver keeps running into is gone, the driver might just return to 'operation as normal'. Although I also agree that the driver could probably benefit from a touch of re-writing. At the moment, I have lost interest in this subject. Maybe when my own K3 starts to wear-out... |
|
03-27-2012, 08:50 AM | #34 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I did not say that, nor did I intend to "imply" what you are "inferring" about my comments. In fact, in a previous post I already mentioned that vfat supports bad-block mapping (if you do NOT select "quick" format) so the bad areas can be mapped out during a high-level format command. Running windows CHKDSK on the mounted USB drive can also map out bad sectors. There is no limit to how many bad blocks can be mapped out this way (unlike the 64MB device-driver spare blocks limit).
But even with bad block mapping, as I mentioned previously, there may be OTHER blocks that are near "end of life" that will not be mapped out and can reduce data retention and reliability. Just make sure you backup anything you want to keep to a reliable storage device and keep only COPIES on this mmc, and you should be fine. Quote:
Last edited by geekmaster; 03-27-2012 at 09:17 AM. |
|
03-27-2012, 03:56 PM | #35 |
Member
Posts: 19
Karma: 10
Join Date: Apr 2011
Device: pocketbook 603a
|
I thank all the participants for their help, I'll look for a donor.
|
03-30-2012, 11:36 PM | #36 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The machine in question here is the K3, which uses a Samsung KLM4G1EEHM, eMMC chip. Paraphrasing Samsung here: The embedded flash management software of the chip's on-board controller manages Wear Leveling, Bad Block Management and ECC. Ref: http://drpbox.knetconnect.com/k3/KLMxGxxEHx.pdf Page 4, Paragraph 4, First Sentence. |
|
03-31-2012, 01:26 AM | #37 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Spoiler:
Last edited by geekmaster; 03-31-2012 at 11:05 AM. |
|
03-31-2012, 07:27 AM | #38 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The standard document is a "controlled distribution" document, you can get your own copy here: http://www.jedec.org/standards-docum...cs/jesd-84-a43 For free after registration, also free. Samsung Electronics has also published an application note concerning the optimal trim size. Document is mirrored here: http://drpbox.knetconnect.com/k3/app...rim_size-0.pdf Another Samsung Electronics publication gives a pictorial description of the considerations to be made for direct writes to the device. Document is mirrored here: http://drpbox.knetconnect.com/k3/app...on_guide-0.pdf Last edited by knc1; 03-31-2012 at 07:47 AM. |
|
03-31-2012, 08:34 AM | #39 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
For someone with access to the special tools required for SMD re-work, replacing the eMMC chip would be an interesting challenge. But who keeds a K3 with a 64Gbyte eMMC chip? And not to forget the software changes that might be required to ensure the Samsung recommended write alignment behavior. (App. note referenced in post above.) If the O.P. is still around, this might be a good chance to actually do a significant hardware modification to the K3. |
|
03-31-2012, 08:45 AM | #40 |
Member
Posts: 19
Karma: 10
Join Date: Apr 2011
Device: pocketbook 603a
|
I have the tools to replace the chip mmc, but I'm sure the problem is not in it. And between him and the usb.
|
03-31-2012, 09:08 AM | #41 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
At this point in the thread we are only guessing that the problem is in the eMMC. That would need to be confirmed or denied first. One thing that might lead to a decision about the eMMC part would be to output the "Smart Report" the chip has available internally. See: http://drpbox.knetconnect.com/k3/KLMxGxxEHx.pdf Page 11, Section 4.2 and following. There is a relatively new tool for reporting the registers of MMC devices: http://git.kernel.org/?p=linux/kerne....git;a=summary I have "git clone'd" that repository and started reading the source to see if it covers the Samsung "Smart Report" function. But have not (yet) finished the reading and the comparing with the Samsung documentation. The tool is new, and from the small bit of source I have read, the author is working first on supporting the 4.3 MMC standard features and registers. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Could Kindle3 be updated on PC ? | superium | Kindle Developer's Corner | 4 | 09-26-2011 10:54 PM |
Troubleshooting My kindle3 got frozen, help me | schechow | Amazon Kindle | 8 | 07-11-2011 11:51 AM |
Kindle3, FW 3.1 - Caliber not seeing it | loximuthal | Devices | 2 | 02-20-2011 03:59 PM |
Classic Okay I Looked at the Kindle3 | Pomtroll | Barnes & Noble NOOK | 52 | 10-01-2010 10:31 AM |
Troubleshooting kindle3 gmail | desrtfreak | Amazon Kindle | 6 | 09-22-2010 10:28 PM |