Ubuntu on NVMe SSD, many errors after ‘apt upgrade’

Beforehand:

  • Did update BIOS (MB: Asus Z390-F)
  • Did update NVMe SSD firmware (Samsung 970 EVO Plus, 500G)
  • Did run memtest86 for hours (after the problems happened: is OK)
  • The MB (motherboard) has nothing else (no CD, no graphic card…)

Ubuntu install ( The SSD was supposed to be dedicated to Ubuntu 18.04 )

  • Installed fresh Ubuntu 18.04.3
  • Selected “Update while installing” + “Install 3rd party drivers…”
  • Did manual partitioning, all ext4 (then tried also “Erase disk and install”)
  • → Install had a “crash”, is “sorry” and “click to reboot”

So, tried again, the whole thing, without “Update while installing” & “Install 3rd party drivers…” (removed the network to be sure)

  • this time it went through
  • Then did apt update ; apt upgrade
  • Reboot
  • Then after a while, using Ubuntu GUI, suddenly pages and pages of that

enter image description here

get displayed. Had to reset the PC.

My thoughts were for the NVMe SSD… but…

Windows 10 trial-install. So I installed Windows 10 (the free ISO) to confirm the problem is the SSD (Samsung supports only Windows)

  • taking the whole disk,
  • creating as many partitions as what was on Ubuntu
  • did the MS updates
  • did a stress test on all partitions, copying files over and over, filling the partitions
  • rebooted many times
  • → No errors anywhere, nothing in the s.m.a.r.t log (Samsung magician)

Therefore, it seems hard to blame the SSD.

Ubuntu 19.04 install. Then, on the data partitions created in Windows (except the one where Windows is) I installed Ubuntu 19.04 (not 18.04), thus these parts went from ntfs to ext4.

  • All went fine
  • Did apt update && apt upgrade
  • Reboot
  • Using Ubuntu,
  • → then same as before, pages and pages of the same pic above
  • → Reboot: goes to Grub “shell”

Booting (from BIOS) to Windows is OK. Ubuntu boot goes to grub shell.

Not sure what to do next …

  • could be that the Ubuntu upgrade affects Grub (due to NVMe SSD)?
  • could be a bad SSD, but in that case why Windows has no problem?
  • both 18.04.3 and 19.04 use the kernel 5.0.x, could that be linked to the problem?

Black screen loop after upgrade 18.04 to 19.04

I had 18.04 and ran the built in graphical updater to upgrade to 19.04. When it restarted, I assumed I should boot into ubuntu as normal (multi OS system), but after doing so I get a loop of the screen flickering from off to black (backlit), to a single _ for a second and it just does that over and over. I can spam ctrl alt delete really fast and catch it in that 1 second it has a _ and it will restart, but I can’t get past this. Anyone know what is happening and how to fix it?

Read Only problems with shared Data Drive after Win 10 upgrade

I have Win 10, UbuntuMate, and Deepin plus a partition called Data on my machine.

I recently upgraded Win 10 because it asked me to. Now I cannot access my Data drive with write permission on Linux OS’s on my machine.

To test whether anything I did was successful, I right click in Caja and see if I can create a folder.. NOPE..it is grey

I have tried:

shift + shutdown (Usually works for c-drive r+w problems)

Changing permissions to full control in Windows

Changing sharing to everyone in Windows

How can I restore DVD drive operation following recent Ubuntu r10.04 `apt upgrade`

Some time in the last day or two, following one of the recent apt update-s the DVD driver on my desktop has stopped working.

  • between: 2019-09-15 (UTC) or so
  • until: 2019-09-20 (UTC)

After several unsuccessful attempts to understand what happened, I have backtracked a few steps and decided what I need to do ‘work forward from here‘ and restore the DVD and replay operations.

Here’s my thinking:

  • The player should work (it can work)
    • I did work prior to what ever has changed in the software.
  • By restoring function, not only will I learn something about that kind of thing, it may help others get past this kind of issue.
    • I have seen earlier problems back with Ubunty 14 and 16 that look similar on stackoverflow/askubntu.
  • What ever has happened looks very largely like a regression
    • Nothing has changed in the drive or hardware itself.
    • And the ‘target’ DVD I chose is one that played fine 8 or 9 days ago.
  • If I need to back-out a package or update, so be it. The best way to findout what it is is to identify today’s problem.

Symptoms

My layman’s view of the problem is that for some reason applications cannot read the DVD content. dvdbackup for example reported that ti cannot find titles. Handbrake and handbrakeCLI have similar issues. They try to read but the interpretation is unintelligible.

Same with VLC no doubt as it just ties and tries and displays a black screen — Nothing happens. There are reports of scrambled cells and I/O errors.

You might think a DVD is corrupt. That’s why I picked one I viewed successfully in the recent past.

My aim is to look at what I’d do with a new DVD drive installed.

  • What steps would I follow to get a new DVD working?
  • What installation errors and problems are showing up now?
  • To resolve them if that’s practical / feasible.
    • Back out a package or ammeliorate things with alternative or supporting packages that may be not-yet-delivered/installed.

I hope you can help. Here is the delta between a “before” and “now” scenario where I did a domestic reset and had a cup of tea.

I don’t know if the dmesg people read these questions, but I’d very much prefer it if dmesg output showed the local time so I have a better idea of what is happening and where that was on the time line. Looking forward to your insights.

Delta experiment …

What do we know?

Tonight …

  1. I took down a Harry Potter DVD that has played on this PC before (some time last week actually).
    • The result is that VLC just shuffles a bit and gives up.
  2. So then unloaded the DVD
  3. Ran dmesg > tmp.01
    • to get the “baseline”
  4. Reloaded the DVD into the drive
  5. Used the VLC “Play disk” Media menu option
  6. Allowed the DVD player shuffle and grunt
  7. Once that’s done, ran dmesg > tmp.02 again.
  8. took a delta (with diff) as shown

I apologise for pasting so much here. I am not clear on what’s important and what is just a repeats of the same errors.

dmesg delta

