Skip to content

root filesystem corruption on apt-get upgrade to Raspbian Jessie #398

@zerxy

Description

@zerxy

I am experiencing root filesystem corruption when I do a apt-get upgrade from Raspbian Wheezy (from 2013-09-25-wheezy-raspbian.img) to Jessie. Prior to this I used rpi-update to update to latest VideoCore libraries and SDK with no errors at this point in dmesg. Relevant dmesg output after performing apt-get:

[  376.642235] EXT4-fs error (device mmcblk0p2) in ext4_dirty_inode:5081: error 860660780
[  872.816130] EXT4-fs error (device mmcblk0p2) in ext4_dirty_inode:5081: error 863970348
[  975.020297] EXT4-fs error (device mmcblk0p2) in ext4_dirty_inode:5081: error 105042846
[ 1421.942344] mmc0: final write to SD card still running
[ 1430.475252] mmc0: Timeout waiting for hardware interrupt - cmd12.
[ 1430.476435] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
[ 2498.232562] EXT4-fs warning (device mmcblk0p2): empty_dir:2468: bad directory (dir #40530) - no `.' or `..'
[ 2645.218545] EXT4-fs error (device mmcblk0p2) in ext4_dirty_inode:5081: error 876389420

Relevant apt-get output:

Preparing to replace dictionaries-common 1.12.11 (using .../dictionaries-common_1.20.3_all.deb) ...
Leaving 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
Unpacking replacement dictionaries-common ...
dpkg: error processing /var/cache/apt/archives/dictionaries-common_1.20.3_all.deb (--unpack):
 too-long line or missing newline in `/var/lib/dpkg/triggers/aspell-autobuildhash'

The file /var/lib/dpkg/triggers/aspell-autobuildhash appears to be corrupt.

After this I deleted .rpi-firmware/ and redid rpi-update. Got the following errors in dmesg:

[ 6002.822676] EXT4-fs error (device mmcblk0p2) in ext4_dirty_inode:5081: error 965993516
[ 6114.045070] EXT4-fs error (device mmcblk0p2) in ext4_dirty_inode:5081: error 102116663
[ 6131.757361] EXT4-fs error (device mmcblk0p2) in ext4_dirty_inode:5081: error 102116663

Booting from a 8 gig class 4 Sandisk SD card which was purchased locally from a reputable bricks and mortar retailer so I know it's genuine and using files from September 10 in /boot . No overclocking or overvolting.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions