I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / MSN Companion
Is my internal flash dying?
Is my internal flash dying?

New MessageIs my internal flash dying? (modified 0 times) semprini
Profile
I'm attempting to set up a new-to-me, but very used IA-1 with the Midori image. Using Win2k w/diskprobe and a PC Card CF writer, I'm successful with Eltorito, however when I 'dd' the Midori (or Jailbait... or Workstation... or Jukebox...) image, I'll always get an input/output error while writing to block 9599.

So out of curiosity, I tried to NULL out the internal flash using:
dd if=/dev/zero of=/dev/hda count=31296

I get the same 'dd' error at the same location. It appears that I'm able to write Eltorito due to the size since I'm not hitting that block.

Any thoughts or workarounds for this one?

10-30-2003 11:13:02

New MessageRE:Is my internal flash dying? (modified 0 times) geo_fr
Profile
hi

I've the same problem ...
Try to make an e2fsck /dev/hdc ...

For me, I've 2 bad blocks on the internal flash drive ... too bad ...
The guy which sell it to me, don't want to respond to my request (bad eBayer )

I think that the writing number cycles was exceeded ...

I'll buy an external Sandisk 16Mb compact flash, and I'll try to unsoldering the SAN chip, to soldering
it into the IA-1 motherboard ....

I'll post the result here ...


--== Geo ==--
11-03-2003 08:26:10

New MessageRE:Is my internal flash dying? (modified 0 times) geo_fr
Profile
hi

semprini, do you have a new information about your problem ?

for mine, I'll try to sold a new flash memory on the mother board ...


--== Geo ==--
01-09-2004 02:03:45

New MessageRE:Is my internal flash dying? (modified 0 times) semprini
Profile
I didn't really solve the problem, but I'm working around it. I created a custom Midori image and now I just boot from and use the CF card instead of using the internal flash. So now my Midori CF card is always plugged in and the interal is never used.
01-12-2004 10:05:30

New MessageRE:Is my internal flash dying? (modified 0 times) geo_fr
Profile
which parameters should I modify to only use the external flash mem ?

I've already try to do this but without success ...

Thanks


--== Geo ==--
01-14-2004 00:50:52

New MessageRE:Is my internal flash dying? (modified 0 times) semprini
Profile
Depending on your Linux comfort level, it's reasonably easy and you only have to do it once.

If hou haven't already, get a Midori build environment set up. There is a tutorial on www.ia1hacking.com under the Linux OS-Specific articles.

Hex-edit byte 0x1fd in midori/target/cramfsboot.bin from 0x03 to 0x16 with your favorite hex editor, or use the following steps to do so:

xxd cramfsboot.bin > cramfsboot.bin.tmp
vi cramfsboot.bin.tmp
<find the byte, change the value, save and exit>
xxd -r cramfsboot.bin.tmp > cramfsboot.bin

Find the text 'hda' in the following files and change any references to 'hdc':
root/sbin/freezesh
root/sbin/thaw
root/sbin/init

Do a build, copy it to a CF and boot it up.

Another benefit of using a CF is that you can also modify the build for a larger card, giving you more room on the filesystem (say, to add RealPlayer, or other choice linux apps).

01-14-2004 08:15:32

New MessageRE:Is my internal flash dying? (modified 0 times) geo_fr
Profile
ok, thanks, but with the VI method, which byte should I found ? 0x1fd ? and replace with which value ?

Cheers


--== Geo ==--
01-15-2004 04:07:08

New MessageRE:Is my internal flash dying? (modified 0 times) semprini
Profile
Change byte 0x01fd from 0x03 to 0x16.

The last 16 bytes of the file looks something like:
000001f0: 0000 0000 0000 0000 0000 0000 0103 55aa

Changing byte 0x01fd will result in:
000001f0: 0000 0000 0000 0000 0000 0000 0116 55aa

If you're not a vi user, the "r" key replaces the character under the cursor. Save and exit (":wq"), and convert it back to binary with the 'xxd -r' command.

01-15-2004 07:06:20

New MessageRE:Is my internal flash dying? (modified 0 times) geo_fr
Profile
ok, thanks

I'm not a newbie in IA, or linux, but I never 'hack' a file directly in HEX mode

I will test this procedure during this week end

Thanks


--== Geo ==--
01-15-2004 23:35:47

New MessageRE:Is my internal flash dying? (modified 0 times) semprini
Profile
Good luck. Let me know how it goes and if you have any problems.
01-16-2004 17:48:35

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3