Go to advanced search

by gsh
Fri Sep 06, 2013 7:28 pm
Forum: General discussion
Topic: Unreliable Unreliable Unreliable
Replies: 81
Views: 15222

Re: Unreliable Unreliable Unreliable

The current Raspbian version on the downloads page contains the timeout fix. Be good to just run through the process of imaging, booting it a couple of times and it getting corrupted. Just note down the number of reboots it took in each case just so I know how many times to reboot before giving up! ...
by gsh
Fri Sep 06, 2013 6:38 pm
Forum: General discussion
Topic: Unreliable Unreliable Unreliable
Replies: 81
Views: 15222

Re: Unreliable Unreliable Unreliable

If so then send that card to me at Ok, I found a card - tested it on a couple of Pi boards. This card frequently corrupts on Pi boards but verifies as good when tested on a PC. It will go in the first post tommorow so you should get it sometime during the week. Thanks, Jon When you say "tested it o...
by gsh
Fri Sep 06, 2013 5:52 pm
Forum: General discussion
Topic: Unreliable Unreliable Unreliable
Replies: 81
Views: 15222

Re: Unreliable Unreliable Unreliable

What did you use those for? What were they doing? Were you just running Raspbian on it?

Gordon
by gsh
Fri Sep 06, 2013 6:03 am
Forum: General discussion
Topic: Unreliable Unreliable Unreliable
Replies: 81
Views: 15222

Re: Unreliable Unreliable Unreliable

If you're seeing corruption of a big block of 0xff then it's almost definitely the SD card doing it's wear levelling magic being interrupted. As I said before there is a CRC on the data (and on the command line) so it won't do something you didn't ask it to do, although it _is_ possible to not do so...
by gsh
Thu Sep 05, 2013 9:04 pm
Forum: General discussion
Topic: Unreliable Unreliable Unreliable
Replies: 81
Views: 15222

Re: Unreliable Unreliable Unreliable

By the way there is no media corruption, this is just not possible... We can only ever write exactly what we meant to (the SD card communication system is well protected by a CRC32) Unfortunately if there is a EMC spike in the middle of a transaction then the write will fail. That's of course the eq...
by gsh
Thu Sep 05, 2013 8:57 pm
Forum: General discussion
Topic: Unreliable Unreliable Unreliable
Replies: 81
Views: 15222

Re: Unreliable Unreliable Unreliable

We had a power cut this week and our debian based bugzilla server crashed and took the filesystem with it. We've got a UPS on order...
by gsh
Thu Sep 05, 2013 8:25 pm
Forum: General discussion
Topic: Unreliable Unreliable Unreliable
Replies: 81
Views: 15222

Re: Unreliable Unreliable Unreliable

Basically if you want to be able to do that you need to recompile the linux OS with a ramdisk. There are lots of examples of doing this for example NOOBS is built using buildroot which does this for you. With a ramdisk you'll never corrupt your filesystem because it's stored in a completely differen...
by gsh
Thu Sep 05, 2013 8:16 pm
Forum: General discussion
Topic: Unreliable Unreliable Unreliable
Replies: 81
Views: 15222

Re: Unreliable Unreliable Unreliable

OK, Sounds like you've got some specific Pi's that cause the problem, thats a great step forward (believe it or not!) Send it to me at the adddress and I'll get a good look through... If you've got a specific card that seems to corrupt quicker than others send that as well (timing is really importan...
by gsh
Thu Sep 05, 2013 8:00 pm
Forum: General discussion
Topic: Unreliable Unreliable Unreliable
Replies: 81
Views: 15222

Re: Unreliable Unreliable Unreliable

So you have a card that will reliably corrupt its filesystem after only a couple of reboots? I assume this is with the latest Raspbian release? Have you tried it in different Raspberry Pi's? If so then send that card to me at Gordon Hollingworth Raspberry Pi Mount Pleasant House Mount Pleasant Cambr...
by gsh
Thu Sep 05, 2013 7:52 pm
Forum: General discussion
Topic: Unreliable Unreliable Unreliable
Replies: 81
Views: 15222

Re: Unreliable Unreliable Unreliable

OK, So to solve this problem what you need to do is this: 1) Show that it is reproducible within a short period when working correctly with the latest raspbian release. If you can't reproduce it on Raspbian and instead only on Arch Linux or RaspBMC etc that's fine, but it needs to be the latest rele...
by gsh
Tue Sep 03, 2013 6:15 pm
Forum: General discussion
Topic: ext3/4 and SD-card wear leveling
Replies: 134
Views: 64166

Re: ext3/4 and SD-card wear leveling

No the person I was talking to was responsible for SD and eMMC parts only. If you do copy first then you're not going to break the data integrity.

Gordon
by gsh
Tue Sep 03, 2013 6:46 am
Forum: Beginners
Topic: How to clone SD card if destination is smaller?
Replies: 4
Views: 982

Re: How to clone SD card if destination is smaller?

If you create the right partitions and use sudo cp -ar to keep the attributes the same then yes it should work correctly

Gordon
by gsh
Tue Sep 03, 2013 6:45 am
Forum: General discussion
Topic: ext3/4 and SD-card wear leveling
Replies: 134
Views: 64166

