There is a lspci failed message when I text the lspci command
lspci
lspci: Line too long at /usr/share/misc/pci.ids, line 1
so I try other command to show the line number
sed -n 1p /usr/share/misc/pci.ids | wc -c
1210291
cat /usr/share/misc/pci.ids | awk '{ print length }' | sort -n | tail -1
1210291
(In the normal machine only get 167)
The machine data is:
- lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
- uname -r
5.11.0-40-generic
lspci version:
lspci version 3.6.4
How do I fix this problem or there is a workaround?
There is samilary discussion in raspberry pi page