Ben NanoNote

Sign in or create your account | Project List | Help

Issue 31: ubiformat runs into i/o error at EOF after encountering bad block

Reported by Wolfgang Spraul, Jan 25, 2010

tested with 20100113 image, ubi-utils 1.2.0 from openwrt-packages.

reproduction steps:

1. boot from microSD

2. run 'ubiformat /dev/mtd2 -f openwrt-xburst-rootfs.ubi'

3. On devices with bad blocks in the first 50 MB of NAND, ubiformat 
will first run into a bad block saying:
"
cannot write 524288 bytes to mtd2 (eraseblock XX, offset 0)
error 5 (Input/output error)
libmtd: run torture test for PEB XX
libmtd: PEB XX passed torture test, do not mark it bad
ubiformat: mark it as bad? (Continue (yes/no)
"

4. say "y"

5. you see "ubiformat: marking block 17 bad"

6. ubiformat continues flashing, but at the end it will say
"
ubiformat: flashing eraseblock 78 - 101% complete
ubiformat: error!: eof reached; 524288 bytes remaining
ubiformat: error!: failed to read eraseblock 77 from 
"openwrt-xburst-rootfs.ubi"
error 5 (Input/output error)
"

(note the 101%)
Looks like a problem with ubiformat getting confused about offsets 
after the bad block. Also it's not clear whether the bad block 
should have been marked or not, seems libmtd and ubiformat disagree? 
Probably unrelated to the offset problem in ubiformat, and 101%.

Comment 1 by Wolfgang Spraul, Jan 25, 2010

devices with bad blocks in first 40 MB:

ID: ry, PEB 17 bad
ID: er, PEB 20 bad
ID: at, PEB 34 bad 
ID: on, PEB 42 bad

ID: we, PEB 12 bad (sometimes)
ID: in, PEB 13 bad (sometimes)
ID: io, PEB 12 bad (sometimes)

Comment 2 by Wolfgang Spraul, Jan 25, 2010

ID: in, PEB 14 is bad sometimes, not PEB 13

Comment 3 by Wolfgang Spraul, Jan 28, 2010

added screenshot

Comment 4 by Wolfgang Spraul, Oct 2, 2010

newer versions of mtd-utils fixed this bug
Status: Verified

Comment 5 by palakave palakave, Jan 25, 2019

Basically this projects.qi-hardware blog has been giving us about 
encountering bad block for for torture and continuing the tips. The 
flashing https://www.assignmentgeek.com.au/ blog for error and 
computer remaining errors always.

Comment 6 by Dikha nishi, Jun 28, 2019

I am searching for this solution for a long while and i found it 
here. Thanks for the solution. I am going to fix my blog 
https://whatsapphack.xyz with the help of this solution.

Comment 7 by Kristy mskristymurphy, Aug 23, 2019

This is great advice! Very honest and practical.I really enjoyed 
this post.Nice post!! these tips may help Great post, 
https://www.goassignmenthelp.com.au/accounting-assignment-help/

Comment 8 by Alia Sharma, Nov 1, 2019

This is helpful for my upcoming project and I was hoping for this 
for a long time.
http://www.aliasharma.in/

Comment 9 by Alia Sharma, Nov 1, 2019

All of the info you have shared unique for me and I am having a 
great time here on this website.
http://www.a1delhiescort.in/

Comment 10 by Alia Sharma, Nov 1, 2019

Many times, I have found something fresh here on this wonderful 
article and thanks for your appreciable efforts.
http://www.rituwalia.in/delhi-call-girls.html

Comment 11 by Vaishali Verma, Nov 27, 2019

They are quite affordable escorts available in Dehradun. Mostly 
gentlemen prefer quality instead of quantity in their life, 
Therefore we are here to present some Escorts Girls in Dehradun who 
are having effervescent qualities. 
http://www.juhioberoi.com/dehradun-escort-service-girls.html
http://www.juhioberoi.com/haridwar-escort-service.html
http://www.juhioberoi.com/rishikesh-escort-service.html
http://www.juhioberoi.com/mussoorie-escort-service.html

Comment 12 by Vaishali Verma, Nov 27, 2019

You want the beautiful woman you've desired in magazines or lingerie 
and swimsuit catalogues and now suddenly they are in front of your 
eyes. So enjoy your trip with heavenly joys with Best Escort 
Services in Udaipur.
https://www.udaipurescortservice.com/

Comment 13 by shop soci, Dec 13, 2019

Youtube Beğeni Satın Al

https://www.instatakipci.com/youtube/begeni-satin-al

Youtube videolarına beğeni satın almak isteyen müşterilerimiz için 
sağladığımız beğeni satın alma hizmetleri son zamanların en çok 
talep gören Youtube hizmetleri arasında yer almaktadır. Profesyonel 
ekiplerimiz tarafından bu işlem için özel olarak geliştirilen bir 
yazılım sayesinde, satın aldığınız beğeniler çok kısa bir süre 
içerisinde tercih ettiğiniz videolara eklenmektedir. Bu işlemi 
sitemizin Youtube hizmetleri bölümünden gerçekleştirebilirsiniz. 
Gerekli adımları tamamladığınız takdirde beğeniler videonuza 
eklenecektir.

Comment 14 by riya sharma, Dec 18, 2019

Hey, everyone, welcome to my independent Delhi escorts . I am riya 
here work as a high profile Call girls in delhi. I am here for last 
6 years and have ability of fulfilling every sexual desires of every 
man. I am truly a self-independent and always ready to enjoy with 
you. You can book me at any time from my website. 
http://funnight4u.com/
http://funnight4u.com/noida-escorts/
http://funnight4u.com/south-delhi-escorts/
http://funnight4u.com/gurgaon-escorts/
http://funnight4u.com/ghaziabad-escort/
http://funnight4u.com/call-girl-in-faridabad/
http://funnight4u.com/mahipalpur-escorts/
http://funnight4u.com/aerocity-escorts/
http://funnight4u.com/saket-escorts/
http://funnight4u.com/kalkaji-escorts/

Comment 16 by sabina khan, Dec 31, 2019

You feel it in your favor when you get to know about different 
aspects of expert independent Chennai escorts to cater the need of 
distinct individual. Offerings are really great with customized 
options available for esteemed group of clients. 

https://www.stageoflife.com/MemberProfile.aspx?u=4514b9e3-62cb-4643-a
429-bf57df1b5374
https://www.charitychoice.co.uk/fundraiser/shwetagupte
https://www.cekseo.com/shwetagupte.com
https://www.blurb.com/user/shwetagupte1?profile_preview=true
https://www.atlasobscura.com/users/shwetaguptechennai
https://community.multitheftauto.com/?p=profile&id=482772
https://www.pedalroom.com/members/sabinackhan
http://www.buysellindia.in/user/profile/4200
https://nap-sack.com/sabinackhan
http://skoliocity.com/author/sabinackhan/
http://chutpatti.com/user/sabinackhan
https://www.spreaker.com/user/callgirlsabinakhan
https://caribbeanfever.com/profile/SabinaKhan165
https://loop.frontiersin.org/people/878214/bio
https://www.rifflebooks.com/profiles/187582
http://adaunty.com/user/profile/7081
https://www.answers.com/u/sabinackhan
https://refind.com/sabinackhan
https://livestream.com/accounts/29051513
https://padlet.com/sabinackhan
https://git.weboob.org/sabinackhan
http://atlas.dustforce.com/user/sabinackhan
https://sweek.com/profile/1390501/74088
http://www.sabinakhan.net/blog/easy-opt-to-book-vip-escorts-service-i
n-chennai.html
https://www.shwetagupte.com/blog/have-a-romantic-time-and-call-sexy-c
all-girls-in-chennai/

Comment 18 by Jacob Lee, Jan 13, 2020

I highly appreciate your keen interest. Make your life hassle-free 
and smooth by leveraging Assignment Help service of GoAssignmentHelp 
portal. Here at GoAssignmentHelp, You can ask for do my assignments 
online at best available & affordable prices.
https://www.goassignmenthelp.com.au/agriculture-assignment-help/

Comment 19 by shop soci, Jan 15, 2020

Instagram User ID

https://buyinstagramfollowers.org/instagram-user-id

We offering you the best opportunity for your 
social media account! If you want to be a famous 
person and attach attraction to other people on 
this platform in a safe way; You should check our website! 
Our website for your dream and social 
media needs!

Created: 9 years 11 months ago by Wolfgang Spraul

Updated: 3 days 19 hours ago

Status: Verified

Followed by: 9 persons

Labels:
Type:Defect
Priority:Medium



interactive