I/O error when trying access to the XBMC database files
|
25th Jul, 2013, 05:50 PM
Post: #1
|
|||
|
|||
I/O error when trying access to the XBMC database files
Code: xbian@xbian ~ $ cp .xbmc/userdata/Database/MyVideos75.db /dev/zero First I installed nmap with 69 additional packages, then I tried to remove nmap but apt-get said that 'package list parse error'. Then I sent 'reboot' to my Pi and after that my media library has gone. I then remove this packages (nmap+69 additionsl) using dpkg -r but I/O error still appear. Code: xbian@xbian ~ $ ls -al .xbmc/userdata/Database/ |
|||
25th Jul, 2013, 06:11 PM
Post: #2
|
|||
|
|||
RE: I/O error when trying access to the XBMC database files
1/ Check SD card is not full df -h
2/ Try /dev/null instead Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
25th Jul, 2013, 06:13 PM
Post: #3
|
|||
|
|||
Re: I/O error when trying access to the XBMC database files
I would say that once you have messed up your sys and dont know what happened, than the best,safest and easier way would be to restore your SD card backup
~~~~>>>Please always follow rules and read before you post<<<~~~~ |
|||
25th Jul, 2013, 07:00 PM
Post: #4
|
|||
|
|||
RE: I/O error when trying access to the XBMC database files
Code: xbian@xbian ~ $ df -h Code: xbian@xbian ~ $ cp .xbmc/userdata/Database/* t/ Trying fsck.btrfs now... Is it serious? On second pass same output. |
|||
25th Jul, 2013, 07:37 PM
Post: #5
|
|||
|
|||
RE: I/O error when trying access to the XBMC database files
Are you just trying to backup your XBMC settings? Have you tried XBMC backup? Also export library from within XBMC.
cp .xbmc/userdata/Database/* t/ is not a valid command. I've tried on my machine, mkdir temp, cp .xbmc/userdata/Database/* temp and it works, apart from CDDB which is empty. Sounds like something is corrupt. Can you access another linux machine and run a check on the card. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
25th Jul, 2013, 07:43 PM
Post: #6
|
|||
|
|||
RE: I/O error when trying access to the XBMC database files
(25th Jul, 2013 07:37 PM)IriDium Wrote: Are you just trying to backup your XBMC settings? Have you tried XBMC backup? Also export library from within XBMC.No. No. Export - choose folder - Ok -> freeze for few seconds and nothing happens. fsck log in the previous post. Also several other files has I/O error. |
|||
25th Jul, 2013, 08:09 PM
Post: #7
|
|||
|
|||
RE: I/O error when trying access to the XBMC database files
Can you try:
sudo btrfs fi show sudo btrfs fi df / It's not looking good. You have got a backup? Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
25th Jul, 2013, 08:31 PM
Post: #8
|
|||
|
|||
RE: I/O error when trying access to the XBMC database files
(25th Jul, 2013 08:09 PM)IriDium Wrote: Can you try: Code: xbian@xbian ~ $ sudo btrfs fi show |
|||
25th Jul, 2013, 08:54 PM
Post: #9
|
|||
|
|||
RE: I/O error when trying access to the XBMC database files
I'm at a loss. I wonder if it got corrupted using the "cp" command on a btrfs file system when rsync should have been used.
It might be possible to recover, but I'm not a btrfs expert. Someone else might be able to help. https://btrfs.wiki.kernel.org/index.php/Restore Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
26th Jul, 2013, 01:43 AM
Post: #10
|
|||
|
|||
RE: I/O error when trying access to the XBMC database files
Now my Pi didnt boot either. Loading screen and non-blinking ACT led.
|
|||
26th Jul, 2013, 01:54 AM
Post: #11
|
|||
|
|||
RE: I/O error when trying access to the XBMC database files
(26th Jul, 2013 01:43 AM)kraleksandr Wrote: Now my Pi didnt boot either. Loading screen and non-blinking ACT led. Did you try anything prior to this happening? I think it is time to bite the bullet and do a fresh install. You may still be able to recover "some" of the files if you have access to another Linux machine but I would put it down to experience and do a fresh install and make sure you have backups. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
26th Jul, 2013, 02:48 AM
Post: #12
|
|||
|
|||
RE: I/O error when trying access to the XBMC database files
(26th Jul, 2013 01:54 AM)IriDium Wrote:(26th Jul, 2013 01:43 AM)kraleksandr Wrote: Now my Pi didnt boot either. Loading screen and non-blinking ACT led. Only fsck.btrfs and btrfs-restore. |
|||
26th Jul, 2013, 04:26 PM
Post: #13
|
|||
|
|||
RE: I/O error when trying access to the XBMC database files
Boot with debug mode ends here:
Code: mmc0: Controller never released inhibit bit(s). |
|||
26th Jul, 2013, 09:20 PM
Post: #14
|
|||
|
|||
Re: RE: I/O error when trying access to the XBMC database files
(26th Jul, 2013 04:26 PM)kraleksandr Wrote: Boot with debug mode ends here: Definitely went south on you, likely no hope of recovering anything. http://www.raspberrypi.org/phpBB3/viewtopic.php?t=22359&p=230921 Last post of that thread is gsh (Gordon Hollingsworth - Raspberry Pi Developer) asking for a card with this issue to be sent to him if your interested. Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us. |
|||
26th Jul, 2013, 10:30 PM
Post: #15
|
|||
|
|||
RE: I/O error when trying access to the XBMC database files
After erasing my sdcard (dd from /dev/zero) and installing XBian from b1.1 image it works, but at 3rd reboot that error appears again. Is it trouble with SDcard or with RPi?
|
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[SOLVED] MySQL database updated but XBMC doesnt show content | careless25 | 3 | 13,227 |
24th Jul, 2013 06:25 PM Last Post: rikardo1979 |
|
[PROBLEM] XBMC ouputs ERROR and WARNING into xbmc.log | s2108312 | 2 | 11,937 |
15th Jan, 2013 10:43 PM Last Post: s2108312 |