ifconfig 显示只有 lo
ifconfig -a 显示 lo,eth0 和 wlan0
还导致我的 gnome 桌面启动不了
进 recovery 可以 service network-manager restart 或者 dpkg-reconfigure network-manager 来开启 eth0,然而重启后又老样子了
难道是启动这个的服务坏了?
系统老是莫名其妙地坏,昨天还好好的。。
1
edr1412 OP 求高人指教
|
2
AmrtaShiva 2020-04-20 17:40:26 +08:00 via iPhone
什么网卡?
|
3
julyclyde 2020-04-20 17:43:46 +08:00 1
看看日志
|
4
luhuisicnu 2020-04-20 17:48:47 +08:00
网卡要配置开机启动,可以解决开机没有执行启动操作的问题
启动中报错,则要根据报错日志来解决了 |
5
Cyshall 2020-04-20 18:07:46 +08:00 via iPhone
systemctl enable network-manager 试试看?
|
6
edr1412 OP 无脑 apt full-upgrade 解决了 apt 提示了几个 ELF 文件损坏 重装了几个 so 文件可以进去了
问题是 so 文件为什么自己会坏?而且我的系统好像一运行 find fd du 之类的就会变成只读文件系统,只能重启 fsck 解决,偶尔不能彻底就会出现这种问题,真是够了 不知道是不是硬盘有问题,或者难道是以 root 登录的问题? 这贴没人看,等下开帖再问一下 |
7
uprightzy 2020-04-20 18:16:10 +08:00 via Android
ifcfg-eth0 配置文件里加上 ONBOOT=yes 试试?不过就算没启动应该也不会导致 gnome 进不去
|
8
edr1412 OP @uprightzy 我好像没这文件。。
比起这个,可以看一下 6 楼,gnome 崩溃应该是一个叫 LibGL.so.1.7.0 的文件的锅,重装后基本好了。我更想知道为什么老是有文件损坏,感觉大家都没出过这种问题 QAQ |
10
AmrtaShiva 2020-04-20 19:55:42 +08:00 via iPhone
该换硬盘了
|
11
edr1412 OP @ysc3839 PASSED 了 参数不会看啊
=== START OF SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED SMART/Health Information (NVMe Log 0x02) Critical Warning: 0x00 Temperature: 35 Celsius Available Spare: 100% Available Spare Threshold: 10% Percentage Used: 7% Data Units Read: 26,347,501 [13.4 TB] Data Units Written: 21,055,362 [10.7 TB] Host Read Commands: 439,120,754 Host Write Commands: 592,642,769 Controller Busy Time: 1,560 Power Cycles: 2,468 Power On Hours: 1,062 Unsafe Shutdowns: 71 Media and Data Integrity Errors: 0 Error Information Log Entries: 4,735 Warning Comp. Temperature Time: 0 Critical Comp. Temperature Time: 0 Temperature Sensor 1: 35 Celsius Temperature Sensor 2: 39 Celsius 硬盘也就用了 2 年多(悲) |
14
edr1412 OP @HEROic 我这输出差不多就这些,可能版本不对?
(而且是 nvme 的盘) 完整输出如下,看不出来什么问题啊 ~➤ smartctl -a /dev/nvme0 smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.5.0-kali1-amd64] (local build) Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Number: SAMSUNG MZVLW256HEHP-00000 Serial Number: S33VNX0J830662 Firmware Version: CXB7401Q PCI Vendor/Subsystem ID: 0x144d IEEE OUI Identifier: 0x002538 Total NVM Capacity: 256,060,514,304 [256 GB] Unallocated NVM Capacity: 0 Controller ID: 2 Number of Namespaces: 1 Namespace 1 Size/Capacity: 256,060,514,304 [256 GB] Namespace 1 Utilization: 245,101,670,400 [245 GB] Namespace 1 Formatted LBA Size: 512 Namespace 1 IEEE EUI-64: 002538 b871b10881 Local Time is: Tue Apr 21 23:17:42 2020 CST Firmware Updates (0x16): 3 Slots, no Reset required Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test Optional NVM Commands (0x001f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Warning Comp. Temp. Threshold: 68 Celsius Critical Comp. Temp. Threshold: 71 Celsius Supported Power States St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat 0 + 7.60W - - 0 0 0 0 0 0 1 + 6.00W - - 1 1 1 1 0 0 2 + 5.10W - - 2 2 2 2 0 0 3 - 0.0400W - - 3 3 3 3 210 1500 4 - 0.0050W - - 4 4 4 4 2200 6000 Supported LBA Sizes (NSID 0x1) Id Fmt Data Metadt Rel_Perf 0 + 512 0 0 === START OF SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED SMART/Health Information (NVMe Log 0x02) Critical Warning: 0x00 Temperature: 28 Celsius Available Spare: 100% Available Spare Threshold: 10% Percentage Used: 7% Data Units Read: 26,378,665 [13.5 TB] Data Units Written: 21,075,815 [10.7 TB] Host Read Commands: 439,576,387 Host Write Commands: 592,951,401 Controller Busy Time: 1,562 Power Cycles: 2,470 Power On Hours: 1,064 Unsafe Shutdowns: 71 Media and Data Integrity Errors: 0 Error Information Log Entries: 4,737 Warning Comp. Temperature Time: 0 Critical Comp. Temperature Time: 0 Temperature Sensor 1: 28 Celsius Temperature Sensor 2: 35 Celsius Error Information (NVMe Log 0x01, max 64 entries) Num ErrCount SQId CmdId Status PELoc LBA NSID VS 0 4737 0 0x000a 0x4004 - 0 0 - 1 4736 0 0x000a 0x4004 - 0 0 - 2 4735 0 0x000a 0x4004 - 0 0 - 3 4734 0 0x000a 0x4004 - 0 0 - 4 4733 0 0x000a 0x4004 - 0 0 - 5 4732 0 0x000a 0x4004 - 0 0 - 6 4731 0 0x000a 0x4004 - 0 0 - 7 4730 0 0x000a 0x4004 - 0 0 - 8 4729 0 0x000a 0x4004 - 0 0 - 9 4728 0 0x000a 0x4004 - 0 0 - 10 4727 0 0x000a 0x4004 - 0 0 - 11 4726 0 0x000a 0x4004 - 0 0 - 12 4725 0 0x000a 0x4004 - 0 0 - 13 4724 0 0x000a 0x4004 - 0 0 - 14 4723 0 0x000a 0x4004 - 0 0 - 15 4722 0 0x000a 0x4004 - 0 0 - ... (48 entries not shown) |
15
edr1412 OP Error Information Log Entries 倒是启动一次就加 1 呢。。
|