[60610.254451] scsi_io_completion_action: 2 callbacks suppressed [60610.254457] sr 1:0:0:0: [sr0] tag#4 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60610.254460] sr 1:0:0:0: [sr0] tag#4 Sense Key : Illegal Request [current]  [60610.254463] sr 1:0:0:0: [sr0] tag#4 Add. Sense: Read of scrambled sector without authentication [60610.254465] sr 1:0:0:0: [sr0] tag#4 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60610.254467] print_req_error: 2 callbacks suppressed [60610.254468] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60610.254473] buffer_io_error: 2 callbacks suppressed [60610.254474] Buffer I/O error on dev sr0, logical block 5960, async page read [60610.302074] sr 1:0:0:0: [sr0] tag#14 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60610.302077] sr 1:0:0:0: [sr0] tag#14 Sense Key : Illegal Request [current]  [60610.302080] sr 1:0:0:0: [sr0] tag#14 Add. Sense: Read of scrambled sector without authentication [60610.302082] sr 1:0:0:0: [sr0] tag#14 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60610.302084] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60610.302087] Buffer I/O error on dev sr0, logical block 5960, async page read [60610.338005] sr 1:0:0:0: [sr0] tag#5 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60610.338008] sr 1:0:0:0: [sr0] tag#5 Sense Key : Illegal Request [current]  [60610.338011] sr 1:0:0:0: [sr0] tag#5 Add. Sense: Read of scrambled sector without authentication [60610.338014] sr 1:0:0:0: [sr0] tag#5 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60610.338015] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60610.338019] Buffer I/O error on dev sr0, logical block 5960, async page read [60610.373951] sr 1:0:0:0: [sr0] tag#15 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60610.373954] sr 1:0:0:0: [sr0] tag#15 Sense Key : Illegal Request [current]  [60610.373957] sr 1:0:0:0: [sr0] tag#15 Add. Sense: Read of scrambled sector without authentication [60610.373959] sr 1:0:0:0: [sr0] tag#15 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60610.373961] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60610.373964] Buffer I/O error on dev sr0, logical block 5960, async page read [60610.406292] sr 1:0:0:0: [sr0] tag#16 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60610.406295] sr 1:0:0:0: [sr0] tag#16 Sense Key : Illegal Request [current]  [60610.406298] sr 1:0:0:0: [sr0] tag#16 Add. Sense: Read of scrambled sector without authentication [60610.406301] sr 1:0:0:0: [sr0] tag#16 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60610.406302] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60610.406305] Buffer I/O error on dev sr0, logical block 5960, async page read [60610.441955] sr 1:0:0:0: [sr0] tag#17 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60610.441957] sr 1:0:0:0: [sr0] tag#17 Sense Key : Illegal Request [current]  [60610.441961] sr 1:0:0:0: [sr0] tag#17 Add. Sense: Read of scrambled sector without authentication [60610.441963] sr 1:0:0:0: [sr0] tag#17 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60610.441965] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60610.441968] Buffer I/O error on dev sr0, logical block 5960, async page read [60610.473961] sr 1:0:0:0: [sr0] tag#18 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60610.473964] sr 1:0:0:0: [sr0] tag#18 Sense Key : Illegal Request [current]  [60610.473967] sr 1:0:0:0: [sr0] tag#18 Add. Sense: Read of scrambled sector without authentication [60610.473969] sr 1:0:0:0: [sr0] tag#18 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60610.473971] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60610.473974] Buffer I/O error on dev sr0, logical block 5960, async page read [60610.505948] sr 1:0:0:0: [sr0] tag#19 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60610.505951] sr 1:0:0:0: [sr0] tag#19 Sense Key : Illegal Request [current]  [60610.505954] sr 1:0:0:0: [sr0] tag#19 Add. Sense: Read of scrambled sector without authentication [60610.505956] sr 1:0:0:0: [sr0] tag#19 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60610.505958] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60610.505961] Buffer I/O error on dev sr0, logical block 5960, async page read [60610.534143] sr 1:0:0:0: [sr0] tag#20 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60610.534146] sr 1:0:0:0: [sr0] tag#20 Sense Key : Illegal Request [current]  [60610.534150] sr 1:0:0:0: [sr0] tag#20 Add. Sense: Read of scrambled sector without authentication [60610.534152] sr 1:0:0:0: [sr0] tag#20 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60610.534154] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60610.534157] Buffer I/O error on dev sr0, logical block 5960, async page read [60610.682399] sr 1:0:0:0: [sr0] tag#21 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60610.682403] sr 1:0:0:0: [sr0] tag#21 Sense Key : Illegal Request [current]  [60610.682406] sr 1:0:0:0: [sr0] tag#21 Add. Sense: Read of scrambled sector without authentication [60610.682409] sr 1:0:0:0: [sr0] tag#21 CDB: Read(10) 28 00 00 00 fa 35 00 00 01 00 [60610.682411] print_req_error: I/O error, dev sr0, sector 256212 flags 0 [60610.682416] Buffer I/O error on dev sr0, logical block 64053, async page read [60622.600135] scsi_io_completion_action: 2 callbacks suppressed [60622.600142] sr 1:0:0:0: [sr0] tag#9 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60622.600146] sr 1:0:0:0: [sr0] tag#9 Sense Key : Illegal Request [current]  [60622.600149] sr 1:0:0:0: [sr0] tag#9 Add. Sense: Read of scrambled sector without authentication [60622.600152] sr 1:0:0:0: [sr0] tag#9 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60622.600154] print_req_error: 2 callbacks suppressed [60622.600156] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60622.600161] buffer_io_error: 2 callbacks suppressed [60622.600162] Buffer I/O error on dev sr0, logical block 5960, async page read [60622.632139] sr 1:0:0:0: [sr0] tag#21 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60622.632142] sr 1:0:0:0: [sr0] tag#21 Sense Key : Illegal Request [current]  [60622.632145] sr 1:0:0:0: [sr0] tag#21 Add. Sense: Read of scrambled sector without authentication [60622.632147] sr 1:0:0:0: [sr0] tag#21 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60622.632149] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60622.632152] Buffer I/O error on dev sr0, logical block 5960, async page read [60622.664010] sr 1:0:0:0: [sr0] tag#23 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60622.664013] sr 1:0:0:0: [sr0] tag#23 Sense Key : Illegal Request [current]  [60622.664017] sr 1:0:0:0: [sr0] tag#23 Add. Sense: Read of scrambled sector without authentication [60622.664019] sr 1:0:0:0: [sr0] tag#23 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60622.664021] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60622.664026] Buffer I/O error on dev sr0, logical block 5960, async page read [60622.696149] sr 1:0:0:0: [sr0] tag#31 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60622.696152] sr 1:0:0:0: [sr0] tag#31 Sense Key : Illegal Request [current]  [60622.696156] sr 1:0:0:0: [sr0] tag#31 Add. Sense: Read of scrambled sector without authentication [60622.696158] sr 1:0:0:0: [sr0] tag#31 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60622.696159] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60622.696163] Buffer I/O error on dev sr0, logical block 5960, async page read [60622.728011] sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60622.728014] sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current]  [60622.728017] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication [60622.728020] sr 1:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60622.728021] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60622.728025] Buffer I/O error on dev sr0, logical block 5960, async page read [60622.768156] sr 1:0:0:0: [sr0] tag#1 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60622.768159] sr 1:0:0:0: [sr0] tag#1 Sense Key : Illegal Request [current]  [60622.768162] sr 1:0:0:0: [sr0] tag#1 Add. Sense: Read of scrambled sector without authentication [60622.768165] sr 1:0:0:0: [sr0] tag#1 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60622.768166] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60622.768170] Buffer I/O error on dev sr0, logical block 5960, async page read [60622.800184] sr 1:0:0:0: [sr0] tag#2 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60622.800187] sr 1:0:0:0: [sr0] tag#2 Sense Key : Illegal Request [current]  [60622.800190] sr 1:0:0:0: [sr0] tag#2 Add. Sense: Read of scrambled sector without authentication [60622.800192] sr 1:0:0:0: [sr0] tag#2 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60622.800194] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60622.800198] Buffer I/O error on dev sr0, logical block 5960, async page read [60622.832250] sr 1:0:0:0: [sr0] tag#3 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60622.832253] sr 1:0:0:0: [sr0] tag#3 Sense Key : Illegal Request [current]  [60622.832256] sr 1:0:0:0: [sr0] tag#3 Add. Sense: Read of scrambled sector without authentication [60622.832258] sr 1:0:0:0: [sr0] tag#3 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60622.832260] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60622.832264] Buffer I/O error on dev sr0, logical block 5960, async page read [60622.860376] sr 1:0:0:0: [sr0] tag#4 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60622.860379] sr 1:0:0:0: [sr0] tag#4 Sense Key : Illegal Request [current]  [60622.860383] sr 1:0:0:0: [sr0] tag#4 Add. Sense: Read of scrambled sector without authentication [60622.860385] sr 1:0:0:0: [sr0] tag#4 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00 [60622.860386] print_req_error: I/O error, dev sr0, sector 23840 flags 0 [60622.860390] Buffer I/O error on dev sr0, logical block 5960, async page read [60623.004249] sr 1:0:0:0: [sr0] tag#5 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [60623.004252] sr 1:0:0:0: [sr0] tag#5 Sense Key : Illegal Request [current]  [60623.004256] sr 1:0:0:0: [sr0] tag#5 Add. Sense: Read of scrambled sector without authentication [60623.004258] sr 1:0:0:0: [sr0] tag#5 CDB: Read(10) 28 00 00 00 fa 35 00 00 01 00 [60623.004260] print_req_error: I/O error, dev sr0, sector 256212 flags 0 [60623.004265] Buffer I/O error on dev sr0, logical block 64053, async page read 

Freezing issues after upgrade to 19.04

I recently upgraded from Ubuntu 16.04 to 18.04 -> 18.10 and 19.04 since I had problems with Ubuntu crashing/hard freezing, especially with lock screen or after sleeping.

The lock screen hard crashes are gone, but I have plenty of other issues instead.

In particular, every time I drag to open the “lock” screen it gets stuck and seems frozen, half way for 30-60 seconds before finally getting into Ubuntu (see image)

enter image description here

Also, whenever I create a new text file and save it for the first time, the GUI freezes completely for 30-60 seconds as well, before going back to normal. The same thing happens when saving a screen shot from the screenshot app, so it seems there is some problem with disk access? However, when saving to an existing file, there is no delay.

Any ideas what could cause these issues or how I can try to debug it?

Basic system info from the “About” tab:

Ubuntu 19.04 Memory: 15.4 GiB Intel Core i7 8550U CPU @ 1.80 GHz x 8 Graphics Intel UHD Graphics 620 (Kabylake GT2) Gnome 3.32.1 Os type 64-bit Disk 512,1 GB 

Can’t connect WiFi after upgrade from 16 to 18

After upgrade my WiFi module suddenly become disabled. Please help me to figure out the issue source. Thanks!

Ubuntu 18.04.3 LTS

iwconfig

wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr=2346 B
Encryption key:off Power Management:on

lshw -C network *-usb DISABLED
description: Wireless interface product: VNT USB-802.11 Wireless LAN Adapter vendor: VIA Networking Technologies, Inc. physical id: 5 bus info: usb@1:5 logical name: wlan0 version: 2.05 serial: 00:12:7b:46:2b:07 capabilities: usb-2.00 ethernet physical wireless configuration: broadcast=yes driver=vt6656 driverversion=4.15.0-62-generic firmware=N/A link=no maxpower=500mA multicast=yes speed=480Mbit/s wireless=IEEE 802.11

Direct upgrade from SharePoint 2013 to 2019 works but

I know the documented process is 13 to 16 to 19 and this is what I planned to do and actually built / tested but for one of my sites I actually skipped the 16 UG (harassed not planned) and went 13 to 19 and it worked without any issues and the site has been live for a while. It is only when I am preparing to UG another site I realised I missed the 16 UG out. I have tested this next site 13 to 19 and it too seems to have worked okay. Anyone know if I am likely to run in to any issues in the future? I have read it is for “marketing reasons only” and actually should not be possible (as blocked by Mount-SPContentDatabase). I am running the latest 19CU.

Thanks in advance Phil

N00b: Did I break my fresh ubuntu 19.04 install while apt-get upgrade -ing with a kali repo enabled?

1Yesterday I installed Disco Dingo and was very pleased with it. I wanted to install the kali tools so I added the kali repo and used katoolin to install some tools. I did not remove the repo. About 1.5 hours ago, I learned that Gnome 3.34 has been released today and I wanted to have the “folder” functionality within the “show applications” grid, so I thought… well, maybe… it’s there in the ubuntu repo. And didn’t think anything of the kali repo still being there.

So I apt-get updated and I apt-get upgraded and I blew my house down! 🙂

Orrr… well, sort of. I let it run. Got all sort of stuff from the kali repo. Rebooted. Got some errors. A bit of the boot process changed, at least visually. And… well… I think I am running kernel 5.0.0 now.

On the one hand I feel “lucky”: kali is quite up to date. And it did upgrade all those packages, and, even though some errors pop up, the system is still functioning. Should I try fixing those errors and continue with the new packages or…. ? New is better, right? If it still functions. This seems to be a frankensystem now. During boot my machine also says it is loading kali. After that the loading ubuntu screen pops up.

However… is this what is considered “breaking” a linux install by messing with repositories and not being carefull enough? Did I just get very lucky that my system is still working? Because it seemed to upgrade an awfull lot of packages.

Should I reinstall? Or should I stop whining, dig into it and fix whatever blubber the system throws at me? It’s linux, everything is fixable, and it would clear me of my n00bness… 😉

Thanks on any advice you could give me on this one… I would like to hear your thoughts. I mean… I’m n00b.