Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-21-2007, 05:57 PM   #1
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Bricked My Iliad



So I did it....I managed to brick my iLiad with the shell script I wrote for managing MP3's. Now, it'll just stop at the last bar of the loading screen. It's odd, because it didn't touch the root file system, only the /mnt/card directory... I guess I'll have to call customer support and go through that ordeal.

I don't know how I'm going to be without it for a few weeks (months?)
Adam B. is offline   Reply With Quote
Old 03-21-2007, 06:10 PM   #2
TadW
Uebermensch
TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.
 
TadW's Avatar
 
Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
Quote:
Originally Posted by Adam B.
I don't know how I'm going to be without it for a few weeks (months?)
Adam, are you kidding? The real question is how are we going to be without you?????????????

This is a drama. What can we do?
TadW is offline   Reply With Quote
Advert
Old 03-21-2007, 06:17 PM   #3
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Money isn't the problem, I can pay to have it reflashed (although, it sucks). My biggest concern is with iRex's turnaround time. Unless you can speed them up, I don't think there's anything you can do.
Adam B. is offline   Reply With Quote
Old 03-21-2007, 06:34 PM   #4
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Adam, I am sorry to hear ;(

Did you know that iRex has recently started to offer what they call "sample-quality" units? Perhaps they can send you one while yours is being reflashed? From Matthijs:

Quote:
We have some 'sample-quality' units that we would like to loan to a selected group of developers so they don't need to use their own iLiad for potentially dangerous (although its not that dangerous anymore) development. Some kind of agreement on what you're planning to improve would be needed for this though...

If you're really serious; contact me via PM.
Alexander Turcic is offline   Reply With Quote
Old 03-21-2007, 06:41 PM   #5
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
I did see that. I've made a post on the iRex forum about what happened. Maybe they will offer...
Adam B. is offline   Reply With Quote
Advert
Old 03-21-2007, 07:23 PM   #6
jayk
Enthusiast
jayk doesn't litterjayk doesn't litterjayk doesn't litter
 
Posts: 26
Karma: 201
Join Date: Mar 2007
Device: Iliad
Adam,

Replied on the IRex forum - did your script produce anything on your mmc? Have you tried booting without any cards in the device?

JayK
jayk is offline   Reply With Quote
Old 03-21-2007, 07:30 PM   #7
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Adam,

I don't see anything inherently dangerous in your script; but is it possible that mpc did something unexpected which could have led to you bricking your device? Specifically, what about these commands:

/mnt/card/mpd/bin/mpc clear
/mnt/card/mpd/bin/mpc update
/mnt/card/mpd/bin/mpc listall | mpc add -
/mnt/card/mpd/bin/mpc playlist > playlist.txt

Code:
#!/bin/sh
##MPD Playlist Script for ContentLister
killall mpd
/mnt/card/mpd/bin/mpd mpd.conf
cd /mnt/card/Music/Playlist/
rm -rf *
/mnt/card/mpd/bin/mpc clear
/mnt/card/mpd/bin/mpc update
/mnt/card/mpd/bin/mpc listall | mpc add -
/mnt/card/mpd/bin/mpc playlist > playlist.txt
int=1
file=playlist.txt
while read i 
do
      
      mkdir /mnt/card/Music/Playlist/$int
      cd  /mnt/card/Music/Playlist/$int
      touch manifest.xml
      echo "<xml>\n<package>\n  <metadata>\n    <dc>\n      <Title>$i</Title>\n      <Description></Description>\n      <Date>2006-11-16T08:28:46</Date>\n      <Identifier>\n      <Language>\n      <Type>\n    </dc>\n    <y>\n      <startpage>run.sh</startpage>\n      <version>000</version>\n    </y>\n  </metadata>\n</package>\n" >> manifest.xml
      touch run.sh
      echo "/mnt/card/mpd/bin/mpc play $int" >> run.sh
      chmod a+x run.sh
      int=`expr $int + 1`
done < "$file"
Alexander Turcic is offline   Reply With Quote
Old 03-21-2007, 07:40 PM   #8
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
It wasn't mpc. It was my script. The playlist directory wasn't there, so it stayed in the working directory and deleted everything.
Adam B. is offline   Reply With Quote
Old 03-21-2007, 11:26 PM   #9
NatCh
Gizmologist
NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.
 
NatCh's Avatar
 
Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
Ouch, that massively stinks.

I guess you can't just replace the files in the working directory to fix it, then.
NatCh is offline   Reply With Quote
Old 03-22-2007, 04:00 AM   #10
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by Adam B.
So I did it....I managed to brick my iLiad with the shell script I wrote for managing MP3's. Now, it'll just stop at the last bar of the loading screen. It's odd, because it didn't touch the root file system, only the /mnt/card directory... I guess I'll have to call customer support and go through that ordeal.
Ouch! Those are horrible news!

The only thing I can think of is that something got written to /root and filled the root filesystem...

Certainly, the reflash utility is severely needed :-/.

Good luck with the Customer support. Hope you get your iliad back soon.
Antartica is offline   Reply With Quote
Old 03-22-2007, 04:23 AM   #11
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Quote:
Originally Posted by Adam B.
It wasn't mpc. It was my script. The playlist directory wasn't there, so it stayed in the working directory and deleted everything.
I c. OUCH.
Alexander Turcic is offline   Reply With Quote
Old 03-22-2007, 04:52 AM   #12
b_k
Übernerd
b_k is on a distinguished road
 
Posts: 238
Karma: 74
Join Date: Jun 2006
Location: Germany
Device: iRex iLiad
ow.
Btw, doesn't the shell used on the iLiad (it's busybox ash, right?) have something like a 'if ... else-if ... end-if' construct? I think you could check the return code of the 'cd' before doing any more 'rm -rf's.
But I think you have already figured that out.

