Solved: After updating yesterday...
|
7th May, 2016, 10:41 PM
Post: #1
|
|||
|
|||
After updating yesterday...
Software:
Not sure about the Software, since I updated yesterday. Hardware: Device type and model: Raspberry Pi 3 Power supply rating: 1,8 Amp SD card size and make/type: 16 GB Network (Ethernet or wireless): Ethernet Connected devices (TV, USB, network storage, ...): Yesterday I updated, I've been many days working fine without updating. After the update, yesterday it worked aparently well. Today I couldn't start kodi, so I reboot... and now the problem: Cause and solution? |
|||
7th May, 2016, 11:38 PM
Post: #2
|
|||
|
|||
RE: After updating yesterday...
Ok, bad news for you, your root fs seems to be damaged completely.
No idea what happened, maybe sd card corrupt or broken. IMO there is only one solution: reinstall system. Hopefully you have backup, if not - your bad. For the future (I'm sure it never happpens again) make image backup from time to time so you can restore your system completely (see xbian-config -> xbian copier) |
|||
7th May, 2016, 11:49 PM
Post: #3
|
|||
|
|||
RE: After updating yesterday...
I think I have backups.
Do you think this could be a hardware damage of the microSD Card? In such case it could happen many times :m |
|||
8th May, 2016, 12:33 AM
Post: #4
|
|||
|
|||
RE: After updating yesterday...
Hard do say. I got similar issue one time also at my i.MX6/Hummingbird board. Damaged sd card was my first thought, but image restored (if have one) and never happened again for months.
|
|||
10th Aug, 2016, 10:09 PM
Post: #5
|
|||
|
|||
RE: After updating yesterday...
(7th May, 2016 11:38 PM)Nachteule Wrote: No idea what happened, maybe sd card corrupt or broken. I do not think so, i've got the same problem [BTRFS: superblock checksum mismatch] After an update, on monday, xbian will not boot anymore. Today i checked the sd-card in my computer and can't mount the btrfs-partition anymore. Code: dmesg | grep -i BTRF Code: sudo btrfs-show-super /dev/sdc2 Code: superblock: bytenr=65536, device=/dev/sdc2 Code: sudo btrfsck -s 2 /dev/sdc2 Code: sudo btrfsck -s 1 /dev/sdc2 Any chance to recover the system? |
|||
11th Aug, 2016, 12:53 AM
(This post was last modified: 11th Aug, 2016 12:54 AM by Nachteule.)
Post: #6
|
|||
|
|||
RE: After updating yesterday...
Don't know, I'm really not BTRFS expert for such internals
For me it looks like completely damaged file system. Hopefully you have backup of your system |
|||
11th Aug, 2016, 03:48 AM
Post: #7
|
|||
|
|||
RE: After updating yesterday...
@duno
can you remember which kernel version you were running? |
|||
11th Aug, 2016, 05:44 AM
Post: #8
|
|||
|
|||
RE: After updating yesterday...
(11th Aug, 2016 03:48 AM)Nachteule Wrote: @duno Latest, 4.4.15+ and update was to 4.4.16+ Code: btrfs-show-super -a /dev/sdc2 got a match on Code: csum 0x0f19fcb1 [match] Code: btrfs-show-super -s 67108864 /dev/sdc2 But how to restore that? Code: bytenr 67108864 is normally "s 1" but Code: btrfsck -s 1 /dev/sdc2 or Code: btrfs check -s 1 /dev/sdc2 gives an Code: using SB copy 1, bytenr 67108864 I do not understand this btrfs-stuff |
|||
11th Aug, 2016, 06:37 AM
(This post was last modified: 11th Aug, 2016 06:38 AM by Nachteule.)
Post: #9
|
|||
|
|||
RE: After updating yesterday...
(11th Aug, 2016 05:44 AM)duno Wrote: Latest, 4.4.15+ and update was to 4.4.16+ Ok, so no 4.6.x from devel repo. I'm using 4.6.5 and got strange BTRFS error today afternoon. But here it was not BTRFS culprit, it was mmc driver fault. That's why I was asking Quote:I do not understand this btrfs-stuff It seems that btrfs fsck is still very crappy. |
|||
11th Aug, 2016, 07:49 AM
Post: #10
|
|||
|
|||
RE: After updating yesterday...
(11th Aug, 2016 06:37 AM)Nachteule Wrote: It seems that btrfs fsck is still very crappy. So why are you using btrfs? When i remember correct "feature 10" was the lz4-compression for btrfs in the kernel. I fixed that by building my own kernel with that support: http://forum.xbian.org/thread-3642-post-32401.html (4.4.14-btrfs01 #1 SMP PREEMPT Sat ...) Yesterday i downloaded the latest image for xbian and made a dd to an usb-stick, because i thought it i also using the latest firmware to be able to boot the rpi3 via usb. (it seems to be not ...) I was wondering, that kernel 4.4.0-34-lowlatency in ubuntu-studio was also able to mount that btrfs-partitition. Did you or ubuntu changed something with the btrfs-stuff? btw. this is not the first time that xbian crashed with a btrfs error but the first time with an "nearly" productive system Never got these problems on raspian (wheezy) on the PI-B nor on ubuntu (xenial) on the Pi-3 |
|||
11th Aug, 2016, 08:37 AM
(This post was last modified: 12th Aug, 2016 12:53 AM by Nachteule.)
Post: #11
|
|||
|
|||
RE: After updating yesterday...
(11th Aug, 2016 07:49 AM)duno Wrote: So why are you using btrfs? IMO it has more pro's than con's BTW, I never had btrfs data corruption under normal condition [1], and I'm using btrfs on nearly all my systems Quote:When i remember correct "feature 10" was the lz4-compression for btrfs in the kernel. Don't know Quote:I fixed that by building my own kernel with that support: Yes, I remember this thread Quote:Yesterday i downloaded the latest image for xbian and made a dd to an usb-stick, because i thought it i also using the latest firmware to be able to boot the rpi3 via usb. ??? Quote:I was wondering, that kernel 4.4.0-34-lowlatency in ubuntu-studio was also able to mount that btrfs-partitition. OC, no change. This is normal, image is build with lzo compression, compression is set to lz4 in /boot/cmdline.txt only So, if you do not like to use lz4, you can change this before you boot that image the first time Quote:btw. this is not the first time that xbian crashed with a btrfs error but the first time with an "nearly" productive system Seems there is going something wrong with your system. Maybe you have to change sd-card. When I got first RPi2, I struggled a long time with heavy system instability. After I changed everything I could change (I used 3 identical brand new sd-cards from samsung) I bought another one (from samsung too, but latest EVO model), and after this all problems were gone. Quote:Never got these problems on raspian (wheezy) on the PI-B nor on ubuntu (xenial) on the Pi-3 ... [1] -I got btrfs fs crash some years ago on one of my systems I was undervolting CPU and this did not like btrfs. -I got another btrfs crash about one year ago on my notebook because of too aggressive power saving settings and too old and buggy kernel (was 3.14) That's all, never had critcal btrfs errors on my 5 XBian devices (2 of them are used for developing) |
|||
11th Aug, 2016, 12:51 PM
Post: #12
|
|||
|
|||
RE: After updating yesterday...
(11th Aug, 2016 08:37 AM)Nachteule Wrote:Quote:Yesterday i downloaded the latest image for xbian and made a dd to an usb-stick, because i thought it i also using the latest firmware to be able to boot the rpi3 via usb. He was saying the latest image isn't using the latest firmware, else USB booting would be possible. Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us. |
|||
11th Aug, 2016, 10:54 PM
Post: #13
|
|||
|
|||
RE: After updating yesterday...
(11th Aug, 2016 12:51 PM)f1vefour Wrote:(11th Aug, 2016 08:37 AM)Nachteule Wrote:Quote:Yesterday i downloaded the latest image for xbian and made a dd to an usb-stick, because i thought it i also using the latest firmware to be able to boot the rpi3 via usb. Sure, I understood what he was writing, but I don't see any relationship to this thread here. Booting from USB should work in all cases (ok, never needed and never tried, but very well described here) That's why I was confused ... |
|||
14th Aug, 2016, 01:52 AM
Post: #14
|
|||
|
|||
RE: After updating yesterday...
(11th Aug, 2016 10:54 PM)Nachteule Wrote: ... , but I don't see any relationship to this thread here. Booting from USB ... Bootable USB-Stick for the RPI3 to repair RPI2 broken btrfs-Partition I thought, that the broken btrfs-partition, on the RPI2, is an Xbian-based problem. Therfore my idea was, to install Xbian on an USB-Stick, booting Xbian from that USB-Stick under an RPI3 and trying to fix the problem on the SD-Card ... Maybe my idea was wrong and the second partition, on the SD-Kard for the RPI2, is "toasted". I am not sure about that after the "match". Is there or isn't there a chance to restore the matching Superblock? |
|||
14th Aug, 2016, 03:43 AM
Post: #15
|
|||
|
|||
RE: After updating yesterday...
(14th Aug, 2016 01:52 AM)duno Wrote: Therfore my idea was, to install Xbian on an USB-Stick, booting Xbian from that USB-Stick under an RPI3 and trying to fix the problem on the SD-Card .. Why soooo complicated? Why not installing fresh XBian and put your broken sd-card into an usb adapter (I'm sure you have one ) and plug it into one USB port of your RPi? Ok, you need a second sd-card to do that ... Quote:Is there or isn't there a chance to restore the matching Superblock? To answer a question with a question: does it make sense to spend hours and hours for repairing that damaged fs? Does it not make more sense installing XBian from scratch and after finishing with configuration making an image backup? I wouldn't do that (but I know it is easy to say, I'm having 2 different types of backup (image and rsync copy), I would never come into this situation...) |
|||
« Next Oldest | Next Newest »
|