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 

How to remove most recent kernel / how to stop old kernels being removed?

The 3 most recent kernels will not boot and I don’t know why. My concern is that my only remaining old kernel will soon be automatically removed and then I have nothing. How can I remove the new kernels and more importantly, prevent the one older kernel from being removed automatically? Or, ideally, why are the new kernels failing? I have a blank screen. No error whatsoever. Where do I even start to investigate that?

Ubuntu 18.04.3 LTS Kernel (working) 4.15.0-20-generic x86_64 Asus E402M

Is it possible to prevent new kernels being installed? I keep the to LTS versions to avoid these failures!

instaPy : Traceback (most recent call last):

when i want install instaPy and want run it i gzt this error ! somone help me

root@youness:/home/ubuntu/Desktop/InstaPy-master# python quickstart.py Traceback (most recent call last): File “quickstart.py”, line 2, in from instapy import InstaPy File “/home/ubuntu/Desktop/InstaPy-master/instapy/init.py”, line 6, in from .instapy import InstaPy File “/home/ubuntu/Desktop/InstaPy-master/instapy/instapy.py”, line 105 username: str = None, ^ SyntaxError: invalid syntax

Are there any recent studies of the “Keyboard vs Mouse”-issue?

Back in the late 80’s, Apple Human Interface concluded that the mouse is faster than the keyboard, objectively. But also that every test person subjectively thought that the keyboard was faster.

Quote from the book “Tog on Interface”, by Bruce Tognazzini (originaly published as an article at asktog.com):

We’ve done a cool $ 50 million of R & D on the Apple Human Interface. We discovered, among other things, two pertinent facts:

  • Test subjects consistently report that keyboarding is faster than mousing.
  • The stopwatch consistently proves mousing is faster than keyboarding.

This has caused many arguments and discussions (eg: by Jeff Atwood and at skeptics.SE, but all of these are based on subjective assumptions.


So, I’m looking for some other, newer studies that could either verify or refute those findings from the 80’s. Are there any recent studies on the “Keyboard vs Mouse”-issue?

I’m concerned about two aspects:

  1. The time aspect. Performance vs preference.
  2. The workload aspect. What’s the learning curve like? How many shortcuts does the novice user use, and how many shortcuts are the experienced user able to handle?

Update:

I don’t doubt that keyboard shortcuts are faster is many situations, but I would like to see some more research on the issue. Conducting one myself isn’t an option (and it would be unnecessary if it’s already done). Subjective opinions and referral to “the obvious” won’t give me the answers I’m searching either.

KLM/GOMS/MHP are all good models that could function as a theoretical basis to explain what’s happening. Any reference to any such work on this area would be good too…

So why am I asking about this?
Well, as a UX professional, I would like to base my stack of knowledge on research, not assumptions. IMHO, the fundamentals of UX are based on “find out, don’t assume”.

It can be difficult to convince people about the UX-work. Having proper research is one of the most important tools we have. (Letting them observe users use their software is the most important one).

But it is so obvious!…
No it isn’t. When users are confronted with multiple design options, the correlation between preference and performance is very low. Only 25% would prefer the solution with the best performance.

We also know that heavy mental workload makes you think that you’re effective, even if you’re not (just like the Apple research concluded). So the feeling “this is the fastest solution” doesn’t actually make it the fastest solution.

Why is it important to know this? Just provide both, and let the users choose!
Well, if I’m going to train a user group, I would want to base my advises on something. Right now, the only research I can base my advice on says “Minimize the use of shortcuts. You’ll just fool yourself and believe you’re faster than you actually are.”

Some of the specific issues I’m looking for in the research:

  • What’s our capability to remember shortcuts (number of shortcuts, decay rate, etc). The general MHP-research actually says something about this.
  • Performance differences. (Something can be worked out from the KLM/GOMS theories.)
  • What is the performance improvement for the shortcuts you remember immediately.
  • What is the performance loss (if any) in the situations where you have to “think twice” to remember a shortcut.
  • What is the “recovery cost” in the situations where you use the wrong shortcut (or didn’t remember it after thinking twice).
  • Will the mental workload of “remembering” a shortcut affect the main work task? Say you’re doing accounting and need to handle 5-7 “chunks” of information already.
  • Are there any thresholds you can use to say: “Just use N number of keyboard shortcuts and stick to the mouse+toolbar for the other commands.”
  • What would the capability/advice be for each of these cells:
    enter image description here

I know these questions are very specific, and that’s why I kept the question general in the first place.

Remember: I’m just asking for references to any research, I’m not asking for a winner or a conclusion, nor am I asking for specific answers to the issues I’ve raised in the “update” section above. This question is answerable…

version `GLIBCXX_3.4.26′ not found even though libstdc++.so.6 recent enough

I realize there are many questions like this, but the difference from the others is that my libstdc++.so.6 actually does appear to be up to date enough (see below for the strings it exports). This is an error that comes up when trying to load a dynamic library that i just compiled myself. apt-get upgrade and the like tell me libstdc++.so.6 already is up to date (on version libstdc++6 is already the newest version (9.1.0-2ubuntu2~18.04)).

Full error i get when loading this library (in MATLAB R2019a):

'/home/dee/git_repos/Titta/TobiiMex/TobiiMex_matlab/64/TobiiMex_matlab.mexa64': /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/dee/git_repos/Titta/TobiiMex/TobiiMex_matlab/64/TobiiMex_matlab.mexa64) 

output of strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBC:

GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBCXX_3.4.26 GLIBC_2.2.5 GLIBC_2.3 GLIBC_2.14 GLIBC_2.6 GLIBC_2.4 GLIBC_2.18 GLIBC_2.16 GLIBC_2.3.4 GLIBC_2.17 GLIBC_2.3.2 GLIBCXX_DEBUG_MESSAGE_LENGTH 

What can i try to fix this?