[not solved] [sent back to owner] usb and TPM error messages during boot

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
yonnie
Level 3
Level 3
Posts: 122
Joined: Mon Jan 03, 2011 12:18 am

Re: usb and TPM error messages during boot

Post by yonnie »

kenknee@kenknee-HP-ProBook-640-G1:~$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 04ca:7034 Lite-On Technology Corp. HP HD Webcam
Bus 003 Device 002: ID 138a:003f Validity Sensors, Inc. VFS495 Fingerprint Reader
Bus 003 Device 009: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 008: ID 8087:07dc Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
kenknee@kenknee-HP-ProBook-640-G1:~$

kenknee@kenknee-HP-ProBook-640-G1:~$ lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
|__ Port 3: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 9, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 9, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 5: Dev 2, If 0, Class=Vendor Specific Class, Driver=, 12M
|__ Port 7: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 7: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 12: Dev 8, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 12: Dev 8, If 1, Class=Wireless, Driver=btusb, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
kenknee@kenknee-HP-ProBook-640-G1:~$
We are children of children and do as we are shown.
-James Curran
User avatar
Welcome
Level 4
Level 4
Posts: 222
Joined: Wed Aug 19, 2020 11:38 am
Location: Shenandoah Valley

Re: usb and TPM error messages during boot

Post by Welcome »

yonnie wrote:
Fri Sep 11, 2020 8:48 pm
Startup finished in 51.075s (kernel) + 44.030s (userspace) = 1min 35.105s

$ systemd-analyze blame
23.839s networkd-dispatcher.service
19.537s udisks2.service
16.741s accounts-daemon.service
13.134s ubuntu-system-adjustments.service
12.054s NetworkManager.service
11.540s avahi-daemon.service
The times for the first few individual services with your HDD seem to compare with my tests of XFCE LM20. I tried it on a similar machine here and came up with nearly identical times for the first few services (one exception was that man-db.service took a long time, but that must have been due to an occassional update). Overall the machine I tested took 1 min 10 sec. so there's something else adding delay.

Do you use bluetooth or the fingerprint reader? If not, check your BIOS to see if they can be turned off.

Set autosuspend to false by placing '-1' in a file, save and close it.
Steps:
In a terminal enter

Code: Select all

sudo nano /sys/module/usbcore/parameters/autosuspend
Note the current value (likely 2).
Delete the current value and replace it with -1.
Save by pressing Ctrl-o
Exit by pressing Ctrl-x

Note:
autosuspend:
-1 or 0 means off, depending on kernel, otherwise it is the number of seconds to autosuspend
"When given the choice between being right or being kind, choose kind." —Dr. Wayne Dyer
"Do all the good you can, by all the means you can, in all the ways you can, ..." —John Wesley
User avatar
yonnie
Level 3
Level 3
Posts: 122
Joined: Mon Jan 03, 2011 12:18 am

Re: usb and TPM error messages during boot

Post by yonnie »

GNU nano 4.8 /sys/module/usbcore/parameters/autosuspend
2



















Error writing lock file /sys/module/usbcore/parameters/.autosuspend.swp: Permiss
^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos
^X Exit ^R Read File ^\ Replace ^U Paste Text^T To Spell ^_ Go To Line
We are children of children and do as we are shown.
-James Curran
User avatar
Welcome
Level 4
Level 4
Posts: 222
Joined: Wed Aug 19, 2020 11:38 am
Location: Shenandoah Valley

Re: usb and TPM error messages during boot

Post by Welcome »

