Closed vanloswang closed 8 years ago
The swap is not work for me now.
# cat /etc/fstab
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
/dev/mmcblk0p3 /home ext4 defaults,noatime 0 1
/dev/mmcblk0p4 swap swap defaults 0 0
# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 32.0 GB, 32010928128 bytes, 62521344 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x62b90133
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 40960 143359 51200 c W95 FAT32 (LBA)
/dev/mmcblk0p2 143360 16777215 8316928 83 Linux
/dev/mmcblk0p3 16777216 58327039 20774912 83 Linux
/dev/mmcblk0p4 58327040 62521343 2097152 82 Linux swap / Solaris
# free -m
total used free shared buff/cache available
Mem: 1988 86 1718 16 184 1854
Swap: 0 0 0
You most likely have disk corruption. Closing as unrelated to kernel update.
I update the version of kernel from 102 to 104-1, then reboot it, the content of the eth0 is loss and it's content is changed to following: