Sadface loop after apt-get upgrade

First I had the same problem as [solved] Problem with upgrading to atv-image-4.2.3-12-osmc - #3 by cybero2912 and then somehow I ended up with [solved] "Sadface" after a system update - #6 by Casca

From other topics I have got the following logs:

journalctl | paste-log
http://paste.osmc.io/xicujeginu

paste-log /var/log/apt/term.log
http://paste.osmc.io/mefawayiri

So you can see what is happening and what I did with the upgrading.

Any idea what I can do to sort this - or will I have to re-install from scratch?

Did you do apt-get upgrade or apt-get dist-upgrade? If you used apt-get upgrade you will need to start from scratch.

Jun 22 01:06:53 osmc mediacenter[3342]: modprobe: ERROR: ../libkmod/libkmod-module.c:816 kmod_module_insert_module() could not find module by name='nvidia_legacy_304xx'
Jun 22 01:06:53 osmc mediacenter[3342]: modprobe: ERROR: could not insert 'nvidia_legacy_304xx': Function not implemented

Doesn’t look good. Can you check you have an nvidia.ko in /lib/modules? NVIDIA might have been bumped by Debian and need resyncing in kernel, although that wouldn’t explain why a kernel downgrade worked for someone else

Sam

I believe I’ve identified a potential problem. I am investigating this for you now.

Thanks

Sam

I’m not able to find the exact cause of the problem yet, beyond it being caused in the kernel build script. It’s getting a bit late now.

Edit: got it.

Okay, run

sudo apt-get update
sudo apt-get dist-upgrade

And you should get the new kernel.

Thanks for doing all that while I was asleep! That’s great. It’s back to normal now :blush:

sad face loop
tried fsck and apt-get commands… but with no luck
here’s my log
http://paste.osmc.io/duzapizugi

I’m not sure if you ran apt-get upgrade but you should avoid this.

Are you running off a USB stick? It looks corrupted, and possibly faulty

No, I’m running from HDD

Okay. I would suggest a reinstall. Also install smartmontools and check HDD with smartctl.

Don’t use apt-get upgrade

here’s my Smartmontools data

> SMART Attributes Data Structure revision number: 16
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
>   1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
>   3 Spin_Up_Time            0x0027   160   159   021    Pre-fail  Always       -       991
>   4 Start_Stop_Count        0x0032   086   086   000    Old_age   Always       -       14867
>   5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
>   7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
>   9 Power_On_Hours          0x0032   045   045   000    Old_age   Always       -       40244
>  10 Spin_Retry_Count        0x0033   100   100   051    Pre-fail  Always       -       0
>  11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
>  12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       358
> 192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       352
> 193 Load_Cycle_Count        0x0032   121   121   000    Old_age   Always       -       238582
> 194 Temperature_Celsius     0x0022   108   093   000    Old_age   Always       -       35
> 196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
> 197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
> 198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
> 199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
> 200 Multi_Zone_Error_Rate   0x0009   100   253   051    Pre-fail  Offline      -       0

> SMART Error Log Version: 1
> No Errors Logged

> SMART Self-test log structure revision number 1
> No self-tests have been logged.  [To run self-tests, use: smartctl -t]

> SMART Selective self-test log data structure revision number 1
>  SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
>     1        0        0  Not_testing
>     2        0        0  Not_testing
>     3        0        0  Not_testing
>     4        0        0  Not_testing
>     5        0        0  Not_testing
> Selective self-test flags (0x0):
>   After scanning selected spans, do NOT read-scan remainder of disk.
> If Selective self-test is pending on power-up, resume after 0 minute delay.

> osmc@osmc:~$