A check of your error logs and some research results in a quick summary of the errors:
  1. Error Communicating to TPM chip -
    The recommended action is to enable TPM in BIOS.
  2. usb 3-11: device descriptor read/64, error -110 -
    USB error -110 means "Timeout expired before the transfer completed". Sometimes a complete shutdown, full power off, unplug, wait 5 minutes, and restart will clear the error.
  3. usb 3-11: device not accepting address x, error -71 -
    This is the code for Protocol error (EPROTO). While there have been kernel issues that occasionally caused this, this usually is a hardware issue with the USB subsystem. If possible, check your connectors: This is a common issue on old computers where oxidization has settled on the USB port pins. You could try removing it by inserting and removing the USB plug repeatedly. Warning: Don't overdo it - USB connectors can and will break if you do.
  4. sensors[719]: temp6: +114.0°C -
    An extreme temperature could be a misconfiguration. Recommend installing a program such as 'psensor' to check temperatures.
  5. error resolving pool x.ubuntu.pool.ntp.org -
    Could check which DNS servers are configured in your /etc/resolv.conf. Check with 'resolvectl status' to ensure DNS servers are properly configured.
  6. Server returned error NXDOMAIN -
    This warning is logged by systemd-resolved, whenever a name can not be resolved by the DNS system (e.g. nslookup www.kjfoiqaefah34876asdf.com). This can be tolerated and is no reason to be alarmed. This is no error and nothing needs to be fixed.
"When given the choice between being right or being kind, choose kind." —Dr. Wayne Dyer
"Do all the good you can, by all the means you can, in all the ways you can, ..." —John Wesley
User avatar
Welcome
Level 4
Level 4
Posts: 222
Joined: Wed Aug 19, 2020 11:38 am
Location: Shenandoah Valley

Re: usb and TPM error messages during boot

Post by Welcome »

yonnie wrote:
Sat Sep 12, 2020 4:10 pm
Error writing lock file /sys/module/usbcore/parameters/.autosuspend.swp: Permiss
Be sure to use 'sudo' so that you'll have permission to make the change.

Code: Select all

sudo nano /sys/module/usbcore/parameters/autosuspend
Some people use the following, but it's nearly the same thing.

Code: Select all

sudoedit /sys/module/usbcore/parameters/autosuspend
It's best to copy and paste the commands. From here, you can use the menu for copy, or Ctrl-c. In the terminal, you can use the menu to paste, or Shift-Ctrl-v.
"When given the choice between being right or being kind, choose kind." —Dr. Wayne Dyer
"Do all the good you can, by all the means you can, in all the ways you can, ..." —John Wesley
User avatar
yonnie
Level 3
Level 3
Posts: 122
Joined: Mon Jan 03, 2011 12:18 am

Re: usb and TPM error messages during boot

Post by yonnie »

I get these errors prior to anything plugged in, prior to full bootup. These messages appear during boot. Not using anything such as bluetooth. Wifi works and there are two wires for something else for a card that is missing, there is tape over the ends to prevent them from touching.
I don't know what the normal keyboard interface is and I did find that some of the keys aren't working. I have a new keyboard on order. This laptop did not display the TPM error prior to install of LM20. Is there a setting in the LM20 that is causing the TPM error message? And can that be turned off?
We are children of children and do as we are shown.
-James Curran
User avatar
Welcome
Level 4
Level 4
Posts: 222
Joined: Wed Aug 19, 2020 11:38 am
Location: Shenandoah Valley

Re: usb and TPM error messages during boot

Post by Welcome »

yonnie wrote:
Sat Sep 12, 2020 4:36 pm
Not using anything such as bluetooth.
Sorry, I thought there was one integrated on the motherboard. I think the OS thinks there's one at USB device 3 port 12. See the 'Driver=btusb' mentioned below?
|__ Port 12: Dev 8, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 12: Dev 8, If 1, Class=Wireless, Driver=btusb, 12M
That's why I thought there was bluetooth! Sorry! :)
yonnie wrote:
Sat Sep 12, 2020 4:36 pm
Wifi works and there are two wires for something else for a card that is missing, there is tape over the ends to prevent them from touching.
Maybe an optional WiFi card?
yonnie wrote:
Sat Sep 12, 2020 4:36 pm
Is there a setting in the LM20 that is causing the TPM error message? And can that be turned off?
So far, I haven't found a good way to turn off the error message other than to enable it. :(

