Go to advanced search

by mjbright
Sat Aug 11, 2012 1:16 pm
Forum: Troubleshooting
Topic: Backing up an SD card which has low-level read errors
Replies: 4
Views: 1062

Re: Backing up an SD card which has low-level read errors

Thanks redhawk, that's a useful tool. I downloaded the linux equivalent to F3 here: http://fixfakeflash.wordpress.com/2010/08/20/linux-h2testw-alternative-program-called-f3-by-michel This produced the expected (by me) result: The SD card is not fake (I've had it for maybe 3 years, it was in my Chrom...
by mjbright
Sat Aug 11, 2012 8:01 am
Forum: Troubleshooting
Topic: Backing up an SD card which has low-level read errors
Replies: 4
Views: 1062

Re: Backing up an SD card which has low-level read errors

Interesting ... after 2h my dd with "conv=noerror" finished after creating an image file of 16372072448 bytes. So now I'm wandering what does dd actually do with the conv=noerror option? I guess it just read 4Gby, failed to read some 100's of MBy and then just appended most of the remaining 12GBy .....
by mjbright
Sat Aug 11, 2012 7:38 am
Forum: Troubleshooting
Topic: Backing up an SD card which has low-level read errors
Replies: 4
Views: 1062

Backing up an SD card which has low-level read errors

Executive summary: Backing up my SD card using dd is failing at 4G (of a 16G card) due to card errors. I intend to do the "best" backup(s) I can and even continue using the card (cheapskate!). I'm looking for advice on the "best" (restorable!) backup methods in the case and the "best" way to contin...
by mjbright
Sat Aug 11, 2012 7:06 am
Forum: Beginners
Topic: backing up
Replies: 21
Views: 4703

Re: backing up

Hi, for those using dd to backup your card who want to use compression, you can use bzip2 for example as described below. However, you're unlikely to achieve a much smaller image unless the unused, and used, space on your card just happens to be repeating values, mostly zeroes for example. Unfortuna...
by mjbright
Tue Jul 03, 2012 7:08 am
Forum: Français
Topic: reseau
Replies: 5
Views: 2002

Re: reseau

Salut. C'est ifconfig que tu utiliseras pour voir ton adresse ip sur ethernet (iwconfig etant pour le WiFi). Il faut d'abord verifier avec ifconfig si t'as ete assigne une adresse ip ou pas - en supposant que tu utilises le dhcp. Si tu n'as pas d'adresse ip et que ton raspi est bien configure en dhc...
by mjbright
Tue Jul 03, 2012 6:54 am
Forum: Français
Topic: buildroot
Replies: 3
Views: 2163

Re: buildroot

Merci sinseman44, je voulais justement me pencher sur buildroot pour faire un tout p'tit distro a la busybox++.
by mjbright
Fri Jun 29, 2012 10:45 am
Forum: General programming discussion
Topic: Cross compiling?
Replies: 22
Views: 79753

Re: Cross compiling?

Thanks a lot, I'm now using the arm-bcm2708-linux-gnueabi tools from github and that did the trick. :D That said, I couldn't figure out how to use them, so searching around, I adapted what was written in this post: http://blog.greg-net.co.uk/post/21228054876/building-node-js-for-raspberry-pi So to b...
by mjbright
Thu Jun 28, 2012 5:50 pm
Forum: General programming discussion
Topic: Cross compiling?
Replies: 22
Views: 79753

Re: Cross compiling?

... and file arm.out gives:

arm.out: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.31, BuildID[sha1]=0x7f7e5a58f994614441eb2aa813f571a09c1d1b82, not stripped
by mjbright
Thu Jun 28, 2012 5:48 pm
Forum: General programming discussion
Topic: Cross compiling?
Replies: 22
Views: 79753

Re: Cross compiling?

I have this problem also. I'm running on a Ubuntu 12.04 and I've followed the instructions on the building a kernel page, but when I run a cross-compiled Hello World I get a Segmentation Fault. I'm compiling under Ubuntu 12.04 as: /usr/bin/arm-linux-gnueabi-gcc -o arm3.out HelloWorld.c Running on th...

Go to advanced search