And I know why I don't make any experiments with my iLiad atm. I'm happy it's running at the moment and I don't plan on sending it back to iRex more often than necessary. (one time was enough)
b_k is offline   Reply With Quote
Old 03-22-2007, 06:45 AM   #13
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Quote:
Originally Posted by b_k
ow.
Btw, doesn't the shell used on the iLiad (it's busybox ash, right?) have something like a 'if ... else-if ... end-if' construct? I think you could check the return code of the 'cd' before doing any more 'rm -rf's.
But I think you have already figured that out.

And I know why I don't make any experiments with my iLiad atm. I'm happy it's running at the moment and I don't plan on sending it back to iRex more often than necessary. (one time was enough)
It does. I know what I did wrong, so I'll be able to prevent it in the future.

I can't help it, it's in my nature to tinker, and try to get everything I can out of every device I have. Especially when it's currently lacking as many things as the iLiad...
Adam B. is offline   Reply With Quote
Old 03-22-2007, 07:41 AM   #14
nekokami
fruminous edugeek
nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.
 
nekokami's Avatar
 
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
Argh! Hopefully iRex will rush a sample unit to you and also give you quick (and, I would hope, free) turnaround on the flash.
nekokami is offline   Reply With Quote
Old 03-22-2007, 08:15 AM   #15
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
As I mentioned on the iRex forum, I don't expect them to eat the cost of the reflash. It was my mistake, and I take responsibility for it. And as nice as a sample quality unit would be, I think they're looking for more serious, business oriented developers to give those to... I'm just a geek with a toolchain.
Adam B. is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bricked iLiad after flashing e-milius iRex 4 01-28-2009 10:46 AM
Bricked iLiad after badly done reflash ? Pode iRex 6 05-19-2008 03:42 PM
Almost just bricked my Iliad! JimBob1971 iRex 0 03-11-2008 07:19 PM
New member of "I bricked my iLiad"-Club: me yokos iRex 40 09-21-2007 04:06 PM
Bricked Iliad - what now sigi iRex 21 11-01-2006 01:18 PM


All times are GMT -4. The time now is 07:26 AM.


MobileRead.com is a privately owned, operated and funded community.