Re: ext3/4 and SD-card wear leveling

I believe that the FTL (from something the Samsung guy said) will identify blocks that are not overwritten and move them to cells that are nearing their wear limit... So you should get the full wear levelling... Gordon You're not understand my meaning here, it identifies blocks with low wear counts...
by gsh
Tue Sep 03, 2013 6:26 am
Forum: General discussion
Topic: ext3/4 and SD-card wear leveling
Replies: 134
Views: 64166

Re: ext3/4 and SD-card wear leveling

I believe that the FTL (from something the Samsung guy said) will identify blocks that are not overwritten and move them to cells that are nearing their wear limit... So you should get the full wear levelling...

Gordon
by gsh
Tue Sep 03, 2013 5:56 am
Forum: Beginners
Topic: How to clone SD card if destination is smaller?
Replies: 4
Views: 982

Re: How to clone SD card if destination is smaller?

Best thing to do in this case is to copy the files off onto a linux PC and then create a new filesystem on a new SDCard and copy the files across again... So to do this, you can plug your SDCard into a linux PC and use the following commands (change sdc to whatever your sd card reader is, lsblk is u...
by gsh
Tue Sep 03, 2013 5:22 am
Forum: General discussion
Topic: ext3/4 and SD-card wear leveling
Replies: 134
Views: 64166

Re: ext3/4 and SD-card wear leveling

And still it does not answer the great question. If I write 4GB of files to a 4GB card and then I delete most of them. How does the card know that those deleted blocks (as far as the fs is concerned) are free to be used for wear leveling? Yes it does, as I've already said many times you cannot do t...
by gsh
Mon Sep 02, 2013 6:52 pm
Forum: General discussion
Topic: ext3/4 and SD-card wear leveling
Replies: 134
Views: 64166

Re: ext3/4 and SD-card wear leveling

OK, So spent a little time talking to a Samsung representative about how their FTL works and whether we're in trouble because we don't do anything about fstrim. He said that it's not a problem at all... For every chunk of memory there is about 10% extra which is then used for wear levelling... The d...
by gsh
Sun Sep 01, 2013 4:44 pm
Forum: Troubleshooting
Topic: Raspberry Pi issue with Denon AVR-3313
Replies: 4
Views: 2092

Re: Raspberry Pi issue with Denon AVR-3313

You want to use force HDMI hotplug setting in config.txt

Gordon
by gsh
Sun Sep 01, 2013 9:24 am
Forum: Troubleshooting
Topic: Raspberry Pi Keyboard Not Responding 10 Seconds After Start
Replies: 5
Views: 806

Re: Raspberry Pi Keyboard Not Responding 10 Seconds After St

How do you know the keyboard is the problem not the hardware? Are you sure it's not just locked up the Pi?

Are there any messages in dmesg (I assume you've connected into the Pi using SSH?)

Gordon
by gsh
Sun Sep 01, 2013 9:19 am
Forum: Android
Topic: Porting Android
Replies: 264
Views: 214300

Re: Porting Android

Yep,

There is never going to be any support of an Android OS on Raspberry Pi

Gordon

Director of Software Engineering, Raspberry Pi.
by gsh
Fri Aug 30, 2013 6:18 pm
Forum: Beginners
Topic: Windiskimage v ?
Replies: 17
Views: 2106

Re: Windiskimage v ?

Ah OK,

In that case you're going to have to wait for a couple of weeks...

Gordon
by gsh
Fri Aug 30, 2013 5:57 pm
Forum: Beginners
Topic: Windiskimage v ?
Replies: 17
Views: 2106

Re: Windiskimage v ?

Use NOOBS you don't need the imager anymore

Gordon
by gsh
Fri Aug 30, 2013 5:56 pm
Forum: General discussion
Topic: Unable to write to a 4Gb SD card
Replies: 12
Views: 2242

Re: Unable to write to a 4Gb SD card

You should try using NOOBS instead, much easier... If you've already reformatted the card just unzip the noobs zip and copy the files onto the SDCard You'll know you did it right if you see files like recovery.img recovery.rfs etc on the sdcard Then boot it... You can choose whatever OS you want... ...
by gsh
Thu Aug 29, 2013 8:26 am
Forum: Beginners
Topic: installing xbmc, I've failed :(
Replies: 5
Views: 1202

Re: installing xbmc, I've failed :(

Can you be clearer what it is you've downloaded and what it actually did...

You don't say whether you downloaded NOOBS or a RaspBMC image or OpenELEC image. You don't say how you installed the image...

Pictures of error messages would be useful...

Gordon
by gsh
Wed Aug 28, 2013 11:33 am
Forum: General discussion
Topic: ext3/4 and SD-card wear leveling
Replies: 134
Views: 64166

Re: ext3/4 and SD-card wear leveling

Aydan wrote:
gsh wrote:Ah... Also noticed that the hardware I'm testing on is MMC rather than SD and therefore maybe the discard option is being implemented on there....
I don't understand that one. On what hardware are you testing?

Code: Select all

/* no comment */
Gordon

Go to advanced search