Maybe there's something in those instructions for fully enabling TPM that'll help in finding a solution....
"When given the choice between being right or being kind, choose kind." —Dr. Wayne Dyer
"Do all the good you can, by all the means you can, in all the ways you can, ..." —John Wesley
User avatar
yonnie
Level 3
Level 3
Posts: 122
Joined: Mon Jan 03, 2011 12:18 am

Re: usb and TPM error messages during boot

Post by yonnie »

Maybe there's something in those instructions for fully enabling TPM that'll help in finding a solution....
Instructions? What a novel idea!
turning off the bluetooth (didn't know it was working) had no effect on error messages
temp6 after being off for awhile still reads 114. Sensor is either not there or not working
We are children of children and do as we are shown.
-James Curran
User avatar
Welcome
Level 4
Level 4
Posts: 222
Joined: Wed Aug 19, 2020 11:38 am
Location: Shenandoah Valley

Re: usb and TPM error messages during boot

Post by Welcome »

Instructions? What a novel idea!
:D

I've been thinking about those installation instructions, and I've finally had a chance to look them over in detail. I do not have any expertise in this area, so please be careful. This is an attempt at un-installation.

CAUTIION: The following is untested and could cause serious problems. Be sure to backup your personal and system files before attempting. Do not attempt unless you know what you're doing, or are extremely brave and willing to suffer any consequences!

That article mentions kernel modules tpm, tpm_tis and tpm_bios. Since I don't have TPM, I don't have these on my system.

On your system, what is the output from these commands?

Code: Select all

cat /usr/src/linux*/Kconfig | grep tpm

Code: Select all

lsmod | grep tpm
These should show if there's a TPM module in your system. (Note: I do not show any TPM modules on my system).

WARNING: UNTESTED PROCEDURE! Use caution before trying!

If you do have TPM modules installed, we might be able to remove them with a command something like the following.

Code: Select all

modprobe --remove tpm tpm_tis tpm_bios
Will you need to 'update-grub' after this operation? I don't know.

Will you need to 'sudo update-initramfs -k all' after this operation? I don't know.

Edit: Grammar
Last edited by Welcome on Sun Sep 13, 2020 12:17 pm, edited 1 time in total.
"When given the choice between being right or being kind, choose kind." —Dr. Wayne Dyer
"Do all the good you can, by all the means you can, in all the ways you can, ..." —John Wesley
User avatar
yonnie
Level 3
Level 3
Posts: 122
Joined: Mon Jan 03, 2011 12:18 am

Re: usb and TPM error messages during boot

Post by yonnie »

kenknee@kenknee-HP-ProBook-640-G1:~$ cat /usr/src/linux*/Kconfig | grep tpm
kenknee@kenknee-HP-ProBook-640-G1:~$ lsmod | grep tpm
tpm_infineon 20480 0
kenknee@kenknee-HP-ProBook-640-G1:~$ modprobe --remove tpm tpm_tis tpm_bios
modprobe: FATAL: Module tpm is builtin.
kenknee@kenknee-HP-ProBook-640-G1:~$
kenknee@kenknee-HP-ProBook-640-G1:~$ cat /usr/src/linux*/Kconfig | grep tpm
kenknee@kenknee-HP-ProBook-640-G1:~$ lsmod | grep tpm
tpm_infineon 20480 0
kenknee@kenknee-HP-ProBook-640-G1:~$

That looks like something is installed and it doesn't want to play nice
We are children of children and do as we are shown.
-James Curran
User avatar
Larry78723
Level 8
Level 8
Posts: 2108
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: usb and TPM error messages during boot

Post by Larry78723 »

I'd like to see the results of

Code: Select all

systemd-analyze critical-chain
Image
User avatar
Welcome
Level 4
Level 4
Posts: 222
Joined: Wed Aug 19, 2020 11:38 am
Location: Shenandoah Valley

Re: usb and TPM error messages during boot

Post by Welcome »

@yonnie: You may want to improve your boot time by removing some of the applications in autostart. I don't use some of the pre-set autostart applications, so I turn off the autostart of the following:
  • Flatpak
  • Support for NVIDIA Prime
  • Warpinator
  • System Reports
Also, I only use manually saved system snapshots, so I've turned off automatic snapshots in Timeshift.

You might want to check the autostart applications on your machine, and turn off any that you don't need or use. Hopefully, that will improve your boot time.

After you've made the changes, reboot, and see if there's any difference. Run the command that Larry78723 requested, and this one to see the numbers:

Code: Select all

systemd-analyze
An SSD can really help too. For example, here's the results from a 10 year old laptop LM20 Cinnamon with an SSD:
$ systemd-analyze
Startup finished in 17.807s (kernel) + 5.305s (userspace) = 23.112s
graphical.target reached after 4.786s in userspace
"When given the choice between being right or being kind, choose kind." —Dr. Wayne Dyer
"Do all the good you can, by all the means you can, in all the ways you can, ..." —John Wesley
User avatar
yonnie
Level 3
Level 3
Posts: 122
Joined: Mon Jan 03, 2011 12:18 am

Re: usb and TPM error messages during boot

Post by yonnie »

:D
Last edited by yonnie on Mon Sep 14, 2020 11:29 am, edited 1 time in total.
We are children of children and do as we are shown.
-James Curran
User avatar
yonnie
Level 3
Level 3
Posts: 122
Joined: Mon Jan 03, 2011 12:18 am

Re: usb and TPM error messages during boot

Post by yonnie »

kenknee@kenknee-HP-ProBook-640-G1:~$ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @1min 70ms
└─udisks2.service @21.901s +38.167s
└─basic.target @20.749s
└─sockets.target @20.749s
└─uuidd.socket @20.749s
└─sysinit.target @20.577s
└─systemd-update-utmp.service @20.507s +70ms
└─systemd-tmpfiles-setup.service @20.106s +384ms
└─systemd-journal-flush.service @5.602s +14.502s
└─systemd-remount-fs.service @5.264s +144ms
└─systemd-journald.socket @5.035s
└─-.mount @5.000s
└─system.slice @5.000s
└─-.slice @5.000s
kenknee@kenknee-HP-ProBook-640-G1:~$ systemd-analyze
Startup finished in 51.131s (kernel) + 1min 3.467s (userspace) = 1min 54.598s
graphical.target reached after 1min 70ms in userspace
kenknee@kenknee-HP-ProBook-640-G1:~$
We are children of children and do as we are shown.
-James Curran
User avatar
yonnie
Level 3
Level 3
Posts: 122
Joined: Mon Jan 03, 2011 12:18 am

Re: usb and TPM error messages during boot

Post by yonnie »

kenknee@kenknee-HP-ProBook-640-G1:~$ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @43.750s
└─udisks2.service @22.442s +21.307s
└─basic.target @21.138s
└─sockets.target @21.138s
└─uuidd.socket @21.138s
└─sysinit.target @21.014s
└─systemd-update-utmp.service @20.961s +52ms
└─systemd-tmpfiles-setup.service @20.560s +353ms
└─systemd-journal-flush.service @5.525s +15.033s
└─systemd-remount-fs.service @5.188s +166ms
└─systemd-journald.socket @4.924s
└─-.mount @4.890s
└─system.slice @4.890s
└─-.slice @4.890s
kenknee@kenknee-HP-ProBook-640-G1:~$ systemd-analyze
Startup finished in 51.161s (kernel) + 43.766s (userspace) = 1min 34.928s
graphical.target reached after 43.750s in userspace
kenknee@kenknee-HP-ProBook-640-G1:~$

is that a 20 second savings? Still waiting for new keyboard, October.
We are children of children and do as we are shown.
-James Curran
User avatar
yonnie
Level 3
Level 3
Posts: 122
Joined: Mon Jan 03, 2011 12:18 am

Re: usb and TPM error messages during boot

Post by yonnie »

the keyboard arrived a couple weeks early. Put it in and the only thing changed is the faulty keys work now. the other errors are still there. Sent the laptop back to it's owner.
We are children of children and do as we are shown.
-James Curran
Post Reply

Return to “Installation & Boot”