davenull
Posts: 1159
Joined: Thu Oct 22, 2015 7:22 am
Location: a small planet close to Betelgeuze

SD full format fails but not Quickformat

Sat Apr 30, 2016 4:34 pm

hello,
is that a known issue?
SD Quickformat works,
but SD full format fails both by Windows format and by SDFormatter: in both cases the formatting stops after a few sectors
SD SDFormatter format error.jpg
SD SDFormatter format error.jpg (10.6 KiB) Viewed 2105 times
Last edited by davenull on Sat Apr 30, 2016 4:36 pm, edited 2 times in total.
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;int main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PointOut(x,y);}}}for(;;);}

davenull
Posts: 1159
Joined: Thu Oct 22, 2015 7:22 am
Location: a small planet close to Betelgeuze

Re: SD full format fails but not Quickformat

Sat Apr 30, 2016 4:35 pm

the Windows format error screen shot:
SD Windows format error.jpg
SD Windows format error.jpg (6.77 KiB) Viewed 2102 times
ps,
it's a 32GB microSD (by Intenso)
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;int main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PointOut(x,y);}}}for(;;);}

davenull
Posts: 1159
Joined: Thu Oct 22, 2015 7:22 am
Location: a small planet close to Betelgeuze

Re: SD full format fails but not Quickformat

Sun May 01, 2016 6:51 am

no explanations or even similar experiences? Why can the full format fail?
Anyway, a
chkdsk H: /F /R
shows no mistakes after Quick Format.

Does that mean that the SD card ist defective nevertheless?
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;int main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PointOut(x,y);}}}for(;;);}

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: SD full format fails but not Quickformat

Sun May 01, 2016 9:38 am

davenull wrote:no explanations or even similar experiences? Why can the full format fail?
1. Damaged SDCard
2. Fake SDCard
3. Lifetime expired SDCard
4. USB reader that's incompatible with SDHC or SDXC
5. Software failure.

I've replaced the Win32DiskImager with the special version that includes RPi features from viewtopic.php?f=62&t=129848
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

davenull
Posts: 1159
Joined: Thu Oct 22, 2015 7:22 am
Location: a small planet close to Betelgeuze

Re: SD full format fails but not Quickformat

Sun May 01, 2016 10:08 am

the USB SD reader was built-in into my Windows PC (5 years old), so I actually doubt that it's incompatible (CMIIW).
the card is new, and files can be stored on it, so it can't be completely damaged or a fake IMO.

Although the card is new, there may be some defective sectors on it, agreed - but why does chkdsk find nothing then?

(I'll try your new Win32DiskImager ASAP - and try formatting with it anew...)
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;int main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PointOut(x,y);}}}for(;;);}

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: SD full format fails but not Quickformat

Sun May 01, 2016 10:26 am

davenull wrote:the USB SD reader was built-in into my Windows PC (5 years old), so I actually doubt that it's incompatible (CMIIW).
A lot of older rreaders cannot handle the newer SD cards.
the card is new, and files can be stored on it, so it can't be completely damaged or a fake IMO.
SD cards are not just 'dumb' memory chips. There's a microcontroller in there that interfaces with the computer.
On fake cards they give out false information about the size. They will accept write commands and say it succeeded but the output has gone to /dev/null

The best way of finding out if the card is damaged / fake is to write to every byte using a unique pattern and then read it back.
For Windows you can use h2testw (http://www.heise.de/download/h2testw.html)

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: SD full format fails but not Quickformat

Sun May 01, 2016 10:45 am

I myself also mistrust inbuilt SD card readers.

Use f3probe for a quick test , H2testw or f3 are very slow
but very (too ?) thorough.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

davenull
Posts: 1159
Joined: Thu Oct 22, 2015 7:22 am
Location: a small planet close to Betelgeuze

Re: SD full format fails but not Quickformat

Sun May 01, 2016 11:09 am

ok, thank you, I will do so and report!
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;int main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PointOut(x,y);}}}for(;;);}

davenull
Posts: 1159
Joined: Thu Oct 22, 2015 7:22 am
Location: a small planet close to Betelgeuze

Re: SD full format fails but not Quickformat

Sun May 01, 2016 11:35 am

error:
PiWin32diskImager could not be started because QT5core.dll is missing
??
what is this kind of file
??
Last edited by davenull on Sun May 01, 2016 11:40 am, edited 2 times in total.
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;int main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PointOut(x,y);}}}for(;;);}

davenull
Posts: 1159
Joined: Thu Oct 22, 2015 7:22 am
Location: a small planet close to Betelgeuze

Re: SD full format fails but not Quickformat

Sun May 01, 2016 11:38 am

H2testW:
Fehler beim Schreiben der Datei 'H:\1.h2w', Offset 0x14e00000.
Bis hierher geschriebene Testdaten können trotzdem geprüft werden.
(Das System kann die angegebene Datei nicht finden. Code 2)
Schreibrate: 10,4 MByte/s
H2testw v1.4
now what does that mean or express?
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;int main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PointOut(x,y);}}}for(;;);}

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: SD full format fails but not Quickformat

Sun May 01, 2016 11:41 am

davenull wrote:H2testW:
Fehler beim Schreiben der Datei 'H:\1.h2w', Offset 0x14e00000.
Bis hierher geschriebene Testdaten können trotzdem geprüft werden.
(Das System kann die angegebene Datei nicht finden. Code 2)
Schreibrate: 10,4 MByte/s
H2testw v1.4
now what does that mean or express?
It's a write error :roll:
This either means that you have a faulty SD card or there's a problem with the SD card reader.

davenull
Posts: 1159
Joined: Thu Oct 22, 2015 7:22 am
Location: a small planet close to Betelgeuze

Re: SD full format fails but not Quickformat

Sun May 01, 2016 11:50 am

ok, I now tried another (older) 32GB SD card then with format and H2testW.

With this card I got also full format errors (Windows and SDFormatter),
and with H2testw I got a write error at another Offset.
Fehler beim Schreiben der Datei 'H:\3.h2w', Offset 0x35100000.
Bis hierher geschriebene Testdaten können trotzdem geprüft werden.
(Das System kann die angegebene Datei nicht finden. Code 2)
Achtung: Nur 29651 von 29652 MByte getestet.
Schreibrate: 12,7 MByte/s
H2testw v1.4
Now: both SD cards damaged?
Or SD reader defective?
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;int main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PointOut(x,y);}}}for(;;);}

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: SD full format fails but not Quickformat

Sun May 01, 2016 11:55 am

Most likely a reader problem. Get a new USB reader.
Here in the UK we can get them at Poundland for... wait for it... £1
And I got one off ebay for 99p :D

davenull
Posts: 1159
Joined: Thu Oct 22, 2015 7:22 am
Location: a small planet close to Betelgeuze

Re: SD full format fails but not Quickformat

Sun May 01, 2016 12:03 pm

ok, I'll order a new one - from Euroland ;)
(I already ordered one shortly from Yuanland, but it's a long time for shipping here... :( )
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;int main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PointOut(x,y);}}}for(;;);}

Return to “Beginners”